get dat mobile status

Borrowed From RedBot

Type:

[ ] Bugfix
[x] Enhancement
[ ] New feature

Description of the changes:

Thanks :D


Updating the README and other outdated docs to encourage use of Gobblin Releases

Many users try to get started with Gobblin by building the code (e.g. ./gradlew build), then un-tarring the resulting gobblin-distribution.tar.gz file, and then running the Wikipedia example

Many of them fail to get the build working, or have problems running the tests

Most of our documentation suggests getting started with Gobblin by first building it (e.g. the README.md and Getting Started Guide both suggest this)
However, users should just be using the releases here: https://github.com/linkedin/gobblin/releases rather than building the latest code themselves
This PR updates the README.md file and a few other docs to encourage first time users to use the releases rather than building the code themselves
I also uploaded the gobblin-distribution.tar.gz file for the latest release (0.7.0)

Going forward I think each release should also have the gobblin-distribution.tar.gz file attached, so that users can download it directly rather than building it themselves

Coverage increased (+0.04%) to 46.187% when pulling 79189150c7b69ff5c1ec366f1166045369bad676 on sahilTakiar:docUpdates into 54fd005b1bb69e0042a01db544f2a55e532983a2 on linkedin:master.

@chavdar any thoughts on this? The main thing is that I think each release should include the gobblin-distribution.tar.gz file, I have already done this for the 0.7.0 release

Just a few examples of where this happens:
https://github.com/linkedin/gobblin/issues/1084
https://github.com/linkedin/gobblin/issues/1061
https://github.com/linkedin/gobblin/issues/1018
https://github.com/linkedin/gobblin/issues/786
https://github.com/linkedin/gobblin/issues/732

LGTM!


The Elliptic package 6.5.2 for Node.js allows ECDSA signature malleability via variations in encoding, leading '\0' bytes, or integer overflows.

Hi
Issue:
The Elliptic package 6.5.2 for Node.js allows ECDSA signature malleability via variations in encoding,
leading '\0' bytes, or integer overflows.

This could conceivably have a security-relevant impact if an application relied on a
single canonical signature. I'm using Elliptic 6.5.3 version but still I'm facing this issue in my project.

Could you please let me know what could be the reason for this?
I tried npm install<EMAIL_ADDRESS>and
npm audit fix
and I played around lot of other ways but still issue persists.

Thanks
Image reference:

Note: Actually, this issue is throwing by browserify-sign. browserify-sign is internally using few packages and those packages are internally using elliptic.

we use ^6.5.3 here so the issue could be a lock file or an old version of this library?

Indeed, we use a semver range, so nothing needs to be done.


Change the slogan in the github org of the gardener

Change the botanist slogan to the new slogan
Universal Kubernetes at Scale

Done.


Changelog in PR attributes (and potentially closes) issues of own repo

Full conversation: https://twitter.com/patrickkettner/status/651115260003250176
Solution: Use GitHub API to render markdown in correct context: https://developer.github.com/v3/markdown/ and add HTML to PR body
Or maybe we can just change the content type on the release requests to get it pre-rendered to begin with.

Resolved as of now by using the html media type.
@patrickkettner

:smile:


Http to Https Redirect not working

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Global Http to Https Redirect not working.
What did you see instead?
Redirection-Error, no acess to the redirected page.
What version of Traefik are you using?
traefik:latest
also checked other version, with the same result as described above.
What is your environment & configuration?
version: "3.3"
services:
traefik:
image: traefik:latest
ports:
- "80:80"
- "8080:8080"
- "443:443"
command:
- "--api.insecure=true"
- "--api.dashboard=true"
- "--api.debug=true"
- "--log.level=DEBUG"
- "--providers.docker=true"
- "--providers.docker.swarmMode=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=web"
- "--entrypoints.web.address=:80"
- "--entrypoints.web-secure.address=:443"
- "--entrypoints.web.http.redirections.entryPoint.to=web-secure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--certificatesresolvers.ssl.acme.httpChallenge=true"
-<EMAIL_ADDRESS>- "--certificatesresolvers.ssl.acme.storage=/letsencrypt/acme.json"
volumes:
  - /nfs/infra/traefik/letsencrypt:/letsencrypt
  - /var/run/docker.sock:/var/run/docker.sock
networks:
  - web
deploy:
  mode: replicated
  replicas: 1
  placement:
    constraints: [node.role == manager]

networks:
web:
external: true
intern:
external: true
If applicable, please paste the log output in DEBUG level
No response

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Fix cmake crowd mfg 2d and small nits

I found that mfg_crowd_modelling_2d is not in the CMake file. Therefore open_spiel/python/mfg/games/crowd_modelling_example.py cannot be run.
This PR adds crowd mfg 2d to the CMake and fix two nits: some ; forgotten in the tests and no definition of ProcessStringParam in the header file (it is used in the test file).
Currently the setup.py install works. But the build in build_and_run_tests.sh fails and I do not know why. Hopefully somebody can help me.

Thank you a lot @RaphaelMarinier, I took your comments into account. The build now works, I have not caught your second comments when working on the code.
The test games_sim_test.py is failing due to
======================================================================
ERROR: test_game_sim_mfg_crowd_modelling_2d (__main__.GamesSimTest)
GamesSimTest.test_game_sim_mfg_crowd_modelling_2d
test_game_sim_mfg_crowd_modelling_2d(<GameType 'mfg_crowd_modelling_2d'>)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/theophile/miniconda3/envs/dev/lib/python3.7/site-packages/absl/testing/parameterized.py", line 316, in bound_param_test
    return test_method(self, *testcase_params)
  File "/Users/theophile/Documents/research/Markov model/open_spiel/open_spiel/python/tests/games_sim_test.py", line 201, in test_game_sim
    self.sim_game(game)
  File "/Users/theophile/Documents/research/Markov model/open_spiel/open_spiel/python/tests/games_sim_test.py", line 136, in sim_game
    check_pickle_serialization)
  File "/Users/theophile/Documents/research/Markov model/open_spiel/open_spiel/python/tests/games_sim_test.py", line 93, in serialize_deserialize
    ser_str = pyspiel.serialize_game_and_state(game, state)
pyspiel.SpielError: /Users/theophile/Documents/research/Markov model/open_spiel/open_spiel/spiel.cc:307 game_->GetType().dynamics != GameType::Dynamics::kMeanField
game_->GetType().dynamics = MeanField, GameType::Dynamics::kMeanField = MeanField

The 2d game is missing serialization logic (see comment there, and compare with the 1D crowd modelling which has the serialization logic).
@perolat is working on it.

The 2d game is missing serialization logic, which explains this failure (see comment there, and compare with the 1D crowd modelling which has the serialization logic).
@perolat is working on it.

Should I remove the PR, or should I remove the tests, or should we keep the PR with the failing tests?
It seems that removing the tests make the more sense so the PR can be checked in.

Indeed, I think the best is that you exclude the game from the tests for now (here, and in other places if needed), so that you can submit your PR, without making tests fails.

I have disabled the game sim test. I have disabled one failing test in crowd_modelling_2d_test. I have assigned re-enabling the tests to @perolat as you told me that he is working on it.

Hi guys, I have imported this, but I removed the custom disabling of tests, because it turned out there were even more places we had to add stuff and it was not clean. Instead, I just didn't register mfg_crowd_modelling_2d.
I think that's fine to do the custom disabling of tests while you're still working on it, but we should leave those on the user side and not check them into the repos. There are also better ways to bypass the tests if the game does not (yet) support serialization. I'll have a chat with Julien and Raphael to explain how to go about this so we can partially include it in the tests in a cleaner way.

Ok we added serialization to mfg 2d and enabled it in the tests fully, in this commit: https://github.com/deepmind/open_spiel/commit/bc55df5173bd49ddf4499df1d8a60e7df8e8b576


🐛 Bug Report: Tech radar timeline component formatting

📜 Description
The formatting for table headers in the radar timeline component in the tech-radar plugin is a little off currently, with no clear way to update it via props.

Some example styling could help fix this.
div[data-testid="radar-description"] div[role="dialog"] {
    max-width: 900px
}

div[data-testid="radar-description"] table thead th:nth-child(1) {
    min-width: 6em;
    max-width: 8em;
}

div[data-testid="radar-description"] table thead th:nth-child(2) {
    min-width: 10em;
    max-width: 12em;
}

div[data-testid="radar-description"] table thead th:nth-child(3) {
    min-width: 8em;
    max-width: 10em;
}

div[data-testid="radar-description"] table thead th:nth-child(4) {
    min-width: 8em;
}

👍 Expected behavior
The table headers should show text on a single line along with ring and date items for table rows.
👎 Actual Behavior with Screenshots

👟 Reproduction steps

Install the tech radar plugin
Add a tech radar item that has history
Click on the item to see it's history

📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Sure, would appreciate help fixing this. Could be done even with inline styles if needed. Also, do avoid selecting on testid for production code.

@freben update on pull request review?


feat: arbiter-core API upgrades

Idea
There are a few places in the arbiter-core end user API that could be tidied up and made easier. For instance:

[ ] Make a EnvironmentParameters::new() function that takes an impl Into<String>. Possibly use the builder pattern.
[ ] Look for anywhere where we consistently have to cast to another type prior to a call in portfolio_simulations.

Is your feature request related to a problem? Please describe.
Want to make the user API as easy as possible.

@kinrezC do you want to try to do some of this in #513 since it is a larger refactor anyway?

Leaving this to your discretion!

Make a EnvironmentParameters::new() function that takes an impl Into. Possibly use the builder pattern.

This is already done in #513


Generate Commit Message with Copilot - number of characters

Hello!
If possible, please add the ability to configure the number of characters generated using the “Generate Commit Message with Copilot” tool.
Currently, this tool generates very long sentences - a great option would be to add the ability to, for example, limit the length of the proposed commit to 50 characters - where the “50” value can be varied freely, e.g. per project.
In addition, it would also be super to, for example, add a prefix that would always be included before the content of the commit:
{prefix_regex}{generated_commit_msg_from_ai}.
Greetings!

Please see this comment that contains details about specifying custom instructions when generating a commit message.


Add missing import

This got through the on-PR tests because we're still not testing installations. :-/

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Style sheet could not be opened

Using the code from the tutorial to create default.html, a boilerplate page is created. However, the pages is not presented correctly in the browser. The hero and hero-text classes do not seem to be defined.
(http://mapworldlive.com:3000/new-page - a development system when app.js is running)
The developer tools in Firefox report that a style sheet could not be loaded:
/modules/apostrophe-assets/css/vendor/pikaday.less
In searching the software, I find the file is actually in:
./node_modules/apostrophe/lib/modules/apostrophe-assets/public/css/vendor/pikaday.less
Strangely, Chrome developer tools do not report this.

I'm getting a 404 on your link, and your homepage seems to be loading assets correctly in FF and Chrome.
Have you got this resolved @plane007 ?

You got a 404 because I have reset the site. In recreating the page (which is now available), I seem to have removed the error message. However, I note that I can no longer find the class.

Thanks for your attentiom

You should be able to work in your /lib/modules/apostrophe-assets/public/css/site.less file for front-end styles now.
When you confirm everything is working please close this issue, thanks for checking out Apostrophe @plane007 !


Integration with ASP.NET Core and Aurelia

One of the classic sample project with Aurelia and ASP.NET Core and Webpack comes from here
Microsoft.AspNetCore.SpaTemplates
You should install it with this command
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
and use it with this command dotnet new aurelia
this sample works with webpack perfectly but I uploaded it on my github and wrote fuse.js for that.
Aurelia-ASP.NETCore-WebPack
I borrowed the most settings from the awesome project aurelia-skeleton-fusebox
but I have some problems that you can see in below picture, can anyone help me for replacing webpack in this project and fix the problems?

when I use webpack commands it produced files like below

another problem is dotnet run command and integration with FuseBox. when we run dotnet run the project run on localhost:5000 but I have problem on it.
const {
    Sparky,
    FuseBox,
    EnvPlugin,
    RawPlugin,
    HTMLPlugin,
    JSONPlugin,
    UglifyJSPlugin,
    WebIndexPlugin
} = require('fuse-box');

let production = process.env.NODE_ENV === 'production';

let vendorModules = [
    'aurelia-loader-fusebox',
    'aurelia-bootstrapper',
    'aurelia-framework',
    'aurelia-event-aggregator',
    'aurelia-fetch-client',
    'aurelia-history-browser',
    'aurelia-logging-console',
    'aurelia-pal-browser',
    'aurelia-polyfills',
    'aurelia-route-recognizer',
    'aurelia-router',
    'aurelia-templating-binding',
    'aurelia-templating-resources',
    'aurelia-templating-router',
    'bootstrap',
    'jquery',
    'aurelia-animator-css',
    'whatwg-fetch',
    'bluebird'
];

Sparky.task('clean', () => Sparky.src('dist/*').clean('dist'));

Sparky.task('build', () => {
    const fuse = FuseBox.init({
        homeDir: 'ClientApp',
        output: 'wwwroot/dist/$name.js',
        debug: !production,
        log: !production,
        hash: production,
        cache: !production,
        target: 'browser',
        plugins: [
            EnvPlugin({ NODE_ENV: production ? 'production' : 'development' }),
            RawPlugin(['.css']),
            HTMLPlugin({ useDefault: true }),
            JSONPlugin(),
            production && UglifyJSPlugin()
        ]
    });

    const vendor = fuse.bundle('vendor')
        .shim({
            jquery: {
                source: "node_modules/jquery/dist/jquery.js",
                exports: "$"
            }
        })
        .instructions(`${vendorModules.join(' + ')}`);

    const app = fuse.bundle('app')
        .instructions(`!> boot.ts + [**/*.{js,html,css}]`);

    if (!production) {
        app.watch().hmr().sourceMaps(true);
    }

    if (!production) {
        fuse.dev({
            root: 'wwwroot/dist',
            port: 5000,
            hmr: true,
            httpServer: false
        });
    }
    return fuse.run();
});

Sparky.task('copy', () => {});

Sparky.task('default', ['clean', 'copy', 'build'], () => { });

@HamedFathi you are using your app at port 5000 which is the fuse dev server port, but in your config, you disabled that using httpServer:false so fuse has no way to resolve those files.
you either enable fuse httpServer ( which i think you don't want because you are already using asp.net server) or use the proxy option to rewrite those paths to your asp.net server

@devmondo Is it possible for you to change my fuse.js to correct one? I don't know how to fix it.

@HamedFathi Its in the documentation here. Please  have a read and try implementing.


Need help to understand Ensure assertions better for REST API testing

Hi @jan-molak ,
I am using the following assertion :
Question 1:
await actorInTheSpotlight().attemptsTo(Ensure.that(LastResponse.body(), not(contain('<summary>'))));

and also tried:
await actorInTheSpotlight().attemptsTo(Ensure.that(Transform.the(LastResponse.body(), body => body.value), not(contain('<summary>'))));

But getting the error like:
TypeError: actualValue.findIndex is not a function
      at DynamicallyGeneratedExpectation.predicate (C:\Dev Room\Projects\Demo\node_modules\@serenity-js\assertions\src\expectations\contain.ts:8:66)
      at C:\Dev Room\Projects\Demo\node_modules\@serenity-js\assertions\src\Expectation.ts:115:29

Question 2:
I am having a response body like:
{
   "@odata.context":"Err.Silder"
  Response",
   "@odata.type":"#Error.ValidationErrorResponse",
   "HttpStatus":400,
   "InternalMessage":"Validation Error Message",
   "Type":"Validation",
   "ValidationErrors":[
      {
         "Message":"Invalid request format.",
         "InternalMessage":null,
         "ErroredValue":null,
         "Description":"",
         "Reason":"Validation",
         "Severity":"Error"
      }
   ],
   "ObjectId":null
}

and my action is like:
 await actorInTheSpotlight().attemptsTo(Log.the(LastResponse.body()), Ensure.that(LastResponse.body(), property('Message', equals(message))));

I am getting error message like:

    ✗ adminensures that the body of the last response does have property 'Message' that does equal 'Invalid request format.' (4ms)

      Difference (+ expected, - actual):

      - undefined
      + 'Invalid request format.'

Currently, I am handing this very situation with Transform like:
await actorInTheSpotlight().attemptsTo(Ensure.that(Transform.the(LastResponse.body(), body => body.ValidationErrors[0].Message), equals(message)));

But we should have a deep equals logic.
Can we have some real-time examples to check how to efficiently make use of Ensure assertion mechanism?

Hey @abhinaba1080!
contain is used to check if a list contains an item, for example:
actorInTheSpotlight().attemptsTo(
    Ensure.that([1,2,3], contain(1)),
);

or with objects:
actorInTheSpotlight().attemptsTo(
    Ensure.that([{ name: 'Abhinaba' }, { name: 'Jan' } ], contain({ name: 'Abhinaba' })),
);

Now, LastResponse.body() returns the body of the last response, so if your server returned JSON, axios will turn it into a JSON object automatically.
So, given a HTTP API at http://localhost:8080/developers that returns:
[
  { "name": "Abhinaba", "id": "@abhinaba1080" },
  { "name": "Jan", "id": "@jan-molak" },
]

you could write a flow as follows:
actorInTheSpotlight().attemptsTo(
    Send.a(GetRequest.to('http://localhost:8080/developers')),
    Ensure.that(LastResponse.body(), contain({ "name": "Abhinaba", "id": "@abhinaba1080" })),
);

Does this answer your question?

Hey @jan-molak . Thanks for the clarification. But I was looking for some deep-equal/deep-contains mechanism.
If I get the response from API endpoint like:
[
  { "name": "Abhinaba", "id": "@abhinaba1080" },
  { "name": "Jan", "id": "@jan-molak" },
]

is there a way to just check this reponse contains text as "Jan" or not querying the LastResponse?

Well, the response is not a string of text, though, it's a JSON object so it's best to treat it as such.
While it's technically possible to map the object back to string and then use a string predicate with it, so:
Ensure.that(
    Transform.the(LastResponse.body(), body => JSON.stringify(body)),
    includes('Jan'),
)

I think that this is a really, really, really bad idea, since it would match things like Jan, January, Jannice and so on (did I mention we should not do it? 😄)
However, if the outcome that you're after is an assertion that verifies if the list contains at least one item that has a property of name equal to Jan, there's a better way to do it:
import { containAtLeastOneItemThat, property, equals } from '@serenity-js/assertions';

Ensure.that(
    LastResponse.body(),
    containAtLeastOneItemThat(property('name', equals('Jan')))
),

Does this solve the problem?

Thats It! Thanks.


Visual Studio Code extension

Berdasarkan #53
Extension link: https://marketplace.visualstudio.com/items?itemName=ngupuk.jaksel-language-support

nice, thank you.


Add optional mTLS for the log-cache-syslog-server

Description
Activates mutual TLS in the log-cache-syslog-server. All of the incoming syslog connections will be verified, if a syslog client CA certificate is configured. The goal is to give an option to the users to harden the communication between the Syslog Agents running on all BOSH VMs and the Log-Cache Syslog Server and secure it with mutual TLS.
Changes:

adjust BOSH job templates and add a field for syslog client CA
configure the log-cache-syslog-server to use mTLS in case a the syslog client CA is configured
add test for log-cache-syslog-server mTLS configuration
update README.md add paragraph about TLS and mTLS configuration for the log-cache-syslog-server

As I haven't found any specific details about configuring Log-Cache in the Logging and Metrics Architecture, I've added a paragraph about configuring TLS or mTLS in the README.md. I'm not sure if some other documentation should be updated.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Testing performed?

[X] Unit tests
[ ] Integration tests
[ ] Acceptance tests

Checklist:

[X] This PR is being made against the main branch, or relevant version branch
[X] I have made corresponding changes to the documentation
[X] I have added testing for my changes

@chombium is this also blocked on https://github.com/cloudfoundry/cloud_controller_ng/pull/2903?

@ctlong this PR is not blocked by the cloud controller PR.
This change gives CF operators possibility to activate mTLS in log-cache for internal drains, which at the moment are the aggregate drains created by the syslog agents. With this PR there is a new syslog_client_ca_cert bosh job param (SYSLOG_CLIENT_TRUSTED_CA_FILE log-cache envvar) with which the path to the CA used for client validation can be specified.
As the aggregate drains are defined in the deployment manifest, I thought that the CA for client verification should be specified in the manifest as well. I've checked the canonical CF deployment and saw that the loggregator_tls_agent certificate is for GRPC connections with mTLS between all Loggregator components and I've reused this certificate. If you think that that's not the appropriate certificate we can discuss to create a new one which will be used exclusively to enable mTLS between the syslog-agent and the log-cache-syslog-server.


Fire (custom) events?

Would it be possible to fire (custom) events? I suppose not, and that only events from the UI are handled.
I ran into a situation where I wanted to call some async function in the (synchronous) init of a custom component. I thought a workaround would be to generate an "initialised" event that could be listened to with an async handler.
PS I realise that questions like these are not real issues. Have you considered creating a forum perhaps?

What JustPy currently has is the run_event method which you can use to implement custom events for components. But I am not sure this is what you are thinking about.
If triggering an event is checking if it is defined and then calling run_event, then I can add that. Currently it is a two step process. You need to use the has_event_function method and then the run_event method like in the snippet below:
            if calc.has_event_function('change'):
                calc_msg = msg
                calc_msg.event_type = 'change'
                calc_msg.id = calc.id
                calc_msg.button_text = self.text
                calc_msg.value = calc.value
                calc_msg.class_name = calc.__class__.__name__
                return await calc.run_event_function('change', calc_msg)

Please let me know your thoughts so I can make this more intuitive.
Soon Github will have a feature called "Discussions" and we will be able to use that, it is currently in beta. In the meantime it is fine opening an issue with any question you may have.
If you don't need to await the result of the async function in init you could use jp.run_task(task) which is just:
def run_task(task):
    """
    Helper function to facilitate running a task in the async loop
    """
    loop = asyncio.get_event_loop()
    loop.create_task(task)

Here is a more general discussion about this issue: https://stackoverflow.com/questions/33128325/how-to-set-class-attribute-with-await-in-init/33134213
I also found this package which may be of interest: https://github.com/kchmck/pyasyncinit

This is interesting since it demonstrates on how to create a custom event. It would be useful to document the process in addition to the example. The docs should ideally show how to prepare the msg (because in the example the msg is 'borrowed' from the default click handler).
Thx for the pointers with respect to the async init.

msg can be any dictionary like data structure, either plain Python dictionary or Dict (dictionary where you can access keys using dot notation). I will update the docs to make this clear.

Still trying, almost there (I think)
Since I was unsuccessful with the event triggering I decided to try the run_task approach.
This almost works: the model is populated with the data (in the post_init function); I have verified this in the debugger.
However the change to the model is not visible on the page.
When I press the button, even though the click handler does nothing, the change becomes visible.
So it seems I'm doing something wrong with the model or component updating.
NB Note the BasePage is derived from jp.QPage, NOT QuasarPage. IOW it is meant to be used in a QLayout.
class BasePage(jp.QPage):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.padding = True

class MoviesPage(BasePage):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)

        self.data = {'movies': []}

        async def on_click(comp, msg):
            print('IN CLICK')

        btn = jp.QButton(a=self, text='update', click=on_click)
        p = jp.P(model=[self, 'movies'], a=self)

        async def post_init():
            print('POST_INIT')
            self.data['movies'] = await get_all_movies()
            await self.update()

        jp.run_task(post_init())

What I think is happening is that the page is being sent to the browser before the post_init() task ends as it is not being awaited (it runs in parallel instead).  You can test if this is true by putting the request handler to sleep for a second. Add await asyncio.sleep(1) before the return wp
A better option is to do the await not in the __init__ but in the request handler. So if your page is wp you would add the line await wp.post_init() before return wp
You don't need the await self.update() line. It won't work  because the websocket connection has not been established yet at this stage.
Don't forget to make the request handler an async function.
Let me know if this is clear.

Add await asyncio.sleep(1) before the return wp

Yes, that circumvented the problem.
Using the request handler is not an option in my case. Since I am using the QLayout page to swap QPages in and out. So the request handler is only called once per browser window (right?).
I want to have custom QPage derived components that are swapped on demand. Hence my need to do something, like load data from a database, in the init. With synchronous code that is no problem, just call it.
However async code cannot be called in the init. Some on_load event or post_init overridable method would be very useful.
I also tried the class method approach as suggested in one of the links you provided:
    @classmethod
    async def create(cls, **kwargs):
        obj = cls(**kwargs)
        await obj.load_data()
        await obj.update()

    async def load_data(self):
        self.data['movies'] = await get_all_movies()
        print(self.data

and then instantiating the page with:
fp = jp.run_task(MoviesPage.create(a=self.container))

but I ran into the same refresh problem: the page needs at least one interaction (like clicking any button) to properly update.

Unrelated, am I correct to assume that a QPage is created in some event handler?
Try changing:
fp = jp.run_task(MoviesPage.create(a=self.container))
to
fp = await MoviesPage.create(a=self.container)
and add return obj to the end of create

No, the QuasarPage instantiates a QLayout which contains a QLayoutContainer. This happens in the QuasarPage's init. The content is displayed with QPage derived classes. These QPages are swapped in and out of the QLayoutContainer on demand (eg when the user clicks on a menu). For the initial view however I want the QuasarPage's init to instantiate the first QPage.
So all in all I have just 1 route/webpage.
All this works fine if you call synchronous code in the init. My first QPage derived component wants to load data from a database to display on the page. As soon as I want to call async database access code I get the described problems (which as you pointed out is probably related to the separate threads).
I think this is a good use case in favour of JustPy component life cycle hooks/events. I've always found  Vue.js lifecycle events very useful to plug in custom behaviour (the red boxes on https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram).
PS if you prefer another way of discussing all this I'm all for it.

Would be happy to discuss more directly. This is an interesting use case.
Please contact me at<EMAIL_ADDRESS>


change list structure

I made a few more changes to the readme. If anyone has time could they look through this PR?


Add check for duplicate HA routers

There are sometimes race conditions with VRRP and keepalived with DVR and HA router implementations.
To handle this, we should alert on routers on HA enabled router sites which are running on more or less than 1 active node and configured on less than or more than min/max ha routers.
Here is a handy gist to check for HA routers that have dupe avail:
https://gist.githubusercontent.com/dosaboy/afc40bf31b784a4dd552f7f5569dc7ee/raw/ad52b67b158d771b3f965141fca10143e7b89d56/check_router_l3agent_ha_status.sh
This can be massaged into an NRPE check with some amount of ease.

(by mihaela)
Hi,
We have been using this check in out installs and have noticed that it checks for duplicates but not for the 0 condition. It would be a good idea to make sure it check that the routers have at least one agent hosting it. We've run into an issue with one router not having any l3 agents hosting it and no alerts whatsoever for the case.
Thank you,
Kind Regards


lint fixing.

run bin/fmt.sh and check in all changes.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers: geeknoid, nmittler
If they are not already assigned, you can assign the PR to them by writing /assign @geeknoid @nmittler in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS
istioctl/OWNERS
mixer/OWNERS
pilot/OWNERS
pkg/OWNERS
security/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@incfly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-mixer-no_auth-mcp.sh
e43a86fe444579f7fb8c7f64382feb99d5efeb61
link
/test e2e-mixer-no_auth-mcp

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The galley codes have already passed lint testing , so not sure what error you want to address for this PR.

AFAIK, there is a problem with the linter @hklai
The lint job is made optional now. It is probably worth syncing with test&release folks to ensure that any fix to this problem is coordinated.

@ozevren @irisdingbj Got it. (I run into this for my own PR where lint failed on unchanged files...) Thanks. Sorry about the spamming. I'll sync with testing team.

It is apparently due to https://github.com/golang/go/issues/28200.
One thing we can possibly do is to build our own goimport/linter using a
known good version in our own circle base image. It should remove the
changing external dependencies.
On Tue, Oct 16, 2018 at 9:31 AM Jianfei Hu<EMAIL_ADDRESS>wrote:

Closed #9345 https://github.com/istio/istio/pull/9345.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/9345#event-1907329340, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AeRtkHrcKsEK80FUHUB827p09VP9rFrtks5ulgnfgaJpZM4XdYtg
.

@hklai https://github.com/istio/istio/issues/7395


No error after configuring a nonexistent emmet.extensionsPath

Testing #117277

Set "emmet.extensionsPath": ["./no-such-dir"]
In an html file, try triggering emmet

Bug
According to #117277, I should see an error notification. However I don't see any error or notifications

I also don't see error for an invalid snippets.json (if it isn't valid json for example)

Also get no errors in Linux.

+1 WSL

The reason seems like to be on the _emmetHelper which has not be loaded when the extension first activate.
https://github.com/microsoft/vscode/blob/main/extensions/emmet/src/util.ts#L39

And the err should be an error object instead of a string.
https://github.com/microsoft/vscode/blob/main/extensions/emmet/src/util.ts#L50

\closedWith c30e2d46b2af085848b5749e8f67a54f60f5ef29

I'll reopen the issue because I think the error handling changed afterwards, and I'd like to look into the implementation again during a later iteration.


⚠ Jenkins Plugins Artifactory has degraded performance

In b7c2f58, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1245 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4aec797 after 58 minutes.


Add ESP32-* OpenOCD / GDB Zephyr Thread Awareness

Reporting this on ESP32-S3 since that was what I had tested, but this likely applies to all ESP32-* Xtensa and RISC-V cores.
OpenOCD v0.12.0 added Zephyr OS awareness and also supports the ESP32-S3 chip directly.  However, setting CONFIG_DEBUG_THREAD_INFO=y results in a debug error:
Open On-Chip Debugger 0.12.0+dev-01324-gfb52ba4fa (2023-09-19-00:01)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
force hard breakpoints
can't read "_TARGETNAME": no such variable

Adding set _TARGETNAME esp32s3.cpu1 to the openocd.cfg file to bypass probing shows the OpenOCD error
Info : Zephyr: looking for target: esp32s3
Error: Could not find target in Zephyr compatibility list

Looking at the v0.12 OpenOCD code, the Zephyr RTOS support shows that only arm and arcv2 architectures are supported.
static struct zephyr_params zephyr_params_list[] = {
	{
		.target_name = "cortex_m",
		.pointer_width = 4,
		.callee_saved_stacking = &arm_callee_saved_stacking,
		.cpu_saved_nofp_stacking = &arm_cpu_saved_nofp_stacking,
		.cpu_saved_fp_stacking = &arm_cpu_saved_fp_stacking,
		.get_cpu_state = &zephyr_get_arm_state,
	},
	{
		.target_name = "cortex_r4",
		.pointer_width = 4,
		.callee_saved_stacking = &arm_callee_saved_stacking,
		.cpu_saved_nofp_stacking = &arm_cpu_saved_nofp_stacking,
		.cpu_saved_fp_stacking = &arm_cpu_saved_fp_stacking,
		.get_cpu_state = &zephyr_get_arm_state,
	},
	{
		.target_name = "hla_target",
		.pointer_width = 4,
		.callee_saved_stacking = &arm_callee_saved_stacking,
		.cpu_saved_nofp_stacking = &arm_cpu_saved_nofp_stacking,
		.cpu_saved_fp_stacking = &arm_cpu_saved_fp_stacking,
		.get_cpu_state = &zephyr_get_arm_state,

	},
	{
		.target_name = "arcv2",
		.pointer_width = 4,
		.callee_saved_stacking = &arc_callee_saved_stacking,
		.cpu_saved_nofp_stacking = &arc_cpu_saved_stacking,
		.get_cpu_state = &zephyr_get_arc_state,
	},
	{
		.target_name = NULL
	}
};

See the following links for the code

Official OpenOCD - https://github.com/openocd-org/openocd/blob/master/src/rtos/zephyr.c#L335
EspressIf Branch of OpenOCD - https://github.com/espressif/openocd-esp32/blob/master/src/rtos/zephyr.c#L334

Describe the solution you'd like
Add Zephyr RTOS thread awareness to OpenOCD / GDB to enable multi-threaded debugging when running west debug for ESP32-S3 targets (this would likely work for ESP32 and ESP32-S2 targets as well).
Describe alternatives you've considered
No known alternatives to this for Zephyr RTOS other than using the tracing and logging frameworks for debugging.

Just to have it registered here, we currently are not working on Zephyr OpenOCD and will do that after v0.12 is integrated (I can't promise when, though). For now, users need to move up to latest OpenOCD or use Espressif's.
For now, this tutorial (original - google translator)  may be of help.

If anyone familiar with what this work entails could comment, it would be appreciated.
Since OpenOCD v0.12 already supports Zephyr and ESP32-*, it looks like the work may be limited to just implementing the following functions:
https://github.com/openocd-org/openocd/blob/master/src/rtos/zephyr.c#L789-L797
const struct rtos_type zephyr_rtos = {
        .name = "Zephyr",

        .detect_rtos = zephyr_detect_rtos,
        .create = zephyr_create,
        .update_threads = zephyr_update_threads,
        .get_thread_reg_list = zephyr_get_thread_reg_list,
        .get_symbol_list_to_lookup = zephyr_get_symbol_list_to_lookup,
};

@erhankur Thank you for your reply.  Single core is a good first step as SMP is not supported yet and AMP support was only recently added (at least for the ESP32-S3 target).  I will follow your progress on the RISC-V thread awareness in case I get time to work on the Xtensa side.

@EricNRS Initial work is here.
https://github.com/erhankur/openocd-esp32/tree/zephyr_riscv_thread_awareness

@EricNRS I added esp32 support. Please check it out from the above repo. esp32s3 will be coming soon.
I had to make a change in the thread_info.c. I don't know if it is the correct way to get a stack pointer, though.
#elif defined(CONFIG_XTENSA)
	/* Xtensa does not store stack pointers inside thread objects.
	 * The registers are saved in thread stack where there is
	 * no fixed location for this to work. So mark this as
	 * unimplemented to avoid the #warning below.
	 */
	[THREAD_INFO_OFFSET_T_STACK_PTR] = offsetof(struct k_thread,
						switch_handle),
#else

Awesome!  Thank you for your work on this.  On a tight schedule this week, but will give it a try when I have a chance.

This is the example command to run OpenOCD with a single core config.
$openocd -c 'set ESP_FLASH_SIZE 0; set ESP_RTOS Zephyr; set ESP32_ONLYCPU 1' -s tcl -f board/esp32-ethernet-kit-3.3v.cfg
``

In my case, add the command "set ESP_FLASH_SIZE 0" in first line of my board openOCD config file "openocd.cfg", and Work!!

@erhankur - did you have a chance to add ESP32-S3 support, yet?

I have updated here
However, I see from my initial tests that stacking does not work well. I believe adding below is not correct.
#elif defined(CONFIG_XTENSA)
	[THREAD_INFO_OFFSET_T_STACK_PTR] = offsetof(struct k_thread,
						switch_handle),
#else

Now I switched to another task and will come back later. But if you have time to add a solid way to get the stack_ptr from the Zephyr part, it would be perfect.  More or less, OpenOCD implementation will be the same.  We will adjust zephyr_get_xtensa_state function according to zephyr symbols and window settings. And maybe the stack_register_offset tables. Same for ESP32 btw.

One more issue I have seen, the debug symbol address in OpenOCD looks different from the actual application. I couldn't investigate it deeply.

@erhankur - thanks for the update.  I gave it a try and ran into some Zephyr issues and had to do the following changes to get OpenOCD and GDB to load correctly, but I'm still missing thread info.
PROJECT/prj.conf
CONFIG_DEBUG_THREAD_INFO=y
boards/xtensa/BOARD/support/openocd.cfg
set ESP_RTOS Zephyr
set ESP_FLASH_SIZE 0
set ESP32_S3_ONLYCPU 1

boards/xtensa/BOARD/board.cmake (to fix can't read "_TARGETNAME": no such variable), see https://github.com/zephyrproject-rtos/zephyr/issues/45778 for details:
board_runner_args(openocd --target-handle=_CHIPNAME.cpu0)
scripts/west_commands/runners/openocd.py
--- a/scripts/west_commands/runners/openocd.py
+++ b/scripts/west_commands/runners/openocd.py
@@ -199,6 +199,11 @@ class OpenOcdBinaryRunner(ZephyrBinaryRunner):
         # Zephyr rtos was introduced after 0.11.0
         version_str = self.read_version().split(' ')[3]
         version = version_str.split('.')
+
+        # Parsing fails for "v0.12.0-esp32-20230921-87-ge45cd609" because of the 'v' prefix
+        print("Version: ", version)
+        if len(version[0]) > 1 and version[0][0] == 'v':
+            version[0] = version[0][1:]
         (major, minor, rev) = [self.to_num(i) for i in version]
         return (major, minor, rev) > (0, 11, 0)

Snippet from running GDB (west debug) shows that no symbols were found:
Info : accepting 'gdb' connection on tcp/3333
Info : [esp32s3.cpu0] Target halted, PC=0x40000400, debug_reason=00000000
Info : [esp32s3.cpu0] Reset cause (3) - (Software core reset)
Warn : No symbols for Zephyr

This is from the OpenOCD code in src/rtos/zephyr.c shown below.  Not sure why it isn't finding the symbols.
static int zephyr_update_threads(struct rtos *rtos)
{
	struct zephyr_params *param;
	int retval;

	if (!rtos->rtos_specific_params)
		return ERROR_FAIL;

	param = (struct zephyr_params *)rtos->rtos_specific_params;

	if (!rtos->symbols) {
		LOG_WARNING("No symbols for Zephyr");
		return ERROR_FAIL;
	}

@erhankur I have been using GDB extensively for the past week and the ability to finally step through the code without jumping between threads has been extremely useful.  Thank you!  Hopefully you will get a chance to finish the changes and get them merged.
Are there any plans to support TRAX for Zephyr?  I do often see cases where the system stops in arch_system_halt() or in _DoubleExceptionVector and there is no backtrace available.  Being able to enable TRAX for instruction tracing and then dumping the results would be a tremendous help.
For example, simply executing the code __ASSERT_NO_MSG(false); results in the following backtrace:
(gdb) bt
#0  arch_system_halt (reason=4) at /work/zephyrproject/zephyr/kernel/fatal.c:32
#1  0x4037c9ac in k_sys_fatal_error_handler (reason=4, esf=0x3fcad998 <shell_uart_stack+6584>)
    at /work/zephyrproject/zephyr/kernel/fatal.c:46
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

In the case of an __ASSERT(), I can dump the stacks of the threads and analyse them to determine the stack trace root cause, but that is a slow process and not always successful.  In other more severe cases of a _DoubleExceptionVector the final details of the failure are often not recoverable and it is impossible to root-cause the issue.  TRAX instruction handling could take care of both cases.

Are there any plans to support TRAX for Zephyr? I do often see cases where the system stops in arch_system_halt() or in _DoubleExceptionVector and there is no backtrace available. Being able to enable TRAX for instruction tracing and then dumping the results would be a tremendous help.

TRAX is support by OpenOCD via xtensa tracestart|tracestop|tracedump commands.
In IDF can enable it via menuconfig. In Zephyr I suppose you have to add some code to enable it like it is done in IDF https://github.com/espressif/esp-idf/blob/b3f7e2c8a4d354df8ef8558ea7caddc07283a57b/components/esp_system/port/cpu_start.c#L668-L675

GDB does not support TRAX traces, so you have to parse it manualy or use script from IDF https://github.com/espressif/esp-idf/blob/b3f7e2c8a4d354df8ef8558ea7caddc07283a57b/components/xtensa/trax/traceparse.py. It can be used in GDB to dump execition path basing on collected data.

@gerekon Thanks Alexey for the trace script -- I hadn't run across that before.  The IDF calls will need to get linked into Zephyr which is sometimes easy and sometimes a nightmare.  Might be easier once the IDF 5.1 port is done, though.

Hi Erhan (@erhanku) - have you done any more work on this recently?  The changes work reasonably well and are infinitely better than no support, so it would be good to get them merged.


Spelling typos fixes

thank you!

@martin-steinegger You are welcome; they were found by the automated Debian package quality tests


[BUG] ONNX GPU runtime can't work on CPU aarch64 server

What is the bug?
Tried ONNX model on aarch64 CPU server, it will throw such error.
Don't see this issue on x86 CPU server. I guess that's because some ONNX runtime native library not ready on aarch64 CPU server.
no onnxruntime in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib

How can one reproduce the bug?
Steps to reproduce the behavior:

Download OS tarball and install it on aarch64 CPU server
Upload a model
Load model, then check the task, can see it failed

What is the expected behavior?
Change this line implementation "com.microsoft.onnxruntime:onnxruntime_gpu:1.13.1" to implementation "com.microsoft.onnxruntime:onnxruntime:1.13.1", Build a new plugin zip and reinstall , then can see ONNX model loaded successfully.
Do you have any additional context?
Add any other context about the problem.

This problem is fixed on AOS through disabling GPU runtime on AOS.


How to convert FemToZip dictionary to Rhea dictionary

Is it possible use FemToZip-dictionaries in Rhea.Compression?
FemToZip header: 0x08000000 FemtoZip 0x00000000 0x00000100
Rhea header: 7bit_integer(1337) 7bit_integer(1) 7bit_integer(dictionary_len)
For standard FemtoZip 65536 length dictionary I try change original header to:
7bit_integer(1337) 7bit_integer(1) 7bit_integer(65536)
In HEX: 0xB90A01808004
but failed on Huffman-Tree loading

Very likely that this isn't going to work. This library was meant to learn how compression work and had a very specific goal in mind for doing so, it isn't a general / zip compression library.


More dialyzer fixes

LGTM if this still works after a rebase. It's quite a bit behind.

There's also a code change in here, which I suspect could / should have led to a bug. Any more detailed info there that we can provide in the commit message?

FYI, this is a couple commits behind again, but the code changed was just in the jenkins build script.

:+1: - 3 commits behind again


Fix vacatePos & Fix autoRun()

Bugfixes
Description:
There was a logic error in the AnyZerg move() method, causing the issue in Movement.vacatePos().
The method vacatePos() sets creep.blockMovement to true, but is meant to override it with force: true. The check in AnyZerg said "!this.blockMovement && !force" Therefore this method was not working, and the creep not moving. Swapped it to "!this.blockMovement || force".
Also fixed an issue where Zergs of a role would stop working if one of their kind was spawning, there was a return instead of an continue, aborting any Zerg actions after it.
Fixed:

Movement.vacatePos() (to clear spawn area) (fixes #50)
Zergs of a role would stop working if one of their kind was spawning

Testing checklist:

[X] Changes are backward-compatible OR version migration code is included
[ ] Codebase compiles with current tsconfig configuration
[X] Tested changes on PUBLIC server OR changes are trivial (e.g. typos)

according to export interface MoveOptions {
force?: boolean;							// whether to ignore Zerg.blockMovement
so it is used to override blockMovement
i.e if blockMomement is true, and you want to ignore it, then use force = true.
this is used correctly in goTo:
static goTo(creep: AnyZerg, destination: HasPos | RoomPosition, opts: MoveOptions = {}): number {
if (creep.blockMovement && !opts.force) {
return ERR_BUSY;
}
here, the default force is false, meaning, just accept blockMomement,
but if blockMomevement is true and we want to ignore it, and move on, then we have to set force to true.
to use the same logic for .move(), then it should be
move(direction: DirectionConstant, force = false) {
if (creep.blockMovement && !force) {
return ERR_BUSY;
}
what do u think?

I mean, that's just another way of doing the same thing. We can check for the error first, of course.
Because:
if (!creep.blockMovement || force) {
    // do it
} else {
    return ERR_BUSY
}

is the same as:
if (creep.blockMovement && !opts.force) {
    return ERR_BUSY
}
// do it


No such file or directory - curl

Please always follow these steps:

[x] Confirmed this is a problem with Homebrew/brew and not one or more formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/new
[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[x] Ran brew config and brew doctor and included their output with your issue?
[x] Confirmed this is a problem with Linuxbrew/brew and not specific formulae? If it's a formulae-specific problem please file this issue at https://github.com/Linuxbrew/homebrew-core/issues/new

To help us debug your issue please explain:

What you were trying to do (and why)
install folly
What happened (include command output)

[basil302-(~)] brew install folly
==> Installing dependencies for folly: m4, autoconf, automake, libtool, pkg-config, bzip2, openssl, curl, ncurses, cmake, double-conversion, gflags, glog, boost, libevent, xz, snappy, lz4
==> Installing folly dependency: m4
==> Downloading https://linuxbrew.bintray.com/bottles/m4-1.4.18.x86_64_linux.bottle.tar.gz
######################################################################## 100.0%
==> Pouring m4-1.4.18.x86_64_linux.bottle.tar.gz
🍺  /mnt/berry/home/yiran/.linuxbrew/Cellar/m4/1.4.18: 13 files, 1.1MB
==> Installing folly dependency: autoconf
==> Downloading https://linuxbrew.bintray.com/bottles/autoconf-2.69.x86_64_linux.bottle.4.
######################################################################## 100.0%
==> Pouring autoconf-2.69.x86_64_linux.bottle.4.tar.gz
==> Caveats

Emacs Lisp files have been installed to:
  /mnt/berry/home/yiran/.linuxbrew/share/emacs/site-lisp/autoconf
==> Summary
🍺  /mnt/berry/home/yiran/.linuxbrew/Cellar/autoconf/2.69: 70 files, 3.0MB
==> Installing folly dependency: automake
==> Downloading https://linuxbrew.bintray.com/bottles/automake-1.15.x86_64_linux.bottle.2.
######################################################################## 100.0%
==> Pouring automake-1.15.x86_64_linux.bottle.2.tar.gz
🍺  /mnt/berry/home/yiran/.linuxbrew/Cellar/automake/1.15: 130 files, 2.9MB
==> Installing folly dependency: libtool
==> Downloading https://linuxbrew.bintray.com/bottles/libtool-2.4.6_2.x86_64_linux.bottle.
######################################################################## 100.0%
==> Pouring libtool-2.4.6_2.x86_64_linux.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.

==> Summary
🍺  /mnt/berry/home/yiran/.linuxbrew/Cellar/libtool/2.4.6_2: 73 files, 3.7MB
==> Installing folly dependency: pkg-config
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
Error: No such file or directory - curl

and then I tried to install curl but I got the same result
[basil302-(~)] brew install curl
==> Installing dependencies for curl: openssl, pkg-config
==> Installing curl dependency: openssl
==> Downloading https://www.openssl.org/source/openssl-1.0.2k.tar.gz
Error: No such file or directory - curl

What you expected to happen
no such error

Step-by-step reproduction instructions (by running brew commands)

brew update
brew install folly

Please note we may immediately close your issue without comment if you do not fill out the issue template and provide ALL the requested information.
Or propose a feature:
Please replace this section with a detailed description of your proposed feature, the motivation for it and alternatives considered.
Please note we may close this issue or ask you to create a pull-request if it's something we're not actively planning to work on.

How strange that it was happily downloading before it got to pkg-config and then suddenly failed. Please report
which -a curl
curl --version
brew fetch pkg-config
brew install pkg-config
brew gist-logs pkg-config

What funny is that I found if I repeat that install command, it will successfully be done.
[basil302-(~)] brew install nvm
==> Downloading https://github.com/creationix/nvm/archive/v0.33.2.tar.gz
######################################################################## 100.0%
Error: No such file or directory - curl
[basil302-(~)] brew install nvm
==> Downloading https://github.com/creationix/nvm/archive/v0.33.2.tar.gz
Already downloaded: /home/yiran/.linuxbrew/cache/nvm-0.33.2.tar.gz
==> Caveats
Please note that upstream has asked us to make explicit managing
nvm via Homebrew is unsupported by them and you should check any
problems against the standard nvm install method prior to reporting.

You should create NVM's working directory if it doesn't exist:

  mkdir ~/.nvm

Add the following to ~/.zshrc or your desired shell
configuration file:

  export NVM_DIR="$HOME/.nvm"
  . "/mnt/berry/home/yiran/.linuxbrew/opt/nvm/nvm.sh"

You can set $NVM_DIR to any location, but leaving it unchanged from
/mnt/berry/home/yiran/.linuxbrew/opt/nvm will destroy any nvm-installed Node installations
upon upgrade/reinstall.

Type `nvm help` for further information.

Bash completion has been installed to:
  /mnt/berry/home/yiran/.linuxbrew/etc/bash_completion.d

==> Summary
🍺  /mnt/berry/home/yiran/.linuxbrew/Cellar/nvm/0.33.2: 7 files, 125KB, built in 1 second

I used these method installed curl, and here is the report you asked.

What funny is that I found if I repeat that install command, it will successfully be done.

I really have no idea what's going on here. Sorry. ¯_(ツ)_/¯

I encountered this issue or a very similar one. curl turned out to be looking for certificates installed by the openssl formula but they didn't exist. I ended up having to set an environment variable (I can't remember off the top of my head) to point to the system certificate locations.

You can download the certificates for the openssl formula using…
brew postinstall openssl

That was failing for me. Whatever state brew was in was remedied by uninstalling OpenSSL and curl, then reinstalling with the environment variable set. I no longer have it set

These instructions may help: https://github.com/Linuxbrew/brew/wiki/FAQ#why-does-curl-fail

I wonder if https://github.com/Homebrew/brew/pull/2683 will be able to fix issues like this in the future.

Providing an http mirror for both openssl and curl may actually resolve the issue.


存在多个@Active扩展点，同时存在扩展点的wapper实现，多个@Active扩展点排序时，由于没有在wapper上指定@Active注解存在NPE

Environment
Dubbo version: 2.7.9
Operating System version: windows
Java version: jdk. 1.8

see https://github.com/apache/dubbo/issues/7176
&READY-TO-CLOSE&

This issue is the same with #7176 and is planing to fix in the next release.
Please feel free to reopen if you have any question.


Allow passwordless authentification

First, thank you for developing this tool !
If the user disables authentication in the OBS WebSocket settings, no password is required to connect to the websocket.
However, currently obs-do enforces a token file to exist in ~/.config.
Would you agree leaving the user the possibility to connect to the server without a password ?
Right now, the tool crashes if the token file is missing.
Maybe we could set the password to "" by default and try connecting with that.
We could then hint the user to create the token file if the connection fails.
I tried it and it works fine.
What do you think ?

Hi there! Sure, I'd be happy to take a PR that makes the token file optional, and uses passwordless if it is missing. It's probably worth emitting a special error in the case where authentication fails when the token file doesn't exist though.

Hi there! Sure, I'd be happy to take a PR that makes the token file optional, and uses passwordless if it is missing. It's probably worth emitting a special error in the case where authentication fails when the token file doesn't exist though.

Thanks !
I will try to give it a shot then :)


CLOUD-51940 fixed credential create command

@bbihari

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2034/


Cannot access new tab

With line-ending-selector enabled (0.0.5), I can open a new tab, but I cannot select it into the foreground.  ctrl + n should automatically put the new tab in the foreground, but it does not, nor can I manually select it into the foreground.

Seems to be working as of 0.1.0


Clean up constants in Coding

Constants in Coding (e.g. tag_pb) should be pulled into a module and typed etc. Low priority as currently fully working.

There are also some string literals for which variables exist.


"The extension manifest is invalid" when installing

Unable to install due to an error: "The extension manifest is invalid."

Visual Studio 2012 installed.

Thank you and sorry for this trouble. I'm looking into the issue!

@lightswitchr I haven't had the chance to try this out, but another person online said they successfully installed the extension in Visual Studio 2012. Can you let me know what version/edition/update of Visual Studio you have, and also describe the steps you took to try and install it? It may save us some time getting it fixed. Thanks so much! :smile:

Hi, I apologise for wasting your time. I mistakenly thought I had 2012 installed, I actually have 2010, which is a shame. Unfortunately I cannot upgrade due to company licensing.
Many thanks anyway, and again I apologise profusely.

@lightswitchr that's no problem. You'll find a 2010 compatible VSIX attached to one of the older releases on the release notes here on GitHub.


Build Test "failed", "bidirectional simple weights no bias" test from GRUTest takes too much time

Describe the bug
A clear and concise description of what the bug is.
I am building onnx runtime (master branch) in ubuntu 16.04 virtual machine. The build progress has finished, followed with test phases. However, the test phase stopped at GRUTest.BidirectionalDefaultActivationsSimpleWeightNoBiasTwoRows. I have waited for more than 4 hours in this step, so I think there is something wrong.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
ONNX Runtime installed from (source or binary): building
ONNX Runtime version: master branch
Python version: 3.7.1
GCC/Compiler version (if compiling from source):  gcc 5.4.0
CUDA/cuDNN version: -
GPU model and memory: -

To Reproduce
Describe steps/code to reproduce the behavior:
git clone
./build.sh --config RelWithDebInfo --build_wheel
or
./build.sh --build_wheel
Expected behavior
A clear and concise description of what you expected to happen.
Build and test successful
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@LexXia Have you resolved this issue or do you still need help troubleshooting?

Marking the issue as closed. Please reopen if you still require assistance.


Switch resizing library for the requestpanel

Requestor page (request panel) now uses the react-resizable-panel.

needs a conflict resolution with recent changes ((from #153 i think))
we'll probably merge late today or monday since we're going to cut releases off main soon

There was a minor conflict with the changes from https://github.com/fiberplane/fpx/pull/161.  But i've resolved them

pleasantly surprised that the layout didn't break too much hahaha.
on smaller screens for, e.g., POST requests, i often found that the out-of-the-box width would make it so the Body tab would overflow, and that would (i think) push the Erase icon for clearing params out of view as well:

also happened on larger screens quite often UNTIL i manually resized the panels. then the layout is persisted


feat(network): network POC with some of it's components

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

Current dependencies on/for this PR:

main

PR #1130

PR #1147   👈
PR #1131
PR #1123

This comment was auto-generated by Graphite.


5.0.6 data loss bug

The current release writes an empty string to the database instead of the encrypted value. I was able to verify this using the example project, after upgrading that project to EncryptColumn 5.0.6.
Looking at the repository history, it looks like the issue may have been resolved here back in August, but an updated NuGet package wasn't published afterward.

I did some testing with previous versions and 3.1 is also affected, it looks like the initial release is the only one that writes the encrypted value to the DB.

For me the only package that worked was v1. the other two (3 and 5) were saying blank data.

You need to compile the project from source. It works fine. The nuget-package doesn't work.


Add URL Management Dashboard

Description
User Dashboard for URL Management: A dedicated dashboard for users could enhance the user experience. This dashboard would:

Display all the URLs a particular user has generated.
Clearly show how many more URLs they're allowed to create under their limit.
(Potential feature) Provide some basic analytics on their URLs, such as the number of clicks

Screenshots
No response
Additional information
No response

That's a great idea!
I will assign you to this issue :)

Hello! Is this issue still up for development?
If yes I might be able to contribute :)

Hey, i found your project searching on the #contributions-welcome tag and i think i can implement this one, can you assign this one to me?

I'm on it, finishing it up, thank you
On Mon, Sep 18, 2023, 22:26 Menoti Filho @.***> wrote:

Hey, i found your project searching on the #contributions-welcome tag and
i think i can implement this one, can you assign this one to me?
—
Reply to this email directly, view it on GitHub
https://github.com/origranot/reduced.to/issues/438#issuecomment-1724239391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATE6I77GAJIROBZSM6ECC4LX3CN5BANCNFSM6AAAAAA3UE5LD4
.
You are receiving this because you were assigned.Message ID:
@.***>

my bad

@MenotiFilho There are many more features to implement!

Fixed in https://github.com/origranot/reduced.to/pull/581


Changes in Maven

Add all changes to generate release to maven central.
Coverage report.
Refactor some tests.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@dadb53d). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #7   +/-   ##
=========================================
  Coverage          ?   70.86%
=========================================
  Files             ?        6
  Lines             ?      127
  Branches          ?       32
=========================================
  Hits              ?       90
  Misses            ?       24
  Partials          ?       13

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 dadb53d...2c89644. Read the comment docs.


Don't Open Issues that have been opened

Don't Open Issues that have been opened

Don't close this

nvm it works


Update pekko-http, pekko-http-testkit to 0.0.0+4426-d1396520-SNAPSHOT

About this PR
📦 Updates

org.apache.pekko:pekko-http
org.apache.pekko:pekko-http-testkit

from 0.0.0+4411-6fe04045-SNAPSHOT to 0.0.0+4426-d1396520-SNAPSHOT
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.pekko" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.pekko" }
}]

labels: library-update, early-semver-build-metadata, semver-spec-build-metadata, version-scheme:semver-spec, commit-count:1

Superseded by #34.


Fix: Method invocations on methods of ObjectProphecy might have side effects

This PR

[x] modifies the return value of ObjectPropecyMethodReflection::hasSideEffects() as invoking methods on an instance of Prophecy\Prophecy\ObjectProphecy might have side effects

Fixes #112.
💁♂ Does that make sense, @func0der?

Totally fine for me. Thanks for the quick work :)

You are welcome, @func0der!


Create a route module when generating a module

#Routing_module
According to angular documentation, it's considered the best practice to add  routing module for each module, so my suggestion is, when generating a module, i think it makes sense to create a route module for it.
#update
Because it's not usually the case, may be another command like
ng g module routing x instead of ng g module x
Namaste

Have you tried the --routing flag when generating a module? This will generate you a some.module.ts and some-routing.module.ts file.
ng generate module SomeModule --routing (or ng g m SomeModule --routing, for short)

I didn't know about that command!
thanksss

@delasteve Can u update the readme with this feature for others?

https://github.com/angular/angular-cli/wiki/module
Additionally, @Brocco has a PR out there to move the docs to the repo https://github.com/angular/angular-cli/pull/3382

And if I need the html , scss annd the component of this ?

@waleedshkt If the module already exists, the CLI will throw errors.  Using the example @delasteve gave you'd just run ng generate component SomeModule.

ng g m moduleName --routing

Have you tried the --routing flag when generating a module? This will generate you a some.module.ts and some-routing.module.ts file.
ng generate module SomeModule --routing (or ng g m SomeModule --routing, for short)

Thanks. Did not know such command exist. This works perfect !

@josephdgb1996 module does not have html or scss.
module has components wich has the html and stylesheets like css, scss, etc...


Add SELECT FOR JSON AUTO support in Babelfish (#2243)

Description
This change adds SELECT FOR JSON AUTO support to Babelfish which nests JSON objects based on the structure of the Select statement.
Issues Resolved
BABEL-3668
Test Scenarios Covered

Use case based -

select U.Id AS "users.userid", O.productId AS "order.productId", O.Id AS "product.oid", P.price AS "product.price" FROM forjson_nesting_vu_t_users U JOIN forjson_nesting_vu_t_orders O ON (U.id = O.userid) JOIN forjson_nesting_vu_t_products P ON (P.id = O.productid) FOR JSON AUTO

[{"users.userid": 1, "o": [{"order.productId": 1, "product.oid": 2, "p": [{"product.price": "20"}, {"product.price": "20"}, {"product.price": "30"}, {"product.price": "30"}]}, {"order.productId": 1, "product.oid": 1, "p": [{"product.price": "20"}, {"product.price": "20"}, {"product.price": "30"}, {"product.price": "30"}]}]}]

Boundary conditions -

select U.Id AS "users.userid", O.productId AS "order.productId", O.Id AS "product.oid", P.price AS "product.price", S.totalSales AS "totalsales" FROM forjson_nesting_vu_t_users U JOIN forjson_nesting_vu_t_orders O ON (U.id = O.userid) JOIN forjson_nesting_vu_t_products P ON (P.id = O.productid) JOIN forjson_nesting_vu_t_sales S ON (P.price = S.price) FOR JSON AUTO

[{"users.userid": 1, "o": [{"order.productId": 1, "product.oid": 2, "p": [{"product.price": "20", "s": [{"totalsales": 50}, {"totalsales": 50}]}]}, {"order.productId": 1, "product.oid": 1, "p": [{"product.price": "30", "s": [{"totalsales": 100}, {"totalsales": 100}]}]}, {"order.productId": 1, "product.oid": 2, "p": [{"product.price": "30", "s": [{"totalsales": 100}, {"totalsales": 100}]}]}, {"order.productId": 1, "product.oid": 1, "p": [{"product.price": "20", "s": [{"totalsales": 50}, {"totalsales": 50}]}]}]}]

Arbitrary inputs -

INSERT INTO forjson_nesting_vu_t_sales VALUES (1, NULL, NULL), (2, NULL, NULL);
GO

select U.Id AS "users.userid", O.productId AS "order.productId", O.Id AS "product.oid", P.price AS "product.price", S.totalSales AS "totalsales" FROM forjson_nesting_vu_t_users U JOIN forjson_nesting_vu_t_orders O ON (U.id = O.userid) JOIN forjson_nesting_vu_t_products P ON (P.id = O.productid) JOIN forjson_nesting_vu_t_sales S ON (P.price = S.price) FOR JSON AUTO

[{"users.userid": 1, "o": [{"order.productId": 1, "product.oid": 2, "p": [{"product.price": "20", "s": [{"totalsales": 50}, {"totalsales": 50}]}]}, {"order.productId": 1, "product.oid": 1, "p": [{"product.price": "30", "s": [{"totalsales": 100}, {"totalsales": 100}]}]}, {"order.productId": 1, "product.oid": 2, "p": [{"product.price": "30", "s": [{"totalsales": 100}, {"totalsales": 100}]}]}, {"order.productId": 1, "product.oid": 1, "p": [{"product.price": "20", "s": [{"totalsales": 50}, {"totalsales": 50}]}]}]}]

Negative test cases -

1> select cast(null as datetime) for JSON AUTO
2> go
json
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[{}]

(1 rows affected)
1>

Minor version upgrade tests -
NA

Major version upgrade tests -
Added to upgrade scripts

Performance tests -
NA

Tooling impact -
NA

Client tests -
NA

Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 72.438%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
40113

Relevant Lines:
55376

💛  - Coveralls