raftstore: support to output old value to CmdObserver

Signed-off-by: 5kbpers<EMAIL_ADDRESS>
What problem does this PR solve?
Problem Summary:
Old Value is the previously written value before a delete/update operation.
To support the new collation format and compatible with TiDB Binlog, TiCDC requires TiKV to output the old value for it.
What is changed and how it works?
Separate from #8071
What's Changed:

Add a new method RaftstoreRouter::send_command_txn_extra
Add a cache for TxnExtra in ApplyContext
Send TxnExtra through CmdObserver

Related changes

Should be cherry-picked to release 4.0 after all related PRs got merged.

Check List
Tests

Unit test
Integration test

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Release note

N/A

/run-all-tests

PTAL @BusyJay @Little-Wallace @gengliqi @overvenus

/merge

/merge

/merge

/merge

/merge

/merge

/merge


[PowerToys Run] Gray backround color After lastest Update v0.82.0

Microsoft PowerToys version
0.82.0
Installation method
GitHub, PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
Open Power Toys Run after update to latest version 0.82.0 with the updater
✔ Expected Behavior
Should have an Acrylic effect
❌ Actual Behavior
Weird Grey color
Other Software
No response

/dup #33622


Inferno: burning applies to more than the targetted enemy

Version
Slay the spire: BETA
Mod version: v0.58.0
Describe the bug
Inferno applied burn to all enemies instead of just target enemy in following clip:
https://clips.twitch.tv/FlirtyInquisitivePlumberBIRB

I'm not seeing the issue. He remembered Lust which applies 2 burning to all enemies.

Oops, you're right; when I watched the clip the first time I saw the block number as the burning number.


Could someone help me with this CORS issue?

Could this issue be resolved with different configuration flag or is this an actual bug or unsupported?
Running http-server with the following:
npx http-server -p 3001 --cors
npx: installed 29 in 3.722s
Starting up http-server, serving ./

http-server settings:
CORS: true
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none

Available on:
  http://<IP_ADDRESS>:3001
  http://<IP_ADDRESS>:3001
  http://<IP_ADDRESS>:3001

When fetching the json files, the preflight check is failing.
[Tue Aug 24 2021 12:36:22 GMT-0400 (Eastern Daylight Time)]  "OPTIONS /monitoring/mon_ui/assets/switch_monitoring_service_meta_data.json?_=1629823501368" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"
[Tue Aug 24 2021 12:36:22 GMT-0400 (Eastern Daylight Time)]  "OPTIONS /monitoring/mon_ui/assets/switch_overview.json?_=1629823501368" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"

Errors in browser:

Access to XMLHttpRequest at 'https://blah.cloudfront.net/monitoring/mon_ui/assets/switch_monitoring_service_meta_data.json?_=1629823501368' from origin 'https://app.blah.com' has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.

Access to XMLHttpRequest at 'https://blah.cloudfront.net/monitoring/mon_ui/assets/switch_overview.json?_=1629823501368' from origin 'https://app.blah.com' has been blocked by CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.

This may be a duplicate of #684, because it appears that the --cors option isn't properly accepting custom headers. Does that other issue look like it covers what you're seeing?

If #684 proves to be a bug, then we could close this one. Is just that I'm not sure whether my issue could be workaround with special config. I was expecting setting --cors would magically work for all CORS related issues.

I shouldn't have been quite so quick to reply, I misread the original issue. The --cors option isn't as intuitive as it could be. Does your use case work with --cors=authorization?

@thornjad authorization resolved the error!!!! Thank you.
PS: Wouldn't it be better when user specify --cors the server should just, by default, make EVERYTHING CORS related to just work? :)

I can see the argument both ways, because allowing everything would make development easier, but is inherently less safe. The way it was built predates my involvement in the project, so I'm not entirely sure on the reasoning for the default allowed headers.


Fixed error in README

The TLDR section of the README file incorrectly specified tryjson.stringify as being able to crash a program

@ackinc Thanks! Merged.


DockerComposeContainer doesn't report underlying issue on start failure.

This isn't necessarily a bug but it seems like its a gap in the start up error reporting.
When starting up a test containers, it's failing with the following "Caused by" stacktrace:
Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:329)
... 150 more
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:525)
at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:331)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 151 more
Caused by: java.lang.IllegalStateException: Container did not start correctly.
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:463)
... 153 more
None of this is particularly informative.
When directly starting up docker with the same docker-compose.yml, this was reported:
docker-compose -f docker-compose.yml up -d
[+] Running 0/0
 ⠿ Network appevents-provisioner_default  Error                                0.0s
failed to create network appevents-provisioner_default: Error response from daemon: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network

Another member on our team directed me to docker network ls:
docker network ls
NETWORK ID     NAME                   DRIVER    SCOPE
1092d4876829   1eylvttsssuk_default   bridge    local
aa08e32c77c6   4fq4vqxbmq2e_default   bridge    local
b9cc9d2c02ea   4gtpimii42dc_default   bridge    local
6f9835452949   bbfhuyndyhge_default   bridge    local
1ae2f01181dd   bridge                 bridge    local
87d9755d65db   ckg9bdaghx2m_default   bridge    local
54bf8b4e66b4   drdafrr8vcuw_default   bridge    local
633a08e00dc8   egj2dr2nhju9_default   bridge    local
42706dd28d31   ghy6amkgx1qr_default   bridge    local
60e415e7890a   gjlmzqcqbyx1_default   bridge    local
8b788e8024a7   h7limppelzbm_default   bridge    local
f8143f373104   hg92szytffyx_default   bridge    local
a2cdb1b4f724   host                   host      local
ada646935572   ictsr19kolym_default   bridge    local
dd94b53a031a   isfskvbc5ixn_default   bridge    local
6cbc5196ca00   izx7kabwwwja_default   bridge    local
4c0fcf45402d   jmushtb7tbix_default   bridge    local
08749d2a7159   k4dugcecebye_default   bridge    local
180ac01fdc35   ks1bev5sildx_default   bridge    local
6ea09990ab86   local_default          bridge    local
9bfb392c156a   mnsecpxyfd9n_default   bridge    local
33f5e7d4a820   ndfqhau1lo1r_default   bridge    local
22ea5a41c9e7   none                   null      local
7c5106cbd5cb   owsqlsjrqmyp_default   bridge    local
d9abe014132f   puij6flbbupl_default   bridge    local
64251795e5ad   r8fq5rm7ny7i_default   bridge    local
b6cc47999a56   rd6mz2aw21vw_default   bridge    local
863c97bd163c   v8cetmwucp3c_default   bridge    local
da195e1d5c01   wdzbew1jmgb6_default   bridge    local
350928c753a5   wzeekb96naqr_default   bridge    local
7934aacf3e73   yjqlo6ve261q_default   bridge    local
dde63911c6ce   zg8uxue47oeh_default   bridge    local

So I googled and discovered "docker network prune -f"
It would have been helpful if the testcontainers start failure had explicitly said what the underlying problem was rather than just "Container did not start correctly."
Thanks,
-Jonathan

Plus one on this

I have the same problem, is there any way to solve it?

Thank you @wong-git, you are right that this would a usability improvement.
In general, since using Docker Compose means Docker Compose will take some responsibilities, those kind of issues might happen and in general we recommend using Testcontainers directly instead of through Docker Compose, to give Testcontainers more control over the environment.
@FlyingZC What is your problem? This issue is not about any problem with DockerComposeContainer, but about the lack of communicating underlying issues during startup (which are likely Docker or Compose related).

I can only circumvent this problem by starting the docker process a few times less per test process.

For me, it would be useful to be able to diagnose exactly why compose was unable to start, e.g.

inspect container states to see which ones have failed
dump logs for failing containers

We have a docker-compose setup for development which we reuse for running integration tests. Using testcontainers exclusively would mean that we'd have to duplicate the docker-compose setup in Java code, which is non-trivial.

Can't use Docker Compose V2

We are trying to figure out why docker compose container fails to start in our CI environment, but works locally. If I could see the logs of the docker compose container on stdout, it would be a big help.
In other words, output from all containers can be relevant for troubleshooting, not just the ones that we define ourselves.


AttributeError: module 'prose.codeaccelerator' has no attribute 'ReadCsvBuilder'

[Enter feedback here]

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

ID: b0e95d40-ff71-2eec-3782-46f453e34d83
Version Independent ID: c580c115-5165-6bfc-df3b-b7e53dff6f0c
Content: Read a CSV file with the Microsoft PROSE Code Accelerator SDK - Python
Content Source: prosepy/docs-ref-conceptual/readcsv.md
Service: non-product-specific
GitHub Login: @simmdan
Microsoft Alias: dsimmons

These docs are for version 1.7.0 of the package, and in that version there definitely is a ReadCsvBuilder.  I do not recommend using later versions of the package.


Support dynamic updates to existing derived columns in table

Currently Pinot doesn't support runtime changes to existing derived columns (for e.g change to ingestion transform expression) in table. Only way to make such updates is to either delete/recreate the table and ingest from scratch or add a new derived column with the changes, neither of which are ideal from usability perspective.
Can we consider improving this behavior so users can easily make adjustments to the data via table config/schema change and subsequently doing a segment reload ? cc @Jackie-Jiang @mayankshriv

Great feature request!
In order to do so, we should persist the transform function used to generated the column in the segment metadata, then check if the transform function in the table config and segment metadata matches during the segment load. If the transform function does not match, and the source column exist in the segment, we can remove and re-generated the derived column.
There is one special case for this: If we have chained transform function (transform function on a derived column), and the source derived column transform function changes, we need to re-generate the source derived column, and all the derived column using it as the source.

Related issue: #8726

Same feature: #8699


IntelliCode extension doesn't use Proxy defined environment variables as default.

A user reported that Visual Studio IntelliCode extension is not using the default Environment Variables for proxy and it requires that the user specifies the Proxy endpoint using VsCode, instead of just using Environment Variables.
After some investigation I noticed that one of the libraries we use for VsCode hasn't been updated in a while, so I think that should be a start.
We need to find a way to reproduce the issue, and once we do that, we'll se if updating the library will fix it.
Steps to Reproduce:

Use Environment Variables to Setup a Proxy url.
Try and Use VSCode IntelliCode (for instance, try and download a new model by selecting a .ts or .py file).
Result: Environment Variable is not used for Proxy authentication, instead it's expecting the user to setup the setting manually on Vs Code settings.
Expected Result: VS Code is supposed to support the Environment Variable (the setting even says so) out of the box, so something must be missing.

Intellicode is not activated when editing settings.json of Windows Terminal also.
Usually, Intellicode use $schema variable to help typing settings and valid values of settings.
Behind a corporate proxy (the URL is whitelisted since accessible from a browser) the Intellicode is unable to help.
N.B.: attached my proxy comfiguration in vscode settings, maybe I made a mistake

@osobeso looks like we updated the libraries so that we support environment variables now.
Does that mean that this is fixed?


VMs without uuid are not listing in the list virtual machines api call when ids parameter used.

ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

4.17

SUMMARY

Some of our old VMs data were missing in our dashboards. After digging that a little bit further we noticed a strange behaviour in the CloudStack 4.17. We have old VMs in our data center which don't have an UUID. Their uuid's field in DB is a long value. For simplicity I will call this vm NO-UUID from now on.
When I call list virtualmachines with id of NO-UUID it returns the correct VM. But when I pass NO-UUID's id in the ids it returns nothing. Check the following cmk outputs for more info.
The issue exists with the remaining listing as well.
EXPECTED RESULTS

list virtualmachines returns the same results when it called with id or ids.
(local)  > list virtualmachines ids=11289 listall=true filter=id
{
  "count": 1,
  "virtualmachine": [
    {
      "id": "11289"
    }
  ]
}
(local)  > list virtualmachines id=11289 listall=true filter=id
{
  "count": 1,
  "virtualmachine": [
    {
      "id": "11289"
    }
  ]
}
(local)  >

ACTUAL RESULTS

list virtualmachines returns nothing with ids but it returns the vm with id.

(local)  > list virtualmachines ids=11289 listall=true filter=id
(local)  > list virtualmachines id=11289 listall=true filter=id
{
  "count": 1,
  "virtualmachine": [
    {
      "id": "11289"
    }
  ]
}
(local)  >

@soreana
ids support only uuid.
it is not a good idea to use long value id. You'd better use uuid instead of id.

@weizhouapache Unfortunately they don't have an uuid. See the following db output.
mysql> select id,uuid from user_vm_view where id = 11289 limit 1;
+-------+-------+
| id    | uuid  |
+-------+-------+
| 11289 | 11289 |
+-------+-------+
1 row in set (0.01 sec)

@soreana
hmm, it looks the vm was created more than 10 years ago (before cloudstack 4.1.0).
engine/schema/src/main/resources/META-INF/db/schema-40to410.sql:UPDATE cloud.vm_instance set uuid=id WHERE uuid is NULL;
I think it is ok to regenerate uuid.

@weizhouapache Thanks a lot.
I will update the uuid. I will close the ticket after confirming the expected behaviour.

@weizhouapache
We followed the following procedure, which solved our issue.

Create a database backup
Get the VMs data in a (id, uuid, account_id, display_name) format
1.1 generate a file containing all the failed VMs.
select id,uuid,account_id, display_name from vm_instance where id = uuid and removed is null INTO OUTFILE '/tmp/incorrect_uuid.csv' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' ;
Generate a uuid for each row in a (id, old_uuid, new_uuid, account_id, display_name) format
2.1 Check if the uuid is unique
2.2 If not unique generate a new one
Generate a sql file to update  CloudStack DB and other application that were dependent on the UUID of the VM.

@soreana
good you have solved the issue.
actually it can be done by a simple sql
UPDATE vm_instance SET uuid=UUID() WHERE uuid=CAST(id AS CHAR);
you can trust that uuid is unique.

@weizhouapache
That is cool, I didn't know that, thanks 👍


Setting up development workflow with Kokkos

Add a small Kokkos example just to compile it in examples directory.
No Shaman types yet.

Might be interesting for #1


Strict import with prefix removes all feature flags

We have multiple applications managing their own key values in a shared App Configuration instance. This is easy to do with the following command that only creates and deletes key values with specific prefix:
az appconfig kv import -n $AppConfigurationName --source file --path appsettings.json --format json --yes --prefix "MyApp:" --strict $true
Unfortunately, I just found out that this will delete all feature flags regardless of prefix. I tried to use --skip-features but I get the following error:
az : ERROR: The option '--skip-features' cannot be used with the '--strict' option.
Is there a way to make import process to ignore feature flags entirely while still maintaining functionality that --strict in combination with --prefix provides?
P.S. I do not want to import feature flags in the same way as key values due to the fact that an import resets the flag to its original setting. For us, deployment should never change flag status, otherwise it beats the purpose of a flag.

You presumably can leverage "Label" property, set the label of the key values to a specific value which is different from the feature flag's label, then you can import the key values only without affecting feature by running:
az appconfig kv import -n $AppConfigurationName --source file --path appsettings.json --label <label of key values> --format json --yes --prefix "MyApp:" --strict $true

That's a brilliant suggestion and it worked perfectly. Thank you.


Make alphabet sorting in file code members menu by right mouse click

Do you know about the "breadcrumbs.symbolSortOrder": "name" setting?
Are you asking to be able to change this setting directly from the breadcrumb?

I ask to be able to show ordering as is by left mouse click, and show in
alphabet order by right mouse click
ср, 27 мар. 2024 г., 21:03 John Murray @.***>:

Do you know about the "breadcrumbs.symbolSortOrder": "name" setting?
Are you asking to be able to change this setting directly from the
breadcrumb?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/208906#issuecomment-2023447480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBDQ3PE7EVMIEQYETIGLBWDY2L3URAVCNFSM6AAAAABFK5RIMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRTGQ2DONBYGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Not needing. I'm just enable alphabet sorting in Outline widget.
Thank you!

Not needing. I'm just enable alphabet sorting in Outline widget.
Thank you!


docs(): add additional Dart gotchas

This commit adds Dart gotchas for object destructuring, type aliases,
and tagged template literals, none of which are compilable by dart.

one nit, LGTM.


21.01 Release

Preparing PR in anticipation for 21.01 release.
Requires Leo adding:
--set galaxy.postgresql.master.nodeSelector."cloud\.google\.com\/gke-nodepool"="$USERPOOL"

removing completely
--set galaxy.cvmfs.main.pvc.storageClassName=
--set cvmfs.repositories.cvmfs-gxy-main-$release=\"main.galaxyproject.org\"\

and then renaming
--set galaxy.cvmfs.data.pvc.storageClassName= --> --set galaxy.cvmfs.galaxyPersistentVolumeClaims.data.storageClassName=

Tested in Leo, this seems to work! PR: https://github.com/DataBiosphere/leonardo/pull/2097
I'll hold off on merging the Leo PR until the final gkm chart is deployed (right now it's pointing at the almahmoud/helm-charts fork).


Adding simple E2E test

This adds a simple E2E test which runs tonic-validate with a AnswerMatch metric on a single question.  It can be used to ensure that poetry dependencies are correct, the version of python works with our code, etc.
Additionally, I've updated our min python version to 3.10.13 and added myself as an author on the project for PyPi.

We fixed the python 3.8 and 3.9 issue so I reverted the changes for making Tonic Validate 3.10 only


geospatial feature use geojson instead of OL Feature

Remove openlayers in sc.geometry.js. Now accepts a geojson object instead of OL.Feature object.
Also cleaned up webpack to add react-native as an external.

👍


Suggestions about passwords

@cpgilliard I tried the wallet, but already see some issues at the password screen, where it is requiring an upper case letter, and complaining about low entropy for diceware type passwords generated using a password manager.
Short summary: https://xkcd.com/936/
Current best practices: https://pages.nist.gov/800-63-3/sp800-63b.html
Sophos summary of the NIST guidelines: https://nakedsecurity.sophos.com/2016/08/18/nists-new-password-rules-what-you-need-to-know/

Thank you for the links. We will check them and probably adopt what is relevant to our case.

Current changes are follow  https://nakedsecurity.sophos.com/2016/08/18/nists-new-password-rules-what-you-need-to-know/


HTMLTestRunner - Need Help to Integrate multiple Test cases which has multiple arguments

HtmlTestRunner version:  "1.0.2"
Python version: 3.0
Operating System: Windows 7

Team,
I have a complex python Web Automation framework, which replicates
exactly like the below structure. I am struggling to get a Report using
HTMLTestRunner. Without a Report the automation framework won’t be
complete. Could you please help me to implement a HTML Report for the below
framework.
Your help is much much appreciated.
I have posted this question in forum as well.: https://stackoverflow.com/questions/45035896/htmltestrunner-need-help-to-integrate-multiple-test-cases-which-has-multiple-a
Please guide me to generate a HTML Report for my Test Suite.
Thank you.
Shan
Here is the Code
Vehicle.py
Class Vehicle(unittest.TestCase)
    def __init__(self):
        testData = readExcel("testdata.xlsx")
    def execute_core()
        driver = webdriver.chrome()
        driver.get(URL)
        testSuite =unittest.TestSuite()
        runner1 = HTMLRunner.HTMLTestRunner()
        for i, row in testData.iterrows():
            testName = row['TestName']
            Action = row['Action']
            modName = row['Module']
            email = row['Email']
            testSuite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(Car.test_execute(driver, modName, Action, email))
    runner1.run(testSuite)
    unittest.TextTestRunner().run(testSuite)

Car.py
Class Car(unittest.TestCase):
    def test_execute(driver, modName, Action, email)
        if modName == "Blue":
            BlueCar.test_execute(driver, email)
        elif modName == "Red":
            RedCar.test_execute(driver, Action, modName)
        elif modName = "Yellow":
            YellowCar.test_execute(driver,modName)

BlueCar.py
Class BlueCar(unittest.TestCase):
    def test_execute(driver, email):
        print("This is Blue Car Test Case with Parameters/Arguments")

RedCar.py
Class RedCar(unittest.TestCase):
    def test_execute(driver, Action, modName):
        print("This is Red Car Test Case with Parameters/Arguments")

YellowCar.py
Class YellowCar(unittest.TestCase):
    def test_execute(driver, modName):
        print("This is YellowCar Test Case with Parameters/Arguments")

Hi Shan,
In order to help you i will need you to provide a better example "provided one have certain bugs" or
please try to explain what you're trying to do. I may also ask why are you trying to run tests inside a test inside a test? i mean Vehicle->Car->BlueCar.
The given the example have a bug loadTestsFromTestCase expect a TestCase-derived testCaseClass as described on documentation, you're passing it a result of trying to run another test and it will fail. Also tests are not class methods so Car.test_execute(driver, modName, Action, email) && RedCar.test_execute(driver, Action, modName) will also fail.

Hi Ordanis,
Thank you for the help.. I just saw yr response and was in Junk mails.
Sorry for the delay.
I am doing Python Selenium Web Automation Testing.
For my complex framework, I need a HTML Reporting framework.
I have N number of modules/classes. I have attached just first few modules
which helps to Login and move forward.
Could you please suggest me a HTML Report?
The execution starts from MainFunction.py
The program works just fine for my site. But I am trying for a report for
more than a month.
Feeling really bad that, I missed your email. Lucky that, at least I saw it
now.
Could you please help me to create a report?
Thanks
Shanmugam
On Thu, Jul 13, 2017 at 6:47 AM, Ordanis Sanchez<EMAIL_ADDRESS>wrote:

Hi Shan,
In order to help you i will need you to provide a better example "provided
one have certain bugs" or
please try to explain what you're trying to do. I may also ask why are you
trying to run tests inside a test inside a test? i mean
Vehicle->Car->BlueCar.
The given the example have a bug loadTestsFromTestCase expect a
TestCase-derived testCaseClass as described on documentation, you're
passing it a result of trying to run another test and it will fail. Also
tests are not class methods so Car.test_execute(driver, modName, Action,
email) && RedCar.test_execute(driver, Action, modName) will also fail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oldani/HtmlTestRunner/issues/9#issuecomment-314941927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcuVl3YjEp4eoEEnG2gBAljVOLF0Hjmfks5sNXAjgaJpZM4OVpu9
.

--
Thanks,
T.Shanmugam

Hi again here,
When I create this packet I was also doing Python - Selenium tests like you at a big scale.
If you attached something when replying via email it not arrive to Github, so please send me your example over to<EMAIL_ADDRESS>or put it here.

Thank you Ordanis,
Here i have attached for your reference.
Could you please help me create a HTML Report for our Python Test Suite?
Thanks,
Shan
On 26-Jul-2017 9:42 PM, "Shanmugam Thavasiyananthem"<EMAIL_ADDRESS>wrote:
Hi Ordanis,
Thank you for the help.. I just saw yr response and was in Junk mails.
Sorry for the delay.
I am doing Python Selenium Web Automation Testing.
For my complex framework, I need a HTML Reporting framework.
I have N number of modules/classes. I have attached just first few modules
which helps to Login and move forward.
Could you please suggest me a HTML Report?
The execution starts from MainFunction.py
The program works just fine for my site. But I am trying for a report for
more than a month.
Feeling really bad that, I missed your email. Lucky that, at least I saw it
now.
Could you please help me to create a report?
Thanks
Shanmugam
On Thu, Jul 13, 2017 at 6:47 AM, Ordanis Sanchez<EMAIL_ADDRESS>wrote:

Hi Shan,
In order to help you i will need you to provide a better example "provided
one have certain bugs" or
please try to explain what you're trying to do. I may also ask why are you
trying to run tests inside a test inside a test? i mean
Vehicle->Car->BlueCar.
The given the example have a bug loadTestsFromTestCase expect a
TestCase-derived testCaseClass as described on documentation, you're
passing it a result of trying to run another test and it will fail. Also
tests are not class methods so Car.test_execute(driver, modName, Action,
email) && RedCar.test_execute(driver, Action, modName) will also fail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oldani/HtmlTestRunner/issues/9#issuecomment-314941927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcuVl3YjEp4eoEEnG2gBAljVOLF0Hjmfks5sNXAjgaJpZM4OVpu9
.

--
Thanks,
T.Shanmugam

Hi Oldani
Did you get a chance to look at this?
Please suggest a good reporting frame work for a python Automation.
Thanks
Shanmugam
On 27-Jul-2017 4:35 PM, "Shanmugam Thavasiyananthem"<EMAIL_ADDRESS>wrote:
Thank you Ordanis,
Here i have attached for your reference.
Could you please help me create a HTML Report for our Python Test Suite?
Thanks,
Shan
On 26-Jul-2017 9:42 PM, "Shanmugam Thavasiyananthem"<EMAIL_ADDRESS>wrote:
Hi Ordanis,
Thank you for the help.. I just saw yr response and was in Junk mails.
Sorry for the delay.
I am doing Python Selenium Web Automation Testing.
For my complex framework, I need a HTML Reporting framework.
I have N number of modules/classes. I have attached just first few modules
which helps to Login and move forward.
Could you please suggest me a HTML Report?
The execution starts from MainFunction.py
The program works just fine for my site. But I am trying for a report for
more than a month.
Feeling really bad that, I missed your email. Lucky that, at least I saw it
now.
Could you please help me to create a report?
Thanks
Shanmugam
On Thu, Jul 13, 2017 at 6:47 AM, Ordanis Sanchez<EMAIL_ADDRESS>wrote:

Hi Shan,
In order to help you i will need you to provide a better example "provided
one have certain bugs" or
please try to explain what you're trying to do. I may also ask why are you
trying to run tests inside a test inside a test? i mean
Vehicle->Car->BlueCar.
The given the example have a bug loadTestsFromTestCase expect a
TestCase-derived testCaseClass as described on documentation, you're
passing it a result of trying to run another test and it will fail. Also
tests are not class methods so Car.test_execute(driver, modName, Action,
email) && RedCar.test_execute(driver, Action, modName) will also fail.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oldani/HtmlTestRunner/issues/9#issuecomment-314941927,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcuVl3YjEp4eoEEnG2gBAljVOLF0Hjmfks5sNXAjgaJpZM4OVpu9
.

--
Thanks,
T.Shanmugam

Hi Shan,
Sorry for the delay here, kind of busy this days. I have seen the piece you sent, being honest I cannot get it if you ask me I will suggest your read more about Python and selenium E2E testing and the page object model. It seems like you have structure better the project, I also notice HtmlRunner by tungwaiyip in the files you sent me, that's another runner and not the one here, even this one is base on that.

Thank you Ordanis.
I managed to use Extent Report, for now.
Hope, some one will come up with a good reporting tool for Python.
Thank you for your time.
Shan
On 05-Aug-2017 8:20 AM, "Ordanis Sanchez"<EMAIL_ADDRESS>wrote:
Hi Shan,
Sorry for the delay here, kind of busy this days. I have seen the piece you
sent, being honest I cannot get it if you ask me I will suggest your read
more about Python and selenium E2E testing and the page object model. It
seems like you have structure better the project, I also notice HtmlRunner
by tungwaiyip in the files you sent me, that's another runner and not the
one here, even this one is base on that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oldani/HtmlTestRunner/issues/9#issuecomment-320390478,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcuVl0osEwSsdciv189wUh-GcI4fGPfyks5sU9h1gaJpZM4OVpu9
.


[Search npm Packages] Default action should open the package on npm

Extension
https://www.raycast.com/mrmartineau/search-npm
Description
The default action for each list item should be to open the package on npm. Not every item in the list has a repository or a homepage associated with it, which means the default action can change based on the metadata of the list item. If the npm Package Page action was first, then the result of pressing the return key would be consistent for every package.

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

@jasonbarry this is a configurable option actually, however, you are correct that the default option is set to open the repo. Source for this is here if you're interested in changing it.

I have an open PR for this extension (https://github.com/raycast/extensions/pull/5290) if you think it helps I can do this small fix in that PR, however one question: In the links section should the npm Package Page move to the first position also?
@mrmartineau @jasonbarry

@luisFilipePT yep makes sense to me, go for it


observer.navigator == null is not true

So this error keep happening when I have more that one MasterDetailScaffold in the widget tree. Somehow its almost as if their instances are not separate.
To recreate this issue I used the example app from the repo and added an action to the app the that routes to another section of the example that also has a MasterDetailScaffold then it breaks.
I was wondering if anyone knows what im doing wrong, of if what I could do to fix this issue as it has been persisting for long while now.

Anyone experiencing this issue?

Yes.

Yes.

It's been a while since I've looked at the implementation but off-memory, it was built more on the assumption that there's only one as it's typically the pages within the within the nested navigator that change whilst the menu in the "master pane" remains the same

It's been a while since I've looked at the implementation but off-memory, it was built more on the assumption that there's only one as it's typically the pages within the within the nested navigator that change whilst the menu in the "master pane" remains the same


[BEAM-1357] Upgrade error-prone-annotations to restore JDK7 compatibility

They accidentally released 2 incremental versions, .13 and .14, which do not work with JDK7.
But .15 does.

R: @lukecwik or @tgroh or @davorbonaci (or anyone else, really)
If I do not get a review, I will self-merge once green, as this is a build break.

The build is broken because of a prior issue, but we can see that the java core module now builds successfully.

LGTM


Describe how/when to write post-mortems

... specifically in the context of the on-call process. When does an #incident turn into a post-mortem-worthy event?
We already have https://github.com/artsy/post_mortems which links to helpful docs but doesn't answer that ☝question. This could be part of our on-call onboarding docs or something separate.

This is a debate I'm having right now, two potential rubrics for deciding to write a post-mortem:

something small which has taken down user-accessible things that has happened multiple times in a row
something which takes down artsy for longer than 45m

@sweir27 This issue seems to be addressed considering all of the recent training/communications regarding on-call. What do you think about closing, or do you think this is still relevant?


[DRAFT] Connect to wss without wsproxy

Needed to work on https://github.com/neondatabase/neon/issues/3225

I don't think it's ready to merge to main yet, but it can be merged to no-webassembly branch, and you can continue your work there.
What should be fixed before merging to main:

our neon proxy should be deployed to proxy, currently it's not even on staging yet
build should be ran without debug
probably additional work should be done to improve backwards compatibility (currently this PR has breaking changes), but not sure if it worth it

In other words, this code is not yet ready to use and shouldn't be in main yet. WDYT @jawj?

@petuhovskiy Sure, it's fine to stick to the no-webassembly branch (and we certainly shouldn't publish to npm yet).
How soon do you think we could deploy to staging?

I want to get a proxy review from @funbringer, probably make some fixes and then we can merge and deploy it. I think it should get to staging around next week.

OK. We've more or less promised Vercel to launch next week, so it would be great if we could deploy to staging early in the week (and to production by the end of the week?).

wss proxy is on staging now. @petuhovskiy can you rebase this?

Sorry, forgot to update this PR. Will rebase it now.

Updated the PR, I used<EMAIL_ADDRESS>(staging db) in all variables.

Is it possible yet for me to test this? I'm working on a POC and want to get a ballpark measurement on what latency is like with the new proxy.

@nicksrandall we are still doing some work to reduce the latency (mainly around making authentication quicker in happy path https://github.com/neondatabase/neon/pull/3331), hence no public release yet. However, things from this PR are already implemented in no-webassembly branch and published in temporary @jawj/test-serverless npm package. Proxy with websockets is on prod in all regions, so feel free to test it. @jawj/test-serverless will switch to websockets if it detects neon.tech in connection string. Here is an example: https://github.com/jawj/edge-data-latency-mine/blob/main/pages/api/neon-global.ts#L13-L23
Curious to see your results.
(This PR is ought to be closed, but i'll keep it open for now to keep this discussion)

OK, equivalent changes have now been made, merged in, and released to npm as a new version of @neondatabase/serverless, therefore closing.
https://community.neon.tech/ may be useful for further discussion.


Remove Default Event Limit

Remove the 20M event limit now that ETLX files can support file sizes larger than 4GB.

@brianrob was this change incorporated in a new release?  If not, would this be released anytime soon? Thanks for adding this! Our tests diagnosis would greatly benefit from this.

It is not.  In fact, I reverted the change from main, as I am working on a set of changes for a PerfView 3.0, and want to include this in a major release.  I just created a PR to the feature branch here: https://github.com/microsoft/perfview/pull/1549


Updates to QA5 to prevent False positives from deleted associations

TOPS-1874

Add pytest mark to all business rules for easier testing business rules in isolation
Add test to check deleted associations are not being incorrectly checked
Update QA5

Why

The rule incorrectly raised rule violations
No test checked that deleted associations were not being checked

What

Update QA5
Test to verify the rule is operating correctly

Checklist

Requires migrations? No
Requires dependency updates? No

Links to relevant material
See: Description

the only file that has changed that will have an effect in the running application is quotas/business_rules.py the rest are test updates


Typing "" in the code editor with Dutch keyboard selects to end of file

Godot 3.04 (and all previous versions I've ever tried, including 2.1)
Windows 10 (English version, but Dutch keyboard enabled)
If I want to type an empty string "" in the code editor, I get one quote, all remaining text is selected and the cursor is placed at the end of the file. The next character I type replaces the selection. So tying 'print ("")' produces 'print(")' and deletes the remainder of the file. It's not really a big deal, since undo works. But still very annoying and it makes Godot feel buggy.
Normally, with Dutch keyboard settings, when you type a quote ", at first nothing happens until you press another key. If that is a vowel, you get an ä, ë, ï, ö, ü or ÿ, otherwise you still get the " followed by the other key (unless it's a space or enter, then you only get the quote). So when typing "" you don't see anything happen until you've typed them both.
Of course an easy workaround is just typing a space after each ".
If I switch to English keyboard with Alt+Shift, I can enter quotes without any problems.
Similarly, when typing two single quotes '', you only get one ' and the cursor goes to the beginning of the next line (which is far less annoying, but also incorrect). However, typing `` or ^^ (which are also used for accents in the same way) both do work correctly.

Same with the international US layout, where you need to press ", ', and a few other characters twice (or "SPC) to write them.

This seems to be the same issue as the later #25548, but I'll close this one as the other has a broader scope and more users involved.

the same issue with windows 8.1 and Godot 3.1 64 stable, maybe is a virus or an operating system faults because is needed to press twice the key to have a "" ?!

Fix it
Control Panel\Clock, Language and Region\Language\Language options
Set the Handwriting to Write each character separately


Is there any way to improve the speed of the test？

hello, sir! ！I  have run the multi-scale test code on DOTAv1.5 , it took more than a day to complete the test，and i also run the single-scale code on DOTAv1.5，it also took a lot of time.
I would like to ask which structure has the most influence in the network and what is the specific reason for the slow test, and I have tried to modify the confidence and IOU threshold, but nothing worked.
Do you have any suggestions, thank you , sir !!!!!!

For single-scale DOTA-v1.5, it just takes few minutes on 4 V100/Tian X.
For multi-scale, it indeed takes more time for some reasons:

the number of multi-scale images.
python implementation of e2cnn rather than C/Cuda.


Chapter 5, HTTP.Server not defined with v0.8.0

The sample hello.jl in Chapter 5 no longer works with<EMAIL_ADDRESS>gets
UndefVarError: Server not defined

Downgrading to v0.7.1 works, so perhaps there has been API change in the package.
This is not a book issue and I can work with the older version during learning this book, but can someone possibly suggest a quick fix with new version for future reference?

I find the following works with v0.8.0.
Changes are:

HTTP.serve takes router directly, instead of Server(router).
HTTP.register is deprecated, HTTP.@register is recommended.
HTTP.HandlerFunction is now HTTP.RequestHandlerFunction.

using HTTP, Sockets

const HOST = ip"<IP_ADDRESS>"
const PORT = 9999
router = HTTP.Router()

HTTP.@register(router, "GET", "/", HTTP.RequestHandlerFunction(
  req -> HTTP.Messages.Response(200, "Hello World!")))
HTTP.@register(router, "GET", "/bye", HTTP.RequestHandlerFunction(
  req -> HTTP.Messages.Response(200, "Bye")))
HTTP.@register(router, "GET", "*", HTTP.RequestHandlerFunction(
  req -> HTTP.Messages.Response(404, "Not found")))
HTTP.serve(router, HOST, PORT)

Thanks @kota7 for reporting this.
Indeed, HTTP 0.8 introduces breaking changes. Let me check with the team, see if there's any way to update this.

Hi @essenciary
You can directly update the codes on GitHub as per the new update.
Regards,


Add catalog use, possibility to change Saxon release, XSLT 3.0 support

We may specify a catalog. URIResolver is just enhanced, and previous functionalities are not altered
We can modify the saxon release to use ; it is to allow to use Saxon-PE or EE. The counterpart is you must specify a Saxon dependency in plugin.
A surefire report can be generated. It's to have a correct display in Jenkins.
A bug is corrected : xspec document was not provided as source to main transformation.

@cmarchand Did you mean to also commit the xspec framework itself? Until now it has always been downloaded dynamically by the build!

Yes, because the last release is not availabe as a zip file from https://github.com/expath/xspec/. Only the master. And because generate-xspec-tests-oxygen.xsl is added to support XSLT 3.0.
If you can find an URL to download a release from XSpec, for sure it's better !

@cmarchand So two things here then:

The 0.4.0rc1 release that we are using in the plugin is exactly the same as the EXPath GitHub code apart from this - https://github.com/expath/xspec/commit/70cfe35e472be894236e09582e4fd06e032a3d4e which is just a cosmetic tidy up. Do you really need that? I would rather wait until the next official release of the xspec framework instead of copying all the files in.

Where has generate-xspec-tests-oxygen.xsl come from and what is the Open Source license for it? Also could we not submit those changes to the EXPath XSpec project as a PR to improve the original generate-xspec-tests.xsl rather than maintaining separate code? If we can't sent a PR, I would rather download it by URL and patch what we have in (1), but the license has to be okay for us.

Ok for 1.
2. According to oXygen mailing-list, this file is under MIT, as the XSpec project is. So no license problem. https://www.oxygenxml.com/pipermail/oxygen-user/2016-January/005696.html
And yes, it's better to submit these modifications to EXPath GitHub project to enhance it.
So, refuse my pull request, I'm going to prepare a pull request to EXPath / XSpec project, and add the patch in xspec-maven-project. You will have a new pull request tomorrow.
Have a good night,
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:
@cmarchand So two things here then:
The 0.4.0rc1 release that we are using in the plugin is exactly the same as the EXPath GitHub code apart from this - expath/xspec@70cfe35 which is just a cosmetic tidy up. Do you really need that? I would rather wait until the next official release of the xspec framework instead of copying all the files in.
Where has generate-xspec-tests-oxygen.xsl come from and what is the Open Source license for it? Also could we not submit those changes to the EXPath XSpec project as a PR to improve the original generate-xspec-tests.xsl rather than maintaining separate code? If we can't sent a PR, I would rather download it by URL and patch what we have in (1), but the license has to be okay for us.
—
Reply to this email directly or view it on GitHub.

I don't need to reject it outright, I could rework it if you like, pulling
in those commits which are ready?
On 14 January 2016 at 19:49, Christophe Marchand<EMAIL_ADDRESS>wrote:

Ok for 1.
2. According to oXygen mailing-list, this file is under MIT, as the XSpec
project is. So no license problem.
https://www.oxygenxml.com/pipermail/oxygen-user/2016-January/005696.html
And yes, it's better to submit these modifications to EXPath GitHub
project to enhance it.
So, refuse my pull request, I'm going to prepare a pull request to EXPath
/ XSpec project, and add the patch in xspec-maven-project. You will have a
new pull request tomorrow.
Have a good night,
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:
@cmarchand So two things here then:
The 0.4.0rc1 release that we are using in the plugin is exactly the same
as the EXPath GitHub code apart from this - expath/xspec@70cfe35 which is
just a cosmetic tidy up. Do you really need that? I would rather wait until
the next official release of the xspec framework instead of copying all the
files in.
Where has generate-xspec-tests-oxygen.xsl come from and what is the Open
Source license for it? Also could we not submit those changes to the EXPath
XSpec project as a PR to improve the original generate-xspec-tests.xsl
rather than maintaining separate code? If we can't sent a PR, I would
rather download it by URL and patch what we have in (1), but the license
has to be okay for us.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/adamretter/xspec-maven-plugin/pull/3#issuecomment-171758854
.

--
Adam Retter
skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk

Forget it, I'm already doing it now.
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:I don't need to reject it outright, I could rework it if you like, pulling
in those commits which are ready?
On 14 January 2016 at 19:49, Christophe Marchand<EMAIL_ADDRESS>wrote:

Ok for 1.
2. According to oXygen mailing-list, this file is under MIT, as the XSpec
project is. So no license problem.
https://www.oxygenxml.com/pipermail/oxygen-user/2016-January/005696.html
And yes, it's better to submit these modifications to EXPath GitHub
project to enhance it.
So, refuse my pull request, I'm going to prepare a pull request to EXPath
/ XSpec project, and add the patch in xspec-maven-project. You will have a
new pull request tomorrow.
Have a good night,
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:
@cmarchand So two things here then:
The 0.4.0rc1 release that we are using in the plugin is exactly the same
as the EXPath GitHub code apart from this - expath/xspec@70cfe35 which is
just a cosmetic tidy up. Do you really need that? I would rather wait until
the next official release of the xspec framework instead of copying all the
files in.
Where has generate-xspec-tests-oxygen.xsl come from and what is the Open
Source license for it? Also could we not submit those changes to the EXPath
XSpec project as a PR to improve the original generate-xspec-tests.xsl
rather than maintaining separate code? If we can't sent a PR, I would
rather download it by URL and patch what we have in (1), but the license
has to be okay for us.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/adamretter/xspec-maven-plugin/pull/3#issuecomment-171758854
.

--
Adam Retter
skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk
—
Reply to this email directly or view it on GitHub.

Ah ! Ok ! I did'nt see that pull requests where based on branches, I thought there were based on commits.
So, I've commited what needed to go back to download from googlecode, and add only the patch.
The same patch has been submitted to expath/xspec.
Best regards,
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:I don't need to reject it outright, I could rework it if you like, pulling
in those commits which are ready?
On 14 January 2016 at 19:49, Christophe Marchand<EMAIL_ADDRESS>wrote:

Ok for 1.
2. According to oXygen mailing-list, this file is under MIT, as the XSpec
project is. So no license problem.
https://www.oxygenxml.com/pipermail/oxygen-user/2016-January/005696.html
And yes, it's better to submit these modifications to EXPath GitHub
project to enhance it.
So, refuse my pull request, I'm going to prepare a pull request to EXPath
/ XSpec project, and add the patch in xspec-maven-project. You will have a
new pull request tomorrow.
Have a good night,
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:
@cmarchand So two things here then:
The 0.4.0rc1 release that we are using in the plugin is exactly the same
as the EXPath GitHub code apart from this - expath/xspec@70cfe35 which is
just a cosmetic tidy up. Do you really need that? I would rather wait until
the next official release of the xspec framework instead of copying all the
files in.
Where has generate-xspec-tests-oxygen.xsl come from and what is the Open
Source license for it? Also could we not submit those changes to the EXPath
XSpec project as a PR to improve the original generate-xspec-tests.xsl
rather than maintaining separate code? If we can't sent a PR, I would
rather download it by URL and patch what we have in (1), but the license
has to be okay for us.
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/adamretter/xspec-maven-plugin/pull/3#issuecomment-171758854
.

--
Adam Retter
skype: adam.retter
tweet: adamretter
http://www.adamretter.org.uk
—
Reply to this email directly or view it on GitHub.

@cmarchand I am away for most of this week with work. Can you prod me next week if I haven't got to it by then?

No problem, you are welcome !
Christophe
Adam Retter<EMAIL_ADDRESS>wrote:
@cmarchand I am away for most of this week with work. Can you prod me next week if I haven't got to it by then?
—
Reply to this email directly or view it on GitHub.

@cmarchand Still in progress?

Hi Adam,
I've now something quite robust. As XSpec folks do not have release a new .zip dist file, we can not rely on, so I keep all XSpec patches in project.
But we use a lot the xspec-maven-plugin successfully, in various cases.
I still have a bug in error count when pending scenarii exists. It's a problem because build fails if there is some pending scenarii. May you have a look at it ? I can't make it work correctly...
Best,
Christophe


ReactIOSViewAttributes removed in 0.4.3

Under Breaking Changes here: https://github.com/facebook/react-native/releases/tag/v0.4.3
"If you were using the undocumented createReactIOSNativeComponentClass or ReactIOSViewAttributes to create iOS wrappers, now you should use requireNativeComponent"
Also.. Is ReactIOSViewAttributes being consumed?

Thanks for the heads up, I'll look into removing it.

fixed in https://github.com/bsudekum/react-native-mapbox-gl/issues/36


Add pybind11_bazel release 2.11.1.

FYI, @rwgk and @meteorcloudy. :)

Nice, you may also consider setting up https://github.com/apps/publish-to-bcr. ;)


Native inputs support

Describe the bug
I'm using ReactNative with Expo SDK 49.
I have a login page with 3 inputs: URL, username and password (see video)
I noticed few weird behaviors:

The keyboard is hidden when the user start typing and focus on the last input
when the focus in on username and I press Left, the focus doesn't change
Is there a way to show the keyboard only when the user press Enter on the remote control?

To Reproduce
// configureRemoteControl.ts from the example
import { Directions, SpatialNavigation } from 'react-tv-space-navigation';

import RemoteControlManager from './remote-control/RemoteControlManager.android';
import { SupportedKeys } from './remote-control/SupportedKeys';

SpatialNavigation.configureRemoteControl({
  remoteControlSubscriber: (callback) => {
    const mapping: { [key in SupportedKeys]: Directions | null } = {
      [SupportedKeys.Right]: Directions.RIGHT,
      [SupportedKeys.Left]: Directions.LEFT,
      [SupportedKeys.Up]: Directions.UP,
      [SupportedKeys.Down]: Directions.DOWN,
      [SupportedKeys.Enter]: Directions.ENTER,
      [SupportedKeys.Back]: null,
    };

    const remoteControlListener = (keyEvent: SupportedKeys) => {
      callback(mapping[keyEvent]);
    };

    return RemoteControlManager.addKeydownListener(remoteControlListener);
  },

  remoteControlUnsubscriber: (remoteControlListener) => {
    RemoteControlManager.removeKeydownListener(remoteControlListener);
  },
});

// _layout.tsx
// I've imported the remoteConctrolManager of android:
import '@components/configureRemoteControl';

// login.tsx (see the first screenshot)
return (
    <Page>
      <Stack.Screen
        options={{
          headerShown: false,
        }}
      />
      <MotiView
        transition={{
          type: 'spring',
        }}
        from={{ translateX: 100 }}
        animate={{ translateX: 0 }}
        className="flex-1 px-12 items-center justify-center">
        <Image
          resizeMode="contain"
          source={require('@assets/images/logo.png')}
          style={styles.image}
        />
        <Element
          className="w-full h-12 my-4"
          onFocus={() => urlRef?.current?.focus()}>
          {(isFocused) => (
            <TextInput
              ref={urlRef}
              autoCapitalize="none"
              autoCorrect={false}
              onChangeText={setUrl}
              placeholder={t('login.placeholderURL')}
              placeholderTextColor={theme.colors.text}
              className={`border  rounded p-3 text-primary shadow ${
                isFocused ? 'border-secondary' : 'border-border'
              }`}
              value={url}
              returnKeyType="next"
              returnKeyLabel={t('login.form.next')}
              enablesReturnKeyAutomatically
              blurOnSubmit={false}
              onSubmitEditing={() => {
                usernameRef.current && usernameRef.current.focus();
              }}
            />
          )}
        </Element>

        <MotiView className="flex-row items-center space-x-3 justify-between w-full overflow-hidden">
          <MotiView className="flex-row w-[76%] space-x-3">
            <Element
              className="w-[50%] h-12 my-4"
              onFocus={() =>
                usernameRef.current && usernameRef.current.focus()
              }>
              {(isFocused) => (
                <TextInput
                  ref={usernameRef}
                  autoCapitalize="none"
                  autoCorrect={false}
                  onChangeText={setUsername}
                  placeholder={t('login.placeholderUsername')}
                  placeholderTextColor={theme.colors.text}
                  className={`border  rounded p-3 text-primary shadow ${
                    isFocused ? 'border-secondary' : 'border-border'
                  }`}
                  value={username}
                  returnKeyType="next"
                  returnKeyLabel={t('login.form.next')}
                  blurOnSubmit={false}
                  onSubmitEditing={() => {
                    passwordRef.current && passwordRef.current.focus();
                  }}
                />
              )}
            </Element>
            <MotiView className="relative w-[50%]">
              <>
                <Element
                  className="h-12 my-4"
                  onFocus={() =>
                    passwordRef.current && passwordRef.current.focus()
                  }>
                  {(isFocused) => (
                    <TextInput
                      ref={passwordRef}
                      autoCapitalize="none"
                      autoCorrect={false}
                      onChangeText={setPassword}
                      placeholder={t('login.placeholderPassword')}
                      secureTextEntry={!showPassword}
                      placeholderTextColor={theme.colors.text}
                      className={`border  rounded p-3 text-primary shadow ${
                        isFocused ? 'border-secondary' : 'border-border'
                      }`}
                      returnKeyLabel={t('login.form.done')}
                      value={password}
                    />
                  )}
                </Element>
                <Element
                  className="absolute bottom-7 right-3"
                  onFocus={() =>
                    passwordEyeRef.current && passwordEyeRef.current.focus()
                  }>
                  {(isFocused) => (
                    <TouchableHighlight
                      ref={passwordEyeRef}
                      onPress={() => setShowPassword(!showPassword)}>
                      <Feather
                        name={showPassword ? 'eye-off' : 'eye'}
                        size={24}
                        color={theme.colors.text}
                      />
                    </TouchableHighlight>
                  )}
                </Element>
              </>
            </MotiView>
          </MotiView>
          <Element
            className="w-[20%] h-12 "
            onFocus={() => loginRef.current && loginRef.current.focus()}>
            {(isFocused) => (
              <TouchableHighlight
                ref={loginRef}
                underlayColor={theme.colors.accent}
                onPress={checkFields}
                className=" bg-secondary p-3 rounded">
                <MotiText className="text-placeHolder text-center text-lg font-bold leading-6">
                  {t('login.loginButton')}
                </MotiText>
              </TouchableHighlight>
            )}
          </Element>
        </MotiView>
      </MotiView>
      <SharedDialog
        type="confirm"
        visible={loginDialog.isOpen}
        title={t('login.loginButton')}
        message={loginMessage}
        onTouchOutside={loginDialog.onClose}
        positiveButton={{
          title: t('account.updateModal.buttons.close'),
          onPress: loginDialog.onClose,
          titleStyle: { color: theme.colors.text },
        }}
      />
      <SharedDialog
        type="progress"
        visible={loadingLogin}
        title={t('common.progress.title')}
        message={t('common.progress.message')}
      />
    </Page>
  );

Expected behavior
The focus should remain in the same input until the user submit the text
Screenshots
https://github.com/bamlab/react-tv-space-navigation/assets/11313734/16b5975c-9623-4c6e-bfd8-baf82346dc36
Version and OS

Library version: [1.2.0]
React Native version: [e.g. 0.71.2]
OS Android

Hey!
OK, we had never thought of the use case of native inputs.
That's going to be a problem with this library: we're completely bypassing the native focus system to do our own. But the keyboard relies on it.
To make our library work with native inputs, we'd need to detect whether a keyboard is open (well, if an input component is focused). If it is, then we should disable our focus system to leave the native focus system handle the keyboard. Once the keyboard is closed, get back to our focus system.
It would work, but it's quite convoluted. I'd say you're right into the biggest limitation of the lib: as soon as you need native focus, it becomes complex.
Right now I don't think you can handle it because the lib misses a method to lock the SpatialNavigationRoot. I can look into it.

I've got a solution working. I'll release it soon along with some docs and explanation.  Check out the new release and the documentation 😊
https://github.com/bamlab/react-tv-space-navigation/pull/38

same issue is in apple tv, can you give support for that


fopen(C:\xampp\htdocs\rcbdst\storage\tmp/llvMWgHHKXLgIjik.pdf): failed to open stream: No such file or directory

How to fixed issue as
fopen(C:\xampp\htdocs\rcbdst\storage\tmp/llvMWgHHKXLgIjik.pdf): failed to open stream: No such file or directory

not sure but you have inconsistency in your path, as you can see it starts with backslash C:\  and then you go and switch to normal slash tmp/file

fopen(C:\laragon\www\casalux\storage\fonts/public_sans_300_italic_28e4beca77ca0d865d9112a3452a9b3a.ufm): Failed to open stream: No such file or directory


How to use it in mmsegmentation?

Thank you so much for your excellent work! I am very interested in the loss function you proposed, but I don't know how to use it in mmsegmentation, can you please guide me? Looking forward to your reply!

Thanks for your interest in our work. For ease of use, you can add it to mmsegmentation/mmseg/models/losses/ and modify the config file. Furthermore, you can speed it up by moving the process of distance map generation to the dataloader (in this way, maybe you need to rewrite some code of mmcv).


docs: Update minimum supported Node.js version to 14

Ref https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/326
The unplugin dependency uses optional chaining which is only available in Node 14 or higher. Additionally, we only run our tests for versions 14 and higher.

not sure if this technically is a breaking change, but I guess even before it would not really have worked with node < 14? So I guess this is fine!

Yeah this change was considered as part of the v2 major bump. I simply forgot to document it.


Buildkite plugin: support optional ability to display builds from a particular branch

It would be useful if backstage-plugin-buildkite could be configured to only display builds from a specific branch.
Feature Suggestion
This would enable the ability for users to only display a table of builds of the specified branch.
As a bonus, this would also require tweaking the BK API client's getBuilds method to support a branch argument, which would be useful for users who use backstage-plugin-buildkite's API client in their own plugins.
Possible Implementation
I'm imagining the presence of an optional annotation such as the following could be used to to specify the value of a ?branch= parameter passed along to the Buildkite API request.
Thanks!

This was addressed via https://github.com/RoadieHQ/roadie-backstage-plugins/pull/1460


Return SOTER_INVALID_PARAMETER if the caller tries to reuse a hash context after finalising

Also, make it easy to build Themis with embedded BoringSSL
Closes #344

Thank you @secumod! That's an important improvement! 🙇♀
@ilammy could you please take a look?

I'm sorry, I was engrossed in holidays and stuff. I'll look at it more closely in the nearest time.
In general, the changes look good. However, the test code from #344 still crashes for me for some reason. I did not look at the stacktrace yet, but maybe we should opt for an explicit 'finalized' flag in Soter code, as suggested by @secumod in #344, in order to avoid calling any BoringSSL functions at all instead of relying on them to return error codes in invalid states.
I also like this new feature for using the embedded BoringSSL with just ENGINE=boringssl. It really simplifies the building process. However, it also introduces a minor issue with recently added pkg-config files. libsoter.pc file remembers relative paths to BoringSSL for static linkage purposes, and such paths  are unlikely to work after Themis installation. Though, I think this issue can be addressed separately and should not block this PR (I'm not sure at the moment what can be done about it).

@ilammy just retried the code from #344 with the build from this PR, but it does not crash for me - fails with 12:
user@3802e72d7e7f:/projects/issues$ ./scmp
[=] appending data to A: different
[=] appending data to B: test data
[-] begin   comparison: A
[~] proceed comparison: B
[~] proceed comparison: A
[~] proceed comparison: B
[~] proceed comparison: A
[!] comparison complete
[>] result A: (---) mismatch
[>] result B: (---) mismatch
[=] appending data to A: the same data
[*] append_secret(A) failed: 12

Can you double check on clean build, please?

Can you double check on clean build, please?

Done. I'm terribly sorry, the issue is now gone for me too. The terminal I used had some environment variables set that confused the linker-loader and used an older build of Themis. After I've cleaned everything up I see the same result as you do. Sorry 🙏

Regarding embedded BoringSSL.
I've reread Google's docs and advice on this matter, gave it a thought, and it seems that we can leave this matter as is.
It should be totally fine to embed BoringSSL into dynamic libraries because then we can hide the dependency, do not export BoringSSL symbols, and avoid any conflicts.
However, making BoringSSL a part of libsoter.a seems to be a bad idea because then Themis will dictate which version of BoringSSL is going to be used by the application and will deny using OpenSSL et al. This seems to be a decision for an application developer, not the library.
I imagine two main use cases for static linkage:

an application developer builds their own copy of Themis, specifically for their project
an application developer uses Themis from their distro's repo

In the first case the developer should be able to figure out how to link against the BoringSSL used by Themis. In the second case the distro maintainer is unlikely to use BoringSSL at all, opting for disto's OpenSSL or alike.
So while 'broken' *.pc is unfortunate, I guess it should not cause any practical issues so we can leave it as is.

That is why we should incorporate BoringSSL into libsoter.a. Themis user technically cannot use a different BoringSSL version from the one which was used to build Themis, because they will get symbol conflicts. On the other hand many users may not even care about the underlying engine: they just want to build soter/themis and link with it (that is the expected behaviour for any library I think).
So, by incorporating BoringSSL into static versions of .a libs makes the overall process transparent for the user.


is_bucket_to_bucket backup for s3.sink only

What problem are we solving?
There was a problem of backing up all the buckets in one bucket in one path on s3.sink filer.backup
So I tried to add an option called is_bucket_to_bucket to solve this problem
How are we solving the problem?
I added an option called is_bucket_to_bucket and if it be enable the sourcePath will change to /buckets and the excludedPaths should also start with /buckets
Note that this solution only backups the content of /buckets and not other paths.
When you enable is_bucket_to_bucket it will replace sourcePath with /buckets, then will check the excludedPaths to be valid. then it will set the directory to an empty string to not having a problem with key building and also the bucket name to an empty string in Initializer which will be ignored and replaced with the specific bucket name.
How is the PR tested?
I tested it in 100k PUT and DEL using warp
Checks

[ ] I will add related wiki document changes and link to this PR after merging.

Please explain more about what the problem is.

Hi,
Its a new feature in s3.sink which when it wants to backup the s3 buckets in seaweedFS, each bucket has a corresponding bucket in the destination backup s3. when the is_bucket_to_bucket enabled, it will ignore the sourcePath and will change it to /buckets to only backup the buckets. actually i didn't found a solution for other paths to backing up them in separate buckets in the backup S3. So i decided to only backup the S3 buckets in the seaweedFS S3 and put each bucket and its data in a corresponding bucket. i have tested it out and it works fine. It can recognize the creation and deletion of buckets and will put each data in its actual bucket in the destination. So in conclusion we have a full sync in S3 area between seaweedFS S3 and a backup S3 which can be a Minio etc.
The behavior of code when enabling the is_bucket_to_bucket option is:
First it will check the source path and change it to /buckets and will log this change to user.
Second it will check the exludedPaths and warning if some of them don't start with /buckets and will log and say that they won't affect in the backup, because the sourcePath is /buckets
Third it will set the initial bucket and directory of s3.sink to empty strings. The empty directory will help to properly create the keys for write, And the empty bucket will change to corresponding bucket in any changes.
When the code wants to create buckets for writing it will check the existence of bucket and create it if it does not exist.
In deletion it will check the existence of the bucket and delete it if exists.
Also it will ignore the path(I mean the prefix of files) creation and deletion in buckets because they don't need to be handled and they affect in writes and deletes when we use keys.
All steps of the process will log the error and the results to the user and its all clear.
Feel free to review the code and give me any feature requests.
Thanks,

It's a change only to s3 sink. Can you make the change specific to S3 and no changes to other code for other sinks?
the attribute name is_bucket_to_bucket is not descriptive.

I am not very familiar with other S3 types but, as I know these are S3 sinks:

sink.s3
sink.google_cloud_storage
sink.azure
sink.backblaze
I will check this logic for them(I mean bucket handling for all of them) and if it can be generalized, I will implement it for all of them.
Also i have to mention adding is_bucket_to_bucket to sink struct will make the implementation much more easier and for other sinks than S3 I will write a warning if the option was enabled, and say that it will be ignored.

OK, What do you suggest? What about s3_sync?

Any suggestions?
Do you confirm the list of S3 sinks I provided above?
And what about the option? s3_sync is OK?

I've dedicated the sourcePath replacement to /buckets and ExludedPaths checks to start with /buckets only to s3.sink. Now is_bucket_to_bucket option won't affect other sinks and enabling it will cause a warning and will be ignored.
I emphasize again that changing the ReplicationSink interface to not having the IsBucketToBucket() func, will make the implementation much more harder.
So it will be there but only works with S3Sink struct and will be ignored by other sinks(Only logs a warning if enabled).

As you requested I changed the code.
Option name changed from is_bucket_to_bucket to sync_s3_to_s3
I revert ReplicationSink to its initial state
Now only sink.s3 have the option without changing the code of other sinks.
Please review.
Thanks,

How about this option?
prefix_to_trim=["/buckets","/home"]

Or add a pair of prefix_from and prefix_to, for more generic operations.

I didn't understand your request.
Actually because it's a sync between S3s, so you shouldn't be able to change the source and destination paths.
It's a full sync for the S3. For other filters user can use the old logic you implemented by setting sync_s3_to_s3 to false.
In case that you enable sync_s3_to_s3 it will backup all buckets in their corresponding buckets in the destination. So setting a prefix can't be handled, because the logic only supports /buckets and also setting a prefix for destination would change the name of buckets in the destination. So when you set a prefix for source and destination other than the defaults in sync_s3_to_s3 there is not a straight or standard way to implement these paths in separate buckets.
I have to mention that this feature is for fully syncing the S3 interface, to system be accessible from the backup S3 when seaweedFS is down. I am also investigating the active-passive or active-active models in these situations.
So if a user only wants a backup for S3 that is passive and is accessible when main S3 is down this feature is good for them. This feature allows user to read the data when something is wrong with seaweeds S3.
So with this use case that I provided, user will have a passive backup from S3, not other paths in filer.

how about naming this feature/option as "support_multiple_buckets"?

Actually it will not support multiple buckets in all scenarios. I think syncing S3 has more meaning. Because when we name it support_multiple_buckets user will think that he can set some custom buckets for the backup, but this is not the case. Actually it's multiple bucket but only for S3  and multiple buckets here are buckets in SeaweedFS S3.
Also remember this is a feature only for S3 for syncing the buckets in another S3.

Any ideas? Or suggestions?

Hi. I followed this thread. As it is a valuable feature in my opinion, I have some suggestions and alternative solutions. Hope it would be helpful:

use sink_to_multiple_buckets for variable name.
Implement weed s3.backup instead of weed filer.backup. It's more clear and it would be so easy if the core logic of filer.backup could be reused in s3.backup.
Add another part to replication.toml named [sink.s3_buckets] which will be specifically for syncing seaweedFS s3 (/buckets directory in filer) to another s3 storage, e.g. another seaweedFS s3 or MinIO.

That sounds a misunderstanding also as you mentioned. So very confused.

If you take a look at my changes on replication.toml I wrote a verbose description about this feature, so it's kinda clear for user what this feature is:
# It will backup the whole buckets in the /buckets path to the specified S3.
# Each bucket will have its corresponding bucket in the backup S3.
# Source path will be ignored and automatically set to /buckets and is_incremental is always
# Exclude paths on filer.backup command will only affect if they start with /buckets

Also these suggestions are helpful:

Hi. I followed this thread. As it is a valuable feature in my opinion, I have some suggestions and alternative solutions. Hope it would be helpful:
1. use `sink_to_multiple_buckets` for variable name.

2. Implement `weed s3.backup` instead of `weed filer.backup`. It's more clear and it would be so easy if the core logic of filer.backup could be reused in s3.backup.

3. Add another part to replication.toml named `[sink.s3_buckets]` which will be specifically for syncing seaweedFS s3 (/buckets directory in filer) to another s3 storage, e.g. another seaweedFS s3 or MinIO.

We can have different sink for this option, or even have a different command for it, But i suggest to use this built in option in s3.sink, because it's embedded in code and doesn't make very manipulations on structs or interfaces and it's easy to use.
But if we separate this option from current logic, maintaining the code would be harder.

Actually it will not support multiple buckets in all scenarios. I think syncing S3 has more meaning. Because when we name it support_multiple_buckets user will think that he can set some custom buckets for the backup, but this is not the case. Actually it's multiple bucket but only for S3 and multiple buckets here are buckets in SeaweedFS S3.
Also remember this is a feature only for S3 for syncing the buckets in another S3.

Why is this only limited to s3 sink?

Because you have a S3 on seaweed and another sink which is also a S3. So for kinda mirroring the S3 you can use this option. Kinda syncing them together. The backup S3 will be available when Seaweed S3 is down.
You can mirror other syncs but you have to check the structure of the destination backup sink.
But here the source and destination(backup) are both S3 and working with buckets

Is it duplicating with https://github.com/seaweedfs/seaweedfs/wiki/Gateway-to-Remote-Object-Storage ?

The concepts are kinda the same but here we are going for a passive backup. I mean a storage for only reading and sync with the buckets in seaweed. Also I checked remote.gateway, the configuration is much more easier and reliable, So kinda its a feature for s3 sync backup, not a whole remote mount and handling complicated things.
Thanks,

While I was checking filer.remote.gateway I encountered an issue.
As said in documentation I configured a remote.storage with the type of s3 like this in weed shell:
> remote.configure -name=myremote -type=s3 -s3.endpoint=<endpoint> -s3.access_key=<access_key> -s3.secret_key=<secret_key>
So it was possible for me to see the remote storage when executing remote.storage in weed shell:
"type":  "s3",
  "name":  "myremote",
  "s3AccessKey":  "ftR43YYrCwb2s7Td2f32",
  "s3SecretKey":  "****************************************",
  "s3Region":  "us-east-2",
  "s3Endpoint":  "<s3_endpoint>",
  "s3StorageClass":  "",
  "s3ForcePathStyle":  true,
  "s3SupportTagging":  true,
  "s3V4Signature":  false,
  "gcsGoogleApplicationCredentials":  "",
  "gcsProjectId":  "",
  "azureAccountName":  "",
  "azureAccountKey":  "",
  "backblazeKeyId":  "",
  "backblazeApplicationKey":  "",
  "backblazeEndpoint":  "",
  "backblazeRegion":  "us-west-002",
  "aliyunAccessKey":  "",
  "aliyunSecretKey":  "",
  "aliyunEndpoint":  "",
  "aliyunRegion":  "",
  "tencentSecretId":  "",
  "tencentSecretKey":  "",
  "tencentEndpoint":  "",
  "baiduAccessKey":  "",
  "baiduSecretKey":  "",
  "baiduEndpoint":  "",
  "baiduRegion":  "",
  "wasabiAccessKey":  "",
  "wasabiSecretKey":  "",
  "wasabiEndpoint":  "",
  "wasabiRegion":  "",
  "filebaseAccessKey":  "",
  "filebaseSecretKey":  "",
  "filebaseEndpoint":  "",
  "storjAccessKey":  "",
  "storjSecretKey":  "",
  "storjEndpoint":  "",
  "contaboAccessKey":  "",
  "contaboSecretKey":  "",
  "contaboEndpoint":  "",
  "contaboRegion":  ""

Then I head to running the weed filer.remote.gateway
First time i created a separate instance with this command:
weed filer.remote.gateway -filer=<filer_ip>:<filer_port> -createBucketAt=myremote
And second time I tried it inside the filer:
weed filer.remote.gateway -createBucketAt=myremote
In both attempts I encountered this error:
read mount info: remote storage is not configured in filer server
It seems it tries to read the remote storage from filer but it's not present, But when I run remote.configure in weed shell I see the remote storage like the list above.
Something important to mention, I did all the weed shell commands in master.
So actually I wasn't able to test it out to fully compare it to the current sink.s3 solution.
I will appreciate if you guide me through this.
Thanks,

So I checked the filer.remote.gateway and I encountered some errors, I solved them in these PRs:
https://github.com/seaweedfs/seaweedfs/pull/5100
https://github.com/seaweedfs/seaweedfs/pull/5102
After making filer.remote.gateway to work I tested it out to see its performance. Unfortunately It seems it has performance issues and is much more slower than the actual filer.backup. Maybe because of mount overhead or something.
E.g for a 5 min writes with 1Kb file size I wrote 140k files and the sync took 8 hours to complete!
In other hands configuring the filer.remote.gateway for backup is kinda complicated and filer backup is much more easier to use.
Also this backup process(s3.sink) is passive despite the mounting features. I mean changes on the backup S3 can make conflicts in local S3 and manipulate  the local data while using remote.gateway. But here we have only a backup just like the traditional s3.sink but instead of one bucket it backups in multiple buckets.
Please check this issue and do a little code review on what I did. Thanks,

So performance issue of filer.remote.gateway found and solved by me in this PR: https://github.com/seaweedfs/seaweedfs/pull/5123
Now this feature(filer.remote.gateway) is enough for me and does the work fine.
But I think this sync_s3_to_s3 is good to be present in sinks.
Also I will develop its performance to be just like filer.remote.gateway and filer.remote.sync.
The isolation level of this feature is better than mount options. So this is still an interesting feature to me .
I will support and develop its further features and also solve the bugs if we encounter one.
So I will be thankful to merge this feature before the next release. Thanks


Is this plugin still maintained ?

the last PL merged is one year old. There are plenty of bugs and PL opened. Is this still alive ? Thanks

I interested to know this too. Is it safe to still use it on any new ios and android projects?

I'm interested too. It is working for a new iOS 11.3.x project?

I've moved over to Code Push which is now part of Microsofts App Center. That plugin is working much better and its free as well. Since this hot code push plugin seems to be no longer maintained, App Center code push is a very good alternative for ionic since it supports cordova as well: https://github.com/Microsoft/cordova-plugin-code-push

I'm not using Ionic, so very interested in what else I could use besides trying to get this to work (which is kind of suspect at this point)

It looks to me like Microsoft supports a system like this without needing Ionic: https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cordova
I'm going to try this out in the next few weeks; fingers crossed it has no road blocks!

@diogeneshamilton Microsoft one looks promising. How is it ?

@sebastianovide ended up pushing the app without codepush since we are Android-first, but should be trying out in the next couple weeks as being able to update without releasing a new version is pretty important. I started going through the setup and it looks pretty easy!


[Feat]: Remove the generative-ai-js dependency

Describe the problem and solution that you'd like.
Replace the generative AI JS dependency and make a curl request instead. This will allow us to revert to
  "engines": {
    "vscode": "^1.77.0"
  },

in package.json and allow users to use the latest version.
Describe alternatives that you have considered.
No response
Additional Information
No response
Acceptance Criteria
No response

PRO Tip: Use gemini agent to make the migration.


scrollTo(0) doesn't work as expected

Thanks for putting this module together @ide . I'm seeing an issue where this code:
    triggerScroll: function() {
        this.setTimeout(() => {
            this.refs.<ListView reference>.getScrollResponder().scrollTo(0);
        }, 2000);
    },

doesn't actually scroll all the way to the bottom, but rather to an item near the end of the list. On the other hand it does seem to scroll the view so that the topmost item shows up at the top of the view (previously it rendered the items starting ~20% down leaving some whitespace at the top).

My guess is that you have an issue with contentInset or contentOffset not being set correctly.

My gut reaction is similar though it'd be easier to tell with a screenshot. Try setting automaticallyAdjustContentInsets={false} and seeing if that helps.

Thanks guys. The issue was that I was on react-native 0.7.0, 0.8.0 actually works with this. Closing.


Added groupedActions() to table

adds a new method groupedActions() to allow grouping actions together in the table

You can simply use the existing actions API with the action group object already.
This PR would only introduce inconsistencies.


Cannot see created instances

Hello,
I am using Zeebe version 1.0.0. I know there are some methods , related to deployment or create a workflow instance, which are different with respect to the original Zeebe version.
I am running my app with no exceptions or any issue, but when I go to localhost:8082, I do not see the instance I just created...
Why?

Hi @nachoroncero,
please make sure that for Zeebe 1.0.0, you're running the following components:

Hazelcast exporter 1.0.0
Zeebe Simple Monitor 2.0.0

Do you still face the issue?

Hello,
How can I get the Zeebe Simple Monitor 2.0.0?
I want to use docker-compose, but the link provided in the manual downloads
Zeebe 1.0.0 and Zeebe Simple Monitor 1.0.0…
Is there any other link where I can get the second version for
docker-compose?
Thank you for answer
El El vie, 18 jun 2021 a las 5:34, Philipp Ossler @.***>
escribió:

Hi @nachoroncero https://github.com/nachoroncero,
please make sure that for Zeebe 1.0.0, you're running the following
components:

Hazelcast exporter 1.0.0
https://github.com/camunda-community-hub/zeebe-hazelcast-exporter/releases/tag/1.0.0
Zeebe Simple Monitor 2.0.0
https://github.com/camunda-community-hub/zeebe-simple-monitor/releases/tag/2.0.0

Do you still face the issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/camunda-community-hub/zeebe-simple-monitor/issues/262#issuecomment-863729311,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN3H5JLBD6RHFH5H5C5BJ3TTK5CTANCNFSM46XLWCHQ
.

The docker image was moved to GitHub packages. The new image is published under:
ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.0.0

I updated the docs: https://github.com/camunda-community-hub/zeebe-simple-monitor#docker
Just a moment ago, I merged a PR to update the image in the zeebe-docker-compose repo: https://github.com/camunda-community-hub/zeebe-docker-compose/pull/44

Great, thank you.
Sorry for my questions but I am pretty new here.
So now,if I want to use Zeebe 1.0.0 and Simple Monitor 2.0.0,
Using the zeebe-docker-compose, I only run the directory that says only
broker, and then, I run with this command: docker pull
ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.0.0 for Simple Monitor
2.0.0?
Thank you
El vie, 18 jun 2021 a las 9:12, Philipp Ossler @.***>)
escribió:

The docker image was moved to GitHub packages. The new image is published
under:
ghcr.io/camunda-community-hub/zeebe-simple-monitor:2.0.0
I updated the docs:
https://github.com/camunda-community-hub/zeebe-simple-monitor#docker
Just a moment ago, I merged a PR to update the image in the
zeebe-docker-compose repo: camunda-community-hub/zeebe-docker-compose#44
https://github.com/camunda-community-hub/zeebe-docker-compose/pull/44
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/camunda-community-hub/zeebe-simple-monitor/issues/262#issuecomment-863813852,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN3H5IF32WJIZWZRNEQL3LTTLWVVANCNFSM46XLWCHQ
.

No. You need to pull the latest updates from the zeebe-docker-compose repo. Afterward, you can start the broker and the monitor as usual. It should start the monitor in version 2.0.0.

Just guessing, but @nachoroncero do you have a multi-node-cluster of zeebe running?
If so, your reported issue might be related to #278.

I'm closing this issue because of inactivity. Feel free to reopen if the issue is still relevant.


add Measure component

Seems like you're only using Measure for Scrollbar, add it to the Scrollbar component then. Also, what are you measiring? Name your components less ambiguous. Code is more often read than written.

Also, don't forget about the PR description, don't be vague


TypeError: 'type' object is not subscriptable while importing elphas SparkMLlibModel

Describe the bug
While importing the SparkMLlibModel using "from elephas.spark_model import SparkMLlibModel", I am getting the error "TypeError: 'type' object is not subscriptable" in multiple functions in "elephas/utils/rdd_utils.py" weherever subscript is used while defining types in function definition.

To Reproduce
To reproduce, we just need to execute the import statement "from elephas.spark_model import SparkMLlibModel"
Expected behavior
The import statements shouldn't run into any error.
Desktop (please complete the following information):

OS: Linux
Version
I am using Python version 3.8.5, pyspark version 3.2.3, tensorflow version 2.13.1 and keras version 2.15.0.

Additional context
Add any other context about the problem here.

🤔 Interesting - I'll need to see if the RDD API changed since I believe we've used those typehints for a while.


frontend: Message text & Label overlap in message history dialog.

message link: https://chat.zulip.org/#narrow/stream/48-mobile/subject/android/near/567505

@synicalsyntax are you interested in fixing the broken CSS of this feature?  It's kinda a mess.


Can't add msavin:mongol package

I can't add the mongol package. Get an issue.
Is it due to a conflict with underscore and lodash?
Is this somehow related? https://github.com/msavin/Mongol/issues/48
Tried to add mongol in the beginning or end it does not change.
Perhaps I'm doing something wrong?
W20150930-15:09:56.620(2)? (STDERR)
W20150930-15:09:56.621(2)? (STDERR) /home/ertix/.meteor/packages/meteor-tool/.<IP_ADDRESS>l55wcu++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20150930-15:09:56.626(2)? (STDERR) 						throw(ex);
W20150930-15:09:56.626(2)? (STDERR) 						      ^
W20150930-15:09:56.629(2)? (STDERR) TypeError: Property 'undefined' of object [object Object] is not a function
W20150930-15:09:56.630(2)? (STDERR)     at Package (packages/meteortoys_toykit/packages/meteortoys_toykit.js:290:1)
W20150930-15:09:56.630(2)? (STDERR)     at Package (packages/meteortoys_toykit/packages/meteortoys_toykit.js:293:1)
W20150930-15:09:56.630(2)? (STDERR)     at /home/ertix/meteor_projects/base-dl-01/.meteor/local/build/programs/server/packages/meteortoys_toykit.js:325:4
W20150930-15:09:56.630(2)? (STDERR)     at /home/ertix/meteor_projects/base-dl-01/.meteor/local/build/programs/server/packages/meteortoys_toykit.js:334:3
W20150930-15:09:56.630(2)? (STDERR)     at /home/ertix/meteor_projects/base-dl-01/.meteor/local/build/programs/server/boot.js:242:10
W20150930-15:09:56.630(2)? (STDERR)     at Array.forEach (native)
W20150930-15:09:56.630(2)? (STDERR)     at Function._.each._.forEach (/home/ertix/.meteor/packages/meteor-tool/.<IP_ADDRESS>l55wcu++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/underscore/underscore.js:79:11)
W20150930-15:09:56.631(2)? (STDERR)     at /home/ertix/meteor_projects/base-dl-01/.meteor/local/build/programs/server/boot.js:137:5
=> Exited with code: 8

This may be an error in Mongol. It doesn't look like it's related to the issue you linked, but this reads like something in the code is trying to access on a non-existent property on an object.
TypeError: Property 'undefined' of object [object Object] is not a function

I'll flag this to test and install a copy of Meteor Toys and see what I get on my end.

Testing now. Can confirm an install and running the package as expected:

@paul-bo can you try updating mongol (meteor update msavin:mongol) to see if this helps?

I could not replicate the error again. That's strange but everything is running perfect now.
Thank you for testing.

Cool, glad it's working :) no problemo.


no module named ‘models'

When I run 'python extract_monet_features.py', it throw an error : no module named 'models' . Is there lack of models.py.

When I run 'python extract_monet_features.py', it throw an error : no module named 'models' . Is there lack of models.py.

Thank you for your feedback. I have updated the missing files.


feat(windows): allow setting memory usage target level

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Checklist

[ ] This PR will resolve #___
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary
[x] It can be built on all targets and pass CI/CD.

Other information
This PR adds an API to control the memory usage target level for WebView2.
I noticed my application consumed much memory (more than 100MB) and looked for how to reduce the memory usage, and I found the following guide.
https://github.com/MicrosoftEdge/WebView2Feedback/blob/main/specs/MemoryUsageTargetLevel.md
To try this best practice, I implemented the API and had some experiment. I modified hello_world example to switch to 'Low' level when the window lost its focus. Then I ran it with monitoring its memory usage with Task Manager. As the result, I could see 94.8% improvement in memory usage on inactive state.

In 'Normal'
Just after switch to 'Low'
30 secs after switch to 'Low'

Mem
149.8MB
82.3MB
7.8MB

Rate
100%
54.9%
5.2%

diff --git a/examples/hello_world.rs b/examples/hello_world.rs
index f74d276..8509023 100644
--- a/examples/hello_world.rs
+++ b/examples/hello_world.rs
@@ -12,11 +12,14 @@ fn main() -> wry::Result<()> {
     webview::WebViewBuilder,
   };

+  #[cfg(target_os = "windows")]
+  use wry::webview::WebviewExtWindows as _;
+
   let event_loop = EventLoop::new();
   let window = WindowBuilder::new()
     .with_title("Hello World")
     .build(&event_loop)?;
-  let _webview = WebViewBuilder::new(window)?
+  let webview = WebViewBuilder::new(window)?
     .with_url("https://www.netflix.com/browse")?
     // .with_incognito(true)
     .build()?;
@@ -30,6 +33,14 @@ fn main() -> wry::Result<()> {
         event: WindowEvent::CloseRequested,
         ..
       } => *control_flow = ControlFlow::Exit,
+      #[cfg(target_os = "windows")]
+      Event::WindowEvent {
+        event: WindowEvent::Focused(gained),
+        ..
+      } => {
+        println!("Focus event: {}", gained);
+        webview.set_low_memory_usage(!gained);
+      }
       _ => (),
     }
   });

In 'Normal' level

Just after going to 'Low'

30 seconds passed after going to 'Low'

First of all, thanks for the awesome contribution!
Secondly, this now introduces a problem we haven't dealt with in wry yet afaik. This api is fairly new and we can't assume that the user has a webview2 version this new. in general, in case the wv2 auto updater is disabled or something, but more importantly, windows 7 and 8 are stuck with an older webview2 version than required.
I am not really sure how we would implement a failguard here, just raising awareness for the team :)
One thing i'm not sure about is if we're even alowed to update the wv2 sdk (via the webview2-com crate) or if that alone can already cause issues if the sdk is newer than the runtime 🤔

@FabianLars Thanks for the point.

This api is fairly new and we can't assume that the user has a webview2 version this new.

If this method is not available, I believe the program reaches this line. So set_low_memory_usage is no-op in this case and it is okay because this is kind of optimization. When this method is called with older WebView2, it does nothing. It means the memory usage doesn't change and there would be no problem. That's why I implemented this API not to return Error value and instead to ignore any errors.

I'm not sure how aware of the runtime the sdk is, but i still have a Window 7 VM so i'm just gonna try it out :)

Thank you. I have only a Windows 10 machine...

Alrighty, indeed doesn't seem to crash on Win7 (and also builds fine on it directly too). great!

set_memory_usage and MemoryUsage may be more generic and appropriate (I have no strong opinion).


Adding/updating stored procedures on a Gremlin model database

I'm not seeing a way to create/update stored procedures on a Gremlin database through the fluent management API or otherwise.
Am I missing something or is this just not supported by the resource provider API?
We use them in our graph database as we also manipulate the documents directly and communicate with it through the cosmos client and SQL API.
In the past, we used to create these automatically using the javascript v2 SDK, same thing we did for cosmos SQL databases but I am attempting to migrate this to using these management SDKs if possible as our previous way of maintaining these objects was broken.

Hey @markjbrown sorry for the direct mention, just wanted to call your attention in case you haven't seen the question at all. Otherwise, no worries, thanks!

Sorry for not seeing this sooner.
Stored procedures are not supported within our resource provider for the Gremlin API and there are no plans to support for these.
Thanks.


Pull request Error

I am submitting a pull request error for
Pull Request
I'm getting the following error:
 1 test failed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "test:unit" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.

Any Suggestions?

PR was closed so I assume you solved the problem?


Column group validation

Column group is supported for only dictionary columns. So we need to do validation for non mdkey or no dictionary columns
1.DictionaryExcluded column
2.Timestamp column
3.Measure
4.Complex column
Also validation is required if same column is given in more than one group

This issue is handled by pr #606


[Tests] Fix some invalid error messages

These used utf8().get_data() when they should be passed as String
Otherwise the specific warning won't be printed

Thanks!

Thank you!


Added DeepDiff support

Based on:
https://github.com/d4l3k/messagediff/issues/1

Wow! :shipit: save tests