[HOTFIX] Escape envs when using .conf interpreter

What is this PR for?
Escaping envs to avoid malicious code in envs
What type of PR is it?
Hot Fix
Todos

[ ] - Task

What is the Jira issue?
N/A
How should this be tested?

Add shell commends inside envs
It shouldn't be executed

Screenshots (if appropriate)
Questions:

Does the license files need to update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

ping @zjffdu @Reamer @huage1994
This code will change some malicious code like
$ printf %q ';whoami > /tmp/imp.log; date >>/tmp/imp.log;'
\;whoami\ \>\ /tmp/imp.log\;\ date\ \>\>/tmp/imp.log\;%

Hi @jongyoul
I think this hotfix breaks the start of the interpreter.
I have set the variable as follows.
ZEPPELIN_INTP_CLASSPATH_OVERRIDES 	/usr/share/java/*`

The start command now looks like this.
Good (Old):
Interpreter download command: /usr/lib/jvm/java-11-openjdk-amd64//bin/java [...} -cp /usr/share/java/*:/opt/zeppelin/interpreter/spark/*:::/opt/zeppelin/interpreter/zeppelin-interpreter-shaded-0.11.0-SNAPSHOT.jar:/opt/zeppelin/interpreter/spark/spark-interpreter-0.11.0-SNAPSHOT.jar [...]

Bad (New):
Interpreter download command: /usr/lib/jvm/java-11-openjdk-amd64//bin/java  [...] -cp /usr/share/java/\*:/opt/zeppelin/interpreter/spark/*:::/opt/zeppelin/interpreter/zeppelin-interpreter-shaded-0.12.0-SNAPSHOT.jar:/opt/zeppelin/interpreter/spark/spark-interpreter-0.12.0-SNAPSHOT.jar [...]

As you can see, there is a backslash before the wildcard. /usr/share/java/* (good) vs /usr/share/java/\* (bad)
Do you have any spontaneous ideas on how I can correct this?


🇨🇳 Contribute translation to Chinese language

Intro
Chinese language is very popular in programming world because there are countless developers out there and many applications written in PHP programming language. I want to add Chinese language support for this package, but I don't have a knowledge of Chinese.
Todo
If you are a software developer who knows language PHP and you would like to contribute to Open source, feel free to add Chinese language support for this ago package. Here is the 📄 documentation for contributing a translation. Please follow the instructions there.
If there is anything you don't understand in  📄 CONTRINUTE.md guide, or it lacks of information, let me know, and I'll make sure to add more detailed information.

Added Chinese language by 46d43aff6b5c1c15d287a44dc80a1a594703407f commit


python310Packages.espeak-phonemizer: 1.3.0 -> 1.3.1

https://github.com/rhasspy/espeak-phonemizer/releases/tag/v1.3.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 239966 run on x86_64-linux 1

6 packages built:

piper-train (python310Packages.piper-train)
piper-train.dist (python310Packages.piper-train.dist)
python310Packages.espeak-phonemizer
python310Packages.espeak-phonemizer.dist
python311Packages.espeak-phonemizer
python311Packages.espeak-phonemizer.dist


-returnCodeMapping option does not work on apim-cli org import

APIM-CLI version
1.14.5
API-Management version
7.7.20240530
Bug description
When using the following command:
apim org import -username $APIMGR_USERNAME -password $APIMGR_PASSWORD -apimanagerUrl $APIMGR_URL -s $CI_COMMIT_BRANCH -c ./${PROJECT_DIR}/client-organizations/Example-client-org-name/org-config.yaml -returnCodeMapping 10:0
The command does not exit with 0 when the exit code is 10. This while the option to remap this has been specified. This happens for example when there are no changes found with the following warning:
2024-09-02 08:44:22,197 [APIManagerCLI] INFO : API-Manager CLI: 1.14.5
[20](redacted/-/jobs/81897#L20)24-09-02 08:44:22,200 [APIManagerCLI] INFO : Module: Organization - E X P O R T / U T I L S  (1.14.5)
2024-09-02 08:44:23,507 [APIManagerAdapter] INFO : Successfully connected to API-Manager (7.7.20240530) on: [redacted](redacted)
2024-09-02 08:44:25,964 [OrganizationApp] INFO : You may enable debug to get more details. See: https://github.com/Axway-API-Management-Plus/apim-cli/wiki/9.1.-Enable-Debug
2024-09-02 08:44:25,965 [OrganizationApp] WARN : No changes detected between Desired- and Actual-Org: Example client org name.

We get ERROR: Job failed: command terminated with exit code 10 in our CI and can also validate the same behaviour locally when running echo $?
The -returnCodeMapping option does seem to work when using it in for example apim api import
Steps to reproduce
apim org import -username $APIMGR_USERNAME -password $APIMGR_PASSWORD -apimanagerUrl $APIMGR_URL -s $CI_COMMIT_BRANCH -c ./${PROJECT_DIR}/client-organizations/Example-client-org-name/org-config.yaml -returnCodeMapping 10:0
Relevant log output
2024-09-02 08:44:22,197 [APIManagerCLI] INFO : API-Manager CLI: 1.14.5
[20](redacted/-/jobs/81897#L20)24-09-02 08:44:22,200 [APIManagerCLI] INFO : Module: Organization - E X P O R T / U T I L S  (1.14.5)
2024-09-02 08:44:23,507 [APIManagerAdapter] INFO : Successfully connected to API-Manager (7.7.20240530) on: [redacted](redacted)
2024-09-02 08:44:25,964 [OrganizationApp] INFO : You may enable debug to get more details. See: https://github.com/Axway-API-Management-Plus/apim-cli/wiki/9.1.-Enable-Debug
2024-09-02 08:44:25,965 [OrganizationApp] WARN : No changes detected between Desired- and Actual-Org: Example client org name.

I confirm the issue.
From a quick look at the code, it seems returnCodeMapping is not implemented for Organizations

Fixed in 1.14.6

It looks to me as if the issue hasn't been resolved.
My apim-cli command example (doing an org import) and the apim-cli response:

Here the status code after the command execution (expecting status code=0 by the -returnCodeMapping option)

Using apim-cli version 1.14.6

Please can you re-investigate the issue.
Thank you.

@cbrowet-axway @jeroenvandermeulen , could you also check whether you find if the issue is resolved ? Thanks.

Hello Rathna,
Thanks for quick reply!
Your latest changes (in 1.14.8-SNAPSHOT) are providing the expected results, afaict :-)
Importing an already existing organization:

return code  = 10 (no changes detected)

Then with the returnCodeMapping 10:0 added

return code = 0 (the mapping did its job)

Great, thanks,
Martin.


GTScript frontend check to ensure consistency of data dimensions.

Description
Checks that the number of data dims matches and that no accesses are out of bounds.
Resolves #588.

The errors could be more expressive, but it's fine.


docs(META): commented out link to expired domain

Domain widdersh.in has expired, should be removed from the public in case a malicious actor gets hold of this domain

[ ] There exists an issue discussing the need for this PR
[ ] I added new tests for the issue I fixed or built
[ ] I used pnpm run commit instead of git commit

Thanks!


New API functions?

I will drop here some notes for functions which may be of use for JC users.

int JArray.erase[Integers|Floats|Strings|Forms|Objects] (object, value, start = 0, end = -1)  - basically run over the whole range and delete all items which equal the passed value. Optionally,  specify sub-range. Return the number of erased items.

I assume you are looking for c/c++ functions to go into the dll for direct access in papyrus? I've done similar functions in lua (being much faster than papyrus) but the lua interface is a bit indirect (but still more than useful once I got it into my workflow).

@RealAntithesis yes, it is about the DLL API, which can be easily translated to Papyrus and Lua.


Selector interpolation broken in attributes

The dotless compiler is ignoring variable interpolation inside attribute selectors:
Given a function and call:
.generate(@type) {
  &[data-type="@{type}"] {
    // ...
  }
}
.foo {
  .generate(~"bar");
  .generate(~"baz");
}

Expected output (following the official LESS compiler):
.foo[data-type="bar"] {
  // ...
}
.foo[data-type="baz"] {
  // ...
}

Actual output (of the dotless compiler):
.foo[data-type="@{type}"] {
  // ...
}
.foo[data-type="@{type}"] {
  // ...
}

Would be nice to see this fixed as it basically ruins any attempt at a data-* driven approach of writing the selectors for common material such as named icons in a spritesheet.

PR #424 fixes this. Issue #350 is a duplicate.

Fixed in 39a8214


feat: add code owner for pull requests

Looks like you might need to update the eslint rules, updating the version probably came with new rules in eslint:recommended


Which fork of this tool is actually up to date?

Do any of them have added standard touch as a combo action yet? Having a hard time finding the most up to date one.

If you go to Insights tab and then click on Network it'll bring up a graph  that is sorted to show the main repository at the top and then the forks are sorted by most recently updated. You'll have to drag sideways on the graph to see the most up-to-date stuff. The dots on the lines represent updates, so you can see that even though ramtur01 and riftwebdev are more recent they've done basically nothing as far as changes are concerned. The fork from echoeida looks promising though. It mentions combo actions in the changelogs.
A bit more digging shows echoeida listing is itself a fork of a fork of a fork, and that this website likely hosts a better working version of the tool: https://notranged.github.io/#/simulator

Yeah I've been using the notranged one lately but it bugs out sometimes still. It does seem to have the new comboactions included so that's good. Thanks for the Insights thing, didn't know about that.

I'll be trying to update it to endwalker soon:tm:

It's been updated for endwalker. The new actions are still missing and I'll add them soon, but the solver works again and- other than a slight rounding error in quality (e.g. 7982 instead of 7954 quality on a craft) it's all functional.

@NotRanged you're awesome man, thanks!

Hello,
Since the update, I regularly fail in my crafts; the site does not take into account the passage of interior calm from an action to a line, same for the name of the elements, etc.
How can I get the solver to work properly again? I'm building the kitchen (60+) and I can't get any craft right, it's frustrating

Don't use this tool but go to https://notranged.github.io/#/simulator and use that one instead.

Thanks for the updated link but is it normal not to have access to the recipe library? https://i.imgur.com/29vYo4Y.png


Cannot enter portals without disconnecting the player in dedicated server environments

https://gist.github.com/Alkiasan/9136dc6ce1d3d3718823e8f9573f84c1
Running 0.11.6-1.17.1 fabric with the latest version of Origins.

Followup to this: For some reason, I'm able to set other's origins, but when they set their own origin, their playerdata breaks and the server log constantly reports "Unable to save (playername)'s playerdata"

Followup part 2: This seems to happen when entering an area with entities owned by the person with the broken playerdata, or teleporting to the player themselves.
crash-2021-08-30_19.35.53-server.txt

Do you have any datapacks installed on your server?

Yes, mainly vanillatweaks, some dimension datapacks, and various origin datapacks.
Going through portals works now since i've made various changes serverside, Invalid playerdata still seems to happen randomly to players, causing me to have to reset their playerdata for them to join. There's no obvious reason as to why that happens far as I can tell...
My world was also updated from 1.16 to 1.17, so this may be the same issue as #427

Did you test the newest version of Origins (1.1.0, released yesterday)?
It fixed many bugs, including (hopefully) the "Invalid Player Data" issue.

Did you test the newest version of Origins (1.1.0, released yesterday)? It fixed many bugs, including (hopefully) the "Invalid Player Data" issue.

I tried to update, but it seems the latest ver is incompatible with Origins: Umbrellas now... Assuming it's something on their side?
Log:
https://gist.github.com/Alkiasan/a8f5ccba0abaedc403745ef7e8bc62e2

Yeah, the update broke compatibility with most add-ons, sadly. Will have to wait for them to update.


Corrected a wrong file path

The file path to delete the privileged pod example was wrong.
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Quality checks

[x] My content adheres to the style guidelines
[ ] I ran make test or make e2e-test and it was successful

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the PR @parth-pandit !


Update README.md

New API added (Bored API)
🎯 [New API] : Adding Bored API

Closes #74

🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @SougataXdev, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@dishamodi0910 please check and let me know

@SougataXdev, Don't create a new PR. One of your PR is already open. Just add one commit over there.


EE-{1101,1103}: add auction::Delegator, fix bid scores

Refs:
https://casperlabs.atlassian.net/browse/EE-1101
https://casperlabs.atlassian.net/browse/EE-1103
This PR:

introduces a Delegator struct to track a given delegator's stake and bonding purse.
adds a delegators field to the Bid type to track the delegators attached to a particular validator.
uses the delegators and staked_amount fields on Bid to synthesize a given validator's total stake when calculating bid "scores" or "weights" (fixing EE-1103).

IMPORTANT:
I'm presenting Delegator and and the delegators field on Bid not as the minimal fix for the bug, but as part of a larger tranche of work to reduce some of the complexity in the auction.  Rather than saving all of the changes for a later PR, I wanted to open this PR to address the bug and reduce the surface area of future PRs.  Upcoming PRs will expand on these changes.

bors try

bors try

bors r+


text-davinci-003 insert errors out

attempt to use [insert]
from griptape.memory import Memory
from griptape.structures import Agent
from griptape.drivers import OpenAiPromptDriver

agent = Agent(
    memory=Memory(),
    prompt_driver=OpenAiPromptDriver(
        model="text-davinci-003"
    )
)
agent.run("hello friend, today we are going to do the following: [insert]")

returns a 'NoneType' object has no attribute 'to_text'

@kyleroche I think this can be closed. Running on the latest version:
from griptape.memory.structure import ConversationMemory
from griptape.structures import Agent
from griptape.drivers import OpenAiPromptDriver

agent = Agent(
    memory=ConversationMemory(),
    prompt_driver=OpenAiPromptDriver(
        model="text-davinci-003"
    )
)
agent.run("hello friend, today we are going to do the following: [insert]")

[06/30/23 13:40:04] INFO     Task 401dcb3028aa4a8e8c55fda7d3a61d4b
                             Input: hello friend, today we are going to do the following: [insert]
[06/30/23 13:40:06] INFO     Task 401dcb3028aa4a8e8c55fda7d3a61d4b
                             Output: Sounds great! What do you have in mind?

@vasinov This no longer works because token_count is not implemented for text-davinci-003. How do you want to handle this?

The not implemented exception is only for ChatLM APIs. Older text-based models use super().token_count(), so it should work. Did it not work for you?

It did not work for me.
from griptape.memory.structure import ConversationMemory
from griptape.structures import Agent
from griptape.drivers import OpenAiChatPromptDriver

agent = Agent(
    memory=ConversationMemory(),
    prompt_driver=OpenAiChatPromptDriver(
        model="text-davinci-003"
    )
)
agent.run("hello friend, today we are going to do the following: [insert]")

[08/28/23 15:13:57] INFO     Task a26adda15501415681a425b78f88675f
                             Input: hello friend, today we are going to do the following: [insert]
WARNING:root:<RetryCallState<PHONE_NUMBER>: attempt #1; slept for 0.0; last result: failed (NotImplementedError token_count() is not implemented for model text-davinci-003.
                    See https://github.com/openai/openai-python/blob/main/chatml.md for
                    information on how messages are converted to tokens.)>

Ah, that's because for the old models you have to use OpenAiCompletionDriver since it's a different API.

Ah, right! Ok then this is working, I think we can close.
from griptape.memory.structure import ConversationMemory
from griptape.structures import Agent
from griptape.drivers import OpenAiCompletionPromptDriver

agent = Agent(
    memory=ConversationMemory(),
    prompt_driver=OpenAiCompletionPromptDriver(model="text-davinci-003"),
)
agent.run("hello friend, today we are going to do the following: [insert]")

[08/28/23 15:48:38] INFO     Task 93079242e9974f98bce3b2a6e322a0fe
                             Input: hello friend, today we are going to do the following: [insert]
[08/28/23 15:48:39] INFO     Task 93079242e9974f98bce3b2a6e322a0fe
                             Answer: Assistant: Hi there! What would you like to do today?


Clean up repo

Task

Organization and closing of branches
README file finalization

Deliverables

Make repo presentable

Delivery: 12/13
Size Estimation: Medium (2-4 hours)

Completed.


feat: add array/base/cuevery-by package

This commit adds base/cuevery-by package
Resolves #2324
Description

What is the purpose of this pull request?
The purpose of this pull request is to add the @stdlib/base/cuevery-by package which cumulatively tests whether every array element in a provided array passes a test implemented by a predicate function.

Related Issues

Does this pull request have any related issues?
#2324

This pull request:

resolves #2324

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Hey @kgryte can you review this? let me know if any further changes are needed,

Hey @Planeshifter  I just added the changes mentioned.


Bugfix/url module fix storage manager

Short Description and Why It's Useful
StorageManager was not used as intended in core/modules/url.
The effect was that the cacheStorage for url module was inited directly when the module was imported so it was inited with storeCode: undefined.
This fix implements the StorageManager same way as it is used in the other core modules.
Screenshots of Visual Changes before/after (if There Are Any)
Before:

After:

Which Environment This Relates To
Found in VSF 1.11.4

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[x] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 5 committers have signed the CLA.:x: filrak:x: tom-aniol:x: didkan:x: gibkigonzo:x: pkarwYou have signed the CLA already but the status is still pending? Let us recheck it.


[tauri:dev] Waiting for your dev server to start...

it keep returning [tauri:dev] Waiting for your dev server to start... for ever

Can you tell me a little more info about how you got this message?
What operating system are you running on?
Which command did you run?
It's not immediately obvious to me where this message is being logged and I'll need more info to dig deeper.

Thank you for your response Nate I solved this issue
I was running tauri dev but I had to run two commands react-scripts start then tauri dev

In the README I recommend running yarn dev or npm run dev, which will run tauri dev concurrently with the front-end build.
As for adding more functions to the repo, that's more of a Tauri concern than a Tauri boilerplate concern. I recommend just checking out the Tauri docs at https://tauri.studio/ and joining their Discord chat if you need any more support.
In any case, thanks for using the boilerplate! I hope it has been helpful!

@aliscie @n8jadams @AlenSci
I'm having the same problem, which is not using create-tauri-app build frontend project and rust project with bare hand.I solved the problem by modify dev_path port in tauri.conf.json file.

I met the same problem on MacOS, and the same code works well on Ubuntu.
I managed to make it work to modify the package.json:
"dev": "vite", to "dev": "vite --host",


build: switch to ruff linter

We may keep mypy .c.f https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-mypy-or-pyright-or-pyre

We may keep mypy .c.f https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-mypy-or-pyright-or-pyre

ooh, I was under the impression that it can do both. Please keep mypy then


Error while updating property 'matrix' in shadow node of type: SVGText

Error while updating property 'matrix' in shadow node of type: SVGText
null
TypeError: expected dynamic type 'double', but had type 'null'
RN: "^0.49.3",
React: "^16.0.0",
RN Svg: "^6.0.1-rc.1",
Victory Native: "^0.16.1"
Not sure why I am getting this error. Please help.

This is fixed in<EMAIL_ADDRESS>

Thank you so much.


Jenkinsfile.integration: add build number to cluster prefix

Include build number in cluster prefix for PR triggered jobs.
Signed-off-by: Kyr Shatskyy<EMAIL_ADDRESS>

GitHub has been notified of this commit’s build result

java.lang.NullPointerException: Cannot invoke method toLowerCase() on null object

okay... the error is clear, params does not have BRANCH_NAME at this scope, maybe params are updated only in the environment block, anyways, it is a waste of time to work for me trying to submit changes via you as broken phone effect.

Could possibly use the currentBuild object?

Could possibly use the currentBuild object?

Yes, probably it is: https://opensource.triology.de/jenkins/pipeline-syntax/globals#currentBuild

I'm actually not too worried about this. I'm going to close it but if somebody else wants to improve on it please feel free to reopen.

@jhesketh @toabctl actually I worried, and I created a ticket, to remind a history, I had to close my own ticket and ask you to open because of bug/feature in jenkins plugin which is not triggering a build to check the PR from people who is not owner of the github repo.

Okay, I'll reopen if it's important. Will take a closer look at our options for getting the build number into the cluster name tomorrow.

Thanks

So I've tried a few different things, but unfortunately there isn't a clear easy way to set an environment variable using any kind of logic. We could put the logic into some build steps, but that gets convoluted quite quickly with our multiple paths.
Instead I've just added the build number to the prefix. While this isn't ideal, it should give a quick way of finding the build in Jenkins and then working from there to find the PR or the triggered build.


Add eagle image and fix typo in Alexis section

Following along with clinic demonstration. Please check out my eagles.

Thanks! Because this is the template repo I'm going to close this without merging :)

About-face! I'm reopening so you can merge if you like, and see your changes in the live site (https://openscapes.github.io/quarto-clinic). We can revert/tweak things later for the next teaching session 😄


Miscalculated tap position in UWP app

Hello,
In the UWP version of the library, there is a bug where the tap/click positions are handled and calculated relatively to the entire window area, instead of only the area covered by the map control.
Here's a small reproduction case:
Create an empty UWP app, and add the latest CartoMobileSDK reference (4.0.2 in my test).
Put the following in MainPage.xaml
<Page
    x:Class="ReproMapOffsetNoForms.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:carto="using:Carto.Ui">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Border Background="Beige" Height="40">
            <TextBlock>Bug repro</TextBlock>
        </Border>

        <carto:MapView Grid.Row="1" x:Name="map" />
    </Grid>
</Page>

In the codebehind, replace the class with the following:
public sealed partial class MainPage : Page
{
    public MainPage()
    {
        this.InitializeComponent();

        // Setup vector styles
        LineStyleBuilder normalStyleBuilder = new LineStyleBuilder
        {
            Color = new Carto.Graphics.Color(0, 0, 255, 255),
            Width = 5
        };
        var normalStyle = normalStyleBuilder.BuildStyle();

        // Setup the map
        TileDataSource backDataSource = new HTTPTileDataSource(0, 18, "http://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png");
        RasterTileLayer backLayer = new RasterTileLayer(backDataSource);
        map.Layers.Add(backLayer);

        LocalVectorDataSource vectorDataSource = new LocalVectorDataSource(map.Options.BaseProjection);
        VectorLayer vectorLayer = new VectorLayer(vectorDataSource);
        vectorLayer.VectorElementEventListener = new LayerSelectionManager(vectorDataSource);
        map.Layers.Add(vectorLayer);

        // Add two vectors
        vectorDataSource.Add(new Line(new MapPosVector
        {
            new MapPos(-10.0, -10.0),
            new MapPos(10.0, -10.0)
        }, normalStyle));

        vectorDataSource.Add(new Line(new MapPosVector
        {
            new MapPos(-10.0, 10.0),
            new MapPos(10.0, 10.0)
        }, normalStyle));

        // Manage mouse wheel
        map.PointerWheelChanged += (sender, e) =>
        {
            map.Zoom += e.GetCurrentPoint(map).Properties.MouseWheelDelta * 0.001f;
        };

        // Default zoom level
        map.Zoom = 18;
    }

    private class LayerSelectionManager : VectorElementEventListener
    {
        private LocalVectorDataSource _container;
        private VectorElement _currentSelectionShape;
        private LineStyle _selectedStyle;

        public LayerSelectionManager(LocalVectorDataSource container)
        {
            _container = container;

            LineStyleBuilder selectedStyleBuilder = new LineStyleBuilder
            {
                Color = new Carto.Graphics.Color(255, 0, 0, 100),
                Width = 10,
            };
            _selectedStyle = selectedStyleBuilder.BuildStyle();

        }

        public override bool OnVectorElementClicked(VectorElementClickInfo clickInfo)
        {
            if (clickInfo.VectorElement.MetaData.ContainsKey("noSelect"))
                return false;

            if(_currentSelectionShape != null)
            {
                _container.Remove(_currentSelectionShape);
            }

            _currentSelectionShape = new Line((LineGeometry)clickInfo.VectorElement.Geometry, _selectedStyle);
            _currentSelectionShape.MetaData = new StringVariantMap
            {
                { "noSelect", new Variant(true) }
            };
            _container.Add(_currentSelectionShape);

            return true;
        }
    }
}

Launch the application. This piece of code will highlight the last clicked vector in red. However, in order to select one of the two line vectors, you have to click precisely 40px above them, because of the 40px header area that is present above the map.
Another side effect of this problem is that if you click in the header area above the map, the map click event (if you subscribe with map.MapEventListener) will trigger, even though the map was not actually clicked.

Thanks for reporting this.
Can you try this snapshot: https://drive.google.com/open?id=0B1TVGN1snTrnLVRHemhIWXM3Wkk
Does this work as expected? If it does, I will push the fix.

I tested your snapshot but the behavior is the same.

Can you provide us a complete working Visual Studio project demonstrating the issue? We tested the fix locally and it seemed to work, so without actual sample it is rather difficult to proceed with this.

You can download a test project here: https://sprods.net/ReproMapOffset.zip

Thanks for the demo app, the problem seems to be related to nuget versioning. The nuget package I compiled has the same version number as the official 4.0.2 and when you try to use it, VS will look up the same version from the cache and ignores the updated package. The workaround is to select NuGet Package Manager/Package Manager Settings from the menu and the press 'Clear All NuGet Cache(s)'. This worked for me.

Closing, the fix is pushed to the master/develop.

Sorry I wasn't able to check that earlier, but the cache was indeed the problem on my end. Fix is confirmed in my app with your snapshot.


Update description of DG session with CSM note

Description
Small update to documentation to remind user of CSM implementation of DG, and backlink to the correct section with a full description.
Motivation and Context
Easy to forget this when the User sees "dg session" at the terminal. New link also provides a better description of the implementation.
How Has This Been Tested?
Untested, i.e., I didn't rebuild the docs to check it.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

My change requires a change to the documentation.
I have updated the documentation accordingly.

Licensing:
This project is released under the LICENSE.

I dedicate any and all copyright interest in my contributions in this pull request to the public domain.  I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this contribution under copyright law.

Ben, thank you. I verified that this change works and brought it in. https://github.com/NeoGeographyToolkit/StereoPipeline/commit/18a227deb62336bb3223a4f5c21284712ddb0ea1
But no author credit. :) We don't have a firm policy on author list. I think it is meant for bigger contributions though.


Create a driver/module for STM32CubeProgrammer CLI

This will make it possible to automatically flash a new program to a board.

Will be done in another project scope.


dt: nrf52840_pca10056: Fix DTC warning

DTC is triggering the warning: "Node has a unit name, but no reg
property". To resolve this we give the node a reg property.
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

We could alternatively disable the warning with -Wno-unit_address_vs_reg .
Any idea what we want to do about this warning? @erwango , @b0661 , @galak ?
Fix or suppress?

Codecov Report

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

@@           Coverage Diff           @@
##           master   #10335   +/-   ##
=======================================
  Coverage   53.09%   53.09%
=======================================
  Files         214      214
  Lines       26229    26229
  Branches     5652     5652
=======================================
  Hits        13925    13925
  Misses      10029    10029
  Partials     2275     2275

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 61ca8c1...d80a14b. Read the comment docs.

Thank you for the feedback, I will apply an equivalent fix.
I actually considered and tested that approach, but (incorrectly) concluded that we wouldn't want to do that for compatibility reasons.
For instance, code that uses GPIO_LEDS_0_GPIO_PIN would need to be ported to use GPIO_LEDS_LEDS_LED_0_GPIO_PIN.

For instance, code that uses GPIO_LEDS_0_GPIO_PIN would need to be ported to use GPIO_LEDS_LEDS_LED_0_GPIO_PIN.

most of the GPIO cases dont typically use the GPIO_LEDS_LEDS_LED_0_GPIO_PIN define, but an alias name, so its lets of an issue.

@galak : Fixed.

Fix or suppress?

let's fix


Postgres Duplicate Row with SERIAL key duplicates the Key field!

System information:

Windows 10 Pro release 2004
DBeaver version <IP_ADDRESS>010191702
Additional extensions: None

Connection specification:

Postgres
PostgreSql JDBCDriver
Do you use tunnels or proxies (SSH, SOCKS, etc)?  No

Describe the problem you're observing:
In the DBeaver UI for a table with a PK column with type SERIAL, I click the 'Duplicate Current Row' button, and the current row is duplicated.  If I then try to save the record, an error results, because it turns out that it has duplicated the key value in addition to every other column.
I believe that this might be a regression in this week's version of DBeaver.
As an aside, if I then manually edit the key value so that it is now unique, future attempts to use code to insert to the table will now fail with duplicate key errors, as the sequence on the table is now returning the duplicate key value (i.e. that I manually edited).
Steps to reproduce, if exist:

Highlight row in table with SERIAL PK column;

Click Duplicate Current Row button;

Note that the PK key column has been duplicated;

'Save' and get duplicate key error.

An example of how I see this SERIAL column definition: I note that sometimes I think I have seen a reference to the sequence column in the default value, but this is not the case here:

Finally, something is very odd about this... if I try to manually clear the column to NULL to activate the default value, what appears to happen is that the row is supposedly saved with a PK column value of NULL... where that column should be NOT NULL:

It appears as if I can save the record, ans I do so without error, but if I close and reopen the window I can't see the record.
Include any warning/errors/backtraces from the logs

On a related note, if I 'generate sql' on this table for an INSERT statement, the generated sql includes setting the PK column, which I believe is in error. If I try the same for a table where the PK column is set as 'int4 NOT NULL (Identiy: Always)' the generated SQL does not include the primary key column.

Information in default field for serial data types restored.
PK key column data duplicate fixed.
Generate SQl fixed - no data, when PK is serial.

Could you please also fix:

Autocomplete of serial value doesn't work when it is the only column.

An incorrect autocomplete of the serial cell in the second row  in the table with two or more columns

Wrong SQL expression is generated via Data Editor context menu. Select Generate SQL>Insert into
Actual result:

INSERT INTO "serial"
("serial", column1)
VALUES(NULL, 'q');

Expected:
INSERT INTO "Xeniia"."serial" (column1)
	VALUES ('q');

It can be tested in PostgreSQL12 dvdrental.Xeniia.serial
DBeaver	<IP_ADDRESS>010241024

Verified issue with about Generate SQL and duplicating rows with seial type. Separate ticket https://github.com/dbeaver/dbeaver/issues/10168 is created for other issues from comment above


web version - Doesn't save changes

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
Document didn't save contents after explicitly pressing "save" 2 times.
To Reproduce
I've created separate pages for each diagram by clicking "+" at the bottom of the page.
When the diagrams were done, i've saved changes 2 times by pressing "file" -> "save " before closing the tab.
When I opened the document later - only empty pages were saved.
I've tried going to "file" -> "revision history", and there it was showing the same empty pages for each timestamp - so when I was pressing "save" it weren't saving changes.
Expected behavior
I've expected it to save the changes made 😄
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 24.2.5

Desktop (please complete the following information):

OS: [macOS 14.4.1]
Browser [Opera]
Browser Version [108.0.5067.29]

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
-yes
Additional context
Add any other context about the problem here.

Where are you saving to?

Apologies, but we currently lack the resources to investigate such cases.


Proof of concept - using givtcp modbus library

I don't expect you to accept this, but just to start the conversation. I updated my Gen2 inverter to 911 ( pre-release) and givenergy -local then fails. 909 is still supported, but after that the crc changes.
CRC and new features require an update to givenergy-modbus 10.1, which britkat has now forked to within givtcp.
To get this working ( with my basic skills) I cloned givenergy-modbus-10.1, and replaced the modules with the britkat versions. There are then breaking changes, including requirement to add an AIO flag to some of the module calls. I have stubbed those out, and worked around the others. Changed the manifest to require my github version of givenergy modbus, and it all ( sort of ) works.
I have moved my production HA to GivTCP, but wanted to get this working, and might be usefull if you want to do a major rewrite.
( I also added switch to reboot inverter, which was one of the new features)

Thanks for the prototype! I had a partial go at this myself a few weeks ago, but didn't get to the end of it. Your code will almost certainly be useful, but it's going to take me a while to find the time to polish off the changes and package everything up properly.

To add to the conversation, I too make a fork of givenergy-modbus, but cherry picked the minimal changes to version 0.10.1 to work with the new inverter firmware as a stopgap.
Changing the givenergy-modbus requirement to "givenergy-modbus @ https://github.com/gavanfantom/givenergy-modbus/archive/refs/tags/v0.10.1b.zip" in manifest.json ought to work, although I did end up manually installing it with pip in the homeassistant docker container.

If I'm understanding this correctly, we shouldn't update to 911 firmware as this is a breaking change for this integration (currently), is that right?

Damn it, I now see I saw this issue and completely forgot about it. I can now confirm that yes, if you update beyond 909 givenergy-local will not work :-(

I'm going to close this down as the discussion on #61 seems to be reaching a stable state. The current approach is to avoid using the givenergy_modbus 0.10.1 release, and instead use the pre-release code that's a complete rewrite of the original library in a much better way. This is currently available via the HACS beta release stream, but will soon be promoted to v2.0.0.
Once that's done, new issues to start bolting in extra features (such as those discussed here) are very much welcome.


Make evmap generic over underlying map

It would be really great if evmap could be generic over the underlying map implementation. This may not be possible, but it would let us support use-cases like this one by supporting IndexMap as one of the map types. Given that we only support a subset of the operations on maps anyway, maybe it's doable?

Haha, @novacrazy, looks like we both had the same thought at the same time. Closing in favor of #14.

Jinx 😄


Draft: Remove subsidiary dependency for non oneworld license users

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.609%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
566

Relevant Lines:
712

💛  - Coveralls


Update index.html

We repeat the phrase "for .NET" twice.

cla: yes.
Whoops - thanks Omar. Will merge.


merge tiflow/engine/pkg/errors into tiflow/pkg/errors

Signed-off-by: Henry Lonng<EMAIL_ADDRESS>
What problem does this PR solve?

Issue Number: close #6029
There are errors package placed in different sub-package (tiflow/engine/pkg/errors and tiflow/pkg/errors), this PR try to merge them into a single one.
What is changed and how it works?
Merge them and fix imports.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/cc @reviewer

Codecov Report

Merging #6024 (19160b7) into master (b1ce2c9) will increase coverage by 0.3302%.
The diff coverage is 66.8998%.

Flag
Coverage Δ

cdc
62.9490% <69.6248%> (+0.5720%)
:arrow_up:

dm
51.9455% <35.5555%> (-0.0274%)
:arrow_down:

engine
62.2828% <40.1360%> (-0.1577%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6024        +/-   ##
================================================
+ Coverage   57.2815%   57.6117%   +0.3302%
================================================
  Files           680        695        +15
  Lines         80230      82530      +2300
================================================
+ Hits          45957      47547      +1590
- Misses        30009      30647       +638
- Partials       4264       4336        +72

Besides DM error docs still locate in dm directory, what is our future plan for the organization of error document, will they be merged into a single error toml file?

I took a look on the DM terror package and I will merge them in another PR.

/merge

/run-leak-test

/run-dm-integration-test

/run-dm-integration-test


Adding ARIA states and config code

Adding ARIA states and config code.
Changes

Added src/static/js/config/aria-states-config.j to create ARIA states config file with valid elements lookup.

Added src/static/js/modules/util/aria-state.js to create ARIA states and update dom elements based on object properties.

Testing

Still working on a Unit test for this PR.

Notes

The basic use cases are as follows :

var state = ariaState.create( 'expanded', element );
// 'aria-expanded' attribute is now created on the element and set to false.
// state has an `isExpanded` property which is also set to false;

state.isExpanded = true;
//  'aria-expanded' attribute is now set to true on the element.

var obj = {'isSmall' : true};

var state = ariaState.define( 'checked', element, obj );
// 'aria-checked' attribute is now created on the element and set to false.
// obj has an `isChecked` property which is also set to false.

state.isExpanded = true;
//  'aria-expanded' attribute is now set to true on the element.

Review
@anselmbradford
@jimmynotjim
@KimberlyMunoz

Why not just install it as a dependency with bower?

So this implementation is different than https://github.com/IBM-Watson/a11y.js in that we are using Object.defineProperty to avoid using getters/setters. Also, I'm not validating that the element in which you are trying to set the attribute.
If you wanted to use getters/setters and validate the elements then I was suggest we use that library.

This looks like a really cool lib. Since @sebworks is modifying it, maybe it's worth forking and either contributing back to the original or maintaining our own fork.

I agree, especially if it'll be useful to other projects.
I'll go through and check it and make sure it doesn't conflict with anything else using aria-expanded to get it merged for now.

LGTM.

:+1:

:+1:


pyxtal.from_seed() silently fails

Hello!
pyxtal.from_seed() accepts the attached Pymatgen structures without an exception, but then atom_sites are empty. Please see the attached pyxtal_problem.zip for code and data.
Libraries versions:
pyxtal==1.0.5
spglib==2.5.0
pymatgen==2024.11.13
pandas==2.2.3
numpy==1.26.4

@kazeevn Sorry for the late reply.
I just made a fix here
https://github.com/MaterSim/PyXtal/commit/3112c8d4cb95ef17d8cfd3b344c8577eafc214e7
Can you try to update the code and repeat it with more examples?

Thanks a lot! The original three problematic examples, along with the whole MPTrj and WBM datasets, were processed successfully.


How can I prevent point cloud from being deleted over time?

Thanks for magnificent work.
I made your code work perfectly with my system.
I am trying to visualize and save whole pcd but point cloud gets deleted over time.
How I can prevent this deletion?

it is related with decay time in rviz

@tlgkyn06 How did you solve this?

it is not about algorithm. it is about rviz decay time, increase the decay time.


Add horizontal scrolling logbook table

When accessing via mobile or tablet, the complete content of the logbook table is not displayed. Add horizontal scrolling to the table, similar to the statistics tables, to be able to view all the values.

The logbook table on the mobile devices should show less columns. Can you send a screenshot how it looks on your device?

Mobile

With horizontal scrolling stats table mobile.

Thank you! Will check it

It still doesn't work. There is no horizontal scroll for all the columns. Now there is a small scroll, but it doesn't cover all the values.
Checked on tablet and mobile.


Wil this come out ?

@InstantWebP2P I would love such a thing! I hope it comes out or at least I would like a pre-version.

please refer to peer-vnc
https://github.com/InstantWebP2P/peer-vnc

put that osmewhere in the vnc.io repo then, or even archive it


[EVM-696] eth_FeeHistory

Description
Implementation of EIP1559 eth_feeHistory into the new gasprice package
Example call:
curl http://localhost:10002/   -X POST   -H "Content-Type: application/json"   --data '{"method":"eth_feeHistory","params":[4, 5, [25, 75]],"id":1,"jsonrpc":"2.0"}'
Response:
{"jsonrpc":"2.0","id":1,"result":{"OldestBlock":"0x1","BaseFeePerGas":["0x34d670c0","0x2e3ba2a8","0x2e3ba2a8"],"GasUsedRatio":["0x0","0x0"],"Reward":[["0x0","0x0"],["0x0","0x0"]]}}
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[x] I have added sufficient documentation in code

Testing

[x] I have tested this code with the official test suite
[x] I have tested this code manually

I have read the CLA Document and I hereby sign the CLA

Left some comments. Please take a look at Lint errors it reported as well. It looks good.

@owenwahlgren please check linting issues

thanks for the help :)
my mock for GetBlockByNumber was incorrect hence the failing test :/
--- PASS: TestGasHelper_FeeHistory (0.00s)     --- PASS: TestGasHelper_FeeHistory/Block_does_not_exist (0.00s)     --- PASS: TestGasHelper_FeeHistory/Invalid_rewardPercentile (0.03s)     --- PASS: TestGasHelper_FeeHistory/Block_Range_<_1 (0.04s)

LGTM, Just fix lint errors


cloning repo takes an inordinate amount of time

Hi,
I'm developing a cli plugin. Doing go get -u code.cloudfoundry.org/cli takes a very long time to finish. Is is possible to just pull the dependencies for creating the plugins themselves, without pulling a whole massive repository? Maybe I'm doing something wrong. It would also be good to add the go get command in the cli plugin development README.
Thanks in advance,
Per da Silva

Hey Per da Silva,
Downloading our repository does take a long time (it's a little over 200MiB with with git history and all). For plugin development purposes you likely don't need all the history, so you could just clone the repository with a shorter depth.
Ex:
mkdir -p "${GOPATH}/src/code.cloudfoundry.org"
cd "${GOPATH}/src/code.cloudfoundry.org"
git clone --depth 1 "https://github.com/cloudfoundry/cli"

If you still want to use go get, but running with the -d instead of the -u option (the -u flag instructs get to use the network to update the named packages and their dependencies) would save you about a minute.

Thank you!

Added it here, thanks for the suggestion!
https://github.com/cloudfoundry/cli/blob/master/plugin/plugin_examples/README.md#development-requirements


Update tests.yml

Update test.yml to run jupyter notebooks.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.89%. Comparing base (15660ef) to head (6c2a5b9).
Report is 59 commits behind head on patches.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           patches     #196      +/-   ##
===========================================
+ Coverage    59.81%   60.89%   +1.08%
===========================================
  Files          139      141       +2
  Lines        15322    15933     +611
===========================================
+ Hits          9165     9703     +538
- Misses        6157     6230      +73

Flag
Coverage Δ

tests
60.89% <ø> (+1.08%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Found Two fresh BUGs and a Solution

Thank you for your beautiful code.
I run this model base on Kinetics dataset, and video format is .mp4.
1st ERROR: RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
reason: Training on multiple GUPs is called tensor, which is divided into different kinds of memory or video memory.
Solution: In /.. /utils.py line 42, should add ** contiguous().view(1,-1) **, the same as line 46.
The train work but when the Iteration=40, it got a ERROR.
2nd ERROR: decord._ffi.base.DECORDError: [14:51:44] /io/decord/src/video/video_reader.cc:125: Check failed: st_nb >= 0 (-1381258232 vs. 0) ERROR cannot find video stream with wanted index: -1
And UserWarning: resource_tracker: There appear to be 122 leaked semaphore objects to clean up at shutdown   warnings.warn('resource_tracker: There appear to be %d '
Although I tried many ways, I still couldn't solve the problem.
Would you kindly let me know of the problem. Thanks a lot

Thank for your feedback:
For 1st ERROR, i will fix the bug.
For 2nd ERROR, you may update the version of decord and check the video path is correct and check if the video is damaged.


Remove --dev from pipenv install

What does this PR do?

removes the flag --dev from pipenv install

Why is this PR needed?

the resultant docker image should not include dev deps

Pull Request Checklist

[ ] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[ ] GraphQL schema and type definitions are up to date.

silk and django-debug-toolbar already seem to be part of default deps - i couldn't find them in the dev deps.

I'm seeing errors at the moment but I haven't run saleor on docker for a long time, it could be something else causing it.
example:
web_1     | FileNotFoundError: [Errno 2] No such file or directory: '/app/media/products/saleor/static/placeholders/candy/1.jpg'
web_1     | ERROR saleor.product.templatetags.product_images Thumbnail fetch failed [PID:12:Thread-49]
web_1     | Traceback (most recent call last):
web_1     |   File "/app/saleor/product/templatetags/product_images.py", line 87, in get_thumbnail
web_1     |     thumbnail = getattr(instance, method)[used_size]
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/sizedimage.py", line 149, in __getitem__
web_1     |     height=height
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/sizedimage.py", line 201, in create_resized_image
web_1     |     path_to_image
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/base.py", line 140, in retrieve_image
web_1     |     image = self.storage.open(path_to_image, 'rb')
web_1     |   File "/usr/local/lib/python3.6/site-packages/django/core/files/storage.py", line 33, in open
web_1     |     return self._open(name, mode)
web_1     |   File "/usr/local/lib/python3.6/site-packages/django/core/files/storage.py", line 218, in _open
web_1     |     return File(open(self.path(name), mode))

Ok, for more information purposes, I checked out master and ran
docker-compose build --no-cache && docker-compose down --volumes --remove-orphans && docker-compose run --rm web bash -c 'python3 manage.py migrate' && docker-compose run --rm web bash -c 'python3 manage.py collectstatic --noinput' && sleep 40s && docker-compose run --rm web bash -c 'python3 manage.py populatedb --createsuperuser' && docker-compose up -d

but seeing similar errors:
web_1     | FileNotFoundError: [Errno 2] No such file or directory: '/app/media/products/saleor/static/placeholders/t-shirts/6_nIkZUF6.jpg'
web_1     | ERROR saleor.product.templatetags.product_images Thumbnail fetch failed [PID:10:Thread-43]
web_1     | Traceback (most recent call last):
web_1     |   File "/app/saleor/product/templatetags/product_images.py", line 87, in get_thumbnail
web_1     |     thumbnail = getattr(instance, method)[used_size]
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/sizedimage.py", line 149, in __getitem__
web_1     |     height=height
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/sizedimage.py", line 201, in create_resized_image
web_1     |     path_to_image
web_1     |   File "/usr/local/lib/python3.6/site-packages/versatileimagefield/datastructures/base.py", line 140, in retrieve_image
web_1     |     image = self.storage.open(path_to_image, 'rb')
web_1     |   File "/usr/local/lib/python3.6/site-packages/django/core/files/storage.py", line 33, in open
web_1     |     return self._open(name, mode)
web_1     |   File "/usr/local/lib/python3.6/site-packages/django/core/files/storage.py", line 218, in _open
web_1     |     return File(open(self.path(name), mode))

Seems like something with the versatileimage manager not seeing the images.
The /app/media directory seems to be emtpy too.
u2@u2-desktop:~/Documents/repos/opensource/saleor$ docker-compose exec web ls -al /app/media
total 12
drwxr-xr-x 2 saleor saleor 4096 Oct 15 21:24 .
drwxr-xr-x 1 saleor saleor 4096 Oct 15 21:24 ..

So this seems to be an issue on master - nobody else has noticed it ?

Removing --dev will break the tests in circle CI
https://github.com/mirumee/saleor/blob/7f954d9b879f1b0dbbb74a20bb0608f01a55c762/.circleci/config.yml#L31

@jxltom
Can you add some information why? any errors, etc. We are trying to ascertain what dependencies need to be moved into default deps.

The pytest is running insider the built docker image, so obviously pytest and all its plugins are needed. Otherwise pytest command can not be found at all.

You can move all test packages to default packages but I won't recommend that since test packages has nothing to do with saleor's core codebase and they shouldn't be installed in production server.

Or you can add --dev to pipenv install when building docker just like now.

Or you can remove unittest in circle CI.

Or you can update the circle CI's workflow which contains two job, one job should build a docker image with dev packages and run the unittest. The other should build docker image with only default packages and then push to saleor's docker registry which then can be used in production server.

IMHO, the third solution is the easiest one but the fouth is the best one though it requires some time to do that.

closing in favour of #3118


ember-cli 0.2.0 compatibility

When installing the addon into a fresh ember-cli 0.2.0-beta.1 project the browser throws the following error:
Uncaught Error: Could not find module simple-auth/utils/load-config
Still looking into the exact cause.

Can you check the bower package is actually installed?

ls bower_components/ember-simple-auth
LICENSE                         simple-auth-oauth2.js
README.md                       simple-auth-testing.amd.js
bower.json                      simple-auth-testing.js
simple-auth-cookie-store.amd.js simple-auth-torii.amd.js
simple-auth-cookie-store.js     simple-auth-torii.js
simple-auth-devise.amd.js       simple-auth.amd.js
simple-auth-devise.js           simple-auth.js
simple-auth-oauth2.amd.js

I get the same error with a fresh install of ember-cli-simple-auth-oauth2

Hm, looks like ember-cli 0.2.0 will introduce some changes to the way addons are handled - might very well be related to that.

Any updates to this?

@john-griffin: did you find out why it's failing?

I'm not able to return to this until Wednesday. I believe it's due to the way the addons are packaged but did not have chance to get to the bottom of it. Try asking on the #ember-cli IRC channel, they are quite helpful.

On 22 Feb 2015, at 06:56, Marco Otte-Witte<EMAIL_ADDRESS>wrote:
@john-griffin: did you find out why it's failing?
—
Reply to this email directly or view it on GitHub.

I was seeing this problem on ember-cli 0.2.0-beta as well.
It seems to have vanished after a fresh
ember install:addon ember-cli-simple-auth
ember install:addon ember-cli-simple-auth-devise
hope that helps

Yeah that works for me. Seem like the base simple-auth addon needs to be installed separately now. I'll update the docs.

:+1:

I'm not actually sure what the problem is here - probably just some change in ember-cli that I'm missing though. I opened an issue to clarify that: https://github.com/ember-cli/ember-cli/issues/3531

Docs where updated as @john-griffin suggested - unfortunately there's no better fix for now.


Tech Docs review of Name Entity Extraction notebook

What does this PR do?
General review of text in notebook
Fixes # (issue)
Before submitting

[* ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Hit Location

Possibly add the Hit Locations 1-20 rolls on Wounds area, make it easier for players when altering location for raises on combat roll?

Oddly enough, I wasn't notified when you opened this issue. I'm looking into adding a Hit Location button to the chat when you roll to hit, which will then take the modifier into account. The problem is that it's an optional modifier... otherwise, the Combat tab should have Hit Location button for the short term.

Cool.  We started our campaign last Friday.  All is working fantastic.
Your right it is optional.  But just having the hit location numbers on the
sheet would be enough.
On Mon, 3 Aug 2020 at 05:49, Jeremy S<EMAIL_ADDRESS>wrote:

Oddly enough, I wasn't notified when you opened this issue. I'm looking
into adding a Hit Location button to the chat when you roll to hit, which
will then take the modifier into account. The problem is that it's an
optional modifier... otherwise, the Combat tab should have Hit Location
button for the short term.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Baledin/roll20-character-sheets/issues/2#issuecomment-667800940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAVWHO4OAAWQHI2XJNQ2ZTR6Y6VBANCNFSM4OP3OQNA
.

Reading your comment gave me a bit of an epiphany... what if the table appeared in chat when you roll for it... so it shows up in chat with all of the options and the rolled option highlighted.. you can then adjust up or down as necessary?

That sounds good.  We play on a two week basis.  Next game is 14th August
so can play test a change easily before then.
On Mon, 3 Aug 2020 at 16:29, Jeremy S<EMAIL_ADDRESS>wrote:

Reading your comment gave me a bit of an epiphany... what if the table
appeared in chat when you roll for it... so it shows up in chat with all of
the options and the rolled option highlighted.. you can then adjust up or
down as necessary?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Baledin/roll20-character-sheets/issues/2#issuecomment-668086923,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAVWHMSYIXEWIDUQOQ4HZDR63JUNANCNFSM4OP3OQNA
.

I'm recovering from arm surgery so it may not be live by then (I would have to have it done by the Sunday prior which only gives me this week). Plan for testing it on the 28th.

No problem buddy, hope your arm healing okay.  It’s no rush.  First game
was great.  Almost killed a PC in one hit Headshot first shot of the game
(would have been a critical wound had he not taken Brawny to increase size
lol)
On Mon, 3 Aug 2020 at 16:39, Jeremy S<EMAIL_ADDRESS>wrote:

I'm recovering from arm surgery so it may not be live by then (I would
have to have it done by the Sunday prior which only gives me this week).
Plan for testing it on the 28th.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Baledin/roll20-character-sheets/issues/2#issuecomment-668092527,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQAVWHOTIQNLWUO47ATHQV3R63K3TANCNFSM4OP3OQNA
.

OUCH, lol. My campaign, everyone is new to it (I may as well be, introduced 20 years ago and didn't touch again until now) so we're having a ton of in-game pain learning the ropes 😆


Modify: Betterbird.Betterbird version 115.16.0

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Profile picture uploads larger than 1mb throw an error

As a user
I need the profile picture upload functionality to support files larger than 1MB
So that I can upload high-quality images and personalize my profile
Details and Assumptions

The current profile picture upload functionality restricts file uploads to 1MB or smaller.
Users may have high-quality images or profile pictures that exceed the 1MB limit.
Allowing uploads of larger files will provide users with more flexibility in selecting and uploading their profile pictures.
The system should handle larger file uploads efficiently and securely without compromising platform performance.

Acceptance Criteria
Given I am logged into my account
When I attempt to upload a profile picture larger than 1MB
Then the upload process is successful
And I receive confirmation of the successful upload
And the uploaded profile picture, which exceeds 1MB, is displayed on my profile page

Closed by using the client_max_body_size directive in nginx


Installation does not work on Windows 10

If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment

[ ] Windows 7 or below (not truly supported due to EOL - see wiki for details)

[ ] Windows 8

[ ] Windows 8.1

[ ] Windows 10

[ ] Windows 10 IoT Core

[ ] Windows Server 2012

[ ] Windows Server 2012 R2

[ ] Windows Server 2016

[ ] My Windows installation is non-English.

I'm using NVM4W version:

[ ] 1.1.7
[ ] 1.1.6
[ ] 1.1.5
[ ] 1.1.4
[ ] 1.1.3
[ ] 1.1.2
[ ] 1.1.1
[ ] Older
[ ] OTHER (Please Specify)

I have already...

[ ] read the README to be aware of npm gotchas & antivirus issues.
[ ] reviewed the wiki to make sure my issue hasn't already been resolved.
[ ] verified I'm using an account with administrative privileges.
[ ] searched the issues (open and closed) to make sure this isn't a duplicate.
[ ] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.

My issue is related to (check only those which apply):

[ ] settings.txt
[ ] proxy support (Have you tried version 1.1.0+?)
[ ] 32 or 64 bit support (Have you tried version 1.1.3+?)
[ ] Character escaping (Have you tried version 1.1.6+?)
[ ] A standard shell environment (terminal/powershell)
[ ] A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Expected Behavior
Fill me in...
Actual Behavior
Fill me in...
Steps to reproduce the problem:
Fill me in...

Extracted install files to C:\Users\myname\nvm
Tried running install.cmd where it then asked me for settings file. created new file C:\settings.txt with the following contents:
root: C:\Users\tpayne\AppData\Roaming\nvm
path: C:\Program Files\nodejs
Tried running install.cmd again and got the following:
WARNING: The data being saved is truncated to 1024 characters.
ERROR: Access to the registry path is denied.
Access is denied.
I really cannot believe that software as buggy as this should ever gets published!
All this command line nonesense really needs to go,..


Typo Fix: Part 6:  Pin to dashboard or workbook section

https://i0.wp.com/azurecloudai.blog/wp-content/uploads/2022/02/pinttodashboard.png?ssl=1

Pin do Azure Dashboard

Should be...
Pin to Azure Dashboard

Resolved


How is Shadow implemented?

Hello! I must say you did an impressive work on shadows! I'm currently working a Carft fork and I'd like to know how did you implement shadows, I'd like to do Something similar!
Please tell, and thanks in advance! 😄

@mpaoloni ?


[Request] Add support for getting devices with attached given template.

Description
Implement functionality to get list of devices that are attached to template with given template_id:
GET:  dataservice/template/device/config/attached/<template_id>

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/issues/267


Enhance: Cache and load balancing

Cache
use LRU cache algorithm
Load balancing
How can i do?

Load Balancing with Nginx

long tail photo
In statistics and business, a long tail of some distributions of numbers is the portion of the distribution having many occurrences far from the "head" or central part of the distribution.
by wikipedia

So then, server have to hold about 20% URL data. 20% of 2TB is 400GB.
This project Need 400GB cache memory? something wrong.


Corrected grammatical error in model.belongsTo

('It can also used' -> 'It can also be used')

Cheers.


editing '/usr/share/containers/libpod.conf' not honored

I know we moved to this approach where our downstream packages ship a '/usr/share/containers/libpod.conf' ... and i believe we want users to copy that to /etc/containers/libpod.conf and make local edits.  But it appears that changes '/usr/share/containers/libpod.conf' is not being honored.
is that by intent or a bug?

@rhatdan wdyt?

If we are not honoring changes, that means we're not loading the file. That's a pretty fundamental problem - means we're probably running on compiled in defaults, as opposed to using the config file at all.

i agree, but I want @rhatdan do agree samewise.

/etc/containers/libpod.conf should override /usr/share/containers/libpod.conf.  If it does not, we should fix this before we ship podman 1.5.

@rhatdan I think you misunderstand ... I'm asking if I edit /usr/share/containers/libpod.conf in place, should podman honor those changes?

If we are not "honoring the changes" and there is no /etc/containers/libpod.conf in place - that's 100% a bug.

@baude Correct rootful should honor anything in /usr/share/containers/libpod.conf as long as their is no /etc/containers/libpod.conf.

ok, it is a bug as @mheon  says


Feeback generator node

First version of the feedback generator node
Naive object tracking: Maps uuids to each class label, does not consider multiples of objects
Bug fix: swaps the top and bottom points in order to be correctly aligned
Optional reviewer @Purg

@joshanderson-kw PTAL

@Purg / @joshanderson-kw  this is ready for another look

LGTM! My only other question/comment would be if we want to use the BoundingBox3D from vision_msgs, or redefine it locally in angel_msgs, like @Purg mentioned. Or do we want to save that for another PR?

I figured this would be a different PR

Yeah, different PR.


Use Tab to go back to "insert" mode

MacVim
mvim --version:

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 27 2018 11:10:27)
macOS version

(There's more information, like patches applied, options enabled by default, etc. I can paste it if you're interested)

Output of :echo has("python"): 0
Output of :echo has("python3"): 1
Output of :echo &pythondll(only vim, not neovim): ""
Output of :echo &pythonthreedll(only vim, not neovim): ""
Output of :py print(sys.version): E319 (command not available)
Output of :py3 print(sys.version): 3.6.4 (default, Mar  9 2018, 23:15:03)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)]
Operating system:

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc: none

Describe your question, feature request, or bug.
It would be nice if it's possible to also press Tab to go back to "insert" mode.
Steps to reproduce

<Leader>F
Press Tab

Actual behaviour
When pressing Tab it does nothing.
Expected behaviour
When pressing Tab it goes back in "insert" mode (as if I pressed i).

You can refer to the below:
https://github.com/Yggdroot/LeaderF/blob/7eada2057cb2cae4f50e6b7bc4b342ee96b730b9/doc/leaderf.txt#L429-L448
e.g.,
let g:Lf_NormalMap = {
         \ "File":   [["<tab>", ':exec g:Lf_py "fileExplManager.input()"<CR>']]
         \ }

Thanks, I'll try that locally, but don't you think it would be interesting to make it by default for everyone? It seems simpler (to me) to have one key to swap between modes.

I added that in my .vimrc and it feels way more natural to use now:
"" LeaderF
let g:Lf_NormalMap = {
         \ "File":   [["<ESC>", ':exec g:Lf_py "fileExplManager.quit()"<CR>'],
         \            ["<TAB>", ':exec g:Lf_py "fileExplManager.input()"<CR>']
         \           ]
         \ }

It would be nice to have that by default IMHO.

Sorry, I am already accustomed to "i", so I don't plan to change it.

I think adding <tab>  instead of just replacing "i"  is another solution.

Yep, I also think that adding is better since it doesn't change users habits.

Just tested on File and Buffer pages, it works super nice, thanks! ;)


compileKogito has no dependency on processResources

My build works when I run ./gradlew clean bootRun, but when I just run ./gradlew bootRun, I get the following error:
A problem was found with the configuration of task ':processResources' (type 'ProcessResources').
  - Gradle detected a problem with the following location: '/Users/kgeis/Downloads/kogito-demo-rules/build/resources/main'.

    Reason: Task ':compileKogito' uses this output of task ':processResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':processResources' as an input of ':compileKogito'.
      2. Declare an explicit dependency on ':processResources' from ':compileKogito' using Task#dependsOn.
      3. Declare an explicit dependency on ':processResources' from ':compileKogito' using Task#mustRunAfter.

    For more information, please refer to https://docs.gradle.org/8.10/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.

Possible consequence of this: When I build dmn-drools-springboot-metrics with Maven, the resulting application has
    12313  09-04-2024 14:45   BOOT-INF/classes/https_58_47_47github_46com_47kiegroup_47kogito_45examples_47dmn_45quarkus_45listener_45example/LoanEligibilityResource.class
    12998  09-04-2024 14:45   BOOT-INF/classes/https_58_47_47github_46com_47kiegroup_47kogito_45examples_47dmn_45quarkus_45listener_45example/LoanEligibility.dmn_nologic

With the Gradle plugin, the .dmn_nologic file is missing.

Thanks for opening this issue, it seems to be related to task referencing in gradle version 8, in earlier gradle versions were warnings.
I will fix it soon but in the meantime gradle 7.x should work, thanks.


How I can convert .h5 event files to txt format?

Hi,
Thanks for the great work, Can you please guide me how can I convert event files from .h5 format to txt format? Is it valid to do with this dataset?
Thanks and regards,

Thanks @ramnamaqsood
You can use this code to read out x, y, p, and t and then write it into a txt file.

@magehrig  Thank you very much for your response. I have modified the code to write data in txt file. Just for verification, I have shown few converted data. Can you please verify it?
307	201	1<PHONE_NUMBER>8
568	201	1<PHONE_NUMBER>8
572	205	1<PHONE_NUMBER>8
549	205	1<PHONE_NUMBER>8
247	205	0<PHONE_NUMBER>8
233	204	0<PHONE_NUMBER>8
58	204	1<PHONE_NUMBER>8
424	204	1<PHONE_NUMBER>8
526	206	1<PHONE_NUMBER>8
225	206	1<PHONE_NUMBER>8
227	206	1<PHONE_NUMBER>8

yes that seems reasonable

@ramnamaqsood hello，could you share your code that you used to convert .h5 event files to txt format ? I appreciate your support very much！


Add Code Of Conduct

See https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/

Be respectful toward other members of the community. Don't initiate or engage in discussions that are designed to insult, inflame, attack, or incite hate/discrimination/bullying against others. Don't feed the trolls. If we detect any kind of behaviour we consider unacceptable, we reserve the right to ban, block, or remove the involved members from any or all of our communities.

How's that?


Text link variant of README ToC

A variant of https://github.com/voxel51/fiftyone-examples/pull/14 where the links in the README ToC are text rather than images (inspired by https://github.com/norvig/pytudes/blob/master/README.md). I couldn't decide which I liked better.
Any thoughts?
Text version (this PR)

Image version (#14)

I think the image links look good, but your call.

Thanks for the second opinion; SGTM 👍

I think the image links look good, but your call.

Thanks for the second opinion; SGTM 👍


Remove gsmoore from plugin-contrast-continuous-application-security.yml

Description
Remove @gmoore's permission to deploy contrast-continuous-application-security.
cc: @aliaandersen, @bryanateoan
https://github.com/jenkinsci/contrast-continuous-application-security-plugin
Submitter checklist for adding or changing permissions
Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

I approve


Possible fix at gif.py

Running the propagator example this raises an error:
*** ERROR: (clingo): Traceback (most recent call last):
File "/home/davila/miniconda2/envs/testing-clingraph/lib/python3.10/site-packages/clingo/script.py", line 233, in _pyclingo_main
return _pyclingo_script_main(
File "/home/davila/miniconda2/envs/testing-clingraph/lib/python3.10/site-packages/clingo/script.py", line 196, in _pyclingo_script_main
script.main(Control(_ffi.cast("clingo_control_t*", ctl)))
File "/home/davila/miniconda2/envs/testing-clingraph/lib/python3.10/site-packages/clingo/script.py", line 151, in main
main.main(control)  # pylint: disable=c-extension-no-member
File "", line 90, in main
File "/home/davila/git/tmp/tmp/tmp/clingraph/clingraph/gif.py", line 91, in save_gif
duration = int(1000 * 1/fps)
TypeError: unsupported operand type(s) for /: 'int' and 'str'

Handled in commit f05c275fa5b2b236e6418853faf85320566ca3b1


Algolia search grows out of window for long titles

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed: https://github.com/GetStream/Winds/issues

Description
Steps to Reproduce

Shrink window a bit
Type stuff in the search bar

Expected behavior: For the results to stay inside the screen
Actual behavior: Before:

After:

Reproduces how often: Always
Aditional Info
Because the searchbar also grows with the results, it pushes the other menu buttons outside of the screen.

Already fixed.


fix: Name Level, I think i broke something

It is an exact copy of the castle level, same time and everything.

i fixed it (o゜▽゜)o


Configurable New Line Format: LF or CRLF or Custom

Well, this is possible to implement as a new option in this library, but at the moment this can be achieved outside the library. For example, after getting xml output, you can replace all of \n characters with \r.
I will consider implementing it as part of this library if I get more request on this feature.

+1

+1.
At some point i needed to have
 instead of literal \r\n symbols, so It could be good to have the internal solution for it


get image URL

is there a way to get the URL of every post while scraping likes and comments of each post from a profile?

The URL of a post is instagram.com/p/{shortcode}. You can easily get the shortcode of each Post.

I think th question was meant to get a URL that directly leads to the .jpg-file, not to the page where comments etc. are enlisted on the right hand side.
Should look somewhat like:
https://scontent-frt3-2.cdninstagram.com/v/t51.2885-15/e35/92094xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01133551_n.jpg?_nc_ht=scontent-frt3-2.cdninstagram.com&_nc_cat=110&_nc_ohc=qJhMxxxxxxxxxxxxwYfYQ&oh=4b4d8xxxxxxxxxxxxxxxxxxxxxx6d8f75f&oe=5ExxxxBC
I am also interested in this issue.


OMIM entry

http://bioregistry.io/registry/mim
Alternative Prefixes
OMIM OMIMPS PS
I am not sure the phenotypic series should be considered alternative prefixes. The phenotypic series and the individual disease entries are disjoint categories, and there are distinct ways to resolve them
Example of a PS:
https://omim.org/phenotypicSeries/PS214100
Depending on the registry's strategy for typing, one possibility is to introduce a ns mim.ps. This is consistent with decisions made by identifiers.org for other databases that have entities of different types, e.g KEGG, and these decisions are inherited by bioregistry
Also the pattern ^[*#+%^]?\d{6}$
Seems to be confusing the file format with the ID. the *#+%^ is not part of the ID, even if the omim.txt file and the website show these symbols preceding the ID

mim.ps is now live https://bioregistry.io/registry/mim.ps


[PE-D][Tester D] Storage component UML diagram not updated in developer guide

In the developer guide, the Storage component UML diagram hasn't been updated from the AB3 developer guide to reflect the description written below it. In the description, it says Storage inherits from Student DirectoryStorage interface, but in the UML diagram, it shows Storage inheriting from the AddressBookStorage interface

Labels: type.DocumentationBug severity.Low
original: rithanisk/ped#12

this is completed, I just uploaded the wrong pdf


networkd not obtaining DHCP

I guess we still have a problem with networkd. I had a chance to check out the last change to it, and as it turns out it won't obtain an IP address. The unit itself is running, but that's it. Rolling back to before 56f66dad97758a049f8f05e734cf41d936f7b476 and f8dbe5f376978947067283c6d03087d7948c50de works.
Thanks!

Is this the source of the test failures in Hydra? For instance: http://hydra.nixos.org/build/21544979/log#line-1856

@auntieNeo I don't think so. From the log you linked it seems that dhcpcd is used and successfully acquires a configuration.

Wait dhcpcd is being used in the networkd dhcp test?
On Apr 23, 2015 12:16 PM, "devhell"<EMAIL_ADDRESS>wrote:

@auntieNeo https://github.com/auntieNeo I don't think so. From the log
you linked it seems that dhcpcd is used and successfully acquires a
configuration.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/7505#issuecomment-95689800.

@wkennington Uh, the log @auntieNeo linked is vm-test-run-installer-btrfsSubvols, so I guess not?

Yeah that is using scripted so it's fine. I'll have to look into the dhcp
issue in networkd..
On Apr 23, 2015 12:38 PM, "devhell"<EMAIL_ADDRESS>wrote:

@wkennington https://github.com/wkennington Uh, the log @auntieNeo
https://github.com/auntieNeo linked is
vm-test-run-installer-btrfsSubvols, so I guess not?
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/7505#issuecomment-95695303.

@wkennington Thanks, much appreciated!! :-D


Edit snippet has extra checkboxes

The edit snippets page (classic UI) has extra check boxes that are not necessary.  They look like copy-and-paste from the form that shows the list of snippets.
http://www.screencast.com/t/oZTpP82y

Actually looks like this is intentional to enable editing more than one snippets in one go.  Maybe we should hide these checkboxes when user is editing a single snippet which is the most common case.


Develop stream 2024-09-10

Replace custom vector type defintiions with aliases to HIP builtin vector types
Add support for large indices in device_merge_sort
Improve shared memory usage in block_exchange
(internal ci) Set up sccache integration
(internal ci) Allow passing benchmark seed from environment
Add some documentation regarding stability in the sorting algorithms
Allow const inputs for partial_sort_copy
Improve data generation for benchmarks

Input data for some types was not generated correctly. This resulted in reporting a better than expected performance. As a result of this change, reported performance will go down, but this is only due to a change in benchmarking and not due to a change in algorithm performance.

Update block sort example
Add find_first_of implementation
Tread 128-bit integers as fundamental types

This resolves the ONNX issue from the other day

Add test for whether blockIdx is ordered

Needs to be rebased on https://github.com/ROCm/rocPRIM/pull/604 when that is merged

I think that there is a recent commit internally that addresses this issue. I'm pulling in the changes since this pull request was opened, I'll push that tomorrow.

@Snektron @Naraenda Were you able to find a fix for the documentation warning?

I believe this should be ready now. I fixed the Doxygen warning and also rebased the branch because there were conflicts


Fills in information for SoapUI, fixes DA step, switches to localhost

 You should sign our Contributor License Agreement in order to get your pull request merged.

This pull request makes the build fail.

This pull request makes the build fail.

All is well.

All is well.

All is well.

All is well.

All is well.

All is well.

All is well.

All is well.

All is well.


New content from association_basics.md

https://github.com/rails/rails/commit/017de712ee55c56f3d9ef9747d276dd0aa43244c#diff-6cb426645499101965568d643d991110R2247
:question: Question: How do you guys keep up with upstream? :smile:

We follow the following steps for now:

(Manual) Use our master branch to keep up with upstream in a certain period (such as Rails 4.2 release)
(Manual) Upload the source files to GTT to make use of Translation Memory
(Manual) Translate the guides on GTT
(Automated) Download archived zip from GTT (cf. download_archive.coffee).
(Automated) Unarchive, allocate, generate HTML files.
(Manual) Deploy it to Heroku.

Because there are some manual steps, it costs to iterate. So, we can't update so often for now :cold_sweat:
For the future, I'd like to automate it as much as possible. So, I'm thinking of how to make it more efficient; for example, my ideas include:

Get GTT API (rejected once requested :sob: )
Quit from GTT and use (or implement) software that can handle translation memory to automate more.
Use Gengo for updated sentences (if we can get money somehow)

I'm glad if you have good ideas or tools used for translation :pray:

@yasulab
これ、今更ですが、おわっているように見えます。　Ref
閉じてもよいのではないでしょうか。

Good call! Yes, I've update the guide very recently, so I've closed this issue ;) Thanks! 😸


add # symbol to escape characters

In recent zsh you may be able to use ${(b)parameter} for this:
% s='foo#bar'
% print -r - ${(b)s}
foo\#bar

Reference: http://zsh.sourceforge.net/Doc/Release/Expansion.html#Parameter-Expansion-Flags

Added commit 5237203 to address this using the b param expansion flag. Thanks @danielshahaf for the heads up

@danielshahaf Do you know when the b param expansion flag was added to zsh?

@ericfreese: And how this is going to help? I'm using # in my command line as an alias for various commands: https://github.com/seletskiy/zsh-hash-aliases

@danielshahaf Do you know when the b param expansion flag was added to zsh?

Commit zsh-users/zsh@6269db883ad6989a578bac299deab9c4285bb1df, first released in 5.1.1, workers/35067.

@danielshahaf Looking into it a bit more, it looks like it was actually first released in 5.0.8: https://github.com/zsh-users/zsh/blob/zsh-5.0.8/ChangeLog#L314-L319
@seletskiy This would help by escaping # characters. I believe the b flag should escape all chars here.
--
Unfortunately, I think we should try to support zsh versions below 5.0.8, so will probably revert the above commit and keep the escape function, adding a note that we may be able to use the b flag at some point in the future.

@seletskiy I'm also not seeing an issue to begin with here. # characters seem to work just fine for me with the code as-is (tested w/ versions 5.0.8 and 5.2.
% zsh -f
%% alias -g -- '#wc'='| wc -l'
%% source zsh-autosuggestions.zsh
%% cat zsh-autosuggestions.zsh #wc
     429
%% cat zsh-autosuggestions.zsh #       <== Suggestions work fine here

Can you explain more specifically the exact problem you're having? What version of zsh are you using?

@ericfreese I stand corrected.

Please, reopen. It is the issue, otherwise I haven't reported it.
 λ  ~ alias -g -- '#'='| grep'
 λ  ~ echo 1 # 1
1
 λ  ~ _zsh_autosuggest_strategy_match_prev_cmd:18: bad math expression: operator expected at `1 # 1'
#_zsh_autosuggest_strategy_match_prev_cmd:18: bad math expression: operator expected at `1 # 1'
#

I'm also getting this issue. Typying # gives me the same error.


Occasional failure to create s3 client when loading artifacts

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
Expecting artifacts to load consistently in the pod. However we notice at least 1 failure a day randomly.
Error (exit code 1): artifact metadata failed to load: failed to create new S3 client: NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Version
v3.3.9
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Any workflow pod that loads data from a store, s3 in our case.
It could be the internal library that's causing issues as well
https://github.com/aws/aws-sdk-go/issues/2914
https://github.com/aws-observability/aws-otel-collector/issues/1286
Logs from the workflow controller
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

Will add these logs

Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Will add these logs

@louisnow it looks like your AWS credential provider is rate-limiting to add AWS credentials on your pods. Can you check your provider log?

Thanks for the quick response @sarabala1979, I'll check and get back!

@sarabala1979 the authentication is done from the role. The maximum session duration for that role is set to 1 hr, could this be a potential reason? As when the workflow creates a pod during this process it could be breaking while updating the token for the pod due to timeout.

@sarabala1979 can you look at the above comment and help me understand if this is the valid reason

@louisnow @gauravkcldcvr have u encountered this in v3.4.11 or higher?


Implement generic resource view

Is your feature request related to a problem? Please describe.
I would like to be able to view any resource on the cluster.
Describe the solution you'd like
Have a generalized view where you can query (if possible with autocomplete), any resource that is available through kubectl api-resource.
This would allow seeing more niche standard resources as well as any custom resource (e.g., external-secrets, servicemonitors, policyreports, argocd applications, etc.)
Additional context
I realise that the following issue https://github.com/Ramilito/kubectl.nvim/issues/23 already exists and mentions CRDs, but I think this feature is more general and would not only be for custom resource definitions, but any resource/custom resource whatsoever.

Hi and thanks for creating an issue 🙏!
Would love to hear more on how this should look like and would it be different from the Fallback view mentioned in #23?
The idea with that one is to handle the output from example :Kubectl get external-secrets and give some sort of basic functionality.

I am not quite sure how the fallback view would work/look like, but, personally, I would rather avoid typing the whole kubetctl get XXXX command to trigger this.
I guess what I am thinking is to have a hotkey trigger something similar to the <c-f> Filter, where you could enter the resource name with auto-complete (auto-complete source could be retrieved from kubectl api-resources). Once you enter the resource you desire, you get a view similar to the pods/deployments/secrets one, where it just list all the resources and you could describe, delete, edit any of them.
Basically, a bit similar to the k9s:

and

Hopefully that made sense, let me know if it doesn't.

I loves the suggestion and really happy with the results, I just merged it and would love to hear if it meets your expectations!
You trigger the search using ctrl+a (short for alias), start typing and tab to cycle through the suggestions, if it's a view we support then it should load those otherwise fallback on the generic view.
The generic view is pretty barebones atm, it has name and namespace always and some other columns if some conditions are met.
My thoughts regarding that is to let it grow organically and try to create real views when we need it instead of covering all scenarios.

I loved the suggestion and really happy with the results, I just merged it and would love to hear if it meets your expectations!
You trigger the search using ctrl+a (short for alias), start typing and tab to cycle through the suggestions, if it's a view we support then it should load those otherwise fallback on the generic view.
The generic view is pretty barebones atm, it has name and namespace always and some other columns if some conditions are met. It also has basic actions such as edit, delete and describe.
My thoughts regarding that is to let it grow organically and try to create real views when we need it instead of covering all scenarios.

LOVE IT!
can you make :Kubectl get ... give the same view?

can you make :Kubectl get ... give the same view?

Good idea! Yeah that shouldn't be too difficult!

works great, thanks a lot! I like the workflow, it really boosts the capabilities of the plugin, especially for clusters that have a lot of custom resources.


BarButtonItems disappear

When i select first photo Cancel and Done button disappear.

Solved. I've change navigation bar apperance from appdelegate


Why the deprecated API is still being used in default provider implemention?

we want to build a 3rd-party provider by referring default provider, As we know, the deprecated API will be removed sooner or later, but in the latest branch, we found it is still being used in the default provider, for example RSA_size(), so if we don't want to use the deprecated API, which provider can we refer to now?

the deprecated API will be removed sooner or later,

... removed from public view.  That doesn't mean that they stop existing internally.

OpenSSL's providers aren't the best example of how to do things right, because of the fairly unusual entanglement with functions offered directly by libcrypto (albeit deprecared for the most part).  You may have better luck looking at other 3rd party providers.  A few that I know are listed in https://github.com/provider-corner/provider-corner/README.md
At some point, when the deprecated functions are removed from public view, I expect that we will shuffle around some source to make it cleaner.

for example RSA_size(), so if we don't want to use the deprecated API, which provider can we refer to now?

As @levitte says these APIs will eventually be removed from the public API so application's cannot call them directly. However they remain as our low level interface to the RSA algorithm. Therefore OpenSSL's own default provider will continue to call them even after they have gone from public view.


FR: Allow inheritance in model

It would be cool to allow inheritance in the model, e.g. define a Person class and a User class derived from that, adding objectClasses and attributes in the latter.

Merged into master and released in version 0.7.0.