Web Build: Burst and Magnet don't work with controller

for web builds the right and left trigger inputs don't work (R2/L2, RT/LT depending on Controller)

https://github.com/godotengine/godot/issues/81758


[UI] catalog issue on HTTPS

I get the following error:
Mixed Content: The page at 'https://xyz.com/apps/catalog/all' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xyz.com/v1-catalog/templates/elasticsearch/1'. This request has been blocked; the content must be served over HTTPS.

I was going to open a separate issue about this, but it's probably related. I get this regularly, usually trying to access logs or console of a container a few seconds to a minute after loading a page. I can replicate this fairly consistently. Browser refresh fixes the issue for up to a minute.
A sampling of the errors I get:
Mixed Content: The page at 'https://my.rancher.tld/infra/hosts' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://my.rancher.tld/v1/containers/1i741/?action=execute'. This request has been blocked; the content must be served over HTTPS.
Mixed Content: The page at 'https://my.rancher.tld/apps' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://my.rancher.tld/v1/containers/1i525/?action=logs'. This request has been blocked; the content must be served over HTTPS.
Generally, it feels like going from any /apps or /infra/hosts URI to any ?action=* URI starts producing the above error soon after refreshing the page.
My SSL is terminated by an AWS Elastic Load Balancer - @lkoenigsberger do you have a similar setup?

@ebr Not quite Rancher LBAgent does the SSL termination but I think it's the same issue.

Similar but different issues... all the APIs return absolute URLs, so the endpoint needs to know the actual proto & host it was called with to generate the correct links.
For @lkoenigsberger the catalog is a separate process/api running inside the rancher/server container, and we don't currently pass ourselves the proto to return http:// vs https:// correctly in the catalog API.
@ebr For ELB you need TCP balancing (not HTTP, because ELB doesn't support WebSockets) and proxy protocol enabled.

@vincent99 OK Thanks.
So if I want to start a new stack through the catalog feature and I enable the unsecure scripts to load i get the following error.
XMLHttpRequest cannot load https://rancher-mgmt.konetserv.io/v1-catalog/templates/elasticsearch/1.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'null' is therefore not allowed access. The response had HTTP status code 401.

@vincent99 i've had ELB configured correctly since proxy protocol support was added in 0.34.0 and fixed in 0.35.0. but will open another issue about this so as not to hijack this thread, since it seems unrelated.

Joining this issue after closing the duplicate #2468. I am having the same issue with an Nginx load balancer that is handling SSL and HTTP-HTTPS redirects.

QA, please see my comment regarding testing: https://github.com/rancher/rancher-catalog-service/pull/14#issuecomment-152291519

Tested with server version - v0.44.0-rc1
Set up - Rancher server  rancher-server with SSL behind Nginx container as https reverse proxy.
Able to list the catalog and create stack using "Elastic Search" template.


Failing to create authentication headers while creating Rest linked service through PowerShell script

Document Correction Proposal: When creating a REST linked service in ADF, authHeaders may not persist in the linked service configuration.
Overview:
When creating a REST linked service in ADF, authHeaders may not persist in the linked service configuration. This issue occurs despite defining the headers with SecureString in both the JSON template and PowerShell script as recommended.
Sample JSON Template:
The JSON configuration for creating a REST linked service is as follows:
{
    "properties": {
        "type": "RestService",
        "typeProperties": {
            "url": "https://url.com",
            "enableServerCertificateValidation": true,
            "authenticationType": "Anonymous",
            "authHeaders": {
                "x-api-key": {
                    "type": "SecureString",
                    "value": "<API key>"
                }
            }
        }
    }
}

PowerShell Command Used:
Set-AzDataFactoryV2LinkedService -ResourceGroupName "<resourceGroupName>" -DataFactoryName "<ADFName>" -Name "<linkedServiceName>" -DefinitionFile <jsonFileName>
Observed Issue:
Upon successful execution, the linked service is created, but authHeaders are not visible in the linked service configuration.
If manually added, the headers disappear after refreshing the Data Factory studio, potentially impacting authentication.
Correction Details:
Headers are created but have been encrypted so they cannot be listed in UI. As long as you have provided the right value, this linked service should work well (test connection, copy, etc.)
Conclusion:
Following this guide will help users resolve issues with missing headers in REST linked services in Azure Data Factory and allow headers to persist securely and effectively. This approach enhances user experience by ensuring the accuracy and reliability of sensitive configurations in ADF.
Reference:
https://stackoverflow.com/questions/79091839/definition-file-for-a-an-azdatafactoryv2linkedservice/79097542#79097542
This proposal seeks to improve documentation and provide clear guidance to avoid common pitfalls in using secure headers with Azure Data Factory REST linked services.

@AmareswarapuBhavani
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

@AmareswarapuBhavani
Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.

@AmareswarapuBhavani
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


routinator: fix build on darwin

Description of changes
For ultimate inclusion in #292449 to avoid introducing breakage in stable.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 292683 run on aarch64-darwin 1

1 package built:

routinator


include recovery rate/ letality and remaining cases

lot of chinese regions have almost recovered, this could be interesting to know the "recovery rate", letality and how many cases remains to have a better view of the real impact of the virus...

I have proposed a display for "cases remaining" in #15 .

Thanks! added in the newly created situational heatmap. This issue is closed.


Diagrama de secuencia que representa un flujo normal del juego

Codecov Report

Merging #93 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #93   +/-   ##
=========================================
  Coverage     85.71%   85.71%
  Complexity      159      159
=========================================
  Files            39       39
  Lines           350      350
  Branches         24       24
=========================================
  Hits            300      300
  Misses           37       37
  Partials         13       13

Continue to review full report at Codecov.

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


Wrong loading substate is entered.

Given
Router.map(function() {
  this.mount('my-engine');
});

and
app/templates/loading.hbs
app/templates/my-engine-loading.hbs
Only loading.hbs renders while waiting for my-engine. Shouldn't it render my-engine-loading.hbs?

wouldn't it be app/tempaltes/my-engine/loading.hbs?

@knownasilya Not according to https://guides.emberjs.com/v2.13.0/routing/loading-and-error-substates/

It's important to note that for slow-model itself, Ember will not try to find a slow-model.loading template

I should also note that when I turn the this.mount to this.route, it loads the correct template app/templates/my-engine-loading.hbs.

@kellyselden seems like a legit bug. The loading/error substates/routes have been a mess for a long time. We tried cleaning them up last year but looks like we missed this edge case.
I'd recommend adding a failing test here and (if you feel up to it) looking into fixing (which will probably be around here).
Even though the changes will be upstream, we can keep this issue for tracking.

This would need to be application-loading as part of the engine and hoisted from the engine to it's host. It can't load asynchronously and this was an active design decision we made. (Don't know where the documentation for that decision is anymore.) It definitely does not live outside of the engine's namespace as you have described, @kellyselden.
Try it inside of the engine namespace to see if we fully accounted for it or didn't finish implementation.

I don't remember the original decision making process, but I believe it was wrong. A host application should be able to provide a custom loading substate for when an Engine is loading.

I agree with @trentmwillis. It seems like it would make sense for an engine consumer to not depend on an engine to handle the loading substate, and to provide a "fallback" of sorts. It would also put an engine more in line with how routes work, which is a good thing IMO.

I also ran into related issues/confusion on loading sub-states, but eventually got it working after ready @nathanhammond comment. Using application-loading.hbs within the engine, itself works. Following the guides, it seems you can have loading.hbs or application-loading.hbs, but loading.hbs does not work in an engine it seems.
Also,

A host application should be able to provide a custom loading sub-state for when an Engine is loading.

My first inclination was to ONLY have the engine provide its own loading states, but I could see both ways though.
Is the goal to keep allowing engines to provide a loading sub-state, and provide a way for the host application to "override" the engine's sub-state, either automatically or through some config?

Just want to confirm whether this issue is fixed.


SettingsGateway Type Role with Sqlite Provider returning the wrong id

Describe the issue
Using Sqlite provider from Klasa-pieces AND Role SettingsGateway Type returns the wrong id.
Code or steps to reproduce
Client.defaultGuildSchema
    .add('mention', 'Role', { default: null, configurable: true });

this.client.guilds.cache.map(guild => {
    console.log('mention', guild.settings.mention);
}

Expected and actual behavior
Expected role ID returned:<PHONE_NUMBER>28046163
Actual role ID returned:<PHONE_NUMBER>28046200 (typeof number)
Further details

@klasa/core version:
node.js version: 12.5.0
Klasa version: 0.5.0
[ ] I have modified core files.
[ ] I have tested the issue on latest master. Commit hash:

Floating point precision loss

Floating point precision loss

This comes from Klasa or my sqlite conf ?

Likely your configuration. Are you storing the role IDs as a number instead of a string (since no bigints are available)?

Likely your configuration. Are you storing the role IDs as a number instead of a string (since no bigints are available)?

I'm using Type Role (https://klasa.js.org/#/docs/klasa/v0.5.0/Advanced SettingsGateway/SettingsGatewayKeyTypes).
I'm not sure it comes from sqlite node-sqlite. It rewrited the role serializer, with discord.js v12 RoleManager, and it works fine now. Except I have this Successfully updated the key rewards.mention: undefined after using !conf set. I'm searching why.


ELB-V2 vs ELB?

I have noticed that "Target Group" scripts has been added (ELB-V2). What is the difference between running CodeDeploy on a Target Group vs regular Load Balancers? I've been scratching my head on the exact benefits to a Target Group over a Load Balancer, and whether there is value in moving to V2.
I'm trying to solve unpredictable errors in the deregistering and registering of instances from a LB during a deployment - which have been occurring recently - following 3 months of continuous deployments with no hitch. Thanks in advance.

The V1 was to support the classic load balancer that routes traffic based on either application or network level information, and the V2 supports application load balancer, which is a new type that ELB supports, that routes traffic based on advanced application level information that includes the content of the request. More information can be found here: https://aws.amazon.com/elasticloadbalancing/
Basically if you want to the classic load balancer, you can continue to use the V1 script for ELB. If you have plans to use ALB, V2 script for ELB would be the sample to use.

the ALB (ELBv2) has another advantage: you can run WAF in front of it \o/


talisman upgrade

Package version (if known): latest
Describe the bug
The dependency on very old talisman <0.5.1 is a blocker
Steps to Reproduce

I am consistently (every time) encountering the issue with AttributeError (due to race condition). It crashes the server with uwsgi/gunicorn
They have fixed and upgraded to 0.5.1 - it is now at 0.7
https://github.com/GoogleCloudPlatform/flask-talisman/issues/22

Expected behavior
It is to be upgraded to latest
Screenshots (if applicable)
Additional context
Also saw the related issue in https://github.com/inveniosoftware/invenio-admin/issues/66
But the upgrade in this core package should not be held up as the downstream app fails without it.
Further, I've locally upgraded to 0.7 and it fixes the AttributeError problem.

Any ETA on fixing this major bug ?
Its 3 years since it was fixed by talisman.


Markdown not parsed for description key on main resource JSON object

The Markdown embedded in the description does not get parsed properly:
{
  "id": "/myResource",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "My Resource",
  "description": "This is my resource **API** doc. And here is a link: [link text](#anchor)",
  "type": "object"
}

Is rendered as a literal string:
This is my resource **API** doc. And here is a link: [link text](#anchor)

(This lib doesn't support markdown out of the box now. However, you can solve it with a handlebar helper.)


W1N21 suboptimal base positioning

due to base positioning, builders in this room have to exit the bunker to repair certain walls.

one possible fix would be to move the template down one position


TypeMap root=array not supported

I was experimenting with this bundle to store the failed messages in MongoDB, and its was very easy to achieve. Thank you so much!
I did notice the following
In Connection.php line 179:

  [TypeError]
  Return value of Facile\MongoDbMessenger\Transport\Connection::find() must be an
instance of MongoDB\Model\BSONDocument or null, array returned

For historical reasons, our typeMap is:
[
        'root' => 'array',
        'document' => 'array',
        'array' => 'array',
    ];

I got around this issue by changing the Connection.php file to
    public function find(string $id): ?BSONDocument
    {
        $typeMap = $this->collection->getTypeMap();
        $typeMap['root'] = BSONDocument::class;

        return $this->collection->findOne(['_id' => new ObjectId($id)], ['typeMap' => $typeMap]);
    }

// Similar change is needed in get() and findBy()

but not sure if that is a good solution? What do you think?

Closing due to #7


Since nothing is returned

since nothing is returned, the return statement 'null' isn't really true

Thanks, but it's illegal to use void in a union type.


Replaced clamp with std::clamp

[x] Has this change been discussed on the forum or in an issue before?
[x] Does the code follow the SFML Code Style Guide?
[ ] Have you provided some example/test code for your changes?
[ ] If you have additional steps which need to be performed list them as tasks!

Description
Changed clamp with std::clamp removed the declaration of clamp declaration from Vulkan.cpp
This PR is related to the issue #2313
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

Could you please fix all four files I mentioned in that issue?

SFMLBuildMaster: Build this please.

I actually checked

Island.cpp
Joystick.cpp
SFOpenGLView+mouse.mm

But did not found out std::min and std::max used to replace std::clang , mentioning the code parts below
Island.cpp Includes these

elevation      = std::min(std::max(elevation, 0.0f), 1.0f);

float factor = std::min((elevation - 0.4f) / 0.1f, 1.f);

float factor = std::min((elevation - snowcapHeight) / 0.05f, 1.f);

unsigned int rowEnd   = std::min(rowStart + rowBlockSize, resolutionY);

std::min(std::max(elevation, 0.0f), 1.0f);

In Joystick.cpp
there is no use of std::min , std::max or self defined clang

In SFOpenGLView+mouse.mm

rawPos.x       = std::min(std::max(origin.x, rawPos.x), origin.x + size.width - 1);
rawPos.y       = std::min(std::max(origin.y + 1, rawPos.y), origin.y + size.height);

https://github.com/SFML/SFML/blob/50d86e4755cfb0fecc191bd9d5e226f6a7ebf18a/examples/island/Island.cpp#L310
https://github.com/SFML/SFML/blob/50d86e4755cfb0fecc191bd9d5e226f6a7ebf18a/examples/joystick/Joystick.cpp#L213
https://github.com/SFML/SFML/blob/50d86e4755cfb0fecc191bd9d5e226f6a7ebf18a/src/SFML/Window/OSX/SFOpenGLView%2Bmouse.mm#L387-L388

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

Thank you!


range of truncnorm.logpdf could be extended

When calling the truncated normal distribution with an interval far away from zero, the logpdf seems to exhibit a numerical underflow even though it would be well defined.
from scipy.stats import truncnorm
print(truncnorm.logpdf(-39.9, -40, -39)) # should be around -40, but is inf

There are applications for values so far from the truncation interval, for example when doing mean regression with a truncated Gaussian likelihood, where the initial guess for the mean might be far of.
Scipy/Numpy/Python version information:
1.1.0 1.14.2 sys.version_info(major=3, minor=6, micro=5, releaselevel='final', serial=0)

Possibly a related solution by Zdravko Botev and Pierre L'Ecuyer
https://www.iro.umontreal.ca/~lecuyer/myftp/papers/truncated-normal-book-chapter.pdf

fixed by gh-10104


Extension host crashing on button press in Webview

Does this issue occur when all extensions are disabled?: No
I'm developing a extension that has a webview as userinterface. I always had a bug that if you leave my custom search bar suggestions open (an ul that gets filled and made visible if the user types in the search bar) and then click on this button the webview would get blank and you have the extension host crashed log. But now i got the debugger into a state so that if press this button without being in that view state that the search suggestion thing could appear view would crash. The most anying thing is that I have no debug output other than this log in "Main":
2024-09-06 09:32:51.001 [error] CodeWindow: failed to load (reason: ERR_BLOCKED_BY_CLIENT, code: -20)
2024-09-06 09:33:02.274 [info] Extension host with pid 37192 exited with code: 0, signal: unknown.
2024-09-06 09:33:18.748 [error] Blocked vscode-webview request vscode-webview://07ah2qk3gn0a6knrq6q3pnd6p9d310f8gqc9g48lfsosvfbe2dc2/index.html?

No logs in the chrome dev console, no logs in the extension host, no logs in the host instance debugging this extension.
For testing I once removed all event listeners on that button in the chrome dev tools before pressing the button but nothing changed it still crashes. Also excluding all my JS one after another did also not solve the issue. What should / can I do to get you and me more information on how and where this crash is caused?
(a different log when not removing some of my html input elements before reloading can be found here: https://github.com/microsoft/vscode-discussions/discussions/1605#discussion-7143189)

VS Code Version: v1.92.2
OS Version: Windows 11 Pro 22631.4112

Steps to Reproduce:
I'm not realy sure how to reproduce it on different systems.

If i would hit restart to update my debug instance where the webview is crashing every time i hit the button would disappear.

Nope.
Ok, so i just tracked the issue down to not clearing the project name input in time or by removing the required from the project name input and then clicking on the button.
So the minimal example for reproducing this bug I have is following:
gh repo clone raspberrypi/pico-vscode
cd pico-vscode
yarn
yarn run compile
code .

Then either remove one of the two lines in web/nav.js  with the header // clear input to avoid crashing the webview or alternatively remove the required in src/webview/newProjectPanel.mts  which is suffixed by <!-- without this required the webview will crash every time you hit the examples button -->.
Now just hit debug in vscode and then open the activity bar panel added by the extension and click on "New Project".
If you now enter a char in the project name input and hit the "Examples" button it will crash or if you remove a different one of the lines i mentioned above, you would have to do the same step but then enter a different char like 'b' into the new search for examples project name input and while the suggestions box is open hit the "Custom" button.

Sorry for not having a simpler example. But without any output at all I'm not sure how to even get started building a minimal reproduceable example.

Thanks for the example code. I didn't debug fully but it looks like your webview is using a <form>.  You can use the form element for rendering but not for submitting anything. We block that and I suspect that's what causing the issue
Try adding .preventDefault() call on the form to prevent it from actually submitting


worker.stop does not stop the worker (with pyzeebe 3.0.0rc3)

Describe the bug
We have simple example that runs worker and it should stop it after 5 seconds, but it is never stopped.
The tested code
import asyncio
import signal
from pyzeebe import ZeebeWorker, create_insecure_channel

async def main():
    channel = create_insecure_channel("zeebe", port=26500)
    worker = ZeebeWorker(channel)

    @worker.task(task_type="my_task")
    async def my_task(x: int):
       return {"y": x + 1}

    async def stop_worker(*args, **kwargs):
        await asyncio.sleep(5)
        print("worker.stop")
        await worker.stop()
        print("end of stop_worker")

    async def run_worker():
        print("worker.work")
        await worker.work()
        print("end of run_worker")

    print("start")
    work_task = asyncio.create_task(run_worker())
    stop_task = asyncio.create_task(stop_worker())
    await work_task
    await stop_task
    print("end of main")

asyncio.run(main())

It prints following output
start
worker.work
worker.stop
end of stop_worker

Script is never ended and message "end of run_worker" is never printed.
Versions:

Python 3.8 in docker/linux
pyzeebe 3.0.0rc3

Guess the problem
Isn't the code stucked on the:
job = await self.get_next_job()
until the next job is added to queue
see:
https://github.com/camunda-community-hub/pyzeebe/blob/pre-release/3.0.0/pyzeebe/worker/job_executor.py#L24
( it looks like the self.stop_event.is_set() is verified only after the job is executed, but if the job is not received, the test self.should_execute() is not called and the executor is not stopped )

Hey @tomas-zemres. First of all, thank you for bringing this to my attention!
I have opened a pull request that should fix this issue (#199). I plan to include this in version 3.0.0rc4. If you could in the meantime confirm that this fixes your problem, that would be great!

Hey @tomas-zemres. First of all, thank you for bringing this to my attention!
I have opened a pull request that should fix this issue (#199). I plan to include this in version 3.0.0rc4. If you could in the meantime confirm that this fixes your problem, that would be great!

Yes, this code fixes the problem. Thank you.

Fixed in v3.0.0rc4


Merge IBeaconParams into IChainOptions

IChainOptions should contain all IBeaconParams properties
Generate beacon params fields in ChainOptions object (beacon params should not be configurable by cli.(don't add cli property)
rename "name" to "preset" and put null as default value
if preset is present and valid ("mainnet" or "minimal" for now) apply default values from ./params/presets/{preset}
Use IChainOptions to generate ssz types in BeaconNode/Validator

Nope, original idea is wrong, as it assumes only chain submodule uses IBeaconParams.
We should probably separate options from config. Where options are settings for each module, while config is global module that contains types and IBeaconParams.
This issue should focuse on defining config module, cli descriptions for IBeaconParams and generating types based on params changes and chain name


Align passcode generation with kli salt

Using 32 bytes rather than 16 bytes aligns SignifyTS passcode generation with KERIpy's kli salt command.
The generatePasscode function from SignifyTS has generated some passcodes that don't end up working for me.
export function randomPasscode(): string {
    const raw = libsodium.randombytes_buf(16);
    const salter = new Salter({ raw: raw });

    return salter.qb64.substring(2);
}

From the kli salt command it is similar, though not quite the same:
print(coring.Salter(raw=pysodium.randombytes(pysodium.crypto_sign_SEEDBYTES)).qb64)

For whatever reason the libsodium.randombytes_buf(16)  in Typescript doesn't produce the same results as pysodium.randombytes(pysodium.crypto_sign_SEEDBYTES)
I seen problems with any random 21 character string which is why I started trying to constrain it with functions from Signify.
I found the following it in the Libsodium Github Repo here. In the C code
// in libsodium/src/libsodium/include/sodium
/crypto_sign.h
#define crypto_sign_SEEDBYTES crypto_sign_ed25519_SEEDBYTES

// which references the following in
// src/libsodium/include/sodium/crypto_sign_ed25519.h
#define crypto_sign_ed25519_SEEDBYTES 32U

Looks like the Python impl uses 32 bytes and SignifyTS is currently using 16 bytes.

There is some confusion here. A true random salt only needs 16 bytes of entropy to be cryptographically strong. The private keys for libsodium are called seeds in libsodium. They are used to generate public keys via a scalar (seed) multiplication of an ECC point. The strength of ECC scalar multiplication is only the square root of the size of the scalar (seed). So in order to have cryptographic strength of 128 bits of entropy the scalar multiplication must be 256 bits. Hence the reason for libsodium seeds being 256 bits (32 bytes). When a salt is not being used as a seed for scalar multiplication but is used to inject entropy into a hash then it only needs to be 16 bytes. The hash itself needs to be 32 bytes for the same reason. The cryptographic strength of the hash is only the square root of the size of the hash. So a 32 byte hash has only 16 bytes of cryptographic strength. So in the interest of economy, there is little to no benefit to using random Salts bigger than 16 bytes. When those Salts are used to generate hashes that that are 32 bytes or seeds that are 32 bytes.

Thank you for the detailed explanation with distinctions between the salt and seed. This makes sense to me now. I'll close this issue.
If I understand correctly what you've said then for consistency we may want to change the kli salt command in KERIpy to use only 16 bits of entropy.


[Feature] Support for per workflow DataReference (RawDataOutput) configuration

Motivation: Why do you think this is important?
Today Flyte stores data in a preconfigured data output sandbox. It may be desirable to customize this per workflow execution. FlytePropeller should be able to configure this dynamically for the execution.
Goal: What should the final outcome look like, ideally?
A user could launch a workflow with their own data-sandbox paths, all data is created in that path.
Describe alternatives you've considered
Today Flyte supports custom data paths, but they are supported in flytekit. The user now has to take care of de-duplication, conflicts, uniqueness etc. This solution would make this simpler for the user.
Flyte component

[ ] Overall
[ ] Flyte Setup and Installation scripts
[ ] Flyte Documentation
[ ] Flyte communication (slack/email etc)
[x] FlytePropeller
[x] FlyteIDL (Flyte specification language)
[ ] Flytekit (Python SDK)
[x] FlyteAdmin (Control Plane service)
[ ] FlytePlugins
[ ] DataCatalog
[ ] FlyteStdlib (common libraries)
[ ] FlyteConsole (UI)
[ ] Other

[Optional] Propose: Link/Inline
This can be done easily in FlytePropeller. It already has support for DefaultDataSandbox. FlyteAdmin may decide to add a new sandbox per workflow.
Additional context
NA
Is this a blocker for you to adopt Flyte
Nope. But this will definitely enable usecases like fully managed workflows for sensitive data applications.

How do we want to do this?
Since Feb 2020, Flyte plugin machinery has supported the notion of a RawOutputPrefix, detailed in the code here.  From a user's perspective, this is currently set in a workflow repo's flytekit config.  This is fine for now, but for tasks like the Presto task, which does not involve running the user's container, there is currently no way to get at this information at runtime.
The thinking right now is that this seems pretty closely tied to the role that a workflow execution would ultimately run with, since where a workflow execution writes its output is closely tied with permissions and permissions are closely tied with IAM roles/service accounts.  Currently, there is an entry for the AuthRole inside the LaunchPlanSpec.  This is used shortly before actually creating the FlyteWorkflow CRD on the K8s cluster.  From there, the metadata flows through to all objects created (like Pods) created for that CRD.
Unlike the auth role, which takes the form of a K8s metadata annotation, or a K8s entity ServiceAccount, the OutputPrefix has no parallel in the K8s domain, it's an entirely Flyte concept.  How do other pure-Flyte settings flow from the control plane into a WF CRD's objects?  Things like Flyte's cname address, oauth settings, statds hostnames, aws cli control settings, are all set via environment variables by propeller upon execution.
The proposed steps are:

Add an entry into the launchplanspec for an output prefix (I think we can drop the 'raw' bit).
In flytekit, read in the current configuration and include it in the launchplanspec sent up to Admin.  This effectively elevates this config from the user repo to the Flyte control plane.
When it comes time for execution, Admin should pass down this information to the WF CRD.  This information will need to make it down to
i. User pods/containers, as created by various plugins.
i. TaskExecutionContext objects provided by Propeller to plugins
We should probably pass this information by both
i. Appending an environment variable to the CRD before creating it.  This has the advantage of downstream K8s objects automatically picking it up if environment variables are supported.
i. As an explicit object on the WF CRD.
Flytekit currently uses the S3 shard formatter option for three things: writing blobs, writing schemas, and generating Hive query output locations.  I think we should just add a quick redirect for now to first look up the value of the new environment variable added, and we can think about the rest later.  This change should be done as a separate PR from the above.

To preserve existing behavior, Propeller should not set the environment variable, nor set the new WF CRD field if the launch plan does not have the OutputPrefix explicitly set.

We should probably pass this information by both
As an explicit field on the WF CRD. This field will store the full string as specified by the user, but with no {} sharding characters.
Fill in templated values like we do for {{ .Inputs.blah }} currently, only now we'll also fill in {{ .outputDataPrefix }}
I do not follow this.

So IMO,
OutputPrefix should be part of the configuration, which can be overriden for a specific execution as well. We could create execution config as a meta-object, where OutputPrefix is one attribute
I agree, this is passed into the CRD as a top level attribute.
FlytePropeller should set this value as a command line option whenever it encounters {{ .ouputs.prefix }} or similar variable.
You will need to update the templating logic - https://github.com/lyft/flyteplugins/blob/master/go/tasks/pluginmachinery/utils/template.go#L20
And use
https://github.com/lyft/flyteplugins/blob/master/go/tasks/pluginmachinery/io/iface.go#L51

After some in person discussion, we have decided it's best to use an object to encapsulate the IDL change, in case future settings are also required (sharding behavior for instance).  These can be added in the future as part of other tickets.
Also revamping execution time overrides is out of scope for this ticket, so for now, users will not be able to override the output prefix.  If users want to write to a different location, they will have to create a new launch plan object.

@EngHabu this seems to have been completed?

i'm not gonna have enough time to test everything by Friday.

Minimum versions for everything to work for this feature:
IDL: https://github.com/lyft/flyteidl/releases/tag/v0.18.1
Admin: https://github.com/lyft/flyteadmin/releases/tag/v0.3.1
Propeller: https://github.com/lyft/flytepropeller/releases/tag/v0.3.10
Plugins: https://github.com/lyft/flyteplugins/releases/tag/v0.4.5
Flytekit: tba


Fix babel-plugin-jest-hoist: getting full list of whitelisted globals

Ref #8427

Summary
As mentioned in #8427, Node v12 has changed the enumerability of global.process and global.Buffer, thus the list of allowed globals became much shorter. I believe, that suggested change will improve the testing experience because it provides more complete list of available globals that can be safely used in hoisted mocks.
Test plan
I ran the e2e test for this plugin and it was all green.
npx jest
 PASS  __tests__/typescript.test.ts
 PASS  __tests__/integrationAutomockOff.test.js
 PASS  __tests__/integration.test.js

Test Suites: 3 passed, 3 total
Tests:       12 passed, 12 total
Snapshots:   0 total
Time:        2.25s

P.S. I signed the CLA.

Codecov Report

Merging #8429 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #8429   +/-   ##
=======================================
  Coverage   62.32%   62.32%
=======================================
  Files         266      266
  Lines       10733    10733
  Branches     2614     2615    +1
=======================================
  Hits         6689     6689
  Misses       3461     3461
  Partials      583      583

Impacted Files
Coverage Δ

packages/babel-plugin-jest-hoist/src/index.ts
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


GITHUB_ACTION_PATH is underspecified

Code of Conduct

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

What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/variables
What part(s) of the article would you like to see updated?
GITHUB_ACTION_PATH should mention that the path includes a path if there is one.
Additional information
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062421#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062371#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main/test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813737#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813568#step:2:71

GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/ambig/uous/test/nested

Note that it isn't possible to distinguish where the end of the reference is from where the path within the repository is.
https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062310#step:3:72

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./

https://github.com/jsoref/show-action-path/actions/runs/4586308014/jobs/8099062475#step:3:72

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test

https://github.com/jsoref/show-action-path/actions/runs/4589129402/jobs/8103813842

GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test/nested

👋 Hey @jsoref - Thanks for opening an issue! I'll get this triaged for review 👀

@cmwilson21: 😦

@jsoref Thanks for the ping! Reopened now 👍

Hey @jsoref, thanks (again) for your patience with us as we work through all of the issues in our backlog. We appreciate it! 🙇♀
So I have been reading this issue for a bit and I am not quite sure what it is requesting.

GITHUB_ACTION_PATH should mention that the path includes a path if there is one.

I'm wondering if you could clarify this a little bit more for me? Like an example of how people could get tripped up when they are using this variable would probably help me understand a little bit more. Thank you!

@SiaraMist: Actions can either be in the root of a repository, or nested elsewhere. If your action isn't in the root of the repository, then GITHUB_ACTION_PATH will include the path to the directory (e.g. test/nested) containing your action definition file (action.yml / action.yaml).
See runs near https://github.com/jsoref/show-action-path/actions/runs/6803939968/job/18500393858
GITHUB_ACTION_PATH=/home/runner/work/_actions/jsoref/show-action-path/main/test/nested

or
https://github.com/jsoref/show-action-path/actions/runs/6803939968/job/18500394278
GITHUB_ACTION_PATH=/home/runner/work/show-action-path/show-action-path/./test

@jsoref thanks for the quick response! ⚡
That part does make sense to me. In the documentation, it says that GITHUB_ACTION_PATH is "the path where an action is located." I would interpret that as including the path to the specific directory. Is it when that is combined with the advice on how to use it that it becomes confusing? "You can use this path to access files located in the same repository as the action." I could see how that sentence indicates it's just the path to the repo where the composite action is located and not the path to the specific action. Am I on the right track for why this definition is confusing, or am I missing something?

Yes. That's the problem.

Ok

Thanks for the clarification @jsoref!
We could update the description to say something like:
The path where an action is located. This property is only supported in composite actions. You can use this path to change directories to where the action is located and access other files in that same repository. For example, `/home/runner/work/_actions/repo-owner/name-of-action-repo/v1`.

You or anyone is welcome to open a pull request to make this change.


Deploying an instance of prometheus via operator into application name space - Permission issue

Hi,
Ive deployed the operator and via HELM into my cluster successfully and its working with the out of the box components .
Now when i deploy an instance via the operator into another name space to monitor application specific metrics, i get an error with permissions.
ie
level=error ts=2019-05-20T10:47:37.700320466Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:300: Failed to list *v1.Endpoints: endpoints is forbidden: User "system:serviceaccount:test-namespace:default" cannot list endpoints in the namespace "test-namespace""
level=error ts=2019-05-20T10:47:38.701151262Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:302: Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:test-namespace:default" cannot list pods in the namespace "test-namespace""
level=error ts=2019-05-20T10:47:38.707869372Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:300: Failed to list *v1.Endpoints: endpoints is forbidden: User "system:serviceaccount:test-namespace:default" cannot list endpoints in the namespace "test-namespace""
level=error ts=2019-05-20T10:47:38.707885891Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:301: Failed to list *v1.Service: services is forbidden: User "system:serviceaccount:test-namespace:default" cannot list services in the namespace "test-namespace""
level=error ts=2019-05-20T10:47:39.70255881Z caller=klog.go:94 component=k8s_client_runtime func=ErrorDepth msg="/app/discovery/kubernetes/kubernetes.go:302: Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:test-namespace:default" cannot list pods in the namespace "test-namespace""
I created the application instance of Prometheus with the following configuration.
apiVersion: v1
kind: Service
metadata:
name: prometheus-test
labels:
service: prometheus-test-instance-service
application: test
spec:
ports:

port: 9090
name: http
selector:
application: test

apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus-test-instance
namespace: test
labels:
application: test
spec:
replicas: 1
serviceMonitorSelector:
matchLabels:
application: test
ruleSelector:
matchLabels:
role: prometheus-rulefiles-test
namespaceSelector:
namespace: test
containers:
resources:
limits:
cpu: 200m
memory: 100Mi
requests:
cpu: 100m
securityContext:
runAsNonRoot: true
runAsUser: 65534
serviceAccountName: prometheus
alerting:
alertmanagers:
- namespace: test
name: alertmanager-main
port: web
By default i set via the Helm values to set the service account for the RBAC rules to be named Prometheus.
Do you know what extra configuration i need to add to the above file to configure it to inherit the permissions of the account created by the operator. Which has rights to all namespaces.
Thanks

We neither maintain nor use the helm charts. I recommend opening an issue on the upstream helm charts repo. This look like the helm chart is not setting up RBAC permissions appropriately.


Product images are not showing

Bug report
On production, images are not loading
I followed the bellow site instructions
but still not resolved the issue
https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions
Issue Description
on landing page

same on description page

Description helps the developers to understand the bug. It describes the problem encountered or some after effect of some kind.
Preconditions
Please provide as detailed information about your environment as possible.
I run  all the commands bellow but still the issue not fixed at
composer update
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
composer dump-autoload
php artisan vendor:publish
php artisan storage:link
rm public/storage
php artisan storage:link

@rahulshukla-webkul , @jitendra-webkul
I'm trying a clear cache browser many times, but I still get an error.
Why 'cache/small' or 'cache/original' or 'cache/medium' on URL image product?. I see the image uploaded on the Storage folder. Why we need 'cache/small/product' instead of 'storage/product' ?
Thanks.

Hi,  @keeloren
In root run the bellow command
php artisan config:cache

Hi @venkat402 , I'm using docker.
run php artisan config:cache.

but still gets an error.

where is  'cache/small' and why it includes to URL image :(

Hi @keeloren
Please follow the given link for solution - https://forums.bagisto.com/topic/188/broken-image-logo-in-bagisto-with-causes-and-solutions

HI @rahulshukla-webkul , I try to run that command on the link solution. But it does not work :((

Hi @keeloren
Do the following things, from the root of your directory -
cd public
unlink storage
cd ..
php artisan storage:link
Thanks

Hi @rahulshukla-webkul,
I follow this, but nothing has changed. So sad ~.~
I spent a lot of time on this and wish to fix this. Thank you.

In the Storage folder, I do not see the folder 'cache', or 'large'. But why 'cache/large' have been include URL image?

Hi @venkat402
Actually we are caching images in three different sizes.
Can you tell me , whats is your APP_URL in .env file ?
Is that - localhost::9000 or not.
Thanks

HI @rahulshukla-webkul @venkat402 .
My APP_URL = http://localhost:9000
Please tell me to know where the folder has caching images in three different sizes? Thanks.

Change APP_URL =http://localhost/project_name/public/

HI @venkat402 @rahulshukla-webkul
I solved it. Many thank for support :)

Hi @venkat402 @rahulshukla-webkul
I solved it. Many thank for support :)

how u r solve it :(

when i run : composer dump-autoload
Generating optimized autoload files
Deprecation Notice: Class Webkul\Admin\DataGrids\CartRuleCouponsDataGrid located in ./packages/Webkul/Admin/src/DataGrids/CouponsDataGrid.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Shop\TriggerCest located in ./tests/trigger/Shop/TriggerCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Shop\DatabaseLogicCest located in ./tests/trigger/Shop/DatabaseLogicCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Webkul\Admin\ProductCest located in ./tests/functional/Admin/Catalog/ProductCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Catalog\AttributeFamilyCest located in ./tests/functional/Admin/Catalog/AttributeFamilyCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Catalog\AttributeCest located in ./tests/functional/Admin/Catalog/AttributeCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Catalog\CategoryCest located in ./tests/functional/Admin/Catalog/CategoryCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Sales\InvoiceCest located in ./tests/functional/Admin/Sales/InvoiceCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Sales\RefundCest located in ./tests/functional/Admin/Sales/RefundCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Sales\OrderCest located in ./tests/functional/Admin/Sales/OrderCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Sales\ShipmentsCest located in ./tests/functional/Admin/Sales/ShipmentsCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Customer\GroupsCest located in ./tests/functional/Admin/Customer/GroupsCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Customer\CustomerCest located in ./tests/functional/Admin/Customer/CustomerCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Customer\NewsletterSubscriptionCest located in ./tests/functional/Admin/Customer/NewsletterSubscriptionCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Admin\Customer\ReviewCest located in ./tests/functional/Admin/Customer/ReviewCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Shop\ProductControllerCest located in ./tests/functional/Shop/ProductControllerCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Shop\GuestCheckoutCest located in ./tests/functional/Shop/GuestCheckoutCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Cart\CartTaxesCest located in ./tests/functional/Shop/CartTaxesCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Checkout\Cart\CartCest located in ./tests/functional/Checkout/Cart/CartCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Functional\Checkout\Cart\OrderCest located in ./tests/functional/Checkout/Order/OrderCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Acceptance\GuestCheckoutCest located in ./tests/acceptance/GuestCheckoutCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Category\CategoryCest located in ./tests/unit/Category/CategoryCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Core\CoreCest located in ./tests/unit/Core/CoreCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Product\Helpers\ProductTypeCest located in ./tests/unit/Product/Helpers/ProductTypeCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Checkout\Cart\Models\CartModelCest located in ./tests/unit/Checkout/Cart/Models/CartModelCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Checkout\Cart\Controllers\CartControllerCest located in ./tests/unit/Checkout/Cart/Controllers/CartControllerCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Tests\Unit\Tax\Helpers\TaxCest located in ./tests/unit/Tax/Helpers/TaxCest.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover

In PackageManifest.php line 177:
The /home/bagisto/public_html/bagisto/bootstrap/cache directory must be pre
sent and writable.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

make ur env url right like this APP_URL=http://localhost/project/multi-use/sham-ecommerce/public/

the other thing that helped me through my three days journey is to manually delete storage folder in public folder and then do php artisan storage:link

Actually I fixed the issue by removing my custom package from the webkul packages
When I remove
"Webkul\SMS": "packages/Webkul/SMS/src"
from psr-4 composer.json then it works fine
else
it is failing to show the images

the other thing that helped me through my three days journey is to manually delete storage folder in public folder and then do php artisan storage:link

@venkat402 Actually I've got the same problem. I run all the commands above and also changed app_url as above. but it does not work.

Delete storage directory resides in the public folder
Then create storage link
On Mon, May 25, 2020 at 4:52 PM vivekshubhu<EMAIL_ADDRESS>wrote:

@venkat402 https://github.com/venkat402 Actually I've got the same
problem. I run all the commands above and also changed app_url as above.
but it does not work.
[image: 1]
https://user-images.githubusercontent.com/51329802/82808553-ec56e200-9ea9-11ea-9332-d01635552f15.PNG
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bagisto/bagisto/issues/2152#issuecomment-633523544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHEMFMIGIBPEHEZHU7WCLZLRTJIGLANCNFSM4KL5JMKQ
.

--
Thanks and Regards
Venkat A
P.no : 91+ 9052 380 780.
Email<EMAIL_ADDRESS>

any fix for this ?? when moving image files from one host to another this happens i did all above but still the images wont load they load in admin panel but not front shop

php artisan storage:link this every time if u move folder it work or u can change upload image file location to public

@riwash  no i tried that this didnt solve it for me

Hi,
I get stuck in this error when running Bagisto with nginx and reserve-proxy (client -> proxy -> nginx (bagisto) )
Nginx is running at port 83 and root is point to bagisto public directory.
APP_URL=http://domain.com
php artisan storage:link said
The [/var/www/html/xxx/public/storage] link has been connected to [/var/www/html/xxx/storage/app/public].
images are good in admin but not show in frontend.
any help please!

Hi @chiendv,
There are possibly only two reasons,

First, either your APP_URL is not correct in .env file. Just change that and run php artisan optimize.
Second, the GD extension maybe not be installed as mentioned in the docs because in Bagisto we are using the Laravel intervention package which optimizes the image.
https://devdocs.bagisto.com/1.x/introduction/requirements.html#php-extensions

Hi @devansh-webkul,
Thanks for you quick response.
I has resolved it by check config of nginx and comment out config lines for cache static files
        #location ~* \.(jpg|jpeg|png|gif|ico|mp3|mp4|mov)$ {
        #       expires 30d;
        #}

Hope it can help other people with this kind of issue.

Hi @devansh-webkul,
Thanks for you quick response.
I has resolved it by check config of nginx and comment out config lines for cache static files
        #location ~* \.(jpg|jpeg|png|gif|ico|mp3|mp4|mov)$ {
        #       expires 30d;
        #}

Hope it can help other people with this kind of issue.

what if i want to cache statick files?

We are using the default Laravel configuration and mostly these are cached. If you need to customize you can feel free to do it at your instance.


Overview of commands

What question should the reference manual answer?
What are the different commands that can be used in a Lean module?

In the manual you already have some notes on what you plan for here,

Describe the various families of available commands (definition-like, #eval-like, etc).

but just to note one that should not be forgotten: what does #check do?


Login interface bug

There is a display problem in the input password position in the account login interface. The X for cancelling the password overlaps with the display password option, resulting in the failure to click the icon behind the input password to view the input password

thank you, I have removed the clear button on the login
https://github.com/gochendong/bulita/commit/d7dea670f96482803238f9d0300e0b929b71ea31


GCM Sender ID (null) and Push Plugin register failed after upgrade to 1.9.4

Actual Behaviour
I just upgraded from phonegap-plugin-push 1.9.2 to 1.9.4 and after having build my app, when I run it, I face following error which I didn't faced before:
GCM Sender ID (null)
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Cordova CLI: 6.5.0
Ionic Framework Version: 2.1.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.2.1
Xcode version: Xcode 8.2.1 Build version 8C1002
Plugin version
phonegap-plugin-push: 1.9.4
@ionic-native/push: 3.0.0
Logs:
2017-03-04 10:32:25.781185 MyApp[322:22008] Push Plugin register called
2017-03-04 10:32:25.781358 MyApp[322:22008] PushPlugin.register: setting badge to false
2017-03-04 10:32:25.781410 MyApp[322:22008] PushPlugin.register: clear badge is set to 0
2017-03-04 10:32:25.781439 MyApp[322:22008] PushPlugin.register: better button setup
2017-03-04 10:32:25.785789 MyApp[322:22008] GCM Sender ID (null)
2017-03-04 10:32:25.785865 MyApp[322:22008] Using APNS Notification
2017-03-04 10:32:25.792729 MyApp[322:21977] Push Plugin register failed

Back to 1.9.2, now I see that error there too ... maybe due to a Cocoapods update?

I removed my all platform, added it again, did all the settings and...it works again ;)

Which version did you end up using?

@hassanthegooner  actual/last version
phonegap-plugin-push: 1.9.4
@ionic-native/push: 3.0.0


GCP Services Guide

Description of your changes
This PR adds GCP Services Guide by installing Wordpress using an existing cluster but provisioning database via Crossplane.
Tested end-to-end. Inspired by https://github.com/crossplaneio/crossplane/pull/800
Related to https://github.com/crossplaneio/crossplane/issues/778

Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation, examples, or release notes.
[x] Updated the RBAC permissions in clusterrole.yaml to include any new types.

@suskin Thank you for your thorough review! I think it's ready to be reviewed again.

Disclaimer: I'm merging these changes without thoroughly reviewing them myself. They've gone through extensive review up until this point and we're taking a "merge it now, tweak it later" approach to documentation in order to ensure we have something in time for the 0.3 release.


How to get current item object?

I wanna get the current Map item selected. How can I do it?

I wanna get the current Map item selected. How can I do it?

That would be MM.App.current

Thanks a lot!


[BUG] challenge 248, Mutations.

challenge N 248: don't accept string.split(''); like a function.
Challenge Mutations has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function mutation(a,t) {
  var y = a.split('');
  if(x>=0){
    return true;
  }else return false;
}

mutation(["hello", "hey"]);

Your mutation function gets an array from mutation(["hello", "hey"]), so array have no split function

Hello world z

oh tks.... my bad  it was a mistake


[FEATURES] How to customize labels for pvc created by runtime?

What feature you'd like to add:
Sometimes we might add some custom labels to pvc created by runtime. Now I notice in AlluxioRuntime, there're spec.fuse.podMetadata, spec.master.podMetadata, spec.worker.podMetadata to specify labels for pod. But where could I add custom labels to pvc?
Why is this feature needed:
In our internal platform, we add some labels like creator-id and creator in pvc for checking who creates this pvc. So specifying custom pvc labels may be necessary

What about spec.pvcMetadata ?

What about spec.pvcMetadata ?

Great, I'll try to write a PR to use spec.pvcMetadata

Probably there may be another use case where we need something like pvMetadata?


Bug Report: Could not find directory of OpenSSL installation

I am facing this build issue here: https://github.com/d1onys1us/stn/actions/runs/7852370373/job/21430665311#step:7:508
For linux-musl build. Please let me know if I shoulud provide more details.

The issue comes from linking against OpenSSL when building the openssl-sys crate. Because the host OS the build is running on uses glibc, the OpenSSL you have available to link against uses glibc instead of musl; it's incompatible with a musl build. You'll want to either avoid linking to OpenSSL, or use custom runners to build on a musl-based host OS.

hey @d1onys1us - @mistydemeo is right about this. i took a look at your cargo.toml and while you are using rustls for all the tokio/hyper deps, it looks like the ethers crate depends on nativetls and doesn't seem to have a rustls feature yet- did find this issue here which you can upvote/comment perhaps: https://github.com/gakonst/ethers-rs/issues/781


window['CESIUM_BASE_URL'] = '/assets/cesium' not working in Angular 5

I have tried to add window['CESIUM_BASE_URL'] = '/assets/cesium'; to the main.ts file in Angular. No matter what CESIUM still tries to pull the images and json files from different location giving me tons of 404.
I was able to fix by initializing Cesium.buildModuleUrl.setBaseUrl('/assets/cesium/');  But this means I can't use the directives .

Thanks a lot for opening the issue! I will update the readme to address it.
What do you mean by "can't use the directives"? What error are you getting? I just tried to open a demo project with angular cesium and cesium 1.44 and added Cesium.buildModuleUrl.setBaseUrl('/assets/cesium/');
to main.ts and everything seems to be working fine.


list app bugfix

Codecov Report

Merging #383 (7bf8265) into master (b8837cd) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #383      +/-   ##
==========================================
+ Coverage   65.17%   65.20%   +0.03%
==========================================
  Files          94       94
  Lines        6552     6553       +1
==========================================
+ Hits         4270     4273       +3
+ Misses       1676     1675       -1
+ Partials      606      605       -1

Impacted Files
Coverage Δ

api/secret.go
71.17% <100.00%> (+0.26%)
:arrow_up:

common/string.go
100.00% <0.00%> (+20.00%)
: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 b8837cd...7bf8265. Read the comment docs.


how do i fine tune automatically when i add new data

is there any approach to evaluate hyper para meters i tried evolution of deeppavlov it took 5 days still not yet completed please suggest a solution
Thanks,
In Advance

Hello!
Parameters evolution description can be found here. Please, look at parameter iterations. If you did not assign iterations number, you will run an infinite number of iterations.

hi,
i tried giving 5 or 10 iterations for evolution process, it is iterating only 5 or 10 times only, but the accuracy is very very less, then i went for paramsearch as well if i give n folds its iterating till n number if i give leave one out cross validation (loo) it is iterating infinetly but still i am not able to get good accuracy can you help me so that i could get best accuracy.


Remove: SandroMani.gImageReader version ci-latest-master

Stable version has released

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/manisandro/gImageReader/releases/download/master/gImageReader_latest_qt5_i686.exe
Status Code: 200
(Automated message - build 762)

Hi @SpecterShell,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 758.)


NodeMCU - No wifi after flashing

When I flash konnected-firmware-2-3-5.bin and konnected-filesystem-0x100000-2-3-5.img using the Konnected Flashing Tool 3.1, I can't see any wifi broadcast from the device. It seems to not be on. I tried using tasmotizer to flash tasmota and it works and shows the wifi. Any idea what might be causing the NodeMCU wifi to not work with Konnected, but fine with other firmware?

same problem here!

If you had previously configured the wifi, the credentials are still retained and it's re-connecting automatically to your home network and will not start broadcasting.
Chose the "erase first" option to also erase the stored wifi credentials.

sadly it's a new installation...the problem is the os...I'm using macOS Catalina...with a windows pc it works perfectly


Support .clang-tidy out of the box

It's common to have a .clang-tidy file at the root of the repo (hundred of repos on github), what about supporting it out of the box so the file is read first if found, otherwise it uses the explicit list of checks?
This is coming from the perspective that this is unnecessary scaffolding that we can do without -
      uses<EMAIL_ADDRESS>      with:
        config_file: '.clang-tidy'

Sweet, thanks for covering this.


Introducing addBeforePublishPostProcessors method to the RabbitTemplate

Sometimes we need a way to append our BeforePublishPostProcessors to the list (that might be manipulated by libraries).
By calling setBeforePublishPostProcessors, it overrides other  BeforePublishPostProcessors .
So, this handy method might come to the rescue.

LGTM; except I wonder if the add... methods should have varargs like the set... methods (not critical, just pointing it out). Apologies if it's already been discussed/discarded - I didn't read all the previous comments.
Also, the AbstractMessageListenerContainer also has afterReceivePostProcessors so we should probably apply the same treatment there; not necessarily part of this PR, however.

Good catch, Gary!
@mhewedy ,
any thoughts if you can apply the same change to the AbstractMessageListenerContainer and also reconsider an implementation in favor of vararg?
Thanks

Yes I can do the suggested updates by Gary. Will work on it and update the PR.

Thanks for giving me the chance. 😊


KeyError at /manage-console/drf_api_logger/apilogsmodel/  'cl'

Internal Server Error: /manage-console/drf_api_logger/apilogsmodel/
Traceback (most recent call last):
File "/Python/env/lib/python3.8/site-packages/asgiref/sync.py", line 458, in thread_handler
raise exc_info[1]
File "/Python/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 38, in inner
response = await get_response(request)
File "/Python/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 233, in _get_response_async
response = await wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Python/env/lib/python3.8/site-packages/asgiref/sync.py", line 423, in call
ret = await asyncio.wait_for(future, timeout=None)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/tasks.py", line 455, in wait_for
return await fut
File "/Python/env/lib/python3.8/site-packages/asgiref/current_thread_executor.py", line 22, in run
result = self.fn(*self.args, **self.kwargs)
File "/Python/env/lib/python3.8/site-packages/asgiref/sync.py", line 462, in thread_handler
return func(*args, **kwargs)
File "/Python/env/lib/python3.8/site-packages/django/contrib/admin/options.py", line 616, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
File "/Python/env/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/Python/env/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File "/Python/env/lib/python3.8/site-packages/django/contrib/admin/sites.py", line 232, in inner
return view(request, *args, **kwargs)
File "/Python/env/lib/python3.8/site-packages/drf_api_logger/admin.py", line 90, in changelist_view
filtered_query_set = response.context_data["cl"].queryset
KeyError: 'cl'
This is happening when i try to delete all the logs from django admin

Hi @jatindergit I'll look into this issue ASAP.

This issue has been resolved.
I'm releasing a newer version (1.0.10).


Fix RankingTitle timezone

I saw the code for timezone in RankingTitle.py and I tried to modify it to make sure that it can work fine.
Maybe we need a correct time in our replays?

Looks great thanks.


Add JSONiq and XQuery support

Hmm, usually the grammar package is separate from the linter implementation. All linters live in the AtomLinter org - do you mind splitting things up?

@dmnd I'd like to split things up when it's possiblr to install plugin dependency automatically. Right you need to install two plugins. You would need to install 3. What do you think?
Awesome job btw!

@wcandillon, I am hoping to roll to a new api for linters in #387,  one of the things that has been discussed about the services api is that it may start being used as plugin dependency management.  Hopefully this will happen soon :fingers crossed:

@park9140 super fancy :)

Since it's just a link, I'm good with it. Still pending since 5feb, I merge it :)


Community anchor institutions

The map should have point of interest icons for community anchor institutions. These are mostly public-sector points of interest that define a typical populated place.
Every map has a different selection of community anchor institutions, but here are some common ones on American maps:

[ ] City halls
[ ] Courthouses
[ ] Police stations
[ ] Fire stations
[ ] Cemeteries: #329
[ ] Hospitals: #387
[ ] Schools: #78
[ ] Libraries
[ ] Post offices

Sometimes community centers, museums, and banks are also included. A rule of thumb is that the name of a community anchor institution is somewhat unimportant on the map, because it’s usually named after the community (or vice versa).
Some maps have dedicated icons for each kind of institution, while others pair the generic POI icon with an abbreviated label. Community anchor institutions appear on many maps that don’t include retail POIs in general, so I think it would be reasonable to introduce them at a lower zoom level than the general POI layer. At these lower zoom levels, it would be unnecessary to label the POI by its name:en.

Among these POI types, post offices will be trickier. We’d want to distinguish U.S. Post Offices from storefronts for delivery services (The UPS Store, FedEx Office, and more obscure services). Even though the USPS may be of diminished importance these days, their rural locations in particular are of principal importance to the communities they serve, more than any other POI. Thanks to the name suggestion index, either operator:type=public or operator:wikidata=Q668687 could be used to make this distinction. However, I don’t think either key is currently recognized by the OpenMapTiles schema.

That list looks good.  I'd add:

Churches
Parks
Airports

Churches may require a variety of icons for different religions, but they are often quite prominent buildings that serve as landmarks even for those who never set foot inside.
Parks and airports are both already rendered, but I think they make sense to include in this list since they are often important hubs.  Of course they can also be quite small and unimportant (same with cemetaries).  Ideally we'd have some way of only showing larger or more important ones at lower zooms.

The initial problem statement from @1ec5 is a little unclear.  Are community anchor institutions:

Especially important PoI's, to be rendered perhaps at lower zoom than others?
PoI's that, if there are a lot of them nearby, would render a place node more important?
PoI's whose names may be safely omitted since they're usually named for the community?

If it's 1. or 2., then:
I'd add suburban and interurban train stations. Not every subway or light rail stop, but an Amtrak station or even a station on a commuter line is usually named for the community (or vice versa!).
Make sure that colleges/universities are included among 'schools'!
I'm particular interested in "what combination of PoI's and population makes a place a village/town/city?" since place=* is a hot mess in the areas where I've been working.  If this related question sheds some light, that's all to the good!

The list of POIs that should be rendered at lower zooms should also include ones that are appropriate in rural areas as well.  For example, campgrounds.  They're pretty much only in more rural areas so POI collision isn't much a problem.  Campgrounds show up rather prominently on AAA maps, for example.  There are probably other categories appropriate to rural America.

There are various types of community center and/or social facility that I see maps of often. Usually just with generic pinpoints, but I have seen them get included alongside these other types of community institutions. I have not checked how or if they're tagged yet but this includes things like Community Action Centers, Cooling Centers, Warming Centers, and Community Violence Intervention Centers. These facilities are often connected to other local institutions in some way, for example, the community violence intervention centers are in part operated by local hospitals and are displayed on a map with them. (Police stations also appear but these institutions are meant to be explicitly separate from the police, this is the sort of thing that is common in American cities with particularly corrupt and dysfunctional police forces but probably not everywhere.)
Some of the above are frequent enough that it might make sense more at an intermediate zoom level. Around the same time schools appear would make sense I think.
As far as bare minimum POIs for a place, the rural places I'm familiar with that have at least something in them usually have a country store and a post office, possibly a fire station. The country store wiki article on OSM is really bad by the way, it needs some investigation and revision.

At a glance, a query for shop=country_store which excludes the brand tag seems to come close to the definition of a country store. https://overpass-turbo.eu/s/1jrA
Otherwise there's a lot of Tractor Supply chain retail stores which don't really fit the description

I appreciate the enthusiasm for adding points of interest to the style, but I’d like to refocus the discussion a bit. What I’m proposing above is to render self-explanatory POIs at a lower zoom level than the general POI layer. In general, I think we should always pair POI icons with labels, to reduce the pressure to add a distinct icon for every possible kind of POI and turn the map into a kind of rebus. But at these zoom levels, labels would add too much visual clutter, even if technically they wouldn’t collide. Fortunately, for some POIs, you don’t really need the name at all:

A rule of thumb is that the name of a community anchor institution is somewhat unimportant on the map, because it’s usually named after the community (or vice versa).

To belabor the point, in a stereotypical small town, there’s only going to be one of each “standard” town amenity: one city hall, one post office, one fire station. (Or in a city neighborhood, one postal station, one police precinct, one main community center.) Even if there are two fire stations, a user doesn’t need to know which one is Station 1 and which is Station 2 until they zoom in further. The user would want to distinguish the elementary school and the high school, so in #78 I suggest a distinct icon for each school classification.

Parks and airports are both already rendered, but I think they make sense to include in this list since they are often important hubs.

For example, campgrounds. They're pretty much only in more rural areas so POI collision isn't much a problem. Campgrounds show up rather prominently on AAA maps, for example. There are probably other categories appropriate to rural America.

Greenspace and transportation facilities are important, but I think we can deal with them separately (and already have to some extent). These are primarily landuse and only secondarily POIs, requiring different considerations. Maybe I shouldn’t have thrown cemeteries into the mix above, because you could make the same argument for the larger ones.

Churches may require a variety of icons for different religions, but they are often quite prominent buildings that serve as landmarks even for those who never set foot inside.

Churches aren’t interchangeable, so an icon alone wouldn’t be self-explanatory. I’ve seen community maps that label churches with only the denomination but not the name, for brevity, but this approach doesn’t scale well to a variety of communities across a metropolitan area, let alone North America.

As far as bare minimum POIs for a place, the rural places I'm familiar with that have at least something in them usually have a country store and a post office, possibly a fire station.

These days, more small towns have a dollar store, but I don’t think it would be quite as self-explanatory, nor as useful for getting a sense of the town’s “center of gravity”. That said, if you know of a map that gives dollar stores or country stores the same prominence as city halls, that would be a very interesting counterpoint. If we do render these POIs without labels, maybe the icon needs to be the brand logo in order to be self-explanatory.

I'm particular interested in "what combination of PoI's and population makes a place a village/town/city?" since place=* is a hot mess in the areas where I've been working. If this related question sheds some light, that's all to the good!

I think this is a different question than what I’m proposing. Whatever criteria you use to classify a place, the map will reflect that in its treatment of the place label. Tying place classification to a particular style’s editorial selection of community anchor institutions would introduce value judgments to the database and probably make this discussion run in circles.

AAA certainly thinks that campgrounds are the MOST important POIs at low zoom 😁

Yes, I think this map proves that they aren’t community anchor institutions but rather something to be depicted even more prominently at low zoom levels. You don’t see many city halls or post offices on that map. 😉

OK I think I had a different working definition of community anchor institutions. Maryland likes to use this term a lot and you can typically expect there to be several per neighborhood, if not on your street, going by what I'm familiar with. (See https://data.imap.maryland.gov/datasets/maryland::maryland-community-anchor-institutions-community-anchor-institutions/explore?location=38.900787%2C-76.701170%2C8.46 for example)

Yes, there are multiple working definitions of “community anchor institution”. It definitely has a different definition in the context of social services. Another definition includes economically important employers. However, I couldn’t think of a more apt term for the convention of giving certain kinds of POIs extra prominence while glossing over their individual identities.

However, I couldn’t think of a more apt term for the convention of giving certain kinds of POIs extra prominence while glossing over their individual identities.

"Place-eponymous POIs?" (Totally invented nomenclature)

Dollar Stores aren't common in small towns here either, if anything it correlates very closely with urbanity. I should take a closer look at how these things are distributed in other parts of the country since it's easy to assume certain trends are ubiquitous. Small towns typically don't have town halls and it's pretty common for neighborhoods to have several community centers - I'm more inclined to think there's no such thing as a stereotypical American town than that the east coast is just a bit weird.

Okay, we are not rendering dollar stores at lower zooms :-P

The country store wiki article on OSM is really bad by the way, it needs some investigation and revision. It's a very common American term, used in shop names, not just a UK term.

What we call a country store in North American English is more accurately tagged shop=general.  In the UK apparently they use the term "general store" for what we would call a farm store in the US, same as shop=agrarian.  For some reason in the UK there is a distinction, with country_store being for weathly hobby farmers, and agrarian being for commercial farmers I guess.  It doesn't really make any sense to me.  Here's another discussion on the topic for context.

This is why we burned the Gaspee...

I should've learned about taking tags literally by now, I was sure that would be the tag for stores like this which usually have it in the name and are the only POI for a long distance https://www.openstreetmap.org/way/996972736#map=13/38.4577/-77.2446
Re: the topic though, airports, hospitals, universities and possibly sports stadiums cover quite a lot of what gets shown first in American maps. Schools seem tricky, there's just a lot of them in general

I'm more inclined to think there's no such thing as a stereotypical American town than that the east coast is just a bit weird.

You’re right, I’m being a typical Midwesterner. 😅 I do think town/city halls would be the very likely anchor institutions where they exist, but this is not to suggest that we invent a town hall just to have it on the map. As for dollar stores, I think you’re underestimating the ubiquity of Dollar General in the last couple decades. But I’m definitely not in favor of giving them more prominence than other retail POIs. If anything, they tend to be in the small towns that don’t have much other retail left, so there would be no need to give them special treatment.
Your point about country stores does remind me that, in some states, the local farm bureau would traditionally have been a community anchor institution, but I’m not sure there’s currently a way to distinguish them from any other insurance agency.

" If anything, they tend to be in the small towns that don’t have much other retail left"  The other one, of course, is Wal-Mart.  :(
"Small towns typically don't have town halls" Around here, even the tiny ones do. They are often combined with the post office, the courthouse, the fire house, the police station, and the library.  Where a small town is usually built around a grain elevator, and the only institutions left are a church and a bar. (The retail shopping is at the Wal-Mart two towns over, and nowadays the kids are all bussed to the big school over in the county seat. Budgets, you know.)
I think that we're close to the right list of "things to show at smaller scale, without needing to include names."
Beyond that, we're into maps that are themed for a particular consumer.  An old-school road map will show gas stations, restaurants and lodging, but likely only at the level of "which freeway exit accesses them".  A map for a long-distance trail will want to show grocery and convenience stores, coin laundries, lodging, outfitters, post offices, libraries, eateries - the services a hiker or touring cyclist will want on a town stop. A map put out by a commercial publisher will want to highlight advertisers. And so on.

Greenspace and transportation facilities are important, but I think we can deal with them separately (and already have to some extent). Some of these are primarily landuse and only secondarily POIs, requiring different considerations. Maybe I shouldn’t have thrown cemeteries into the mix above, because you could make the same argument for the larger ones.

I removed cemeteries from the list above. We don’t have a good way to distinguish between a township’s general cemetery and other cemeteries anyways.
There’s a discussion in the context of #128 about the colors for each category of POI. The result of https://github.com/ZeLonewolf/openstreetmap-americana/issues/128#issuecomment-1159801218 is that the community anchor institutions would all be black or blue, unless we end up splitting out hospitals as red. Meanwhile, recreational POIs that we want to highlight at even lower zoom levels, such as campgrounds and rest areas (#443), would be either brown or green.

I like blue for hospitals - the international white H on blue matches it.  Blue for police also makes sense in the US.  Red for fire stations, maybe.  And paint the bike shed Sherwin-WIlliams #7591 "Red Barn"


feat/ndjson support in stagers

Description
In a move to alleviate memory usage, all stagers were updated to optionally support ndjson files as input. If ndjson files are used, rather than reading the entire file into memory, it reads/writes one line at a time.
Tests were added to validate the staged output for both json and ndjson files. Most of the new files in this PR are because I added stager validation against the expected file which are not stored in the expected_results directory.

This is looking good and mostly works. Seems there are some tests to fix in CI related to this, like Duckdb etc...


[Feature][docker compose] database client to explore data import

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case

As a application installer
I'd like to be able to easily explore DevLake DB
In order to check data import

Description
This could just be this docker service in docker-compose.yml file:
  adminer:
    image: adminer
    restart: always
    environment:
      ADMINER_DEFAULT_SERVER: mysql
    ports:
      - 8087:8080

Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@klesh


fix typos

Fixing some typos @tehmaspc found... Thanks Tehmasp!

welcome; i see all the things! :)


Point cloud support

pnts support was recently added to Cesium Native: https://github.com/CesiumGS/cesium-native/pull/591. At some point we should investigate rendering point clouds in Omniverse.

What is or isn't possible with USD?
How do we maintain constant pixel size? See @kring's comment in https://github.com/CesiumGS/cesium-unity/issues/201#issuecomment-1418382985. I don't think we can write our own vertex shaders, but Fabric allows you to update GPU vertex data directly: http://omniverse-docs.s3-website-us-east-1.amazonaws.com/usdrt/5.0.0/docs/whatsinfabric.html#deforming-a-mesh-on-the-gpu-with-warp
How much control do we have over point cloud shading, e.g. would it be possible to implement eye dome lighting? CC https://github.com/CesiumGS/cesium-unity/issues/201

After talking with @lilleyse, we decided to save points and render directly in Fabric and bypass using USD/Flow. Aside from the performance boost of going straight to Fabric, there are a few other potential benefits:

Control over the type of created geometry (quads initially, but potentially cubes)
control over attenuation
potentially using pre-baked metadata, like distances to neighbors help scale point representations

@corybarr could you open issues for the remaining point clouds tasks and add them as a checklist here? I think it looks something like this, but please add any others that are missing.

CUDA kernel to generate quads / voxels to avoid slowdown in FabricGeometry
CUDA kernel for billboarding
Geometric-error based attenuation, similar to what Cesium for Unity or CesiumJS are doing
Material support, i.e. ability to show/hide or set color for points in an MDL. Includes making per-point properties like intensity and classification available as primvars.
Eye dome lighting or some other surface shading technique, depending on what we can do in Omniverse

@lilleyse Sure:

[ ] https://github.com/CesiumGS/cesium-omniverse/issues/430
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/431
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/432
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/433
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/434
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/435
[ ] https://github.com/CesiumGS/cesium-omniverse/issues/436

Initial point cloud rendering support was added in https://github.com/CesiumGS/cesium-omniverse/pull/424


Head scale for aimbot

Head scale for aimbot when? That has it on trigger bot

This is a weird request.
I will add a scale slider for hitboxes shortly.


Blender tag: export tags

I added an option to add tags to meshes in blender. Right now this only works for meshes.

ping @jcpalmer

ping @palmer-jc

Well, if BJS will read this, seems ok.  The init.py version should be updated to 5.2.  The zip file "Blender2Babylon-5.2.zip" also needs to be generated.  I can do this if reqd, but would not get to till tomorrow, probably.

Should the bumping and zip-generation be part of the PR? I assumed it made more sense for the repo maintainers to do that because if there are multiple PRs for the blender exporter and they all regenerate the zip and touch the version, merging one would make the others unmergeable.

For the main Typescript stuff transpiled to Javascript, yes.  Blender exporter a little sleepy part of repo.  I am not doing anything right now.  I can do it, or you might.

Please accept.  I'll zip / update version


Salesforce extractor - intermittent "Save Credentials" errors after configuring

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/744
Originally created by @derek-knox on 2019-06-26 13:10:49

After installing the Salesforce extractor through the UI sometimes the credentials seems to pass just fine and sometimes they throw the below error.
The only thing that differs when saving the configuration works is that maybe the date is different (all other creds are the same). We have "today" as the maximum date option for the <input date='.... so we're not picking a future date or anything to get choked on.
This seems fairly random at the moment regarding configuration working or not.
[Thread-170][INFO][2019-06-26 05:59:41,248] <IP_ADDRESS> - - [26/Jun/2019 05:59:41] "POST /api/v1/orchestrations/save/configuration HTTP/1.1" 200 -
CRITICAL Cannot create credentials from config.
Traceback (most recent call last):
  File "/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce", line 11, in <module>
    load_entry_point('tap-salesforce==1.4.18', 'console_scripts', 'tap-salesforce')()
  File "/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/lib/python3.7/site-packages/tap_salesforce/__init__.py", line 415, in main
    raise e
  File "/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/lib/python3.7/site-packages/tap_salesforce/__init__.py", line 406, in main
    main_impl()
  File "/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/lib/python3.7/site-packages/tap_salesforce/__init__.py", line 371, in main_impl
    credentials = parse_credentials(CONFIG)
  File "/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/lib/python3.7/site-packages/tap_salesforce/salesforce/credentials.py", line 31, in parse_credentials
    raise Exception("Cannot create credentials from config.")
Exception: Cannot create credentials from config.
[Thread-171][WARNING][2019-06-26 05:59:41,677] Command /Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce ['/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/extractors/tap-salesforce/venv/bin/tap-salesforce', '--config', '/Users/dknox-gitlab/Documents/Projects/tesst/.meltano/run/tap-salesforce/tap.config.json'] returned 1
[Thread-171][INFO][2019-06-26 05:59:41,678] [http://localhost:5000/api/v1/orchestrations/entities/tap-salesforce] as <meltano.api.security.identity.FreeUser object at 0x11a6d6f60>
[Thread-171][INFO][2019-06-26 05:59:41,691] <IP_ADDRESS> - - [26/Jun/2019 05:59:41] "POST /api/v1/orchestrations/entities/tap-salesforce HTTP/1.1" 200 -

View 3 previous comments from the original issue on GitLab


Entity/Runtime registry missing features/bugs

There is more that needs to be done to improve entity/runtime registration:

[x] Worker host should watch the registry for runtimes (Remove worker.runtime.sgx_ids).
~Store the runtime executable code in storage.~
[x] Runtime registration changes should be made epoch granular (the memory registry backend is exempt).
[x] Runtime re-registration should be supported (and changes applied on the epoch transition) to support altering committee sizes without a roothash migration.
[x] Entities present in the Entity registry in the genesis document do not emit events (and will be missed by WatchEntities).  Nothing uses that API at the moment, so the call could be removed, or this should be fixed whenever it matters.
[x] At least genesis runtimes are signed by the genesis entity, start enforcing the signature.
~Allow runtime de-registration.~

I'm calling this done for now.