[CARBONDATA-1425] Inappropriate Exception displays while creating a new partition with incorrect partition type

change the error content when the range info data mismatch the partition field's data type
the new  showing content as below:
"Data in range info must be the same type with the partition field's type"

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/579/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/583/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/584/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/591/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/111/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/11/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/737/

retest this please

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/776/

retest this please

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/151/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/30/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/169/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/46/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/799/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/174/

Build Failed with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/50/

retest this please

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/52/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/176/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/804/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/806/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/62/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/186/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/817/

LGTM


General cleanup of webhook docs

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

Changes were mostly minor (consistency, writing, clarity, etc)

LGTM, thanks :)


Error parsing config.json file - Unexpected end of JSON input

Copying issue from https://github.com/DIG-Network/chia-dig-node/issues/22

Hi,
I'm encountering an error when starting the DIG Propagation Server. Below are the details of the error message:
bash:
2024-10-01 20:51:13 propagation-server-1 | Error: Error parsing your configuration file: [/.dig/config.json]: Unexpected end of JSON input
at File.loadSync (/app/node_modules/nconf/lib/nconf/stores/file.js:170:11)
at Provider.add (/app/node_modules/nconf/lib/nconf/provider.js:136:23)
at Provider.file (/app/node_modules/nconf/lib/nconf/provider.js:63:15)
at NconfManager.initializeConfig (/app/node_modules/@dignetwork/dig-sdk/dist/utils/NconfManager.js:28:25)
Node.js v20.8.0
It seems like the config.json file is malformed, leading to a parsing error with the Unexpected end of JSON input message.
Steps to reproduce the issue:
Start the DIG Propagation server with the current configuration.
The error occurs when loading the /.dig/config.json file.
Expected behavior:
The server should start normally with the configuration file loaded correctly.
Actual behavior:
The server crashes with a parsing error in the config.json file, indicating the file is incomplete or incorrectly formatted.
Additional information:
Node.js version: v20.8.0
File in question: /.dig/config.json
If you need further details or the current configuration file, I can provide it. Please let me know if any corrections to the JSON syntax are needed or if there is an example of a properly formatted configuration file available.
Thank you for your help!

The fille is here but empty .

I'm having this issue as well (screenshot provided).  Created a PR that should resolve it https://github.com/DIG-Network/dig-chia-sdk/pull/155


Recommend to use puppeteer-proxy

There are many issues relating to use of Puppeteer with proxy.
The common topics are:

Setting a different HTTP proxy for each Page (e.g. #678)
Handling authentication (e.g. #3253)
Removing proxies on the fly (e.g. #4890)

To address these issues I have published package puppeteer-proxy.
puppeteer-proxy intercepts requests after it receives the request metadata from Puppeteer. puppeteer-proxy uses Node.js to make the HTTP requests. The response is then returned to the browser. When using puppeteer-proxy, browser never makes outbound HTTP requests.
The side-benefit of this implementation is that it allows to route all traffic through Node.js, i.e. you can use externally hosted Chrome instance to render DOM & evaluate JavaScript, and route all HTTP traffic through your Node.js instance.
The downside of this implementation is that it will introduce additional latency, i.e. requests will take longer to execute as request/ response will need to be always exchanged between Puppeteer and Node.js.
I believe it would benefit others if it was documented as a viable solution to using HTTP proxies with Puppeteer.

Remains relevant

Remains relevant

Hey, thanks for publishing and maintaining the package! I suggest that you include it to https://github.com/transitive-bullshit/awesome-puppeteer which is referenced from our README.


[Docs]: Replace docs.appsmith.com embedded video

Problem Statement
The video being currently embedded in the main docs.appsmith.com page (Appsmith in 100 seconds) is outdated and does not represent the current state of the product. We've produced a better, more recent video that can be embedded there.
Please replace it with the following one: https://www.youtube.com/watch?v=jhyDI0e1o08
Use Cases / User query reference
Replace the "Appsmith in 100 seconds" video in the docs page with https://www.youtube.com/watch?v=jhyDI0e1o08
Audio/Video Recording
https://www.youtube.com/watch?v=jhyDI0e1o08
Product Requirements Document
No response
Other Relevant Links
No response
Checklist

[X] Reviewed existing documentation to ensure this request is not duplicated.
[X] Attached relevant media or supporting materials like links to the PRD, feature recordings, Slack or Discord links, and any other relevant resources.

@Nikhil-Nandagopal @kevinblanco fixed and raised a PR for this issue

@kevinblanco - As discussed earlier, we can open a new ticket when the 100-minute video is updated.


add page on how to get involved, contribute to material etc

i changed the "Forum" link on the top menu to a separate page called "Get Involved", with info on the forum, joining as a helper and contributing to material

Wonderful! Thank you!


Removed functions.util.* as they don't seem to be used (for many years).

Description
Remove files which don't seem to be used, they have a TODO comment from 2008 and hasn't been meaningfully changed since 2003.
How Has This Been Tested?
Ran unit tests.

Codecov Report

Merging #335 into trunk will increase coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##              trunk     #335      +/-   ##
============================================
+ Coverage     57.91%   57.91%   +<.01%
+ Complexity    10025    10024       -1
============================================
  Files          1148     1146       -2
  Lines         73789    73781       -8
  Branches       7328     7328
============================================
- Hits          42734    42733       -1
+ Misses        28577    28570       -7
  Partials       2478     2478

Impacted Files
Coverage Δ
Complexity Δ

...c/core/org/apache/jmeter/reporters/Summariser.java
85.38% <0%> (-0.77%)
18% <0%> (-1%)

Continue to review full report at Codecov.

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


Add device example message

Community feedback requested an example message for the smartmetering web services. This is the fist example made by @phoutman.

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

All is well.

All is well.

All is well.

All is well.

All is well.

Smart metering can be implemented using various protocols. The example is very specific for DSMR. I advise putting the example in the Protocols chapter.
Then link to the example from the webservice operation page or make a general statement "for examples, see section ..." in a centralized location to prevent constantly updating links.
Also add a response message example.
Approving the content should be done by someone from the team in Eindhoven.

@phoutman can you take a look at this?
https://smartsocietyservices.atlassian.net/browse/OC-362
@rlemmers your name is in the documentation; if this does not reflect the current situation we need to update it.
Current maintainers:
Open smart grid platform and smart lighting domain: Kevin Smeets
Smart metering domain: Bart van der Zwet
Documentation & configuration: Ruud Lemmers

"@rlemmers your name is in the documentation; if this does not reflect the current situation we need to update it." - when it comes to details about smart metering, someone from that domain should check the content. There's nobody who has expert knowledge about all domains. Therefore, you don't have to modify the maintainer for "Documentation & configuration".

All is well.

Any news from @phoutman regarding my input?

No, not yet, I send @phoutman an e-mail to remind him of this issue. Btw, made some little tweaks to the maintainer section of the documentation to clarify the role of the documentation/configuration maintainer.

I agree with @rlemmers that this is very domain specific and that part should be updated by someone with in-depth knowledge of that domain. But I still think it is the responsibilty of the documentation maintainer to get someone to update the documentation.

@rlemmers can you file an Jira issue on this topic?

device configuration example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.alliander.com/schemas/osgp/common/2014/10" xmlns:ns1="http://www.alliander.com/schemas/osgp/smartmetering/sm-configuration/2014/10">
soapenv:Header
ns:ApplicationNameSoapUI</ns:ApplicationName>
ns:UserNametestuser</ns:UserName>
ns:OrganisationIdentificationtest-org</ns:OrganisationIdentification>
</soapenv:Header>
soapenv:Body
ns1:SetConfigurationObjectRequest
ns1:DeviceIdentification${=testCase.getPropertyValue( "DeviceIdentification" )}</ns1:DeviceIdentification>
ns1:SetConfigurationObjectRequestData
ns1:ConfigurationObject
ns1:GprsOperationModeALWAYS_ON</ns1:GprsOperationMode>
ns1:ConfigurationFlags
ns1:ConfigurationFlag
ns1:ConfigurationFlagTypeDISCOVER_ON_POWER_ON</ns1:ConfigurationFlagType>
ns1:Enabled1</ns1:Enabled>
</ns1:ConfigurationFlag>
</ns1:ConfigurationFlags>
</ns1:ConfigurationObject>
</ns1:SetConfigurationObjectRequestData>
</ns1:SetConfigurationObjectRequest>
</soapenv:Body>
</soapenv:Envelope>


elm-analyse integration: Clicking in Problems pane searches for file in wrong directory

Environment
OS: macOS 10.13.4
VSCode: Version 1.26.0-insider
What
After running elm-analyse, I see an accurate printout of problems in the Problems pane. However, when I click on one of the problems it throws an error that it couldn't find the file.
Why
Though elm-analyse scans the correct project directory, it assumes the first directory in the workspace contains the elm file I clicked.
GIF

Related issues
Maybe related to https://github.com/Krzysztof-Cieslak/vscode-elm/issues/183
I experience a similar issue when starting Elm Reactor. After navigating to http://<IP_ADDRESS>:8000, it shows me the directory structure for the first directory in the workspace rather than the elm directory.
Thank you
Elm is a pleasure to work with, and this extension makes it a great pleasure to work with in VSCode. Thanks!

Just want to report that I'm having this issue too. It started once I started working on upgrading my code base from Elm 0.18 to Elm 0.19.


Add radio button

https://github.com/IBM/carbon-components-builder/issues/40

When radio is selected, there should be an option to make it default selected.
When group is selected, there should be an option (dropdown menu) to select which radio is default selected.
Having nothing as default selected should be an option 🤔

When radio is selected, there should be an option to make it default selected. When group is selected, there should be an option (dropdown menu) to select which radio is default selected. Having nothing as default selected should be an option 🤔

Isn't that the same thing. selecting a radio and making it default and selecting a default from the group?  Why not just set the default option from when the group is selected

Why isn't Adder showing left add button?

Why isn't Adder showing left add button?

has both, good to go now

When radio is selected, there should be an option to make it default selected. When group is selected, there should be an option (dropdown menu) to select which radio is default selected. Having nothing as default selected should be an option 🤔

Isn't that the same thing? selecting a radio and making it default and selecting a default radio option from the group? Why not just set the default option from the group

Because you could intuitively end up trying either thing. And why wouldn't you?

done

Something's broken https://app.netlify.com/sites/carbon-components-builder/deploys/62604ef00f85060008279767

Something's broken https://app.netlify.com/sites/carbon-components-builder/deploys/62604ef00f85060008279767

so its looking for the type in tiles, that'll come from this pr https://github.com/IBM/carbon-components-builder/pull/72


Highlight changed files

It would be helpful if the side bar could highlight files and directories that contain changes, so it's easier to find the needle in the haystack in large code bases.
Cool project idea BTW :sunglasses:

Hey, thanks so much for the feedback! I'm working on implementing this right now. Basically going to make it so that it shows a quick summary of how many lines were added/removed. This is what it would look like:

This takes a little bit of rewriting (need to create all of the diff data ahead of time rather than lazily when viewing a file) but I think it should be doable.

The latest commit implements this. Should already be deployed. Seems to work pretty good, only downside is that it now takes longer for the UI to load, because we have to generate the diff for all of the files in the crate (so that we can render the summary). I'm thinking of refactoring it a bit to where we initially only compute the diff for the current file, so that it can display something to the user, and meanwhile asynchronously compute the rest of the data and then backfill. So basically the summary data would appear a second or so later.


Not rendering after screen resize

The screen doesn't render any graphics after you risize using Gdx.graphics.setDisplayMode().
This only happens if you are drawing nothing into the screen, only using glClear to show a background color.
Using the source example for a new libgdx project
public class MyGdxGame extends ApplicationAdapter {
	SpriteBatch batch;
	Texture img;

	@Override
	public void create () {
		batch = new SpriteBatch();
		img = new Texture("badlogic.jpg");

		Gdx.graphics.setDisplayMode(800, 600, false); //<- Change display mode
	}

	@Override
	public void render () {
		Gdx.gl.glClearColor(1, 0, 0, 1);
		Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
		batch.begin();
//		batch.draw(img, 0, 0); //<- do not render anything besides the glClear
		batch.end();
	}
}

Using the above code will show an empty window with no rendering. If you uncomment the batch.draw() line, the background will render again.
notes: I'm on Linux 32 using the latest stable release.

Works correctly for me with Fedora 21.

Closing this as we can't reproduce it.


fix outputDirectory support for child modules

Fix handling of the outputDirectory property so it's relative to the project directory. This is not currently working for submodules.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Bofrost.es has degraded performance

In fcdb2be, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1589 ms

Resolved: Bofrost.es performance has improved in d58f3c8 after 6 minutes.


Python language server stops after a few minutes

I am running a remote development environment which connects from a windows 11 machine to a linux server (SLES12).

Pylance version: 2023.7.20
Python version: using anaconda to manage py3.9 environment
Python extension: 2023.12.0
VScode: 1.80

When I open a python file, the python language server works fine (showing autocompletion , go to definition, etc. ) for a couple of minutes and then stops. I have to restart the language server manually to get the autocompletion for a few minutes again and then the same thing happens.
Below you can see the log of the language server
2023-07-18 16:22:41.429 [info] [Info  - 4:22:41 PM] (14825) Pylance language server 2023.7.20 (pyright 74d8f3c4) starting
2023-07-18 16:22:41.445 [info] [Info  - 4:22:41 PM] (14825) Server root directory: /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.20/dist
2023-07-18 16:22:41.445 [info] [Info  - 4:22:41 PM] (14825) Starting service instance "1_variation_sil2sim"
2023-07-18 16:22:41.500 [info] [Info  - 4:22:41 PM] (14825) Setting pythonPath for service "1_variation_sil2sim": "/nfs/site/home/adavoody/.conda/envs/adavoody/bin/python"
2023-07-18 16:22:41.510 [info] [Warn  - 4:22:41 PM] (14825) stubPath /nfs/site/home/adavoody/workspace/1_variation_sil2sim/typings is not a valid directory.
2023-07-18 16:22:41.547 [info] [Info  - 4:22:41 PM] (14825) Assuming Python version 3.11
2023-07-18 16:22:42.001 [info] [Info  - 4:22:42 PM] (14825) Found 22 source files
2023-07-18 16:22:42.029 [info] [Info  - 4:22:42 PM] (14825) Background analysis(1) root directory: /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.20/dist
2023-07-18 16:22:42.029 [info] [Info  - 4:22:42 PM] (14825) Background analysis(1) started
2023-07-18 16:22:42.592 [info] [Info  - 4:22:42 PM] (14825) Indexer background runner(2) root directory: /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.20/dist (index)
2023-07-18 16:22:42.592 [info] [Info  - 4:22:42 PM] (14825) Indexing(2) started
2023-07-18 16:22:44.639 [info] [Info  - 4:22:44 PM] (14825) [IDX(2)] Long operation: scan packages /nfs/site/home/adavoody/workspace/1_variation_sil2sim (2245ms)
2023-07-18 16:22:44.639 [info] [Info  - 4:22:44 PM] (14825) scanned(2) 367 files over 1 exec env
2023-07-18 16:22:50.314 [info] [Info  - 4:22:50 PM] (14825) [BG(1)] Long operation: checking: /nfs/site/disks/MHC/src/process_data.py (7194ms)
2023-07-18 16:22:50.315 [info] [Info  - 4:22:50 PM] (14825) [BG(1)] Long operation: analyzing: /nfs/site/disks/MHC/src/process_data.py (7721ms)
2023-07-18 16:22:54.229 [info] [Info  - 4:22:54 PM] (14825) [IDX(2)] Long operation: index execution environment /nfs/site/home/adavoody/workspace/1_variation_sil2sim (9407ms)
2023-07-18 16:22:54.453 [info] [Info  - 4:22:54 PM] (14825) [IDX(2)] Long operation: index packages /nfs/site/home/adavoody/workspace/1_variation_sil2sim (9639ms)
2023-07-18 16:22:54.453 [info] [Info  - 4:22:54 PM] (14825) indexed(2) 246 files over 1 exec env
2023-07-18 16:22:54.493 [info] [Info  - 4:22:54 PM] (14825) Indexing finished(2).
2023-07-18 16:24:28.872 [info] [Info  - 4:24:28 PM] Connection to server got closed. Server will restart.
2023-07-18 16:24:28.872 [info] true
2023-07-18 16:24:29.234 [info] [Info  - 4:24:29 PM] (16868) Pylance language server 2023.7.20 (pyright 74d8f3c4) starting
2023-07-18 16:24:29.234 [info] [Info  - 4:24:29 PM] (16868) Server root directory: /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.20/dist
2023-07-18 16:24:29.243 [info] [Info  - 4:24:29 PM] (16868) Starting service instance "1_variation_sil2sim"
2023-07-18 16:24:29.600 [info] [Info  - 4:24:29 PM] (16868) Background analysis(1) root directory: /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.20/dist
2023-07-18 16:24:29.602 [info] [Info  - 4:24:29 PM] (16868) Background analysis(1) started

Thanks for the issue. Could you also share the entire logs or the logs right before pylance stops?

I think I copied the entire logs under python language server section. There are only a few minutes before the issue happens, so the logs are pretty short. If I am looking at the wrong places show me where to get all the logs.

I believe we need this setting changed to 'trace'? It looks like it's not set to trace at the moment.
"python.analysis.logLevel" : "trace"

That should show more information about why it suddenly stopped.

Here is the logs after setting the logLevel flag to trace: log.txt

Okay I guess that didn't show anything else. Just that the connection was dropped for some reason. We'll likely have to add more logging.
This option here (if we set it) might help track down what the problem might be.
https://github.com/microsoft/vscode-languageserver-node/blob/f2ff7d55464a1f58f978cb6635bd8865f050553c/client/src/common/client.ts#L368
There is something suspicious though. This error here:
2023-07-20 17:05:40.546 [info] o [Error]: Unhandled method python/isTrustedWorkspace
    at /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.30/dist/vendor.bundle.js:2:1203703
    at ie (/nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.30/dist/vendor.bundle.js:2:1203997)
    at /nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.30/dist/vendor.bundle.js:2:1198756
    at Immediate.<anonymous> (/nfs/site/disks/tadm_work_19/.vscode-server/extensions/ms-python.vscode-pylance-2023.7.30/dist/vendor.bundle.js:2:1198776)
    at processImmediate (node:internal/timers:466:21) {
  code: -32601,
  data: undefined
}

That tells me that the client side of the extension wasn't created correctly.
@amirhosseindavoody can you share your settings.json for the remote and local machines?

Sure, here are the json settings:
local-user-settings.txt
workspace-settings.txt
remote-settings.txt

Can you tell us the version of the python and pylance extensions for both remote and local?
And I assume you're using SSH to connect to the linux machine?

Yes, I am using ssh.
Both Local and Remote are:

Python: v2023.12.0
Pylance: v2023.7.30

Have you tried Increasing Memory Limit? Just try to open your VS Code settings (File > Preferences > Settings), search for "Pylance Memory Limit," and set a higher value (For example 8192MB).

On the other hand, disable extensions temporarily to check if any extension conflicts are causing the issue.

Not sure where 'Pylance memory limit' is found. I don't see that in my settings.
However, there is a way to increase the memory allowed by VS code. See this comment here:
https://github.com/microsoft/pylance-release/issues/4121#issuecomment-1479713013
This tells VS code to start the node process for pylance (or any other node process it starts) with a higher memory limit.
That being said, I don't think @amirhosseindavoody's issue is an out of memory problem. We'd see that in the logs. It's more like the connection is timing out.

Uhm maybe, because I though about update Pylance and Python Extension to ensure that you are using the latest versions of Pylance and the Python extension for Visual Studio Code, because could be going to the Extensions view in VS Code, search for "Pylance" and "Python," and click the "Update" button if updates are available.
Also is easy to check increasing server timeout in your VS Code settings for the language server to see if it helps with the issue:
"python.languageServer": "Pylance",
"python.analysis.extraPaths": ["/nfs/site/home/adavoody/.conda/envs/adavoody/lib/python3.9/site-packages"],

I am agree about the resource utilization, in some cases the remote development environment has sufficient resources (CPU, memory, etc.) to handle the language server and your codebase. If the resources are limited, I would consider upgrading or optimizing your environment.

It's possible it's a timeout issue, since in my logs I've got a few long operations running before the restart happened. Sometimes analyzing, renaming, saving, deleting and similar operations on files get stuck or take a long time for no good reason. Not sure if the issue is pylance or something else here.
2023-08-17 14:22:04.261 [info] [Info  - 2:22:04 PM] (1433053) [BG(2)] Long operation: checking: /home/ubuntu/projects/algotrading/pairs-trading/crypto_btc_eth_test/PairsTrading.ipynb:pylance-notebook-cell:Y125sdnNjb2RlLXJlbW90ZQ==.py (12617ms)
2023-08-17 14:22:04.261 [info] [Info  - 2:22:04 PM] (1433053) [BG(2)] Long operation: analyzing: /home/ubuntu/projects/algotrading/pairs-trading/crypto_btc_eth_test/PairsTrading.ipynb:pylance-notebook-cell:Y125sdnNjb2RlLXJlbW90ZQ==.py (12617ms)
2023-08-17 14:22:07.159 [info] [Info  - 2:22:07 PM] (1433053) [BG(2)] Long operation: analyzing: /home/ubuntu/projects/algotrading/pairs-trading/crypto_btc_eth_test/PairsTrading.ipynb:pylance-notebook-cell:pylancePrefixCell.py (15550ms)
2023-08-17 14:25:23.030 [info] [Info  - 2:25:23 PM] Connection to server got closed. Server will restart.
2023-08-17 14:25:23.031 [info] true
2023-08-17 14:25:23.587 [info] [Info  - 2:25:23 PM] (1455940) Pylance language server 2023.8.30 (pyright 634c8074) starting

I also think it's a timeout issue, when I use "Go to Symbol in workspace" it sometimes takes very long, and never finds anything. And in the logs there's the same Connection to server got closed. Server will restart.. And it just stops working. And I have to manually restart the server or reload the window in order to make it work.

It turned out to be a memory issue, looks like pylance was getting killed due to out of memory.
Once I increased memory in Docker desktop settings the issue is gone

Thanks for the update @ivirabyan, glad the issue was resolved.

It turned out to be a memory issue, looks like pylance was getting killed due to out of memory. Once I increased memory in Docker desktop settings the issue is gone

how do you do this in docker desktop?  im seeing similar issues recently...and my code base is not large at all

It's in the docker desktop settings, you can configure how much memory, cpu, disk space to use


Flutter app is failing after updating Flutter channel to "beta"

I have a Flutter app that is working fine on the Flutter stable channel. However, I am now going to get it running on web and once I updated my Flutter channel to the beta channel(I also tried master) I get a few dart errors that is preventing the app from running.
After updating to the beta channel there are a few repeating errors I am seeing with dart. The main issue I keep seeing is
String isn't a type. Try correcting the name to match an existing type.dart(not_a_type.
I am not sure why I would be getting this error but it is preventing my from running the app and is present in a few different files.
For example, in the code, it is throwing this error on the following line:
static const String authRequestNumber = "Let’s get you logged in. What’s your {mobile number}?";

For whatever reason the String is throwing the error String isn't a type. Try correcting the name to match an existing type.dart(not_a_type.
I am not too sure why this would be happening with the Flutter channel update as it seems like basic code but if anyone knows why this is happening that would be very helpful.
Steps to Reproduce

Upgrade Flutter channel to the beta channel
Run Flutter upgrade
Run Flutter pub get

After that the editor shows the previous errors. Everything was fine on the stable channel.
Logs
dynamic String()
package:flutter_loop/utils/strings.dart

String isn't a type.
Try correcting the name to match an existing type.dart(not_a_type)

Undefined class 'extension'.
Try changing the name to the name of an existing class, or creating a class with the name 'extension'.dart(undefined_class)

Downloading android-arm-profile/darwin-x64 tools...                 1.0s
Downloading android-arm-release/darwin-x64 tools...                 1.3s
Downloading android-arm64-profile/darwin-x64 tools...               0.8s
Downloading android-arm64-release/darwin-x64 tools...               0.8s
Downloading android-x64-profile/darwin-x64 tools...                 0.8s
Downloading android-x64-release/darwin-x64 tools...                 0.7s
[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.15.1 19B88, locale en-NZ)
    • Flutter version 1.14.6 at /Users/bradyedgar/App_Development/flutter
    • Framework revision fabeb2a16f (6 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/bradyedgar/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (3 available)
    • sdk gphone x86 • emulator-5554 • android-x86    • Android R (API 29) (emulator)
    • Chrome         • chrome        • web-javascript • Google Chrome 80.0.3987.132
    • Web Server     • web-server    • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

Out of curiosity, if you do a flutter clean does it go away?

You should not have to do either of these things, but I've definitely seen a stale analysis cache give me strange analysis errors before.

@dnfield Looks like that fixed it!
Not to sure what was going on here but it turns out this was more of a Visual Studio Code issue. I was still able to run the app, but Visual Studio would throw those errors. Kind of odd but what you suggesting by running rm -rf ~/.dartServer seemed to resolve it.
Thanks so much for the help!

I'm reopening this - I've seen this when changing branches locally but assumed I was just abusing my local tree somehow.  End users should never have to do this.
/Cc @jonahwilliams @zanderso @stereotype441

@bwilkerson @devoncarew What are some reasons that the analyzer cache might need to be flushed? Do you have recommendations for how we might detect that from tooling?

We could be aggressive and say if the engine revision has changed, flush the cache.
Ideally we wouldn't have to do that - the analyzer would just dirty its own cache in such a condition.

cc @stereotype441 for this issue - resolved by clearing the analysis server cache.
@zanderso - flutter tooling definitely shouldn't have to manage the analysis server cache. The files in the cache already use a checksum of many different things to ensure that we should actually use that cached info (instead of just recomputing). The checksum includes things like the sdk version, options used when analyzing, .... @scheglov can provide a link to the source file for things we check.
Any issues w/ using stale info in the cache would be bugs in the analysis server (I don't think we should work around them by having flutter_tools manage the cache).

@devoncarew Sounds good. What information is needed to help debug?

We include various options into linked and unlinked signatures that are parts of the full result signature. We don't include SDK version per se, but every analysis result signature is based on content of the transitive set of referenced files.
Issues like this are hard to debug. Ideally we would need a reproduction scenario.

This issue reproduces semi-regularly if you bounce around Flutter commits that involve a Dart revision change.  Something like
git checkout master
flutter doctor
git checkout dev
flutter doctor
git checkout beta
flutter doctor
git checkout stable
flutter doctor
git checkout master
flutter doctor

Eventually you'll see analysis results that make no sense.
Looking at the signature code, it appears to sometimes not use the version of the SDK. Using that seems like it would fix the issue, provided its fine grained enough (i.e. going from one commit of the SDK to another changes it).  Is there some reason to not use the git hash fo the SDK commit itself in this code?

Does flutter doctor do analysis?
Or do you need to have something else running and reporting analysis results?
We don't use SDK hash, because this works only for SDK, and not for packages or user code that keeps changing. By using hashes of file contents we support all kinds of files, and only actual changes (e.g. if some SDK library did not change, it will not prevent reusing analysis results).

flutter doctor does not do analysis as far as I'm aware.  It does cause the correct version of the Dart SDK to get downloaded and rebuild the flutter tool.
Isn't the SDK special, because if it mismatches the code consuming the cache might have changed?  My assumption here is that the underlying problem is that the code for reading/storing/parsing/encoding the cache information can change from one SDK revision to another, and that the bad results are coming from things related to that.

I still don't see explicitly stated which code produces errors. I will guess that this is Dart Analysis Server (DAS) in some IDE.
Yes, if you download new Dart SDK, you will get a different version of DAS with it. But DAS by itself will not restart, although the IDE might detect that Dart SDK changed, and restart DAS. DAS actually reads very little from Dart SDK - only libraries.dart file to know which dart: libraries are available, and (when actually used) content of these libraries. DAS does not read anything binary from Dart SDK. Analyzer (and so DAS) knows the DATA_VERSION of the data in the cache that it understands, and this version is included into every cache key, so that we don't use cache entries that have changed format, all kinds of weird issues would happen otherwise.
But per se new Dart SDK is not special, dart files from there are just same as dart files from packages.

I've seen this happen from the CLI - for example, do flutter analyze on any of the example projects there between flutter doctor and flutter channel runs.

I've seen this happen from the CLI - for example, do flutter analyze on any of the example projects there between flutter doctor and flutter channel runs.

FYI, flutter analyze uses the analysis server for analysis - it is essentially the same workflow as IDEs.

Hm... git checkout dev does not work in my copy of flutter repo.
Do I need to check it out differently? I probably did it long time ago.
scheglov@scheglov-macbookpro2:~/Source/flutter (master)$ git checkout dev
fatal: 'dev' could be both a local file and a tracking branch.
Please use -- (and optionally --no-guess) to disambiguate
scheglov@scheglov-macbookpro2:~/Source/flutter (master)$ git remote -v
origin	git@github.com:scheglov/flutter.git (fetch)
origin	git@github.com:scheglov/flutter.git (push)
upstream	https://github.com/flutter/flutter (fetch)
upstream	https://github.com/flutter/flutter (push)

Also, you say flutter channel, but the scenario above used git checkout - are these the same?

Ah, if I do git clone https://github.com/flutter/flutter.git, then flutter channel dev worked.

Yes, but flutter analyze doesn't keep the analysis server running (unless you use --watch, which I'm not doing).

flutter channel is more or less a fancy wrapper around git checkout for specific tag names.

I ran this sequence 4 times and was not able to reproduce errors.
flutter channel master; flutter doctor; flutter update-packages; flutter analyze examples/catalog
flutter channel dev; flutter doctor; flutter update-packages; flutter analyze examples/catalog
flutter channel beta; flutter doctor; flutter update-packages; flutter analyze examples/catalog
flutter channel stable; flutter doctor; flutter update-packages; flutter analyze examples/catalog

@scheglov why do we not include the SDK version? Don't we risk that any content created by one version might be invalid for another version?

@dnfield the next time you see this, could you give the starting and ending git tags or hashes, and the sequence of commands you ran?

@mit-mit Do you think about some specific content? Dart code? Or cached data? Something else?
If we have a different format in a new version of analyzer, we will not use old cache entries. We also include enabled language features into the cache key, so that we know that we can parse dart code the same way as when the cache entry was created.
We could use the SDK version, at least for DAS. It did not seem necessary so far.

I can do that - I unfortunately don't see it consistently, but it does happen from time to time.

We don't use SDK hash, because this works only for SDK, and not for packages or user code that keeps changing.

I don't know the internals of how this cache works, but generally if you don't have a guaranteed stable ABI format, I would think you would have to key the cache on both a) the inputs, and b) the version of the tool that runs on the input and produces the output.
Clearly if the input changes, the output needs to be refreshed. But my point about b), is even if the input is stable, but there is a subtle change in the transformation (because of a change to a new Dart SDK), then the output can be invalidated even if the input remains the same. Makes sense @scheglov ?

Set git path in environment variable

Hi @BradyEdgar94
does the issue persist with the latest beta?
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


chore(package): update @semantic-release/git to version 4.0.1

Closes #3

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: handle lakefile.toml

Description
Change the lakeFile.fileName check in LeanContext.lean/initializeLakeContext in order to handle .toml lakefile, introduced in Lean v4.8.0.

This repository is unfortunately effectively unmaintained, but the change looks simple enough and I've quickly checked that lake setup-file works as expected with the TOML config as well, so this seems fine to merge.


Bugs when executing: .exe file in debug file doesn't exist

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/consume
Operating System: windows
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
When running the project, I encounter this issue.

And the exe file doesn't exits indeed, but why

Problems fixed. Remember not to choose "Place solution and project in the same directory", or there will be no execute file when debugging .

I’m glad you found a work around! Sorry for the delayed response. We have a fix for solution and projects in same folder that will go out in the next release.
Cheers!
Jake


CPUCacheUtils arm64-v8a (android 64 bit)

I have generated all required libraries for ThirdParty dependencies for android 64 bit (arm64-v8a, x86_64 architecture). But while creating *.so files using command
./ndk-compile.sh build "NDK Path"
then below error occured.
../../readium-sdk/Platform/Android/obj/local/arm64-v8a/objs/epub3/ePub3/utilities/CPUCacheUtils.o: In function `epub_sys_cache_control':
../../readium-sdk/Platform/Android/./../../ePub3/utilities/CPUCacheUtils.c:31: undefined reference to `epub_sys_cache_flush'
../../readium-sdk/Platform/Android/./../../ePub3/utilities/CPUCacheUtils.c:28: undefined reference to `epub_sys_cache_invalidate'
collect2: error: ld returned 1 exit status
As of now, I din't found CPUCacheUtils files for 64 bit support.
So Any help will be appreciated to provide support CPUCacheUtils for 64 bit on arm & x86_64 architecture.

To be clear, you are using the develop branch?  We have now switched to Android Studio 2.1 and abandoned Eclipse. We should all be using AS 2.1.  What platform are you developing on? What version?

I am using Master branch. Host Machine: Mac OS x EI Capitan(10.11.1).
NDK version: android-ndk-r11c-darwin-x86_64
Trying to generate *.so files and then use those in Android Studio(in jniLibs folder).
Unable to run readium on Google Nexus 5x or 6p, Nexus 5x is using
CPU: 1.8 GHz hexa core 64-bit ARMv8-A.

Please use the develop branch. Google deprecated Eclipse support, they now recommend Android Studio.
I personally use a 64 bit device, but I only compile for ARMv7 and x86. See:
https://github.com/readium/SDKLauncher-Android/issues/46

could you please provide steps/references to build it using android studio 2.x onwards ?

@naveenrajproject Please see
https://github.com/readium/SDKLauncher-Android/tree/develop

Thank you, I am able to run Readium(dev branch) on Android 64 bit (Nexus 5x) as stand alone project using Android studio - using only armeabi-v7a (libepub3.so) & x86 (libepub3.so).
But now I have a project which has dependencies on Realm(0.87.4), Fresco, amazon sdk libraries etc...
After integration of Readium Module in my project, getting the below error.
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/..../base.apk"], nativeLibraryDirectories=[/data/app/..../lib/arm64, /data/app/.../lib/arm64-v8a, /vendor/lib64, /system/lib64]]]  couldn't find "libepub3.so"
After analyzing the apk (by unzipped), these (arm64-v8a, x86_64) directories have been created in lib and it has librealm-jni.so file, I think Realm has Jni lib for 32 and 64 bits. libepub3.so is not available (as we have not provided for 64 bit (arm64-v8a) actually).
libepub3.so is only found in armeabi-v7 and x86 directories of my apk.
So is there any way to tell the device to load libepub3.so file from armeabi-v7a ??

Support for 64-bits ARM is currently missing. You can give a try by modifying the build settings:
https://github.com/readium/readium-sdk/blob/develop/Platform/Android/epub3/Application.mk#L1
APP_ABI := armeabi-v7a x86
...but as @clebeaupin remarked, there are missing 64-bits dependencies so you would have to troubleshoot this as well.
https://github.com/readium/readium-sdk/blob/develop/Platform/Android/epub3/build_experimental.gradle#L54
    android.productFlavors {
        create ("arm") {
            ndk.with {
                abiFilters.add("armeabi-v7a")
                ldFlags.addAll([
                        "-L${file("./obj/local/armeabi-v7a")}".toString(),
                        "-L${file("../../../ePub3/ThirdParty/openssl-android/lib/armeabi-v7a")}".toString(),
                        "-L${file("../../../ePub3/ThirdParty/icu4c/lib/armeabi-v7a")}".toString()
                ])
            }
        }
        create("x86") {
            ndk.with {
                abiFilters.add("x86")
                ldFlags.addAll([
                        "-L${file("./obj/local/x86")}".toString(),
                        "-L${file("../../../ePub3/ThirdParty/openssl-android/lib/x86")}".toString(),
                        "-L${file("../../../ePub3/ThirdParty/icu4c/lib/x86")}".toString()
                ])
            }
        }
    }

PS: please take a look at the README references to see how to compile the static libs for the Unicode and SSL libraries:
https://github.com/readium/readium-sdk/blob/develop/ePub3/ThirdParty/icu4c/lib/README.md
https://github.com/readium/readium-sdk/blob/develop/ePub3/ThirdParty/openssl-android/lib/README.md

I have started a new "thread" to discuss ARM64:
https://github.com/readium/readium-sdk/issues/245


Some fixes to the xcodeproj rule

Fix xcodeproj:

Pass a custom name correctly
Add the host app to the project when adding the transitive dependencies (seems it was forgotten)

cc @amberdixon / @gyfelton to review
Would you mind adding a test that covers the issues you're addressing? Thanks!

Test added :)

I would like to get you opinion on the following, if you guys dont mind :)
I see that the xcodeproj rule generates targets that build with bazel. I was thinking about tweaking the rule, so it is possible to also generate normal targets that run with xcodebuild (control it with a parameter). Either have one project with MyTarget-bazel and MyTarget-xcodebuild, or two projects MyProject-bazel.xcodeproj and MyProject-xcodebuild.xcodeproj. What I would like to do is to easily be able switch between bazel and xcodebuild. Seems like something that should be not so difficult to do. What do you think about this?

I would like to get you opinion on the following, if you guys dont mind :)
I see that the xcodeproj rule generates targets that build with bazel. I was thinking about tweaking the rule, so it is possible to also generate normal targets that run with xcodebuild (control it with a parameter). Either have one project with MyTarget-bazel and MyTarget-xcodebuild, or two projects MyProject-bazel.xcodeproj and MyProject-xcodebuild.xcodeproj. What I would like to do is to easily be able to switch between bazel and xcodebuild. Seems like something that shouldn't be so difficult to do. What do you think about this? Did you try something like this before?

I say that this should be inside a brand new rule that its only job is to generate a normal xcodeproj (via XcodeGen).

I say that this should be inside a brand new rule that its only job is to generate a normal xcodeproj (via XcodeGen).

I see, thanks :) In that case, how would you share code between the xcodeproj-bazel rule and the xcodeproj-xcodebuild rule? My initial thought was that both would be very similar

I say that this should be inside a brand new rule that its only job is to generate a normal xcodeproj (via XcodeGen).

I see, thanks :) In that case, how would you share code between the xcodeproj-bazel rule and the xcodeproj-xcodebuild rule? My initial thought was that both would be very similar: since files, targets and dependencies are shared, seems like the only differences would be a bunch of build settings

This is a good idea, @gyfelton . As far as implementing it, I think it would be pretty simple, the xcodeproject could just contain targets and schemes that match the ones listed in the bazel project and with the same set of source files.

I say that this should be inside a brand new rule that its only job is to generate a normal xcodeproj (via XcodeGen).

I see, thanks :) In that case, how would you share code between the xcodeproj-bazel rule and the xcodeproj-xcodebuild rule? My initial thought was that both would be very similar: since files, targets and dependencies are shared, seems like the only differences would be a bunch of build settings

This is a good idea, @gyfelton . As far as implementing it, I think it would be pretty simple, the xcodeproject could just contain targets and schemes that match the ones listed in the bazel project and with the same set of source files.

I worried more about the maintenances needed if sharing of code is done, specifically each time when we are adding a new build setting/changing behaviors, we have to verify the correctness on both sides. Nevertheless if this enforces a better separation of logics inside existing rule (what is for a normal project, and what is for bazel), I am definitely in favor of it.

Is this ready to merge? :)

@acecilia go ahead!

@acecilia did not realize you cannot merge it, I merged. Thanks!


[core] Optimize help loader v1.

Closes #8511

This checklist is used to make sure that common guidelines for a pull request are followed.

N/A The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

@tjprescott I have made the updates. I had to also update get_all_help as it doesn't rely on show_help / format_help.

Rebased to fix merge conflicts.

@tjprescott, does this look good?


User parameters converted from the Filter

 Wrong number of items reported in banner when allocating more than the max. number of items


add the dart vm version to flutter doctor

print the dart vm version used in flutter doctor
when showing a crash, only print the exception message if it might be useful to the user (i.e., don't just print "3"

[✓] Flutter (on Mac OS, channel unknown)
    • Flutter at /Users/devoncarew/projects/flutter/flutter
    • Framework revision 911f119 (2 minutes ago), engine revision 893425d
    • Dart VM version: 1.15.0 (Wed Mar  9 09:55:45 2016) on "macos_x64"

@pq

At one point I had planned to make flutter doctor warn if the Dart VM in your path was different from the one in flutter, which only matters if you're trying to pub run test flutter tests, or otherwise cut below the flutter tool wrappers.

We could simply not support pub run test. It's not clear when that will support .packages, and it's slower than just running dart test/all.dart.

ptal, I dropped the dart vm addition to doctor; this is now just a slight tweak to the messaging for when we encounter an exception

LGTM


AWS SQS Consume fetches record in a weird format

Expected Behavior
AWS SQS Consume should be able to fetch the rows from the SQS queue, and have the fetched records noted as a single column with 1 record per row.
Actual Behaviour
The records are fetched from the SQS queue as 1 record per row, but each character in the record is put in a separate column. I have attached the screenshot for better understanding.

Steps To Reproduce

Use the sample flow as mentioned in the page with appropriate access key, secret key and queueUrl. Also add maxRecords to the flow.
Produce records in the queue (equal or more than the number of maxrRecords).
Execute the flow.

Environment Information

Kestra Version: 0.13.8
Plugin version: 0.13.8
Operating System (OS / Docker / Kubernetes): Docker
Java Version (If not docker):

Example flow
id: "consume"
type: "io.kestra.plugin.aws.sqs.Consume"
accessKeyId: "<access-key>"
secretKeyId: "<secret-key>"
region: "eu-central-1"
queueUrl: "https://sqs.eu-central-1.amazonaws.com/000000000000/test-queue"
maxRecords: 2

fails with


documentation website no longer functional

Python version:
numpy version:
matplotlib version:
mpl-probscale version:
Operating System:

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Hey -- thanks for letting me know about this. MPL's docs got reorganized and I haven't caught up to that yet.
In the meantime, the notebooks can serve as a guide: https://github.com/matplotlib/mpl-probscale/tree/master/docs/tutorial

These have been restored: https://github.com/matplotlib/matplotlib.github.com/pull/80


Inconsistent RMSProp implementation compared with Kingma and Ba paper

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
2.10.0
Custom Code
No
OS Platform and Distribution
N/A
Mobile device
N/A
Python version
N/A
Bazel version
N/A
GCC/Compiler version
N/A
CUDA/cuDNN version
N/A
GPU model and memory
N/A
Current Behaviour?
The Kingma and Ba paper uses the following line to update parameters when implementing Adam.
$\theta_t ←\theta_{t−1}−\frac{\alpha_t \cdot mt}{(\sqrt{v_t} +\hat{\epsilon})}$
In TensorFlow's documentation (https://www.tensorflow.org/api_docs/python/tf/keras/optimizers/RMSprop), RMSProp follows the same way to apply the epsilon $\epsilon$. However, I notice that the implementation of epsilon in RMSProp https://github.com/tensorflow/tensorflow/blob/57e18f3835c07a3dcdea1c4dcd1723e1b9c5dae3/tensorflow/core/kernels/training_ops.cc#L904 is $\sqrt{v_t+\hat{\epsilon}}$ instead of $\sqrt{v_t}+\hat{\epsilon}$ mentioned in the Adam paper. I cross-checked with TensorFlow's implementation in Adam (https://github.com/tensorflow/tensorflow/blob/57e18f3835c07a3dcdea1c4dcd1723e1b9c5dae3/tensorflow/core/kernels/training_ops.cc#L822) and PyTorch's implementation in RMSProp (https://github.com/pytorch/pytorch/blob/ccf6b558a4c58d1ae92689b2a5064916b42eff05/torch/optim/rmsprop.py#L257), they both use $\sqrt{v_t}+\hat{\epsilon}$ instead of $\sqrt{v_t+\hat{\epsilon}}$ implemented in TensorFlow's RMSProp. May I know if you have special handling about the place of epsilon in RMSProp? If it is possible, I guess it would be better to write $\sqrt{v_t}+\hat{\epsilon}$ instead of the current version: $\sqrt{v_t+\hat{\epsilon}}$.

Standalone code to reproduce the issue
N/A

Relevant log output
No response

I further check with implementation of RMSProp in Keras: https://github.com/keras-team/keras/blob/5ef06f96f1612eb8ded3d00967d26cb29c953d45/keras/optimizers/optimizer_v2/rmsprop.py#L245
The implementation of epsilon in Keras is: $\sqrt{v_t} +\hat{\epsilon}$ instead of $\sqrt{v_t+\hat{\epsilon}}$ implemented in TensorFlow. I guess the TensorFlow's version can be updated?

I guess the TensorFlow's version can be updated?

I don't understand. There is no TF vs Keras implementation and now the Keras code is in its own repository at https://github.com/keras-team/keras

TF's code uses equation..

Can you show me the line? I see epsilon outside of sqrt

As I mentioned in the main body of this issue, please check this line:
https://github.com/tensorflow/tensorflow/blob/cc3ea640850863e3762bfea824e4459a90d7564d/tensorflow/core/kernels/training_ops.cc#L904

But in the optimizer is external.
https://github.com/tensorflow/tensorflow/blob/3759a403a7e00a373e6e5f9154e6a15e291ff123/tensorflow/python/keras/optimizer_v2/rmsprop.py#L270-L272

epsilon | A small constant for numerical stability. This epsilon is "epsilon hat" in the Kingma and Ba paper (in the formula just before Section 2.1), not the epsilon in Algorithm 1 of the paper. Defaults to 1e-7.

So in the optimizer we are in formula before 2.1. I think in the training_ops you are in the Algorithm 1 section of the paper.

Hi @bhack
If I understand the code correctly, RMSprop has two mode: with momentum and without momentum.
If RMSprop is executed without momentum, implementation in the optimizer will be executed where the epsilon is external: https://github.com/tensorflow/tensorflow/blob/3759a403a7e00a373e6e5f9154e6a15e291ff123/tensorflow/python/keras/optimizer_v2/rmsprop.py#L216
If RMSprop is executed with momentum, the optimizer will execute the gen_training_ops.ResourceApplyRMSProp or the gen_training_ops.ResourceApplyCenteredRMSProp functions where the epsilon is internal:
https://github.com/tensorflow/tensorflow/blob/a8813703ad7d9a57ff70737f7da7c2fd8ea193ec/tensorflow/core/kernels/training_ops.cc#L904
https://github.com/tensorflow/tensorflow/blob/a8813703ad7d9a57ff70737f7da7c2fd8ea193ec/tensorflow/core/kernels/training_ops.cc#L921
I re-checked the paper and I find out that both the equation written in Algorithm 1 and equation before 2.1 are written with an external epsilon instead of internal epsilon. I further check PyTorch's implementation for RMSprop with momentum, it is also implemented with an external epsilon:
https://github.com/pytorch/pytorch/blob/ccf6b558a4c58d1ae92689b2a5064916b42eff05/torch/optim/rmsprop.py#L257
I understand the difference is subtle, but I am worrying that this issue may result in some computation errors which can be reduced.

The C++ code there is quite old, let see if we could double check it again to evaluate numerical differences.

@maybeLee
This issue seems to be Keras issue.  Please post this issue on keras-team/keras repo. as Keras development is fully moving to github.com/keras-team/keras. All issues and PRs related to keras will be addressed in that repo.
To know more see this TF forum discussion ;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999
Thank you!


Signature Not Clearing on Android: Chrome and Samsung Internet Browser

The signature is not clearing on specific mobile browsers, namely Chrome v111, Samsung Internet Browser v20.
Android version 13, Samsung S22 Ultra.
At the moment you can sign, but once you click on clear it shows as if you've clicked Undo. What's peculiar is that if you try to generate the image from the signature page it says that it's empty. If you then sign again it overwrites the previous signature.
It should clear the signature pad.
Which versions of SignaturePad, and which browser / device are affected by this issue? Did this work in previous versions of SignaturePad?
Signature Pad v4.0.0 Chrome v111 and Samsung Internet Browser v20 on Android v13

https://user-images.githubusercontent.com/9131872/230402964-b616df90-0c7b-4592-940f-b735417cc730.mp4

Can you share the code for this demo? Does the same thing happen with our demo on those browser? http://szimek.github.io/signature_pad/

hi @UziTech, i got error like this using lib Vue Signature Pad and this lib (Vue Signature Pad) on main root using signature_pad. You can check this code
sorry for my bad english

@TaufikAkbar7 it looks like that code does what it is supposed to. "Undo" removes the last line. There is no "Clear" button.
It looks like Vue Signature Pad uses v3 of signature_pad. If you have an issue with that software you should create an issue on their repo. There is nothing we can change on this repo to fix them.


Update to v11.5.0 BCs by default (v2)

This update moves the v2 circleci-tools to use BCs v11.5.0 by default

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:5ccea7f64ee9e5ccd308aed248a2dd0c9225b685
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

Your development orb(s) have been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link(s):
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:5ccea7f64ee9e5ccd308aed248a2dd0c9225b685
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=dev:alpha

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/geos-esm/circleci-tools?version=2.10.0


fatal error: esp_mqtt.h: No such file or directory

I followed the instructions on the  repo doing:
git submodule add https://github.com/256dpi/esp-mqtt.git components/esp-mqtt
git submodule update --init --recursive

but when I try and make your examples I get:
CC /private/tmp/esp32-mqtt-client/build/main/esp32-mqtt-client.o
/private/tmp/esp32-mqtt-client/main/./esp32-mqtt-client.c:30:22: fatal error: esp_mqtt.h: No such file or directory
compilation terminated.
make[1]: *** [esp32-mqtt-client.o] Error 1
make: *** [component-main-build] Error 2

I have $IDF_PATH set to my idf dir, is there anything else I need to do?

I found out what the error was:
I had not made a git submodule update --init from inside this example's directory. Since I had already placed esp-mqtt in the ESP-IDF components directry.
HOWEVER, the way ESP-IDF works is if you have components folder within your project, with a module with same name as an existing one, it overrides it. Since the ./components/esp-mqtt was uninitialized (empty) make was not finding the header file.
I'm closing this since it is not a real issue.


Enable assertions

Codecov Report

Merging #86 (cab5a09) into master (99a88af) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #86   +/-   ##
=========================================
  Coverage     75.36%   75.36%
  Complexity      523      523
=========================================
  Files            80       80
  Lines          1575     1575
  Branches        172      172
=========================================
  Hits           1187     1187
  Misses          337      337
  Partials         51       51

Continue to review full report at Codecov.

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


Show correct months on year view when specifying endDate

On viewing the year display of the datepicker after specifying the endDate the current month and the month prior from the date specified by the endDate are disabled. This change removes the disabled class as both should be selectable on the year view due to being before the specified endDate.

i just met the endDate issuse.....may i should update

i have just met this problem...

Addressed in #600


How to include "-framework OpenGL -framework Cocoa" as compiler parameters for bake?

I'm working with openGL and I need to link the apple-type-library called "frameworks". This is done by adding "-framework OpenGL -framework Cocoa" as compiler parameter.
With make, I do the following:
set(CMAKE_C_FLAGS "-framework OpenGL -framework Cocoa")
How this is done in bake? (maybe a bake question, but I hit the wall while trying to use the admin).
Thanks

@WEREMSOFT did you try adding them as cflags?
{
    "id": "my_project",
    "type": "package"
    "value": {

    },
    "lang.c": {
        "cflags": ["-framework OpenGL", "-framework Cocoa"]
    }
}

If you also need to pass things down to the linker, try ldflags.


az devops project list

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az devops project list Extension Name: azure-devops. Version: 0.20.0.
Errors:
Only returns a single project. It should return 8 projects

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login not using a PAT
az devops project list --organization {}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI

azure-cli 2.29.0 *

Extensions:
azure-devops 0.20.0

Additional Context

I can run the same command on a different machine and it I get the expected results. It returns 8 projects just as it does in dev.azure.com

@h112118 , This is working properly. Can you please confirm if the identity you use has access to all those 8 projects you mentioned?


fix readme links

Hello,
I found two links in the readme which were pointing to the wrong part of the docs so I fixed them.

Thank you!

@all-contributors please add @mchl18 for docs


Navigate to tag in a new tab if not already opened, like tab drop?

I like the behaviour of the :tab drop /my/file command, which opens /my/file in a new tab or just navigates to it if there already is a window on this buffer.
However, it seems that I cannot get this behaviour for tag navigation, which navigates to the target buffer in the current window only, so it changes its content. Setting switchbuf=newtab seems to have no effect on <C-]>navigation and is not the exact behaviour I need anyway.
Am I missing something? Or is tag drop a missing feature of vim?
Thank you for support anyway :)

(here is a partial workaround we have been naively investigating)

You could check if this plugin works for you:
https://github.com/ipod825/TagJump

Very surprised this has got so little interest :(
At least there are workarounds.

If you use the tab stag <name> command, then it will use the 'switchbuf' setting to either jump to an existing window in any tab page or open a new window.


Add more popular blogs on the Blogs page

I would like to add some popular blogs on this blogs page to make it look good!
@akshitagupta15june please assign this to me!

@akshitagupta15june  assign me i have some blogs then i add

these blogs are from a source so not requiring any random blogs


Github code is not sync with npmjs

Github code is not sync with npmjs, can you pls do that

Why? Why should development version be in sync with npm package?

"Clean" attribute is not available in version 1.3.10.
I can see this attribute in git repository but not in npm respository.

👍


Bug: Focus state on Radio with error

Info
Currently the focus state behaves differently for Radio elements with the error state. This can be replicated easiest in Storybook, but also in our template app. This can be seen in Chrome, Firefox, and Edge (not tested in Safari).
Replication:

Go to Storybook (this can be replicated with code in our template, but this is easiest)
Go to the Error section
Select a radio element (notice there's no focus when you select)
Move mouse away from radio element (notice that focus now appears)
Move mouse back over radio element (focus disappears)

Acceptance Criteria:

Focus on radio elements should stay after the element is selected, and until another element is selected, even in error state

:tada: This issue has been resolved in version 1.17.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.17.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.18.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.18.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.6.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix firewall triggers

Trying to fix the Firewall warnings:
https://github.com/ElectronNET/Electron.NET/issues/181
Current status:
Instead of 2 warning, we are down to one. It seems our Socket.IO implementation triggers it via this line:
io = require('socket.io')(port);
Be aware: This is work in progress - the code now will throw an exception
Maybe interesting links:
https://stackoverflow.com/questions/9419312/socket-io-binding-to-a-specific-ip-address
https://github.com/adobe/brackets/issues/10182

After some fighting against socket.io, I think this should work now.
Instead of those firewall dialogs nothing should appear, because we strictly bind to localhost and only do a port lookup on localhost
These are gone:

Everytime this window appears a entry to the firewall settings will be added automatically (doesn't matter if you select anything).
Check here:

And search for "Electron" or "ElectronNET" - at least on my machine I had a couple of them.
After this PR the list should stay clean.

Talked with @GregorBiswanger - he said "OK" ;)


Add resume command to public CLI

Any of the methods will take a non-trivial time to run, so there is a chance of interruption. Perhaps more so with a cluster.
The database design avoids recomputing any pairwise ANI previously logged, so starting a new run will effectively resume (assuming same command is executed, via the shell history perhaps).
I am considering a new resume command taking only the database path and optionally run-id, defaulting to the most recent run. This will then check if any comparisons are missing, and if so run those after checking the command line dependency version matches that from the old run.

I like this idea - I'm curious about how it might cascade with runs that refer to other incomplete runs… it's probably more straightforward that I imagine, just now.

Currently if you did the following (where all three examples have the same configuration and thus will share comparisons):

Ran pyani-plus anib --database demo.db --create-db --name "Run 1" my_genomes/ but aborted it almost immediately.
Ran pyani-plus anib --database demo.db --name "Run 2" my_genomes/ and let it partly complete, and then abort.
Run pyani-plus list-runs --database demo.db will show both run 1 and run 2 have been partially completed.
Run pyani-plus anib --database demo.db --name "Run 3" my_genomes/ and let it finish
Run pyani-plus list-runs --database demo.db will show all the runs are complete, but only "Run 3" will say this in its status column.

New plan:

Ran pyani-plus anib --database demo.db --create-db --name "Run 1" my_genomes/ but aborted it almost immediately.
Run pyani-plus resume --database demo.db and let it partly complete then abort
Run pyani-plus list-runs --database demo.db will show only run 1 exists and has been partially completed.
Run pyani-plus resume --database demo.db and let it finish
Run pyani-plus list-runs --database demo.db will show just "Run 1" and it will completed in its status column.

I have this working with one caveat - it needs to know the input FASTA directory name. It makes sense to me to record this in the run table...


Audio and image processing and small screen issue resolved .

Audio and image processing integrated .
Drag and drop box for input .
Fixed the responsive issue in smaller screens.

Normal text input not work without image text not accept fix this issue
Don't not make transparent background of upload file pop

drag and drop transparent issue resolved  ✅
only text input issue resolved ✅

Pdf not support only support image, audio video can you increase more  variety of file format like .pdf .doc .xls

I merge your pr but make one more pr to support more file formats ok like pdf, doc, xls, html, css, js , cpp , java and etc necessary  file formats okay

Thanks for your contribution in his project

Thanks for your contribution in this project

Pdf not support only support image, audio video can you increase more variety of file format like .pdf .doc .xls

yeah sure....i will be making that pr after my hackathon on 4-5 oct.

Okay no problem 👍🏻


More flexible ElasticSearch template

When just having a single nodeSet with count for replication, we can't control which pod gets decommissioned when scaling down.
Using named replicas we can achieve better control for these kinds of use-cases.

Note to self: We should add a service that will include all nodesets except the tiebreaker and use that for the recommended ELASTICSEARCH_URL


op sometimes hangs after npm install

adding the echo line makes my op never hang, up from sometimes hang
npm install
echo this is a line
node node_modules/.bin/bower install --config.interactive=false

hang term output (after waiting about 10 minutes):
npm info ok

^[[A^CGracefully stopping... (signal Control-C again to force)
^CTerminated by Control-C

system info:
$ opctl -v
0.1.19
$ uname -a
Linux <hostname> 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ docker -v
Docker version 1.12.6, build 78d1802

Apparently fixed by going to latest docker, as tested with a similar and reduced repro situation.
$ docker -v
Docker version 17.06.0-ce, build 02c1d87


💡 [FEATURE] - categories styling

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
categories are just written there i want to give them good CSS  or else I can change whole CSS of the page
Explain your solution
i can make more stylish and responsive divs adding more CSS and enhancing page view
Any alternative approaches/features

Additional Context

Currently redesigning thw ebsite


Lens deformation in RS depth API

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
16

Kernel Version (Linux Only)
4.15.0-88-generic

Platform
Intel NUC

SDK Version
2.33.1

Language
C++

Segment
Image processing

Issue Description
Due to the example in https://github.com/IntelRealSense/librealsense/tree/master/examples/hello-realsense the depth of the image center point can easily be acquired. Of course the center point is not a real problem as the focal point of the lens will not affect the image representation very much but what about a x/y coordinate far away from the center? Will the depth.get_distance() method take a deformation into account or do you have to calculate the lense physics into the acquired value? If yes how? I'm aware of the fact that you have to take the focal deformation into account if you like to calculate the proper x/y/z coordinates in the real world but is there any magic done for the proper depth in the API?

Hi @Pixelfahnder
The depth camera ASIC includes rectification hardware responsible for converting distorted raw infrared image and stretching it to appear without distortion. This applies to depth and IR frames.
RGB can have some minor distortion, but its practically negligible for RGB sensor used in D415 and D435.

@dorodnic So I don't have to take any of my concerns into account? So on the D435i the depth is calculated out of the IR stereo images if I get you correctly?
Thanks for the information.

Yes, you should not be affected by underlying optics in any way

@dorodnic  Thank you for the information and clearification.

@dorodnic I sadly have to reopen this issue as I have one last question regarding this: Playing around in the RealSense Viewer v2.32.1 I noticed that the depth image has a different field of view than the color image which seems to come from different lenses in front of the cameras. In the ROS connection API I noticed that there is a setting to align the color and depth images. Is this also possible in the Viewer and in the librealsense or do I have to code this myself and if yes in which file could I find a starting point? My understanding of this is that it would align the both fields of view. I ask because I need to detect something in the color image and acquire it's depth in space. And if I try to get the pixels on a percentage distance of the image border the different field of view cases a different depth at the edges of the images as it seems to not be the same point in the image.

Yes, please take a look at align example
It's not exposed in the Viewer, but API supports it (via rs2::align algorithm)

tHANK YOU VERY MUCH @dorodnic .


How to append unwind data to the end of a CSV

Is there a way of appending data to the end of a CSV instead of creating a new row for the data after unwinding..?
refer docs: The unwind transform deconstructs an array field from the input item to output a row for each element.

I'm not sure of what you mean.
Please provide an example input and the output that you would like to get in return so I can help you.

@juanjoDiaz `
const { Parser, transforms: { unwind } } = require('json2csv');
const myCars = [
{
"carModel": "BMW",
"price": 15000,
"items": [
{
"name": "airbag",
"color": "white"
}, {
"name": "dashboard",
"color": "black"
}
]
}, {
"carModel": "Porsche",
"price": 30000,
"items": [
{
"name": "airbag",
"items": [
{
"position": "left",
"color": "white"
}, {
"position": "right",
"color": "gray"
}
]
}, {
"name": "dashboard",
"items": [
{
"position": "left",
"color": "gray"
}, {
"position": "right",
"color": "black"
}
]
}
]
}
];
const fields = ['carModel', 'price', 'items.name', 'items.color', 'items.items.position', 'items.items.color'];
const transforms = [unwind({ paths: ['items', 'items.items'] })];
const json2csvParser = new Parser({ fields, transforms });
const csv = json2csvParser.parse(myCars);
console.log(csv);
Output
"BMW",15000,"airbag","white",,
"BMW",15000,"dashboard","black",,
"Porsche",30000,"airbag",,"left","white"
"Porsche",30000,"airbag",,"right","gray"
"Porsche",30000,"dashboard",,"left","gray"
"Porsche",30000,"dashboard",,"right","black"
Expected Out Put
"BMW",15000,"airbag","white",dashboard,black,
"Porsche",30000,"airbag",,"left","white,"airbag,right,gray,dashboard,left,gray,dashboard,right,black"
I don't want to repeat data for the parent object,  instead, I want to append data for nested array objects
`

You don't need unwind then.
You need flatten. 🙂
const transforms = [flatten({ arrays: true })];
const json2csvParser = new Parser({ transforms });
const csv = json2csvParser.parse(myCars);

outputs
"carModel","price","items.0.name","items.0.color","items.1.name","items.1.color","items.0.items.0.position","items.0.items.0.color","items.0.items.1.position","items.0.items.1.color","items.1.items.0.position","items.1.items.0.color","items.1.items.1.position","items.1.items.1.color"
"BMW",15000,"airbag","white","dashboard","black",,,,,,,,
"Porsche",30000,"airbag",,"dashboard",,"left","white","right","gray","left","gray","right","black"

You don't need unwind then. You need flatten. 🙂
const transforms = [flatten({ arrays: true })];
const json2csvParser = new Parser({ transforms });
const csv = json2csvParser.parse(myCars);

outputs
"carModel","price","items.0.name","items.0.color","items.1.name","items.1.color","items.0.items.0.position","items.0.items.0.color","items.0.items.1.position","items.0.items.1.color","items.1.items.0.position","items.1.items.0.color","items.1.items.1.position","items.1.items.1.color"
"BMW",15000,"airbag","white","dashboard","black",,,,,,,,
"Porsche",30000,"airbag",,"dashboard",,"left","white","right","gray","left","gray","right","black"

@juanjoDiaz Thanks, is there a way of accessing the values (fields) dynamically?

Sorry @Aubrey-Zulu  I totally missed your last message.
Did you figure it out?
I do not really understand what you mean by accessing fields dynamically. If you mean having accesson function, just read the doc for the fields option

Sorry @Aubrey-Zulu  I totally missed your last message.
Did you figure it out?
I do not really understand what you mean by accessing fields dynamically. If you mean having accesson function, just read the doc for the fields option


Master list for missing tests

Add missing tests for components mentioned below:

Accordion
AlertDialog
AvatarGroup
Badge
BlockQuote
Button
Callout
Code
Dropdown
Em
Heading
HoverCard
kbd
Link
Modal
Progress
Quote
RadioGroup
Skeleton
Switch
Table
Tabs
TextArea
Toggle
ToggleGroup
Tree

I’d like to work on this for Code Component


Question about the code

The deformation module

if src_name in self.model_cfg.DEF_SOURCE:

DEF_SOURCE: ['x_conv1', 'x_conv2', 'x_conv3', 'x_conv4']

It seems that you used four defomation mudule in code, but only show  'x_conv3' and  'x_conv4' in paper.

The context fusion module

It seems that the context fusion module is inside the StackSAModuleMSGAdapt, but it shown that this module is outside pointnet++ module in paper.
looking forward to your reply,
Jinlai Zhang

Hi,
Yes we have used only conv3 and conv4 in the paper, since these are the layers with more semantically meaningful features for deformation. But in the results section of this repository, we release both - models with all convolutional feature combined, and one with only conv3 and conv4.
The Context Fusion module is in the StackSAModuleMSGGated().


add description to package.json

this info is exposed on yarnpkg.com, npmjs.com and others. If it's not filled in, the first part of the readme is used (which causes duplication)
This info should also be in the GitHub repository description
DCO 1.1 Signed-off-by: Haroen<EMAIL_ADDRESS>

I will in two hours, but you can commit on this PR too :)

@Haroenv you're so right. Changed it, awaiting tests for merge...
thank you for the help!

All right!


Allow the cache viewer to sort items more "intelligently" when  showing cache entries that have a number at the end

Use case
When looking at my cache entries in the IDE Plugin, in the window "Apollo Normalized Cache", my cache entries are sorted like this:
QUERY_ROOT
chat()
chat().messages.0
chat().messages.1
chat().messages.10
chat().messages.11
chat().messages.12
chat().messages.13
chat().messages.14
chat().messages.2
chat().messages.3
chat().messages.4
chat().messages.5
chat().messages.6
chat().messages.7
chat().messages.8
chat().messages.9

This is maybe not always a big deal, but in my case, working with reading chat messages from the cache, it would actually be quite convenient for the entries to be sorted exactly as they came into the cache to easier debug what is going on there.
Describe the solution you'd like
The current sorting sorts per character, and that looks like it's sorting 1 -> 10 -> 2 instead of 1 -> 2 -> ... -> 10 -> 11 and so on.
For this to be fixed, the sorting would need to happen taking into consideration when numbers are involved and sorting those in a special way compared to other strings.

Wow thanks a lot!


fix(versions): update Activiti/activiti-cloud-notifications-graphql versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies to: 7.1.229

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies 7.1.229


in config.py SUPERSET_WEBSERVER_TIMEOUT, SQLLAB_TIMEOUT seems doesn't work

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.15.0
Expected results
timeout error should occur after the given time
Actual results
timeout error occurs in less than 30s
Steps to reproduce
in config.py set:
SUPERSET_WEBSERVER_TIMEOUT = 600
SQLLAB_TIMEOUT = 600
and then debug superset

Are you using 0.15.0 or master?

Timeouts don't work with the debug/dev webserver for some reason and probably is a "wont fix", can you confirm that this is what you are reporting?

@xrmx not master, release version

@mistercrunch ye, i found it. SQLLAB_TIMEOUT is used for the query in sql_lab, and  SUPERSET_WEBSERVER_TIMEOUT is for something other

So can we close this?


chore: go-demo-6 to 1.0.458

chore: Promote go-demo-6 to version 1.0.458

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Upgrade EDC version

Upgrade EDC and webapp to latest version to maintain evolving compatibility.
Also rearranged some files for system tests for clarity.

@algattik very nit: Github issue link is missing.


List of Common Terms

We need to agree on common ways for referring to certain things. E.g. "sporten" or "bewegen" for being physically active, or first aid kit.

[ ] Create an overview with common terminology.
[ ] Add some things to the overview for which we already know that we need common terms. E.g. first aid kit, being physically active, dialog titles, HRS situation.
[ ] Write down possible terms for these things.
[x] Discuss the possible terms w.r.t. preciseness, easiness to understand for low SES (for example use: https://www.ishetb1.nl/)
[ ] Chose terms.
[ ] Go through existing dialogs to make sure that the term is being used.
[ ] Make clear how others can find this overview and how they can add to it in the future.

[ ] Everytime we decide on certain wording "oefening" (instead of activity) and "EHBO-doos" note it down in the tab 4. Additional dialog features in the Bible


Adding a route doesn't add imports to app component

On the latest master, and on Windows machines, adding a route doesn't add imports to the App Component.
Repro steps on a windows machine:
ng new foo
cd foo
ng build
ng g r my-route
ng build # this will fail compilation

At this point, foo.component.ts looks like this (note the missing imports):
import { Component } from '@angular/core';

@Component({
  moduleId: module.id,
  selector: 'foo-app',
  templateUrl: 'foo.component.html',
  styleUrls: ['foo.component.css']
,
  directives: [ROUTER_DIRECTIVES],
  providers: [ROUTER_PROVIDERS]
})
export class FooAppComponent {
  title = 'foo works!';
}

Seems to add them correctly on OSX.

@Brocco also tried on OSX, and reported it was fine. Not sure why it happens on my windows machine though.

I logged this issue almost at week ago and no one cared to comment at https://github.com/angular/angular-cli/issues/830
I am happy that someone else logged the issue because I have been stucked since waiting for some resolution.
I note that @gdboling and @Brocco tried it on OSX and it worked, but some of us do use Windows on which it does NOT work. All other commands worked as expected, but not the route command. I hope that authors will look into this issue sooner rather than later.
Cheers

@st-clair-clarke apologies, going over the issue backlog has been a slow process and only now am I getting this far. I'll close your issue in favor of this one, just because it has more feedback in it.

Closed in favor of https://github.com/angular/angular-cli/issues/911


Warning when I try to open the file

[Unhandled promise rejection: Error: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://host.exp.exponent.FileSystemFileProvider/expo_files/ExperienceData/%40test%2Fapp/100000005 flg=0x1 }]
When testing with expo Go SDK 45

@raajnadar can i see the code ?.

I guess you need to add the type
https://stackoverflow.com/a/69004471/5519872


Add support for crypt15

Hi,
Should be a pretty easy job
With crypt15 two new files have appeared, they are called encrypted_backup.key and password_data.key
"key" will continue to exist, but only encrypted_backup.key will be used

Can you elaborate this point?

"key" will continue to exist, but only encrypted_backup.key will be used

Can you elaborate this point?

"key" will continue to exist, but only encrypted_backup.key will be used

If end-to-end encrypted backups are enabled, the "key" file will still continue to exist in the file system and it will not be deleted. However, it will not be used anymore: whatsapp will encrypt the backups using the file "encrypted_backup.key" and will not use "key" anymore.
I guess that if you then disable E2E backups whatsapp starts to use "key" again

Also can you provide the path of these files like this?

Hmmm I don't know which format are you talking about, but they should be of the same type of the "key" file so if I were to take a guess:
{
    'encrypted_backup.key': 'apps/com.whatsapp/f/encrypted_backup.key',
    'password_data.key': 'apps/com.whatsapp/f/password_data.key',
}

Ah okay, I have seen some use of encrypted_backup.key on a repo but couldn't understand (I still have crypt14).
Actually the android backup (.ab) file has a particular directory layout, similar to app's private data directory (inside /data/data/ folder) and unless I have the path to these files I can not implement this. Let's see if someone comments the path or I get the crypt15 first.

to "get the crypt15" you have to manually enable end-to-end encrypted backups in whatsapp settings.

I managed to find 'encrypted_backup.key' beside 'key' but not 'password_data.key'. For now I'm assuming that is also beside key and updating the code.

Hi, I forgot to tell you, password_data.key will only be there if the user enters a password for encryption, not if you use the 64 character key. So it might or might not be there

Oh, that makes sense actually. Anyways it looks for both of these and in 404 case it prints to console the link for this issue. I might add a mutual exclusiveness check for these later on.
-------- Original Message --------
On 21 Apr 2022, 12:48 am, Davide Palma wrote:

Hi, I forgot to tell you, password_data.key will only be there if the user enters a password for encryption, not if you use the 64 character key. So it might or might not be there
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

mutual exclusiveness

Imo the program should dump whatever it finds, the user will then have to understand what they need

It already does that with argument '--tar-only'. It dumps the tar file, but not everyone likes to be overwhelmed so I cherrypicked a few important files.
-------- Original Message --------
On 21 Apr 2022, 1:24 am, Davide Palma wrote:

mutual exclusiveness

Imo the program should dump whatever it finds, the user will then have to understand what they need
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Note that password_data.key is not needed to decrypt the backup. encrypted_backup.key will always be used. However, the user might want to offline bruteforce the password, this is why it should be saved if there, but its absence does not mean anything

Thanks for the info, I'll make a note of it in further updates.


fix(enrichments): fix display bug on alias or comment deletion

Download Artifacts :

win-ia32
win-x64
linux-x64

Download Artifacts :

win-ia32
win-x64
linux-x64


Seeing "index out of range" error

I am seeing following errors on few nodes.
Plugin Version: 0.91
config:

{
  "cniVersion": "0.3.1",
  "name": "azure",
  "type": "azure-vnet",
  "master": "eth0",
  "bridge": "azure0",
   "mode": "bridge",
  "logLevel": "info",
  "ipam": {
    "type": "azure-vnet-ipam",
    "environment": "azure"
  }
}

2017/12/16 12:40:52 [cni-net] ADD command completed with result:IP:[{Version:4 Interface:<nil> Address:{IP:<IP_ADDRESS> Mask:ffff8000} Gateway:<IP_ADDRESS>}], Routes:[{Dst:{IP:<IP_ADDRESS> Mask:00000000} GW:<IP_ADDRESS>}], DNS:{Nameservers:[<IP_ADDRESS>] Domain: Search:[] Options:[]} err:<nil>.
2017/12/16 12:40:52 [cni] Recovered panic: runtime error: index out of range goroutine 1 [running]:
github.com/Azure/azure-container-networking/cni.(*Plugin).Execute.func1(0xc42011fef0)
	/go/src/github.com/Azure/azure-container-networking/cni/plugin.go:94 +0xbc
panic(0x674a60, 0x804490)
	/usr/local/go/src/runtime/panic.go:489 +0x2cf
github.com/Azure/azure-container-networking/network.(*networkManager).addBridgeRules(0xc420014500, 0xc42001e900, 0xc420019280, 0xc420011660, 0x6, 0xc420011740, 0x6, 0x0, 0xf)
	/go/src/github.com/Azure/azure-container-networking/network/network_linux.go:155 +0x4eb
github.com/Azure/azure-container-networking/network.(*networkManager).connectExternalInterface(0xc420014500, 0xc42001e900, 0xc420084d80, 0x0, 0x0)
	/go/src/github.com/Azure/azure-container-networking/network/network_linux.go:255 +0x542
github.com/Azure/azure-container-networking/network.(*networkManager).newNetworkImpl(0xc420014500, 0xc420084d80, 0xc42001e900, 0x5, 0x82a160, 0xc42011f8a0)
	/go/src/github.com/Azure/azure-container-networking/network/network_linux.go:36 +0xa2
github.com/Azure/azure-container-networking/network.(*networkManager).newNetwork(0xc420014500, 0xc420084d80, 0x0, 0x0, 0x0)
	/go/src/github.com/Azure/azure-container-networking/network/network.go:149 +0x1f3
github.com/Azure/azure-container-networking/network.(*networkManager).CreateNetwork(0xc420014500, 0xc420084d80, 0x0, 0x0)
	/go/src/github.com/Azure/azure-container-networking/network/manager.go:163 +0x95
github.com/Azure/azure-container-networking/cni/network.(*netPlugin).Add(0xc4200d6620, 0xc42001c230, 0x0, 0x0)
	/go/src/github.com/Azure/azure-container-networking/cni/network/network.go:200 +0x18aa
github.com/Azure/azure-container-networking/cni.(PluginApi).Add-fm(0xc42001c230, 0xc4200114a6, 0x5)
	/go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x39
github.com/containernetworking/cni/pkg/skel.(*dispatcher).checkVersionAndCall(0xc420018a00, 0xc42001c230, 0x7e1060, 0xc420017620, 0xc42005feb0, 0x0, 0xc420020000)
	/go/src/github.com/containernetworking/cni/pkg/skel/skel.go:167 +0x19f
github.com/containernetworking/cni/pkg/skel.(*dispatcher).pluginMain(0xc420018a00, 0xc42005feb0, 0xc42005fe98, 0x7e1060, 0xc420017620, 0xc42005fe68)
	/go/src/github.com/containernetworking/cni/pkg/skel/skel.go:178 +0x2f8
github.com/containernetworking/cni/pkg/skel.PluginMainWithError(0xc42005feb0, 0xc42005fe98, 0x7e1060, 0xc420017620, 0xc420017620)
	/go/src/github.com/containernetworking/cni/pkg/skel/skel.go:215 +0xed
github.com/Azure/azure-container-networking/cni.(*Plugin).Execute(0xc42000e040, 0x7e0f20, 0xc4200d6620, 0x0, 0x0)
	/go/src/github.com/Azure/azure-container-networking/cni/plugin.go:112 +0x127
main.main()
	/go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:35 +0x328

2017/12/16 12:40:52 [cni-net] Plugin stopped.

@fayizk1 Can you please share the following log files:  /var/log/azure-vnet.log and /var/log/azure-vnet-ipam.log

I encountered the same error with CentOS 7.4, no log files like /var/log/azure-vnet.log or /var/log/azure-vnet-ipam.log on centOS, the error messages from /var/log/messages like below:
Mar 30 16:14:43 localhost systemd: Started libcontainer container a05279f6193142478f5d5ada58c0910820aad32678254535fc484f8ed1116b28.
Mar 30 16:14:43 localhost systemd: Starting libcontainer container a05279f6193142478f5d5ada58c0910820aad32678254535fc484f8ed1116b28.
Mar 30 16:14:43 localhost kernel: SELinux: mount invalid.  Same superblock, different security settings for (dev mqueue, type mqueue)
Mar 30 16:14:43 localhost kubelet: 2018/03/30 16:14:43 File not exist /var/run/AzureCNITelemetry.json
Mar 30 16:14:43 localhost kubelet: 2018/03/30 16:14:43 GetReport state file didn't exist. Setting flag to true
Mar 30 16:14:43 localhost kubelet: panic: runtime error: index out of range
Mar 30 16:14:43 localhost kubelet: goroutine 1 [running]:
Mar 30 16:14:43 localhost kubelet: github.com/Azure/azure-container-networking/telemetry.(*Report).GetOSDetails(0xc4200d0640)
Mar 30 16:14:43 localhost kubelet: /go/src/github.com/Azure/azure-container-networking/telemetry/telemetry_linux.go:112 +0x55c
Mar 30 16:14:43 localhost kubelet: github.com/Azure/azure-container-networking/telemetry.(*ReportManager).GetReport(0xc420018340, 0x6ea639, 0x3, 0x70d874, 0x6)
Mar 30 16:14:43 localhost kubelet: /go/src/github.com/Azure/azure-container-networking/telemetry/telemetry.go:138 +0xa3
Mar 30 16:14:43 localhost kubelet: main.main()
Mar 30 16:14:43 localhost kubelet: /go/src/github.com/Azure/azure-container-networking/cni/network/plugin/main.go:65 +0x6e6
Mar 30 16:14:43 localhost kubelet: E0330 16:14:43.982391   65044 cni.go:259] Error adding network: netplugin failed but error parsing its diagnostic message "": unexpected end of JSON input
Mar 30 16:14:43 localhost kubelet: E0330 16:14:43.982411   65044 cni.go:227] Error while adding to cni network: netplugin failed but error parsing its diagnostic message "": unexpected end of JSON input
Mar 30 16:14:43 localhost journal: Shutting down, got signal: Terminated
Mar 30 16:14:44 localhost dockerd-current: time="2018-03-30T16:14:44.035845675Z" level=error msg="containerd: deleting container" error="exit status 1: "container a05279f6193142478f5d5ada58c0910820aad32678254535fc484f8ed1116b28 does not exist\none or more of the container deletions failed\n""
And my network configure file as below:
{
"cniVersion": "0.3.1",
"name": "azure",
"type": "azure-vnet",
"master": "eth0",
"bridge": "azure0",
"logLevel": "info",
"ipam": {
"type": "azure-vnet-ipam",
"environment": "azure"
}
}
any idea what's happening? Thanks!

@fayizk1 We are not getting what's the exact issue. The first log you shared looks completely different from the one you shared now. This is not the same issue. Can you please open a different ticket for this? Also if the first issue gets fixed, Please close this ticket.

Please open a new issue as suggested by Tamilmani. Closing this one.


Once authenticated, if the user doesn't have a profile, redirect to the profile page

(which should call the CreateAccount feature)

@lauraferraz5 I'm finishing up the authentication plugin as we speak, and will send you the PR when I'm done