Search a template to locate specific table cells and augment them

Having just built a table template (e.g. below), is there a way I can safely and uniformly location particular cells and either augment or overlay their contents? I need to create input fields & text areas which are sized to overlay a rectangular area of cells in this table. I don't want to be depending on DOMVM internals which might change.
Ideally I'd do this by positioning the elements relative to top left of cell x,y and the bottom left of cell' x',y'. But I can't conceive of any way to position siblings relative to other siblings or their contents.
If I was dealing with the rendered DOM I'd tag the cells on interest and overlay the input fields. But, crucially, this must all happen in a single frame render since there must not be a flicker of display then display with inputs.
I am also trying to avoid creating several thousand VMs for each of the cells and avoid complicating the creation of base grid structure with the (quite numerous things that can augment it, include providing customers the ability to provide there own augmentation around this grid structure.
So, ideally I want an end result that can say "position this widget at row 3, col 7, width 10 cols height 2 cols, offset +/- n pixels.
function view(vm,mdl) {
    return function render() {
        var txt=mdl.text();

        if(txt.length==0) { return []; }

        var dsptxt=[ "table.display-panel", buildRows(vm,txt) ];

        // invoke customer supplied code here and get a list of augmenting objects
        // augment dsptxt cells here

        return dsptxt;
    };
}

function buildRows(vm,txt) {
    var arr=[];
    arr.push([ "tr.hidden",buildCols(vm,"th",txt[0])]);
    for(var xa=0,ln=txt.length; xa<ln; xa++) {
        arr.push([ "tr", buildCols(vm,"td",txt[xa])]);
    }
    return arr;
}

function buildCols(vm,typ,row) {
    var arr=[];
    for(var xa=0,ln=row.length; xa<ln; xa++) {
        arr.push([ typ, row[xa] ]);
    }
    return arr;
}

there are a few ways to get things done. let' start with the most obvious one first.
dsptxt is just a jsonml structure (which you have built, not relying on any vtree internals).
why not create a custom helper/locator function that simply walks dsptxt and mutates it as needed prior to returning it?

dsptxt is just a jsonml structure

Doh. I am still in a Mithril mindset where m returned something Mithril built.

yeah, it's one of a few downsides of hyperscript...until some standard spec for vtrees arrives. one of several reasons for domvm using a somewhat standardized jsonml intermediate.

I am correct in my assumption that there's no way to calculate the position of any given cell, relative to the top/left of the container without rendering into the actual DOM, right? Which by any trickery will still cause a display flicker of at least one frame.
I am trying to avoid resorting to a canvas, which I know from experience with the application I am replacing will result in a mountain of extra work and a loss in "free" customization from CSS.

a somewhat standardized jsonml intermediate

I actually like the way the templates pan out... I am still just getting used to the implications.

I am correct in my assumption that there's no way to calculate the position of any given cell, relative to the top/left of the container without rendering into the actual DOM, right?

right, unless you have fixed sizes for everything and can calc it yourself. the browser needs to run layout/reflow to get any measurements.
there are some tricks you can do, like temporarily set css to visibility: hidden, or position: fixed + huge negative margins to render the table off-screen.
however, absolute positioning + offsets seems like the wrong way to go here. why not just place the inputs inside the cells with width/height 100%? it's not like you're adding inputs to some foreign table...
perhaps i just dont see the bigger picture...

why not just place the inputs inside the cells with width/height 100%?

That's loosely the current plan, but with some complications. The cell is just an anchor point and the widgets need to be able to cover multiple cells and be relatively offset by px/rem/em/etc. The primary difficulty is calculating the width and height for those that span multiple cells. Using 100% for that might entail deleting neighboring cells vertically and horizontally and adding row/col spans.
But I'm not looking for you to solve the problem, just making sure there's nothing in the bigger picture that makes it easier than I currently think it is.

yeah, it's a hard problem to solve in general and any solutions that actually overlay existing dom nodes have the fragility of layout changing out underneath them during scroll/resize or other expensive-to-recompute-and-redraw events.
the most robust solution would probably be to dynamically set rowspans/colspans and have your locator/augmenter take this into account, but again, without the big picture it's impossible to make any meaningful recommendations.
[1] looks like a good grid component if you're willing to ingest a 400-500k min lib D:
Interestingly, it carries a pikaday.js dependency [2].
[1] http://docs.handsontable.com/0.17.0/demo-merge-cells.html
[2] https://github.com/handsontable/handsontable/tree/master/dist

Yeah, it's nice, but I have a 200 to 500 K total app goal, including CSS and images. And I need total control over the augmentation. This is all going to be hand-rolled and lean on CSS as much as possible.

declarative and arbitrary parametric constraints

Indeed. I consider the design of CSS (not the concept) to be one of the biggest fails in recent software history.

At least we finally have flexbox, box-sizing: border-box, insanely fast js engines and evergreen browsers. The horrors of IE6/7 dev are becoming repressed memories.

The world today is definitely more palatable than that of 10, even 5 years ago.
I'm reading the white-paper for CCSS now.

It may be of interest to anyone reading this thread in the future that the solution was in the end very simple simple: Each cell is relative, each enhancement object is then absolute positioned in the origin cell with width/height of (n*100)+"%" where n is the number of rows or columns to span and z-order is +1.

wouldnt this only work when you have uniform/fixed cell widths/heights?

Yes, which is what I do have. But that's a good point to note; again my context is coming from my particular problem space. It's a fixed-cell layout grid, where the cells change size, adapting to the viewport, but each cell is uniform width and height.

that "detail" is the difference between needing a 200k slow and non-obvious solution and a 0.2k obvious and fast one :D

Yeah, you overlook the details sometimes when you're in the process of re-imagining a 70 KLOC Java GUI program as a brand new concept within the browser.


Feat/tt mini program

Description

Checklist

[ ] the pull request title describes what this PR does (not a vague title like Update readme.md)
[ ] the pull request targets the default branch of the repository (develop)
[ ] the code follows the established code style of the repository, such as:

npm run prettier:check passes
npm run eslint:check passes

[ ] tests are added for the changes I made (if any source code was modified)
[ ] documentation added or updated
[ ] I have run the project locally and verified that there are no errors

Fixes

fixes #[issue number], fixes #[issue number]

v3 文档增加抖音小程序相关文档


TODOs for Release 1.0.0

Here is a todo list:

[x] Add basics functions
* [x] Timer
* [x] Commands
* [x] Spawn system
[x] Re-Write plugin.yml
* [x] Reorganize permissions
* [x] Register command properly
[x] Killing and death saving, with ranks and money
[ ] Kits in-game
[x] Sign system
[ ] Multi-arena support
[ ] World saving and restoring
[ ] ...maybe something else...

but where's the map?

can u please add chest resetting support?

can u please add chest resetting support?

the project is dead. rip.

This is actually the base for my plugin, though I now have almost 3000
lines over 4 files. If the author wants I can upload it to this repo.
On Mar 30, 2016 9:34 AM, "Luca P."<EMAIL_ADDRESS>wrote:

the project is dead. rip.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/PocketWarriors/SkywarsPe/issues/3#issuecomment-203515380


Can't refer to anonymous match in section with parameters

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.

Specifically, check out the wishlist, open RFCs,
or feature requests.

Reduced the issue to a self-contained, reproducible test case.

Description
A short code section with the issue:
section
parameter α : Type
include α

def foo : nat := match 0 with _ := 0 end

example : nat := foo._match_1 ()
end

The foo._match_1 reference is interpreted as a field access, even though one can verify that foo._match_1 is the exact name of the anonymous match. Presumably this is due to some shadowing of the foo symbol by the local notation foo caused by the parameter. Are there any suggested workarounds?

Are there any suggested workarounds?

Use @foo._match_1


Update frFR.lua 1.0.4

Issue Fixed #
Proposed Changes

Update frFR.lua to 1.0.4

@Kkthnx-WoW

Going to wait on this as I have some changes coming to locales before I want to accept this. Less work for your end of things if we just wait. Day or 2 wait time. Sorry

Feel free to start merging again.


Readd support for mkdocs < 1.4.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 10 (60.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.7%) to 96.822%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/mkdocs_include_markdown_plugin/event.py
1
5
20.0%

Files with Coverage Reduction
New Missed Lines
%

src/mkdocs_include_markdown_plugin/event.py
1
96.23%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
396

Relevant Lines:
409

💛  - Coveralls


dubbo 2.7.8 线上服务时不时会报 KeeperErrorCode = ConnectionLoss， Background operation retry gave up

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.8
Operating System version: centos7.4
Java version: oracle 1.8

It seems that the zookeeper client used in dubbo have a problem connecting the zookeeper server.It may caused by timeout.Maybe you can take at a look at server load or you can adjust the default value of the timeout of zookeeper client.


Plugin api

Completes the POST, PUT, and DELETE endpoints and associated unit tests for the plugin API.

Approved.  Rebase on your side and re-push so it can be merged.


Oracle unit tests

Added working QueryBuilder tests for Oracle.
Added lastInsertId tests for all schemas - I did not run them for mssql and cubrid.

Thank you!


Unable to find emitter for node type: XamlX.Ast.XamlAstXmlDirective

I created an Avalonia project with version 0.10 and upgraded to version 11.
In 0.10 the preview of an axaml file was working fine.
In 11 I get the above message when opening an axaml file in the Error List and the preview is not shown.
I'm running VS 2022 17.7.3.
Just downloaded the Avalonia Extensions and restarted VS, to be sure.

@BHaesen if opening issues, fill in the templates provided.
Also make sure to read migration guide. There are many breaking changes, just updating the nuget is not enough.


Added ZEIT article in cloud development

NOTE:

Please fill out the template below

Did you read the instructions in the README?

Y

Have you read the instructions in CONTRIBUTING?

Y

Have you written this article by yourself? Have you taken inspiration from anywhere and then written it in your words?

I've written this article by myself and taken inspiration and main information from ZEIT offical website.

@jun-low great update! Merging this! 🎉


Spellpower items

Update Rapier, Orchid, Aether Lens and their upgrades to use the appropriate modifier and increase Spell Amp appropriately.

Done!


ServiceWorkerMessageEvent.origin spec text is confusing

The ServiceWorkerMessageEvent.origin attribute is currently spec'd as:

The origin attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the origin of the service worker’s environment settings object from which the message is sent.

Which is it, the empty string or the actual origin of the environment settings object?

Sorry, I see where the origin is set now.  Ignore me please.


Metadata not being saved in specified location

I want
"metadata":"{model_username}/Metadata",
at the {save_location}

I'm getting
/home/user/.config/ofscraper/profile/.data/username_modelid/user_data.db

as if it is hard coded to use the users home folder(which i dont want) Am i missing something or does the program only allow metadata to be saved to ~~/.ofscraper?
I am also migrating from DC and would like to keep the db file

Please post your full config

{
    "config": {
        "main_profile": "main_profile",
        "save_location": "/Onlyfans",
        "file_size_limit": 0,
        "dir_format": "{model_username}/{responsetype}/{value}/{date}",
        "file_format": "{filename}.{ext}",
        "textlength": "0",
        "date": "YYYY-MM-DD",
        "metadata":"{model_username}/Metadata",
        "filter": [
            "Images",
            "Audios",
            "Videos"
        ],
        "responsetype": {
            "timeline": "posts",
            "archived": "archived",
            "pinned": "archived",
            "message": "messages",
            "paid": "messages",
            "stories": "stories",
            "highlights": "highlights",
            "profile": "profile"
        }
    }
}

/Onlyfans/{model_username}/Metadata
Is what you would want for metadata settings
This is a good reminder to update the wiki

It needs to be a full path
I can also give an example

The archive,messages,pinned and timeline json files arent moving to the specified metadata folder,they are in the models ".data" folder in the ~~/.ofscraper folder. The user db however did move and successfully migrated my DC metadata to the custom desination

Those are hardcoded
They are used for cache
I'm going to change them to one file.
They just used to speed up subsequent scrapes


Consider removing all the redefined typeclasses

This package has its own definitions of typeclasses (GShow, GMonoid, etc), but they are often not viable because they are incompatible with the existing instances. For example you can't derive GShow of a datatype if it contains a field that's an instance of Show but not GShow.
Same goes for everything else. Default method definitions are no longer a reason to redefine classes, now that we have DerivingVia.

The fact that GShow et al. aren't compatible with existing instances is by design, as these classes are primarily intended for educational purposes. That is, they exist to demonstrate how one can define GHC.Generics-based defaults for common type classes, without actually having to use the original type classes themselves. This has a number of advantages:

Having "teaching-only" classes allows us to simplify some of the internal details. For example, having a GHC.Generics-based default for Show that accurately captures all of the intricacies of deriving Show is quite involved, but since we're using GShow, not Show, we are permitted to make some simplifications, at the expense of being slightly less faithful to the "reference implementation" of deriving Show.
Some of the type classes that generic-deriving includes (e.g., GSemigroup) correspond to base classes (e.g., Semigroup) that were only introduced to base relatively recently. Having to support the original Semigroup in generic-deriving would complicate generic-deriving's library dependencies and GHC support window. With GSemigroup, however, we can bypass that altogether: generic-deriving can continue to have minimal dependencies and an extremely wide GHC support window. (The latter is important because people often use generic-deriving as a a way to backport GHC.Generics features to old versions of GHC.)

For these reasons, I usually recommend that people use generic-data rather than generic-deriving if they want GHC.Generics-based defaults for Semigroup, Show, etc. that use type classes from base.
Admittedly, the documentation for generic-deriving doesn't communicate this very well at the moment.

I've attempted to improve the documentation about this in #73.

I see, thanks for explanation. I'm content as long as the purpose is documented


css build error

in App.css, i append follow code to it.
:root {
  --distance: 44px;
}

div {margin-top: calc(var(--distance)*-1/2);}

after, run npm run build

      {
        // Options for PostCSS as we reference these options twice
        // Adds vendor prefixing based on your specified browser support in
        // package.json
        loader: require.resolve('postcss-loader'),
        options: {
          // Necessary for external CSS imports to work
          // https://github.com/facebook/create-react-app/issues/2677
          ident: 'postcss',
          plugins: () => [
            require('postcss-flexbugs-fixes'),
            require('postcss-preset-env')({
              autoprefixer: {
                flexbox: 'no-2009',
              },
              stage: 4,
            }),
            // Adds PostCSS Normalize as the reset css with default options,
            // so that it honors browserslist config in package.json
            // which in turn let's users customize the target behavior as per their needs.
            postcssNormalize(),
          ],
          sourceMap: isEnvProduction ? shouldUseSourceMap : isEnvDevelopment,
        },
      },

in this way, project can be build success ~

stage 4 or 5  is all ok !

@JESii  @saimonmoore  @mg @loe   Do you think it is necessary to upgrade ？

@iansu  @mrmckeb  @ianschmitz  @petetnt  Do you think it is necessary to update ?

stage 2 、4、5 is all ok ! only stage 3 will happen ~

I think the best way is to upgrade postcss-custom-properties to 9.1.1 ~

But sometimes the following writing method is also needed，
:root {
 --distance: 20px + 20px;
}

or
 calc(var(--distance)*-1/2)

Besides，the underlying parser postcss-values-parser  also supports this approach ~
you can see this issue https://github.com/postcss/postcss-custom-properties/issues/161


Validate Binary Search Tree

The previous version will cause wrong answer. The current version fixed that issue. Comparator used.

Hi, my code is much shorter than yours, and it can also pass all test cases. Why do we need to change the code?

Hi. I double checked the original code. It seems that it's not passing one of the long test cases. Would you check again? Correct me if I'm wrong plz.

I submitted my code a few seconds ago, and it accepted.

I’ve attached the resulting webpage. Is there a problem with the inconsistency?

On Feb 25, 2016, at 2:08 AM, Frank Dai<EMAIL_ADDRESS>wrote:
I submitted my code a few seconds ago, and it accepted.
—
Reply to this email directly or view it on GitHub https://github.com/soulmachine/leetcode/pull/83#issuecomment-188645867.

I'm sorry, my code in my computer is newer than Github, the code on Github has a problem, I just modified one line and pushed to Github, it should work now

Would you also compile the tex file so that the pdf is up-to-date. If there’s any chance, could you also include my version to the tex? I thought it was more clear in terms of thought flow: get the inorder traversal values and then check if valid.

On Feb 25, 2016, at 2:23 AM, Frank Dai<EMAIL_ADDRESS>wrote:
I'm sorry, my code in my computer is newer than Github, the code on Github has a problem, I just modified one line and pushed to Github, it should work now
—
Reply to this email directly or view it on GitHub https://github.com/soulmachine/leetcode/pull/83#issuecomment-188648879.

I will update the PDF, but in this case, your code is also recursive but much verbose than mine, there is no value to adopt your code, thanks


The scanned wall is not solid with pepperl_fuchs R2000

Hi guys,
I had a problem. I used the radar of Pepperl_fuchs r2000, and the radar was not installed in the center of the vehicle body.
When doing 2D slam, the wall was not solid and the border of the wall was gradually faded out.
Has anyone encountered this problem?
I found that if I set the radar to have no offset center in my urdf file, I would not have this problem.
I have also done some tests likes,  If the urdf of the demo "deutsches Museum" is offset by 1m, the scanned object is not completely solid.
The following is the result of sweeping out the wall. Has anyone ever encountered this problem?

Relation of coordinates: parent link="base_link"   child link="laser_link  origin xyz="-0.393 0.3015 0.025" rpy="0 0 -3.1368926"

urdf:

Same problem!


fix: Fix invalid limit issue with PostgreSQL

fixes #5022

If your build fails  due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

New Dependency Instructions (If applicable)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 24 lines in your changes missing coverage. Please review.

Project coverage is 28.05%. Comparing base (b30e0ec) to head (3f02c68).

Files with missing lines
Patch %
Lines

internal/pkg/infrastructure/postgres/reading.go
0.00%
18 Missing :warning:

internal/pkg/infrastructure/postgres/event.go
0.00%
6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5023      +/-   ##
==========================================
- Coverage   28.07%   28.05%   -0.02%
==========================================
  Files         243      243
  Lines       17590    17602      +12
==========================================
  Hits         4938     4938
- Misses      11524    11536      +12
  Partials     1128     1128

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


Potential bug in reporting problematic SNPs

It appears that there is a problem in the number of SNPs ignored (+). I am not sure if tot_num_non_matching_nts should be increased when alleles are ambiguous.

fixed now in v. 1.0.3
Thanks for reporting.


Corrected paths to node_modules folder used by benchmark

Closes #970
Code changes:

The following paths were corrected to point to the actual locations of node_modules:

Added instructions to Contributing.md to install dependencies for benchmark prior to running it

Screenshot of ./benchmark/benchmark.js successfully running after the fix:

Use npm run benchmark-deps.

Use npm run benchmark-deps.
https://github.com/markdown-it/markdown-it/blob/8470eb6706bda0d8fa79c4d54d115260de305d59/package.json#L28

@puzrin after running npm run benchmark deps, node ./benchmark/benchmark.js still does not work.
I also tried npm install --prefix benchmark/extra/ -g<EMAIL_ADDRESS><EMAIL_ADDRESS>markdown-it/markdown-it.git#2.2.1

Did you try from the project root, as ./benchmark/benchmark.js? Works for me on ubuntu.

Did you try from the project root, as ./benchmark/benchmark.js? Works for me on ubuntu.

Yes I was at the root folder markdown-it when I ran it with the command node ./benchmark/benchmark.js.
I tried using VS Code terminal and I tried using git bash:
Screenshot from git bash:

Ok. The current PR is incorrect because benchmarked versions should be installed in the standalone directory as it is now. Probably, something Windows-specific. Unfortunately, can not test Windows now. I'd suggest creating a new issue for the record or creating a new PR, without the intended paths change.

BTW, last screenshot says can not find benchmark module, make sure regular dependencies are installed (npm i)

BTW, last screenshot says can not find benchmark module, make sure regular dependencies are installed (npm i)

Yes, I also tried installing all dependencies using npm i benchmark, npm i commonmark, npm i marked, however it didn't fix the issue. I have created a new issue as instructed.

Did you try from the project root, as ./benchmark/benchmark.js? Works for me on ubuntu.

By the way, I recently tried from Ubuntu, but it doesn't work for. Getting that same error message:


Integrate vault into Playbook

Summary
Integrate vault into existing playbook
Details
The access to the vault and the gathering of the secrets is at the moment in extra playbook. This should be integratet into the existing
Acceptance criteria
[ ] Playbook is integratet and is working
Additional context
Add any other context or screenshots about the task.

Done?


Get arbitrarily rows from Dataset or INDArray

DataSetIterator iteratortest = new RecordReaderDataSetIterator(recordReadertest,testsetsize,numInputs,numInputs,true);

DataSet alldata = iteratortest.next();
int[] index = {1,2,3};
alldata.get(index);

or
INDArray featuresTest = alldata.getFeatureMatrix().get(new SpecifiedIndex(80,126,17,1,11,45,25,131,61,72,13,12,65,82,110), NDArrayIndex.all());

INDArray lablesTest = alldata.getLabels();

INDArray ls = lablesTest.get(new SpecifiedIndex(80,126,17,1,11,45,25,131,61,72,13,12,65,82,110), NDArrayIndex.all());

will get error
Exception in thread "main" java.lang.UnsupportedOperationException: Illegal combination of indexes for vector
	at org.nd4j.linalg.indexing.ShapeOffsetResolution.tryShortCircuit(ShapeOffsetResolution.java:135)
	at org.nd4j.linalg.indexing.ShapeOffsetResolution.exec(ShapeOffsetResolution.java:325)
	at org.nd4j.linalg.api.ndarray.BaseNDArray.get(BaseNDArray.java:3767)
	at org.nd4j.linalg.api.ndarray.BaseNDArray.getRows(BaseNDArray.java:3750)
	at org.nd4j.linalg.dataset.DataSet.get(DataSet.java:774)
	at net.mydreamy.mlpharmaceutics.oraldisintegratingtablet.PredictDisintegrationTimeSimilarity.main(PredictDisintegrationTimeSimilarity.java:52)

INDArray getRows() on labels will lead the same error, getRows on FeatureMatrix is okay.
Thanks!
Both my dj4j and nd4j version are 0.6.0

@yylonly There was an issue in 0.6.0 where you couldn't getRows on column vectors.
https://github.com/deeplearning4j/nd4j/issues/1364
This was fixed in 0.7.0. Closing.


Login page AND proxy redirection to a subpath

code-server version: 1.1156-vsc1.33.1
OS Version: bare metal, linux, centos7

Description
There is a problem when I combine a setup behind a proxy AND when I use the password feature.
My nginx setup redirect http://host/vscode to http://host:port/ of vscode.
If I launch the server with --no-auth everything is ok, but without it I am always redirected to host:port/login like if /login was hardcoded.

Unfourtunately this is currently not supported, but there's a feature request for supporting it. Duplicate of #241.


Improvement of the Data_Store class

This is part of the new C++ API serie #131 and comes after #141
Improve the Data_Store class to make it look as much as possible like a map<>

unassigned @tpaluszk

closed


fix: multi-service-profile example

Description
Fixed multi-service-profile example.
fixes #220
Types of changes in this PR
Changes that affect the core Terraform module or submodules

[ ] Bug fix
[ ] New feature
[ ] Dependency update

Changes that don't affect the core Terraform module or submodules

[x] Examples or tests (addition or updates of examples or tests)
[x] Documentation update
[ ] CI-related update (pipeline, etc.)
[ ] Other

Release required?
Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
If a release is required, replace this text with information that users need to know about the release. Write the release notes to help users understand the changes, and include information about how to update from the previous version.
Your notes help the merger write the commit message for the PR that is published in the release notes for the module.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

/run pipeline

/run pipeline

/run pipeline

/run pipeline

Looking good - thanks for addressing the comment.

/run pipeline

Pipeline failed with

TestRunCompleteExample 2023-07-18T10:41:46Z retry.go:99: Returning due to fatal error: FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: DeleteZoneWithContext failed The network zone 'd580e35011401452b797d42d19ce0bef' is referenced by one or more rules and cannot be deleted.
│ {
│     "StatusCode": 412,
│     "Headers": {
│         "Akamai-Grn": [
│             "0.176adc17.1689676893.1006d30"
│         ],
│         "Cache-Control": [
│             "no-cache,no-store"
│         ],
│         "Connection": [
│             "keep-alive"
│         ],
│         "Content-Length": [
│             "228"
│         ],
│         "Content-Type": [
│             "application/json; charset=utf-8"
│         ],
│         "Date": [
│             "Tue, 18 Jul 2023 10:41:33 GMT"
│         ],
│         "Expires": [
│             "Thursday, 1 January 1970 00:00:00 GMT"
│         ],
│         "Pragma": [
│             "no-cache"
│         ],
│         "Set-Cookie": [
│             "ak_bmsc=6E06E5EABA70A1AD02D3A09E0BED6F4D~000000000000000000000000000000~YAAQF2rcF6QhF2iJAQAAeU6XaBTk9JX17SckVPg0sVSdQ8Q1BvWZBzChGxFBh+hzcWTQGqbLo8cTrYBPuozpwkiGrM7RygtNJInNQfSaA0y6IPV3gV4DY5BBb7kY75p8ZLnmmSWS9kIZ3L79PfKBjKRYTxLFpWaDtzxVB0hOngOW43RChDOPlOgopsZnQGzHAmfF8omhCJK3x9h6P4Egp0w6wp7wG4eyWMgPhqLCpZcGZaLGONmKqIIFsybH0GORfwUycV8oWezbcYRiZQHP2m5OwTq/za3zOn9RunqSH1TP+9OCsdfKgBhiESziGK8zPLzWoE7+Q8Fg0n0gLEkmZmldqk1txabkapOfXhc3dBu6wKM+7pw9pFXpznEzHjATNGGpV0M=; Domain=.cloud.ibm.com; Path=/; Expires=Tue, 18 Jul 2023 12:41:33 GMT; Max-Age=7200; HttpOnly"
│         ],
│         "Strict-Transport-Security": [
│             "max-age=31536000; includeSubDomains"
│         ],
│         "Transaction-Id": [
│             "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│         ],
│         "X-Content-Type-Options": [
│             "nosniff"
│         ],
│         "X-Correlation-Id": [
│             "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│         ],
│         "X-Proxy-Upstream-Service-Time": [
│             "285"
│         ],
│         "X-Ratelimit-Limit": [
│             "10"
│         ],
│         "X-Ratelimit-Remaining": [
│             "9"
│         ],
│         "X-Ratelimit-Reset": [
│             "1689676894"
│         ]
│     },
│     "Result": {
│         "errors": [
│             {
│                 "code": "zone_used_by_rule",
│                 "message": "The network zone 'd580e35011401452b797d42d19ce0bef' is referenced by one or more rules and cannot be deleted."
│             }
│         ],
│         "status_code": 412,
│         "trace": "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│     },
│     "RawResult": null
│ }
│
│
│
╵}
=== NAME  TestRunCompleteExample
destroy.go:11:
Error Trace:	/go/pkg/mod/github.com/gruntwork-io/terratest@v0.43.8/modules/terraform/destroy.go:11
/go/pkg/mod/github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper@v1.10.10/testhelper/tests.go:201
/go/pkg/mod/github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper@v1.10.10/testhelper/tests.go:174
Error:      	Received unexpected error:
FatalError{Underlying: error while running command: exit status 1; ╷
│ Error: DeleteZoneWithContext failed The network zone 'd580e35011401452b797d42d19ce0bef' is referenced by one or more rules and cannot be deleted.
│ {
│     "StatusCode": 412,
│     "Headers": {
│         "Akamai-Grn": [
│             "0.176adc17.1689676893.1006d30"
│         ],
│         "Cache-Control": [
│             "no-cache,no-store"
│         ],
│         "Connection": [
│             "keep-alive"
│         ],
│         "Content-Length": [
│             "228"
│         ],
│         "Content-Type": [
│             "application/json; charset=utf-8"
│         ],
│         "Date": [
│             "Tue, 18 Jul 2023 10:41:33 GMT"
│         ],
│         "Expires": [
│             "Thursday, 1 January 1970 00:00:00 GMT"
│         ],
│         "Pragma": [
│             "no-cache"
│         ],
│         "Set-Cookie": [
│             "ak_bmsc=6E06E5EABA70A1AD02D3A09E0BED6F4D~000000000000000000000000000000~YAAQF2rcF6QhF2iJAQAAeU6XaBTk9JX17SckVPg0sVSdQ8Q1BvWZBzChGxFBh+hzcWTQGqbLo8cTrYBPuozpwkiGrM7RygtNJInNQfSaA0y6IPV3gV4DY5BBb7kY75p8ZLnmmSWS9kIZ3L79PfKBjKRYTxLFpWaDtzxVB0hOngOW43RChDOPlOgopsZnQGzHAmfF8omhCJK3x9h6P4Egp0w6wp7wG4eyWMgPhqLCpZcGZaLGONmKqIIFsybH0GORfwUycV8oWezbcYRiZQHP2m5OwTq/za3zOn9RunqSH1TP+9OCsdfKgBhiESziGK8zPLzWoE7+Q8Fg0n0gLEkmZmldqk1txabkapOfXhc3dBu6wKM+7pw9pFXpznEzHjATNGGpV0M=; Domain=.cloud.ibm.com; Path=/; Expires=Tue, 18 Jul 2023 12:41:33 GMT; Max-Age=7200; HttpOnly"
│         ],
│         "Strict-Transport-Security": [
│             "max-age=31536000; includeSubDomains"
│         ],
│         "Transaction-Id": [
│             "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│         ],
│         "X-Content-Type-Options": [
│             "nosniff"
│         ],
│         "X-Correlation-Id": [
│             "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│         ],
│         "X-Proxy-Upstream-Service-Time": [
│             "285"
│         ],
│         "X-Ratelimit-Limit": [
│             "10"
│         ],
│         "X-Ratelimit-Remaining": [
│             "9"
│         ],
│         "X-Ratelimit-Reset": [
│             "1689676894"
│         ]
│     },
│     "Result": {
│         "errors": [
│             {
│                 "code": "zone_used_by_rule",
│                 "message": "The network zone 'd580e35011401452b797d42d19ce0bef' is referenced by one or more rules and cannot be deleted."
│             }
│         ],
│         "status_code": 412,
│         "trace": "6de75a8f-9bcb-4e6b-acab-e3e555758db2"
│     },
│     "RawResult": null
│ }
│
│
│
╵}
Test:       	TestRunCompleteExample
--- FAIL: TestRunCompleteExample (122.70s)
--- PASS: TestRunCompleteExample/verify_all_zone_ids_exist (0.00s)
--- PASS: TestRunCompleteExample/verify_all_attributes_set (0.00s)
--- PASS: TestRunCompleteExample/verify_all_tags_present (0.00s)
--- PASS: TestRunCompleteExample/verify_no_operation_set (0.00s)

/run pipeline

Again Pipeline failed with PROVIDER ERROR below -

TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: ibm_is_subnet.testacc_subnet: Creation complete after 12s [id=0787-6e0bc973-9b7d-4563-9060-b3039578ff39]
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: ╷
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ Error: Provider produced inconsistent result after apply
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ When applying changes to module.ibm_cbr_zone.ibm_cbr_zone.cbr_zone,
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ provider "provider["registry.terraform.io/ibm-cloud/ibm"]" produced an
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ unexpected new value: Root resource was present, but now absent.
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ This is a bug in the provider, which should be reported in the provider's
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: │ own issue tracker.
TestRunZoneExample 2023-07-18T15:13:32Z logger.go:66: ╵
TestRunZoneExample 2023-07-18T15:13:32Z retry.go:144: 'terraform [apply -input=false -auto-approve -var resource_tags=[] -var prefix=cbr-zone-y89gs0 -var region=eu-gb -var resource_group=geretain-test-cbr -lock=false]' failed with the error 'error while running command: exit status 1; ╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.ibm_cbr_zone.ibm_cbr_zone.cbr_zone,
│ provider "provider["registry.terraform.io/ibm-cloud/ibm"]" produced an
│ unexpected new value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
╵' but this error was expected and warrants a retry. Further details: Provider eventual consistency error.

/run pipeline


TUI crashes when you go to Package Manager and scroll down to Demonstration

Environment
Windows 10, 64-bit
OpenTAP v9.19.0+22538968
TUI 1.0.0-rc+cfb8eede
Steps to reproduce:

Go to Tools > Package Manager

Scroll down with the directional key until reaching the Demonstration

Actual result:
TUI exits

I also cannot reproduce this issue. Closing for new.


Feature/csi-220 NodeStage&Publish iSCSI implementation

This PR allows to create and delete stateful pod with PVC from FS9100 or A9000 with iSCSI host connectivity.
It implements the following CSI APIs:
NodeStage

OS Rescan devices for the specific Array Target IQN
- Identify the iscsi target files that related to IQN.
Identify the IQN by check the file names targetname : /sys/class/iscsi_host/host<IDs>/device/session*/iscsi_session/session*/targetname
- Send rescan operation only on these target devices (e.g: #> echo "0 0 <LUNID>" /sys/class/scsi_host/host<specific>/scan)

Discover the new MD device (by the lunID and storage IQN from publish context)

Find all the files "/dev/disk/by-path/ip--iscsi--lun- -> ../../sd
Search for all the  /sys/block/dm-*/slaves/* and get the .
For example dm-3 below:
/sys/block/dm-3/slaves/sdb -> ../../../../platform/host41/session9/target41:0:0/41:0:0:13/block/sdb

Create a metadata file for NodeUnStage future call
Create .stageInfo.json metadata file (on the node target mountpoint) with information about the DM device path that will be used in the NodeUnStage API (why? because NodeUnStage does not get the device to unstage, only the mountpoint which is not enough for discovery).

Notes:

Support native linux multipath devices (dm devices).
Assume that the host already did iscsi login in advance  (we plan to do automatic iscsi login later on).

NodePublishVolume

Read NodeStage metadata from node stage path, to get the relevant multipath device.
/var/lib/kubelet/plugins/kubernetes.io/csi/pv/<PVCID>/globalmount/.stageInfo.json
{"connectivity":"iscsi","mpathDevice":"dm-3","sysDevices":",sdb,sdc"}

mkfs and mount (leverage k8s mounter util)

Create fstype on the MD device (if not exist)
Mount it to the target path of the pod (provided by k8s)

NodeUnPublishVolume

unmount the target path given

NodeUnStage

Tier-down the NodeStage

Other

All APIs are idempotent and apply to the CSI error codes.
Update the README file with examples for create\delete pod. (under progress)
With full unit test coverage (under progress)
Make it ready to extend for FC and also NVME inside the node side of thing. With clear interface for node rescan and discovery APIs.

TODO

Add readme updates
More coverage UT
Consider to set the metadata nodestage file on staging taret path before mounting it with the PV(mainly to avoid write a file on the customer volume, and to avoid a rare idempotent case if its in the mountpoint).

This change is

a discussion (no related file):

Create a metadata file for NodeUnStage future call
I don't know if it is important to you, but I think that the pull request description is not up to date, at least the location of where you save the stageInfo file is not the most updated one.

README.md, line 15 at r12 (raw file):

  - IBM FlashSystem A9000\R

DISCLAIMER: The cDriver Installationode is provided as is, without warranty. Any issue will be handled on a best-effort basis.

cDriver Installationnode?

README.md, line 47 at r12 (raw file):

Verify that the `systemctl status multipathd` output indicates that the multipath status is active and error-free.

RHEL 7.x:

all the packages should be installed as root, why only one has sudo? I think you should just mention "needs to install as root".

README.md, line 57 at r12 (raw file):

Important: When configuring Linux multipath devices, verify that the find_multipaths parameter in the multipath.conf file is disabled.
  - RHEL 7.x: Remove the find_multipaths yes string from the multipath.conf file.

please explain where is this file located

a discussion (no related file):
Previously, ranhrl (Ran Harel) wrote…

Create a metadata file for NodeUnStage future call
I don't know if it is important to you, but I think that the pull request description is not up to date, at least the location of where you save the stageInfo file is not the most updated one.

Shay, please send the README file for everyone's review and also to Rivka.


Golang support?

Does lapce support golang? If so, please describe a needed configuration, thanks.

Hi! "Supports" is an interesting word. You can write go, Lapce supports syntax highlighting, so in a sense, yes, it supports.  We don't have a language server plugin for it, so that support is rather limited.

We don't have a language server plugin for it

Obviously I was referring to language server plugin :), for golang it would be gopls, that is, if VSCode language server protocol is supported.
Has Lapce any knowledge of VSCode language server protocol?

Has Lapce any knowledge of VSCode language server protocol?

Yes, for example Lapce uses LSP currently to support rust, using rust-analyzer.
We don't have good documentation on how to add language support currently. The best I can do right now is to direct you to this repository as an example of how the rust support looks like.

On that note, someone sent a message recently on Discors about supporting gopls, so this might change soon enough.

Hello, a gopls plugin should be out soon enough (less than a week if nothing goes wrong). While still very much in alpha state, most things should work out of the box (completion, hover, format, auto import, etc.)


Does the zuul.host.max-total-connections property set the maxConnections attribute for the tomcat server?

I'm trying to ultimately figure out if maxTotalConnections includes both proxy connections and connections to my internal microservices from the Zuul gateway.

No it sets it on a specific apache http client.

Ok great - thanks.
Does this mean that the specific http client is responsible for tracking the number of current connections to be checked against this max-total-connections property?

The http client is the one executing the request for the proxy, so the maximum number of connections that client can make is set with max-total-connections.

awesome
so then is there a way for me to access the http client information?
in other words: if I have max-total-connections set to 200, then the 201st request I receive gets blocked. Would there be a way for me to log how many requests are getting blocked?

Not right now.  I know the pooled connection manager has a way to get stats from it but we have not exposed that in any way.

still playing around with these configurations.
are there any other zuul settings that could cause maxTotalConnections and maxPerRouteConnections to be ignored by the http client?
Currently setting both maxTotalConnections and maxPerRouteConnections variables to a value of 1 and sending 2 requests to the zuul gateway expecting that one would get blocked until the other returns. Instead they both get picked up immediately

Are you using zuul + service discovery/ribbon or setting the url property directly?

zuul + service discover/ribbon

Can you show your configuration?  Or do you have a sample app you can supply?

Here is the config for zuul (edge) server:
`#Edge
info:
component: Edge Server
server:
port: 8765
tomcat:
remote_ip_header: x-forwarded-for
protocol_header:  x-forwarded-proto

spring:
profiles: dev, test
zuul:
routes:
hello-world:
path: /hello-world/**
serviceId: hello-world
test-service
path:/tests-service/**
serviceId:test-service
host:
socket-timeout-millis: 5000
max-per-route-connections: 5
max-total-connections: 20
ribbon-isolation-strategy: semaphore
semaphore:
max-semaphores: 15
hystrix.command.default.execution.timeout.enabled: false
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 30000
ribbon:
ConnectTimeout:  3000
ReadTimeout:    30000`

Could you please format the above properly so its easier to digest? https://help.github.com/articles/creating-and-highlighting-code-blocks/

Definitely - sorry about that

The zuul.host.* properties will only be used for routes configured with urls and not serviceIds.
I believe you want to set max connections with Ribbon you want to do use serviceId.ribbon.MaxTotalConnections and serviceId.ribbon.MaxConnectionsPerHost.

The MaxTotalConnections & MaxConnectionsPerHost used for RibbonLoadBalancingHttpClient when call createDelegate
protected HttpClient createDelegate(IClientConfig config) {
		return HttpClientBuilder.create()
				// already defaults to 0 in builder, so resetting to 0 won't hurt
				.setMaxConnTotal(config.getPropertyAsInteger(CommonClientConfigKey.MaxTotalConnections, 0))
				// already defaults to 0 in builder, so resetting to 0 won't hurt
				.setMaxConnPerRoute(config.getPropertyAsInteger(CommonClientConfigKey.MaxConnectionsPerHost, 0))
				.disableCookieManagement()
				.useSystemProperties() // for proxy
				.build();
	}

@seanlei what version of Spring Cloud are you using?  This code recently change.

@ryanjbaxter
Spring Cloud version is Dalston.SR1.
Could I use latest version to fix this bug?

Yeah the Edgware.M1 release has the new code (which contains 1.4.0.M1).  It is a milestone release so it is probably not production ready at this point, but it is more stable than a build snapshot would be.
http://cloud.spring.io/spring-cloud-static/Edgware.M1/#http-clients

waiting for your next stable release version


Uncaught TypeError: Cannot read properties of undefined (reading 'replaceChildren')

TypeError: Cannot read properties of undefined (reading 'replaceChildren')
at g.renderRows in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:81207
at g.handleSelectionChanged in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:79465
at u._renderRows in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:102027
at t.RenderDebouncer._renderCallback in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:99877
at t.RenderDebouncer._innerRefresh in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:20236
at <anonymous> in vscode-file://vscode-app/node_modules.asar/xterm/lib/xterm.js:1:19934

Go to Errors Site

Upstream: https://github.com/xtermjs/xterm.js/issues/4602


Any plans to add layouts and/or partials?

I'm loving how useful this templating engine is and how similar it is to Angular. Is there any plans to add support for layouts and/or partials?

Many thanks :+1: I appreciate it. Currently I don't have any plans to add layouts and partials because this template engine is for templating only. But it's not bad idea :100:
I will think about it.

I rejected the layouts and partials.
Conclusion: it's a simple template engine and it must stay.


Fpm/continuous script

Implemented a continuous mode inspired by the feature found in the pythonshell node
However, this continuous mode supports being triggered not only by the button on the node but also by any input to the node. Thus, if continuous mode is enabled, the following applies:

Any input to the node will terminate the current Python process and start a new one. This way, a new continuous script can be started dynamically with new input.
Sending {msg.terminate: true} to the node terminates (kills the process) the script without starting it again.
A button, which is only available on the node in continuous mode, can be used for starting and stopping the script.

Thank you @FrederikPM !
Thanks also for adding Eslint and Prettier.
I have never used these tools, so it may take me some time to check the code.
I have checked that if it is not in continuous mode, this node runs as before.

If continuous mode is set, a new input to the node terminates the already running Python process and starts it again.

When I press the button on the node, it stops executing and when I press it again, it starts from the beginning.

If msg.terminate is true, the process is terminated, and if false, the process is executed again.

If "Continuously running script terminated" is displayed, pressing the button on the node executes the script again, but if it is not displayed, pressing the button does not execute the script.
Is this the expected behavior?
Below is the flow of checking the behavior of continuous mode.

[{"id":"bf5e9a74624910c7","type":"inject","z":"3a0260d17167ea2b","name":"msg.terminate","props":[{"p":"terminate","v":"true","vt":"bool"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","_mcu":{"mcu":false},"x":1250,"y":920,"wires":[["4c7b5c32b5044e94"]]},{"id":"4c7b5c32b5044e94","type":"venv","z":"3a0260d17167ea2b","venvconfig":"e6a1da31b298e21a","name":"msg property","code":"print('start')\n\nimport time\ntime.sleep(3)\n\nprint('end')","continuous":true,"_mcu":{"mcu":false},"x":1450,"y":880,"wires":[["98387e89aa91bb21"]]},{"id":"98387e89aa91bb21","type":"debug","z":"3a0260d17167ea2b","name":"debug 97","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","_mcu":{"mcu":false},"x":1620,"y":880,"wires":[]},{"id":"badade14abfd97d3","type":"inject","z":"3a0260d17167ea2b","name":"","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","_mcu":{"mcu":false},"x":1270,"y":880,"wires":[["4c7b5c32b5044e94"]]},{"id":"e6a1da31b298e21a","type":"venv-config","venvname":"test","version":"3.8","_mcu":{"mcu":false}}]

Good catch!
Here is a python script with a while loop for the continuous mode:
[{        "id": "25441caf3c8534e2",        "type": "venv",        "z": "7a7ae303f662be9f",        "venvconfig": "4657b6fbdbaf6f7e",        "name": "venv test",        "code": "# Import the time library\nimport time\nstart = time.time()\n\noffset = msg[\"payload\"] if \"payload\" in msg else 0\n\ntime.sleep(1)\nend = time.time()\nlength = end - start\nprint(f'Time: {length}')\n\nwhile True:\n    time.sleep(1)\n    end = time.time()\n    length = end - start\n    print(f'Time: {length + offset}')",        "continuous": true,        "stdInData": false,        "x": 380,        "y": 180,        "wires": [            [                "114b918e3eb7ad96"            ]        ]    },    {        "id": "446c4d54c3afdb80",        "type": "inject",        "z": "7a7ae303f662be9f",        "name": "",        "props": [            {                "p": "payload"            }        ],        "repeat": "",        "crontab": "",        "once": false,        "onceDelay": 0.1,        "topic": "",        "payload": "5",        "payloadType": "num",        "x": 110,        "y": 220,        "wires": [            [                "25441caf3c8534e2"            ]        ]    },    {        "id": "5056f4320a8479d0",        "type": "inject",        "z": "7a7ae303f662be9f",        "name": "terminate",        "props": [            {                "p": "terminate",                "v": "true",                "vt": "bool"            }        ],        "repeat": "",        "crontab": "",        "once": false,        "onceDelay": 0.1,        "topic": "",        "x": 120,        "y": 140,        "wires": [            [                "25441caf3c8534e2"            ]        ]    },    {        "id": "114b918e3eb7ad96",        "type": "debug",        "z": "7a7ae303f662be9f",        "name": "debug 1",        "active": true,        "tosidebar": true,        "console": false,        "tostatus": false,        "complete": "payload",        "targetType": "msg",        "statusVal": "",        "statusType": "auto",        "x": 640,        "y": 180,        "wires": []    },    {        "id": "4657b6fbdbaf6f7e",        "type": "venv-config",        "venvname": "pyenv",        "version": "default"    }]

In regards to eslint and prettier it was simply to have a concise coding style for the project when using vscode. Feel free to change the rules as you see fit (can be done in .prettierrc) :)

Thank you @FrederikPM !
I have checked that a python script with a while loop works in continuous mode.
I will add a sample flow later.

I have also checked that the code can be formatted with Prettier.
I have been concerned about unifying the writing style, so I will use it!
I merge this Pull Request.
If you see any behavior that you do not expect, please feel free to submit a Pull Request.


[New game][GSSOC '23] : Drum Playing Game

🎮 Game Request
Game logic and basic description:
There will be a basic structure of a drum which can be sounded as original one when player clicks on a specific symbol.
Point down the features
Game points:

Symbols indicating different tunes if original drums
When player clicks on a specific drum symbol, that music will ring.

Select program in which you are contributing
GSSoC23
Code of Conduct

[x] I follow CONTRIBUTING GUIDELINE of this project.

Hey @sujanrupu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @sujanrupu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


URLEncoding for request parameters when using requestCompositeData

Version 12.0.1
I have a situation where I need to include body data as well as url parameters which is why I am using requestCompositeData. When I use requestParameters I am able to set the encoding but I am not able to do the same in requestCompositeData for the url parameters. The same goes for requestCompositeParameters where you can define the bodyEncoding but not the encoding for the urlParameters.

That is indeed a limitation when using requestCompositeData and requestCompositeParameters.
As a workaround you can implement the MoyaProvider's requestClosure and override the http request and encode your parameters the way it suits you.
There is a current work on Task in #1936 that could solve these limitations.


Feature/add smtp driver

I probably miss something but when i patch (manually) my current install (as app) not at core. (modifying the vendor/[...]) Email are seen send by sendportal.
Should down not be implemented with a delete from where id=6 && name ='SMTP' .
Nice feature.


Wrap checkbox and radiobutton labels with span

Currently styling checkboxes and radiobuttons is only possible via hiding checkbox input and styling element  (usually label or span) next to it, as it allows to handle checkbox/radiobutton state via :checked pseudoclass (see http://stackoverflow.com/questions/4148499/how-to-style-checkbox-using-css).
Given formtastic places inputs inside label tags, I have implemented wrapping choice labels with spans.

IMO this could be a good change. However, I'd rather use content_tag instead of `.html_safe

I really need this feature! What if I fix those conflicts, do you need something else for this feature to pass?

@fibrasek the html attributes should be configurable the same way other elements are. And have some default options that give it some meaningful class name.
Also would be good to ensure this is not a breaking change for the generated CSS.

Closing for now due to inactivity. I'm generally supportive of this change, but…

the code should use content_tag instead of <span> with html_safe
I'd like to see some screenshots that prove that the default CSS does break with this change
It has the potential to break existing apps that aren't expecting a <span>. This is okay for a major release, but we'll need to add a configuration option that allows older apps remove the wrapper if needed.


AUC module not accounting for number of processes

I tried running the AUC module on flux with different numbers of processes and got the same result each time.  I selected 3 processes and the result showed 1 used.

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Version used:
Environment name and version (e.g. Chrome 39, node.js 5.4):
Operating System and version (desktop or mobile):
Link to your project:

What did you use for the mode?  It will only run on one process if it is in OpenMP mode (o) or in Serial mode (s).  If you want multiple processes to be used, then MPI mode needs to be selected (m).  I was able to run with different numbers of processes using MPI mode.  This may just be a problem with validation of parameters or explanation of how to use the module.

Yes, OpenMP mode and serial mode should only use 1 process. Processes are selectable (relevant) only when using MPI mode or hybrid mode.

Okay so for the mode I was using (Serial) it was functioning properly then. So this issue then becomes that there is no validation on the form. Also the order of the form should probably change to make it more intuitive.


[Parser] Extend parsing functionality

Add tags to parsed transactions
Add tags to sources
Extend tags functionality with automatic tags creating for parsed transaction
Review sources model to contain correct source information, rename to Accounts

Add tags to parsed transactions steps:

Create methods for tags addMany and getMany by tag names
Use these methods in Transactions service to create new or add existing tags while creating new transactions
Improve TransactionDto to be a contract between UI and BE and contain tagNames instead of tagIds and sourceName instead of sourceId
Create a step between parsed transactions return and saving transactions to DB: Map object with key as transaction with empty tagNames array and value as array of tag names from all columns that were not included into transaction columns. Before saving user will choose tags from values to be added to tagNames from keys.


🚧 WIP: add gulp task to deploy app to ABAP backend systems

This is work-in-progress PR. Please do not merge until problems are fixed.
Describe what you did

put everything deployment dependant into a own gulp task
added yarn commands for deployment

Solving Issues
#3

upload error seems to be fixed. will now try to integrate qunit tests to finally push this whole thing to Travis CI to automate test running, build process and final deployement of tagged commits to github releases and abap backend system


Add support for keybase invites to OPENREQ handler

cc @mlsteele @patrickxb I think your current tickets are related

pinging @patrickxb @mlsteele again, I think this is now done, could always use more tests but I think all features are covered. I most of the handler over to new function with all of the functionality expect for error gathering - I'd like to talk about what the protocol should be for communicating the status back. Should we prepare list of errors and return that, as well as e.g. list of members that were added successfully? FWIW actual handler will probably only cares about SeqNo races because then it will want to retry.

If a team has a pukless invite, then a user gets keys, then that user sends an openreq, the openreq will be accepted but the invite is not marked as completed. I think. It may not be worth the complexity of fixing that.

If a user was in a team but reset and did not get keys yet. And requests to be added via the website as {uid, 0} then the pre-reset version of them will not get removed.
g.Log.CDebugf(ctx, "newer version of user %s is already in team", uv.Uid)

Could be mistaken.

OK I will look at those two. Thanks! @

I think we can leave (1) for now and maybe fix on the server to not add team access requests when there's already invite.
I'm looking into (2) though, I think you're right.

Good catch about (2). If you are a member, and then you reset, and then requests access as eldest=0, admin's client will correctly add you as an invite but will not remove old version of member. Then after you get keys, admin's SBSHandler will fail with:
2017-12-03T23:11:27.938368+01:00 ▶ [DEBU keybase handler.go:104] 1292 - team.handleSBSSingle(teamID: 6c5f10ff9db49251d94e5deef1777a24, invitee: {InviteID:d4ccc4608d2e55bef1921f8d7ae77d27 Uid:ada2a5b6f2770329d36991f8d95e1019 EldestSeqno:6 Role:READER}) -> ERROR: cannot add ada2a5b6f2770329d36991f8d95e1019%6, there is a member with that uid and eldest_seqno: 1 (error 2687) [tags:GRGIBM=6kBxyicaB4uy,CLKR=d2cBFOPc3QK4]


[FEATURE] Support Multiple Data Source in Search Relevance Dashboards Plugin

Is your feature request related to a problem?
With multiple data source enabled, users of OpenSearch Dashboards are able to create data source connections and query local and remote OpenSearch clusters. Enabling multiple data source at dashboards plugin would ensure users that have been using the multiple data source feature to have a consistent experience in the dashboard, and allows users to use the same dashboard for different clusters.
What solution would you like?
Support multiple data source in the search relevance dashboards plugin and allow user to use one dashboard for different backend clusters
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.

@sejli -- Are you able to take this one?

@sumukhswamy will be picking this up. I'll assign him to this issue.


Issue flashing OpenMV firmware on arduino nano 33 ble sense

Hi. i'm trying to install the openmv firmware on my board, but the ide doesn't recognize the bootloader update and the "softdevice" on my board...any ideas?. I took some prints. Thanks in advanced. Regards.

You have to select the option when flashing the bootloader with Arduino to install OpenMV support.


Update pyproject.toml

Change Description
Describe your changes
Issue reference
This PR fixes issue #XX
Checklist

[ ] I have reviewed the contribution guidelines
[ ] I have signed the CLA (if required)
[ ] My code includes unit tests
[ ] All unit tests and lint checks pass locally
[ ] My PR contains documentation updates / additions if required

/azp run

/azp run


How to query postgresql?

Is it possible to execute a query on a postgresql instance with the az cli?
To enable the Timescaledb extension this query must be executed:
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;

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

ID: 5a0d6be8-0e95-0994-ace2-235d909d4714
Version Independent ID: 0920947d-a29b-9536-9101-503685479d94
Content: az postgres
Content Source: latest/docs-ref-autogen/postgres.yml
Service: postgresql
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

postgresql

Hello @cveld, AZ CLI is not a full-fledged PostgreSQL client. You have to invoke Postgres clients like psql or pgAdmin to connect to the server and you can execute the create extension command.
For example:
$ psql "host=myTargetServer port=5432 dbname=postgres user=myUser password=###### sslmode=mySSLmode"


Branch 202534388

Seeing this error in the MacOS build...
Looks like you've seen this before Skye? Do you know how to fix it?
In file included from tensorflow/core/graph/tensor_id.cc:16:
In file included from ./tensorflow/core/graph/tensor_id.h:19:
In file included from /Applications/Xcode_8.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:439:
In file included from /Applications/Xcode_8.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627:
/Applications/Xcode_8.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:280:38: error: no type named 'type' in 'std::__1::enable_if<false, void>'; 'enable_if' cannot be used to disable this declaration
                 ,typename enable_if<is_convertible<const _U1&, _T1>::value &&
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./tensorflow/core/graph/tensor_id.h:66:15: note: in instantiation of member function 'std::__1::pair<std::__1::basic_string<char>, int>::pair' requested here
  using Base::pair;
              ^
tensorflow/core/graph/tensor_id.cc:34:10: note: while substituting deduced template arguments into function template 'SafeTensorId' [with _U1 = tensorflow::StringPiece, _U2 = int]
  return ParseTensorName(StringPiece(name.data(), name.size()));
         ^

Not yet, there's something wrong with the MacOS toolchain I think... it seems to be flaky, so you can try rerunning.


Icon Request: endotracheal tube and laryngoscope

Thank you very much for your effort. I really like your icon set and I think it is very useful to medical staff.
I would like to request an icon for an endotracheal tube and a laryngoscope. Especially for the emergency department, anesthesiology and intensive care this would be very useful.
Thank you very much.

Hey! I'm a volunteer at Health Icons, and thank you so much for your kind words. We've considered your icon request and will soon be working on it. Once it's finished, we'll send it here so you can download it.

I actually tried myself and this is what I come up with. It obviously doesn't fit your icon-style, but maybe it helps from there.

These have now been added to the collection! Thanks for your patience.


zoomable-chart-example

I'm new for React graph
can you help me how can I use zoomable-chart-example
I downloaded the library but not working
can you tell what files I need to download
thank you

Hey @azmahmad
The zoomable-chart-example is in the process of changing! The code that is in the code base is an example of how you might make a zoomable chart, if you want to use it you need to copy paste those files out of the here. I'm in the process of creating a component that you can use as you'd expect here: #939

thank you @mcnuttandrew ,
I downloaded here
it show I've a problem with index file, because it's include a lot of files (showcase)
can you help me
if you download just the highlight.js and zoomable-chart-example.js
will face it
thank you for your time

if you switch 'index' to 'react-vis' in the import it should work

t show me an error because I dont use index.js
in my files
which index.js I should use with highlight.js and zoomable-chart-example.js
thank you

The pr I discussed above is now merged in! You should be able to use the highlight component directly from the library.

Closing because there is a new thread about this


Fix given imports ordering

Scalameta adds extra spaces inside the braces when pretty-printing given imports, e.g.:
imports foo.{ give Bar }

instead of
imports foo.{give Bar}

This affects import ordering since we sort imports by comparing the pretty-print result.
This PR fixes this issue by adjusting the isCurlyBraced function, which is a narrow waist for fixing similar pretty-printing issues, to include given imports.
Note that, Scala 3 actually does not require a single given importee to be curly braced, i.e., import foo.given Bar is valid. However, Scalameta right now always braces them. This issue is fixed in scalameta/scalameta#2425, but we need to wait for a new Scalameta release containing this fix. For now, we still consider given imports to be curly braced.

Cc @tgodzik

Thanks! Do you plan on releasing soon? Might be useful for anyone already using the rule on Scala 3 already, but we've haven't sun any issues reported yet, so it's not really urgent.

Yeah, there's another coalesceImportees issue I'd like to fix, together with some minor refactoring. Then I'll kick-off 0.6.0.

Yeah, there's another coalesceImportees issue I'd like to fix, together with some minor refactoring. Then I'll kick-off 0.6.0.

Awesome, thanks!


Is there a portable version?

Is there a portable version of PowerToys or one that I can install via %appdata% that doesn't require Administrator privileges

No. Many things need an installer and so we can't provide PowerToys as an portable version.

No. Many things need an installer and so we can't provide PowerToys as an portable version.

Duplicate of https://github.com/microsoft/PowerToys/issues/598

Duplicate of https://github.com/microsoft/PowerToys/issues/598


FORMAT.md doesn't explain how to escape ---\n in included files

FORMAT.md specifies that a file be represented as itself, 'followed by a line containing exactly three hyphens (-) followed by a newline character'
it is not made clear in this specification how one might handle a file that contains this sequence of characters
this makes ptar unusable as a way of storing untrusted or unproofed files, and also unusable as a way of storing ptar archives themselves
this may be covered in the code itself, I've not checked, but the format specification as written does not account for this; some kind of blessed escaping mechanism would be good to document

I think ---\n is only meant for human eyes. The filemetadata contains the filesize. This is the correct way to read the following untrusted data.
But this would make the --- kinda unnecessary. you could just use a blankline after the header to separate from the file contents (like mail/http header).


Need help debugging problem with mqtt example for esp8266

Recently I have been trying to establish a mqtt connection between google cloud iot and my device.
My device is NodeMCU ESP8266 V3.
I have followed all the instructions in the README.md except the part for certification(rather I have un-commented the "binary root cert static" in my config).
The issue I am facing is the the connection is not established or I am guessing it is not being created. The serial port shows following:
"connected!
connecting..."
in a loop.
My concern is if something is wrong then why it shows "connected!" i.e. why "this->mqttClient->lastError()" is returning value 0.
This is my first project with esp8266 and using arduino ide for the first time. I need help only to figure how to debug the issue with my project. Also I have tried debugging the project with IDE debugging level set to "Core" and following is the output(which is beyond my understanding) at serial port:

Let me know if you need anything else.

Update:
I managed to follow your instructions to add the root certificate and it was uploaded. However it it still stuck in the "connecting.." while loop. Latest serial output is as following.

Update:
Solved the issue by changing SDK version of "ESP8266 by ESP community" from 2.5 to 2.4.


Symbol image override failed

Expected behavior:
image override works
Observed behavior:
when I test with examples/symbols,  the override for image is not override with new url, but new url shows as text.
How to reproduce:
git clone react-sketchapp
cd examples/symbols
npm install
npm run render
Sketch version:
43.2
Please attach screenshots, a zip file of your project, and/or a link to your github project

Oh no! Looks like @ianhook is on the way to solving it in #130.
As an aside, you have to use https image URLs, not http, due to a Cocoa limitation.

I know this is an old issue and it was supposed to be fixed but I'm having the same issue when running the examples with Sketch version  48.2 . I tested the symbols example, and the overrides doesn't seem to be doing anything.
<NestedSym
        name="Nested Symbol"
        overrides={{
          'Red Square Instance': BlueSquareSym,
          'Blue Square Text': 'TESTING',
          Photo:
            'https://pbs.twimg.com/profile_images/833785170285178881/loBb32g3.jpg',
        }}
      />

None of the values on overrides are shown in sketch after rendering


after update metode hooking my csgo crash after inject

and i have question, how can i debug my project to find an error?

Have you modified the source code?

Do you use the extended backtrack pull request? It has to be updated.

Do you use the extended backtrack pull request? It has to be updated.

yeah i did, but aint crash just doesnt work

Yes, i edit source. Add simple antiaim, thirdperson fix etc. But i edit only hooks.cpp and hooks.h and add this new files

i got error with interfaces but i can complicate

and i have question, how can i debug my project to find an error?

build the .dll in Debug, start CS:GO, attach Visual Studio to csgo.exe (DON'T JOIN VALVE SERVERS), and then inject Osiris and debug :)

i got error with interfaces but i can complicate

show a screenshot or something. don't be vague.

i got error with interfaces but i can complicate

yea its becuz daniel delete these class in interfaces.h
class Client; class Cvar; class Engine; class EngineTrace; class EntityList; class GameEventManager; class GameMovement; class GameUI; class InputSystem; class Localize; class MaterialSystem; class ModelInfo; class ModelRender; class NetworkStringTableContainer; class Panel; class PhysicsSurfaceProps; class Prediction; class RenderView; class Surface; class Sound; class SoundEmitter; class StudioRender;

If you aren't going to continue the conversation then please close this issue, it's not worth having open.

can you upload video, i understand what u said

can you upload video, i understand what u said

I also received the issues with the interfaces... as if they were not being defined. This happens in certain scopes, and seemingly disappears for no reason, when I make a change.


[v1] add PR template

Description this PR:
 add PR template

Checklist
It's no need test case and doc

[ ] test case
[ ] doc

How to test
 could create a new PR to test

Description this PR:
 add PR template

Checklist
It's no need test case and doc

[ ]  test case
[ ]  doc

How to test
 could create a new PR to test


Match-all-tags page filtering

Editors helped us discover a combination of page tags and the use of
"match-all-topic-tags" that locked up the version of mysql that we run
on servers. This PR reduces some of the query complexity and, in the case
of "match-all," forces a query evaluation before starting the recursive
tag filtering routine.
I replicated the mysql lockup by editing page #10848 inside a docker VM that
uses with the same db version used in production. When I checked the
"match-all-topic-tags" box, the page locked up mysql when it was rendered.
This PR stopped the lockups for me.
Notes
When the final query succeeded, applying "match-all" to all 9 tags,
the result was zero related pages. All this trouble for a null!
This addresses GHE issue 1805

When checkout this branch, open up admin, and restore a problematic version of page 10848, I'm unable to preview or view the published page.

I'll try restoring a revision.

Rats. Restoring a revision brings back the problem for me, too.
Back to the taggithole.

Been there!


moved chat settings to a new tab. Adjusted page width

Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes are missing coverage. Please review.

Project coverage is 1.36%. Comparing base (0fa7b76) to head (5508c97).

Files
Patch %
Lines

src/view.jl
0.00%
12 Missing :warning:

src/view_chat.jl
0.00%
6 Missing :warning:

Additional details and impacted files
@@          Coverage Diff          @@
##            main      #6   +/-   ##
=====================================
  Coverage   1.36%   1.36%
=====================================
  Files          8       8
  Lines        220     220
=====================================
  Hits           3       3
  Misses       217     217

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

Thank you for the PR, Pere!
As per our chat on Discord, I agree that it was previously hard to find the advanced settings, but I don't think moving them to a nested list in the left bar speeds things up / make them more discoverable.
If you wanted to change the model and the temperature (assuming you know where it is and that it exists), it's more than 7 clicks. It would be cool to make the global settings easier to access - I suspect having a single Config tab might be easier, I'm happy to consolidate, but what to do with the chat-specific settings? (like auto-reply etc)
Would it be smooth/easy to discover to have these things in a minified drawer on the right-hand side? Or is it too distracting to have things on both sides? What's the Genie best practice?
In my mind, having the expansionitem at the top, so it's visible when you get started but it disappears as you progress in the conversation, was an okay trade-off. WDYT?
The black buttons look a bit aggressive. In general, I don't like the black theme, it was just the easiest way to get started. I think I'll have to play with it at some point in the future - I definitely prefer the more subtle buttons it had before.
What's the logic behind 4/5-width? I thought the minified look is intentional to maximize the page width when it's hidden. If we use the narrower page, what's the benefit of minifying the left drawer?
It might be easiest to just chat through some of these items and then I can re-base the PR once we know what we want to keep!

Hey, sorry for the late reply. Yes, if these are settings that one would change often then it makes sense to have them in the chat page. I think the expansion item at the top is fine, perhaps with a popup proxy to avoid having the chat move up and down.
The new black theme is supposed to be more elegant, I won't tell our designer you said this :(
As for the width, I just think it looks better when there are some margins on the sides and content does not take the full width of the page.


[fix](ES catalog)Make col != '' behavior consistent with SQL

Proposed changes
In SQL syntax, col != '' equals col.length() > 0.
It means that this column must exist in ES doc fields and its content is not empty.
In this PR, we make a special translation for this binary predicate to keep the behavior of both consistent.
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run p0

run p0

run p0


[ROS 2] Update swri_transform_util CMakeLists.txt.

ROS 2 add_library doesn't defaults to STATIC flag. Updated to specify SHARED.

This looks reasonable. @danthony06 what do you think?


Incompatible DDL statement generated for PostgreSQL

Hi,
This is probably more of an issue of Slick rather than your template project. When I run the template with postgreSQL, createDDL keeps failing. After digging around, I found that the SQL generated isn't compatible to postgreSQL:
create table "accounts" ("id" BIGINT GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL PRIMARY KEY,"email" VARCHAR NOT NULL,"password" VARCHAR NOT NULL,"created_at" TIMESTAMP NOT NULL)
I copied and saved this statement to a temp.sql file, and tried to run it from psql, and got syntax error at "GENERATED BY".
Is there a workaround for this issue please?

Hi Smartnose, sorry for the delay. I will take a look  when I have a chance. Did you find a solution for you?

Hello smartnose, im not sure if it is still as issue but you have to change all the:
import slick.driver.H2Driver.api._
For example mysql:
import slick.driver.MySQLDriver.api._
Else slick will generate H2 queries which will not work on postgres or mysql.
Hope you figured it out.

Hi,
I am trying to use hosted MySql server,  for which I have changed the application.conf accordingly the issue I am facing is although the it runs without error ,but i am not able to see any tables in my MySql database, and whenever I am trying to make the rest call it say that  table oauth_clients
doesnt exist.
May it be the case that the program is not waiting for tables for being created but then how do I fix it.

@V-shaal in the PersistenceModule class theres a generateDLL method, that generates the tables. createTable() is a Future[unit]. Try checking there. for/yield over them or flatmap in the right order, maybe initialization is having some foreign key errors because of the order of the futures.

@RobertLemmens I am able to create two table , accounts and oauth_clients but for the other two tables it throws sql timeout exception. I tried by Awating for result infintely using Await.result

@V-shaal Can you try re-ordering the order of creation. Like so:
accountsDal.createTable()
oauthClientsDal.createTable()
oauthAccessTokensDal.createTable()
oauthAuthorizationCodesDal.createTable()


Open PipelineRun diagram from Tekton tree

Fix: #371
Demo:

@siamaksade Can you look on this? I'm not 100% sure in icon.


Support read subset of columns in Python API.

Description
Leverage pyarrow API to implement column projection while reading datasets.
Related Issue(s)

closes #283

Documentation

Thank you @zijie0.
LGTM!
The issue of mypy check in the CI will be fixed here.
When it's merged, we will make sure that the CI is green for your PR before merging it!

Thank you for your review @fvaleye .
I will merge your PR into my branch once it is approved.

Thanks @zijie0 for the contribution 👍

time for a new python release to test our docs release pipeline :)


error wen i run the python file

the comman i run python3 EdgeGPT.py --cookie-file=cookies.json
the error i got
Traceback (most recent call last):
File "/home/ubuntu/EdgeGPT/src/EdgeGPT.py", line 871, in
main()
File "/home/ubuntu/EdgeGPT/src/EdgeGPT.py", line 867, in main
asyncio.run(async_main(args))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
return future.result()
File "/home/ubuntu/EdgeGPT/src/EdgeGPT.py", line 793, in async_main
async for final, response in bot.ask_stream(
File "/home/ubuntu/EdgeGPT/src/EdgeGPT.py", line 662, in ask_stream
async for response in self.chat_hub.ask_stream(
File "/home/ubuntu/EdgeGPT/src/EdgeGPT.py", line 430, in ask_stream
self.wss = await websockets.connect(
File "/home/ubuntu/.local/lib/python3.10/site-packages/websockets/client.py", line 535, in await_impl
transport, protocol = await self._create_connection()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport
protocol = protocol_factory()
File "/home/ubuntu/.local/lib/python3.10/site-packages/websockets/client.py", line 69, in init
super().init(**kwargs)
File "/home/ubuntu/.local/lib/python3.10/site-packages/websockets/protocol.py", line 235, in init
self._drain_lock = asyncio.Lock(
File "/usr/lib/python3.10/asyncio/locks.py", line 78, in init
super().init(loop=loop)
File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in init
raise TypeError(
TypeError: As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary

pip install websockets --upgrade


Cannot link error

getting an error when using systemless MagiskSU on 7.1.2 running anything with sudo. Su -c command works by itself just fine.
CANNOT LINK EXECUTABLE "/sbin/su": cannot locate symbol "XzUnpacker_Construct" referenced by "/system/lib64/libunwind.so"...

this error is repeated through many lines of your script, if you want the whole thing let me know :)

Sorry it took so long to address this issue. This isn't a sudo issue. This is an issue with Termux and android 7.1.1 and later. sudo is just a bash script that mimics the behavior of the linux sudo binary.  It may just be a work around at the moment, but give it a try as I have no way to test this fix myself.

I am reopening this issue until I get feedback on this latest commit

Latest commit still has the issue, but nowhere near the errors.
CANNOT LINK EXECUTABLE "/sbin/su": cannot locate symbol
"XzUnpacker_Construct" referenced by "/system/lib64/libunwind.so"...
CANNOT LINK EXECUTABLE "/sbin/su": cannot locate symbol
"XzUnpacker_Construct" referenced by "/system/lib64/libunwind.so"...
/data/data/com.termux/files/usr/bin/sudo: line 93:  9680 Aborted
(core dumped) $SU -c "$CMDLINE"
On Sep 8, 2017 6:09 PM, "st42"<EMAIL_ADDRESS>wrote:

Reopened #11 https://github.com/st42/termux-sudo/issues/11.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/st42/termux-sudo/issues/11#event-1241632285, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA5xlViX--kco8SRA4VLQh0P0kToehFNks5sgckjgaJpZM4OluYP
.

I am re-closing this issue because it appears that this issue with 7.1.1+ will have to fixed in Termux.

it is working now :) strace still shows the errors, but doesn't impact function, nor shows when running regularly.

Is this before or after the latest commit

before you reverted. testing out the latest right now

@icebal
If the latest commit doesn't work and I expect it wont, I would like to try something before I undo the reverted commit. Could you give me the location of your su binary, not the linked location of /sbin/su
use the following to find it:
ls -la /sbin/su

fresh pull works still for me. willing to try anything you think will help future-proof it :)
i'm using magisk, so
/sbin/su -> /sbin/magisk
/sbin/magisk -> /sbin_orig/magisk
/sbin_orig/magisk is the end of the symlink train....

If the latest commit works the developer of Termux must have fixed the CANNOT LINK EXECUTABLE error internally. So the work around of the commit I reverted is no longer necessary. Thanks for the su binary location I'll keep it in mind for future reference if the need arises.

same issue there...

I'm using Magisk, replacing the section that looks for su executable with SU=su seems to work for me.

It is working but it gives this error im using magisk root
sudo su
CANNOT LINK EXECUTABLE "/sbin/su": "/data/data/com.termux/files/usr/lib/libcrypto.so.1.0.0" is 64-bit instead of 32-bit


Format code does nothing

I installed PHP IntelliSense to VS Code 1.8.1 on Win 7 with php-7.1.0 installed, and the code format does nothing. I've tried looking for a wrong setting, errors or a solution on the web, and found nothing. Can you please help fix this?

Hi, I installed VS Code 1.13.1 on KDE Neon 5.10 with PHP IntelliSense.
In my settings.json I added:
"php.suggest.basic": false,
"php.executablePath": "/usr/bin/php",

When I do a right click in any PHP file, I don't have the entry "Format Code" as show on the screenshot from the plugin:

This is what I got:

Is there something missing?

VS Code renamed the entry to "Format Document"

Ok thanks. So the fact that it does nothing is still an open bug?

Yes, that is still an open bug, but it seems that there is progress since the last update. When I try to format the document, it formats, but it does not format correctly.
This is before:

The is after

It ignores several lines, and others it just sends them to the beginning of the line.

There is no longer a document formatter in the language server.


on select of storm

show Storm Name, Storm Year, Image Number, Link to Storm Wikipedia page

added Storm Name, Storm Year, and wiki page.
I will do image number a little bit later as I kind of have to redesign the stepper

this looks good. 'Storm' is misspelled on the top part. And we might want to change "Pick a storm" and "Pick an archive from that storm" to "Pick a catalog", "Pick an archive from that catalog"

Fixed, just have to rename some internal variables with the word storm in them now.


Add additional options for generating phylogenetic trees

phangorn is notoriously slow in generating phylogenetic trees from data and may take days with a large data set.  We should add an option to use something like Fasttree or RaXML.

Added Fasttree support in d29e34624f33cff04b13eaa7813aabe50ffb7359 .  This needs a bit more testing, and we may want to think about how we set up the parameters/options for this


VTOL beta backport

This brings both the VTOL transition fix and the new Standard VTOL vehicle type into the beta branch.
Bench tested on the Fun Cub Quad VTOL. FireFly6 bench test and Fun Cub test flight pending.

Need to do this against beta, not master. Closing.


[help] How to use Nested groupBys ?

SQL:
select sum(maxdata) from
(SELECT "deviceId",max("data") as maxdata FROM "dataTest2"
group by "deviceId")
percentage
I don't known how can I parse the SQL to JSON
thanks!

Hi, Druid supports SQL. You can try it.


Redirect to homepage during checkout

Hi,
i'm testing on my local machine (using the docker containers included in the project), the paypal checkout.
The express checkout is working fine, but the normal one is keep redirecting me to the homepage: without any errors on the screen or in the logs.
After installing xdebug i found this:
{"token":"36b6a8","route":"payum_authorize_do","method":"GET","controller":{"class":"Payum\\Bundle\\PayumBundle\\Controller\\AuthorizeController","method":"doAction","file":"\/srv\/sylius\/vendor\/payum\/payum-bundle\/Controller\/AuthorizeController.php","line":9},"status_code":302,"status_text":"Found"}
I try to insert in that controller action anything: dump, die, exit.
But it seems that is never been called; there is something before i think.
Can someone help me?
Thanks

Hey, what do you mean with but the normal one?

Hi Sir, the normal steps checkout.
In the meantime i found the issue; my website has only one lang defined it_IT, but in the services.yaml there was:
parameters:
    locale: en_US

I know that this could seem a noob error, but i didn't find even a log for the redirect.

Hi @bellu , I had a similar problem during the very first deploy to staging since I setted up Sylius with a different locale code.
I suggest to move that config into the .env file:
.env:
APP_DEFAULT_LANG='en_US'
config/services.yaml
parameters:
    locale: '%env(APP_DEFAULT_LANG)%'


add a second Sonoff

How can I add a second Sonoff device in the config.json file?
"accessories": [
{
"accessory": "mqtt-switch-tasmota",
"name": "sonoff",
			"url": "mqtt://Homebridge",
			"username": "DVES_USER",
			"password": "DVES_PASS",

			"topics": {
			"statusGet": "stat/sonoff/RESULT",
			"statusSet": "cmnd/sonoff/POWER",
			"stateGet": "tele/sonoff/STATE"
								},
			"onValue": "ON",
			"offValue": "OFF",

			"activityTopic": "tele/sonoff/LWT",
			"activityParameter": "Online",

			"startCmd": "cmnd/sonoff/TelePeriod",
			"startParameter": "60",

			"manufacturer": "ITEAD",
			"model": "Sonoff",
			"serialNumberMAC": ""
		},
		{
			"accessory": "mqtt-switch-tasmota",
			"name": "taklampe",

			"url": "mqtt://Homebridge",
			"username": "DVES_USER",
			"password": "DVES_PASS",

			"topics": {
			"statusGet": "stat/taklampe/RESULT",
			"statusSet": "cmnd/taklampePOWER",
			"stateGet": "tele/taklampe/STATE"
								},
			"onValue": "ON",
			"offValue": "OFF",

			"activityTopic": "tele/taklampe/LWT",
			"activityParameter": "Online",

			"startCmd": "cmnd/taklampe/TelePeriod",
			"startParameter": "60",

			"manufacturer": "ITEAD",
			"model": "Sonoff",
			"serialNumberMAC": ""
		}

And how to configure Sonoff settings

If i turn the second sonoff on or off via web page it turns on and off and  I Can see the status changes in Apple Home app. If I turn it on or off via Apple Home app the status is changed in the Apple home app but the sonoff is not turning on or off.

@FamJohansson I'm in the same situation. Have you managed to solve it?

Hi, I have not managed to resolve this.

Is there anyone who has a solution to this?

Can @MacWyznawca look at this?

First working? Config file looks ok.
Can You check console log via web on second? That model? Basic?

@macwyznawc Both is basic

Hi, I have about 15 Sonoff working perfectly. Have you changed the MQTT name on Sonoff to taklampe via the Web Interface on the Sonoff Device.

Hello again,
I was missing a /  in this line.
"statusSet": "cmnd/taklampePOWER",
Thanks for all the help.
Case closed.


[DM-3747] Moving SNMP to cumulocity examples

Description
SNMP is deprecated but we still have SNMP docs on our website. This has lead to confusion with presales and customers who thought this was still a product feature.
move everything related to the SNMP docs (SNMP - Cumulocity IoT documentation ) to the examples repo where the code is. Don’t spend time on fixing links just move the docs for archival purposes. Create a readmy that explains that this functionality is deprecated an no longer supported by the product team.
Acceptance criterion

Docs moved as described
readme created as described

Information for Release Notes

Should you maybe put all this in protocol integration in a docs folder?

I have left the same structure as it was in the c8y-docs, in cumulocity-examples we do not have such folder as protocol integration, only device-integrations I would leave it as it is , Beate what do you think?

Should you maybe put all this in protocol integration in a docs folder?

I have left the same structure as it was in the c8y-docs, all is placed in protocol integration I would leave it as it is , Beate what do you think? If needed I will move it

I leave it up to you how you want to structure the content in this repo.
Anyway, this are only source files and the structure is hard to understand without the Hugo setup. Perhaps you link in the readme to the 2024 documentation which is probably the last release that includes this documentation? That would make reading easier.
For the ops documentation, I would probably also provide the latest PDF (also from 2024) for better readability.


'Could not read path' build failed error

Is this a bug report?
Yes
Environment

react-native -v: 0.47.2
node -v: 8.1.2
npm -v: 5.3
yarn --version : 0.27.5

Then, specify:

Target Platform: Android

Development Operating System: Windows 10 64 bit

Build tools: Both android emulator and physical Galaxy S6

Steps to Reproduce

(Write your steps here:)

cd android && gradlew clean
cd ..
react-native run-android
disconnect packager
react-native run-android

Expected Behavior
Build is expected to run just fine the second time, just like the first time.
(Write what you thought would happen.)
Actual Behavior
When I run react-native run-android, the first time I run it, everything runs fine. If I stop the packager and run react-native run-android a second time, I get this error:
FAILURE: Build failed with an exception.

* What went wrong:
Could not read path 'C:\ig3\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-fr-rCA'.
> C:\ig3\android\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values-fr-rCA

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I can do 'cd android && gradlew clean' then the build will run fine, but again the next time I run, I will get the same error. It is always the second time I run my build after doing gradlew clean, I get the same error.
Any help would be much appreciated. Thanks!

I have the some problem. If you have found solution, can you share it @jslok

Unfortunately i still have this issue.

I have the same issue

Hey guys, had the same issue when i was renaming my packages in android studio, what worked for me can be found from this link https://stackoverflow.com/questions/23025433/how-to-clear-gradle-cache/30450020#30450020

For me the issue is solved when I'm closing Android Studio. I'm guessing that Android Studio is keeping handle to the files and paths which preventing react-native run-android run correctly.

Seems like the issue can be worked around. Closing.


refactor fusion util for sparse ops

Separate where fusion logic from fusion_utils.cc
set up SparseFusionStrategy for where fusion and upcoming kSparseReduction fusion

to #510


Fork patched CodeMirror from github user 'bobszi'

Project member left, the project should not depend on this fork anymore.
Patched Fork will be availaible until this issue is closed at https://github.com/bobszi/CodeMirror.git

Pull request should be sent to the CodeMirror project with the search extension.