refactor: migrate from deep-equal to dequal

Changes

remove deep-equal and @types/deep-equal dependencies
install dequal dependency
replace usages of deep-equal with dequal in combobox create.ts and array.ts helper

Motivation
I had a look at https://npmtrends.com/deep-equal-vs-dequal-vs-fast-deep-equal and compared the different options through:

https://arve0.github.io/npm-download-size/#deep-equal
https://arve0.github.io/npm-download-size/#fast-deep-equal
https://arve0.github.io/npm-download-size/#dequal

Looking at the lockfile, I found more dependencies using dequal rather than fast-deep-equal under the hood, so I went with that. The lib is also much newer and had its latest commit in 2022.
Also I remember lukeed (author of dequal) being part of the Svelte community, so there might be some overlap and an easier path forward to reach him in case of bugs etc.
Closes https://github.com/melt-ui/melt-ui/issues/461

Looking at the CI failures, it seems that https://github.com/melt-ui/melt-ui/actions/runs/6018311020/job/16326259233?pr=471 is definitely not related to my PR and should be handled separately.
Not sure about https://github.com/melt-ui/melt-ui/actions/runs/6018311020/job/16326259086?pr=471, I guess I will wait for PR feedback.

@mcmxcdev thank you for the PR!
About the tests, the Portal test is a bit flakey. I'll merge this and continue testing to see if it still occurs.
It does worry me that dequal hasn't been updated in over a year, but it has zero deps, and is only a single file with an MIT license, so worse case scenario we just copy it over and do modifications on it.

It does worry me that dequal hasn't been updated in over a year, but it has zero deps, and is only a single file with an MIT license, so worse case scenario we just copy it over and do modifications on it.

I agree with you, but I think it's not a big deal for the same reasons you mentioned!


zhimi.humidifier.ca4 becomes unavailable

hey there,
just wanted to leave this here.
I have a smartmi humidifier 2 (zhimi.humidifier.ca4) which I added (IP and token) and is detected correctly, but becomes unavailable shortly after start of the adapter.
Let me know if I can help test, or provide additional information.
 ID 358479950

miio.0
2021-01-08 17:39:50.061
debug
(26794) Adapter init done!!!!!!

miio.0
2021-01-08 17:39:50.050
info
(26794) new zhimi.humidifier.ca device

miio.0
2021-01-08 17:39:50.037
info
(26794) All defined devices are created

miio.0
2021-01-08 17:39:50.034
info
(26794) <IP_ADDRESS> added.

miio.0
2021-01-08 17:39:49.553
info
(26794) starting. Version 0.0.13 in /opt/iobroker/node_modules/iobroker.miio, node: v12.18.4, js-controller: 3.1.6

miio.0
2021-01-08 17:39:49.446
debug
(26794) statesDB connected

miio.0
2021-01-08 17:39:49.445
debug
(26794) States connected to redis: <IP_ADDRESS>:9000

miio.0
2021-01-08 17:39:49.437
debug
(26794) States create System PubSub Client

miio.0
2021-01-08 17:39:49.435
debug
(26794) States create User PubSub Client

miio.0
2021-01-08 17:39:49.429
debug
(26794) Redis States: Use Redis connection: <IP_ADDRESS>:9000

miio.0
2021-01-08 17:39:49.427
debug
(26794) objectDB connected

miio.0
2021-01-08 17:39:49.422
debug
(26794) Objects connected to redis: <IP_ADDRESS>:9001

miio.0
2021-01-08 17:39:49.411
debug
(26794) Objects client initialize lua scripts

miio.0
2021-01-08 17:39:49.406
debug
(26794) Objects create User PubSub Client

miio.0
2021-01-08 17:39:49.404
debug
(26794) Objects create System PubSub Client

miio.0
2021-01-08 17:39:49.401
debug
(26794) Objects client ready ... initialize now

miio.0
2021-01-08 17:39:49.369
debug
(26794) Redis Objects: Use Redis connection: <IP_ADDRESS>:9001

host.iobroker
2021-01-08 17:39:48.448
info
instance system.adapter.miio.0 started with pid 26794

host.iobroker
2021-01-08 17:39:18.433
info
Restart adapter system.adapter.miio.0 because enabled

host.iobroker
2021-01-08 17:39:18.432
info
instance system.adapter.miio.0 terminated with code 0 (NO_ERROR)

`

same
|   |   |
-- | -- | -- | --
miio.0 | 2021-04-15 18:05:33.008 | info | (31594) 359343806 becomes unavailable.


tags not working

Nothing show when navigate to tags, for example: http://plnkr.co/tags/angular

+1

+1

or just:  http://plnkr.co/tags  -  Seems in general browsing is not working


service-cache: fix memory leak and missed updates on scale to zero events in rare circumstances

This PR fixes two issues which could affect the endpoints handling in the service cache, concerning remote services:

Prevents that an update could be missed in case of scale to zero events in very specific scenarios.
Ensures the deletion of a map entry which was previously leaked;

Please, refer to the respective commit messages for more details.

Fixes: #issue-number
Fix a memory leak in the service cache, and possible missed service updates on scale to zero events in rare circumstances

/test

ConformanceK8sKind hit new flake https://github.com/cilium/cilium/issues/24622

/test-1.24-5.4

/test-1.26-net-next

Fixes: #issue-number

Note that if this was meant to close a related issue, you will need to close it manually :)

Nope, I just forgot it there from the template.


Fix SPDX license identifier error in .deploy() and npm test issues

Hi @petrosDemetrakopoulos,
Thanks for making this project! It's really cool.
I've done a few small changes when debugging this error, so that npm test passes, so let me know if you will rather have me do a separate pull request for each issue :smile:
The error
I was playing around with it, and I noticed that I was getting the following error when I was running .deploy(), because there was no //SPFX-License-Identifier:  comment in the contract.
Error: Solidity compilation error
Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.

What I did to fix it

Add ganache-core to the test/test.js script, so that ganache will automatically be started for tests. This means that the ganache version is in our package.json, which makes testing easier.
Add the //SPDX-License-Identifier: comment to the contractTemplate.txt, with the default is UNLICENSED, e.g. no open-source license.
And finally, there was two small bugs with the .find() function that I fixed:

The callback is no longer called again, if the callback has an error.
.find() now correctly calls JSON.parse().

Testing
You can test all of this by running npm test on my branch:
git clone https://github.com/aloisklink/ethairballoons.git
git checkout fix-find
npm install
npm test

Thank you very much for your contribution. I really appreciate it.
There is no need to make a different PR for each issue.
I will merge it as soon as I run some minor smoke tests.
Thanks again.


Separate Update and No Update notification

[x] I have verified there are no duplicate active or recent bugs, questions, or requests.
[x] I have verified that I am using the latest version of AppUpdater.
[x] I have given my issue a non-generic title.
[x] I have read over the README, Wiki and FAQs (before asking questions on how to do something).

Thanks for the great lib. I was wondering is there a way to separate the Update and No Update portion of the code? I would like to change the No Update notification to a snack bar and leave the Update notification as a dialog. Or just stop the No Update notification.

It is not possible when using the AppUpdater builder, but you can use the AppUpdaterUtils builder instead and show a dialog or snackbar based on the results. For example:
AppUpdaterUtils appUpdaterUtils = new AppUpdaterUtils(this)
    //.setUpdateFrom(UpdateFrom.AMAZON)
    //.setUpdateFrom(UpdateFrom.GITHUB)
    //.setGitHubUserAndRepo("javiersantos", "AppUpdater")
    //...
    .withListener(new AppUpdaterUtils.UpdateListener() {
        @Override
        public void onSuccess(Update update, Boolean isUpdateAvailable) {
           if (isUpdateAvailable) {
              // Show a Dialog
           } else {
              // Show a Snackbar
           }
        }

        @Override
        public void onFailed(AppUpdaterError error) {
            Log.d("AppUpdater Error", "Something went wrong");
        }
     });
appUpdaterUtils.start();


defaults: fail if can not write ansible logs

Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

FAIL - luminous-ansible2.2-update_docker_cluster

FAIL - jewel-ansible2.2-docker_cluster

FAIL - luminous-ansible2.2-bluestore_dmcrypt_journal_collocation

The entire fails because the patch works :p, we now need to decide if we make this optional or not...

why would we want to make this test mandatory?

@guits this still needs to be discussed but we have been having many users reporting issues and not able to provide enough logs. So this might be useful. This is still DNM for me as we need to discuss this.

jenkins test pipeline

jenkins test pipeline

jenkins test this please


Rebrand BLUI

Fixes PXBLUE-2501 .
Changes proposed in this Pull Request:
@pxblue => @brightlayer-ui
PX Blue => Brightlayer UI
PXBlueDrawer => BLUIDrawer

Need to remove beta version


#140 show carousel indicators depending on number of slides

show carousel indicators depending on number of slides

Thanks for your contribution @shyambabu-kolipaka  - we've gone a different redirection now that Microsoft's repos index is growing so rapidly, so are in the process of rolling out https://opensource.microsoft.com. We're redirecting the GitHub Pages site in the meantime over there. Thanks, and sorry it's taken so long to triage what all is up here.


feat(view): Added Sign Message View

PR related to this trello task --> https://trello.com/c/SLSydRCq

:tada: This PR is included in version 1.12.0 :tada:
Your semantic-release bot :package::rocket:


Allow the gem to integrate with other id schemes (don't override to_param)

A feature request...  I'd like to use the gem to generate tokens in addition to mongoid-slug, so it would be good if you could specify an option not to override to_param.

Hi @mcoms @thetron
How exactly did you do this with mongoid-slug? I'm not sure how my query is supposed to look. Not I just do - Listing.find(params[:id]) - but that doesn't work. I've set - override_to_param: false - so not sure what else I'm supposed to do?

@holgersindbaek from memory, mongoid-slug does a similar thing to this library, and attempts to check if the parameter passed into .find(...) looks like a MongoDB objectID. If so - it calls super(...) with that param, otherwise it performs the query as a token.
To have these libraries work side-by-side, I would recommend disabling both the finders and the to_param override, to minimise any sort of unexpected results. So something like:
token skip_finders: true, override_to_param: false

If you want to query on the token, you can just use .find_by(...), like this: FooModel.find_by(:token => "123456").

@thetron Thanks for the answer. I'm still not sure how I query for both things though. Sometimes people pass in a token, sometimes a slug, so how would my query look?
FooModel.find_by(:token => "123456") || FooModel.find(:slug => "some-slug")

@holgesindbaek You should be able to use find directly, like e.g
FooModel.find("123456") || FooModel.find("some-slug").
On Tue, Mar 17, 2015 at 9:35 AM, holgersindbaek<EMAIL_ADDRESS>wrote:

@thetron https://github.com/thetron Thanks for the answer. I'm still
not sure how I query for both things though. Sometimes people pass in a
token, sometimes a slug, so how would my query look?
FooModel.find_by(:token => "123456") || FooModel.find(:slug => "some-slug")
—
Reply to this email directly or view it on GitHub
https://github.com/thetron/mongoid_token/issues/27#issuecomment-82456306
.

@digitalplaywright @thetron If I add - skip_finders: true - then  FooModel.find("some-slug") works, but finding by token doesn't work.
Getting this error when trying to find with token:
Problem:
Document(s) not found for class Listing with id(s) cjfj.
Summary:
When calling Listing.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): cjfj ... (1 total) and the following ids were not found: cjfj.
Resolution:
Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.

@holgersindbaek The problem is that when you call find it will raise an exception if it can't find a matching document - which is what you're experiencing. It's also why things like FooModel.find("123456") || FooModel.find("some-slug") won't work.
Both mongoid_token and mongoid-slug have strategies for trying to determine if you're searching by token, slug or ObjectID and respond accordingly. However, from mongoid_token's perspective, it can't tell the difference between a slug or a token, since it just checks if the argument is a valid ObjectID, and if not - assumes it's a token.
Given your use case, I think it's probably best for you to write your own finder method, which searches across both fields. Keep in mind I haven't tested any of this, but I would probably be inclined to do something like:
Listing.limit(1).or({:token => params[:id]}, {:slug => params[:id]}).first

This won't raise an exception if no document is found, so obviously you'll need to handle that case. You'd probably want to have some checks elsewhere in your app to ensure that the union of tokens and slugs are unique.

@thetron @digitalplaywright Thanks a lot. That seems to work.
Last question. Mongoid slug seems to be checking if the slug has been used before and generates a unique slug if it has (if my-slug is taken, it becomes my-slug-1, etc). Doesn't mongoid token check if the token has been used before, so it's always a unique token that is used?
I remember reading the note in the readme, saying it had something to do with the indexes? I'm not sure how to do that part though?

Tokens are always unique. This is enforced by an index on the document collection. If you try to save a model instance with a duplicate token, it will raise an exception from Mongoid.
That being said (and i'm considering removal of this feature in the future), mongoid_token will retry three times (by default) to generate tokens, if this exception is encountered, before bubbling the exception up to your app.
In my apps, I would generally plan for this by making the tokens a little longer than necessary

@thetron  K... good to hear.
What happens when you run out of tokens? Right now, I'm doing 4 characters alpha numeric (upper and lowercase), which should accommodate for a good deal of tokens. When I'm about to run out, can I just change it to 5 tokens instead?

Yup. You can just change the length at any time. With your 4 character, alpha numeric tokens, you've got around 15 million possible tokens. Which sounds like a lot, but if you have 150,000 Listing records, you're looking at a 1% chance of a collision.


[CAIM-34] Fix breed display, add euthanasia date to card

This cleans up broken breed text introduced with the animal card changes, and adds the euthanasia date to the card.
Before:

After:

LGTM


Implement da.searchsorted

This adds a block implementation of np.searchsorted.

[ ] Closes #xxxx
[x] Tests added / passed
[x] Passes black dask / flake8 dask / isort dask

Thanks for the review @douglasdavis. I've updated with your suggestions.

cc @pentschev (in case you have any thoughts here 🙂)

Thanks Tom for the PR. Also thanks Doug and Peter for the reviews 😄


Add support for GEOSHAPE index fields and WITHIN and CONTAINS query operators

Motivation
Since RediSearch 2.8, it's possible to do more advanced GEO querying with GEOSHAPE fields.
On the client side, we should provide support for Index creation and Querying. APIs should allow users to use popular WKT libraries that parse and "serialise" to WKT format (e.g. https://github.com/cschwarz/wkx)
Requirements:

Add support for GEOSHAPE fields:

Perform validations to allow passing only POLYGON and POINT geometry primitives.
Support specifying the coordinate system

Ensure that querying API is compatible with GEOSHAPE queries

Basic Code Example
// Geometry primitives will be used from third-party libraries and serialized to WKT
let p = new wkx.Polygon([new wkx.Point(1, 2), new wkx.Point(3, 4), new wkx.Point(5, 6), new wkx.Point(1, 2)]);

await client.hSet('land:123', {
    geometry: p.toWkt(), // Serialisation
    price: 29000
})

await client.ft.create('idx:land', {
    'geometry': {
        type: SchemaFieldTypes.GEOSHAPE // New field type
        COORD_SYSTEM: GeoshapeFieldCoordSystem.FLAT // Coordinate system type
    },
    'price': {
        type: SchemaFieldTypes.NUMERIC,
    }
}, {
    ON: 'HASH',
    PREFIX: 'land:'
});

let areaOfInterest = new wkx.Polygon([new wkx.Point(1, 2), new wkx.Point(3, 4), new wkx.Point(5, 6), new wkx.Point(1, 2)]);

let result = await client.ft.search(
    'idx:land',
    '@geometry:[WITHIN $area] @price:[20000 30000]',
    {
        PARAMS: {
            area: areaOfInterest.toWkt()
        }
    }
);

3fa54fef584852d481eec7f788492b500283ea59

[x] Add support for GEOSHAPE fields:

[ ] ~Perform validations to allow passing only POLYGON and POINT geometry primitives.~
Why? The server should handle this (he already does?), there is no reason to validate twice..
[x] Support specifying the coordinate system

[x] Ensure that querying API is compatible with GEOSHAPE queries

@leibale what's the norm here? The problem is (honestly) in some clients we half do this (randomly validating) and yet don't take it all the way through. Definitely open to not doing this, if it currently goes against lib norm.

@chayim unless I have to, I let the server do its job... same for default values for arguments..

Will this make it into a Node-Redis 4 release?


fix/fix unnecessary text in split order level prompt

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Fix unnecessary text prompt as mentioned in https://github.com/hummingbot/hummingbot/issues/5193
Tests performed by the developer:

Tips for QA testing:

@JeremyKono Hi, should this PR be merged into dev or staging to fix this issue? https://github.com/hummingbot/hummingbot/issues/5193

@leastchaos nothing is going into the staging branch. Only in development and you should also create a PRP for this one and after the voting, if the PRP finishes before the end of the month then it will be merged in development and go into the next release

Noted. I have raised the PRP https://snapshot.org/#/hbot-prp.eth/proposal/0x66c25aa0e46b3fe79b40d5fea79bfd8c9bc814d6c0e32d9e31e7d74bcb183be1

@JeremyKono this PR has been approved two weeks ago by QA and the PRP is already closed (community voted For). It should be merged into development branch.

I agree with @aarmoa - development should overlap with staging i.e. we should be able to continue pushing changes to development branch and staging contains all changes to be included in the upcoming release (code freeze). This way, QA can continuously test the staging environment without blocking developers / contributors.
@mifeng also related to the message above, we mentioned before it's a good approach to delete staging branch every new release and create a new one based on the state of development branch on the next cut-off / code freeze. This way is cleaner.

We should probably create a thread in commonwealth if there are more points to this discussion.


Phobos overwrites ENV['RAILS_ENV'] with incorrect value.

Do not set ENV['RAILS_ENV'] or ENV['RACK_ENV'] (see lib/phobos.rb#L34).  It appears this is only used for logging purposes, and if ENV['RAILS_ENV'] is set but ENV['RACK_ENV'] is unset it results in ENV['RAILS_ENV'] being set to 'development'.  Neither of these should be set by this library.

Thanks for the contribution! 🐛


arm: Make ARMv5 boards work again

Summary
Fix some bugs found while trying run modern NuttX on an old board.
Impact
Testing
NuttX builds and runs on my board but most of the board support is not in the repo.

@acassis Please check if this fixes #8966.

@ldube thanks to fix this long-time regression.

@ldube I just tested it on LPC2378 following these steps: https://acassis.wordpress.com/2023/04/01/testing-nuttx-again-on-olimex-lpc2378-stk-board/ and same issue, board does start

What board did you use?

https://en.wikipedia.org/wiki/NSLU2

I think arm_decodeirq needs to be updated. The return value is important. If nothing changes, you return the argument instead of NULL. I do not call irq_dispatch directly. That is done by arm_doirq.
Here is my arm_decodeirq:
uint32_t *arm_decodeirq(uint32_t *regs)
{
#ifdef CONFIG_SUPPRESS_INTERRUPTS
err("ERROR: Unexpected IRQ\n");
PANIC();
#else
unsigned int irq_enc = ic_getreg32(INTR_IRQ_ENC_ST_OFFSET) >> 2;
if (irq_enc != 0)
{
unsigned int irq = irq_enc - 1;
/* Verify that the resulting IRQ number is valid /
if (irq < NR_IRQS)
{
/ Deliver the IRQ */
regs = arm_doirq(irq, regs);
}
}
#endif
return regs;
}

Hi @ldube thank you very much!
That NSLU2 device is really nice. If you can, please submit the board support to mainline. I'll buy one from eBay.


Font antialiasing for TFT_eSPI

I just did a quick and dirty test, and implementing antialiased fonts seems feasible for at least Text Buttons and other elements where background color is known (?).
In gslc_DrvFontAdd() I added
  if (eFontRefType  == GSLC_FONTREF_FNAME){
    m_disp.loadFont((const char*)pvFontRef);
    return NULL;
  }

And was able to load the example antialiased font from the TFT_eSPI example from SPIFFS (which would be neat for images too, especially since TFT_eSPI supports jpeg). The lib also ignores the call to setTextFont(1) in the gslc_DrvDrawTxt* functions when we return NULL.
Then I hardcoded the background color in the two m_disp.setTextColor() calls, which also needs the BG color as second argument for blending against the background of the text.
It works and the output looks so beautiful, but it still needs some tinkering so the necessary BG color is chosen by the "parent" element's color, which might not be that obvious. Thrilling?

That is fantastic, @lukasfischer83 !
I hadn't previously looked at the anti-aliased font capability of TFT_eSPI, but it does look promising to add support for this into GUIslice. One implementation that I'm considering would be the following:

Alter gslc_DrvFontAdd() in a similar way as you have shown above
Add a colElemFill parameter to the end of gslc_DrvDrawTxt() and gslc_DrvDrawTxtAlign(). This way the user can specify the background color based on their knowledge of the parent element overlap. It won't work in all situations, but for the majority it probably will.
Add a new mask bit for gslc_teTxtFlags for GSLC_TXT_ANTI_NONE / GSLC_TXT_ANTI_EN, ie. GSLC_TXT_ANTI = (1<<6)
Create a new function gslc_ElemSetTextAntialias() to set this bit
Within gslc_DrvDrawTxt*(), the calls to setTextColor() would select between (colTxt) and (colTxt,colElemFill) on the basis of this antialias bit

Feel free to give this a try if you like, otherwise I'll test out the concept later in the weekend.

For reference, this feature request is currently being addressed in Lukas' PR #63

Anti-aliased fonts (smooth fonts) feature now completed in PR #75
Note that the implementation by @lukasfischer83 was more straightforward than the proposal above and didn't involve the addition of extra flag bits or element mutator functions.


I want to use perfrunner in a CI process and have not 0 exit code when conditions failed

Declined, let's try to keep it simple


iOS: Make it possible to allocate more than about 5 GB of memory

As described here, you need two entitlements in order to use more than 5 GB of memory on iOS and iPadOS.
com.apple.developer.kernel.increased-memory-limit already has been added to iOS.entitlements, but it's insufficient.
The results of my experiments in my app showed that com.apple.developer.kernel.increased-memory-limit certainly increased the return value of os_proc_available_memory, it was about 12 GB on the iPad Pro that has 16GB of memory, but the actual limit of memory that can be allocated was only about 5 GB. So I also added the com.apple.developer.kernel.extended-virtual-addressing entitlement, and now the app can allocate about 12 GB.
Therefore, you should add this entitlement in order to use more than 5 GB of memory.

It seems like the CI failed because the request to https://ftp.pcre.org/pub/pcre/pcre-8.37.tar.bz2 timed out. It's not related to this PR.

Should also be added in both places in https://github.com/utmapp/UTM/blob/master/scripts/package.sh for IPA and fake IPA

@osy Thank you. I fixed it.

I had some problems getting this to work.
I had to make one more modification to get this to work
https://github.com/utmapp/UTM/blob/master/Build.xcconfig
I had to change #include? "CodeSigning.xcconfig" on line 24 to #include "CodeSigning.xcconfig"
once I did that I no longer was restricted to only 5GB of RAM

As described here, you need two entitlements in order to use more than 5 GB of memory on iOS and iPadOS.
com.apple.developer.kernel.increased-memory-limit already has been added to iOS.entitlements, but it's insufficient.
The results of my experiments in my app showed that com.apple.developer.kernel.increased-memory-limit certainly increased the return value of os_proc_available_memory, it was about 12 GB on the iPad Pro that has 16GB of memory, but the actual limit of memory that can be allocated was only about 5 GB. So I also added the com.apple.developer.kernel.extended-virtual-addressing entitlement, and now the app can allocate about 12 GB.
Therefore, you should add this entitlement in order to use more than 5 GB of memory.

I have a developer account. What are all the steps i need to taken into account when i debug from xcode in iPad Pro M1 with 16gb. So that i can use more than 3072MB for a virtual machine.
Thanks

I was able to solve it by setting PAID_ACCOUNT = YES in .xcconfig.
Thanks for the awesome documentation by the team.


show tft price in the dashboard

can use https://www.coingecko.com/en/coins/threefold

moving back in progress

It gets hidden when the sidebar is expanded

It gets hidden when the sidebar is expanded

updated in https://github.com/threefoldtech/tfgrid-sdk-ts/pull/399

verified


#52: Fixed mount binding for parameters in format key=value

RCA:
Parameters in form key=value are treated by bash as one parameter.
Solution:
Need to manually remove the = character before checking for mount binding
directories.

Ok, found the reason, why the installer test didn't fail. We run the tests in the following script, but we check if the test fails. We need to collect the return codes from the call to the tests and fail, if any return code was not 0.
https://github.com/exasol/script-languages-container-tool/blob/bug/%2352_fix_mount_binding/installer/tests/run_tests.sh
Can you add this, please.


Fixed defaultProps.selectType.

Changed defaultProps.selectType from "check" to "checkbox".
While working with react-table for my first time (aiming to replace an overly-complicated table solution at work), I found that by default the selectTable HOC component gave me an input for the checkbox, which I found to be quite odd.
Here is a screenshot and a CodeSandbox demonstrating how I ran into this issue:
https://codesandbox.io/s/z3ylko96pp

I found that defaultProps.selectType (on the selectTable HOC) was set to "check", which is an invalid value to be passed to an <input> element in the type attribute. I changed it to "checkbox" in this PR.
Here is a screenshot using the correct "checkbox" value:

Let me know if "check" and the text-input behavior was intended. :+1:

This feature/issue has been tagged as one that will likely be fixed or improved in the next major release of React-Table. This release is expected to be completed in the next 6 - 8 months. Please see #1143 for more detail. If you believe this feature can be easily fixed, we invite you to fork the project, attempt the fix, and use it until the latest version is available. If the fix is simple enough, we will also consider it as a PR to the current version.

How did you fix this?

Honestly, I don't remember anything about this. 😅 3 months is a reallll long time.

@davidhenley If this is merged and published, then this bug will be fixed in the latest version.


[CI] Run macOS linters on every branch on macOS amd64 Gitlab runners

What does this PR do?
This PR adds the macOS linters on every branch on macOS amd64 Gitlab runners.

Motivation
Until now the linters were just running on main and on manual triggers. Now:

the job is stable enough to run it on all branches,
we have enough runners to run them on all branches.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

It's working fine, merging

/merge


Fullscreen app does not appear anymore as a yellow space

Fullscreened apps used to appear as a space with a yellow-ish background color. It is not the case anymore as of latest master.

I absolutely don’t know why I removed this functionality!
Sorry for that, it should be OK now. :)

Thank you, it works as expected now :)
Do not worry, mistakes happen and it was not super important! Thank you for your speed :D

Oops, another thing:
An app taking the whole space via yabai (alt-d and alt-f, with a default skhdrc) does not have a yellow icon as it did before. 😉

Fixed! I must have thought I was the only one using this. :)


Cannot scroll horizontally

Long records (e.g. DKIM TXT records aren't wrapped (or have their extraneous content hidden using text-overflow: ellipsis). The content grows too wide (wider than the viewport), and thus there is no way to get to the Save button. Horizontal scrolling is disabled. I can use the tab key to get to the next field and eventually the button, but then there is no sane way to get to the Apply button, because it is to far to the left...

The previous changes with comment feature broke it. Fixed in the above commit.


Dependency on Automapper 4.2.0 problematic

Several other IdentityServer3-related projects such as IdentityServer3.Admin.EntityFramework have dependencies on Automapper 4.2.1.  The problem is that if the higher version is used, code first seed methods for IdentityServer3.Core models fail.
When I downgrade the Automapper version to 4.2.0, the nuget package manager automatically downgrades IdentityServer3.Admin.EntityFramework from 1.0.0-beta7 to 1.0.0-beta6 which is incompatible with IdentityServer3.Admin 1.0.0-beta8.
I've tried using assembly binding redirects, but either IdentityServer3.EntityFramework dependency requires a specific version or migrate.exe doesn't honor the web.config binding redirects.  I'm not sure which.

Are you using IdentityServer as a NuGet or from source code?

I'm using all IdentityServer components as NuGet packages.  This is an excerpt from my packages.config (note the AutoMapper version):
<package id="AutoMapper" version="4.2.1" targetFramework="net452" />
<package id="EntityFramework" version="6.1.3" targetFramework="net452" />
<package id="IdentityManager" version="1.0.0-beta5-5" targetFramework="net452" />
<package id="IdentityManager.AspNetIdentity" version="1.0.0-beta5-1" targetFramework="net452" />
<package id="IdentityModel" version="1.11.0" targetFramework="net452" />
<package id="IdentityServer3" version="2.5.0" targetFramework="net452" />
<package id="IdentityServer3.Admin" version="1.0.0-beta8" targetFramework="net452" />
<package id="IdentityServer3.Admin.EntityFramework" version="1.0.0-beta7" targetFramework="net452" />
<package id="IdentityServer3.AspNetIdentity.dll" version="2.0.0" targetFramework="net452" />
<package id="IdentityServer3.EntityFramework" version="2.5.0" targetFramework="net452" />

As configured, the app runs without any dependency errors.  If I try to execute a migration such as the following, I get the AutoMapper version exception:
internal sealed class Configuration : DbMigrationsConfiguration<ClientConfigurationDbContext>
    {
        public Configuration()
        {
            AutomaticMigrationsEnabled = true;
            MigrationsDirectory = @"Migrations\ClientConfiguration";
        }

        protected override void Seed(ClientConfigurationDbContext context)
        {
            foreach (var client in Clients.Get)
            {
                context.Clients.AddOrUpdate(c => c.ClientId, client.ToEntity());
            }
            context.SaveChanges();
        }
    }

also at least as of 5.0 there is an interface that has been dropped that throws a runtime error
"The type initializer for 'IdentityServer3.EntityFramework.Entities.EntitiesMap' threw an exception.",
"System.TypeInitializationException",
Could not load type 'AutoMapper.IMapperConfiguration' from assembly 'AutoMapper, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=be96cd2c38ef1005'.

I think the open PR addresses this. I'll get to it ASAP

fixed on dev


refactor: moving all flow into a notebook

Everything from a notebook, and introducing the new experimental feature rb.listeners it's working like a charm

Thank you @frascuchon, this is awesome! The notebook code looks much nicer now and has already shrunk in size (which is great) so I could look at that in detail already.
I could just skim the rubrix side of the implementation but it looked great from what I have seen so far! Will play around with this a little more once I find some time.

Sorry, @chschroeder but I've created the PR to the wrong repo. I've closed the issue since we have already a forked repo. We're working on a small tutorial and we think it looks cool.
You can always follow the forked repo: https://github.com/recognai/active-learning-with-rubrix
Thanks for all your work and feedback!


gcp-night-king: Small fixes in values.yaml

What this PR does / why we need it:
Typo and other small fixes
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/assign @seanknox

There are a few more improvements I wanna make. Will close this PR and aggregate the fixes into a new one.


Lightstrip and HUE

Is it already possible to use a lightstrip and HUE at the same time.

Yes, the HUE api is universal for all lights you can connect to your bridge. Additionally, Hyperion will determine the device type from an identifier and the appropriate color space is set accordingly.

Thanks for the quick response. But how to configure it so that it works at the same time I can only give one device in the config. Now i have LEDstrip WS2801 but i want the HUE also.

A sorry, thought you mean the HUE lightstrips. Currently, multi device configuration is not possible but some users already asked for this feature.
@tvdzwan: is this feature planned to be implemented?

Oke is it then possible to run multiple session of hyperion on same device that both listen to the same port?

I have the HUE Lightstrips in Use and they are working good with hyperion.
But I have one question:
How can I disable my second HUE lamp? I have lightstrips and a LivingColor lamp and both of them are changing colors. When I only mention one LED in the config, it's always the first lamp (which is the LivingColor), that is reacting.

@kleusch
This is possible by adding a "lightIds" json array with ids to the device section. Given you want to respond your first and third light you would add
"lightIds":[1,3]

@webnar
Maybe possible, don't know if the framegrabber is allowed to run twice or interferes with the other instance. Have you tried it?

@ntim
Perfect, this is working! Thanks.
I have one last question:
How can I increase the brightnes and the colors of the HUE lightstrip. Only with the two hsv values? If I set the value from 1.000 to 10.000 its obviously a little bit brighter, but i could be more. Is 10k the maximum?

I use the "xy" lights API attribute (CIE color space) to set a color and the "bri" to set the brightness. "hue" is also for the color ranging from 0 to 65535. Since "xy" is somewhat the "native" color setting for the HUE system I stick to that. Further information on the color space can be found here:
http://www.developers.meethue.com/documentation/color-conversions-rgb-xy
The "brighness" of a RGB color also be calculated during this conversion: It is simply given by "Y" from the intermediate result in the XYZ color space and ranging from 0 to 255. Thus the brightness of the HUE light should somehow reflect the brightness of the image. In fact I also hardly see brighness settings above 200 (I guess only white, etc.). Maybe there is some space for improvements left.

Actually multi-device support would be awesome, have a Lightberry light strip and philips hue, would love to use both at the same time.

Yes, it would be awesome.
Does anybody know if it will be possible ?

I would also love to be able to use my leds and philips hue at the same time. Now i can't :(

Stick with the new Proto/json forwader and a new hyperion instance
I will close this


Secret "bootstrap-secret" in namespace "cattle-system" exists and cannot be imported seen when upgrading/re-installing Rancher when bootstrap-secret is not created by Helm

This issue closley relates to
https://github.com/rancher/rancher/issues/37003
https://github.com/rancher/rancher/issues/36061
Rancher version: 2.6.4-rc12
Installation option: Helm -> RKE1 v1.3.3
Proxy/Cert Details: letsencrypt
Kubernetes version: 1.22
Cluster Type: local, as Admin
Describe the bug
When performing backup/restore migration on Rancher 2.6.4-rc12 using Helm install command fails when using letsencrypt
Error: rendered manifests contain a resource that already exists. Unable to continue with install: Secret "bootstrap-secret" in namespace "cattle-system" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "rancher"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "cattle-system"

To Reproduce

Manually bring up  RKE 1.3.3 cluster and deploy HA Rancher 2.6.4-rc12 using LetsEncrypt

rke133 up --config cluster.yml

kubectl create namespace cattle-system

helm install rancher rancher-latest/rancher \
  --version=2.6.4-rc12 \
  --namespace cattle-system \
  --set hostname="" \
  --set ingress.tls.source=secret \
  --set letsEncrypt.email=""

  kubectl -n cattle-system create secret tls tls-rancher-ingress --cert=tls.crt --key=tls.key

Create resources
Install Rancher Backups
Take s3 Backup
Teardown cluster and delete nodes
Create a new RKE 1.3.3 cluster (ensure nodes are added to the same target group)
Create secret and migrationResource files, make sure too add the filename from s3 bucket
Intall rancher-backup charts into new cluster

helm install rancher-backup-crd rancher-charts/rancher-backup-crd -n cattle-resources-system --create-namespace --version 2.1.0

helm install rancher-backup rancher-charts/rancher-backup -n cattle-resources-system --version 2.1.0

Apply secret and migration files

kubectl apply -f secret.yaml
kubectl apply -f kubectl apply -f migrationResource.yaml

Install rancher

helm install rancher rancher-latest/rancher \
  --version=2.6.4-rc12 \
  --namespace cattle-system \
  --set hostname="" \
  --set ingress.tls.source=secret \
  --set letsEncrypt.email=""

Workaround:

Delete the secret first, then run the helm install again
kubectl delete secret -n cattle-system bootstrap-secret

Deploy rancher with cert-manager installation, use cert-manager installation for backup/restore migration

Root cause
See https://github.com/rancher/rancher/issues/37060#issuecomment-1081845919
The way bootstrap-secret was implemented has basically created a conflict between Helm install and Docker install (because they share the same secret) and between 2.6.3 and 2.6.4 also between Helm install and Helm install (upgrade). The history basically comes down to:

In 2.6.3, we changed the logic because of situations that the bootstrap-secret was not set (https://github.com/rancher/rancher/pull/35581)
Also in 2.6.3, the previous change caused the bootstrap-secret be deleted on upgrade because Helm did not render the template if the bootstrapPassword was explicitly set (https://github.com/rancher/rancher/pull/35743)
Because of this latest change, it now causes Helm to include the secret even if it wasn't created by Helm (When you don't set bootstrapPassword, rancher will create it on its own, this is where the use of the secret bootstrap-secret is conflicting)

What was fixed, or what changes have occurred
Define the secret as a chart hook, this solves multiple issues:

The situation where bootstrapPassword was not set and the secret was created by Rancher, with the secret being a hook, Helm won't complain that the secret was not created by Helm
This also solves the issue where a restore was done with the bootstrap-secret restored (even though this is now fixed, there is a backup-restore-operator fix (https://github.com/rancher/backup-restore-operator/pull/209) to no longer backup the bootstrap-secret
Added the secret removal to the post uninstall hook script so it will get deleted when running helm uninstall

Because of the hook, the secret will get deleted and recreated during Helm install/upgrade, but the contents should be the same.
Areas or cases that should be tested

Helm install
Helm upgrade (2.6.0-2.6.4)
Migrating Rancher between cluster using backup-restore-operator 2.1.1 and 2.1.2-rc1
Helm uninstall (bootstrap-secret in cattle-system namespace should be deleted)

What areas could experience regressions?
Anything related to a Helm install/upgrade/uninstall
Are the repro steps accurate/minimal?
Yes

Verified on v2.6.5-rc6
Helm fresh install

Created an rke1 cluster with the rke version 1.3.10
kubectl create namespace cattle-system
Install cert manager by following https://rancher.com/docs/rancher/v2.6/en/installation/install-rancher-on-k8s/#5-install-cert-manager

helm install rancher rancher-latest/rancher \
  --version=2.6.5-rc6 \
  --namespace cattle-system \
  --set hostname="" \
  --set ingress.tls.source=secret \
  --set letsEncrypt.email=""

Add TLS secrets
kubectl -n cattle-system create secret tls tls-rancher-ingress --cert=tls.crt --key=tls.key
Create a few workloads and ingresses
Install Rancher Backups v2.1.2-rc3
Take s3 Backup
Teardown cluster and delete nodes
Create a new RKE  cluster as the same steps mentioned above
Create secret and migrationResource files, make sure too add the filename from s3 bucket
Install rancher-backup charts into new cluster

helm install rancher-backup-crd rancher-charts/rancher-backup-crd -n cattle-resources-system --create-namespace --version 2.1.2-rc3
helm install rancher-backup rancher-charts/rancher-backup -n cattle-resources-system --version 2.1.2-rc3

Helm upgrade (2.6.0-2.6.4) - PASS
Migrating Rancher between cluster using backup-restore-operator 2.1.1 and 2.1.2-rc1 - PASS

Verified uninstall works:
helm uninstall rancher -n cattle-system

Same problem with stable Rancher v2.6.5.
It is easy to reproduce the issue:

Install Rancher with helm and no password specified. "bootstrap-secret" created
Uninstall Rancher with helm.  "bootstrap-secret" is gone
Install Rancher again -> no  "bootstrap-secret" is created :(

referencing this comment here as I needed help finding the fix to this that didn't involve completely removing and re-installing rancher.
https://github.com/rancher/rancher/issues/34686#issuecomment-1150065227
this will show how to reset the bootstrap password after deployment

I have a similarly strange issue.

Installed Rancher with helm chart value bootstrapPassword: value1
Updated the bootstrapPassword: value2
Restarted the server pods.
Can install into Rancher using value1 password but value2 does not work.


On x86, the main stack overflows when CONFIG_NET_IPV6 and CONFIG_DEBUG are enabled

Describe the bug
With IP v6 enabled, its initialization overflows the main stack in debug mode on qemu_x86.
To Reproduce

in samples/net/socket/tcp/prj.conf, add CONFIG_DEBUG=y
build samples/net/socket/tcp with -DBOARD=qemu_x86 -DOVERLAY_CONFIG=overlay-e1000.conf
execute to produce the stack overflow

Expected behavior
When IP v6 is enabled, the default stack size should be adjusted so that no overflow happens in debug mode.
Environment (please complete the following information):

OS: Ubuntu Linux
Zephyr SDK 0.11.3
Commit: 855b6c1a5ded091003d96a7b8d2b81662edbef70

The CONFIG_DEBUG is a kernel debugging option and not really related to IPv6 and networking. Please adjust the stack size manually in this case.

@wobak-j having to adjust stack sizes based on different Kconfig options is expected. Please increase the stack size as required.


How does wenet use neural network language models for error correction?

as the title.

WeNet does not support NN LM.


Add a ViewManager class to automatically update tiles when axis limits change

This is a very basic implementation that, combined with #68 , makes plots function a bit more like a proper map, with zooming chancing the resolution of the tiles.

Coverage decreased (-7.09%) to 83.86% when pulling 8cfff7ef65848e364645cf7ecb43105baf568263 on szmoore:feature/view-manager into d7db0ef2d13a242182fbd872c62aa75028f11d9a on darribas:master.

Coverage decreased (-7.09%) to 83.86% when pulling 8cfff7ef65848e364645cf7ecb43105baf568263 on szmoore:feature/view-manager into d7db0ef2d13a242182fbd872c62aa75028f11d9a on darribas:master.

I've been using this pretty successfully for visualizing spatial data.
However, one issue is with the aspect ratio of the plot.
It might be sensible to force the X and Y ranges to the same size regardless of the matplotlib zoom.

Closing this and other PR due to conflicts, I don't have time to revisit.


Split out commenting logic into different modules

This breaks out some of the commenting logic so it can be re-used by other modules or packages. Specifically:

add @lexical/mark that contains the MarkNode and all associated logic to it.

I think you need to add it to scripts/build-flow.sh and scripts/npm/packages.js as well.


Abstract field should be first 150 characters with option to expand

Abstract should include at least the first 150 characters (with option to expand to full description) of the Dataset Description.

Complete.


Make multi-object initialization less redundant

Right now, in order to efficiently run on one object at a time, we need run initialize_celeste twice -- once to get the tile_sources, and again to fit just the psfs that we're interested in.  This is unnecessary, and some minor tidying should be able to eliminate this redundancy.

Fixed in https://github.com/jeff-regier/Celeste.jl/pull/164


Optimize settings.gradle

The script inside settings.gradle dynamically searches for all *.gradle files to determine the list of gradle projects/modules. This script needs to be optimized as the initial filter of excluded files/directories searches in certain directories like src, build and out, which is resulting in a costly search.
It may be as simple as adding '**/build', '**/src', '**/out' in the excludes filter but there may be other options to consider for this optimization.
This change is very sensitive so we need to ensure any changes made do not break the build. Some sort of test needs to be performed to compare the current build with the new build containing the changes.
NOTE: This change should also be back-ported to all applicable and supported branches.

Thanks, @jgrandja! I've removed the milestone for the moment since M2 is currently scheduled for next week, and I'm not certain I'll get this to this ticket by then. Let me know if that causes an issue for you.


Implement Number protocol for PyNone

Implemented based on #3838

Please run cargo fmt --all 😊

Please run cargo fmt --all 😊

Okay. I'll run it.


Float32 typed array not supported in layout

It seems like the conversion to Float32 in #24 is not supported in at least part of the layout (e.g. axis range is ignored if provided as Float32Array)
Edit: It seems that things works if the range is provided as a Tuple (since this way the array is not sent as a TypedArray to JS)

#26 didn't fix the problem for all other parts of the layout, as seen in #29

It seems like any kind of typed array in the layout is not gonna work


[azquery] Resource not found.

Bug Report

azquery
latest
go version go1.18.7 linux/amd64

What happened? Trying to read LoadBalancer native platform metrics using the MetricsClient of azquery package. The code is running on AKS pod. The QueryResource method fails, and gives the error

GET https://management.azure.com/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx2/resourceGroups/xx/providers/Microsoft.Network/loadBalancers/xx/providers/Microsoft.Insights/metrics
--------------------------------------------------------------------------------
RESPONSE 404: 404 Not Found
ERROR CODE: NotFound
--------------------------------------------------------------------------------
{
  "code": "NotFound",
  "message": "Resource: /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx2/resourceGroups/xx/providers/Microsoft.Network/loadBalancers/xx is not found"
}

What did you expect or want to happen?  i expect the method to read the metrics from LoadBalancers and give the values, timestamp etc.
How can we reproduce it? Sharing the snippet to read load balancer metrics

func QuerySnatMetrics(ctx context.Context, logger logging.VerboseLogger) {
	resourceURI := "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx2/resourceGroups/xx/providers/Microsoft.Network/loadBalancers/xx"

	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		handleMainFuncError(logger, "Unable to fetch creds %v", err, exitCodeSnatMetrics)
	}

	client, err := azquery.NewMetricsClient(cred, nil)
	if err != nil {
		handleMainFuncError(logger, "Unable to create metrics client %v", err, exitCodeSnatMetrics)
	}

	res, err := client.QueryResource(ctx, resourceURI,
		&azquery.MetricsClientQueryResourceOptions{
			Timespan:        to.Ptr(azquery.TimeInterval("PT5M")),
			Interval:        to.Ptr("PT1M"),
			MetricNames:     nil,
			Aggregation:     to.SliceOfPtrs(azquery.AggregationTypeAverage),
			Top:             nil,
			OrderBy:         to.Ptr("Average desc"),
			Filter:          to.Ptr("BackendIPAddress eq '*'"),
			ResultType:      nil,
			MetricNamespace: to.Ptr("Microsoft.Network/loadBalancers"),
		})

	if err != nil {
		handleMainFuncError(logger, "Unable to read snat metrics due to %v", err, exitCodeSnatMetrics)
	}

	// Print out metric name and the time stamps of each metric data point
	for _, metric := range res.Value {
		fmt.Println(*metric.Name.Value)
		for _, timeSeriesElement := range metric.TimeSeries {
			for _, metricValue := range timeSeriesElement.Data {
				logger.Printf("Metric TimeStamp: ", metricValue.TimeStamp.String())
			}
			for _, metadataValue := range timeSeriesElement.MetadataValues {
				logger.Printf("Backend IP Address: ", *metadataValue.Value)
			}
		}
	}
}

Anything we should know about your environment. The code runs on a pod in Linux node of CBL Mariner image in AKS. It uses managed identity credential, the pod has environment variable of AZURE_CLIENT_ID set, and necessary access granted.

Getting the same error on using AzureCliCredential on local. Double checked the resource id too. It is correctly provided.

Hi @arorainms!
I tested your code out on my machine with a load balancer resource id and also received the same 404 error. I think the issue is that the service returned an unclear error message, and the real problem is with your filter.
I believe you need to specify the specific metric name before you specify the filter since different metrics have different valid filters. I added a metric name and was able to get a successful query response.
res, err := client.QueryResource(context.Background(), resourceURI,
		&azquery.MetricsClientQueryResourceOptions{
			Timespan:        to.Ptr(azquery.TimeInterval("PT5M")),
			Interval:        to.Ptr("PT1M"),
			MetricNames:     to.Ptr("DipAvailability"),
			Aggregation:     to.SliceOfPtrs(azquery.AggregationTypeAverage),
			Top:             nil,
			OrderBy:         to.Ptr("Average desc"),
			Filter:          to.Ptr("BackendIPAddress eq '*'"),
			ResultType:      nil,
			MetricNamespace: to.Ptr("Microsoft.Network/loadBalancers"),
		})

More reading on load balancer metrics:

https://learn.microsoft.com/azure/load-balancer/load-balancer-monitor-metrics-cli
https://learn.microsoft.com/azure/load-balancer/load-balancer-standard-diagnostics

Please let me know if this worked for you! Hope you have a great day!

@gracewilcox, thanks for your prompt response.
i sense a fix in documentation and example code.
As per it, the MetricName can be passed as nil.
Should the nil handling be done in azquery sdk to get the response for all the metrics?
Can the SDK be improved to emit a proper error message?
Please let me know, what do you think?

Hi @arorainms! Thank you for your feedback. Queries can fail for a variety of different reasons, so we won't be able to validate the query in the SDK itself. However, I do think our documentation can be improved so created an issue to track it.


Set up basic app skeleton

We'll need to create a basic skeleton to enable milestone 1 using the following stack:
Basics:

[x] Vite
[x] React
[x] MapLibre
[x] parquet-wasm
[x] ingestion of parquet data

Components:

[x] Header
[x] Footer
[ ] Navigation/zoom and view state in the URL).
[ ] Download Button

Screenshot showing the geoparquet-wasm successfully able to read geoparquet data from our buckets. Just need the download button and the URL in the title bar and this action will be complete!


How can make it run in other chrome extension

Hi,
It run very well in normal mode of chrome.
But i am using other extension of chrome https://chrome.google.com/webstore/detail/the-economist/gebjgjhbjedcomcajgpodjgfjgkepgpl?hl=en-GB, stylebox doesnot working.
I have check this extension, it always load the website app.economist.com and in this page, they have  default css which doesn't allow us to select text.
I mean how  can stylebox run in this extension?

I'm not sure if this is possible; the app spawns an entirely separate instance of Chrome.

+1 to what @rchkb said. I don't this think Chrome supports running extensions inside apps.


Migrations: The C# model code generator does not generate code for candidate keys.

Assigning to @smitpatel since he'll be working on #1484


./scripts/patch-arch.sh fails in Arch Linux

Required Info

Camera Model
SR305 / D415

Firmware Version
----------------

Operating System & Version
Arch Linux

Kernel Version (Linux Only)
5.7.10-arch1-1

Platform
PC

SDK Version
----------------

Language
python

Segment
other

Issue Description
Hello, I'm trying to install librealsense according to https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md in conjuction with https://github.com/IntelRealSense/librealsense/issues/4271.
When I run ./scripts/patch-arch.sh I get the following output:
Extract the kernel
RealSense patch...
patching file drivers/media/usb/uvc/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/uvc/Makefile.rej
patching file drivers/media/usb/uvc/uvc_driver.c
Hunk #1 succeeded at 214 with fuzz 2 (offset 66 lines).
patching file drivers/media/usb/uvc/uvcvideo.h
Hunk #1 succeeded at 129 with fuzz 2 (offset 10 lines).
patching file include/uapi/linux/videodev2.h
Hunk #1 FAILED at 621.
1 out of 1 hunk FAILED -- saving rejects to file include/uapi/linux/videodev2.h.rej
patching file drivers/media/usb/uvc/uvc_driver.c
Hunk #1 succeeded at 2983 (offset 77 lines).
patching file drivers/media/usb/uvc/uvcvideo.h
Hunk #1 succeeded at 222 (offset 26 lines).
Prepare the build
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
  YACC    scripts/kconfig/parser.tab.[ch]
  HOSTCC  scripts/kconfig/lexer.lex.o
  HOSTCC  scripts/kconfig/parser.tab.o
  HOSTCC  scripts/kconfig/preprocess.o
  HOSTCC  scripts/kconfig/symbol.o
  HOSTCC  scripts/kconfig/util.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.[ch]
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTCC  scripts/dtc/yamltree.o
  HOSTLD  scripts/dtc/dtc
  HOSTCXX -fPIC scripts/gcc-plugins/structleak_plugin.o
  HOSTLLD -shared scripts/gcc-plugins/structleak_plugin.so
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTCC  scripts/selinux/mdp/mdp
  HOSTCC  scripts/bin2c
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/recordmcount
  HOSTCC  scripts/sorttable
  HOSTCC  scripts/asn1_compiler
  HOSTCC  scripts/sign-file
  HOSTCC  scripts/extract-cert
scripts/kconfig/conf  --oldconfig Kconfig
#
# No change to .config
#
  SYSTBL  arch/x86/include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/include/generated/asm/unistd_32_ia32.h
  SYSHDR  arch/x86/include/generated/asm/unistd_64_x32.h
  SYSTBL  arch/x86/include/generated/asm/syscalls_64.h
  HYPERCALLS arch/x86/include/generated/asm/xen-hypercalls.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/include/generated/uapi/asm/unistd_x32.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  WRAP    arch/x86/include/generated/uapi/asm/bpf_perf_event.h
  WRAP    arch/x86/include/generated/uapi/asm/errno.h
  WRAP    arch/x86/include/generated/uapi/asm/fcntl.h
  WRAP    arch/x86/include/generated/uapi/asm/ioctl.h
  WRAP    arch/x86/include/generated/uapi/asm/ioctls.h
  WRAP    arch/x86/include/generated/uapi/asm/ipcbuf.h
  WRAP    arch/x86/include/generated/uapi/asm/param.h
  WRAP    arch/x86/include/generated/uapi/asm/poll.h
  WRAP    arch/x86/include/generated/uapi/asm/resource.h
  WRAP    arch/x86/include/generated/uapi/asm/socket.h
  WRAP    arch/x86/include/generated/uapi/asm/sockios.h
  WRAP    arch/x86/include/generated/uapi/asm/termbits.h
  WRAP    arch/x86/include/generated/uapi/asm/termios.h
  WRAP    arch/x86/include/generated/uapi/asm/types.h
  WRAP    arch/x86/include/generated/asm/early_ioremap.h
  WRAP    arch/x86/include/generated/asm/export.h
  WRAP    arch/x86/include/generated/asm/mcs_spinlock.h
  WRAP    arch/x86/include/generated/asm/dma-contiguous.h
  WRAP    arch/x86/include/generated/asm/mm-arch-hooks.h
  WRAP    arch/x86/include/generated/asm/mmiowb.h
  UPD     include/config/kernel.release
  UPD     include/generated/uapi/linux/version.h
  UPD     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  UPD     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      kernel/bounds.s
  UPD     include/generated/bounds.h
  UPD     include/generated/timeconst.h
  CC      arch/x86/kernel/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  HOSTCC   /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/fixdep.o
  HOSTLD   /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/fixdep-in.o
  LINK     /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/fixdep
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/exec-cmd.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/help.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/pager.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/parse-options.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/run-command.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/sigchain.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/subcmd-config.o
  LD       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/libsubcmd-in.o
  AR       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/libsubcmd.a
  MKDIR    /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/arch/x86/lib/
  GEN      /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/arch/x86/lib/inat-tables.c
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/arch/x86/decode.o
  LD       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/arch/x86/objtool-in.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/builtin-check.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/builtin-orc.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/check.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/orc_gen.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/orc_dump.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/elf.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/special.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/objtool.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/libstring.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/libctype.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/str_error_r.o
  CC       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/librbtree.o
  LD       /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/objtool-in.o
  LINK     /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/tools/objtool/objtool
Beginning compilation of uvc...
make: Entering directory '/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10'
  CC [M]  /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.o
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:240:11: error: ‘V4L2_PIX_FMT_RAW8’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_PAL8’?
  240 |   .fcc  = V4L2_PIX_FMT_RAW8,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_PAL8
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:245:11: error: ‘V4L2_PIX_FMT_RW16’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_Z16’?
  245 |   .fcc  = V4L2_PIX_FMT_RW16,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_Z16
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:250:11: error: ‘V4L2_PIX_FMT_INVZ’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_INZI’?
  250 |   .fcc  = V4L2_PIX_FMT_INVZ,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_INZI
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:260:11: error: ‘V4L2_PIX_FMT_INVR’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_INZI’?
  260 |   .fcc  = V4L2_PIX_FMT_INVR,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_INZI
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:265:11: error: ‘V4L2_PIX_FMT_INRI’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_INZI’?
  265 |   .fcc  = V4L2_PIX_FMT_INRI,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_INZI
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:270:11: error: ‘V4L2_PIX_FMT_INVI’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_INZI’?
  270 |   .fcc  = V4L2_PIX_FMT_INVI,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_INZI
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:275:11: error: ‘V4L2_PIX_FMT_RELI’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_INZI’?
  275 |   .fcc  = V4L2_PIX_FMT_RELI,
      |           ^~~~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_INZI
/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.c:280:11: error: ‘V4L2_PIX_FMT_Y8’ undeclared here (not in a function); did you mean ‘V4L2_PIX_FMT_Y8I’?
  280 |   .fcc  = V4L2_PIX_FMT_Y8,
      |           ^~~~~~~~~~~~~~~
      |           V4L2_PIX_FMT_Y8I
make[1]: *** [scripts/Makefile.build:267: /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc//uvc_driver.o] Error 1
make: *** [Makefile:1732: /home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc/] Error 2
make: Leaving directory '/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10'
cp: cannot stat '/home/lada/programs/librealsense/scripts/kernel/linux-5.7.10/drivers/media/usb/uvc/uvcvideo.ko': No such file or directory
Unloading existing uvcvideo driver...
modprobe: ERROR: could not insert 'uvcvideo': Unknown symbol in module, or unknown parameter (see dmesg)
Script has completed. Please consult the installation guide for further instruction.

It seems two patches failed to apply, therefore causing the compilation to fail.

Hi @LadaOndris    If the patching process causes you problems, there is a backend method of installing librealsense that does not require patching.  It is also not dependent on Linux versions or kernel versions.  It requires an internet connection but can bet very useful in situations where patching or kernel issues are causing a librealsense build failure.
Once you have downloaded librealsense source code as a zip file from the SDK Releases page and extracted the zip's contents, you can install librealsense using the backend method described in the link below:
https://github.com/IntelRealSense/librealsense/issues/6710

@MartyG-RealSense Thanks for the answer. I successfully built it. How do I use it now? I'm trying to use pyrealsense2 package in python, but it says No device connected (source https://pypi.org/project/pyrealsense2/). I suppose it doesn't work just like that. What do you suggest?

To use PyPi pip packages, you should have a computer with an x86 or x64 processor architecture (it will not work with devices with Arm processors).  Pip install also will not currently work with Python 3.8 as pyrealsense2 pip packages are only available up to Python 3.7 so far.
If you are using Python 3.8 then you can build the Pyrealsense2 wrapper from source code instead.
Alternatively, you can build librealsense using the backend method with the Python bindings included in the build.  You can do so by adding this flag to your CMake build statement.
-DBUILD_PYTHON_BINDING=bool:true
If you are building the bindings for Python 3 and you have both Python 2.7 and Python 3 installed on your computer, you may have to also add an additional flag called -DPYTHON_EXECUTABLE, otherwise pyrealsense2 may be built for Python 2.7 instead of 3.  Details about configuration of this are in the link below.
https://github.com/IntelRealSense/librealsense/issues/6449#issuecomment-658708484
Overall though, using Python 3.7 and pip install is likely to be the easiest install method.

@MartyG-RealSense It's not that I have a problem with installing the pyrealsense2. The problem is when I want to use it. It doesn't recognize any device and fails in pile.start() function.

I see that you list both SR305 and D415 as your cameras at the top of this case.  Is it the SR305 that you have the connection problem with, or both of them please?

Both of them. I can see in dmesg the following output regarding usb:
[ 1111.520078] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 1111.537877] usb 2-2: New USB device found, idVendor=8086, idProduct=0b48, bcdDevice=31.b3
[ 1111.537885] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1111.537890] usb 2-2: Product: Intel(R) RealSense(TM) Depth Camera SR305
[ 1111.537894] usb 2-2: Manufacturer: Intel(R) RealSense(TM) Depth Camera SR305
[ 1111.537898] usb 2-2: SerialNumber:<PHONE_NUMBER>20
[ 1134.294452] usb 2-2: USB disconnect, device number 2
[ 1192.463264] usb 1-2: new high-speed USB device number 7 using xhci_hcd
[ 1192.604553] usb 1-2: New USB device found, idVendor=8086, idProduct=0ad3, bcdDevice=50.b1
[ 1192.604561] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1192.604565] usb 1-2: Product: Intel(R) RealSense(TM) Depth Camera 415
[ 1192.604569] usb 1-2: Manufacturer: Intel(R) RealSense(TM) Depth Camera 415
[ 1290.059659] usb 1-2: USB disconnect, device number 7

Before the process of patching the kernel, I saw in dmesg a line similar to this
uvcvideo 2-6:1.0: Entity type for entity Intel(R) RealSense(TM) Depth Camera was not initialized!. But that is not the case anymore.

Building librealsense with the backend method means that patching is not required.  So patch-related errors tend to disappear.
May I confirm that you are using the term pipe.start() in your program, as you earlier mention using pile.start() (which would be the incorrect term).

Sorry, that was a typo. I use the exactly same code as in https://pypi.org/project/pyrealsense2/.

Is the camera detectable by pyrealsense2 if you do a complete shutdown of the computer (i.e not a reboot) and then reboot with the power button?

No luck. Still RuntimeError: No device connected.

It could be an udev rules problem specifically related to Arch Linux.  Please try the Linux command below to refresh the udev rules
udevadm control --reload-rules && udevadm trigger
According to Dorodnic the RealSense SDK Manager, using pip install does not update the udev rules.  This may affect camera detection if the rules are out of date.
https://github.com/IntelRealSense/librealsense/issues/4011#issuecomment-493708239

Unfortunately, it still gives the same error. But I really appreciate the help.

You are very welcome.  :)  Let's recap the details of the case.  Please let me know if I have anything incorrect.

You are using Arch Linux.
You installed librealsense using the backend method
You installed pyrealsense2 using pip install
The camera can be detected with Arch Linux using dmesg but is not recognised by pyrealsense2

When you chose a pip whl file to install pyrealsense2, did you choose a filename that matches the number of your Python version?  cp27 for Python 2.7,  cp35 for Python 3.5 cp36 for Python 3.6 and cp37 for Python 3.7.

The recap is totally correct.
To install pyrealsense2 using pip, I executed the command pip install pyrealsense2. I didn't use any whl file.

I downloaded and installed pyrealsense2-<IP_ADDRESS>8-cp37-cp37m-manylinux1_x86_64.whl, but the result stays the same.
I have Python 3.7.7.

Oh yes, I believe that the whl file is chosen automatically from the list available depending on which Python version you are using (which is why it doesn't work with Python 3.8, because of the lack of a compatible package for 3.8).  Apologies for that.

Aside from using the pip install method, did you have any luck with building the Python bindings alongside librealsense using CMake flags if you have tried that already?
https://github.com/IntelRealSense/librealsense/issues/6922#issuecomment-663891480

At the end of the installation using CMake, it outputs a warning:
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_PYTHON_BINDING

That is a very rare error.  Could you please use the command clean cmake cache and try the build command again?  I very much appreciate your patience.

I couldn't find a command as you said, so I simply deleted the whole folder, cloned the librealsense repo again and executed
cmake ../ -DFORCE_RSUSB_BACKEND=true -DCMAKE_BUILD_TYPE=release -DBUILD_EXAMPLES=true -DBUILD_GRAPHICAL_EXAMPLES=true -DBUILD_PYTHON_BINDING=bool:true
in a build folder.
Cmake outputs the same warning as before.
It is me who appreciates the help. :)

It looks as though it is my own typo this time.  It should have been binding"s".  Sincere apologies!
-DBUILD_PYTHON_BINDINGS=bool:true

Now it successfully completed without warning. What should be the result of the command? What bindings does it create? I suppose I still need to use pyrealsense2 in python, am I right?

It should have successfully built the pyrealsense2 wrapper.
I believe that from this point on, point 4 of the instructions for building pyrealsense2 from source should apply.  I have pasted them below for your reading convenience.

Update your PYTHONPATH environment variable to add the path to the pyrealsense library.
export PYTHONPATH=$PYTHONPATH:/usr/local/lib

So it finally works! :) To recapitulate what I just did to make it work for others in the future:
a) I followed the steps to build pyrealsense2 wrapper from source: https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python. I needed to call cmake with python bindings and then make -j4 which created pyrealsense2 library files (.so files) in build/wrappers/python.
b) Now, one has to make sure Python knows about these libraries. Because I use conda, there is, I believe, no reason to change PYTHONPATH, since conda does not use it. There are many ways to achieve this as described here https://stackoverflow.com/questions/37006114/anaconda-permanently-include-external-packages-like-in-pythonpath. I executed conda develop build/wrappers/python/ which created .pth file in anaconda3/envs/ibt/lib/python3.7/site-packages folder.
From now on, I can import pyrealsense2 as rs and it works just fine.
Thank you @MartyG-RealSense for all the help! :)

Awesome news - thanks so much for the update and your detailed advice for others.   :)


Installing local gems requires write permissions

When using a local gem,  the bundler installation process writes a .gem file to that directory, before moving it (to GEM_HOME?). This means that you cannot install a gem from a location that you do not have write access to.
Wouldn't it make more sense to write the .gem file directly to it's final location? I don't want other users on my system to have write access to the gem dir, but they should be able to use the gem.

@BCCRiskAdvisory I couldn't reproduce the issue in 1.10.6 following the steps you've described. If you still see the error in the latest versions, let us know and we'll reopen the issue. Thanks!


Fix monit config for etcd

After some network configuration changes localhost as added in #3857 (Issue #3852) is no longer valid.
Monit can handle hostnames, so changing it to kubernetes-master fixes the issue, as long at least until we're move to multiple master architecture, or move etcd out of master server.

After the change monit seems much happier:
Thu Feb 19 12:26:32 UTC 2015
gmarek@kubernetes-master:/var/log$ tail monit.log
[UTC Feb 19 12:04:55] info     : monit: generated unique Monit id 7c89f5a0efd533ae9a27b54e1408478d and stored to
'/var/lib/monit/id'
[UTC Feb 19 12:04:55] info     : Starting monit daemon
[UTC Feb 19 12:04:55] error    : State file '/var/lib/monit/state': Unable to read magic
[UTC Feb 19 12:04:55] info     : 'system_kubernetes-master.c.gmarek-kubernetes.internal' Monit started
[UTC Feb 19 12:04:56] info     : monit daemon with pid [5406] killed
[UTC Feb 19 12:04:56] info     : 'system_kubernetes-master.c.gmarek-kubernetes.internal' Monit stopped
[UTC Feb 19 12:04:56] info     : Starting monit daemon
[UTC Feb 19 12:04:56] info     : 'system_kubernetes-master.c.gmarek-kubernetes.internal' Monit started
gmarek@kubernetes-master:/var/log$ date
Thu Feb 19 12:26:39 UTC 2015

As David suspected - AFAICT PR #4587 fixes this problem, and thus it's possible that it'll help with other flakiness as well.

LGTM. Thanks for the debugging!


Can I put the Chinese translation of the original paper here?

Due to the huge influence of BERT, it has been reported by the Chinese media and academia. However, there is no complete Chinese translation of the paper, so I want to translate the paper and put the translation here so that more Chinese can read this paper that has brought great changes to NLP.

great

great
Welcome to adopt
https://github.com/yuanxiaosc/BERT_Paper_Chinese_Translation/blob/master/Bidirectional_Encoder_Representations_Transformers翻译.md


Use ::deep for isolated styles and refactor global styles in the BitPlatform project (#2733)

this closes #2733

I close it since some major changes happen in this PR that has lots of effects on it.


[Widgets] Refactor examples running

Refactor codes related to running widget examples
Overall, this refactor cleans some code & adds more usage of typing.

Replaces getDemoInputs with getWidgetExample function as proposed in #1021
Removes previewInputSample functions entirely by re-using applyInputSample function with new isPreview opts. (See more here)

change signature of
function applyInputSample(sample: WidgetExample)

to
function applyInputSample(sample: WidgetExample, opts: {isPreview?: boolean, inferenceOpts?: InferenceRunOpts; })

so that applyInputSample fully replaces previewInputSample when used with opts isPreview=true and applyInputSample with getWidgetExample replaces getDemoInputs and running example code in onMount. (in this example, I've used AudioClassificationWidget.svelte but the changes apply to all widgets).
Order of merge operations

Merge #1023 (this PR)
Then merge #1017
Then merge #1019

find an updates in this comment


Redirect to another route after successful submission?

What is the best way to handle redirecting to a new route (I'm using React Router, but any router should follow a similar pattern)?  I've been able to get it to work like this, but it feels wrong.
    componentWillReceiveProps(nextProps) {
        if (nextProps.submitSucceeded) {
            this.props.router.push('/dashboard/customer');
        }
    }

Maybe you could use the function onSubmitSuccess, that is called when the form is submitted successfully, and you get the data and the dispatch function, so you can redirect

@josenavarro-famoco thanks! The problem is that react-router's push method is not available in that function

I think you can import the push method form react-router in the form, and then use it in the dispatch

thank you


Searching Project taking too long

Searching shows no results... in Projects but it founds the correct result in Open File. After waiting a while is shows the results.
The thing is it doesn't show any loading/searching icon, and most importantly, it take too much time to find the result in a project containing only 4 markdown files.

Hi @morbidgames, 1b95611b3cc78fc007f12840c9e9bb1ccfda924a fixes the missing loading spinner when switching scope before a search is finished. It will be available in the next release.
Regarding the slow scan. Internally the package is using the same mechanism as find-and-replace (though with a more complex regular expression). Is that also slow in your project? How big are those 4 markdown files and are there more files in subdirectories that are not ignored?

Find and replace is super fast, and those markdown files are short (the bigest one has at last 80 lines).
Haven't checked the new update, if this is fixed in the update I'll close this thread.

Strange that find-and-replace is instant while todo-show is slow. Because they mostly use the same mechanism underneath.
Any way to send me the project to reproduce?

I see that this is closed, but I am experiencing the same issue.  What I see is that when I switch to project, the search path goes all of the way to the thousands, when I only have the one path and maybe a couple of folders.
I don't know if it makes a difference, but I am running this on an SD Card.  I get that it will be slow but still shouldn't see thousands of search paths when I only have one of two paths and couple of files.

Just want to mention that my issue is resolved. The search is super fast and only searches within the defined range (Project, Open Files, etc.)

@ramtinsoltani super.
@blacknred0 do you still see the same issue. Are you sure the project root is as you expected and there are no hidden directories (starting with .) in your project?

@mrodalgaard this release seems to be a lot faster.  I think I could live with the results since is being read out of an SD Card I would expect some latency.  ...and yes, there are hidden directories, but not that many of the small projects that I've been using.


Feature/p6 requirenments

Added transporEvent tests for OVS as well push endpoint test for transportCalls.

I believe this has been merged already (indrectly)


CI: Ruby 3.2.0 -> 3.2.1

Use Ruby 3.2.1 for CI tests against 3.2

blocked by https://github.com/ruby/setup-ruby/pull/462


Add logging-section to InfluxDB configmap and values

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md

/assign @jackzampolin

/assign @jackzampolin

Gets a 👍 from me!

/ok-to-test

/assign

@mattfarina @davidkarlsen @jackzampolin
What are the next steps here ... when the PR will get merged?

/lgtm


feat: remove group role(s) when no year role

use latest discord-selfrole version to automatically remove groups if missing year role

FYI https://github.com/hunteroi/discord-selfrole/releases/v3.0.0


Use bincode serialisation size limits

This provides some protection against malicious network data crashing crust. It also depends on https://github.com/TyOverby/bincode/pull/63 to really be effective.

This change is

r? @ustulation
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


UnRegister-ScheduledTask does not unregister properly

Steps to reproduce
1. Open PowerShell as Administrator
2. Create a Scheduled Job using `Register-ScheduledJob -Name Hello` with a specified name.
3. Try `Unregister-ScheduledJob -Name Hello`.

Expected behavior
Scheduled Job is unregistered successfully and the task cache is cleared as well. Furthermore, if I run again Register-ScheduledJob with the same name, it should work without issue.

Actual behavior
Unregister-ScheduledJob : A scheduled job definition with Name Patch Windows could not be found.
At line:1 char:1
+ Unregister-ScheduledJob -Name 'Hello'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (:) [Unregister-ScheduledJob], RuntimeException
    + FullyQualifiedErrorId : ScheduledJobDefinitionNotFoundByName,Microsoft.PowerShell.ScheduledJob.UnregisterScheduledJobCommand

Environment data

----                           -----
PSVersion                      5.1.14393.1198
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1198
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Mixed up permissions by mistake.


Create 113024-sprint-3-retrospective.md

Can we also add resolutions to the lacked points as we discussed in the meeting? We can just mention it in a line or two.


Implement feedback on jsdoc

What does this PR do?
It added more tests
Description of Task to be completed?
NA
How should this be manually tested?
NA
Any background context you want to provide?
NA
What are the relevant pivotal tracker stories?
NA
Screenshots (if appropriate)
NA
Questions:

Coverage remained the same at 89.97% when pulling d999a33c8a7b74f0d8c3d087fe23be9f18a8ff43 on implement-feedback-on-jsdoc into 024cffe5ff910670ac315dc915640d6d90a5130b on development.

Coverage remained the same at 89.97% when pulling d999a33c8a7b74f0d8c3d087fe23be9f18a8ff43 on implement-feedback-on-jsdoc into 024cffe5ff910670ac315dc915640d6d90a5130b on development.


Update cairo submodule to v2.2.0

closes #98

A reference to Cairo version is also in here: https://github.com/NethermindEth/starknet-remix-plugin/blob/cairo-v2.2.0/api/README.md


Problem about v4

Problem:

sometime it will roll with both slash and normal rolling

edit:
I guess this happen because it start both thread for normal roll and slash roll
Is it because my setting is like this? Should I just disable rolling and enable slash_rolling only?

	"rolling":"True",
	"slash_rolling":"True",

it wont finish last roll with slash command (and also not doing overroll)

This is a setting issue. Either turn off "slash rolling" or rolling or use both but with different channels

Known issue rolls until you have one left working on a fix


Add: Amazon Nova Pro

Name
Amazon Nova Pro
Description
Amazon Nova Pro is a highly capable multimodal model with the best combination of accuracy, speed, and cost for a wide range of tasks.  It is part of the Amazon Nova series of state-of-the-art foundation available exclusively on Amazon Bedrock.
Link
https://aws.amazon.com/ai/generative-ai/nova/
Type
Large Language Model
Usage
Text generation, language understanding, code generation
License
Proprietary
Key Capabilities

Video summarization
Q&A
Mathematical reasoning
Software development
Agentic workflows

Model Size
No response
Architecture
No response
Checklist

[X] Verified model is publicly available or documented
[X] Checked that the model isn't already in the database
[X] Provided accurate license information
[X] Included working documentation/reference link

Additional Notes
No response

Has been added now.


INS ros node publishes NaN.

I did a GPS test outside for a few minutes. When I came in to work with the logged data, I noticed that after a 121 seconds, the position, orientation, and linear twist all start publishing nan. Angular twist still publishes good values.
A bag file, with the ins data as well as ROSFlight data, is here.

I had the gps topic on at the time, and it continued to publish correctly.

@BillThePlatypus Is this still an issue for you? Let me know if you have more questions. If not, can I close this issue?

It is not currently an issue. It has been a while, so I can't remember details, but this may have been a firmware version issue.


diffrent color of fav icon

Describe the bug

the color of calculation in complex number  is blue/black
while rest are of red / white

Possible solution

Screenshots

Go ahead
Feel free to ask your doubts, if any
Deadline 23 March,2021 (11:59 PM IST)


[FLINK-12241][hive] Support Flink functions in catalog function APIs of HiveCatalog

What is the purpose of the change
This PR adds support for Flink functions in HiveCatalog.
Brief change log

added support for Flink function in HiveCatalog
reused common tests for function catalog APIs by moving them from GenericInMemoryCatalogTest to CatalogTestBase

Verifying this change
This change is already covered by existing tests, such as CatalogTestBase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

cc @xuefuz @lirui-apache @zjuwangg

Thanks @xuefuz , adopted your suggestions. Will merge when CI passes to unblock work of supporting Hive functions.


not working

not sure what i did wrong

@decoratedbug what version of node are you running?
do an npm version and post the output

Looks like the issue is with (very) old versions of Node. Adding requirement to package.json for versions above 4.0.0.
Update your node to be 4.0.0 or above and it should work.

Ref: http://node.green/#ES2015-functions-arrow-functions


Allow contract upgrade to overwrite named keys.

Currently, when calling add_contract_version the logic takes the newly supplied named key list, then appends the old named keys to it, as such the new ones are overwritten by the old ones. Flip this logic so named keys can be upgraded. We already discussed this topic with @EdHastingsCasperLabs
https://github.com/casper-network/casper-node/blob/dd260c86aad94ea3a9e958080558778e8aee9f40/execution_engine/src/core/runtime/mod.rs#L2571
Reporter: @deuszex
Approver: @EdHastingsCasperLabs

Technically, a "could do" with proper justifications. However, closing it as won't do.


Updates to alpha then beta when both alpha and beta are available

Given a situation where there is a 6.0.1-latest, 6.0.2-alpha, and 6.0.2-beta available for updating:

launched 6.0.0-latest, on alpha channel
update is available (6.0.2-alpha)
relaunch to update
version is now 6.0.2-alpha
update is available (6.0.2-beta)

The first update should be straight to 6.0.2-beta

same happened when on beta channel with 6.0.2-latest. Went to 2022xxxx-beta, then 2022xxx-latest


Bottom padding

According to the docs, there should be a 8dp padding at the bottom, which is absent now.

Well, 8dp with non-list dialogs. With list dialogs, a larger value is used:

Currently, the padding is not there for list dialogs.
Would you be adding it?
Thanks =)

It is on my end, the current implementation (MDRootLayout) was actually implemented by Nova Launcher's dev.
It's possible it's an issue with the API level you're testing on, but it works fine on 4.4.4, 5.0, and 5.1 (and lower API levels I tested with emulators before).

Im on 4.3, Samsung Note 2.
Small issue then.
Thanks for the lib, it's great.


Add nlihc_id using multiple addresses

We now have a one-to-many address table for projects. Linked data (TOPA notices, tax assessment, etc.) now need to have nlihc_id added to their records using all available mar ids instead of just the one on the project table.

@ptatian In the Rcasd files you've shared, which contain the TOPA notices, you've already done some geocoding of the records. Can you help clarify what an individual record is in this data set and how best to link this to the projects in our database?
Digging into a few examples, it looks like there is one row for each unique combination of address+notice. If one notice has multiple addresses, the Nidc_rcasd_id will be duplicated for each address. If one address has multiple notices, there will be a separate record for each Nidc_rcasd_id.  I'm assuming you've taken the original source data, which had one notice per row, and split each of those rows into multiple rows if multiple addresses were included. Finally, if the address range was written differently in two different TOPA notices the resulting multiple rows could be different.
Is that all accurate? Is there anything I missed?
The case of "2301 Good Hope Court SE" in the address column appears to bear this out - it shows up in two TOPA notices (2017-00012 and 2017-00155); In the first topa notice the Orig_address is 2301-2323 Good Hope Court SE, resulting in 12 unique addresses,  and the second is 2301-2327 Good Hope Court SE resulting in 14 unique addresses.

Yes, you are correct in all your assumptions. There is one unique record for each combination of address and notice. We parse out the address ranges into individual addresses. We don't make any real attempt to clean the address ranges -- we take them "as is."


Feature/ngx charts

Description
NGX Charts Research repo
What's included?

Integration with ngx-charts latest version
Bar Chart for Listener's Records Size Data for an hour
Listener's volume api's data has been used

What's coming next:

Line Chart for Router Latency
Area Chart for Records

Test Steps

[ ] rm -rf node_modules dist deploy tmp
[ ] npm i
[ ] ng serve

Area Chart added
Line Chart added

Made a lot of updates:

LGTM!!!


Fix the KML to GeoJSON conversion not setting up the correct feature styles in Leaflet for LineStrings

The problem is that for LineString geometry type the stroke property contains a hex color, whereas Leaflet expects it to be a color and stroke to be a boolean value. Please correct me if I'm wrong.

is it fixed ?


Updated to support Ansible Tower 3.1.3

Added new image to DockerHub = lardos/ansibletower

I just did this same thing on Monday.
Just tried your image, and it won't work since you are still executing the apache thing on the docker-entrypoint.sh file.

Also, after commenting the line I pointed out, I've got this error message:
TASK [Gathering Facts] *********************************************************
fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "[Errno None] Unable to connect to port 22 on <IP_ADDRESS> or ::1", "unreachable": true}
	to retry, use: --limit @/opt/tower-setup/install.retry```

The docker-entrypoint.sh file worked without modification for my build, check out the lardos/ansibletower image on DockerHub.
The localhost unreachable error from the tower install playbook is fixed by line 2 in the inventory file in the pull request. Did you use that modified inventory file for your docker build?

I will try it again copying the inventory file since I think I messed up copying it from my own repo.
On the docker-entrypoint.sh, having an Apache config replacement doesn't make any sense since Ansible v3.1 doesn't use Apache anymore, it replaced it with nginx

Ok thanks for the info, those lines are redundant then, but they don't make the build fail so I never paid much attention to the entry point shell script. maybe worth commenting them out just for completeness.

@nicoecheza Updated the docker-entrypoint.sh based on your comments.
Removed tower_setup_conf.yml as duplicate to definitions in inventory file.
Changed version to 3.1.3 and cleaned up unnecessary packages from Dockerfile, rationalized, and updated README.
New Ansible Tower 3.1.3 image available at https://hub.docker.com/r/lardos/ansible-tower/

Nice work @amittell  👍


PRD: Update Settings and Support links

Description:

As a user, I want to access the VS Code for Cody "Support forum": https://community.sourcegraph.com/c/cody/vs-code/6
I also want the Discord link to have the Discord logo.

Objectives:

Promote the new community support forum since we shut down our Discord support forum
Have users easily recognize that we have a Discord

Acceptance Criteria:

"Support" is renamed to "Support forum" and links to https://community.sourcegraph.com/c/cody/vs-code/6 not https://help.sourcegraph.com/hc/en-us/requests/new
The Discord icon should be replaced with the Discord logomark

Design Tasks:
### Design Tasks

Engineering Tasks:
### Engineering Tasks

Related Docs:

PRD: Your-Title

@jdorfman is support forum going to replace the Cody Pro support form? Currently if a cody pro needs help, they submit a form to the TS team

Oh my bad. Didn’t realize that. Can we just add support forum to Cody free users?

I think Cody Pro users will benefit from the community support forum was well.
how about we just add Community Forum as another row item?

I think that’s an excellent idea


package.json add to github action

What is the purpose of this pull request?

[x] Documentation update
[x] Bug fix
[x] New feature
[x] Other, please explain:

What changes did you make? (provide an overview)
Which issue (if any) does this pull request address?
Is there anything you'd like reviewers to know?

@portintegration This pull request doesn't make sense.  Please open a new one when you're ready.