Build Chain / agent queue and XAML-Builds

Thank you for this nice extension.
It works fine VNext Builds, but is it also possible to trigger a XAML build?
When I tried it I got an error: No definitions named [buildname] were found!

Thank you for using this extension.
Actually XAML isn't web based like the VNext builds and they aren't supported by Microsoft new API's.
I suggests you to migrate the XAML to new build, the process is to manually create the new build definitions that replicate what your XAML builds do.
Anyway, i will try to check if this can be done in this extensions.


app crashes in compare/periods

Hello,
when i go to compare-> periods, the app crashes, unfortunately i don't have a clue...
Here the exit error:
`STATUS: 400
HEADERS: {"content-type":"text/html","date":"Fri, 04 Mar 2016 11:51:46 GMT","server":"nginx","content-length":"166","connection":"keep-alive"}
undefined:1
<html>
^
SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/home/sandro/AnalyticsRef-master/bin/aerohive/api/req.js:36:37)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
`
I hope you can have a look at it or give me a clue eventually.
Regards,
Sandro

Hi Sandro,
Thanks.
For this error, it seems the ACS replied with a HTML content, instead of a JSON one.
Can you try to pull the latests commits? I added some control and UI error messages?
Thanks,
—
Thomas Munzer
From: Sandro <notifications<EMAIL_ADDRESS>Reply-To: tmunzer/AnalyticsRef <reply<EMAIL_ADDRESS>Date: Friday 4 March 2016 at 12:57
To: tmunzer/AnalyticsRef <AnalyticsRef<EMAIL_ADDRESS>Subject: [AnalyticsRef] app crashes in compare/periods (#8)
Hello,
when i go to compare-> periods, the app crashes, unfortunately i don't have a clue...
Here the exit error:
`STATUS: 400
HEADERS: {"content-type":"text/html","date":"Fri, 04 Mar 2016 11:51:46 GMT","server":"nginx","content-length":"166","connection":"keep-alive"}
undefined:1

^
SyntaxError: Unexpected token <
at Object.parse (native)
at IncomingMessage. (/home/sandro/AnalyticsRef-master/bin/aerohive/api/req.js:36:37)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
`
I hope you can have a look at it or give me a clue eventually.
Regards,
Sandro
—
Reply to this email directly or view it on GitHubhttps://github.com/tmunzer/AnalyticsRef/issues/8.


VaultException: Status 403 Forbidden

Describe the bug
Spring Cloud Vault Databases in 2.3.5.RELEASE throws an exception every time when I stop the spring application or restart it using dev-tools.
Sample
I created a database secrets: database/incidence-mysql with the role incidence-service.
The exception trace

st-incidence-service    | 2021-01-13 19:40:33.162  WARN 52 --- [      Thread-11] LeaseEventPublisher$LoggingErrorListener : [RequestedSecret [path='database/incidence-mysql/creds/incidence-service', mode=RENEW]] Lease [leaseId='database/incidence-mysql/creds/incidence-service/lease was hidden', leaseDuration=PT1H, renewable=true] Status 403 Forbidden: 1 error occurred:
st-incidence-service    |       * permission denied
st-incidence-service    |
st-incidence-service    | ; nested exception is org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: [{"errors":["1 error occurred:\n\t* permission denied\n\n"]}
st-incidence-service    | ]
st-incidence-service    |
st-incidence-service    | org.springframework.vault.VaultException: Status 403 Forbidden: 1 error occurred:
st-incidence-service    |       * permission denied
st-incidence-service    |
st-incidence-service    | ; nested exception is org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: [{"errors":["1 error occurred:\n\t* permission denied\n\n"]}
st-incidence-service    | ]
st-incidence-service    |       at org.springframework.vault.client.VaultResponses.buildException(VaultResponses.java:63) ~[spring-vault-core-2.2.0.RELEASE.jar:2.2.0.RELEASE]
st-incidence-service    |       at org.springframework.vault.core.VaultTemplate.doWithSession(VaultTemplate.java:391) ~[spring-vault-core-2.2.0.RELEASE.jar:2.2.0.RELEASE]
st-incidence-service    |       at org.springframework.vault.core.lease.SecretLeaseContainer.doRevokeLease(SecretLeaseContainer.java:785) ~[spring-vault-core-2.2.0.RELEASE.jar:2.2.0.RELEASE]
st-incidence-service    |       at org.springframework.vault.core.lease.SecretLeaseContainer.destroy(SecretLeaseContainer.java:503) ~[spring-vault-core-2.2.0.RELEASE.jar:2.2.0.RELEASE]

I'm using AppRole authentication.

# Vault
spring.cloud.vault.uri=uri removed
spring.cloud.vault.authentication=APPROLE
spring.cloud.vault.app-role.role-id=role id removed
spring.cloud.vault.app-role.secret-id=secret id removed
spring.cloud.vault.app-role.app-role=incidence-service
spring.cloud.vault.app-role.app-role-path=approle

# Vault Databases (MySQL)
spring.cloud.vault.mysql.role=incidence-service
spring.cloud.vault.mysql.backend=database/incidence-mysql

With the following ACL policy

# Mount the AppRole auth method
path "sys/auth/approle" {
  capabilities = [ "create", "read", "update", "delete", "sudo" ]
}

# Configure the AppRole auth method
path "sys/auth/approle/*" {
  capabilities = [ "create", "read", "update", "delete" ]
}

# Create and manage roles
path "auth/approle/*" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}

# Key-Value
path "secret/incidence-service" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}
path "secret/incidence-service/*" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}

# Application
path "secret/application" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}
path "secret/application/*" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}

# Database
path "database/incidence-mysql/creds/incidence-service" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}
path "sys/renew/database/incidence-mysql/creds/incidence-service/*" {
  capabilities = [ "create", "read", "update", "delete", "list" ]
}

However, when I manually generate the token with the command:

curl --request POST --data '{"role_id":"role-id removed", "secret_id":"secret-id removed"}' host-removed/v1/auth/approle/login

I am able to generate a token:

{"request_id":"value removed","lease_id":"","renewable":false,"lease_duration":0,"data":null,"wrap_info":null,"warnings":null,"auth":{"client_token":"token is here","accessor":"value removed","policies":["default","incidence-service"],"token_policies":["default","incidence-service"],"metadata":{"role_name":"incidence-service"},"lease_duration":600,"renewable":true,"entity_id":"value removed","token_type":"service","orphan":true}}

I consume the token to manually renew the lease, and to see if the error was due to the ACL policy:

curl -H "X-Vault-Token:token goes here" --request PUT host-removed/v1/sys/renew/database/incidence-mysql/creds/incidence-service/lease goes here

But the lease does get renewed, so I'm guessing this issue is related to Spring and not to my ACL policy:

{"request_id":"value removed","lease_id":"database/incidence-mysql/creds/incidence-service/value removed","renewable":true,"lease_duration":3600,"data":null,"wrap_info":null,"warnings":null,"auth":null}

What does the error 403 mean in this case? Am I doing something wrong?

Duplicates #561 561

Duplicates #561 561


Lost ability to control quad widths per section along with textures per quad.  Changing only control point zero has any effect.

When I go around the shape I discovered that only the first (and maybe the last point on an open shape) will allow you to adjust the width, texture and flip direction.

I believe that this is fixed now


Improve wsgi error handling 013

Recommended by pep-3333 to enable middleware to provide exception handling
services, e.g. custom exception logging.
See https://www.python.org/dev/peps/pep-3333/#error-handling
Note that the exc_info is temporarily stored in the environ to pass it up
from _handler() to wsgi(), where start_response() is called. There may be
a better way to do this, e.g. storing it in the response object.
Supersedes https://github.com/bottlepy/bottle/pull/1097, and includes the tests from @BubaVV in https://github.com/bottlepy/bottle/pull/1103

I do not fully understand if this is the best solution, but I'll trust you on this and merge. It only affects the error path, so it should not affect normal working applications. And it has tests \o/ Thanks!

Thanks @defnull, Happy New Year!

Thanks @defnull, Happy New Year!


VS Code Jupyter Notebook Session Cannot Generate Request

Doing an image classifier project on my Mac. Any cell I run after the:
train_x=train_x/255.0
test_x=test_x/255.0
val_x=val_x/255.0

gives
Error: Session cannot generate requests
Error: Session cannot generate requests
at w.executeCodeCell (/Users/ethan/.vscode/extensions/ms-toolsai.jupyter-2021.8.2041215044/out/client/extension.js:52:301310)
at w.execute (/Users/ethan/.vscode/extensions/ms-toolsai.jupyter-2021.8.2041215044/out/client/extension.js:52:300703)
at w.start (/Users/ethan/.vscode/extensions/ms-toolsai.jupyter-2021.8.2041215044/out/client/extension.js:52:296367)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async t.CellExecutionQueue.executeQueuedCells (/Users/ethan/.vscode/extensions/ms-toolsai.jupyter-2021.8.2041215044/out/client/extension.js:52:311160)
at async t.CellExecutionQueue.start (/Users/ethan/.vscode/extensions/ms-toolsai.jupyter-2021.8.2041215044/out/client/extension.js:52:310700)

How would I go about fixing this?

closing for now, let us know if this is still an issue after updating


Fix delete error code on the containerd daemon side.

With more test, I found that https://github.com/containerd/containerd/pull/3730 is not enough:

The containerd daemon doesn't return grpc error properly;
The fix https://github.com/containerd/containerd/pull/3244 never worked, because the returned error is not converted to internal errors. And after converting to internal error, we didn't handle the nil response properly.

Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

Codecov Report

Merging #3736 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #3736      +/-   ##
==========================================
- Coverage   42.13%   42.12%   -0.02%
==========================================
  Files         131      131
  Lines       14474    14479       +5
==========================================
  Hits         6099     6099
- Misses       7467     7472       +5
  Partials      908      908

Flag
Coverage Δ

#linux
45.57% <0%> (-0.02%)
:arrow_down:

#windows
37.15% <0%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

runtime/v2/shim.go
1.16% <0%> (-0.02%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM

I assume since #3730 was cherry picked back to 1.2 and 1.3 then we need this one as well.


Added a feature to allow external links / Added a feature to show the Site Pages in the Site tab

… Site Pages in the Site tab
Category

[ ] Bug fix
[x] New feature
[ ] New Sample
[ ] Related issues

What's in this Pull Request?
I added three new properties for the PropertyFieldFilePicker: allowExternalTenantLinks, checkIfFileExists and displaySitePages.
allowExternalTenantLinks
This property allows the user to use external links such as https://www.google.com/ when it is set to true. This is set to be the default value.

If it is set to false the user can only use SharePoint links which is the  original behaviour.

checkIfFileExists
When using file links, this property allows the user to choose if the control should check if the link point to a file that exists or not.
Here checkIfFileExists property is set to true, thus the check is done. As the file link is valid, we do not get an error message.

If we make the link invalid (removing the last character of the link), we get an error.

Here checkIfFileExists property is set to false, and the link is invalid, the user can still use the link.

displaySitePages
In the Site tab, the original behaviour only shows the Documents and the Site Assets folders.

The displaySitePages property allows the user to display the Site Pages folder too if set to true.

Pinging @AJIXuMuK / @estruyf
This PR was submitted by a colleague of mine, and we would love deploy the update across our customers using the PnP library instead of a fork.
Do you have a timeline for the next release?
Anything I can do to help?
TIA

Thanks for the enhancement @19ahmed99!
@pschaeflein - I hope to make a release next week or so.

I've also renamed allowExternalTenantLinks to allowExternalLinks as it describes the property better


Use the new GUI API of ign-gazebo

This adds support for saving worlds to SDFormat from the GUI.

This requires https://github.com/ignitionrobotics/ign-gazebo/pull/79


pysha3 conflict

When I installing, I always get this error:ERROR: Could not build wheels for pysha3, which is required to install pyproject.toml-based projects
I tried install pysha3 manually, but also get this error. Also I have created a empty pyproject.toml - nothing

当我安装时，我总是收到此错误：错误：无法为 pysha3 构建轮子，这是安装 pyproject.toml 的项目所必需的
我尝试手动安装 pysha3，但也收到此错误。我也创建了一个空的pyproject.toml - 什么都没有

When I installing, I always get this error:ERROR: Could not build wheels for pysha3, which is required to install pyproject.toml-based projects
I tried install pysha3 manually, but also get this error. Also I have created a empty pyproject.toml - nothing

did u sovle it? I have same problem.

当我安装时，我总是收到此错误：错误：无法为 pysha3 构建轮子，这是安装 pyproject.toml 的项目所必需的
我尝试手动安装 pysha3，但也收到此错误。我也创建了一个空的pyproject.toml - 什么都没有

When I installing, I always get this error:ERROR: Could not build wheels for pysha3, which is required to install pyproject.toml-based projects
I tried install pysha3 manually, but also get this error. Also I have created a empty pyproject.toml - nothing

did u sovle it? I have same problem.

I sovled this promble by downloading the cpp-build-tools , download it, restart pc, it works.

Same problem on Apple Silicon

creating an environment with python 3.9 worked for me to get around this particular issue (but more down the road in examples code..)

Fixed by #52.


Integrate far_call function with EVM interpreter

We have an implementation of FarCall opcode under far_call function. We should integrate the evm interpreter on it.

Closed by #160


Fix save(cb) regression.

Why
see #798
What
Fixes a regression in TextureWebAppChrome

Checked the results on travis, they are green. However github does not seem to receive the result.


Added Xbox One S controller over bluetooth

Hey there!
It seems that the latest Windows 10 versions messed around with Xbox One S controllers IDs when connected over bluetooth. It strangely adds 7801 at the end of the ID.
So here's a mapping to make Xbox One S controllers to work over bluetooth with the very latest Windows 10.
Thanks for the cool work being done over here.
Cheers!

Good stuff, would you consider pushing this upstream to SDL? They prioritize support for first party devices like this. Theoretically the mapping shouldn’t be necessary on Windows  as the gamepad library should be deferring to a generic XInput map, but I’ve noticed this happens on Win8.1 over BT as well.
SDL’s repo is here https://hg.libsdl.org/SDL

Will do whenever I can contribute, for sure.

@mrhelmut Thx for the PR. Feel free to reopen this if SDL don't want it ;)

I believe it has been fixed upstream. I've updated our game to 2.0.10 without the mapping and it seems to work.
Weird thing is that we were running on 2.0.7, and Gamepad Tool (also using 2.0.7) found a default mapping, while ours didn't. I believe we were running on a pre-release of 2.0.7 and it got fixed.

Perfect. Didn't see 2.0.10 was out, will rebase this weekend.


Placement of "blog" in navbar

Hi,
I'm testing a new site with the theme, and I see that the pages listed in the navbar are included automatically based on their file name. So I managed to sort my pages in a non-alphabetical order.
But.. I also want the blog to be a page listed in the navbar (and the actual homepage, or landing page is something else). I can get the blog working by adding its index.html to /blog, but when the site is processed, the navbar always has the "blog" item as the last one (the last text, followed by the icons for tags, search, theme).
I tried in many ways to get the "blog" entry of the navbar to be somewhere else, like the first or second item of the navbar, but I can't. It is always the last.
Anyway I can tweak this? The main issue is that I have an "archive" for posts (that I copied from other theme) and I'd like the navbar to end with "Blog Archive" but now all I can get is "Archive Blog" which is a bit counterintuitive. I tried to set the name of the archive file as Z_archive.md, so it would be the last on a sorted list but it didn't work.
thanks

Maybe an image would help to see what you want to display and what's currently displayed.
There might be some wiggle room, depending on the usecase I can see if it's possible to make it more flexible. Maybe with a positioning system 🤔

Sure, hope this one can show the issue

Thanks!

Just to note: in some themes, the navbar is defined in _config.yml, so you can have any order of items, regardless their filenames

Closing it so I can push any feature suggestion in #394


[QUESTION] How to scrap tweets with two (or more) hashtag (or word) used in the same tweet?

[QUESTION] How to scrap tweets with two (or more) hashtag (or word) used in the same tweet?
Hello every body, I'm trying to scrap only tweets that contain two words (or hashtags) used together (eg. extract tweets that contain 'covid' and 'fitbit'). I've already tried this syntax bellow without success. You guys know any kind of way out to this situation?

twint  -s fitbit; -s COVID -l en --since 2020-01-01 --until 2020-04-02 --count --stats  --o fitbir_covid.csv --csv

twint  -s fitbit, -s COVID -l en --since 2020-01-01 --until 2020-04-02 --count --stats  --o fitbir_covid.csv --csv

twint  -s fitbit -s COVID -l en --since 2020-01-01 --until 2020-04-02 --count --stats  --o fitbir_covid.csv --csv

Im using Mac OS Sierra, running twint in PyCharm terminal
thanks in advance,
keep safe.

You can specify boolean based search strings.
Try: "#fitbit AND #covid" or "fitbit AND covid"`

I have the same question. But when I tried
twint -search "fitbit AND covid" --stats --since "2020-01-01 00:00:01" --until "2020-03-26 00:00:01" --limit 10
an error message was returned as

twint: error: unrecognized arguments: fitbit AND covid

try twint -s "fitbit covid"
It will give you the correct results.I have checked it.

Hi @llunn @Shanuchauhan @eliasbitencourt
I have a similar question and would love to get your answer. I would like to find all tweets that contain a substring consisting of multiple words. For example, find all tweets that contain the substring "Donald Trump". Is this possible with twint?
As far as I understand -s "Donald Trump" will yield all tweets containing "Donald" and "Trump" without taking into account if the words occur right behind each other.
I would really appreciate your help on this.
Kind regards, Tom

I am not sure how to do this using the command line, but by code you simply include the term as a string inside your search criteria (I.e a nested string). You may was to try that from the command line with and without escape characters

Thanks!


Convert all files with CR line endings to the more common LF endings

These files use only Carriage Return line endings, which have not been
broadly used in an operating system since 'classic' macOS, which had end
of life in 2001.
Unfortunately Microsoft Excel on macOS still exports CSV with this style
of line ending even in 2021.
This converts the files to use the more common unix style Line Feed line
endings.

Fixes #284

For reference I made this change with the following commands
find . -name '*.csv' -exec file '{}' \; | grep 'CR line terminators' | cut -d ':' -f1 | xargs mac2unix

I just realized this was already addressed in https://github.com/fivethirtyeight/data/pull/285


timing issue with intitial translation

hi i have a timing issue in my app with initial translation in my component (template). when changing the current language later on it works as expected.
i see one call to translate pipe that is aborted because the state of the localization service is not ready.
After this initial call there are no further calls to the translate pipe.
i subscribed to translationchange in my component and triggered an app.tick(), i debugged into changedetection and the translate is not called because lang and key did not change.
so root problem seems to be that current language is set before the providers are added!?
if i add additional code after adding a provider i can workaround the issue:

localization.addProvider('url');

(this.localization).getTranslation(language); //because this.localization.updateTranslation(language); does nothing because languagecode is the same

component.lang = "";

as a sidenote: the TranslatePipe returns "" if the localization service is not ready, i would prefere that it returns the key to be consistent with lacalizationService.translate calls

Hi,
I have removed the return of the key from TranslatePipe because you were likely to see the key in the template during loading.
As explained here, and as you can see in the app.component.ts of the sample app, when you subscribe to the translationChanged in the bootstrap component, you have to call updateTranslation method after the subscription.
However in these days I'm preparing an alternative solution to load the translation files before the app is rendered. I should publish it tonight.
Greetings

Ok, if you prefer another solution, I've updated the quick-start with an appendix that explains how to load the translation file before the app is rendered.
Also the sample app is updated.
Keep in mind, however, that when you want to get the translation in a component, you still have to do it in this way:
@Component({
    ...
    template: '
{{ title }}
'
})
export class HomeComponent {

    // Initializes the variable 'title' with the current translation at the time of the component loading.
    public title: string = this.localization.translate('TITLE');

    constructor(public localization: LocalizationService) {

        this.localization.translationChanged.subscribe(

            // Refreshes the variable 'title' with the new translation when the selected language changes.
            () => { this.title = this.localization.translate('TITLE'); }

        );

    }

}

To work with asynchronous loadings in the components, remember that translationChanged is fired only when the loading of file is completed, but you must have already subscribed it.
Greetings

sorry that didnt work for me either, i have one translation file per component
and each component loaded after initial language assign does not translate.
i refactored the code like adviced in quick-start but added a translation[] to the initialize function.
i export one translation per component and my initialize now looks like:
home.component.ts
export class HomeComponentTranslation extends Translation {
    constructor() {
        super('home.component');
    }
}

@Component({
    moduleId: module.id.toString(),
    selector: 'home',
    templateUrl: 'home.component.html',
    styleUrls: []
})
@Injectable()
export class HomeComponent extends Locale implements OnInit {
    constructor(locale: LocaleService, localization: LocalizationService) {
        super(locale, localization);
    }

    ngOnInit() { }
}

Initializer
export class Translation {
    constructor(public name: string) {
    }
}

export class Initializer {
   ....
    initialize(translations: Translation[]) {
        var lang = localStorage.getItem(languageKey);
        if (!lang) {
            lang = 'en';
        }

        var promise: Promise<any> = new Promise((resolve: any) => {
            this.localization.translationChanged.subscribe(() => {
                resolve(true);
            });
        });

        this.locale.addLanguages(this.languages);

//1. this must be done first
        translations.forEach((t) => {
            this.localization.addProvider(t.name);
        });

//2. this has to be delayed after all providers are provided
        this.locale.setCurrentLanguage(lang);
        this.localization.updateTranslation(lang);

        return promise;
    }
}

app.module
        {
            provide: Translation,
            useClass: HomeComponentTranslation,
            multi: true
        },
        {
            provide: Translation,
            useClass: LoginComponentTranslation,
            multi: true
        },
...
        {
            provide: APP_INITIALIZER,
            useFactory: (translation: TranslationServiceBase, translations) => () =>  initializer.initialize(translations),
            deps: [TranslationServiceBase, Translation],
            multi: true
        }

Hi,
there are things I don't understand in your code:

why do you inject the components?
you don't define your preferred language
you get the language from locale storage, but you don't use useLocalStorage method of the library
I don't see where you get the translation

I think you should start more easily and then customize.
However, the correct way to intialize the services in your case is something like this:
export class Initializer {
   ....
    initialize(translations: Translation[]) {
        // 1
        this.locale.addLanguages(this.languages);
        // 2
        this.locale.definePreferredLanguage('en');
        // 3 (OPTIONAL)
        this.locale.useLocalStorage();
        // 4
        translations.forEach((t) => {
            this.localization.addProvider(t.name);
        });
        // 5
        var promise: Promise<any> = new Promise((resolve: any) => {
            this.localization.translationChanged.subscribe(() => {
                resolve(true);
            });
        });
        // 6
        this.localization.updateTranslation(); // Need to update the translation.

        return promise;
    }
}

And really important, if you do not use the pipes, you get the translation in the component in this way:
@Component({
    ...
    template: '
{{ title }}
'
})
export class HomeComponent {

    // Initializes the variable 'title' with the current translation at the time of the component loading.
    public title: string = this.localization.translate('TITLE');

    constructor(public localization: LocalizationService) {

        this.localization.translationChanged.subscribe(

            // Refreshes the variable 'title' with the new translation when the selected language changes.
            () => { this.title = this.localization.translate('TITLE'); }

        );

    }

}

If you don't do this: public title: string = this.localization.translate('TITLE'); before the subscription, you don't get the value, because translationChanged has been already fired (by updateTranslation) and it will be fired only when the language change.
Let me know.


WIP Rust interface for bridgestan

This is based on #88 and @WardBrian's branch.
Depends on #98 and will need to be rebased when that is merged.
It is still not decided if this should live in nutpie or in bridgestan, either would be fine for me.
I made a couple of changes compared to Brians branch:

The shared library is stored as a Borrow<StanLibrary>, so that client code can decide what kind of reference should be used to store the Library (ie Rc, Arc, &lib or direct ownership). That avoids a whole range of headache when using this in multithreaded code.
open_library checks that the version of the library has the same minor and major version as the rust library.
Model is now Send and Sync
STAN_THREADS=true is required
Some more functions are wrapped
If there is non-utf8 in an error message, it will now still return the message, but replace the invalid characters by placeholders.

Some open questions:
I'm not 100% sure about the handling of string/bytes data in the interface. It might be easier to return &CStr in a couple of places, and leave worrying about the encoding to users.
param_unconstrain: What lengths are allowed for theta? I'm assuming that include_tp, inclued_gq are both set to false right now...

I've changed the base branch just to make viewing the diff easier, it would obviously still be merged into main ultimately

TIL about Borrow<T>. Now I need to learn why one would prefer that over AsRef<T>.
For string encoding, I think you need to be in a really weird edge case to end up with a mangled error string. All of the "normal" Stan error messages should be plain ASCII, and I think any libraries we use in C++ would be the same. I'm personally happy to do the encoding for now and re-assess if we ever find a case it doesn't work in.

TIL about Borrow. Now I need to learn why one would prefer that over AsRef.

The reason I wanted Borrow is this impl (which isn't available for AsRef):
https://doc.rust-lang.org/std/borrow/trait.Borrow.html#impl-Borrow<T>-for-T
This makes it possible to pass in the library directly (and not a reference at all), so that the model owns the library.

@WardBrian I guess this got closed because the branch was deleted?

Oh, yeah, forgot that would happen!
this will need some rebasing anyway because of things like the constructor function names changing

I just did, I can just put it into a new PR or someone reopens this one (I can't)

I also cannot reopen this. I guess there’s no way to change the base after the base has been deleted


Renaming conversation types to exclude "Alpha1"

Description
Minor refactoring to rename conversation types:
ConversationAlpha1Request -> ConversationRequest
ConversationAlpha1Response -> ConversationResponse
ConversationAlpha1Result -> ConversationResult
Issue reference
Please reference the issue this PR will close: #8241
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@daixiang0 I think it's 90% of the way there, but I don't know how to regenerate the protos in Go so the static check fails. Could you help me get this over the finish line?

I believe this is the command you are looking for: make gen-proto

I believe this is the command you are looking for: make gen-proto

@WhitWaldo please use above command to update, after CI happy, we can make it land.

I've been poking at this off and on all night trying to get it to build and I'm having no such luck (despite the instructions here).

Could someone else please generate the protos and merge in? The rest of it should be ready to go.

Could someone else please generate the protos and merge in? The rest of it should be ready to go.

We should be good now, the proto check is passing.

Triggered another rerun, hopefully it is more of a green run 🤞

Triggered another rerun, hopefully it is more of a green run 🤞

Nearly got it this time - failed due to a connection issue in a different integration test. For what it's worth, these have been a problem in the .NET repo as well.

Lgtm

If it's not one integration test failing, it's another.

Another good try @mikeee - round four?

I don't think these flaky tests should be blocking us 🤷♂ we'll be here all day rerunning


typings: Add organization.has_past_due_invoice_since__date & organization__has_private_access_to__device_type

Change-type: minor
HQ: https://github.com/balena-io/balena-io/issues/2208
See: https://github.com/balena-io/balena-api/pull/3204
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Fix Raiden Account tokens not showing up for withdrawal

Fixes #2376
Short description
There was a tokenAddresses which weren't being updated before accessing the SelectToken screen. This PR fixes that by removing that and using directly the list of tokens in store.state.tokens. It also removes updating the token balances on every block, which can be quite heavy on our Infura usage, and instead do it once when accessing balance-showing screens.
Definition of Done

[x] Steps to manually test the change have been documented
[x] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

Check bug doesn't happen

@weilbith I'll add the request to the other screens


Some words about external serialization would help.

This page (and all the others about the functions which establish oplocks in the FsRtl and Flt namespaces) could do with some words about the synchronization that thecaller is required to provide.  If you contact me back channel I can provide some input which I harvested from a study of the published fat sources.
If you will forgive the RFC2119-speak it should be something like
Filters and File Systems which call this function MUST synchronize (lock exclusive) calls which create oplocks for the same FCB.  These are

IRP_MJ_CREATE with the FILE_OPEN_REQUIRING_OPLOCK bit set in Options
IRP_MJ_FILE_SYSTEM_CONTROL for the "oplock controls".

(This stops the oplock package from crashing - again contact me back channel and I may be able to help with an example.  Or not)
Filters and File Systems which call this function MAY also synchronize the above calls with any calls which break oplocks.  This may provide better seralization semantics.
In this note, Christian seems to indicate that the second is a RECOMMENDED but I would argue strongly that this is not the case:   if one application establishes an oplock at the same time as something which might break it, no internal serialization by the FSD can mitigate against the IRPs arriving in any order.  Further FAT most definitely doesn't do this.

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

ID: 379727d5-1bb2-c31b-cb8d-6a43542c7007
Version Independent ID: 19dc6b3f-c6f2-a0eb-c612-695a0fa8bae4
Content: FsRtlOplockFsctrl function (ntifs.h) - Windows drivers
Content Source: wdk-ddi-src/content/ntifs/nf-ntifs-_fsrtl_advanced_fcb_header-fsrtloplockfsctrl.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Adding label.
Thanks @rodwiddowson. I love RFC language. This time of year RFC968 might apply as well. ;-)

@rodwiddowson , thanks as always for your thoughtful issues, and for your suggested language. I consulted with Christian and added an Oplock Synchronization page with a link on all oplock-establishing FsRtl/Flt pages. Christian confirmed that both situations that you identify are MUSTs. (He also confirmed that he missed that he had mistyped "can" vs "cant" on the old OSR post.) Send email if you think anything else is missing. Thanks!

@rodwiddowson , thanks as always for your thoughtful issues, and for your suggested language. I consulted with Christian and added an Oplock Synchronization page with a link on all oplock-establishing FsRtl/Flt pages. Christian confirmed that both situations that you identify are MUSTs. (He also confirmed that he missed that he had mistyped "can" vs "cant" on the old OSR post.) Send email if you think anything else is missing. Thanks!


Added exit call to avoid problems when building documentation

This PR adds an explicit exit call to the mapdl instance in the python documentation examples in order for it to not fail when building the documentation using the provided make.bat.

@SRaimondi for the codecov check we can use our own judgement to ignore it - it will "fail" if the coverage reduces, or any of the changed lines is not covered in tests. But this can be caused by harmless changes like formatting, or here where the code is for the examples only.
The action will fail, but not block merging.


Update tools and dependencies

Update tools and dependencies, tidy and vendor, update manifests, fix a compile error

NIT: Can you update the quay image for scorecard tests version as part of upgrading the operator-sdk version?
It is quite old (older than a year) and I assume that the newer is more better, and there are three places which use this image (see also from NMO's PR of upgrading the operator-sdk version).

/lgtm
I left a small NIT about scorecard, feel free to unhold
/hold

Thx for review. Tbh I have no clue what these scorecard tests are doing. Will check in a follow up.
/hold cancel


⚠ Bofrost.fr has degraded performance

In 4500896, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1430 ms

Resolved: Bofrost.fr performance has improved in 55781f2.


Anonymized raw can't be saved: mne.io.anonymize_info() doesn't seem to work on the annotations

Describe the bug
When I instantiate a raw object, attach annotations, and I perform mne.io.anonymize_info() after I get an error. I believe this is due to the fact that anonymization doesn't "alter" the annotations. It works fine if I call anonymization before setting annotations.
Possible solutions:

better warning/error message
anonymization to alter the annotations - origtime as well

Steps to reproduce
When I run:
# set a measurement date to allow anonymization to run
        raw.set_meas_date(meas_date=datetime.datetime.now(tz=datetime.timezone.utc))
        mne.io.anonymize_info(raw.info)
        raw.save(tmpfpath)

Actual results
I get the following:
  File "/Users/adam2392/Documents/SPORF/mtsmorf/io/run_bids_conversion.py", line 56, in convert_mat_to_bids
    raw.save(tmpfpath)
  File "<decorator-gen-155>", line 21, in save
  File "/Users/adam2392/miniconda3/envs/rf/lib/python3.8/site-packages/mne/io/base.py", line 1345, in save
    _write_raw(fname, self, info, picks, fmt, data_type, reset_range,
  File "/Users/adam2392/miniconda3/envs/rf/lib/python3.8/site-packages/mne/io/base.py", line 1834, in _write_raw
    sk_onsets, sk_ends = _annotations_starts_stops(raw, 'bad_acq_skip')
  File "/Users/adam2392/miniconda3/envs/rf/lib/python3.8/site-packages/mne/annotations.py", line 521, in _annotations_starts_stops
    onsets = _sync_onset(raw, onsets)
  File "/Users/adam2392/miniconda3/envs/rf/lib/python3.8/site-packages/mne/annotations.py", line 495, in _sync_onset
    assert raw.info['meas_date'] == raw.annotations.orig_time

Additional information
Using v0.20

can you share a short code snippet to replicate the pb?

anonymize_info only anonymizes the meas_info object. If you want to
anonymize the raw (both the meas_info and annotations) you need to
call raw.anonymize()
On Tue, Apr 7, 2020 at 11:36 AM Alexandre Gramfort<EMAIL_ADDRESS>wrote:

can you share a short code snippet to replicate the pb?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/7575#issuecomment-610459237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKTXHLORAJSJCUG43HNJLDRLNCBRANCNFSM4MDGAPGQ
.

Awesome. Thanks!


Gitleaks-Action v2

Hey @hreinberger @janteuber,
I maintain gitleaks and we noticed that you are not pinning your gitleaks-action version, but rather using gitleaks-action@master and wanted to give you a heads up that we are planning to merge v2 to master soon, which is a breaking update. See more details here. By the way, we think you'll love v2's features. Let us know if you have any questions!

Hi @zricethezav thanks for the heads up! We'll check what's needed for the upgrade and in the meantime I've pinned the version to 1.6.0


Empty cofactors_crystalwater pdb files

I am trying to run some automatic benchmarks for our software and I found out that there are some empty pdb files in the data, specifically the following:

https://github.com/openforcefield/protein-ligand-benchmark/blob/master/data/2019-12-13_cmet/01_protein/crd/cofactors_crystalwater.pdb
https://github.com/openforcefield/protein-ligand-benchmark/blob/master/data/2019-09-23_jnk1/01_protein/crd/cofactors_crystalwater.pdb
https://github.com/openforcefield/protein-ligand-benchmark/blob/master/data/2019-12-13_cdk2/01_protein/crd/cofactors_crystalwater.pdb
https://github.com/openforcefield/protein-ligand-benchmark/blob/master/data/2020-02-07_tyk2/01_protein/crd/cofactors_crystalwater.pdb

I presume this is unintended and something that has to be fixed. Thanks!

CC ref https://github.com/choderalab/perses/issues/854

So, I think maybe these examples/proteins don't really have or need these cofactors. Is that why these files are empty?

The empty cofactors_crystalwater.pdb are indeed intended, It means that for the specific targets with empty cofactors_crystalwater.pdb, no cofactors and water molecules were considered in the preparation. It might not be best practice to remove all cofactors/crystal waters, but the original publication did not consider any.

The README.md file was updated accordingly to clarify. 8c94c0d

Thanks @dfhahn , sorry for the confusion.


Can't find public func when OC calls swift

I'm familiar with oc, but I don't know swift, I want to use a library written in swift. I imported the header file, but when I setup in interface builder, and called the swift method, he reported an error, as follows.

what should I do?I don't know swift, Thank you.

@sshallow unfortunately this library is totally written in Swift and there are many items that can not represented in Objective C


How to chain HTTPS proxy

I use GoProxy as an intermediate proxy. So, just transferring traffic from GoProxy to some other proxy.
It works as intended for the HTTP protocol, but HTTPS does not. It connects directly to the website, instead of connecting first to parent proxy and than to the website.
I don't need / want the MITM, so basically, just forwarding of CONNECT protocol to the parent proxy (with auth).
How can I achieve this?
The following code works for HTTP, but not for HTTPS.
handler.Tr = &http.Transport{Proxy: func(req *http.Request) (*url.URL, error) {
		userInfo := url.UserPassword(fwdProxy.NodeProxy.Username, fwdProxy.NodeProxy.Password)
		parsedUrl, err := url.Parse(fwdProxy.NodeProxy.Url)

		if err == nil {
			parsedUrl.User = userInfo
		}

		return parsedUrl, err
	}}

Are you using goproxy as a classic proxy or as a transparent proxy?
I was able to run the basic example and it works fine for both http and https. If the client is configured to use a proxy server, everything works through the http port. If the proxy is a transparent intercept proxy (ie: using iptable rules or the equivalent to forward ports), the sample also worked just fine.

As a classic.
Which example exactly are you talking about?

Hm, that worked perfectly for me as written.
The example is found in /examples/goproxy-basic.

Well, that is not what I would like. What I need:
curl -> goproxy -> squid (or any other proxy) -> website
and i cant figure out how to do it for https. the http example is in the above comment.

Oh I see. I think you could implement some iptables rules for that. Not sure how it could be implemented in goproxy, if that is possible.

the iptables won't work, since I need to add auth in goproxy. the squid proxy is behind auth and i want to connect to it via goproxy, but the client (curl) does not know the credentials.

@matejvelikonja did you figure how to route https though auth proxy

@vedhavyas unfortunately not yet

Have you tried using NewConnectDialToProxy. Like below.
handler.Tr = &http.Transport{Proxy: func(req *http.Request) (*url.URL, error) { 			return<EMAIL_ADDRESS>		}} handler.ConnectDial =<EMAIL_ADDRESS>

I am trying to do the same thing. Anyone succeeded with @geekhckr's answer?

I am trying to do the same thing.

You basically need something like this:
    proxy := goproxy.NewProxyHttpServer()

[...]

    proxy.OnRequest().HandleConnectFunc(func(host string, ctx *goproxy.ProxyCtx) (*goproxy.ConnectAction, string) {
    var proxyUrl *url.URL
    proxyUrl, _ = url.Parse("http://PROXY_USER:PROXY_PASSW@PROXY_HOST:PROXY_PORT")
        proxy.Tr = &http.Transport{
            Proxy: http.ProxyURL(proxyUrl),
            TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
        }
        return goproxy.MitmConnect, host
    })

[...]

    log.Fatal(http.ListenAndServe(":8080", proxy))

Replacing http://PROXY_USER:PROXY_PASSW@PROXY_HOST:PROXY_PORT with the actual proxy credentials/address.

@onegithuber

I am trying to do the same thing.

I actually created my own implementation from scratch to make it work.

Hi,
I am trying to chain 2 forward proxies. I have goproxy with the following setup on the machine, and the machine has another goproxy that I would like to forward to. They both need to support HTTP + HTTPS.
If I run the following code, then use curl to test it, it works for HTTP, but not HTTPS:
Use case explanation: The machine has multiple ssh reverse port forwards that have a forward proxy listening on the other end. I need to have a "gateway" forward proxy listening on a static ip:port that will check credentials, pick the next forward proxy and forward to it.
client -> goproxy on <IP_ADDRESS>:8080 (checks creds) -> http://127.0.x.x:xxxx (no credentials)
curl --proxy http://<IP_ADDRESS>:8080 https://wtfismyip.com/text
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

curl --proxy http://<IP_ADDRESS>:8080 http://wtfismyip.com/text
xxx.xxx.xxx.xxx

package main

import (
	"crypto/tls"
	"net/http"
	"net/url"

	"github.com/elazarl/goproxy"
)

func startProxy(addr string) {
	proxy := goproxy.NewProxyHttpServer()

	proxy.OnRequest().HandleConnectFunc(func(host string, ctx *goproxy.ProxyCtx) (*goproxy.ConnectAction, string) {
		var proxyURL *url.URL
		proxyURL, _ = url.Parse("http://<IP_ADDRESS>:10001")
		proxy.Tr = &http.Transport{
			Proxy:           http.ProxyURL(proxyURL),
			TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
		}
		return goproxy.MitmConnect, host
	})

	//proxy.Verbose = true
	http.ListenAndServe(addr, proxy)
}

func main() {

	startProxy("<IP_ADDRESS>:8080")

}

Any insight into what I have wrong would be greatly appreciated!

Update:
This seems to be working for me. Is this the correct approach, or does anyone see an issue with doing this?
func startProxy(addr string) {
	proxy := goproxy.NewProxyHttpServer()

	proxy.Tr = &http.Transport{Proxy: func(req *http.Request) (*url.URL, error) {
		return url.Parse("http://<IP_ADDRESS>:10001")
	}}
	proxy.ConnectDial = proxy.NewConnectDialToProxy("http://<IP_ADDRESS>:10001")

	http.ListenAndServe(addr, proxy)
}

@alexelisenko did you ever get it working for https?

@dylankilkenny Do you mean to to have the proxy listen and serve via TLS? or dial an HTTPS target?

The Proxy-Authentication header is not set when using NewConnectDialToProxy.

@dank - line 229 under https.go, method removeProxyHeaders removes those headers.

Hi everybody, did someone find a solution for this issue?

For the latest version of goproxy, there are two ways to implement chaining http(s) proxy.
One simple way is to use NewConnectDialToProxy or NewConnectDialToProxyWithHandler provided by goproxy. Below shows a working example. Note the example supports both HTTP or HTTPS proxy to be forwared to, and with or without proxy authorization. Just use a correct urlString format.
package main

import (
	"crypto/tls"
	"encoding/base64"
	"github.com/elazarl/goproxy"
	"log"
	"net/http"
	"net/url"
)

const urlString = "https://username:password@another-proxy-host:another-proxy-port"
// const urlString = "http://username:password@another-proxy-host:another-proxy-port"
// const urlString = "https://another-proxy-host:another-proxy-port"
// const urlString = "http://another-proxy-host:another-proxy-port"

func main() {
	proxyURL, err := url.Parse(urlString)
	if err != nil {
		log.Fatal(err)
	}

	proxy := goproxy.NewProxyHttpServer()
	proxy.Tr = &http.Transport{
		Proxy:           http.ProxyURL(proxyURL),
		TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
	}

	username := proxyURL.User.Username()
	password, _ := proxyURL.User.Password()
	var proxyAuthorization string
	if len(username) > 0 || len(password) > 0 {
		proxyAuthorization = "Basic " + base64.StdEncoding.EncodeToString([]byte(username+":"+password))
	}
	proxy.ConnectDial = proxy.NewConnectDialToProxyWithHandler(urlString, func(req *http.Request) {
		if len(proxyAuthorization) > 0 {
			req.Header.Set("Proxy-Authorization", proxyAuthorization)
		}
	})

	proxy.Verbose = true
	log.Fatal(http.ListenAndServe(":8080", proxy))
}

Another way is to use hijack, which means we can implement customized behavior for CONNECT request. A complete example is shown in this gist.

@uzxmx The code seems that cannot connect to multiple targets, you have to specify a target in NewConnectDialToProxyWithHandler :(

@xzycn Maybe this will be work
connectDialer := newConnectDialer(proxy)
	proxy.ConnectDialWithReq = func(req *http.Request, network string, addr string) (net.Conn, error) {
		return connectDialer(req, network, addr)
}

func newConnectDialer(proxy *goproxy.ProxyHttpServer) func(req *http.Request, network, addr string) (net.Conn, error) {
	return func(req *http.Request, network, addr string) (net.Conn, error) {
		// proxyService have multi targets, you can chose a proxy per req dynamic
		u, err := proxyService.GetProxy(req.Context())
		if err != nil {
			return nil, err
		}
		proxyAddr := getAddrFromURL(u)
		username := u.User.Username()
		password, _ := u.User.Password()
		var proxyAuthorization string
		if len(username) > 0 || len(password) > 0 {
			proxyAuthorization = "Basic " + base64.StdEncoding.EncodeToString([]byte(username+":"+password))
		}
		isTLS := u.Scheme == "https" || u.Scheme == "wss"
		///
		connectReq := &http.Request{
			Method: "CONNECT",
			URL:    &url.URL{Opaque: addr},
			Host:   addr,
			Header: make(http.Header),
		}
		connectReq = connectReq.WithContext(req.Context())
		if len(proxyAuthorization) > 0 {
			connectReq.Header.Set("Proxy-Authorization", proxyAuthorization)
		}
		c, err := net.Dial(network, proxyAddr)
		if err != nil {
			return nil, err
		}
		if isTLS {
			c = tls.Client(c, proxy.Tr.TLSClientConfig)
		}

		err = connectReq.Write(c)
		if err != nil {
			return nil, err
		}
		br := bufio.NewReader(c)
		resp, err := http.ReadResponse(br, connectReq)
		if err != nil {
			_ = c.Close()
			return nil, err
		}
		defer resp.Body.Close()
		if resp.StatusCode != 200 {
			resp, err := io.ReadAll(resp.Body)
			if err != nil {
				return nil, err
			}
			_ = c.Close()
			return nil, errors.New("proxy refused connection" + string(resp))
		}
		return c, nil
	}
}

func getAddrFromURL(u *url.URL) string {
	addr := u.Host
	if !strings.ContainsRune(addr, ':') {
		if u.Scheme == "" || u.Scheme == "http" {
			addr += ":80"
		} else if u.Scheme == "https" {
			addr += ":443"
		}
	}
	return addr
}


Lack of licenses in each source file under the eventmesh-connector-rocketmq module

If we want to publish under the apache, we need to add licenses to each source file. You can do this refer to https://creadur.apache.org/rat/apache-rat/index.html

i will solve it


Add local to tlds.js

Would allow linkifying of links like http://neon.myCompany.local:8000/www/Project/latest

Sure thing, just has to be added to this file in alphabetical order.

So it looks like you are using local as a domain as well.  I guess that means that it can't be used as a TLD?  Is there anyway it can be used as both?

I would update the test to make local a TLD. Relevant line is here. The DOMAIN should be changed to TLD.
I apologize for the delay on this, was having trouble accessing Travis earlier to see the issue.

Fixed in #102


Replace covidcloud

This PR is to replace all references to the decommissioned Data Connect service (ga4gh-search-presto-adapter-public.prod.dnastack.com) and the soon-to-be-decommissioned Data Connect service (data-connect-trino-public.prod.dnastack.com).
Please be aware that all tables in the queries for the Data Connect services will be updated as well.

@jfuerth to review changes.

The table references all appear to be working. Thanks for the updates!


[NEW] RVAsec 2024

Name: RVAsec
Website: https://rvasec.com/
Date(s): June 4-5, 2024
Location: Richmond, Virginia, USA
Twitter/Mastodon Handle:  @rvasec
Free: N

thanks!


YAML-ize current TC_ACE_1_1 test

Automates ACE 1.1

Test Case ID
[TC-ACE-1.2] Subscriptions
Describe Issue:
Step 3：Expected Outcome is save SubscriptionId as subscription_noc，But my execution result is timeout

I am not sure why I operate on node 2 in interactive mode. I would like to know whether there are preconditions for executing test case TC-ACE-1.2

The comment above relates to test case TC-ACE-1.2, which is not covered by this PR. Can you please open an issue on the test case repo with logs and repo steps.


download-missing gives error

This is the only error in the log -
Error exporting photo IMG_8955.HEIC (EC3ED783-0411-43DF-98C8-55C75E156FC7.heic) as photo_191128_EC3ED783-0411-43DF-98C8-55C75E156FC7.HEIC: 'NoneType' object is not iterable
Running second time works since the file is already downloaded somehow.

Were you using --use-photokit with --download-missing or just --download-missing?
I've seen this a couple of times where there's an intermittent error when trying to download with --download-missing but it works the second time.  If I can figure out where in the code the actual error is happening I'll add a loop to catch the error and automatically retry

Were you using --use-photokit with --download-missing or just --download-missing?
I've seen this a couple of times where there's an intermittent error when trying to download with --download-missing but it works the second time.  If I can figure out where in the code the actual error is happening I'll add a loop to catch the error and automatically retry

No I was not using --use-photokit. Just plain --download-missing
Yes - running a second time goes through fine without errors

No I was not using --use-photokit. Just plain --download-missing
Yes - running a second time goes through fine without errors

I added an automatic retry to v0.39.19.  This issue is caused by flakiness of Photos' AppleScript engine (which Apple seems to have abandoned long ago).  If there's an error during export with --download -missing, the code will now automatically retry up to 3 times.  Let me know if you are still seeing errors.

I added an automatic retry to v0.39.19.  This issue is caused by flakiness of Photos' AppleScript engine (which Apple seems to have abandoned long ago).  If there's an error during export with --download -missing, the code will now automatically retry up to 3 times.  Let me know if you are still seeing errors.


Some message files are missing

Hi Li Jiaxin,
Thank you for publishing this interesting piece of code.
It looks like the common_msgs package is missing some of the custom messages namely:
NavigationState.msg
GPSVelocity.msg
MeasurementPosition.msg
MeasurementVelocity.msg
PixhawkCMD.msg
PixhawkServo.msg
MeasurementPosVel.msg
MaxDynamics.msg
Reference.msg
Mission.msg
MissionStatus.msg
PathPlanningStatus.msg
Waypoint.msg
and this stops me from building the code.
Would you please add them to the repo or give me directions if they are available somewhere?
thanks

I have uploaded them to the repository. However, this repository is actually part of a general library for UAVs, and it is not supposed to be compiled and run without other components of that library. Unfortunately, I can't release that library because of Intellectual Property issues.
The localization algorithm is in uwb-localization/slam_pp/src/slam/, and the entry is thread_slam.cpp
The calibration algorithm is in uwb-localization/uwb_calibration/src/, and the entry is uwb_calibration_node.cpp


could tcp write timeout be configured in config file?

https://github.com/vernemq/vernemq/blob/ffa55369cd881b13f0ccbd62be5df942722c2d2e/apps/vmq_server/src/vmq_server.app.src#L88
Hi dude, I am writing an app working in bad network environment. A message could be 200k while the network speed is ~780kbps, the serverside write timeout would cause client lost connection.
So I want tweak this timeout to 30 seconds somehow. Is there any way to do that without change source code and rebuild?

@ackratos the outgoing_connect_timeout is an option for cluster communication setup.
It seems your question is not about that, but an MQTT client consumer?
do you have logs? what is the client side keepalive value?

thx @ioolkos for your quick reply.
Yes, I am using a MQTT client consumer (paho.mqtt.golang). My ping timeout is default 10 seconds. Will try to enlarge that.
Here is the mqtt client debug log:
[MQTT] 2020/05/18 10:53:09 [net]      logic waiting for msg on ibound
[MQTT] 2020/05/18 10:53:09 [client]   enter Publish
[MQTT] 2020/05/18 10:53:09 [client]   sending publish message, topic: clientPing/D14-2
[MQTT] 2020/05/18 10:53:09 [net]      obound wrote msg, id: 1
[MQTT] 2020/05/18 10:53:09 [net]      outgoing waiting for an outbound message
[MQTT] 2020/05/18 10:53:14 [pinger]   ping check 4.62124075
[MQTT] 2020/05/18 10:53:19 [pinger]   ping check 9.623174708
[MQTT] 2020/05/18 10:53:19 [net]      incoming stopped with error read tcp <IP_ADDRESS>:51899-><IP_ADDRESS>:443: read: connection reset by peer

In addition, what does the server log tell us? do you see some send failed timeouts?

In addition, what does the server log tell us? do you see some send failed timeouts?

no, there are no send failed. only:
2020-05-18 05:56:01.939 [warning] <0.4620.286>@vmq_mqtt_fsm:connected:443 client {[],<<"iphone11pro">>} with username <<"vernemq">> stopped due to keepalive expired

I think it's about ping interval issue. Thanks quite a lot!

@ioolkos I enlarged the client ping to 960 seconds (deliberately set it to a large vault to see is there any other timeout limitations). And now client side failed with:
[MQTT] 2020/05/19 08:28:46 [net]      incoming stopped with error read tcp <IP_ADDRESS>:53770-><IP_ADDRESS>:443: read: connection reset by peer

While server side log shows:
2020-05-19 08:28:46.606 [warning] <0.28468.331>@vmq_ranch:teardown:159 session stopped abnormally due to 'timeout'

I guess there is 30 seconds timeout configured on server side? Do you know how can i tweak it to 30 seconds?

@ioolkos any thoughts?

@ackratos
First thing, I'd wireshark this. And see when the broker resets the connection. We can then look into server side TCP options that might help.
What is your roundtrip time? (so that BDP can be calculated)

First thing, I'd wireshark this. And see when the broker resets the connection. We can then look into server side TCP options that might help.

Thanks a lot. I reproduced the issue with real use case with a local vernemq server, looks like the server cut the connection because of too many of retransmittion and dup ack. Too small tcp window (500B) might be the cause. Normally the tcp packets are around 1400+ Bytes.
The roundtrip time is about 1000ms - 2000ms (I am simulation a 3G network connection where download speed would be 780kbps and upload speed is 200kbps)

@ioolkos after several days investigation, i am still wondering is there possible to set a timeout for the ssl:send? Sorry about I am not familiar with erlang -.-
port_cmd_({ssl, Socket}, Data) ->
    case ssl:send(Socket, Data) of
        ok ->
            self() ! {inet_reply, Socket, ok},
            true;
        {error, Reason} ->
            erlang:error(Reason)
    end;

@ackratos Did you figure this one out?


Osolete.GO:0052898 N1-acetylspermidine:oxygen oxidoreductase (propane-1,3-diamine-forming) activity.

Please provide as much information as you can:

GO term ID and Label
GO:0052898 N1-acetylspermidine:oxygen oxidoreductase (propane-1,3-diamine-forming) activity.

Reason for deprecation
The reason for the obsoletion is because the RHEA reaction RHEA:25864 used as it’s definition has been determined to not exist. Therefore, there is no evidence to support this term.

"Replace by" term (ID and label)
There is  no term to replace this.

"Consider" term(s) (ID and label)
There are no terms to consider.

Are there annotations to this term?*
There are no annotations

How many EXP:None

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)
There are no mappings or cross references
Is this term in a subset? (check the AmiGO page for that term)
Term is not in any subset
Any other information*
Notice has been sent out.
This is result of evaluation from ticket #22050

done


Error in minify

It doesn't minify correctly, when I launch the minify command the response is as follows:

In main.min.css file

It would be interesting to be able to choose the final path of the minified ones, because it does not make sense that the minified ones enter the same path.

Any updates on this issue? Were you able to fix it? Or is it a false alarm?

I'm closing this, since it doesn't seem to be an issue, but feel free to continue the conversation - especially if you can provide more info. Thanks.


CASMPET-7262: After installing csm-testing, restart goss-servers service if it is active

Currently, whenever we upgrade the csm-testing RPM, we have to restart the goss-servers service to pick up the changes. This PR modifies the csm-testing RPM so that after it is installed, it will automatically restart the goss-servers service, if it is installed and active.
I have tested this on mug and verified that it behaves as expected.

/backport release/1.5 release/1.4


Finalize Martec Setup

Started in #12 & #13
need to configure the IDs for GTM and One Trust, and also check the site for any other martec we need to add

code changes made in https://github.com/aemsites/accor-all/commit/dfea49e41fe55f3b5bcdd74890b768b0b2143f64
updated config with gtm and one trust IDs.


Terragrunt printout in Githubaction

In my Terragrunt ClI I can print out to stdout the Terragrunt Plan and Apply but having difficuly printing out in GithubAction.
In my environment with this folder structures, with Terragrunt files, I had made changes to the Terragrunt file and i want to print the changs in my githubActions
account
 └ _global
 └ region
    └ _global
    └ environment
       └ resource

I want to print this Outputs: in my GithubAction
asg_name = tf-asg-00343cdb2415e9d5f20cda6620
asg_security_group_id = sg-d27df1a3
elb_dns_name = webserver-example-prod-1234567890.us-east-1.elb.amazonaws.com
elb_security_group_id = sg-fe62ee8f
url = http://webserver-example-prod-1234567890.us-east-1.elb.amazonaws.com:80
  - name: Terragrunt Plan

    id: plan
    with:
      run: |
        for dir in ${{ steps.dedupe.outputs.changed_directories }}
        do
          cd ${{github.workspace}}/$dir
          terragrunt plan -no-color
        done

Hi,
most probably can help terragrunt output or terragrunt run-all output


TypeError: argument must be an int, or have a fileno() method.

I try to close an AGPS3mechanism instance but it raises an error.
from gps3.agps3threaded import AGPS3mechanism

gps = AGPS3mechanism()
gps.stream_data()
gps.run_thread()

print(gps.data_stream.time)

gps.stop()

It raises:
Traceback (most recent call last):
  File "/opt/python3.5/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/opt/python3.5/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/python3.5/lib/python3.5/site-packages/gps3/agps3threaded.py", line 43, in unpack_data
    for new_data in self.socket:
  File "/opt/python3.5/lib/python3.5/site-packages/gps3/agps3.py", line 115, in next
    waitin, _waitout, _waiterror = select.select((self.streamSock,), (), (), timeout)
TypeError: argument must be an int, or have a fileno() method.

How to fix this, please?

A solution is to 'turn off' the data stream.  The 'stop' function now tell gpsd to 'turn off' the data stream.
Line #59 has been changed to self.stream_data(enable=False)  gpsd and Python clean up the leftovers.

A solution is to 'turn off' the data stream.  The 'stop' function now tell gpsd to 'turn off' the data stream.
Line #59 has been changed to self.stream_data(enable=False)  gpsd and Python clean up the leftovers.
Changes to the Pypi wheel will be coming.


[EDS-556] Supports SAML sign-on to unlock other search options

Note: Does NOT enable student search yet. The radio buttons won't currently have any effect on the search results.

When a user visits the page, they are now shown the sign in link in order to see other search options.
After signing in, they can select other search options
Fixes the mock idp integration so that it works locally and is testable.
Adds tests!

You can test these changes with:
./scripts/run-development-server.sh -i uwitiam/husky-directory:commit-1ebcfc9854

Should clicking the "Sign in for student search" link prompt me?
I click it and I get the new radio options, after that I do a Faculty/Staff search, and I get my results etc, and right side of the search portion shows the "Sign in for student search" link again without the radios, just like I did when I started my search. Expected?

Try it in a private window.

It works just like identity.UW; if you're already authenticated, it won't prompt you

oh, wait! This is in mock only, no, it won't ever prompt you. The mock IDP always says "come right in"

Should I be getting the repeated/second sign on prompt? If thats ok, at least for now, we are good to go.
https://github.com/UWIT-IAM/uw-husky-directory/pull/39#issuecomment-797821778

I am not sure what you mean.
This is a mock IdP that does not do any actual credentialing or authentication. It just pretends to so that we can test all of the paths of our application.
Our website does not have a sign in form. The idp handles it; it's the same form you use every day with other UW services.


Fix the issues link

The old link reference to relative URL (https://github.com/facebook/buck2/blob/main/issues) which results to a broken URL (404 error).

Thanks!


Fix decrypt.sh CI

CI cannot decrypt the config files, which causes it to fail

Seems like this issue is not fixed. These might fix it:
https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idsecretsinherit
This issue only exists w/ dependabot commits

Bug described here: https://github.com/dependabot/dependabot-core/issues/3253

Fixed by adding secret to Dependabot's secrets


Connection defender

PR Description 📜
The game is to use the arrow keys to move the cursor and shoot the incoming arrows using the mouse on the connection which act as interruptions and prevent the wifi signal from getting disconnected for as long as possible.The cursor needs to be protected from the incoming arrows.The game is developed using Javascript
Fixes # 2279

Mark the task you have completed ✅

[✅] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ ✅] I have performed a self-review of my own code or work.
[ ✅] I have commented my code, particularly in hard-to-understand areas.
[✅ ] My changes generates no new warnings.
[✅] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[✅ ] I have added screenshot for website preview in assets/images
[ ✅] I have added entries for my game in main README.md
[ ✅] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ ✅] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Sreenija03 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @Sreenija03,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗


Error when trying to wake up vehicle by starting charging

Version of the custom_component
Release V1.3.0
Configuration
N/A
Describe the bug
When starting charging for a sleeping vehicle I get the below error.
Same error when trying a door lock or other command to.
All working fine with vehicle awake.
Debug log

2021-10-21 10:34:12 DEBUG (MainThread) [teslajsonpy.connection] post: https://owner-api.teslamotors.com/api/1/vehicles/5025388345911957/command/charge_start {}
2021-10-21 10:34:12 DEBUG (MainThread) [teslajsonpy.connection] 408: {"response":null,"error":"vehicle unavailable: {:error=>\"vehicle unavailable:\"}","error_description":""}
2021-10-21 10:34:12 DEBUG (MainThread) [teslajsonpy.controller] Exception: vehicle_unavailable
api(('START_CHARGE',) {'path_vars': {'vehicle_id':<PHONE_NUMBER>911957}, 'wake_if_asleep': True})
2021-10-21 10:34:12 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139941383171328] vehicle_unavailable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
    await handler.job.target(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 830, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
    await result
  File "/config/custom_components/tesla_custom/tesla_device.py", line 35, in wrapped
    result = await func(*args, **kwargs)
  File "/config/custom_components/tesla_custom/switch.py", line 35, in async_turn_on
    await self.tesla_device.start_charge()
  File "/usr/local/lib/python3.9/site-packages/teslajsonpy/homeassistant/charger.py", line 65, in start_charge
    data = await self._controller.api(
  File "/usr/local/lib/python3.9/site-packages/teslajsonpy/controller.py", line 166, in wake_up
    result = await wrapped(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/teslajsonpy/controller.py", line 1189, in api
    return await self.__connection.post(
  File "/usr/local/lib/python3.9/site-packages/teslajsonpy/connection.py", line 167, in post
    return await self.__open(
  File "/usr/local/lib/python3.9/site-packages/teslajsonpy/connection.py", line 217, in __open
    raise TeslaException(resp.status_code, "vehicle_unavailable")
teslajsonpy.exceptions.TeslaException: vehicle_unavailable

Looks like Tesla has changed the functionality so it return vehicle_unavailable when vehicles are sleeping.
You should do a wake_up command before the charge command as a workaround.


Information about latency

First of all, this is an incredible work, thanks for sharing!
I would like to know how much is a reasonable value range for latency using this project? I'm seeing something around 450ms - 550ms using Raspberry Pi 2 in a WiFi network.
In case you have no benchmarking data, which would be the best way to measure it? My testing was really really awful with an stopwatch running (recording it with the RPi Camera) and a computer running a VLC client pointing to the RTSP server (where the image appears with <1s latency), everything recorded by another phone and then comparing them...
Thanks in advance,
NOTE:

Raspberry Pi 2
Official Pi Camera Module
Latest v4l2rtspserver
VLC running without network catching (0ms).

Hi Gorka,
A slightly simpler measurment method could be to display a milliseconds counter (like your stopwatch) on the same display used by the RTSP client.
Then pointing the camera on the screen in a way you could see the counter and the recorded counter, you get the latency substracting the 2 counter from a snapshot of the screen.
I made some tests using such a way, but I don't remember the latency values. Obviously this is highly dependent on the resolution, and also the player used.
VLC even with no network caching introduce an important latency, ffplay have less.
Best Regards,
Michel.

A slightly simpler measurment method could be to display a milliseconds counter (like your stopwatch) on the same display used by the RTSP client.
Then pointing the camera on the screen in a way you could see the counter and the recorded counter, you get the latency substracting the 2 counter from a snapshot of the screen.

yep :)

I made some tests using such a way, but I don't remember the latency values. Obviously this is highly dependent on the resolution, and also the player used.
VLC even with no network caching introduce an important latency, ffplay have less.

The tests I did last week were with:

Using ffmpeg -i rtsp://<IP_ADDRESS>:8554/unicast -f sdl - (which is the "new" way of doing ffplay in OS X / macOS - deprecated ffplay in macOS is sloooow):

Aprox. 430ms

Using VLC (no network caching):

Aprox. 440ms
Closing this then, thanks for your comment!


Deletion of managed seeds fails

How to categorize this issue?

/area robustness
/kind bug
/priority 3
What happened:
I tried to delete a seed created by a ManagedSeed resource by deleting the ManagedSeed resource again. The seed itself gets deleted, but deletion of the ManagedSeed resource hangs with the error message
Could not unregister shoot garden/aws seed: could not delete gardenlet from shoot garden/aws: render error in "gardenlet/charts/runtime/templates/secret-kubeconfig-garden-bootstrap.yaml": template: gardenlet/charts/runtime/templates/secret-kubeconfig-garden-bootstrap.yaml:15:17: executing "gardenlet/charts/runtime/templates/secret-kubeconfig-garden-bootstrap.yaml" at <required ".Values.global.gardenlet.config.gardenClientConnection.bootstrapKubeconfig.kubeconfig is required" .Values.global.gardenlet.config.gardenClientConnection.bootstrapKubeconfig.kubeconfig>: error calling required: .Values.global.gardenlet.config.gardenClientConnection.bootstrapKubeconfig.kubeconfig is required

This happens independently of whether ServiceAccount or BootstrapToken is set in spec.gardenlet.bootstrap in the ManagedSeed resource manifest.
What you expected to happen:
Deletion of the ManagedSeed resource should delete the corresponding seed (which it does) and run through without errors (which it currently does not).
How to reproduce it (as minimally and precisely as possible):
Create a ManagedSeed resource and then delete it again.
Anything else we need to know?:
Environment:

Gardener version: v1.20.3
Kubernetes version (use kubectl version): 1.18.6 (client) and 1.18.3 (cluster)
Cloud provider or hardware configuration: AWS
Others: landscape created with garden-setup

/cc @stoyanr @danielfoehrKn

@Diaphteiros Is the issue still reproducible with latest gardener? If yes, could you please copy / attach the ManagedSeed resource used to reproduce this issue?

Create a ManagedSeed resource and then delete it again.

This works in general, I assume the error is only reproducible under specific circumstances, but it's hard for me to guess what.

FYI: the renderer error is similar to https://github.com/gardener/gardener/issues/4002

@timebertt Yes, it's a duplicate. I would say let's close this ticket since the other one has more details.
/duplicate #4002

Reopened this so we can debug. I did manage to reproduce the issue, but only by introducing in the parent gardenlet configuration a few lines that should not be there:
gardenClientConnection:
  ...
  bootstrapKubeconfig:
    name: gardenlet-kubeconfig-bootstrap
    namespace: garden

@Diaphteiros Could you please confirm that you parent gardenlet configuration (can be found the garden/gardenlet-configmap configmap for the gardenlet responsible for the shoot that is registered as seed) contains the above lines? Or simply reproduce the issue and let me take a look?
I can introduce a fix that works with this situation, but I would like to double-check that it's actual caused by this, and not by something else.

Thanks to @Diaphteiros I was able to confirm that the above configuration could indeed be found on soil clusters, where gardenlet is not deployed via a managed seed. I will prepare a fix shortly.


sumneko-lua-language-server: 3.6.5 -> 3.6.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/sumneko/lua-language-server/releases.
meta.description for sumneko-lua-language-server is: Lua Language Server coded by Lua
meta.homepage for sumneko-lua-language-server is: https://github.com/sumneko/lua-language-server
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.6.6 with grep in /nix/store/v1sl7s82m3j7zb9rvvdgcqack6kcr5ps-sumneko-lua-language-server-3.6.6
found 3.6.6 in filename of file in /nix/store/v1sl7s82m3j7zb9rvvdgcqack6kcr5ps-sumneko-lua-language-server-3.6.6

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
sumneko-lua-language-server
vscode-extensions.sumneko.lua

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v1sl7s82m3j7zb9rvvdgcqack6kcr5ps-sumneko-lua-language-server-3.6.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sumneko-lua-language-server https://github.com/r-ryantm/nixpkgs/archive/e823c5176eded5492f3d74169457591c9d31201b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v1sl7s82m3j7zb9rvvdgcqack6kcr5ps-sumneko-lua-language-server-3.6.6
ls -la /nix/store/v1sl7s82m3j7zb9rvvdgcqack6kcr5ps-sumneko-lua-language-server-3.6.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

sumneko-lua-language-server
vscode-extensions.sumneko.lua

Maintainer pings
cc @sei40kr for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sumneko-lua-language-server/versions.
meta.description for sumneko-lua-language-server is: Lua Language Server coded by Lua
meta.homepage for sumneko-lua-language-server is: https://github.com/sumneko/lua-language-server
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.6.7 with grep in /nix/store/mk46xi3lk4dyqsl3hs5c11zhvnhrpzqp-sumneko-lua-language-server-3.6.7
found 3.6.7 in filename of file in /nix/store/mk46xi3lk4dyqsl3hs5c11zhvnhrpzqp-sumneko-lua-language-server-3.6.7

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
sumneko-lua-language-server
vscode-extensions.sumneko.lua

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mk46xi3lk4dyqsl3hs5c11zhvnhrpzqp-sumneko-lua-language-server-3.6.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sumneko-lua-language-server https://github.com/r-ryantm/nixpkgs/archive/8c6ceeb3cfb7eba9de0646d16365bc8759e2799c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mk46xi3lk4dyqsl3hs5c11zhvnhrpzqp-sumneko-lua-language-server-3.6.7
ls -la /nix/store/mk46xi3lk4dyqsl3hs5c11zhvnhrpzqp-sumneko-lua-language-server-3.6.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

sumneko-lua-language-server
vscode-extensions.sumneko.lua

Maintainer pings
cc @sei40kr for testing.


Fix the issues in API compatibility test

When running $ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test --update_goldens True, the compatibility test failed due to some files in the estimator module as below. This PR tries to fix this issue.
sisue 1	: Object tensorflow.estimator.Estimator expected but not found (removed).
Issue 2	: Object tensorflow.estimator.BaselineClassifier expected but not found (removed).
Issue 3	: Object tensorflow.estimator.export.ExportOutput expected but not found (removed).
Issue 4	: Object tensorflow.estimator.inputs expected but not found (removed).
Issue 5	: Object tensorflow.estimator.export.RegressionOutput.__metaclass__ expected but not found (removed).
Issue 6	: Object tensorflow.estimator.export.PredictOutput.__metaclass__ expected but not found (removed).
Issue 7	: Object tensorflow.estimator.EvalSpec expected but not found (removed).
Issue 8	: Object tensorflow.estimator.BaselineRegressor expected but not found (removed).
Issue 9	: Object tensorflow.estimator expected but not found (removed).
Issue 10	: Object tensorflow.estimator.FinalExporter expected but not found (removed).
Issue 11	: Object tensorflow.estimator.export.PredictOutput expected but not found (removed).
Issue 12	: Object tensorflow.estimator.WarmStartSettings expected but not found (removed).
Issue 13	: Object tensorflow.estimator.export.ClassificationOutput expected but not found (removed).
Issue 14	: Object tensorflow.estimator.experimental expected but not found (removed).
Issue 15	: Object tensorflow.estimator.export.RegressionOutput expected but not found (removed).
Issue 16	: Object tensorflow.estimator.BoostedTreesRegressor expected but not found (removed).
Issue 17	: Object tensorflow.estimator.export expected but not found (removed).
Issue 18	: Object tensorflow.estimator.LatestExporter expected but not found (removed).
Issue 19	: Object tensorflow.estimator.EstimatorSpec expected but not found (removed).
Issue 20	: Object tensorflow.estimator.export.ClassificationOutput.__metaclass__ expected but not found (removed).
Issue 21	: Object tensorflow.estimator.RunConfig expected but not found (removed).
Issue 22	: Object tensorflow.estimator.LinearClassifier expected but not found (removed).
Issue 23	: Object tensorflow.estimator.DNNLinearCombinedClassifier expected but not found (removed).
Issue 24	: Object tensorflow.estimator.BoostedTreesClassifier expected but not found (removed).
Issue 25	: Object tensorflow.estimator.DNNClassifier expected but not found (removed).
Issue 26	: Object tensorflow.estimator.export.ExportOutput.__metaclass__ expected but not found (removed).
Issue 27	: Object tensorflow.estimator.ModeKeys expected but not found (removed).
Issue 28	: Object tensorflow.estimator.BestExporter expected but not found (removed).
Issue 29	: Object tensorflow.estimator.Exporter expected but not found (removed).
Issue 30	: Object tensorflow.estimator.VocabInfo expected but not found (removed).
Issue 31	: Object tensorflow.estimator.DNNLinearCombinedRegressor expected but not found (removed).
Issue 32	: Object tensorflow.estimator.DNNRegressor expected but not found (removed).
Issue 33	: Object tensorflow.estimator.export.ServingInputReceiver expected but not found (removed).

@case540 Could you have a look at this PR? It seems like there are big changes in the estimator module. Is my understanding right?

Does...
bazel-bin/tensorflow/tools/api/tests/api_compatibility_test --update_goldens True --only_test_core_api True
...work? Should maybe make --only_test_core_api default to True I suppose. But yeah, estimator code is moving out of core TF into its own repo https://github.com/tensorflow/estimator

@case540 Yes, this command works. Then, should we keep the estimator pbtxt files or just delete them?

Keep them (for now at least). We run internal tests against them. Also, I think if you "pip install tensorflow_estimator" you will be able to run without the core_only flag yourself.

@case540 Sounds good. We could close this PR?

Closing! Thanks and if you see any potential issues with these tests due to the Estimator mode migration please let me know!


[docs] Clarify casting support in the docs.

@Guichaguri, I do not have the full background on this module previously supporting casting, and why it was removed and such. I just wanted to clean up references to it in the docs.
Can you take a look and make sure my changes make sense?

We should probably also remove the Cast-Integration.md file, which contains outdated instructions.

I intentionally left that because @Guichaguri has excluded that file from the docs navigation menu. So, I wasn't sure what his intention with it was.
But I do agree, it is possible to navigate to this file in github browsing view, so it could be confusing to find it. I suggest either removing it, or adding a very clear header in it that states it is not currently supported.

I want to add casting back as soon as we merge v2, I've removed it from the module due to the incompatibility and build issues it used to cause in older RN versions, and that's why I started working on an "addon", but I think those are not an issue anymore.
I've never removed because I thought I'd get that back pretty quickly, but it's misleading. Feel free to merge it

@Guichaguri , should we remove the Cast-Integration.md file as well?

Yeah, I can add that back later, there is probably quite a bit I'd like to rewrite anyway


Bicep deploy fails for ContainerApp image name

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Fork repository
Set environment variables
Invoke workflow
Receive error msg

Any log messages given by the failure

ERROR: "code": "InvalidTemplateDeployment", "message": "The template deployment 'main' is not valid according to the validation procedure. The tracking id is 'af20d38b-1053-41f9-8b24-2a7b70cf54c2'. See inner errors for details."

Inner Errors:
"code": "ValidationForMultipleResourcesFailed", "message": "Validation failed for multiple resources. Check 'Error.Details[]' for more information."

Inner Errors:
"code": "ContainerAppImageRequired", "message": "Container with name 'python-app' must have an 'Image' property specified."

Inner Errors:
"code": "ContainerAppImageRequired", "message": "Container with name 'go-app' must have an 'Image' property specified."

Inner Errors:
"code": "ContainerAppImageRequired", "message": "Container with name 'node-app' must have an 'Image' property specified."
Error: Error: az cli script failed.

Expected/desired behavior

Deployment succeeds

OS and Version?

Ubuntu 20.04.4
Runner Version: 2.294.0

Thanks for this. I ran into this in another sample and solved it so I will update this one accordingly in the next few min @jimlane

confirmed fix


[TB] Develop the driver segment (for Worker module)

User story

As a SD
I want to develop the driver segment function
So that I can drive the robot along the line with the calculations from the other functions. And also check whether the robot is still on the line and react accordingly.

Acceptance criteria

Drive the robot along the line with the calculations from the other functions.
Check whether the robot is still on the line and react accordingly.

Definition of done (DoD)

Linter & Checker were performed and passed
Code Review has been completed
Code was merged in sprint release candidate
Updates are written in issue comments
Feature builds and tests successfully
Acceptance by product owner
User Story & Acceptance Criteria fulfilled

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Still WIP, since the fleet management software is not yet able to generate valid orders. Moreover, driving quickly from A to B along a given path requires a more complex control algorithm than rotating the robot and driving straight at it.
wiki.ros.org/navigation

The driver is now able to process a order by driving straight from node to node with rectangular turns in between. Demonstrated in #75.


 This is not the case anymore, so we should check for errors.

I second this.
Doesn't look like a success:
SnapRAID job completed successfully:

2018-12-28 07:10:02,315 [INFO  ] ============================================================
2018-12-28 07:10:02,324 [INFO  ] Run started
2018-12-28 07:10:02,324 [INFO  ] ============================================================
2018-12-28 07:10:02,325 [INFO  ] Running diff...
2018-12-28 07:10:02,716 [OUTERR] Error reading directory '/snapraid/snap_data2/'. Input/output error.
2018-12-28 07:10:02,716 [OUTERR] You can exclude it in the config file with:
2018-12-28 07:10:02,717 [OUTERR] exclude /
2018-12-28 07:10:03,021 [INFO  ] ************************************************************
2018-12-28 07:10:03,022 [INFO  ] Diff results: 0 added,  0 removed,  0 moved,  0 modified
2018-12-28 07:10:03,023 [INFO  ] No changes detected, no sync required
2018-12-28 07:10:03,023 [INFO  ] All done

Seems like I fixed this a while ago in 6262edd11b4f495ca45323a101801c7209ce5adc.


R298 plfm 6108

Remember to remove the jira-rest-java-client-api from the pom.xml

Also remove unused dependencies from pom.xml.


fix(README) Slack badge broken

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Oh this is why it was fixed.


Chore/upgrade deps

Upgrades all dependencies to latest versions possible:

Substrate to the release-polkadot-v1.5.0 branch
jsonrpsee to 0.16.3 which is the latest version compatible with the released version of substrate
all other deps to latest published in crates.io

Note this is a major version bump of the node because of the inclusion of https://github.com/paritytech/substrate/pull/13384
Companion PRs:

https://github.com/digicatapult/dscp-hyproof-api/pull/63
https://github.com/digicatapult/dscp-matchmaker-api/pull/250

In terms of testing beyond the automation tests here I've done the following:

ensured the tests in dependent repos pass
brought up the 3 persona hyproof compose and ensured that I can initiate a ceritificate

This PR updates the following pallets - they may also require updates to their extrinsic weights: process-validation symmetric-key
For the author and any reviewers:
* consider whether the changes could significantly affect the weight of any extrinsics

* consider whether benchmarks need updating to correctly cover weight variations over inputs

For a guide on running benchmarks to update weights see calculating weights

No need to update weights as there is no logical change here that should massively change them


App crash after long pressed on textfield

Describe the bug
App crash after doing long press to show paste option to textfield.
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#1396d](dirty, state: _OverlayEntryWidgetState#bcb2c):
No MediaQuery widget found.

_OverlayEntryWidget widgets require a MediaQuery widget ancestor.
The specific widget that could not find a MediaQuery ancestor was: _OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#1396d]
  dirty
  state: _OverlayEntryWidgetState#bcb2c
The ownership chain for the affected widget is: "_OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#1396d] ← _Theatre ← Overlay ← Directionality ← FlutterEasyLoading ← App ← LocalizationProvider ← LocalizedApp ← [root]"

Typically, the MediaQuery widget is introduced by the MaterialApp or WidgetsApp widget at the top of your application widget tree.

The relevant error-causing widget was:
  FlutterEasyLoading file:///Users/ngolinh/work/TCS/MG/mg/lib/app.dart:31:12
When the exception was thrown, this was the stack:
#0      debugCheckHasMediaQuery.<anonymous closure> (package:flutter/src/widgets/debug.dart:217:7)
#1      debugCheckHasMediaQuery (package:flutter/src/widgets/debug.dart:229:4)
#2      _CupertinoTextSelectionControls.buildToolbar (package:flutter/src/cupertino/text_selection.dart:465:12)
#3      TextSelectionOverlay._buildToolbar (package:flutter/src/widgets/text_selection.dart:588:34)
#4      _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:179:34)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

My code:
return FlutterEasyLoading(
      child: MultiRepositoryProvider(
        providers: [
          RepositoryProvider<UserRepository>.value(value: userRepository),
          RepositoryProvider<TokenRepository>.value(value: tokenRepository),
        ],
        child: MultiBlocProvider(
          providers: [
            BlocProvider<AppBloc>.value(value: appBloc),
          ],
          child: LocalizationProvider(
              state: LocalizationProvider.of(context).state,
              child: MaterialApp(
                title: translate(I18n.APP_NAME),
                theme: AppTheme.defaultTheme,
                debugShowCheckedModeBanner: false,
                localizationsDelegates: [
                  GlobalMaterialLocalizations.delegate,
                  GlobalWidgetsLocalizations.delegate,
                  localizationDelegate,
                ],
                supportedLocales: localizationDelegate.supportedLocales,
                locale: localizationDelegate.currentLocale,
                onGenerateRoute: routes(),
              ),
            ),
          ),
      ),
    );

Flutter/Dart info
[✓] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G73, locale en-VN)
    • Flutter version 1.20.1 at /Users/Shared/flutter
    • Framework revision 2ae34518b8 (5 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/ngolinh/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/ngolinh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.8.4

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] Android Studio
    • Android Studio at /Users/ngolinh/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6720134/Android Studio 4.2 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (1 available)
    • iPhone 11 Pro Max (mobile) • 3E380497-2C0E-4305-96A1-0315D2C58D77 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)

Screenshots
https://gyazo.com/6bb59440ec27ebbff3fc59b6aaab7760

Just put FlutterEasyLoading under MaterialApp

@magicpro97
you shuould do like this:
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter EasyLoading',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      builder: (BuildContext context, Widget child) {
        /// make sure that loading can be displayed in front of all other widgets
        return FlutterEasyLoading(
          child: MyHomePage(title: 'Flutter EasyLoading'),
        );
      },
    );
  }
}