converting dataframe to tensor

Hi,
Assuming that df is initialised as a dataframe, and that I use df:load_csv(filepath) to open the .csv file, before running print(df:shape()) to return its dimensions, is there an obvious way to convert df to a tensor? I tried new_tensor = torch.Tensor(df) but this didn't work.
It would be nice if the best method to do this was in the readme.

Just use df:to_tensor(), it's in the README under Exporting.
Btw - if you're starting to use the package then use the dev-version as we will merge it the coming days into the master.


Remove version: REALiX.HWiNFO version 8.00

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: URL works;


Add the ability to copy/clone Page Definition and Test Case items

After copy, new Guid should be created

I suggest using 'Clone' label
If we use Copy, then we should support Paste.  User may paste somewhere else (copy 'page' but paste outside of page-definition folder)
Clone mean, copy then paste right there

Implemented.  I cloned a page-definition and a test-case, then added the cloned test case to my test suite, then generated the code and executed both tests:


Fix locations, type provenances, and error messages for mutable fields

@Meowcolm024 Here, I made many fixes to your branch regarding the rather tricky error reporting mechanism.
Most of the type provenance information you were passing along was wrong. But I don't blame you, because this system is a bit like black magic if you don't know all the details 😛
Make sure to review the diff to validate the changes.
Also, you should really merge the changes from the main mlscript branch more regularly. The longer you wait, the more it risks diverging, and the more painful the merge conflict resolution will be!

Ah, and there was a bug in the typing of array updates! The new value was typed at int and the index never typed!


[Feature Request] Indicator if process dies or produces stderr

This could be soundfile or terminal bell or maybe notification (not sure how that would work with WSL)

This sounds interesting. I wouldn't have it on by default though. But having a setting to enabling it would be great.


Plugin and CLI to calculate convective cloud base pressure and temperature from screen-level temperature, pressure and humidity.

Plugin and CLI to calculate convective cloud base pressure and temperature (also called LCL, CCL and Normand's Point) from screen-level temperature, pressure and humidity. This is part of the implementation of methods to calculate hail amount from Global UM data.
Will make use of the method implemented in #1730 to determine the elevated temperature and pressure values that represent saturated air with the available specific humidity data. This may require some iteration as the saturation temperature is dependent on pressure as well as humidity.
Acceptance criteria:

Unit tests show input and output data that agree with a Tephigram.
New field will be named "cloud_condensation_level".
Inputs are expected to be in realization-space.
Acceptance test domain should cover a range of latitudes, but does not have to be global.

Acceptance test data are in the branch mobt1742_ccl

The Latent Heat function PR does not affect this one. It shouldn't do, as we only need dry adiabatic processes in this issue, but I created a branch merging both changes and ran the tests to check.


Action gets stuck forever if cache download times out

The same problem as reported years ago on https://github.com/actions/cache/issues/731 is back.
Wed, 06 Sep 2023 14:05:43 GMT | Run actions/cache@v3
Wed, 06 Sep 2023 14:05:43 GMT |   with:
Wed, 06 Sep 2023 14:05:43 GMT |     path: node_modules
Wed, 06 Sep 2023 14:05:43 GMT |     key: node_modules-c8afd7dc0a5b42630a5caa0df543b435fd7e5f69efa662f6038f7a191d28b06c
Wed, 06 Sep 2023 14:05:43 GMT |     enableCrossOsArchive: false
Wed, 06 Sep 2023 14:05:43 GMT |     fail-on-cache-miss: false
Wed, 06 Sep 2023 14:05:43 GMT |     lookup-only: false
Wed, 06 Sep 2023 14:05:44 GMT | Received 63347836 of 71736444 (88.3%), 60.4 MBs/sec
Wed, 06 Sep 2023 14:05:45 GMT | Received 63347836 of 71736444 (88.3%), 30.2 MBs/sec
Wed, 06 Sep 2023 14:05:46 GMT | Received 63347836 of 71736444 (88.3%), 20.1 MBs/sec
Wed, 06 Sep 2023 14:05:47 GMT | Received 63347836 of 71736444 (88.3%), 15.1 MBs/sec
Wed, 06 Sep 2023 14:05:48 GMT | Received 63347836 of 71736444 (88.3%), 12.1 MBs/sec
Wed, 06 Sep 2023 14:05:49 GMT | Received 63347836 of 71736444 (88.3%), 10.1 MBs/sec
Wed, 06 Sep 2023 14:05:50 GMT | Received 67542140 of 71736444 (94.2%), 9.2 MBs/sec
Wed, 06 Sep 2023 14:05:51 GMT | Received 67542140 of 71736444 (94.2%), 8.0 MBs/sec
Wed, 06 Sep 2023 14:05:52 GMT | Received 67542140 of 71736444 (94.2%), 7.2 MBs/sec
Wed, 06 Sep 2023 14:05:53 GMT | Received 67542140 of 71736444 (94.2%), 6.4 MBs/sec
Wed, 06 Sep 2023 14:05:54 GMT | Received 67542140 of 71736444 (94.2%), 5.8 MBs/sec
Wed, 06 Sep 2023 14:05:55 GMT | Received 67542140 of 71736444 (94.2%), 5.4 MBs/sec
Wed, 06 Sep 2023 14:05:56 GMT | Received 67542140 of 71736444 (94.2%), 4.9 MBs/sec
Wed, 06 Sep 2023 14:05:57 GMT | Received 67542140 of 71736444 (94.2%), 4.6 MBs/sec
Wed, 06 Sep 2023 14:05:58 GMT | Received 67542140 of 71736444 (94.2%), 4.3 MBs/sec
Wed, 06 Sep 2023 14:05:59 GMT | Received 67542140 of 71736444 (94.2%), 4.0 MBs/sec
Wed, 06 Sep 2023 14:06:00 GMT | Received 67542140 of 71736444 (94.2%), 3.8 MBs/sec
Wed, 06 Sep 2023 14:06:01 GMT | Received 67542140 of 71736444 (94.2%), 3.6 MBs/sec
Wed, 06 Sep 2023 14:06:02 GMT | Received 67542140 of 71736444 (94.2%), 3.4 MBs/sec
Wed, 06 Sep 2023 14:06:03 GMT | Received 67542140 of 71736444 (94.2%), 3.2 MBs/sec
Wed, 06 Sep 2023 14:06:04 GMT | Received 67542140 of 71736444 (94.2%), 3.1 MBs/sec
Wed, 06 Sep 2023 14:06:05 GMT | Received 67542140 of 71736444 (94.2%), 2.9 MBs/sec
Wed, 06 Sep 2023 14:06:06 GMT | Received 67542140 of 71736444 (94.2%), 2.8 MBs/sec
Wed, 06 Sep 2023 14:06:07 GMT | Received 67542140 of 71736444 (94.2%), 2.7 MBs/sec
Wed, 06 Sep 2023 14:06:08 GMT | Received 67542140 of 71736444 (94.2%), 2.6 MBs/sec
Wed, 06 Sep 2023 14:06:09 GMT | Received 67542140 of 71736444 (94.2%), 2.5 MBs/sec
Wed, 06 Sep 2023 14:06:10 GMT | Received 67542140 of 71736444 (94.2%), 2.4 MBs/sec
Wed, 06 Sep 2023 14:06:11 GMT | Received 67542140 of 71736444 (94.2%), 2.3 MBs/sec
Wed, 06 Sep 2023 14:06:12 GMT | Received 67542140 of 71736444 (94.2%), 2.2 MBs/sec
Wed, 06 Sep 2023 14:06:13 GMT | Received 67542140 of 71736444 (94.2%), 2.1 MBs/sec
Wed, 06 Sep 2023 14:06:14 GMT | Received 67542140 of 71736444 (94.2%), 2.1 MBs/sec
Wed, 06 Sep 2023 14:06:15 GMT | Received 67542140 of 71736444 (94.2%), 2.0 MBs/sec
Wed, 06 Sep 2023 14:06:16 GMT | Received 67542140 of 71736444 (94.2%), 1.9 MBs/sec
Wed, 06 Sep 2023 14:06:17 GMT | Received 67542140 of 71736444 (94.2%), 1.9 MBs/sec
Wed, 06 Sep 2023 14:06:18 GMT | Received 67542140 of 71736444 (94.2%), 1.8 MBs/sec
Wed, 06 Sep 2023 14:06:19 GMT | Received 67542140 of 71736444 (94.2%), 1.8 MBs/sec
Wed, 06 Sep 2023 14:06:20 GMT | Received 67542140 of 71736444 (94.2%), 1.7 MBs/sec
Wed, 06 Sep 2023 14:06:21 GMT | Received 67542140 of 71736444 (94.2%), 1.7 MBs/sec
Wed, 06 Sep 2023 14:06:22 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:23 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:24 GMT | Received 67542140 of 71736444 (94.2%), 1.6 MBs/sec
Wed, 06 Sep 2023 14:06:25 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:26 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:27 GMT | Received 67542140 of 71736444 (94.2%), 1.5 MBs/sec
Wed, 06 Sep 2023 14:06:28 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:29 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:30 GMT | Received 67542140 of 71736444 (94.2%), 1.4 MBs/sec
Wed, 06 Sep 2023 14:06:31 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:32 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:33 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:34 GMT | Received 67542140 of 71736444 (94.2%), 1.3 MBs/sec
Wed, 06 Sep 2023 14:06:35 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:36 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:37 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:38 GMT | Received 67542140 of 71736444 (94.2%), 1.2 MBs/sec
Wed, 06 Sep 2023 14:06:39 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:40 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:41 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:42 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:43 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:44 GMT | Received 67542140 of 71736444 (94.2%), 1.1 MBs/sec
Wed, 06 Sep 2023 14:06:45 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:46 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:47 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:48 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:49 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:50 GMT | Received 67542140 of 71736444 (94.2%), 1.0 MBs/sec
Wed, 06 Sep 2023 14:06:51 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:52 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:53 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:54 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:55 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:56 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:57 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:58 GMT | Received 67542140 of 71736444 (94.2%), 0.9 MBs/sec
Wed, 06 Sep 2023 14:06:59 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:00 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:01 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:02 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:03 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:04 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:05 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:06 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:07 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:08 GMT | Received 67542140 of 71736444 (94.2%), 0.8 MBs/sec
Wed, 06 Sep 2023 14:07:09 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:10 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:11 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:12 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:13 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:14 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:15 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:16 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:17 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:18 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:19 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:20 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:21 GMT | Received 67542140 of 71736444 (94.2%), 0.7 MBs/sec
Wed, 06 Sep 2023 14:07:22 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Received 67542140 of 71736444 (94.2%), 0.6 MBs/sec
Wed, 06 Sep 2023 14:07:23 GMT | Warning: Failed to restore: The operation cannot be completed in timeout.
Wed, 06 Sep 2023 14:07:23 GMT | Cache not found for input keys: node_modules-c8afd7dc0a5b42630a5caa0df543b435fd7e5f69efa662f6038f7a191d28b06c
Wed, 06 Sep 2023 16:23:25 GMT | Error: The operation was canceled.

Seems like the timeout is "working" as the download stops, but the job step hangs forever unless it is manually canceled instead of failing or succeeding as a cache-miss.

+1 to this. I've set SEGMENT_DOWNLOAD_TIMEOUT_MINS and I see the cache download respects that timeout, but the action still blocks even when the download fails. Can we please get a fix?


Update lesson1.md

I felt like dz_bu and dz_td were not explained anywhere. For a person who is not familiar with the domain enough may not find those contractions obvious.

Thank you pagrawal-psu, your correction makes this clearer -- thanks, your edit/revision will be merged into the main branch!


No CellPhoneDB interacions found in this input

I am trying to use CellPhoneDB to analyze mouse data.
I got the following error report when I use CellPhoneDB,
could anyone give any suggestion?
Thanks!
 cellphonedb method statistical_analysis \
> ETV4_meta.tsv \
> ETV4.h5ad \
> --output-path=./statistical_analysis \
> --counts-data hgnc_symbol \
> --iterations=10 \
> --threads=2
[ ][APP][03/02/22-14:14:47][WARNING] Latest local available version is `v2.0.0`, using it
[ ][APP][03/02/22-14:14:47][WARNING] User selected downloaded database `v2.0.0` is available, using it
[ ][CORE][03/02/22-14:14:47][INFO] Initializing SqlAlchemy CellPhoneDB Core
[ ][CORE][03/02/22-14:14:47][INFO] Using custom database at /home/dan/.cpdb/releases/v2.0.0/cellphone.db
[ ][APP][03/02/22-14:14:47][INFO] Launching Method cpdb_statistical_analysis_local_method_launcher
[ ][APP][03/02/22-14:14:47][INFO] Launching Method _set_paths
[ ][APP][03/02/22-14:14:47][INFO] Launching Method _load_meta_counts
[ ][APP][03/02/22-14:14:54][INFO] Launching Method _check_counts_data
[ ][CORE][03/02/22-14:14:54][INFO] Launching Method cpdb_statistical_analysis_launcher
[ ][CORE][03/02/22-14:14:54][INFO] Launching Method _counts_validations
[ ][CORE][03/02/22-14:14:54][INFO] Launching Method get_interactions_genes_complex
[ ][CORE][03/02/22-14:14:58][INFO] [Cluster Statistical Analysis] Threshold:0.1 Iterations:10 Debug-seed:-1 Threads:2 Precision:3
[ ][APP][03/02/22-14:14:59][ERROR] Unexpected error
Traceback (most recent call last):
  File "/home/dan/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/api_endpoints/terminal_api/method_terminal_api_endpoints/method_terminal_commands.py", line 150, in statistical_analysis
    debug,
  File "/home/dan/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 75, in cpdb_statistical_analysis_local_method_launcher
    output_path
  File "/home/dan/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/method_launcher.py", line 111, in cpdb_statistical_analysis_launcher
    output_path)
  File "/home/dan/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_method.py", line 43, in call
    output_path
  File "/home/dan/miniconda3/envs/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_complex_method.py", line 57, in call
    raise NoInteractionsFound()
cellphonedb.src.core.exceptions.NoInteractionsFound.NoInteractionsFound: No CellPhoneDB interacions found in this input.

Hi,
Thanks for using CellphoneDB.
Could you give us more information about your input?
Please note that CellphoneDB database is designed for human data, only human identifiers are accepted.
Best
Luz

Hi Luz
Can we update the CellphoneDB database for mouse data?
My ETV4_meta.tsv is generated following the tutorial: https://github.com/ventolab/CellphoneDB/blob/master/notebooks/0_prepare_your_data_from_anndata.ipynb
The ETV4.h5ad is generated by anndata.AnnData.write.
Thanks a lot
Dan


add default browser selection overflow menu item

Task/Issue URL: https://app.asana.com/0/72649045549333/1208944504536342/f
Description
Adds an overflow menu item that advertises setting DuckDuckGo as the default browser.
The introduced item is not yet used anywhere and click listeners/handlers will be added in following PRs.
Steps to test this PR
As an example, apply below diff and the item will show up whenever you open the overflow menu.
diff --git a/app/src/main/java/com/duckduckgo/app/browser/viewstate/BrowserViewState.kt b/app/src/main/java/com/duckduckgo/app/browser/viewstate/BrowserViewState.kt
index bfb487f1e..5db2efe5b 100644
--- a/app/src/main/java/com/duckduckgo/app/browser/viewstate/BrowserViewState.kt
+++ b/app/src/main/java/com/duckduckgo/app/browser/viewstate/BrowserViewState.kt
@@ -34,7 +34,7 @@ data class BrowserViewState(
     val showTabsButton: Boolean = true,
     val fireButton: HighlightableButton = HighlightableButton.Visible(),
     val showMenuButton: HighlightableButton = HighlightableButton.Visible(),
-    val showSelectDefaultBrowserMenuItem: Boolean = false,
+    val showSelectDefaultBrowserMenuItem: Boolean = true,
     val canSharePage: Boolean = false,
     val canSaveSite: Boolean = false,
     val bookmark: SavedSite.Bookmark? = null,

UI changes

Light
Dark

You don’t need to change the translations, let the service do it for you.

I don't want to change translations, I want to reuse the one we already have in the codebase but I'm adjusting the constant's name to better reflect what it does. Is that a problem? Why would we need to run this through the service again if all the information is already there?
If I removed all the strings and added a new one that's not translated, I'd be regressing the functionality that already relies on these translations in other places.


Drag and drop to bookmark sidebar (special folders only)

This is a Bug Report
Description
For this situation to happen, the add-on must have been configured to change the default bookmark folder location for the built-in bookmarking system and the bookmark sidebar must be open.
A user can drag and drop a tab or a link to a folder of the sidebar to bookmark it there. If a user tries to perform such action and is targeting the "Bookmarks Menu" or the "Other Bookmarks" folder, the created bookmark will be moved to the default bookmark folder configured in the add-on settings. All other folders will behave as expected (the bookmark is created in place and not moved).
Steps to reproduce the problem

Configure the add-on to change the default bookmark folder location for the built-in bookmarking system.
Open the bookmark sidebar.
Drag and drop a tab or a link to the "Bookmarks Menu" or the "Other Bookmarks" folder in the sidebar.

Expected behavior
The bookmark is created in place, in the selected folder and not moved to the default location.
Specifications

Version of the add-on: 2.10.1
Firefox edition: Firefox (regular edition)
Firefox version: 71.0
Firefox language: English
Platform/OS: Windows
Platform/OS version: 10

This behavior is happening because the "Bookmarks Menu" and the "Other Bookmarks" folders are system folders. In other words, any bookmark created by Firefox will be placed in one of them. This add-on monitors them to detect created bookmarks that must be moved to the location configured in the add-on settings.
Unfortunately, unlike other situations, there is no way to programmatically differentiate a bookmark created by Firefox in one of these folders to one created by a drag and drop action from the user. If an update to the WebExtension APIs allow to know or determine the source of the bookmark creation, then it is an issue that could be resolved.
An entry has been created in the new wiki page for known issues regarding this problem.

This issue will be reopened if an update to the WebExtension APIs allow to know or determine the source of the bookmark creation.


Using URL instead of URI in the codebase

There is a saying I heard from @tacaswell, "You make the most critical choices in the design of your project at beginning, when you have the least understanding of your project."
As we clean things up in prep for v0.1.0, I'd like to revisit my choice to use "URI" throughout the codebase, as in from_uri(...) or c.uri or, in the SQL schema, data_uri.
These are URIs but they are also URLs. See URI vs URL for example. And "URL" is a much more familiar term for normal users. If someone says "URL", a scientist might correctly intuit that they can paste that into a web browser or share it with a coworker. The term "URI" is computer science-y and potentially alienating.
If this were an important distinction for our purposes, I would value correctness over all else, but I think in this case "URL" is perfectly correct and also more accessible. Should we deprecate the usage of "uri" and move to "url"?

To be clear, I think this can be done in a backward compatible way. If we rename columns in the SQL tables, that's a migration of course, but the user-facing Python API can be maintained as an alias or slowly deprecated.

Sure, probably a worthy change. I, too, am concerned about backwards compatibility at this point in tiled...even though tiled is still in alpha, there seem to be a fair number of projects out there that may be slightly past the kick-the-tires point in commitment.
The place where I think I'd like to keep uri is in linking to external resources within metadata, where there may still be service providers who have legacy location pointers that are uri and not urls.
I paste microsoft example not to promote linking to  sharepoint in tiled reference metadata, but merely to show that there are still legacy content systems that have not adopted uri.

That makes sense. So, we can still encourage/support the usage of uri within metadata, but as far as the Tiled codebase itself, all usage of URI can become URL.


Size of libssl.a compiled in different machine is not same, which one should use?

My service link .a of openssl, not .so. I found a problem if i compile openssl in machine A and machine B seperately, the size of libssl.a and libcrypto.a is not same. If my service running in machine A, which .a should use, from A or B?

This is too generic question to answer. Also the reasons for the varying sizes can be multiple and not all of them really relevant.

This is too generic question to answer. Also the reasons for the varying sizes can be multiple and not all of them really relevant.

A practical example: cross compiling any of the NonStop builds will almost certainly be different in size than building on platform because of differences in the text regions of the ELF files - compiler identification, etc., even if the generated object code is identical.
Compiling with symbols puts path names that may be different from one machine to another - or even on the same machine in different directories.
So multiple potential reasons for EOF being different. EOF is not considered a valid identifier for significant differences in an ELF-format file from an audit standpoint (or shouldn't be although I have seen it). Neither is timestamp for that matter, if this is the underlying concern.

Ok, thanks!


Update to design_tianx.py

Update for Tian's Project 2 Design

Double check the transition from the waveguides to the Bragg gratings.


Support Markdown in Git issue comment spoiler summary

Feature Description
See PRNU_extraction/issues/23#issuecomment-2096952.
Related to #65, Benjamin_Loison/gitlab/issues/20 and Improve_websites_thanks_to_open_source/issues/920.
+6
Screenshots
No response

Concerning backticks to Add code, Code is an alternative.

Finding a Markdown to HTML converter and the other way around would be nice. In fact as I use not that much Markdown features in this context, I can easily manually do it.


Appropriate text symbol not working

For some reason when I go to use ' for words like I'm it does it double for example

I updated the glyph to include this static const char *_gltFontGlyphCharacters = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`*#=[]'@*\""; but it does it incorrectly ideas on how to solve this?

For further context I also changed
static const char* _gltFontGlyphCharacters = " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`*#=[]\"@'";
#define _gltFontGlyphCount 85  // Updated to reflect the new total character count```


Icons are broken on sakura

Sakura 3.3.4
vte 0.54.2
config https://gist.github.com/hasufell/73f18273d87e0a7cb3ced4da79e1012c

It seems I did not set up fonts correctly. I still wonder whether the default should be smart and detect that fonts cannot be displayed correctly and then default to none.

How did you fix this? I'm new to linux and am having the same problem.

see https://github.com/Peltoche/lsd#prerequisites

Thank you


Failing uplifts due to test_maxpool2d

Uplift PR  failed due to

Investigating this locally I found that running pytest -svv tests/TTIR/test_maxpool2d.py::test_maxpool2d gives
tests/TTIR/test_maxpool2d.py::test_maxpool2d[act_shape0] ⠁ Initializing Chip
  Detecting chips (found 1)
2024-11-13 08:45:34.241 | INFO     | SiliconDriver   - Detected 1 PCI device : [0]
2024-11-13 08:45:34.276 | INFO     | SiliconDriver   - Software version 6.0.0, Ethernet FW version 6.9.0 (Device 0)
                 Always | FATAL    | Buffer size and page size should be larger than 0 bytes!
FAILED

indicating
E       RuntimeError: TT_FATAL @ /proj_sw/user_dev/kmitrovic/work/tt-xla/third_party/tt-mlir/src/tt-mlir/third_party/tt-metal/src/tt-metal/tt_metal/impl/buffers/buffer.cpp:31: size != 0 and page_size != 0
E       info:
E       Buffer size and page size should be larger than 0 bytes!

I have a fix for tests/TTIR/test_maxpool2d.py::test_maxpool2d in https://github.com/tenstorrent/tt-mlir/pull/1249. As for tests/TTIR/test_maxpool2d.py::test_resnet_maxpool2d this PCC failure arises from the reshape inserted on the input and output of conv2d/maxpool2d ops. One of the reshapes results in garbage data. I will make a unit test for the TTNN team and file an issue for them.

I've created the metal issue causing the resnet maxpool test to fail: https://github.com/tenstorrent/tt-metal/issues/15048

@LPanosTT can we close this issue? I referenced only test_maxpool2d fail in it, not the resnet one.

@kmitrovicTT sure

@kmitrovicTT The resnet maxpool test will pass if we do not include the convolution before, this is because it changes what reshapes are inserted into the ttnn graph down the line. I will edit this tt-xla test and perform an uplift.

@uazizTT @kmitrovicTT uplift in here https://github.com/tenstorrent/tt-xla/pull/69


bump to 1.4.0

Description
Purpose

Mergin anyway since Firefox stable has stopped working altogether, not related to this.


Added privoxy support

Hello,
Added privoxy files support.
Thanks for this plugin !

Fork notice: With the upstream project sitting stale after nearly 8 months since the last activity, 71 outstanding pull requests, no comments from the original developer, and dozens of developers duplicating efforts while scratching their own itches, I've decided to step in and run a fork for a while. Hopefully the original developer will eventually consider picking this plugin up again or adding more maintainers so that the user base doesn't end up fragmented, but for now I would invite anyone interested in the latest updates to consider installing from and contributing pull requests to my fork.
About this PR: I have merged this PR as is. Please consider installing the plugin from alerque/nerdcommenter for this and (so far) over two dozen other updates.

Change of plans. Thanks to scrooloose who has added me as a maintainer to this repo, I'll be going through and taking care of business here instead of in a fork. This PR has been merged directly ustream.
Thanks for your contribution @spk.

Good to know


exceeding the default duration of a role breaks

set aws_default_duration to something larger than the iam roles duration and a traceback occurs
Expected Behavior
no traceback
Current Behavior
traceback and it fails
Traceback (most recent call last):
File "/usr/local/bin/gimme-aws-creds", line 17, in
GimmeAWSCreds().run()
File "/usr/local/lib/python3.7/site-packages/gimme_aws_creds/main.py", line 500, in run
aws_creds['AccessKeyId'],
UnboundLocalError: local variable 'aws_creds' referenced before assignment
Possible Solution
            if ex.response['Error']['Message'] == 'The requested DurationSeconds exceeds the MaxSessionDuration set for this role.':
                print("The requested session duration was too long for this role.  Falling back to 1 hour.", file=sys.stderr)
                aws_creds = self._get_sts_creds(aws_partition, saml_data['SAMLResponse'], role.idp, role.role, 3600)
            if r''''durationSeconds' failed to satisfy constraint: Member must have value less than or equal''' in  ex.response['Error']['Message']:
                print("The requested session duration was too long for this role.  Falling back to 1 hour.", file=sys.stderr)
                aws_creds = self._get_sts_creds(aws_partition, saml_data['SAMLResponse'], role.idp, role.role, 3600)

I'm unable to replicate this now.


[bugfix] Serious error in looping

Already fixed, you should update your local repository or maybe I forgot to push this update.


fix: fixed time refrence from Sat Dec 23 2023 to

since the output of the date command is bound with time I've changed the the date "reference" from date to time

Tasteful. Thank you for this.
Did you use the Edit this page/Report issue feature?

Nope, I've cloned the whole thing, make some changes and then submitted a PR. I didn't know that that feature even exist tho.

Damn. That's a shame.


ERROR "*** - TRUENAME: "quicklisp/software/quickproject-1.3/default-template" names a directory, not a file"

I'm getting this error:
(quickproject:make-project #p"~/projectname/")

*** - TRUENAME: "/quicklisp/software/quickproject-1.3/default-template" names a
      directory, not a file

I dunno if I'm missing something, I'm new to lisp world.
So, in order to fix it quickproject.lisp:
(defvar *template-directory* (asdf/system:system-relative-pathname :quickproject "default-template")

to
(defvar *template-directory* (asdf/system:system-relative-pathname :quickproject "default-template/")

is this a bug or I'm clearly doing something wrong?

I can't reproduce this bug.


onUglyTxtRecord not working properly

Output from log:
11-05 23:42:04.554 16464 16464 I UnityWifiDirect: device found with text record, formatted string: /v8AMABlADoAOQA2ADoAYgBmADoAZQAzADoANQBhADoAZQA4
11-05 23:42:04.554 16464 16464 I UnityWifiDirect: _/v8AZABlAG0Abw==
11-05 23:42:04.554 16464 16464 I UnityWifiDirect: ?/v8AdQBuAGkAdAB5
11-05 23:42:04.554 16464 16464 I UnityWifiDirect: _
11-05 23:42:04.555 16464 16464 I UnityWifiDirect: device found @ address 0e:96:bf:e3:5a:e8
11-05 23:42:04.596 16464 16488 I Unity   : ´┐żŠÉÇŠöÇŠ┤ÇŠ╝Ç value: ´┐żšöÇŠŞÇŠĄÇšÉÇšĄÇ
Last line shows encoded txt record where the first value is the key (´┐żŠÉÇŠöÇŠ┤ÇŠ╝Ç) and second is the value. I'm pretty sure this is not how its supposed to be, but I cannot get it to work properly. Any ideas of what might be wrong?
//Edit : after modifying the plugin to show more logs I managed to get these:
11-05 23:59:59.335 17106 17106 I UnityWifiDirect: txt-rec addr: 0e:96:bf:e3:5a:e8
11-05 23:59:59.335 17106 17106 I UnityWifiDirect: txt-rec key: demo
11-05 23:59:59.335 17106 17106 I UnityWifiDirect: txt-rec value: unity
So the problem is clearly bad encoding.

As you can see from the logs, the different components are logged in seperate lines, indicating the string contains CR after each string component, which are not taken into account in the decoding process. So this issue can be easily solved by removing CR from the original string, before processing through the decoder in onUglyTxtRecord method of WifiDirectBase.cs.
uglyRecord = uglyRecord.Replace("\n", "");


Poor performance in SQL notebooks with 30 resultsets

Issue Type: Bug
Render performance and particularly scroll performance is terrible with a SQL notebook running this cell:
select top 10 * from sys.databases
go 30

Azure Data Studio version: azuredatastudio-insiders 1.12.0-insider (93c9426f25e632e8e3dd6e572d48d559ae07a7bf, 2019-10-10T18:18:16.586Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.84GB (2.23GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

big-data-cluster
Mic
0.0.1

cms
Mic
0.5.0

dacpac
Mic
0.7.0

import
Mic
0.11.0

powershell
ms-
2019.9.0

profiler
Mic
0.10.0

query-history
Mic
0.1.0

schema-compare
Mic
0.7.0

sql-vnext
Mic
0.14.1

azdata-sanddance
msr
1.3.7

(1 theme extensions excluded)

Also the Glenn Berry Diagnostic Query Notebook has significant poor performance when opening a Notebook that has been scheduled (ie already has the results) and if you choose to Run All Cells. When we first created these I didnt notice this.

@chlafreniere - bubbling this up.

Azure Data Studio Version:
Version: 1.20.0-rc1 (user setup)
Commit: c36961378259f18fb3af0257d89c482fc3afe1a0
Date: 2020-07-11T13:14:59.340Z
VS Code: 1.46.0
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

Azure Data Studio Version:
Version: 1.20.0-insider (user setup)
Commit: 7d5ecfe905e2e521e9c10c8ce8ffca881bc8c611
Date: 2020-07-10T05:33:19.580Z
VS Code: 1.46.0
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

Steps to Reproduce:

Launch Azure Data Studio and load Glenn Berry's SQL 2019 Diagnostic Information Query from here.
Execute the notebook against your SQL 2019 environment. This will take a few minutes.
Save the notebook and close it.
Reopen the notebook (which has pre-executed info). After 30 seconds, it will show this error:

After waiting for a few minutes, it would eventually load (ignoring the dialog box). When it loads, please click on "Keep Waiting" (don't choose Close or Reopen otherwise it will try to reload ADS and would have to start back from Step 4).
When it does load, it is generally unresponsive.

Try Find "Query 47" on the notebook, it will be fairly slow (a few seconds to find it).
Scrolling up and down the notebook is also very slow.
Trying to click on a text cell to do editing is also unresponsive.
Trying to add a new cell to execute a new code is also very slow.

Note: Query 47 has fairly lengthy result set. I was able to load / render the notebook in Azure Dev Ops :)

Other queries may also return lengthy result sets; which vary from one SQL Server environment to another.

@lucyzhang929 - can you please confirm that the latest fix in Insiders v1.32.0 would improve perf for the issue that @vickyharp reported above? Thank you.

@SQLDBAWithABeard - w.r.t Glenn Berry Diagnostic Query Notebook...
We have an update on loading time improvement.
Follow the steps below to try out the improved loading time:

Download Azure Data Studio Insider build: v1.32.0-insider.
Version: 1.32.0-insider (user setup)
Commit: 991b9af19880b20f5382daf5249aa31cc919560b
Date: 2021-08-06T05:23:36.445Z

Launch Azure Data Studio and go to Settings ⚙.

Disable Results Grid: Auto Size Columns.

Enable Notebook: Enable Incremental Grid Rendering.

Can you please let us know what you think?
Thank you!

Awesome - That works for me :-)
Normal ADS

Insiders

@MsSQLGirl The 'Enable Notebook: Enable Incremental Grid Rendering' setting in Insiders is targeted for initial loading time when opening large notebooks and does not affect when a cell is run. However, turning off the 'Auto Size Columns' setting will improve the perf issue @vickyharp mentioned. I'm currently working on perf improvements for the Auto Size Columns feature.

Yup I was able to open in Insiders and do a run all on the Glen Berry Notebook which would have crashed it before


[Suggestion] Possibility to update payloads

his is not an issue, but a suggestion. I think will be fine if there's a way to update the default payloads (Decrypt9, Hourglass9 and EmuNAND9) used in Plailect guide. Do you think it's possible?

Something like that already exists: https://github.com/LiquidFenrir/MultiUpdater

thanks


Added a internal solrQueryResponse object and Solr response metadata

The need for response metadata required an addition of a ISolrQueryResponse interface that allows for addtion of other values/Object.
(We have a direct need for the actual query sent to Solr for logging and historical reasons)
A metadata object has been added to accomodate the need for meta info to be available.
In the future the Solr query statistics could also be implemented.
Having the ISolrQueryResponse object makes it much easier to expand functionality.

Bump.
Since SolrNet is now back in the land of the living, can we merge this please? :D

@iyousifi more than happy to merge. But before, can you please resolve the conflicts?
Once they are done, @gjunge reviews (he is really quick) and I will release right away.
Thank you!

@xmorera thanks, conflicts are resolved. I had a real quick look at the documentation and didn't find any obvious place to put anything about the SolrQueryResponse and the MetaData object. If you can point me to it I'll do my best to update it.

@iyousifi thanks for resolving the conflicts.  Can you please add below ExtraParams in https://github.com/SolrNet/SolrNet/blob/master/Documentation/Querying.md
@gjunge would you be so kind as to take a look?

@iyousifi
There are quit a lot of extra *.cs.orig files in the PR, could you remove them?

There is also an extended ISolrConnection interface, called IStreamSolrConnection, these returns Streams instead of Strings for performance reasons (XDocument can be loaded from a Stream, which removes the need of creating a large intermediate String object).
It would be good to have the new SolrQueryResponse also there.
One could make a generic SolrQueryResponse<TResponseType> , and in order not to have to add generic everywhere, create a simple, empty SolrQueryResponse : SolrQueryResponse<string> class.
What are your thoughts?

@gjunge thanks for the review.
I did some clean up and implemented your suggestion.
Happy reviewing :)


Created Config file for all the data

Fixes

Fixes #63  by @SadashayKanungo
Types of changes

[ ] Bug/Hot fix (non-breaking change which fixes an bug)
[ ] New feature (non-breaking change which adds a functionality/feature)
[x] Refactoring Old Code ( non-breaking change replacing already existing code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

All the data used in script.js has been moved to a new file config.json.
Code in script.js and index.html has been updated to integrate config.json.

This change enables everyone to spin up their own terminal-portfolio without going into the codebase. They just have to replace the data in config file with their own.
The JavaScript code also becomes more elegant with this change.
Preview Link
Here is my preview
Checklist:

[x] I have read the CONTRIBUTING guidelines in repository.
[x] My pull request has a descriptive title and is attached to an existing issue.
[x] I haven't repeated the code and it follows established code style of repository.
[x] My branch is up-to-date with upstream branch.

Awesome Work 👍 🚀


continued changes to argument names to make them more uniform

Coverage decreased (-0.03%) to 63.964% when pulling 32cb82b613281f6647f45570518853ee375ef217 on jeldred:harmonize_arguments into f2edb81eef7438ba62a3b202a193f2101161d931 on hall-lab:develop.

+1 🀄


[bug]: Sendkeys to Windows RDP session: shift key not interpreted (?)

What went wrong?
> sendkeys --version
2.8.0

# It works locally ...
> echo "Hello_under_scores" | sendkeys -i 5
Hello_under_scores

# Now send to RDP App - not all chars come through:
> echo "Hello_under_scores" | sendkeys -i 5

Also tried using a file as input - same result.
Expected result:
Sending keys sends the correct characters.
Actual result:
Sends correct chars locally but isn't working sending into RDP session.
Theory:
All non [a-z] characters are a (?) It doesn't interpret the shift key correctly ?
Previous Version
This works on the previous node version.
Same thing, swapped out to previous version:

ack: Thanks for the bug report, will look into it.

I've made some changes to the way key press events are dispatched with version v3.0.1 but don't currently have access to RDP. Are you able to confirm if this addresses the issue?

I experience the same issue with VMware remote console app or remote console in browser, shift+letter=a letter for me.
This is on 3.0.2.

I think I've got a fix out with v4.0.0 if you can try again.

I've tried 4.0.0 and:

still does not works, Vlad = alad, but apple scripts also have the same issue:

if application "Arc" is running then
	tell application "Arc" to activate
	delay 0.5
	tell application "System Events" to ¬
		tell application process "Arc"
			keystroke "Vlad"
		end tell
end if

there is small difference, applescript sends vlad, where your script sends alad, but still the applescript does not send the capital V
2. if the tab is not vmware console, but let's say google, both your sendkey and applescript send the corect Vlad
3. i think you forgot to increment the version inside the program?
❯ /opt/homebrew/bin/sendkeys --version
3.0.1
❯ ls -al /opt/homebrew/bin/sendkeys
lrwxr-xr-x  1 user  brew  37 Oct  7 08:44 /opt/homebrew/bin/sendkeys -> ../Cellar/sendkeys/4.0.0/bin/sendkeys

Thank you for your swift support @socsieng!
Really appreciate it!

i think you forgot to increment the version inside the program?

Thanks for pointing this out. There was a problem with my CI/CD setup which meant that the latest version of the package wasn't published properly. It should now be fixed.
sendkeys --version
4.0.4

What this means is that the version you tested 4.0.0 was actually 3.0.1 which didn't have the fix applied. Do you mind testing again?
If that doesn't work, can I get you to try the following to help me narrow the problem down:
sendkeys --application-name "Arc" -d 0.6 --characters "<c:v:shift>lad"

sendkeys --application-name "Arc" -d 0.6 --characters "Vlad"

sendkeys --application-name "Arc" -d 0.6 --characters "<c:v:shift>lad"

Both print now vlad, instead of previous alad, so small improvement there :)
But still no capital V.
For a google tab they both work as expected, just for the vmware console tab they misbehave.
Thank you for your effort & support!

Thanks. Closing this issue for now.


[Enhancement]: press tab to accept suggestion?

Before Requesting

[X] I have searched the existing issues, and there is no existing issue for my feature request

What feature do you want?
Currently, If I write something and get a suggestion on a prompt I see a button to Accept the suggestion. And I can accept it by clicking that button.
But, it would be better if I just press tab button to accept the suggestion.

It's a plus feature, please consider getting the plus license key to support this project.


Gerbers

Hi @byDagor, great work! Do you by chance have the Gerber files you used to make the boards? Or do you have a link to purchase them if you are selling these boards?
Thanks!

hi @ethansayre :) I'm doing an alpha run on the newest revision. Would you be interested in buying one?

If you want an alpha board please fill this forms: https://forms.gle/mN9Svp7R9zVknNU36

It looks like it's not possible to buy an alpha board anymore, when will I be able to buy a board? Thanks a lot for your effort, this board will be awesome for hobbyists!

I made a small batch of boards and they're on their way to their new homes. After I get a bit feedback I'll have another batch made. :)

Is this project still being worked on? Could you publish the Kicad/Gerber files, please?

Hi Dagor,
Are you still working on this? I'd like to experiment with some of your boards, when will you be doing the next version?
Would you consider releasing the schematic and PCB files?
Andrew


Setting image and title via nib not storyboard

Hello,
I'm trying to set my Tab Item image, selectedImage, and title from within my Swift file, rather than inputing them from the dropdown options in the Storyboard. However, it seems that the images and title set in the Storyboard are still shown over the images and title set in my Swift file, so both are showing. I am wanting and expecting any attributes assigned or modified in my Swift file to override it but it is not.
I have tried following the readme, previous issues, Apple documentation, and tracing the implementation, but I am still stuck.
I have attached a screenshot of my code and simulator. You can see that the title "WHATS UP" and icon "person" from my Swift file is shown but they're under the still showing title "First" from the storyboard. The icon was initially and visibly the "square" from the Storyboard, but I clicked the "Second" tab so the icon changed to "pencil" due from my Custom Animation which I implemented hoping it would fix the issue but doesn't. The "First" text is red because of animatedItems[0].textColor = UIColor.red, but I expected it to change the "WHATSUP" text.
So, I am wanting to chose and display the title and images from the Swift file but the title and images are still showing from Storyboard. Would I be able to get help with this?
Thanks!

I fixed my issue by my lines of code that modify the RAMAnimatedTabBarItem attributes in animatedItems to be before the super.viewDidLoad()
I also used my custom animation class to correctly colour the icon.image or icon.highlightedImage and setting icon.isHighlighted to false or true respectively for a selected or unselected item in the playAnimation, deselectAnimation, and selectedState functions.


How could coverage.py xml report contains “methods” keyword？

I use coverage.py's xml report to combine with jenkins and Cobertura to generate code coverage rate, and command is coverage xml sources/test_calc.py
While Python and coverage.py's xml report just contains 5 indexes:

But Java and maven's xml report contains 6 indexes:

So could coverage.py's xml report contains “methods” keyword？

I don't know what a methods count would be counting.  Python code doesn't need to live in methods as it does in Java.  What do you expect the methods information to show?

@nedbat I also don't know how a method shows in Python like Java, but our company's  inner system needs this; So I insert fake methods informathon, that works ok:
sed -i 's/<methods\/>/<methods>\n<method name="fakemethod" signature="" line-rate="100" branch-rate="100" complexity="0">/g' coverage.xml
sed -i '/fakemethod/a </method>\n</methods>' coverage.xml


fix label flickering/duplicate tiles with different source-zoom

When tiles are mapped to the maximum source zoom, tiles with the same coordinates (but different style-zoomlevels) can appear in the the visible-set.
This change puts only the tile with the higher style-zoomlevel to the visible-set.

Going to merge this, and as discussed in the meeting we "might" refactor the logic of the view sending the visible tile set taking style zooms into account. (It looks kinda not possible because different datasources have different max zooms, which means tilemanager should be the place this check should be happening)


Updating link to standard rendering pipeline full playground

There is a conflict :(

Cannot merge there is a conflict!


test: milvus len with disabled list like

Goals:
A test for len of milvus if list_like=False, which is a special case for milvus len

Codecov Report
Base: 82.52% // Head: 30.28% // Decreases project coverage by -52.23% :warning:

Coverage data is based on head (11205af) compared to base (83d1bc5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #889       +/-   ##
===========================================
- Coverage   82.52%   30.28%   -52.24%
===========================================
  Files         138      138
  Lines        7148     7148
===========================================
- Hits         5899     2165     -3734
- Misses       1249     4983     +3734

Flag
Coverage Δ

docarray
30.28% <ø> (-52.24%)
:arrow_down:

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

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to define multiple ports on POX?

I want to connect several switches directly to the pox controller through wired links (in simulation). In this case, should I define multiple interfaces with different listening ports on pox?
How many ports can I define on POX in general?

You can probably do this by launching the openflow.of_01 task multiple times.  There shouldn't be any hard limit on how many times you do that.
But for the use case you describe, I don't think there's any need to.  By default it binds to <IP_ADDRESS>:6633, so it should be able to accept connections from all reachable switches.


Merge PHOENIX-6182: IndexTool to verify and repair every index row

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 23s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 3 new or modified test files.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
14m  6s
4.x passed

+1 :green_heart:
compile
1m  0s
4.x passed

+1 :green_heart:
checkstyle
1m 36s
4.x passed

+1 :green_heart:
javadoc
0m 46s
4.x passed

+0 :ok:
spotbugs
3m  3s
phoenix-core in 4.x has 958 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 47s
the patch passed

+1 :green_heart:
compile
1m  2s
the patch passed

+1 :green_heart:
javac
1m  2s
the patch passed

-1 :x:
checkstyle
1m 34s
phoenix-core: The patch generated 212 new + 2750 unchanged - 31 fixed = 2962 total (was 2781)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 47s
the patch passed

-1 :x:
spotbugs
3m 15s
phoenix-core generated 4 new + 958 unchanged - 0 fixed = 962 total (was 958)

_ Other Tests _

-1 :x:
unit
206m 38s
phoenix-core in the patch failed.

+1 :green_heart:
asflicense
0m 42s
The patch does not generate ASF License warnings.

244m 48s

Reason
Tests

FindBugs
module:phoenix-core

org.apache.phoenix.mapreduce.index.IndexVerificationResultRepository.AFTER_REPAIR_EXTRA_UNVERIFIED_INDEX_ROW_COUNT_BYTES is a mutable array  At IndexVerificationResultRepository.java: At IndexVerificationResultRepository.java:[line 136]

org.apache.phoenix.mapreduce.index.IndexVerificationResultRepository.AFTER_REPAIR_EXTRA_VERIFIED_INDEX_ROW_COUNT_BYTES is a mutable array  At IndexVerificationResultRepository.java: At IndexVerificationResultRepository.java:[line 133]

org.apache.phoenix.mapreduce.index.IndexVerificationResultRepository.BEFORE_REPAIR_EXTRA_UNVERIFIED_INDEX_ROW_COUNT_BYTES is a mutable array  At IndexVerificationResultRepository.java: At IndexVerificationResultRepository.java:[line 129]

org.apache.phoenix.mapreduce.index.IndexVerificationResultRepository.BEFORE_REPAIR_EXTRA_VERIFIED_INDEX_ROW_COUNT_BYTES is a mutable array  At IndexVerificationResultRepository.java: At IndexVerificationResultRepository.java:[line 126]

Failed junit tests
phoenix.end2end.PermissionNSDisabledWithCustomAccessControllerIT

phoenix.util.IndexScrutinyIT

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1022

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux c3c138416e7c 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / aa468e3

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

spotbugs
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/testReport/

Max. process+thread count
6259 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1022/1/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


PISA parse length

Thank you very much for your PISA.
Could PISA parse be adapted to handle variable lengths, such as obtaining the entire R2 segment, which could be either 100 or 150 bases long, without needing to change the JSON file each time?
PISA parse2 can be adjusted well, but it cannot output quality values.
Best wishes.

In the new release, I will use parse2 to replace parse. Do you think any downstream tools will use the quality scores?

It may not be necessary to retain this information, as the quality score of reads sufficiently reflects the sequencing quality.


Changes part of effect

We could easily send values to change part of effects.
Do you think its possible to create this new feature ? (no urgence)
3:::SETD^f.0.par1^0.4867674858223062	36
3:::SETD^f.0.par2^0.4848771266540643	36
3:::SETD^f.0.par3^0.998109640831758		35
3:::SETD^f.0.par4^0.996219281663516		35
3:::SETD^f.0.par4^0.9924385633270322	36
3:::SETD^f.0.par4^0.9905482041587902	36
3:::SETD^f.0.par4^0.9886578449905482	36
3:::SETD^f.0.par4^0.9867674858223062	36
3:::SETD^f.0.par4^0.9848771266540642	36
3:::SETD^f.0.par4^0.9829867674858223	36
3:::SETD^f.0.par4^0.9810964083175804	36
3:::SETD^f.0.par4^0.9792060491493384	36
3:::SETD^f.0.par4^0.9773156899810964	36
3:::SETD^f.0.par5^0.001890359168241966	38
3:::SETD^f.0.par5^0.005671077504725898	38
3:::SETD^f.0.par5^0.00945179584120983	37
3:::SETD^f.0.par5^0.013232514177693762	38
3:::SETD^f.0.par5^0.015122873345935728	38
3:::SETD^f.0.par5^0.017013232514177693	38
3:::SETD^f.0.par5^0.01890359168241966	37
3:::SETD^f.0.par5^0.020793950850661626	38
3:::SETD^f.0.par5^0.022684310018903593	38
3:::SETD^f.0.par5^0.024574669187145556	38

Unfortunately, this is not as easy as it seems. Sending and receiving the messages is trivial, but we also need a proper API surface for this. Each effect has a slightly different interpretation of the 6 params:

This means, for each effect type we have to create a different class/object with well-named properties and methods. Each value has to be transformed into a human-readable value like in the UI (ms, %, kHz, etc.).
What could make things worse is that the different mixer models could have different effects.
So, to make this properly (and not just fast), we first need an idea of the API surface, then collect all infos we want to exchange and finally, create mappings from linear values to output values.

FX types (Ui24R):
-1: inactive / none
0: Reverb
1: Delay
2: Chorus
3: Room
SETD^f.3.fxtype^1

The foundation for this was set in #149 .
Since the FX type can change at runtime, I think it is almost impossible to create a real specific API for this.
Therefore, I will stick with your suggestion and allow to generically change the six FX params.
First draft:
// get stream of values for FX param 1 on FX 1
conn.fx(1).getParam(1).subscribe(v => /* ... */);

// set FX param 4 on FX 2
conn.fx(2).setParam(4, 0.75);


config: add bulk limit to index celery task

Closing in favor of https://github.com/inveniosoftware/invenio-indexer/pull/154


The test is not working how should

Challenge Waypoint: Write Reusable JavaScript with Functions has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var a = 4;
var b = 5;

function ourFunction(a, b) {
  return a + b;
}

// Only change code below this line.

ourFunction(a, b);

// Only change code above this line.

if(typeof myFunction !== "undefined"){
var f=myFunction(a,b);
(function(){return f;})();
}

Create and call a function called myFunction that returns the sum of a and b.

The last sentence in the description.
@migueljo Please use chatroom before creating an issue here.

@gasperno Thanks for you're help
Happy Coding!

ohh, yes you're right, I'm sorry it was my bad


Merge sort

Would like to implement it in java @rudrakshi99 please assign me

I would implement this in C @rudrakshi99 pl do assign .

Would like to implement it in java @rudrakshi99 please assign me

please mention the language.

I would like to implement it in C++. Kindly assign this to me

Already present.


About Learning at Celeb-DF

What code do you use to cut out frames when learning in Celeb-DF?
If it is not in this repository, we would appreciate it if you could upload it.
Also, what is the directory structure at that time?

Code of preprocessing Celeb-DF:

For each video in Celeb-DF, we extract 3 frames per second.  We crop the faces with bounding boxes (detected boxes enlarged 1.3×) which is provided by MTCNN. See Section 4.2. Implementation Details for more details.
You can deal with this problem by slightly modifying the published code prep_w_mask.py.

The directory structure of video frames remains the same as video.

Thank you very much.
However, I have a new problem.
python main.py --dataset celebdf --aug-name RE --consistency cos --consistency-rate 1.0
When I run the above, I get the following error
When outputting img_path and label in base_dataset.py, "/" and "m" are output.
What is the cause?
args: Namespace(amp=False, aug_name='RE', batch_size=32, consistency='cos', consistency_rate=1.0, dataset='celebdf', epochs=30, exp_name='test', ff_quality='c23', gpus='0', load_model_path=None, log_interval=100, lr=0.0002, model_name='xception', norm='0.5', num_classes=2, num_workers=8, optimizer='adam', real_weight=4.0, root='/media/tr22008/hdd/celeb_core/', seed=3407, shuffle=True, size=299) train aug:<transform.TwoTransform object at 0x7fd7f35f0f60> test aug:Compose(     Resize(size=299, interpolation=bilinear, max_size=None, antialias=None)     RandomHorizontalFlip(p=0.5)     ToTensor()     Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5]) ) csv path: /media/tr22008/hdd/celeb_core/List_of_testing_videos.txt [train]	 fake imgs count :23437, real imgs count :12113 csv path: /media/tr22008/hdd/celeb_core/List_of_testing_videos.txt [test]	 fake imgs count :1770, real imgs count :1120 len train dataset:35550 len test dataset:2890 consistency loss function: ConsistencyCos(   (mse_fn): MSELoss() ), rate:1.0 optimizer: Adam ( Parameter Group 0     amsgrad: False     betas: (0.9, 0.999)     eps: 1e-08     lr: 0.0002     weight_decay: 0 ) img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / label: m img path: / img path: / label: m label: m img path: / label: m img path: / label: m img path: / img path: / label: m label: m Traceback (most recent call last):   File "main.py", line 196, in <module>     main(args)   File "main.py", line 144, in main     trainer.train_epoch(epoch_idx)   File "/home/tr22008/deepfake_detection/CORE-main/src/trainer.py", line 56, in train_epoch     for batch_idx,(data,label) in enumerate(self.train_loader):    File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 521, in __next__     data = self._next_data()   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1203, in _next_data     return self._process_data(data)   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data     data.reraise()   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/_utils.py", line 425, in reraise     raise self.exc_type(msg) IsADirectoryError: Caught IsADirectoryError in DataLoader worker process 0. Original Traceback (most recent call last):   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop     data = fetcher.fetch(index)   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch     data = [self.dataset[idx] for idx in possibly_batched_index]   File "/home/tr22008/.local/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>     data = [self.dataset[idx] for idx in possibly_batched_index]   File "/home/tr22008/deepfake_detection/CORE-main/src/datasets/base_dataset.py", line 18, in __getitem__     image = Image.open(img_path).convert('RGB')   File "/home/tr22008/.local/lib/python3.6/site-packages/PIL/Image.py", line 2975, in open     fp = builtins.open(filename, "rb") IsADirectoryError: [Errno 21] Is a directory: '/'

I think the img_path may be not correct, you can print the  img_path in the dataset and debug.

I checked the path as print('imgs:',self.imgs) in def __getitem__(self,idx) in base_dataset.py and it is not wrong.
I rewrote self.imgs = [[p,1] for p in fake_imgs] + [[p,0] for p in real_imgs] in celeb_df.py as follows and it worked.
What is the cause?

Yeah, you are right.
I will fix this.


ValueError: substring not found

I get the error below when running the audit on my baseline.
Command:
detect-secrets audit --json .secrets.baseline
Error Message:
Traceback (most recent call last):
  File "/home/codespace/.local/bin/detect-secrets", line 8, in <module>
    sys.exit(main())
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/main.py", line 32, in main
    handle_audit_action(args)
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/main.py", line 152, in handle_audit_action
    audit.audit_baseline(args.filename[0])
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/audit/audit.py", line 25, in audit_baseline
    if _classify_secrets(get_secret_iterator(secrets)):
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/audit/audit.py", line 42, in _classify_secrets
    io.print_context(
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/audit/io.py", line 37, in print_context
    context.snippet.highlight_line(context.secret.secret_value)
  File "/home/codespace/.local/lib/python3.8/site-packages/detect_secrets/util/code_snippet.py", line 75, in highlight_line
    index_of_payload = self.target_line.lower().index(payload.lower())
ValueError: substring not found

Additional Information:
        "type": "Hex High Entropy String",
        "filename": "<removed string>",
        "hashed_secret": "<removed string>",
        "is_verified": false,
        "line_number": 678

Corresponding part of the file:
678:        example: >-
679:          <removed string>

It seems that the tool can't handle such syntax in yaml files.

Same here for a huge nested single-line json file (valid, though):
Secret:      3 of 3
Filename:    filename.json
Secret Type: Base64 High Entropy String
----------
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/secret_env/bin/detect-secrets", line 8, in <module>
    sys.exit(main())
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/main.py", line 32, in main
    handle_audit_action(args)
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/main.py", line 152, in handle_audit_action
    audit.audit_baseline(args.filename[0])
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/audit/audit.py", line 25, in audit_baseline
    if _classify_secrets(get_secret_iterator(secrets)):
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/audit/audit.py", line 42, in _classify_secrets
    io.print_context(
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/audit/io.py", line 37, in print_context
    context.snippet.highlight_line(context.secret.secret_value)
  File "/home/user/anaconda3/envs/secret_env/lib/python3.9/site-packages/detect_secrets/util/code_snippet.py", line 75, in highlight_line
    index_of_payload = self.target_line.lower().index(payload.lower())
ValueError: substring not found

I have the same issue, it seems that the tool has a problem with the | character in a yml. While that is fixed, a quick workaround is to cath that Error to avoid the tool failing and not completing the rest of the audit.

Yes, this looks like to be an issue with multi-line secrets. As stated in the README, multi-line secrets are not supported. I do agree that failures caused by this caveat should be caught and fail gracefully.

Is there any way to install some kind of snapshot/nightly of detect-secrets which include this fix?

@ghilainm Not at the present time. We will have to wait until a new release of detect-secrets. This should be happening very soon. We will keep this point as a take-away to determine how we can ship fixes faster in the future.

Is there any way to install some kind of snapshot/nightly of detect-secrets which include this fix?

@ghilainm @arisbee If you're desperate, and willing to take a hack from a stranger, see this note.


[RDBMS] Update Postgres restore command to support available zone

Description

Users can choose available zone when restoring the PG server.
The default value for restore time is set to current time.
Added password test
[IMPORTANT] Added Storage service endpoint to vnet/subnet when provisioning a database server with that to address OPAPH issue (restore failure in PROD).

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

RDBMS

RDBMS

RDBMS

RDBMS

Hi! This change must be checked in to prevent PostgreSQL restore failure caused by WAL replica storage issue. I would very much appreciate if you could review this before the code complete day!

Hi! This change must be checked in to prevent PostgreSQL restore failure caused by WAL replica storage issue. I would very much appreciate if you could review this before the code complete day!

@evelyn-ys will help with this PR.

@evelyn-ys will help with this PR.

Can you add tests for:

Users can choose available zone when restoring the PG server.
The default value for restore time is set to current time.
[IMPORTANT] Added Storage service endpoint to vnet/subnet when provisioning a database server with that to address OPAPH issue (restore failure in PROD).

Added test for available zone, I think the other two are hard to add tests for..

/azp run


subsection articles duplicated on main section and fixed that

@peterp please review
The section page was duplicating/listing the subsection articles as well on top of it's own. So I fixed that here.

👍


Year?

Core date offers years as an option for neither Period nor DeltaRecord and I'm touching year differences in some of my own code -- currently there's no convenience for it. 52 weeks and 365 days aren't very exact values to divide against...

Period is limited to doing math that is not affected by input date and time.
Duration lets you use Years in math, but it has no equivalent to DeltaRecord because its not a fixed elapsed time equivalent.
Can you give me an example or two of what you are doing maybe there is another approach ?

In my example I'm given a birth date in the form of a string. In order to turn that into an "age", I run a Date.fromString to get a Maybe Date as well as pipe in the Date.now task. I then ran Maybe.map (Date.Extra.Period.diff now) birthDate to get a Maybe DeltaRecord.
I would prefer to have a year field so I could Maybe.map .year for a Maybe Int to easily pluck off a year. Currently to get a Maybe Int, what I'm doing is floor  (((toFloat week) * 7 + (toFloat day)) / 365.25)  which is a close approximation, but isn't exactly pretty.


Near handler

Closes #2 .
%near-handler agent,  with implemented spec from #2 .

Our spec for %near-handler will likely change now that we know more about userspace permissions, but this work so far definitely fulfills #2 and will act as a good foundation for that.
Will merge this once the check gets fixed, @SuperCoolYun see this error message:
The dist/index.js seems to be stale. Please run *yarn build* and commit the dist/index.js file.


[Bug] Graph QL variable replacement leads to error

It looks like the variable replacement is not working in all cases:

{
    "id": {{UNSUBSCRIBABLE_WIDGET_ID}}
}

leads then to an invalid json, I guess because it come out as
{
    "id":
}

If I try
{
    "id": "{{UNSUBSCRIBABLE_WIDGET_ID}}"
}

it is properly replaced, but the graphQl api rightfully rejects it then, because the field is Int! not String!
This is unexpected and a bug.

It works if I use it in the query:
query widgetQuery {
    widget(id: {{UNSUBSCRIBABLE_WIDGET_ID}}) {
      ...WidgetFragment
    }
}

still, both should be possible.

@helloanoop, I think this would be a good way to go: https://github.com/usebruno/bruno/pull/887
I would consider this a mayor issue and would be greatfull, if it could be part of the next release.
Thx a lot for this excellent tool!
Andreas

Hi @Andreas-Schoenefeldt
The bug also happens for http-request if the body contains a variable, the json is not parsed correctly
instead if we can move the json parsing all together after the interpolation would make the code consistent for all the graphql and http-request
Please share your thoughts @helloanoop

@aliasgar55 that would absolutely make sense 👍

I found one additional issue. {{UNSUBSCRIBABLE_WIDGET_ID}} in here is not replaced at all:
{
    "filter": "{\"andX\":[{\"andX\":[{\"eq\":{\"parentType\":\"widget\"}},{\"eq\":{\"parentId\":{{UNSUBSCRIBABLE_WIDGET_ID}}}}]},{\"orX\":[{\"like\":{\"data\":\"%\\\"country\\\":\\\"INT\\\"%\"}},{\"like\":{\"data\":\"%\\\"country\\\":\\\"DE\\\"%\"}}]}]}",
    "limit": 10,
    "offset": 0
}

Ok, the last comment can be solved by adding a space:
{
    "filter": "{\"andX\":[{\"andX\":[{\"eq\":{\"parentType\":\"widget\"}},{\"eq\":{\"parentId\":{{UNSUBSCRIBABLE_WIDGET_ID}} }}]},{\"orX\":[{\"like\":{\"data\":\"%\\\"country\\\":\\\"INT\\\"%\"}},{\"like\":{\"data\":\"%\\\"country\\\":\\\"DE\\\"%\"}}]}]}",
    "limit": 10,
    "offset": 0
}

This appears to be an issue of handlebar.js - @helloanoop I don't think it is as critical as the original issue here, but we might consider replacing handlebar by a "simple" selfmade regex.


Update README

Update the README file with the recent changes in the grammar, pretty-printing, etc.

Fixed with #63


Warn user if tipping http URL

closes #770

@aniputapet please advise what should be the title and description of the modal window above.

Superhero Wallet is marking HTTP sites as "Not secure” - please, use URLs with HTTPS, only.
The S in HTTPS stands for "secure." The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website.  Website using HTTPS are more trustworthy and secure, for both users and website owners.
@mradkov

Superhero Wallet is marking HTTP sites as "Not secure” - please, use URLs with HTTPS, only.
The S in HTTPS stands for "secure." The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website.  Website using HTTPS are more trustworthy and secure, for both users and website owners.
@mradkov

Superhero Wallet is marking HTTP sites as "Not secure” - please, use URLs with HTTPS, only.
The S in HTTPS stands for "secure." The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners.
@mradkov

@imollov please add the following and rebase this PR so we can merge it. ✌

Superhero Wallet is marking HTTP sites as "Not secure” - please, use URLs with HTTPS, only.
The S in HTTPS stands for "secure." The TLS (or SSL) certificate proves that the server is actually the legitimate host of the website. Website using HTTPS are more trustworthy and secure, for both users and website owners.
@mradkov

@imollov please add the following and rebase this PR so we can merge it. ✌


Add article 'like' option

We can move the link to the source next to the author information, then have the heart or thumbs-up at the bottom of the page.

@mircealungu  I assume we would also want to send the information to Zeeguu once a user likes an article, thus an endpoint would be suitable for that.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Auto renew active session

Currently the session expires after a fixed time period after login. It would be convenient for the user, if the frontend periodically requests a new session token. However, setting a hard limit for the renewals might be a good idea to make the sessions forcibly terminate at some point.

Couldn't this just be fixed with just making the session token last a bit longer rather than reinventing the wheel?


Clean up the application.yaml file and used one db variable for all

Clean up the application.yaml file and used one db variable for all the databases.

Looks good


Faster-whisper upgrade

First of all I great repo, I use it a lot, so thank you for creating this project.
Could you please upgrade faster-whisper version? 0.10.0 hallucinates a lot (creates repetitions), while newer versions do not.

Hi, glad my work is making a difference, your projects are great too )
Updated faster-whisper to 1.0.1

Thanks a lot


would it be possible that multi axes used in one chart

Cause I want to have two axes in one chart  for line charts or column charts, how can i do ?

That feature is not yet implemented. You would have to use lxml calls to manipulate the XML directly. If you search on "python-pptx workaround function" you'll find some ideas on how that's done.


Vitess

DO NOT MERGE! I just want to play with Vitess to see what it might look like behind openstack

please test this

please test this

please test this

please test this

please test this

I'm closing this singe @hkumarmk has taken over the vitess deployment work


[Question] download list of artists already in db ?

how to download a list of artist_id already included in db ??? and no option 4 doesnt work
i want to download newer images of artists

d -> 3 ?

wait a second this export a list ? then what now ?

use it and use option 4 from main menu?

thanks this solved it


adds react-router to welcome component

CATEGORY
Choose one

[ ] Bug Fix
[x] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

This is the first step in a larger effort to convert the superset frontend to a single page app. This PR introduces react router under the /welcome component. The next step is to replace /dashboard/list view with a react component and have react router handle routing between these pages.
Eventually we'll move all the views under react router, which should make subsequent page loads faster.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

Welcome page renders exactly as on master.
Navigation works on that page to any other page.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS

Codecov Report

Merging #8654 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8654      +/-   ##
==========================================
- Coverage   65.76%   65.75%   -0.01%
==========================================
  Files         482      482
  Lines       23824    23825       +1
  Branches     2594     2594
==========================================
  Hits        15667    15667
- Misses       7984     7985       +1
  Partials      173      173

Impacted Files
Coverage Δ

superset/assets/src/welcome/App.jsx
0% <ø> (ø)
:arrow_up:

superset/db_engine_specs/presto.py
22.58% <0%> (-0.06%)
:arrow_down:

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 acf0753...3fa386e. Read the comment docs.

Awesome! LGTM.


Icon suggestion: Shopping cart

i think the icon set is awesome, it would be nice if we could have a shopping cart icon too....

I was going to mention the same..

Just added this 👍