enable-purge-protection for Keyvault not allowed to be set to false through az cli

Describe the bug
enable-purge-protection for Keyvault not allowed to be set to false when using az cli
"azure-cli": "2.59.0"
Related command
az keyvault create --name $kv --resource-group $rg --location "westeurope" --enable-purge-protection false

Errors
We will enable rbac authorization by default in the near future, please manually specify --enable-rbac-authorization if you want to overwrite the default value.
(BadRequest) The property "enablePurgeProtection" cannot be set to false. Enabling the purge protection for a vault is an irreversible action.
Code: BadRequest
Message: The property "enablePurgeProtection" cannot be set to false. Enabling the purge protection for a vault is an irreversible action.

Issue script & Debug output

Expected behavior
allowed to be set false
Environment Summary
{
"azure-cli": "2.59.0",
"azure-cli-core": "2.59.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"account": "0.2.5",
"aks-preview": "2.0.0b8"
}
}
Additional context
there seems to be an existing issue:
https://github.com/Azure/azure-rest-api-specs/issues/18106
The question in this bug is also to update the docs page to reflect the bug: documentation is incorrect atm

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

@roelof-adam Yes as you can see from the err msg, keyvault server side has restrict enabling purge protection, what you can change is the retention days

This means I can never create a KV through az cli without purge protection?

any update?

Hi @evelyn-ys, thank you for the reply, does this mean I can never create a KV through az cli without purge protection?

seems so. I'd defer this question to keyvault service PM @jlichwa

The entire flag should be skipped instead to have purge protection not enabled.

@yonzhan The issue the bot mentions is indeed similar, and has been open since April 2021, it should be an easy fix, any further actions should take place on that issue, closing this


uv pip install fails for dependencies on already-installed local packages

When a package depends on an editable-installed namespaced package, uv pip install fails saying that the already-installed package can't be found. Possibly related to string hygiene and converting ns1.package1 to ns1-package1?
Full cloneable repro case here: https://github.com/charlesnicholson/uv-pep420-bug/tree/main
(Runs at least on macOS and maybe Linux, let me know if it's insufficient and I'll fix it up)

Ah, sorry:
❯ ./uv --version
uv 0.1.3

Confirmed still happens on 0.1.4 (albeit with a much more soothing color scheme!):

So, I think cargo run pip install -e ns2.package2 -e ns1.package1 works, but installing the packages one-by-one does not. I need to think about what the right solution is here. When we go to install the second package (-e ns2.package2), we start by performing a resolution, to figure out the required dependencies. We don't consider the "current virtual environment" to be a valid package source, so we have no way of finding ns1-package1.

Ah, interesting, thanks for taking a look and sharing your thoughts!
For context, if it's useful, the reason we incrementally pip install -e our various packages in order is because they're part of a larger build system that understands the dependencies between our packages and other tools. Each package has an "editable install" target, and for our build system to satisfy our version of ns2.package2's dependencies, it needs to bring the "editable-install ns1.package1" target up-to-date first, which it does via a separate invocation of pip install -e.

I think it's probably correct for us to fix this. It just changes a lot of assumptions -- right now, we perform a resolution that's independent of the virtual environment.

Installing all the editable packages at once works for us.

Yeah, the problem is that the second install doesn't "know" where to find the existing editable. We need to make the resolver aware of packages that already exist in the virtual environment.

Would like to add that I am facing a similar scenario but getting a different error:
error: Package `one` attempted to resolve via URL: file:///home/vivek/personal/python-uv-test/modules/one. URL dependencies must be expressed as direct requirements or constraints. Consider adding `one @ file:///home/vivek/personal/python-uv-test/modules/one` to your dependencies or constraints file.
In this case, im trying to install package "one" into the directory of package "two". uv pip sync works, but running uv pip install -e . results in the above error. Running pip install -e . works.
Just thought to add my error in case this is a different issue. Happy to create a reproducible repo/issue if required.

Possibly related (if not, I can file a separate issue—or none at all if this is a misunderstanding on my part), when I pip compile a requirements.in or pip install a requirements.txt that has local, editable-installed modules (e.g, specified with -e path/to/module) they are all rebuilt and I assume cached, even if they haven't changed and don't need it. Is this avoidable?
For the record, this is a large monorepo with dozens of modules. The commands complete really fast and therefore it's not a huge problem, just wondering if there is a way (or possibly a different work flow) to prevent this.

@tylerw -- I think we try to avoid rebuilding with uv pip compile, but we always rebuild right now in uv pip install. Building editables is typically pretty cheap, but I'm looking into removing that step.

Hi! Charlie tricked me into taking on this hard task instead :)
It should be addressed in the latest release (0.1.27) via #2596.
Let us know if you have any problems.

So far it's great, thanks! (I'm integrating it as I type this :) )


[AMORO-2746] The artifactId of the sub modules of ams should use the same prefix

Why are the changes needed?

Close #2746 .
Brief change log

The artifactId of the sub modules of ams should use the same prefix

change amoro-optimizer to amoro-ams-optimizer
change amoro-metric-reporter to amoro-ams-metric-reporter

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks for your contribution.
I think the sub module also needs to be changed, the generated jar starts with amoro will be best, -ams can be omitted.
prometheus-reporter -> amoro-prometheus-reporter
optimizer-common ->  amoro-optimizer-common
flink-optimizer -> amoro-flink-optimizer
spark-optimizer -> amoro-spark-optimizer
standalone-optimizer -> amoro-standalone-optimizer

WDYT? @xleoken @zhoujinsong

hi @zhongqishang, it seems better that moving dist、optimizer module to under the root(amoro) folder

hi @zhongqishang, it seems better that moving dist、optimizer module to under the root(amoro) folder

optimizer is a part of ams, I think the current module structure is appropriate, refer to #2627 .
Of course, there is no problem with the current PR. We can discuss the optimizer/reporter jar name later.

hi @zhongqishang, it seems better that moving dist、optimizer module to under the root(amoro) folder

optimizer is a part of ams, I think the current module structure is appropriate, refer to #2627 .
Of course, there is no problem with the current PR. We can discuss the optimizer/reporter jar name later.

thanks


Create option to configure number of replicas from the dashboard

In the dashboard we show the amount of shards and replicas. We need a way to change the number of replicas.

Having some issues with minification, but the first version is almost done using a modal

This is working for a while now.


allow calling poll() with BLE event data

Hi again Sandeep!
First of all, thank you again for your enormous contribution to the BLE community. I use your projects on a daily basis, and find them very valuable.
This pull request lets the user of the library pass the BLE event data to poll(), instead of have poll() get it directly from the BLE stack.
My use case for this is - I have an app that acts as a BLE peripheral, while at the same time scans for BLE advertisements from nearby devices. That's the reason why I need to get the raw SoftDevice events.
This is a sketch of how my code uses the proposed feature:
  uint32_t   evtBuf[(sizeof(ble_evt_t) + (GATT_MTU_SIZE_DEFAULT))];
  uint16_t   evtLen = sizeof(evtBuf);

  if (sd_ble_evt_get((uint8_t*)evtBuf, &evtLen) == NRF_SUCCESS) {
    ble_evt_t* bleEvt = (ble_evt_t*)evtBuf;
    // here I check if this is an BLE advertisement packet and handle it
  } else {
    return;
  }

  BLECentral central = blePeripheral.central(evtBuf, evtLen);
  // do the usual stuff with the central object

So far, I have only implemented it for the NRF51 variant, as I wanted to get your feedback first, get your feedback about this approach, and see if it is heading the right direction. I would love to have some solution for my use case, and I am open for feedback on this PR before I continue working on this.
Thanks!

@urish not a bad idea, what you you think about the opposite?
Having a API in BLEPeripheral to set a callback to trigger when an event is received? This would be portable to both nRF8001 and nRF51/nRF51.
Longer term, I think a new library needs to be created for combined central and peripheral functionality. nRF8001 can be left out of the new library.
Arduino and Intel have the next generation API defined in the CurieBLE master: https://github.com/01org/corelibs-arduino101/tree/master/libraries/CurieBLE
We're still working together to refine a few things. Do you have time to start on the new library nRF51/nRF52 boards?

Actually, I have implemented the opposite just before going this direction, but I liked this approach more - if we introduce an API that is triggered whenever an event is received, it would need to pass the event data to the user - and then, it would either need to always save the latest event data in some memory location, or the user will need to make sure he is not using the event data outside the handler.
As for CurieBLE - I like the approach of having a library that combines central and peripheral (AFAIK the RBL implementation does exactly that), though, I prefer the MIT license that you have here over LGPL, at least when it comes to embedded devices.

@urish ok, how do you suggest we move forward?

If you are open to it, I can try to implement poll(void* , uint16_t) for the nRF8001 and update API.md accordingly. Though, I don't have an actual nRF8001 chip here, so I will only be able to verify that the code compiles and seems to do the right thing. Thoughts?

I still prefer the opposite, as there are a lot of internal calls in the library itself to poll(), for example:

https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/f591da1a841bf6b0a5c1eac4d1255ba6e71154e8/src/BLEPeripheral.cpp#L249
https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/master/src/BLECentral.cpp#L32
https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/5c20a1b76f5c60875706ee738a665d16cee3e160/src/iBeacon.cpp#L42
https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/5c20a1b76f5c60875706ee738a665d16cee3e160/src/BLEHIDPeripheral.cpp#L73
https://github.com/sandeepmistry/arduino-BLEPeripheral/blob/8c4b05415108635bd111d148d546a4407c30d7a8/src/EddystoneBeacon.cpp#L123

Adding a callback for the event data will also help with the discussion in https://github.com/sandeepmistry/arduino-BLEPeripheral/pull/115#issuecomment-272828387

Okay, I will try to do it the other way. Currently, I see that all events handlers get just the central as a parameters. We could store a copy of the last event received in the central object, and then the user's event handler implementation will pull it from there, though, I am not sure that it is the cleanest way to do it. Thoughts?

@urish good question.
Maybe an API like setRawEventHandler(callback)
where callback has a signature of
void callback(int eventId, const byte eventData[]) {
  // ...
}

A type of const void* could also be an option, this should work nicely for both nR8001 and nRF51822.
Thoughts?

Hi Sandeep, my focus has shifted to Espruino for this project. However, if you are still interested, I will try to create a PR for this feature with the callback approach.

@urish sure, I think the feature is still valuable.
Do you have a link to your Espruino work?

yes, here we go:
https://github.com/urish/Espruino/tree/ng-beacon-nrf52

FWIW, I've updated #155 with a couple of new handlers for BLEDeviceEvent* - maybe have a look there & comment, I think it's similar to what was proposed here earlier.

Closing due to inactivity.


Template parse errors: The pipe "translate" could not be found

Karma Jasmine unit testing causing Template parse errors: The pipe "translate" could not be found
Current behavior
I'm trying to unit test the simple ng2-translation application. Karma Jasmine unit test spec is not recognizing HTML tags, for example {{'PAGE.HELLO' | translate}}
I have written my piece of spec like this
beforeEach(() => {
    TestBed.configureTestingModule({
        declarations: [ SidenavComponent ], // declare the test component
        providers: [
            TranslateService,

           { provide: TranslateLoader, useFactory: (http: Http) => new TranslateStaticLoader(http, 'public/assets/i18n', '.json'), deps:[Http]},
]
});
});

I'm not sure that I'm providing the JSON files in proper format like above. How to resolve this pipe error?
Ocombe- Please provide sample unit tests for the examples you have provided in the git
Expected/desired behavior
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:btpW3l0jr5beJVjohy1Q).
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:

ng2-translate version: x.x.x

Angular version: 2.1.0-rc.X

Browser: [IE 11 ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Hi,
you just need to import the module into your testbed (like you would for any other module, like HttpModule or RouterModule):
beforeEach(() => {
    TestBed.configureTestingModule({
        imports: [TranslateModule.forRoot({
            provide: TranslateLoader,
            useFactory: (http: Http) => new TranslateStaticLoader(http, 'public/assets/i18n', '.json'),
            deps: [Http]
        })],
        declarations: [SidenavComponent] // declare the test component
    });
});

Thank you Ocombe for your quick response. I added those imports and pipe error got resolved. But I see that content of {{ 'PAGE.HELLO' | translate }} in the spec
de = fixture.debugElement.query(By.css('h1'));
el = de.nativeElement;
console.log(el.textContent);

is empty. i.e ' '. Can you please suggest me something?

If you use the TranslateStaticLoader then you must resolve the requests before the content can change: https://github.com/ocombe/ng2-translate/blob/master/tests/translate.service.spec.ts#L62
But unless you're trying to test that translations work, you should probably mock the TranslateLoader with a custom loader that doesn't use http requests, that will make all you test much easier https://github.com/ocombe/ng2-translate/blob/master/tests/translate.service.spec.ts#L570-L594

I tried with that method but I'm getting TypeError: undefined is not an object (evaluating 'connection.mockRespond') in config/karma-test-shim.js error
This is my code
const mockBackendResponse = (connection: MockConnection, response: string) => {
    connection.mockRespond(new Response(new ResponseOptions({body: response})));
};
describe('SideNav Component Test', () => {
    let translate: TranslateService
    let connection: MockConnection;

beforeEach(() => {
    TestBed.configureTestingModule({
        imports: [TranslateModule.forRoot({
            provide: TranslateLoader,
            useFactory: (http: Http) => new TranslateStaticLoader(http, 'app/public/assets/i18n', '.json'),
            deps: [Http]
        }),
            HttpModule
        ],
        declarations: [ SidenavComponent ], // declare the test component
        providers: [
            TranslateService,
        ],
    });
});
it('should be able to get translations', () => {
        mockBackendResponse(connection, '{"TEST": "Allgemein"}');
        translate.get('TEST2').subscribe((res: string) => {
            expect(res).toEqual('Allgemein');
        });
    });
});

You forgot to create the connection in your beforeEach: https://github.com/ocombe/ng2-translate/blob/master/tests/translate.service.spec.ts#L37
// sets the connection when someone tries to access the backend with an xhr request
backend.connections.subscribe((c: MockConnection) => connection = c);

Closing this, let me know if you need it to be reopened.

Not working!. I am using this plugin, and when I add 'Something' | translate in template of plugin not working

@ocombe Can you tell how to fix this issue Pipe translate could not be found in<EMAIL_ADDRESS>

For those coming across the pipe translate could not be found, here are the steps you need to do in a nutshell to fix the issue when using in a different module.

Have the translate module logic along with translate loader and translateFactory present in the app.module.ts
TranslateModule.forRoot({     provide: TranslateLoader,     useFactory: (http: Http) =>      new TranslateStaticLoader(http, './assets/i18n', '.json'),     deps: [Http]    }) ],

In your shared.module.ts (or any other module), import and export the Translate module.
i.e.: Translate module should be a part of both the import and export arrays. Most answers in SO and github mention importing the module but not exporting it.
@NgModule({  imports: [    // other imported modules here    TranslateModule ], exports: [ // other imported modules here TranslateModule]

Please, answer the question set in the tittle for reference

same above, just formatted, has helped:
beforeEach(async(() => {
  TestBed.configureTestingModule({
    declarations: [EmailMessageComponent],
    imports: [TranslateModule.forRoot()],
  }).compileComponents();
}));

For problemns with Jasmine test.
Its works for me guys 😉
Add this on MyComponent..component.spec.ts import { TranslateModule } from "@ngx-translate/core";
beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ EmailMessageComponent ], imports: [ TranslateModule.forRoot(), ] }) .compileComponents(); }));

I'm really thankful for this, after hours of trying solutions. This finally solved my issue


Improving location accuracy and granularity

I was able to get the server running and the raspberry pis sending data to it using passive tracking. I was wondering if you have any suggestions on improving accuracy, as increasing the learning set size is only decreasing accuracy at this point.
Also, has anyone found a good ratio for how may scanning devices to use per area size (i.e. one Pi for every 40 square feet)? I'm only tracking bluetooth beacons. No wifi devices.

@nash-stokes These questions of accuracy are hard to answer because they are contextual. Can you share the graphs in the "Location Analysis"?

More wifi/ble access points will help?


Added guiAlpha getter

@planetis-m I think there is no need for this function, alpha is managed on user-side


why set require gradient False

Hi, much thanks for your code. I have question that why do you set requires_grad to False in here

I wrote this when I wasn't sure about the default value.

Yeah, I also have question here. Do we need to backward gradients to the model through the "it" in here. What I mean is that the loss backward gradients to it, then it backward gradients to the model.

no, it doesn't

Thanks for replying


Add examples/wlr-example.ini.example

with option descriptions for examples

Can you move this to rootston/rootston.ini.example?

And change referenced file name at https://github.com/SirCmpwn/wlroots/blob/master/examples/config.c#L22 ?

Hmm. Yes, I think so.
At some point we'll want to make the examples actually use rootston/config.c to get their work done.

Thanks!


Cannot import assemblyscript module

I've been trying to import the assemblyscript-regex npm package which is an assembly script library that provides RegEx. (https://www.npmjs.com/package/assemblyscript-regex)
I import the package like:
import { Match, RegExp } from "assemblyscript-regex";

and when i try to run graph build i get the following error:
× Failed to compile subgraph: Failed to compile data source mapping: Import file '~lib/assemblyscript-regex.ts' not found.
Error: Failed to compile data source mapping: Import file '~lib/assemblyscript-regex.ts' not found.
    at Compiler._compileDataSourceMapping (E:\dOrg\xxx-subgraph\node_modules\@graphprotocol\graph-cli\src\compiler.js:312:13)
    at E:\dOrg\xxx-subgraph\node_modules\@graphprotocol\graph-cli\src\compiler.js:206:20
    at updateInDeepMap (E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:1971:22)
    at updateInDeepMap (E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
    at updateInDeepMap (E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:1980:23)
    at Map.updateIn (E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:1278:26)
    at E:\dOrg\xxx-subgraph\node_modules\@graphprotocol\graph-cli\src\compiler.js:205:24
    at E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:3016:46
    at List.__iterate (E:\dOrg\zns-subgraph\node_modules\immutable\dist\immutable.js:2206:13)
    at IndexedIterable.mappedSequence.__iterateUncached (E:\dOrg\xxx-subgraph\node_modules\immutable\dist\immutable.js:3015:23)

I tried to just copy/paste the assembly script code into my src folder and use it through that but also ran into a number of compiler problems (such as 'operation not supported')
My understanding was that you could import other assemblyscript modules into subgraph modules. What am I doing wrong, or is this package just incompatible?
Versions:
"@graphprotocol/graph-cli": "^0.20.0",
"@graphprotocol/graph-ts": "^0.20.0",
"assemblyscript-regex": "^1.6.4",

We are working on upgrading our AS version so we can be compatible with the ecosystem.

@leoyvens Can you tell us how big of a change this would be, thus how far on the horizon it might be? Like @Remscar, I need regex support and would also like to import the bulk of my own code as a library (because it's shared with another project).
Would this be something worth looking into for an 'amateur' (a reasonably competent developer, but totally unfamiliar with the codebase)? How far could somebody get just bumping the AS version and focusing on broken tests?
Thanks!

@dewf No need to invest too much time into this. There is already a open pull-request where we are working on at the moment. That said, it will probably take some more weeks because it also is dependent on changes in the graph-node.

@azf20 thanks for the heads-up. I was actually just waiting for the full release but since you asked nicely I decided to try to work with the alpha. Unfortunately I'm blocked on the same @derivedFrom field issue as the other person testing it, so I will try back in a week or two (my project has been on the backburner for awhile now so unfortunately I can't devote too much focus - so please don't give this any extra emphasis on my account)

The derivedFrom issue is a simple fix, I'll focus on it next week 🙂
Once it's merged and released I'll ping you here!

I'll check this out later, but my guess is that this regex library only supports later versions of the AssemblyScript compiler.
The version you're using of graph-cli and graph-ts still use version 0.6 of AssemblyScript.
The good news is that we have updated it recently, but it's still in alpha version. We have a migration guid that's still on a Gist while we don't publish on the official docs: https://gist.github.com/otaviopace/8406cb39644d2e7678570d1e7f50dac4.

can we use as external library now? i want to call external http request by as-fetch

The new version of AssemblyScript is finally supported by the new version of the graph-cli and graph-node  🎉 🎊
@Remscar @nickadamson @dewf if you folks can try it out, here's the migration guide 🙂
@cauta unfortunately you can't use as-fetch. Allowing HTTP requests in the subgraph would result to non-deterministic indexing (different results depending on where and when the request was done).


Doc Issue #10303 Fix in screenSpaceCameraController

This is my first issue and PR for Cesium, so please let me know how I did! I signed the individual CLA
Resolving issue #10303 : "screenSpaceCameraController.maximumZoomDistance not work,when I set enableCollisionDetection to false."
Added more documentation to screenSpaceCameraController.enableCollisionDetection to specify that maximumZoomDistance and minimumZoomDistance are both locked when enabled.

Thanks for the pull request @JacobVanDine!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Hi @JacobVanDine! Thanks for the PR! I have a suggestion about the documentation phrasing, but otherwise this is looking good!

Hi Gabby, I have applied the change you suggested in my recent commit - thank you for your feedback!

Thanks @JacobVanDine!


Spike schema rebase with springboot 2 6 6

What and why?
NOT OPEN FOR REVIEW
Investigating the constraint violation  where tests are applying the same deltas in between tests when hibernate and liquibase are contesting
NOTE: it is acknowledged that this is not a workable solution for persistent environment deployments due to the destructive nature of this approach.

/deploy pricem

/deploy pricem

/deploy pricem

/deploy pricem

/deploy pricem

/deploy pricem


Getting Started with PHP Sessions

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
Getting Started with PHP Sessions
Introduction paragraph (2-3 paragraphs):
PHP Sessions provide server side storage of user information by use of session variables and makes this information accessed from several pages throughout a website.
Sessions uniquely identify users via a Session Identifier which provides connection of that particular user to their stored data on the server.
This article intends to cover how to create a Session, how to update a Session and how to destroy a Session.
Key takeaways:
1.What is a Sessions and why sessions are used.
2. How to create a Session.
3. How to access a Session.
4. Updating a PHP Session.
5. How to destroy a Session.
References:
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

@Neema-2016
Sounds like a helpful topic - lets please be sure it add value beyond what is in the official docs and what is covered in other blog sites.
Please be sure to double check that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already) to avoid any potential article closure, please references any relevant EngEd articles in yours. - Approved


SCA Go module Component- Consul

Component name : Consul

Component Path :

file7593245448_1618770505800_html/go.sum/github.com/hashicorp/consul
file7593253354_1618771275007_html/go-test/go.sum/github.com/hashicorp/consul

CVE ID : CVE-2019-12291

https://nvd.nist.gov/vuln/detail/CVE-2019-12291

Vulnerability description :

Unauthorised Deletion: HashiCorp Consul 1.4.0 through 1.5.0 has Incorrect Access Control. Keys not matching a specific ACL rule used for prefix matching in a policy can be deleted by a token using that policy even with default deny settings configured.

Reference Link : https://analysiscenter.veracode.com/auth/index.jsp#ReviewResultsSCA:11695:1065071:11719443:11685260:11700923:::::3086468:

Here is the current dependency
automate --> cobra(v1.1.0) --> github.com/spf13/viper(v1.7.0) --> github.com/bketelsen/crypt(v0.0.3) --> github.com/hashicorp/consul/api (v1.1.0)
The latest version of github.com/bketelsen/crypt(v0.0.4) still using github.com/hashicorp/consul/api v1.1.0, so there is no benefit even if we upgrade it to the latest version.
Currently, there is an open issue https://github.com/bketelsen/crypt/issues/15 to upgrade the consul from v1.1.0 to v1.9.1
And here is the open PR: https://github.com/bketelsen/crypt/pull/19
Will wait till the above PR has been merged and released.


StreamIterator.current docs need updating for null safety

Like Iterator.current, the interface of StreamIterator.current changes for null safety: it can no longer return null.
This change appears to have been made, but the docs are out of date :)
   * Is `null` before the first call to [moveNext] and after a call to
   * `moveNext` completes with a `false` result or an error.

https://api.dart.dev/stable/2.9.3/dart-async/StreamIterator/current.html
Thanks.

CL out: https://dart-review.googlesource.com/c/sdk/+/170142


T5005271 Delivery Reminder Line: Field Length Vendor Item No.

In table T5005271 "Delivery Reminder Line", field 18 "Vendor Item No." is defined too short with code20. It should be defined with Code50 analogous to the other tables.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: .


list index out of range

was working fine all day then all the sudden started to fail with list index out of range
Actual Behavior
Traceback (most recent call last):
File "pokecli.py", line 521, in
main()
File "pokecli.py", line 95, in main
bot.tick()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 446, in tick
if worker.work() == WorkerResult.RUNNING:
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/cell_workers/recycle_items.py", line 22, in work
item_count_dict = self.bot.item_inventory_count('all')
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 820, in item_inventory_count
inventory_req = self.get_inventory()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/init.py", line 781, in get_inventory
self.latest_inventory = self.api.get_inventory()
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/pgoapi.py", line 122, in function
return request.call()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/home/jlim/newbot/XXXXXX/dev/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/rpc_api.py", line 129, in request
response_dict = self._parse_main_response(response, subrequests)
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/rpc_api.py", line 359, in _parse_main_response
response_proto_dict = self._parse_sub_responses(response_proto, subrequests, response_proto_dict)
File "/home/jlim/newbot/XXXXXX/dev/src/pgoapi/pgoapi/rpc_api.py", line 376, in _parse_sub_responses
request_entry = subrequests_list[i]
IndexError: list index out of range
2016-08-08 23:02:48,605 [sentry.errors] [ERROR] Sentry responded with an error: 'module' object has no attribute 'HTTPSHandler' (url: https://app.getsentry.com/api/90254/store/)
Traceback (most recent call last):
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/transport/threaded.py", line 174, in send_sync
super(ThreadedHTTPTransport, self).send(data, headers)
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/transport/http.py", line 47, in send
ca_certs=self.ca_certs,
File "/home/jlim/newbot/XXXXXX/dev/local/lib/python2.7/site-packages/raven/utils/http.py", line 44, in urlopen
class ValidHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'
2016-08-08 23:02:48,606 [sentry.errors.uncaught] [ERROR] [u'IndexError: list index out of range', u'  File "pokecli.py", line 521, in ', u'  File "pokecli.py", line 95, in main', u'  File "pokemongo_bot/init.py", line 446, in tick', u'  File "pokemongo_bot/cell_workers/recycle_items.py", line 22, in work', u'  File "pokemongo_bot/init.py", line 820, in item_inventory_count', u'  File "pokemongo_bot/init.py", line 781, in get_inventory', u'  File "pgoapi/pgoapi.py", line 122, in function', u'  File "pokemongo_bot/api_wrapper.py", line 106, in call', u'  File "pokemongo_bot/api_wrapper.py", line 63, in _call', u'  File "pgoapi/pgoapi.py", line 220, in call', u'  File "pgoapi/rpc_api.py", line 129, in request', u'  File "pgoapi/rpc_api.py", line 359, in _parse_main_response', u'  File "pgoapi/rpc_api.py", line 376, in _parse_sub_responses']
Steps to Reproduce
Other Information
OS: Ubuntu 14.04.5 LTS
Git Commit: a2b9fe9be9642612420612795a15bc691189f8c9
Python Version: Python 2.7.6

is it fix?
https://github.com/PokemonGoF/PokemonGo-Bot/issues/3193

How about looking at the other issues,before making a useless report?

https://github.com/PokemonGoF/PokemonGo-Bot/issues/3193#issuecomment-238439725

Having same issue as above after completing #3193
Originally
"File "pokecli.py", line 521, in
main()
File "pokecli.py", line 81, in main
bot.start()"
Now
"File "pokecli.py", line 521, in
main()
File "pokecli.py", line 95, in main
bot.tick()"

Can you try setting health_record and update_map in your config to false?

'Can you try setting health_record and update_map in your config to false?'
I have changed health_record to false but can not find update_map
Sorry if this is the wrong way to reply I am new to this

@liampuddles So did it fix the problem?

@shivamkalra It`s fix from my side....

@shivamkalra  this did not fix my issue.

@liampuddles
there is a new config option in config.json
https://github.com/PokemonGoF/PokemonGo-Bot/blob/master/configs/config.json.example
try to add this line
"libencrypt_location": "",

in your config.json just below "gmapkey", for me, it solved the problem.

@mywarr i leave that config blank and just put the crypt .ddl file to the root dir and its also working fine...

@mywarr  So I just noticed it actually starts and stops after 14 seconds


jobs.deployment.environment.tags is erroneously described as if a sequence is allowed

Here's an example from the page:
environment:                # create environment and/or record deployments
  name: string              # name of the environment to run this job on.
  resourceName: string      # name of the resource in the environment to record the deployments against
  resourceId: number        # resource identifier
  resourceType: string      # type of the resource you want to target.
  tags: string | [ string ] # tag names to filter the resources in the environment

https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/jobs-deployment-environment?view=azure-pipelines#examples-1
This is a bug logged in February 2021 and a promise from Microsoft that the docs will be fixed.
https://developercommunity.visualstudio.com/t/when-attempting-to-use-more-than-one-tag-to-limit/1073745
Yet, the pipeline still wouldn't run, reporting A sequence was not expected if an array of tags is used in tags.

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

ID: 6c87e26d-28b9-6475-5888-2c777f6f3cf6
Version Independent ID: 6c87e26d-28b9-6475-5888-2c777f6f3cf6
Content: jobs.deployment.environment definition
Content Source: content/jobs-deployment-environment.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

@gh-andre I'll get this fixed today. Thank you.


[Event Request] Pages 41, 43, 49, 50, 51, 52, 507 and 6640 - OnBeforeValidateShipToOptions

Please add for all pages containing the ShipToOptions the same logic as for sales orders, especially the event OnBeforeValidateShipToOptions.
That is the structure of page 42 (Sales Order), which should be transfered to all pages using the ShipToOptions logic:

Signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeValidateShipToOptions(SalesHeader: Record "Sales Header"; ShipToOptions: Option "Default (Sell-to Address)","Alternate Shipping Address","Custom Address")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


feat(): Add thunderbird-account

Added the thunderbird-account-configuration

LGTP

@DevVersion please review

LGTM


Impossible to automate testing

I've trying with Cypress to test a Gatsby using this theme. After getting a JWT programmatically from Auth0, I'm storing storing that in localStorage per this Cypress recipe.
Initially, { isLoggedIn } = useAuth() returns true correctly because it looks in localStorage, but after that, the useEffect in useAuth() calls checkSession, which will fail, and will delete isLoggedIn, effectively logging the user out.

I worked around this issue by setting localStorage.setItem('postLoginUrl', 'https://localhost:8000') in the first then of the login command in cypress. Then setting localStorage.setItem('isLoggedIn', 'true') in onBeforeLoad in the cy.visit() command.
This works in local development of course but I haven't gotten around to setting it up for CI


Fix startBackend on paths with spaces

Fixes issue #102

Thanks @Niketin
I am currently away from any keyboard until beginning of October.
Will merge when I am back


Make load & store more flexible

load is now a callable supporting conditional expressions.
conditional expressions has been refined by separating if_ from ignore_* and making ignore supports alternative
extensive tests for load

You don't do intel masked load magic yet, right?

You don't do intel masked load magic yet, right?

Yes this is being done atm.


Plumbing to two seperate IRC networks?

I tried plumbing two rooms on separate IRC networks to the same Matrix room, but once you add the second plumb, the first plumb stops relaying messages from Matrix and becomes a one-way relay only (and messages are also not further plumbed to the other IRC network).
Is there a technical limitation why this can't work, or simply a bug?

I see. The odd thing is that now I can't unplumb the room in the first network. It continues being a one way relay. I tried to revert things and unplumbing the second network was working fine.

Hmm, theoretically speaking: Would it be possible to run two instances of Heisenbridge with the same homeserver to double plumb a single room to two different IRC networks?

Yes, that works just fine.


Deploy

This is an automatically generated release PR!

@icirellik it looks like df910d906aa947dd06d6ad65dd91645521772432 breaks the Storybook build: https://app.circleci.com/pipelines/github/artsy/force/14609/workflows/c85fe3ba-629a-4b21-80f6-b27deaa90b62/jobs/107130


Bumping plugin version to 1.2.1

Signed-off-by: Dave Lago<EMAIL_ADDRESS>opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Github Issue # or road-map entry, if available:

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1517 (00db986) into main (565f47e) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1517      +/-   ##
============================================
- Coverage     64.87%   64.78%   -0.09%
+ Complexity     3227     3225       -2
============================================
  Files           247      247
  Lines         17335    17335
  Branches       3072     3072
============================================
- Hits          11246    11231      -15
- Misses         4532     4545      +13
- Partials       1557     1559       +2

Impacted Files
Coverage Δ

...org/opensearch/security/rest/TenantInfoAction.java
77.94% <0.00%> (-10.30%)
:arrow_down:

...earch/security/auditlog/impl/AbstractAuditLog.java
73.35% <0.00%> (-1.59%)
:arrow_down:

...security/configuration/DlsFlsFilterLeafReader.java
59.76% <0.00%> (-0.71%)
:arrow_down:

...a/org/opensearch/security/tools/SecurityAdmin.java
47.52% <0.00%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

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

Won't merge, will cherry-pick commit from #1518 instead


How to enable authorization in Q&A plugin

🔖 Summary
How can I restrict some users from editing Q&A created by other users?
🌐 Project website (if applicable)
https://github.com/drodil/backstage-plugin-qeta
✌ Context
I want to restrict some action in plugin rather that catalog entity
👀 Have you spent some time to check if this plugin request 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?
None

Hey! 👋
You should be able to follow the standard permissions docs to set this up.
And I can see @drodil added permissions you can use here 😁
https://github.com/drodil/backstage-plugin-qeta/blob/main/plugins%2Fqeta-common%2Fsrc%2Fpermissions.ts
Permissions docs: https://backstage.io/docs/permissions/overview/

By default, users can only edit their own questions and answers, except for the moderators. Unfortunately, the permissions in Q&A plugin are missing possibility to restrict this in the permission framework (in my long list of TODOs). The permissions framework in Q&A can only be used to restrict who can post new questions and answers overall.

Closing the issue as the plugin is not part of this repo


[Epic] New IDN Website

Epic description
The ISU have requested a website for the IDN as a whole to be hosted on the idnau.org domain. It is intended to be a public-facing site including information on the IDN's partners and multiple projects.
Tasks

[ ] #5
[ ] #8

Initial sitemap


[FLINK-24167][Runtime]Add default HeartbeatReceiver and HeartbeatSend…

…er to simplify the usage of HeartbeatTarget
What is the purpose of the change
Add default HeartbeatReceiver and HeartbeatSender to simplify the usage of HeartbeatTarget
Brief change log
Let most heartbeat listeners extend from HeartbeatReceiver or HeartbeatSender, instead of using HeartbeatTarget directly.
Verifying this change
This change is already covered by existing tests

The failure case is related to FLINK-24472 , rebase and run again.


x/net/publicsuffix: Release as a separate module

What did you expect to see?
Since https://github.com/golang/net/tree/master/publicsuffix includes a generated
table.go file, it will be really helpful if the publicsuffix can be made its own module. This will allow us to use the latest publicsuffix module with an old version of x/net module.
What did you see instead?

Why do you want to use an old version of x/net?

We have a dependency on Kubernetes. We just use whatever go.mod automatically picks based on that dependency.

Sure, but why is that preferable to using an upgraded x/net? (What, if any, harm does a newer x/net cause?)

This has been in waiting for info for more than a year, usecase still unclear, seems like there's not a lot of interest in making pubblicsuffix its own module, I think we can close.


system_tests_two_routers test_17_address_wildcard local-idle-timeout expired

https://github.com/skupperproject/skupper-router/runs/5599813265?check_suite_focus=true#step:26:4852
28: ____________________ TwoRouterTest.test_17_address_wildcard ____________________
28:
28: self = <system_tests_two_routers.TwoRouterTest testMethod=test_17_address_wildcard>
28:
28:     def test_17_address_wildcard(self):
28:         # verify proper distribution is selected by wildcard
28:         addresses = [
28:             # (address, count of messages expected to be received)
28:             ('a.b.c.d',   1),  # closest 'a.b.c.d'
28:             ('b.c.d',     2),  # multi   '#.b.c.d'
28:             ('f.a.b.c.d', 2),  # multi   '#.b.c.d
28:             ('a.c.d',     2),  # multi   'a.*.d'
28:             ('a/c/c/d',   1),  # closest 'a/*/#.d
28:             ('a/x/z/z/d', 1),  # closest 'a/*/#.d
28:             ('a/x/d',     1),  # closest 'a.x.d'
28:             ('a.x.e',     1),  # balanced  ----
28:             ('m.b.c.d',   2)  # multi   '*/b/c/d'
28:         ]
28:
28:         # two receivers per address - one for each router
28:         receivers = []
28:         for a in addresses:
28:             for x in range(2):
28:                 ar = AsyncTestReceiver(address=self.routers[x].addresses[0],
28:                                        source=a[0])
28:                 receivers.append(ar)
28:
28:         # wait for the consumer info to propagate
28:         for a in addresses:
28: >           self.routers[0].wait_address(a[0], 1, 1)

28: self = <proton._utils.BlockingConnection object at 0x7fb0d73c2470>
28: event = PN_CONNECTION_REMOTE_CLOSE(<proton._endpoints.Connection 0x7fb0d72f7460 ~ 0x559441c87850>)
28:
28:     def on_connection_remote_close(self, event: 'Event') -> None:
28:         """
28:         Event callback for when the link peer closes the connection.
28:         """
28:         if event.connection.state & Endpoint.LOCAL_ACTIVE:
28:             event.connection.close()
28:             if not self.closing:
28: >               raise ConnectionClosed(event.connection)
28: E               proton._utils.ConnectionClosed: Connection <IP_ADDRESS> closed due to: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')

This looks like a bug to me. Possibly in Proton's BlockingConnection? Idle timeout should never happen, empty frames should be sent automatically. And the machine is running tests with -j2, so it is not all that busy.
Router apparently did not fail in the test, at least I don't see any failures from router log printed in the output.

https://app.travis-ci.com/github/jiridanek/skupper-router/jobs/564430110#L7624
Very similar issue on Aarch64, but in different test
53: <<<<
53: ERROR:proton:Couldn't send: BrokenPipeError(32, 'Broken pipe')
57:
57: Router Router8 output file:
57: >>>>
57: -----------------------------------------------------
57: Suppressions used:
57:   count      bytes template
57:       1         56 ^IoAdapter_init$
57:       1        288 ^pni_data_grow$
57:       2         96 ^pn_buffer$
57:       1         56 ^pn_object_new$
57:<PHONE_NUMBER> /libpython3.*.so
57: -----------------------------------------------------
57:
57:
57: <<<<
53:
53: Router RouterA output file:
53: >>>>
53: -----------------------------------------------------
53: Suppressions used:
53:   count      bytes template
53:       4        224 ^IoAdapter_init$
53:<PHONE_NUMBER> /libpython3.*.so
53: -----------------------------------------------------
53:
53:
53: <<<<
53:
53: ======================================================================
53: ERROR: test_06_parallel_priority (system_tests_router_mesh.ThreeRouterTest)
53: Create 10 senders each with a different priority.
53: ----------------------------------------------------------------------
53: Traceback (most recent call last):
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_tests_router_mesh.py", line 214, in test_06_parallel_priority
53:     self.RouterA.wait_address("closest/test_06_address")
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_test.py", line 679, in wait_address
53:     assert retry(check, **retry_kwargs)
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_test.py", line 142, in retry
53:     ret = function()
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_test.py", line 670, in check
53:     addrs = self.management.query(
53:   File "/home/travis/build/jiridanek/skupper-router/python/skupper_router/management/client.py", line 277, in query
53:     response = self.call(request)
53:   File "/home/travis/build/jiridanek/skupper-router/python/skupper_router/management/client.py", line 191, in call
53:     response = self.client.call(request)
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_utils.py", line 615, in call
53:     self.sender.send(request)
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_utils.py", line 140, in send
53:     self.connection.wait(lambda: _is_settled(delivery), msg="Sending on sender %s" % self.link.name,
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_utils.py", line 524, in wait
53:     self.container.process()
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_reactor.py", line 260, in process
53:     event.dispatch(handler)
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_events.py", line 158, in dispatch
53:     _dispatch(handler, type.method, self)
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_events.py", line 129, in _dispatch
53:     m(*args)
53:   File "/home/travis/build/jiridanek/skupper-router/qpid-proton/python/proton/_utils.py", line 552, in on_connection_remote_close
53:     raise ConnectionClosed(event.connection)
53: proton._utils.ConnectionClosed: Connection <IP_ADDRESS> closed due to: Condition('amqp:resource-limit-exceeded', 'local-idle-timeout expired')
53:
53: ======================================================================
53: ERROR: test_06_parallel_priority (system_tests_router_mesh.ThreeRouterTest)
53: Create 10 senders each with a different priority.
53: ----------------------------------------------------------------------
53: Traceback (most recent call last):
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_test.py", line 933, in tearDown
53:     Tester.teardown(self)
53:   File "/home/travis/build/jiridanek/skupper-router/tests/system_test.py", line 874, in teardown
53:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
53: RuntimeError: Errors during teardown:
53:
53: Process 13265 error: still running
53: test-receiver -a <IP_ADDRESS>:22739 -c 250 -s closest/test_06_address -d
53: /home/travis/build/jiridanek/skupper-router/build/tests/system_test.dir/system_tests_router_mesh/ThreeRouterTest/test_06_parallel_priority/test-receiver-43.cmd
53: >>>>
53: <<<<
53:
53: ----------------------------------------------------------------------
53: Ran 6 tests in 168.842s
53:
53: FAILED (errors=2)
56/64 Test #53: system_tests_router_mesh ................***Failed  168.97 sec

Has not be reproduced in 2 years. Closing


React Starter App for a legacy rails system

I watched an Atomic Jolt video about using react & yarn with rails and got really interested in it.
I was looking for a way to setup this react starter app for my legacy rails application.
On readme I just saw the setup for a new application, but not for legacy systems.
Does anyone have this experience? Any ideas?

Hi Leandro,
Have a look at https://github.com/atomicjolt/react_client_starter_app to get an application that is ready to run React. That application is pulled into the react_rails_starter_app to handle all the client side js including the build process so you could just bring that code into your application and then bring in bits and pieces from react_rails_starter_app. To do that find files in the react_rails_stater_app that are named with 'webpack'. That should give you the files that you'll need.


Creating Facilities and add patients through facilities

Proposed Changes

Add Facilities
Add patients through facilities

Merge Checklist

[x] Check if route, query, or mutation authorization looks correct.

Add tests for authorization, if required.

[x] Update docs, where applicable.
[x] Add development seeds for new tables.

Issues
closes #33 , closes #36, closes #37, closes #38, closes #39

Now looks good to me. Approving the changes from my side.


Implemented creating Appointment workflow

softbrew/phr-core#7

Create a FHIR Appointment and save in server

:+1:


Not working /admin/init

Hi! I've this error when trying to load /admin/init:
ERROR:uvicorn.error:Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/httptools_impl.py", line 398, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/debug.py", line 81, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/debug.py", line 78, in __call__
    await self.app(scope, receive, inner_send)
  File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 26, in __call__
    await response(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 224, in __call__
    await run_until_first_complete(
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in run_until_first_complete
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in <listcomp>
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 216, in stream_response
    async for chunk in self.body_iterator:
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 56, in body_stream
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 78, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 26, in __call__
    await response(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 224, in __call__
    await run_until_first_complete(
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in run_until_first_complete
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in <listcomp>
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 216, in stream_response
    async for chunk in self.body_iterator:
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 56, in body_stream
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 26, in __call__
    await response(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 224, in __call__
    await run_until_first_complete(
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in run_until_first_complete
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in <listcomp>
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 216, in stream_response
    async for chunk in self.body_iterator:
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 56, in body_stream
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 26, in __call__
    await response(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 224, in __call__
    await run_until_first_complete(
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in run_until_first_complete
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 24, in <listcomp>
    [task.result() for task in done]
  File "/usr/local/lib/python3.9/site-packages/starlette/responses.py", line 216, in stream_response
    async for chunk in self.body_iterator:
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 56, in body_stream
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 390, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 25, in __call__
    response = await self.dispatch_func(request, self.call_next)
  File "/usr/local/lib/python3.9/site-packages/fastapi_admin/providers/login.py", line 132, in authenticate
    response = await call_next(request)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 45, in call_next
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 25, in __call__
    response = await self.dispatch_func(request, self.call_next)
  File "/usr/local/lib/python3.9/site-packages/fastapi_admin/middlewares.py", line 19, in language_processor
    response = await call_next(request)
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 45, in call_next
    task.result()
  File "/usr/local/lib/python3.9/site-packages/starlette/middleware/base.py", line 38, in coro
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/usr/local/lib/python3.9/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 580, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 241, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 52, in app
    response = await func(request)
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 201, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.9/site-packages/fastapi/routing.py", line 148, in run_endpoint_function
    return await dependant.call(**values)
  File "/usr/local/lib/python3.9/site-packages/fastapi_admin/providers/login.py", line 149, in init_view
    return templates.TemplateResponse("init.html", context={"request": request})
  File "/usr/local/lib/python3.9/site-packages/starlette/templating.py", line 80, in TemplateResponse
    template = self.get_template(name)
  File "/usr/local/lib/python3.9/site-packages/starlette/templating.py", line 67, in get_template
    return self.env.get_template(name)
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 997, in get_template
    return self._load_template(name, globals)
  File "/usr/local/lib/python3.9/site-packages/jinja2/environment.py", line 958, in _load_template
    template = self.loader.load(self, name, self.make_globals(globals))
  File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 125, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/usr/local/lib/python3.9/site-packages/jinja2/loaders.py", line 214, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: init.html

My requirements.txt:
aerich==0.5.3
aiofiles==0.7.0
aioredis==1.3.1
asgi-lifespan==1.0.1
asgi-testclient==0.3.1
asyncpg==0.23.0
elastic-apm==6.2.0
factory-boy==3.2.0
Faker==8.4.0
fastapi==0.65.1
fastapi-admin==1.0.0
flake8==3.9.2
httpx==0.18.1
isort==5.8.0
JSON-log-formatter==0.3.1
mypy==0.812
mypy-extensions==0.4.3
psycopg2==2.8.6
pydantic==1.8.2
pytest==6.2.4
pytest-asyncio==0.15.1
starlette==0.14.2
starlette-prometheus==0.7.0
tortoise-orm==0.17.3
uvicorn==0.13.4
uvloop==0.15.2

As you can see, I'm using latest version of fastapi_admin (1.0.0)
I just going to fastapi_admin source code and not found 'init.html' file in the templates directory.
In the docs there are no any information regarding this case.
Should I add my own init.html template file?
And what there should be? What there should happen at all?
BTW, I'have same issue with getting 404 on /admin path.
So I suppose that it associate with first admin init (/admin/init). But unfortunately i getting 500 on it.
Could you please help me with it?
PS.: sorry for my english.

try latest dev branch

Just tried. It works if not add any not null fields in AdminModel.
There is way to override this template?
BTW when a new version will be on pypi?

Inherit  UsernamePasswordProvider then override create_user. recently.


Switch to using rsync for copying files to guests

scp does not have a way to preserve symbolic links. This can limit the usefulness of copy-in-before, as it will copy the links and significantly bloat the size of the copy on the guest filesystem when the target directory contains many symlinks. We should switch to using rsync to avoid this issue. I believe rsync accepts pretty much all of the scp options, so we should be able to keep the majority of the current logic, I think.

Would you kindly assign this issue to me?


Block layout is broken with pairs

For example, trying to build this code:
main = simulationOf(initial, step, picture)
initial(x) = (0,0)

gives this:

Still an issue as of 8/21 release (just less pronounced since the tuple block got shorter).

Another example of visual problems rendering these blocks.  It does seem to happen with larger blocks, but also with the simulationOf and interactionOf blocks, in particular.

This seems to be fixed?  At least, I can't recreate it now.


On version v1.3.5 android cannot run. Execution failed for task ':app:mergeExtDexDebug'. (jetified-android-gif-drawable-1.2.29-runtime.jar.)

The package functions correctly on iOS, but I encountered issues running it on Android.
Flutter doctor:
[✓] Flutter (Channel stable, 3.24.0, on macOS 15.1 24B83 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.95.3)
[✓] Connected device (4 available)
[✓] Network resources
Kotlin version: 1.9.23
distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip
Error Summary
When attempting to build the Flutter application, the build fails with the following error related to android-gif-drawable:
ERROR:/Users/heythere/.gradle/caches/transforms-3/306f68d744e81358add969a0c803bb4b/transformed/jetified-android-gif-drawable-1.2.29-runtime.jar: D8: java.lang.NullPointerException

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform android-gif-drawable-1.2.29.aar (pl.droidsonroids.gif:android-gif-drawable:1.2.29) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for DexingWithClasspathTransform: /Users/heythere/.gradle/caches/transforms-3/306f68d744e81358add969a0c803bb4b/transformed/jetified-android-gif-drawable-1.2.29-runtime.jar.
         > Error while dexing.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 16s
Error: Gradle task assembleDebug failed with exit code 1

I would greatly appreciate your help. Thank you!

i will make hotfix for it tonight or tomorrow

hotfix has been published 1.3.5+1

Thank you! The build was successful.


'WeightSharedConvolutionalBoxPredictor' object has no attribute 'inputs'

Hello. I have updated tf1 to the second version. Downloaded ssd_resnet152_v1_fpn_1024x1024_coco17_tpu-8 and configured config. But I get the error
Traceback (most recent call last):   File "model_main.py", line 108, in <module>     tf.app.run()   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run     _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 299, in run     _run_main(main, args)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\absl\app.py", line 250, in _run_main     sys.exit(main(argv))   File "model_main.py", line 104, in main     tf.estimator.train_and_evaluate(estimator, train_spec, eval_specs[0])   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\training.py", line 472, in train_and_evaluate     return executor.run()   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\training.py", line 613, in run     return self.run_local()   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\training.py", line 714, in run_local     saving_listeners=saving_listeners)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 349, in train     loss = self._train_model(input_fn, hooks, saving_listeners)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 1182, in _train_model     return self._train_model_default(input_fn, hooks, saving_listeners)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 1211, in _train_model_default     self.config)   File "C:\ProgramData\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow_estimator\python\estimator\estimator.py", line 1170, in _call_model_fn     model_fn_results = self._model_fn(features=features, **kwargs)   File "C:\tensorflow1\models\research\object_detection\model_lib.py", line 543, in model_fn     update_ops=detection_model.updates(),   File "C:\tensorflow1\models\research\object_detection\meta_architectures\ssd_meta_arch.py", line 1350, in updates     self._box_predictor.inputs)) AttributeError: 'WeightSharedConvolutionalBoxPredictor' object has no attribute 'inputs'
model {   ssd {     num_classes: 12     image_resizer {       fixed_shape_resizer {         height: 1024         width: 1024       }     }     feature_extractor {       type: "ssd_resnet152_v1_fpn_keras"       depth_multiplier: 1.0       min_depth: 16       conv_hyperparams {         regularizer {           l2_regularizer {             weight: 0.00039999998989515007           }         }         initializer {           truncated_normal_initializer {             mean: 0.0             stddev: 0.029999999329447746           }         }         activation: RELU_6         batch_norm {           decay: 0.996999979019165           scale: true           epsilon: 0.0010000000474974513         }       }       override_base_feature_extractor_hyperparams: true       fpn {         min_level: 3         max_level: 7       }     }     box_coder {       faster_rcnn_box_coder {         y_scale: 10.0         x_scale: 10.0         height_scale: 5.0         width_scale: 5.0       }     }     matcher {       argmax_matcher {         matched_threshold: 0.5         unmatched_threshold: 0.5         ignore_thresholds: false         negatives_lower_than_unmatched: true         force_match_for_each_row: true         use_matmul_gather: true       }     }     similarity_calculator {       iou_similarity {       }     }     box_predictor {       weight_shared_convolutional_box_predictor {         conv_hyperparams {           regularizer {             l2_regularizer {               weight: 0.00039999998989515007             }           }           initializer {             random_normal_initializer {               mean: 0.0               stddev: 0.009999999776482582             }           }           activation: RELU_6           batch_norm {             decay: 0.996999979019165             scale: true             epsilon: 0.0010000000474974513           }         }         depth: 256         num_layers_before_predictor: 4         kernel_size: 3         class_prediction_bias_init: -4.599999904632568       }     }     anchor_generator {       multiscale_anchor_generator {         min_level: 3         max_level: 7         anchor_scale: 4.0         aspect_ratios: 1.0         aspect_ratios: 2.0         aspect_ratios: 0.5         scales_per_octave: 2       }     }     post_processing {       batch_non_max_suppression {         score_threshold: 9.99999993922529e-09         iou_threshold: 0.6000000238418579         max_detections_per_class: 100         max_total_detections: 100         use_static_shapes: false       }       score_converter: SIGMOID     }     normalize_loss_by_num_matches: true     loss {       localization_loss {         weighted_smooth_l1 {         }       }       classification_loss {         weighted_sigmoid_focal {           gamma: 2.0           alpha: 0.25         }       }       classification_weight: 1.0       localization_weight: 1.0     }     encode_background_as_zeros: true     normalize_loc_loss_by_codesize: true     inplace_batchnorm_update: true     freeze_batchnorm: false   } } train_config {   batch_size: 1   data_augmentation_options {     random_horizontal_flip {     }   }   data_augmentation_options {     random_crop_image {       min_object_covered: 0.0       min_aspect_ratio: 0.75       max_aspect_ratio: 3.0       min_area: 0.75       max_area: 1.0       overlap_thresh: 0.0     }   }   sync_replicas: true   optimizer {     momentum_optimizer {       learning_rate {         cosine_decay_learning_rate {           learning_rate_base: 0.03999999910593033           total_steps: 100000           warmup_learning_rate: 0.013333000242710114           warmup_steps: 2000         }       }       momentum_optimizer_value: 0.8999999761581421     }     use_moving_average: false   }   fine_tune_checkpoint: "C:/tensorflow1/models/research/object_detection/ssd_resnet152_v1_fpn_1024x1024_coco17_tpu-8\checkpoint\ckpt-0"   num_steps: 100000   startup_delay_steps: 0.0   replicas_to_aggregate: 8   max_number_of_boxes: 100   unpad_groundtruth_tensors: false   fine_tune_checkpoint_type: "classification"   use_bfloat16: true   fine_tune_checkpoint_version: V2 } train_input_reader {   label_map_path: "C:/tensorflow1/models/research/object_detection/training/labelmap.pbtxt"   tf_record_input_reader {     input_path: "C:/tensorflow1/models/research/object_detection/train.record"   } } eval_config {   metrics_set: "coco_detection_metrics"   use_moving_averages: false } eval_input_reader {   label_map_path: "C:/tensorflow1/models/research/object_detection/training/labelmap.pbtxt"   shuffle: false   num_epochs: 1   tf_record_input_reader {     input_path: "C:/tensorflow1/models/research/object_detection/test.record"   } }
(tensorflow1) C:\tensorflow1\models\research\object_detection>python model_main.py --logtostderr --train_dir=training/ --pipeline_config_path=ssd_resnet152_v1_fpn_1024x1024_coco17_tpu-8/pipeline.config --model_dir=training/

When i use model_main_tf2 i have this
WARNING:tensorflow:A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details. W0724 04:29:54.094718  1196 util.py:152] A checkpoint was restored (e.g. tf.train.Checkpoint.restore or tf.keras.Model.load_weights) but not all checkpointed values were used. See above for specific issues. Use expect_partial() on the load status object, e.g. tf.train.Checkpoint.restore(...).expect_partial(), to silence these warnings, or use assert_consumed() to make the check explicit. See https://www.tensorflow.org/guide/checkpoint#loading_mechanics for details.

solver, sorry

i am getting same error whats the issue?

@hashtriton Excuse me I'm getting similar error what was the issue and how you solve it?

I got alot of errors while like these, most of them were because of I was not using compatible versions of all libraries/tools(all details are mentioned on their readme file)  followed this and got no errors onwards...

@Mandar800 What is the readme file you are referring? Is this: https://github.com/tensorflow/models/blob/master/research/object_detection/README.md ?
Because I followed the instructions in above file but I still get the error


When Copy Code Vibration

Make a vibration when copying the secret code, meaning that the code has been copied

Completed @Ch-Tima @AN0NCER
New Version Update


feat: order contributor by most recent activity

This is just a quick and dirty hack to see how much of an effort it
would be to implement it. If I'm going down this path, I will make sure
to refactor and add some tests.

What happened to this one?


DBSchema: Fix Advocate Schema

schema with constraints and indexes in this file
https://drive.google.com/file/d/11qDUML82LDob_YUAIrZHKUEDRxDgdcr3/view?usp=drive_link

@manimaarans @Ramu-kandimalla @suresh12 - what's the update on this? Can we confirm the latest status?

Hi @subhashini-egov  @atulgupta2024  Need clarity on this ticket @manimaarans @suresh12

@Ramu-kandimalla The DB schema was lacking indexes, foreign keys and basic denormalization. Hence, I had proposed a DB schema and added all artifact details to it including SQL. A decision was made not to take this up due to other. priorities. Would request @suresh12 and @manimaarans to close it with justification.


Package request: taggui

Project description
Cross-platform desktop application for quickly adding and editing image tags and captions, aimed towards creators of image datasets for generative AI models like Stable Diffusion.
Metadata

homepage URL: https://github.com/jhc13/taggui
source URL: https://github.com/jhc13/taggui
license: gpl3
platforms: linux, windows

Without a setup.py it is a bit of a mess to package


Permissions?

So i have been trying to get permissions to work yet after everything ive done i still cannot ristrict access to users ill show the code, if someone could help me that would be fantatic

as you see i have the user's id who i want to ristrict from the bot yet the user in question can still use !play

:key: How to setup Permissions
To start: Open permissions.ini in the config folder (read the top of the file for information)
:memo: Whitelisting a command:
- To allow a user to use a command, add it in the CommandWhitelist section
- If the [Default] group has a command in that section, anybody can use that command
:person_with_blond_hair: Add a user to a group: (https://goo.gl/cAZBMa)
- To add a user to a group, put their ID in the UserList section
- To find out how to get a user's ID, type !tag ids here
:flags: Add a role to a group: (https://goo.gl/7ujPG9)
- To add a role to a group, put that group's ID in the GrantToRoles section
- To find out how to get a role's ID, type !tag ids here
NOTE: When you add a User/Role to a line that is commented (has a ; at the beginning), remove the semicolon, otherwise the bot won't detect your changes.

there is no user list section under limited, do i add one or make a new "limited" group for users?

The information at the top of permissions.ini explains how to configure permissions properly.


xfce4-weather-plugin: init at 0.8.7

Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

LGTM, thank you


ToolTips don't work as Expected : Incorrect Text and Don't "pop Over"

Describe the bug
Tool Tips do not pop over all the content as expected.
This code:

      <Tooltip message="Mint it daddio!" placement="top">
        <OutlineButton>Mint</OutlineButton>
      </Tooltip>

Renders: "Popper content" rather than "Mint it daddio!".
The text of the ToolTip is always: "Popper content" regardless of what is passed as message
To Reproduce
Steps to reproduce the behavior:
Use the ToolTip on a button as described in the documentation.
Expected behavior
Expect to have the message be the message passed in the component.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Browser: FireFox
OSX: 10.14.4
Additional context
Add any other context about the problem here.

Hi Dennison. Thanks for raising this issue. We will be looking into it.

@crazyrabbitLTC  can you send me which version of rimble-ui you're using in your package.json?

@crazyrabbitLTC can you try updating your version of rimble and seeing if that resolves your issue?
yarn add rimble-ui@latest

@crazyrabbitLTC I have a strong suspicion this is because Zepkit uses an older version of rimble-ui. I opened a PR on their codebase to update their version.
https://github.com/zeppelinos/zepkit/pull/12
In the meantime, updating the version in your /client folder with npm install --save rimble-ui@latest should fix this.


Change the font size error

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Remove the dot before the p between the style tag.It should look like that .
p {font-size:16px;
}

Hi,
Thanks for reporting this issue.
Here are some next steps that you should follow before we can help you with your query:

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!


Do you have to configure asset to load local images?

pubspec.yaml
assets:

images/

images dir:

code:
Image.asset('images/icon_home_sel.png')
I just want to load 2.0x and 3.0x，but Failed to load！
These errors are as follows：
"Unable to load asset: images/icon_home_sel.png"
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14 18A391, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
If Android SDK has been installed to a custom location, set $ANDROID_HOME to that
location.
You may also want to add it to your PATH environment variable.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[!] Android Studio (not installed)
[✓] VS Code (version 1.31.1)
[✓] Connected device (2 available)
! Doctor found issues in 2 categories.

@wangchuanwen make sure you are following the instructions at https://flutter.dev/docs/development/ui/assets-and-images.
For example, if your pubspec.yaml looks like this:
flutter:
  assets:
    - images/

Then your directory structure should look like:
lib/
test/
images/
pubspec.yaml

And you would refer to the asset as Image.asset('images/image_name.png')
Can you share your pubspec.yaml?

@wangchuanwen make sure you are following the instructions at https://flutter.dev/docs/development/ui/assets-and-images.
For example, if your pubspec.yaml looks like this:
flutter:
  assets:
    - images/

Then your directory structure should look like:
lib/
test/
images/
pubspec.yaml

And you would refer to the asset as Image.asset('images/image_name.png')
Can you share your pubspec.yaml?

pubspec.yaml configuration is as follows:
name: testflutter
description: A new Flutter project.
The following defines the version and build number for your application.
A version number is three numbers separated by dots, like 1.2.43
followed by an optional build number separated by a +.
Both the version and the builder number may be overridden in flutter
build by specifying --build-name and --build-number, respectively.
Read more about versioning at semver.org.
version: 1.0.0+1
environment:
sdk: ">=2.0.0-dev.68.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
For information on the generic Dart part of this file, see the
following page: https://www.dartlang.org/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:

images/

An image asset can refer to one or more resolution-specific "variants", see
https://flutter.io/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.io/assets-and-images/#from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: Schyler
fonts:
- asset: fonts/Schyler-Regular.ttf
- asset: fonts/Schyler-Italic.ttf
style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.io/custom-fonts/#from-packages
images directory structure:

if so,assets/images/2.0x/icon_home_sel.png and assets/images/3.0x/icon_home_sel.png would be a valid variant of assets/icons/icon_home_sel.png. But，i don't want assets/icons/icon_home_sel.png，because the resource bundles get bigger
My question is not to use assets/icons/icon_home_sel.png,then i expect to use Image.asset('images/icon_home_sel.png').
A device dependence on pixel ratio decides whether to use 2x or 3x.

@dnfield is it possible to only have image resources under 2x and 3x but not in the base folder?

Hi, @wangchuanwen I just want to check  is this still a problem for you?

Hi @wangchuanwen
I'm closing this issue as it refer to an older version of Flutter.
If you are you still experiencing this issue with the latest version of Flutter,
you may want to open a new issue or comment below;
either way please provide your updated flutter doctor -v.
It would be helpful to have also your flutter run --verbose
and a self contained app on github (or the steps to reproduce it).
Thank you

I encounter this problem
Unable to load asset: assets/images/heart.png
I can always reproduce when these two conditions are satisfied

include directory path in pubspec.yaml
no base asset at the real folder (only 2.0x or 3.0x)

Flutter 1.17.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision e6b34c2b5c (9 days ago) • 2020-05-02 11:39:18 -0700
Engine • revision 540786dd51
Tools • Dart 2.8.1

flutter:
  assets:
    - assets/images/

.../pubspec.yaml
.../assets/images/2.0x/heart.png

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


Update address step & shipping method

During a regular checkout, the shipping address step will try to get the user's saved addresses. This cannot be done in the case a guest user.
If the user is a guest user, the new address form should not be displayed. There shouldn't be any changes to be done to the shipping method page.
We can use the getUserToken method in auth facade to check if user is logged in.
In addition in checkout-delivery.service there is a function called actionAllowed that interferes with proceeding with the steps when the user is a guest. Adjust this function to be able to proceed with the following checkout steps.
Acceptance criteria

If a user is a guest the address form is displayed without a backend call to fetch existing ones
If a user is not a guest the behavior is the same as before
The address verification should work with anonymous as user (requires client token)

Observation:
@Xymmer, @hackergil
Guest user cannot make a mistake then when entering an address. If he's in checkout step 2 - 4, and needs to update shipping address, then he will have to re-type the whole thing again.
Is this the intended behaviour?

Other than above comment, acceptance criteria fulfilled in this ticket.

Guest shipping address:

Guest shipping method:


Compatibility for OroCommerce 6.0.x applications

Hello,
I've contacted your support service about this as well: Ticket ID 2071497
It seems that you are working on making the package compatible for OroCommerce 6.0.x environments (I've seen some branches), do you guys have any idea when it will be officially released through composer?
Kind regards,
Gregori De Vuyst

Hello @gregdevuyst,
Please note that our team already released a new version of our module that supports both OroCommerce 5 and 6.
You can find the mentioned version here: https://github.com/mollie/orocommerce/releases/tag/6.0.0
Thank you,
Kind regards.


Looking for maintainer/co-developer

Hey all,
Firstly, thanks for using LeetHub.  If you're interested in helping me develop LeetHub, please add your name/linkedin below as comment below. Quite frankly, I can't get to all these features in time, so I'd appreciate any help!
The only pre-req is some expertise in JS. Preferred if knowledge in chrome-extensions, but that's not necessary!
Looking forward to it :D

@QasimWani hello, I am interested to work on this.

@QasimWani hello, I am interested to work on this.

thanks for the interest. I'd appreciate if you could help me in designing new features, not porting (see current open issues). lmk what you think.
here's my email<EMAIL_ADDRESS>

Interested!

Interested!

@JeremyTsaii , thanks for the interest. As previously mentioned, I mainly need help in developing new features (there' around 10 feature requests as of now). Let's take it offline via email (qasim@vt.edu).
lmk what you think.
Thanks for using LeetHub!
Qasim

Interested :)

I have lots of chrome extension and js experience, would love to work on this.

hey all, i created a discord server @ https://discord.gg/anXT9vErxu for further questions.
See y'all there!

closing. For those interested, join the discord link ^^. Thanks!


Log output improvement when cluster resources are insufficient

ISSUE TYPE

Improvement Request

COMPONENT NAME

LOG

CLOUDSTACK VERSION

4.11.2
4.11.3
4.12
4.13

SUMMARY

During deploy instance, if the CPU utilization rate of the cluster exceeds that of cluster.cpu.allocated.capacity.disabledthhreshold or cluster.memory.allocated.capacity.disabledthhreshold. Output in log
Cannot allocate cluster list [4] for vm creation since their allocated percentage crosses the disable capacity threshold defined at each cluster/ at global value for capacity Type : 0, skipping these clusters
Change capacity type: 0 to capacity type: CPU, or capacity type: ram;
https://github.com/apache/cloudstack/blob/master/server/src/main/java/com/cloud/deploy/FirstFitPlanner.java#L355

@div8cn can you check if PR #5762 met your requirements and prozaically describe remaining issues, please?

@div8cn can you check if PR #5762 met your requirements and prozaically describe remaining issues, please?

Hi @div8cn please confirm, thanks.

closing this @div8cn , please reopen or create a new one, would you desire more improvements.


x/tools/guru: autocompletion/jump to declaration does not work/is very slow in LiteIDE with Go1.7 beta 1 on Ubuntu amd64

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go1.7beta1 linux/amd64

What operating system and processor architecture are you using (go env)?
Ubuntu amd64

What did you do?
While editing a (~larger) project using the LiteIDE editor, I noticed that the auto completion does not work anymore and "jump to declaration" and "view expression information" functionality is very slow (5-10 seconds delay) right after I updated from Go 1.6.2 to Go 1.7 beta 1 and the slowdown didn't go away after reboot.

What did you expect to see?
Auto completion, "jump to declaration" and "view expression information" should be responsive (like when using Go 1.6.2)

What did you see instead?
Auto completion not working at all; "jump to declaration" and "view expression information" are very slow

What does LiteIDE use for auto-completion?  I'm guessing it is guru?  Except that doesn't make sense, because updating to Go 1.7 beta 1 should not change guru, unless you explicitly rebuilt it.
CC @alandonovan

I haven't use LiteIDE but I am fairly sure that it uses https://github.com/nsf/gocode for autocompletion. You need to update it to the latest version to be able to use with Go 1.7:
go get -u github.com/nsf/gocode

You might also to try using https://github.com/mdempsky/gocode instead.
I suggest to report this issue on LiteIDE bug tracker.

@ianlancetaylor @kostya-sh Reply from LiteIDE author (it solves the issue):
please update and build gotools gocode in go1.7 and copy to liteide/bin
go get -u github.com/visualfc/gotools
go get -u github.com/nsf/gocode