[BW-1015] Display "Waiting for Cloud Quota" status for tasks within a workflow

This exposes "Awaiting Cloud Quota" as a Cromwell task status on the Workflows Dashboard (only). Previously this would be displayed as "Running", which was not helpful for users who wondered why tasks appeared to be "stuck". Example display (CPU limit has been reduced in a specific region that this test WDL is set to run on):

Things to note:

There is a "learn more" link that should go to https://support.terra.bio/hc/en-us/articles/360029071251
There is a unique tooltip in the table for this status. A tooltip was already being shown, but just duplicating the cell content.

To test:

I can share a workspace/WDL that will hit the cloud quota issue (CPU quota has been reduced to 1 in a particular zone).
cromwell-dev has to be set to develop, as the new version of Cromwell supporting this hasn't yet been released.

Note to reviewers: I'm being plagued by unrelated integration test failures. I've been updating the JIRA tickets for the individual tests, but am going to give up continuously re-running as I expect that I will have code review feedback to address before merging.


access to pop3?

Hi!
Briliiant library! But seems theris no simple API to retrive email, am I right? Any plans for it?

Hi @maxim-ge, correct there is no (planned) support for retrieving mail. I might change my mind though, but I'm unsure about how Simple Java Mail can offer a better experience than existing libraries using IMAP or POP3.


new Date() fails for any date in October on leap years

The return value of new Date(2016, 9, day) (or any other leap year) is an invalid date object (console.log(…) --> "Invalid Date") since the binary search in ecma_date_make_day() is erroneous.
We do have a working fix, covered by a brute-force unit-test that creates dates in the range from 1950...2050 (that previously failed for every day that follow the aforementioned pattern), but due to time constraints, I won't be able to put up a PR before mid next week.
If for some reason somebody needs a fix before, here's are possible fix:
@@ -781,13 +781,16 @@ ecma_date_make_day (ecma_number_t year, /**< year value */
       delta = delta / 2;
     }

-    if (ecma_date_month_from_time (time + step) < mn)
+    time += step * ECMA_DATE_MS_PER_DAY;
+
+    /* Make sure time represents a day in the previous month */
+    if (ecma_date_month_from_time (time) >= mn)
     {
-      time += step * ECMA_DATE_MS_PER_DAY;
+      time -= ECMA_DATE_MS_PER_DAY * 31;
     }

-    /* Get the month's first day */
-    while (ecma_date_month_from_time (time) < mn)
+    /* Get the month's first day, don't check for <= as the month wraps */
+    while (ecma_date_month_from_time (time) != mn)
     {
       time += ECMA_DATE_MS_PER_DAY;
     }

Also, these are the tests, we verified this fix against:
+void test_rocky_api_util__ecma_date_make_day(void) {
+  cl_assert_equal_d(16861, ecma_date_make_day(2016, 2, 1));  // JerryScript's unit-test
+  cl_assert_equal_d(-25294, ecma_date_make_day(1900, 9, 1));  // not a leap year!
+  cl_assert_equal_d(17075, ecma_date_make_day(2016, 8, 31)); // Sept-31 == Oct-01
+  cl_assert_equal_d(17075, ecma_date_make_day(2016, 9, 1));  // Oct-01
+  cl_assert_equal_d(17045, ecma_date_make_day(2016, 8, 1));  // Sept-01
+}
+
+void test_rocky_api_util__ecma_date_make_day_list(void) {
+  int fail_count = 0;
+  for(int y = 1950; y < 2050; y++) {
+    for(int m = 0; m < 12; m++) {
+      for (int d = 1; d < 32; d++) {
+        const ecma_number_t result = ecma_date_make_day(y, m, d);
+        if (isnan(result)) {
+          printf("failed for %04d-%02d-%02d\n", y, m, d);
+          fail_count++;
+        } else {
+//          printf("passed for %04d-%02d-%02d: %d\n", y, m, d, (int)result);
+        }
+      }
+    }
+  }
+  cl_assert_equal_i(0, fail_count);
+}

@HBehrens, are you still planning to open a PR?

hello, i have interest in solving this problem.
I already implemented solving the problem mentioned above.
In addition, in the algorithm when find the first day of the month, i used different algorithm instead of binary search.
AFAIK, this issue is not closed, right?
can i open a PR about this issue?


corporate design

We use Bookstack for documentation in the IT. If a User get access to a new service, like VPN, we export the How-to guide as PDF and send it via mail. But the PDF ist just a PDF. It would be nice to add a corporate design to it (Logos, Fonts, Layout etc.)

Thank you for your input @E-Fail.
The fundamental functionality requested is already covered by #493 and a few other PDF customization issues. Therefore I'm going to close this off as a duplicate.


I can not log in

Username:admin@iroha
Private Key:0f0ce16d2afbb8eca23c7d8c2724f0c257a800ee2bbd54688cec6b898e3f7e33
Node ID:localhost:8081
When LOGIN button is pressed
LOGIN ERROR
Response closed without headers

hi kaorunihei, possible to share on how to resolve this issue, i am facing the exact issues as you. followed exactly the steps provided in the guide but is unable to login


Deprecate this repo

The future is https://github.com/JuliaLang/devcontainer-features, so we should mark this repo here as officially deprecated/no longer maintained. I'm not entirely sure what the best way to do that is? Maybe just update the README? And remove any pointer from the VS Code stuff to this repo and replace them with links to the feature? @eitsupi does that sound right to you?

So the story is that essentially https://github.com/JuliaLang/devcontainer-features and https://github.com/JuliaLang/devcontainer-templates will entirely replace the need for this repo here.
Once the latter template repo is up-and-running, we can presumably really deprecate this repo here, i.e. remove it from the old registration for the VS Code UI and then update the README here that things are no longer maintained.

I think we need to do the following steps:

Publish the new Template from https://github.com/JuliaLang/devcontainer-templates
Add https://github.com/JuliaLang/devcontainer-templates to the index.
Remove the old Template from https://github.com/microsoft/vscode-dev-containers (Like microsoft/vscode-dev-containers#1673)
Archive this repo.

https://github.com/microsoft/vscode-dev-containers has been announced that it will be archived in November (microsoft/vscode-dev-containers#1762), so doing this now seems like a good time to do it.


[pointer_interceptor] migrate to pkg:web

Eh nevermind @johnpryan, looks like @ditman beat you to it :)
Thank you both!

Welp! Sorry! I wasn't sure when I was going to touch pointer_interceptor_web again, and decided to go all in in the changes, didn't mean to step on @johnpryan's toes!

Oh no worries, I just wanted to make sure he knew. We can run the new DartPad frontend in Wasm with the update now :)

LGTM 👍


[Visual Requirement-Home Page-Navigation]Luminosity ratio is less than 4.5:1 for some texts showing on the Home Page.

User Experience
If the luminosity ratio is less than 4.5:1 for all the text content then it will be difficult for the visually impaired user to see what is present on the screen.
Test Environment
OS: RS2 Version 1703(OS Build 15063.483)
Platform: Edge.
Tool: Color contrast Analyzer
Repro Steps

Navigate to https:/makecode.com/
Navigate through all controls (say computing education, about Microsoft makecode, get inspired, resources elements etc)lying on the page.
Launch Color Contrast Analyzer tool using WAT tool bar.
Verify, the luminosity ratio is greater than 4.5:1 for all the texts shwoing on Home Page.

Actual Result
Luminosity ratio is less than 4.5:1 for some texts showing on the Home Page like Hands-on computing education,micro:bit and Microsoft logo.
Expected Result
Luminosity ratio should be more than 4.5:1 for some texts showing on the Home Page like Hands-on computing education,micro:bit and Microsoft logo.
MAS Reference
https://microsoft.sharepoint.com/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a73546c7-765f-489c-b18f-afb659fe99e6}
Suggested fix
1.1-Ensuring that a contrast ratio of at least 4.5:1 exists between text (and images of text) and background behind the text
1.2- If design allows , Not specify background color, not specify text color, and not using technology features that change those defaults .In this technique the author avoids having to do any contrast measures by simply not specifying the text color and not specifying the background. As a result the colors of both are completely determined by the user agent.
Tips:-
1.The easiest fix is to increase the brightness of light colors and decrease the brightness of darker colors.
2.Exaggerate lightness differences between foreground and background colors, and avoid using colors of similar brightness adjacent to one another, even if they differ in saturation or hue.
3.During design Use the Color Contrast Analyzer to determine whether new colors have color contrast ratio of at least 4.5:1.
Key References for Fix
http://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
Please refer attachment for more details:

Fixed in Makecode.com

Bug is verified on URL : https://makecode.com/ bug still exists .Hence reactivated the bug and added the Active tag.

Correcting the comment:
Bug is verified on URL : https://makecode.com/ bug still exists .Hence Closed the bug and added the Closed tag.

@v-mesala  Comments are confusing. Are you closing the bug or reactivating?


Set dace directory inside the gt build directory

the dace backend in gt4py should set the default_build_folder to something inside the gt_cache directory, especially when running tests so there is no potential for races on files between processes.

BTW, you could also set this on a per-program basis with sdfg.build_folder = '...'


Updating dataset_variable to support L3 and L4 datasets

This PR is only an update to the dataset_variable function and does not include the complete solution to #128.

Hi @Omkar20895 this doesn't look too bad. See the following tests... I am experiencing issues with retrieval of variables from all Level3 collections I've tried so far.
This is Level1B SeaWinds on QuikSCAT Level 1B Time-Ordered Earth-Located Sigma0 Version 2
>>> print(p.dataset_variables('PODAAC-QSXXX-L1B02'))
['orbit_time', 'frame_inst_status', 'frame_err_status', 'frame_qual_flag', 'num_pulses', 'sc_lat', 'sc_lon', 'sc_alt', 'x_pos', 'y_pos', 'z_pos', 'x_vel', 'y_vel', 'z_vel', 'roll', 'pitch', 'yaw', 'bandwidth_ratio', 'x_cal_A', 'x_cal_B', 'cell_lat', 'cell_lon', 'sigma0_mode_flag', 'sigma0_qual_flag', 'cell_sigma0', 'frequency_shift', 'cell_azimuth', 'cell_incidence', 'antenna_azimuth', 'cell_snr', 'cell_kpc_a', 'qscat_app_tb', 'slice_qual_flag', 'slice_lat', 'slice_lon', 'slice_sigma0', 'x_factor', 'slice_azimuth', 'slice_incidence', 'slice_snr', 'slice_kpc_a', 'vdata_frame_time_vdf_frame_time']

This is Level2 OSTM GPS based orbit and SSHA OGDR
>>> print(p.dataset_variables('PODAAC-J2ODR-GPS00'))
['time', 'lat', 'lon', 'surface_type', 'alt_echo_type', 'rad_surf_type', 'alt_quality_flag', 'rad_quality_flag', 'geophysical_quality_flag', 'ecmwf_meteo_map_avail', 'rain_flag', 'rad_rain_flag', 'ice_flag', 'rad_sea_ice_flag', 'alt', 'range_ku', 'range_ku_mle3', 'model_dry_tropo_corr', 'rad_wet_tropo_corr', 'iono_corr_alt_ku', 'iono_corr_alt_ku_mle3', 'sea_state_bias_ku', 'sea_state_bias_ku_mle3', 'swh_ku', 'swh_ku_mle3', 'sig0_ku', 'sig0_ku_mle3', 'mean_sea_surface', 'mean_topography', 'bathymetry', 'inv_bar_corr', 'hf_fluctuations_corr', 'ocean_tide_sol1', 'solid_earth_tide', 'pole_tide', 'wind_speed_alt', 'wind_speed_alt_mle3', 'rad_water_vapor', 'rad_liquid_water', 'ssha', 'ssha_mle3', 'gps_alt', 'gps_ssha']

Level3 SeaWinds on ADEOS-II Level 3 Sigma-0 Polar-Stereographic Browse Images of Antarctica
>>> print(p.dataset_variables('PODAAC-SEABY-ANBIM'))
404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-SEABY-ANBIM&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 220, in dataset_variables
    dataset = self.granule_search(dataset_id = dataset_id)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 423, in granule_search
    granules.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 862, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-SEABY-ANBIM&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True

Level3 SEASAT SCATTEROMETER DEALIASED OCEAN WIND VECTORS
>>> print(p.dataset_variables('PODAAC-SASSX-L3UCD'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 229, in dataset_variables
    dataset_ddx_response = requests.get(dataset_url, headers=HEADERS)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/api.py", line 70, in get
    return request('get', url, params=params, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 461, in request
    prep = self.prepare_request(req)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 394, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 294, in prepare
    self.prepare_url(url, params)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 354, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '': No schema supplied. Perhaps you meant http://?

Level3 SeaWinds on QuikSCAT Level 3 Sigma-0 Polar-Stereographic Browse Images of Antarctica
>>> print(p.dataset_variables('PODAAC-QSBYU-ANBIM'))
404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-QSBYU-ANBIM&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 220, in dataset_variables
    dataset = self.granule_search(dataset_id = dataset_id)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 423, in granule_search
    granules.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 862, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-QSBYU-ANBIM&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True

Level3 GRACE MONTHLY OCEAN MASS EOF GRIDS GIF CSR RELEASE 5.0
>>> print(p.dataset_variables('PODAAC-TEOCN-EGC05'))
404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-TEOCN-EGC05&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 220, in dataset_variables
    dataset = self.granule_search(dataset_id = dataset_id)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/podaacpy-2.2.1-py3.6.egg/podaac/podaac.py", line 423, in granule_search
    granules.raise_for_status()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/models.py", line 862, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://podaac.jpl.nasa.gov/ws/search/granule/?datasetId=PODAAC-TEOCN-EGC05&sortBy=timeAsc&itemsPerPage=7&format=atom&pretty=True

Level4 Blended Cross-Calibrated Multi-Platform Ocean Surface Wind Vector L3.5A Pentad First-Look Analyses
>>> print(p.dataset_variables('PODAAC-CCF35-01AD5'))
['lon', 'lat', 'time', 'uwnd', 'vwnd', 'wspd', 'upstr', 'vpstr', 'nobs']

Level4 Blended GHRSST Level 4 DMI_OI North Sea and Baltic Sea Regional Foundation Sea Surface Temperature Analysis
>>> print(p.dataset_variables('PODAAC-GHBDM-4FD01'))
['lon', 'lat', 'time', 'analysed_sst', 'analysis_error', 'mask']

We should also add additional test scenario's for the dataset_variables function. Right now we only have a primitive test which asserts an error hasbeen raised. Please add the above scenario's as tests so that we have coverage of L1 through L4 dataset_variables tests.

Also, we should edit the function description
        :param dataset_id: dataset persistent ID. dataset_id or short_name \
                is required for this metadata service.
        :type dataset_id: :mod:`string`

        :returns: a list of dataset variables for the dataset.

It is incorrect for us to state ...dataset_id or short_name when infact it is only dataset_id which is accepted.

Hi @lewismc, thank you for your review. This was just a prototype function to get your review. I will test it today with the above-mentioned datasets and let you know. Thanks.

@Omkar20895 any updates here mate? Did you get a chance to try out any L3 data with the new code?

@Omkar20895 I'm going to take over work here to try and get this patch ready. Thanks for the work do far this is great.

Hi @lewismc, apologies for the silence on this. I was on my spring break and got back yesterday. I have started working on it yesterday.
The one thing I have observed with the above level 3 datasets is that they are not yet supported by the granule search web service that we have used to get dataset HTML link in the modified dataset_variables function in this PR.
I tried using "dataset search" instead of "granule search" and I was able to get a text/html link but appending .ddx at the end of it did not work too. I have been trying to figure out other ways to get the OpeNDAP response for these datasets but unable to do so. Please let me know your thoughts on this and suggest some alternate way to do this.

OK I think I've found a pretty ridiculous way to get this information.
Step 1
First for a given DatasetID execute a dataset_search
print(p.dataset_search(dataset_id='PODAAC-QSBYU-ANBIM'))
...
<?xml version="1.0" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/terms/" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:podaac="https://podaac.jpl.nasa.gov/opensearch/" xmlns:time="http://a9.com/-/opensearch/extensions/time/1.0/">
	<title>PO.DAAC Dataset Search Results</title>
	<updated>2019-03-09T16:27:56.805089Z</updated>
	<id>tag:podaac.jpl.nasa.gov,2019-03-09</id>
	<author>
		<name>PO.DAAC Dataset Search Service</name>
	</author>
	<link href="https://podaac.jpl.nasa.gov/ws/search/podaac-granule-osd.xml" rel="search" type="application/opensearchdescription+xml"/>
	<link href="https://podaac.jpl.nasa.gov/ws/search/dataset?startIndex=0&itemsPerPage=7&datasetId=PODAAC-QSBYU-ANBIM&format=atom" rel="self" type="application/atom+xml"/>
	<link href="https://podaac.jpl.nasa.gov/ws/search/dataset?startIndex=0&itemsPerPage=7&datasetId=PODAAC-QSBYU-ANBIM&format=atom" rel="first" type="application/atom+xml"/>
	<opensearch:totalResults>1</opensearch:totalResults>
	<opensearch:startIndex>0</opensearch:startIndex>
	<opensearch:itemsPerPage>7</opensearch:itemsPerPage>
	<entry>
		<title>SeaWinds on QuikSCAT Level 3 Sigma-0 Polar-Stereographic Browse Images of Antarctica</title>
		...
		<link href="https://podaac-tools.jpl.nasa.gov/drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic" rel="enclosure" title="HTTP URL" type="text/plain"/>
		<link href="https://podaac.jpl.nasa.gov/dataset/QSCAT_BYU_L3_OW_SIGMA0_ANTARCTICA_POLAR-STEREOGRAPHIC_BROWSE_IMAGES" rel="enclosure" title="Dataset Information" type="text/html"/>
...

As you can see from above. We usually always get a HTTP Drive URL which in this case is https://podaac-tools.jpl.nasa.gov/drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic.
Step 2
Once authenticated with PO.DAAC Drive as one needs to do when creating a Drive Object we can then execute a GET request against the URL e.g. curl "https://podaac-tools.jpl.nasa.gov/drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic" this returns the HTML rendered page which we can mine (I am hoping the HTML is rendered using a standard HTML template) for the directory structure e.g. from HTML
...

    	Parent Directory

    -
    -

    	1999

    2005-05-25 23:44:15
    -

...

As you can we can grab /drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic/1999, which when we execute a GET request against responds with the following page
https://podaac-tools.jpl.nasa.gov/drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic/1999
In this case, this page contains the products which are GIF's and not useful so we would return a response to the user indicating that. However in the case where we encountered say .nc4, .nc or .hdf files e.g. https://podaac-tools.jpl.nasa.gov/drive/files/allData/avhrr/L3/pathfinder_v5/monthly/day/04km/1985/01, then we would simply grab the location of the file in Drive e.g https://podaac-tools.jpl.nasa.gov/drive/files/allData/avhrr/L3/pathfinder_v5/monthly/day/04km/1985/01/198501.m04m3pfv50-msk1.hdf then replace the Drive service with Hyrax e.g. https://opendap.jpl.nasa.gov/opendap/allData/avhrr/L3/pathfinder_v5/monthly/day/04km/1985/01/198501.m04m3pfv50-msk1.hdf and then append .ddx e.g. https://opendap.jpl.nasa.gov/opendap/allData/avhrr/L3/pathfinder_v5/monthly/day/04km/1985/01/198501.m04m3pfv50-msk1.hdf.ddx. This results in a DDX file from which we can extract the variable names for more or less every dataset at PO.DAAC.
Does this make sense?

@lewismc it makes sense but this is a really complex and funny workaround. The only concern I have is the presence of multiple dependency steps, the whole function would go haywire if there is a change of data format or something in any of the steps mentioned above.
What I would suggest is fetching the list of datasets supported by dataset variables endpoint provided by the web services API and checking if the input datasetid is present in that list and using the endpoint if it is present. Otherwise, enforce the above-mentioned workaround(by you).
I don't know if this makes sense. Please let me know your thoughts on this. Thanks.

+1 @Omkar20895 please go ahead with that logic, thanks.

Sure @lewismc, I will add a commit as soon as I am done. Thanks.

@Omkar20895 how is this going? I have been asked to implement another feature so I will work on that today. Hope all is going well with Uni :)

Hi @lewismc, please feel free to go ahead, I am flustered with projects and assignment submissions right now as I am approaching the end of my semester. Thank you very much.

Hi,I was looking at the the proposed solution and I have a questions
In Step 1:
Why we are doing dataset_search?
Can't we just return that "Varibles Not Available",if we already knew that the OPeNDAP URL isn't available for the given datasetid (for Ex: PODAAC-QSBYU-ANBIM) when your done doing granule search.
And can  we do like this
Step 1: We do 'data_search()' and fetch the link title = "Granule Search" and if it's not there we will return "Granule Search not found".
Step 2: We will request the link from Step 1 and fetch the link  title = OPeNDAP URL and if its' not there we will return "OPeNDAP URL not  found".
Step 3: We will replace ".html" with ".ddx" and fetch the XML to get our variables.

Hi, I was looking at the propose solution and from my understanding I break down it in some smaller steps:
If I am wrong,Please correct me
Step 1: We do 'data_search()' and fetch the link title = "Granule Search" and if it's not there we go to the
and fetch the link title = "HTTP URL".
Step 2: if we have granule search we will request the link from Step 1 and fetch the link title = OPeNDAP URL and if it's not we will go to the HTTP URL.
Step 3: if its OPeNDAP URL then We will replace ".html" with ".ddx" and fetch the XML to get our variables.
Step 4: if its's HTTP URL then We will authenticate.
Step 5: Fetch the HTTP URL + syntax (for ex: https://podaac-tools.jpl.nasa.gov/drive/files/allData/quikscat/L3/byu_scp/sigma0browse/images/antarctic/1999).
Step 6: find any .nc, .hdf ,.nc4 files.
Step 7: If file is there ,We will add ".ddx" and fetch the XML to get our variables.
Step 8: if it's not there We will return 'Images Files Only".

Yes @ShubhamShaswat that sounds excellent.

Thanks!! So,I'll start to write code on the basis of this steps and I'll let you know when it's done.So anything you would like to mention before I begin?

So anything you would like to mention before I begin?

No, thanks for taking this on.

Hi,I have some question regarding the PODAAC dataset id.
So,I have looking at the data you have tested for example "PODAAC-CCF35-01AD5" ,this datsetid return the when doing dataset search return XML response as
`

`
Here,HTTP URL have link https://podaac-tools.jpl.nasa.gov/drive/files/allData/tellus/L3/pgr
where as when we do granule search the XML response is this,
`PODAAC-CCF35-01AD5:pentad_20111222_v11l35flk.nc

`
here you can see the HTTP URL have link https://podaac-tools.jpl.nasa.gov/drive/files/allData/ccmp/L3.5a/pentad/flk/2011/12/pentad_20111222_v11l35flk.nc.gz
Also it have an OPeNDAP URL as well


import.meta.glob when starting the server with bun

What version of HonoX are you using?
0.14
What steps can reproduce the bug?
I am cloning the basic example from that repo https://github.com/yusukebe/honox-examples/tree/main
when I run the server I am getting the following error:
bun-1  | 3 |   const newOptions = {
bun-1  | 4 |     root: options?.root ?? "/app/routes",
bun-1  | 5 |     app: options?.app,
bun-1  | 6 |     init: options?.init,
bun-1  | 7 |     trailingSlash: options?.trailingSlash,
bun-1  | 8 |     NOT_FOUND: options?.NOT_FOUND ?? import.meta.glob("/app/routes/**/_404.(ts|tsx)", {
bun-1  |                                          ^
bun-1  | TypeError: import.meta.glob is not a function. (In 'import.meta.glob("/app/routes/**/_404.(ts|tsx)", {
bun-1  |       eager: !0
bun-1  |     })', 'import.meta.glob' is undefined)
bun-1  |       at createApp (/app/node_modules/honox/dist/server/with-defaults.js:8:38)
bun-1  |       at /app/app/server.ts:4:13
bun-1  | 3 |   const newOptions = {
bun-1  | 4 |     root: options?.root ?? "/app/routes",
bun-1  | 5 |     app: options?.app,
bun-1  | 6 |     init: options?.init,
bun-1  | 7 |     trailingSlash: options?.trailingSlash,
bun-1  | 8 |     NOT_FOUND: options?.NOT_FOUND ?? import.meta.glob("/app/routes/**/_404.(ts|tsx)", {
bun-1  |

What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response

Hi @m4nuC
Did you run bun command for your HonoX app? It does not support bun.

@yusukebe I did.
Any plans on supporting it ?

@m4nuC

Any plans on supporting it ?

No. To use import.meta.glob, we have to use vite.


Request to put code

Hello.
Can you please upload the code for the paper: - Distribution-Aware Semantics-Oriented Pseudo-label for Imbalanced Semi-Supervised Learning

Thank you for your interest in our work.
Now I'm cleaning up the code for uploading, but I think it will take a few days or a week.

The code has been uploaded.
Thank you for waiting!


[Bug]: Attributes removed from digital sensors

Describe the bug
In version 6.12 the extra_states_attributes was removed. I was using the uuid from the attributes to send a direct websocket command. This was pretty nice instead of hardcoding the uuid.
https://github.com/JoDehli/PyLoxone/pull/289/files#diff-8a90778eed853464afcad96a79137446b7172ff4319526a2d0d21fbf163e7757L133
Can this be added back?
Firmware of your Miniserver
<IP_ADDRESS>
HomeAssistant install method
docker
Version of HomeAssistant
2024.10.4
Version of Pyloxone
0.6.16
Update pyloxone
yes
Log
Settings for the log can be found on the main page under the section Log Configuration

@romerod can you try this branch https://github.com/JoDehli/PyLoxone/tree/316-bug-attributes-removed-from-digital-sensors

@romerod you must copy it manually. Hacs does not support branches only releases.

@romerod any success?

Was just able to check it now, works like a charm, thank you.


ReplaceSynonyms/TaggedDirectoryDataset fixes

This adds a few extra options to ReplaceSynonyms and TaggedDirectoryDataset, as well as some fixes to get TaggedDirectoryDataset working.

Accepted the PR mostly as-is.

Renamed interchangeable_list to make_interchangeable
Fixed some minor issues with make_interchangeable in case the synonyms overlap (e.g. car -> vehicle, moped -> vehicle)
Replaced search_filenames with filename_tag_mode, which also controls where the filename tag will go.


KvSource ETCD fails

I tried to parse a KvSource working with ETCD using Staert.LoadConfig() (which calls KvSource.Parse())
It prints errors on maps, slices or arrays fields :
4 error(s) decoding:
* 'DefaultEntryPoints': source data must be an array or slice, got string
* 'EntryPoints' expected a map, got 'string'
* 'Etcd' expected a map, got 'string'
* 'Web' expected a map, got 'string'

Probably due to the KV Store which stores a key/value for each directory :cry:

Deal breaker?

closed by #16

closed by #16


Use async streams in Invoke-RestMethod

PR Summary
Fix #4129

Use async stream methods in Invoke-RestMethod to save a large file (> 2Gb) to output file as binary
Now we can interrupt downloading large file by Ctrl-C
Now output file is readable at download time and we can see a size of the file

PR Context

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@daxian-dbw Please continue your review.


Polymer.Base.unshift breaks notify paths on all other elements.

I have two Polymer elements that represent array of items defined as a property.
Now, when I use the notify path's unshift method in one element to append item in top of the array, it breaks the other element's notify path/splice (so all elements don't get updated anymore).
Other notify path's functions work (push, pop, splice, and even shift).
While investigating, I did not see anything else being done in the feature itself for unshift vs shift.

It would help to understand your use case better, and what exactly breaks in reference to "it breaks the other element's notify path/splice".  Are you using dom-repeat in the elements?  Can you create/share a repro case?
I created a jsBin here that has two elements that display array contents using a dom-repeat, and unshift/splice do the right thing.  Can you try forking the jsBin to match your use case?
http://jsbin.com/beninuy/edit?html,output
The one thing to be aware of is that path notifications for array changes use unique keys (rather than array index) in the path, to ensure path linkage between objects in arrays despite possible insertions or deletions in the array.  However, there is currently an open issue (see here) regarding the fact that there is a discrepancy in the API re: paths you give to 'set' (which accept array index) vs. paths you receive from .* wildcard observers (which use keys), and the plan is to disambiguate those.

Ok, you got me there. Once I investigated this better (while working on the jsbin you provided, towards something similar I have in my app), I discovered that the problem really was with those indexes of the arrays you mentioned in your comment.
http://jsbin.com/gaduqujowa/1/edit?html,output
^^ So here I have element A and element B, each with their unique array of items.
I then unshift an object into A items array, and update both A and B first object in each array and get the results above.
So the index on the B array get's weird. Item zero in B array get's unaccessible.

Ok, I root caused this to a bug related to incorrectly shared object in iron-list.
I opened https://github.com/PolymerElements/iron-list/issues/41 on that element to track the issue.
Since this looks like a bug on a specific element as opposed to the core, I'll close this.  Feel free to re-open if you find something else in your use case that's not specific to iron-list.  Thanks!

Good work Kevin.
I'll keep track of the bug on the iron-list project.


Web - Request money - The second request money is interrupted

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
Login with any account
Click FAB button/Request money
Enter the amount and choose any user
Сomplete the request for money
Immediately repeat steps 3 and 4

Expected Result:
The following process of request money should take place
Actual Result:
The request is aborted
Workaround:
Unknown

Where is this issue occurring?

Web

Version Number: v1.2.3-0
Reproducible in staging?:  Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/191376351-8365ec8e-4643-4948-9b0d-88dbbab3515c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

@kavimuru could you please test again. I'm unable to reproduce the issue

@MonilBhavsar Will check with the team and update you.

@MonilBhavsar Sorry for the delayed response. Tester is still able to reproduce.
Account credentials<EMAIL_ADDRESS>/ Yulia1986Gerets
https://user-images.githubusercontent.com/43996225/192008344-aeed9405-5c9a-4b18-9cda-40321d841eb1.mp4

Issue not reproducible during KI retests. (First week)

Keeping it open for a while to see if we can reproduce the issue

Issue not reproducible during KI retests. (Second week)


Initial attempt RDS_ENHANCED_MONITORING_ENABLED

I confirm these files are made available under CC0 1.0 Universal (https://creativecommons.org/publicdomain/zero/1.0/legalcode)
Issue #, if available: https://github.com/awslabs/aws-config-rules/issues/244
Description of changes:

@shikharj05 Good for you?


Plotting in server mode

Add ability to serve logged data to a plotter. This would permit people to manage a live plot in a separate and multiple notebooks.
This is an ambitious enhancement that has the potential for a large payoff. I would like to carefully consider the best means for serving/listening to data in a simple but robust way. I'd like to get input from other about how to move forward with this (@davidmascharka , @ptran516 , @arjunmajum)

@rsokl The server could be a simple Flask application which pushes data to clients and modifying plot data via HTTP requests. Were you thinking about having it run at some remote machine with an accessible IP?

This is currently out of scope for this project


Can keras.ops get a keras.ops.linalg, so it's equivalent to np?

Hi, I'm trying to use Keras 3's keras.ops interface as a drop-in replacement for numpy, so that I can write JAX and Pytorch compatible numpy. But I'm using np.linalg.* in my code, and keras.ops doesn't have a .linalg field. A lot of the functionality in np.linalg is in keras.src.ops.linalg. Can y'all just put an alias to keras.src.ops.linalg in keras.ops.linalg? This would make Keras 3 a drop-in replacement for numpy.
Here's my current workaround, if it's helpful:
import keras.ops as knp
from keras.src.ops import linalg as keras_linalg

class KnpExtended:
    def __init__(self):
        self.knp = knp
        self.linalg = keras_linalg

    def __getattr__(self, name):
        if hasattr(self.knp, name):
            return getattr(self.knp, name)
        elif hasattr(self.linalg, name):
            return getattr(self.linalg, name)
        raise AttributeError(f"module 'KnpExtended' has no attribute '{name}'")

jnp = KnpExtended()

There is keras.ops.linalg:
from keras import ops

for name in dir(ops.linalg):
    if not name.startswith("_"):
        print(name)

Outputs:
cholesky
det
eig
inv
lu_factor
norm
qr
solve
solve_triangular
svd

Ah sorry, looks like this was fixed since I first encountered this.


Triplet option doesn't filter output

For commands such as

[ ] list
[ ] update
[ ] cache
[ ] remove --outdated

This issue hasn’t been updated in a year; if it is still an issue, please reopen.


[feature] auto extract rows containing price and follow

When a document looks like it contains rows of prices (USD, EUR, etc etc) offer to load them into a DB and then run comparisons on that data/export/etc

One idea I have is that the extraction and parsing stage should occur in changedetection.io, and then that should generate some JSON which is sent as a notification to another service, that would help to abstract the work a bit, separate the concerns and be sure I dont get flooded with support requests by adding code to the system which is not used by many people
so it means that we add some pluggable 'interesting' parsers to changedetection.io

Maybe it means the new plugin could reveal itself through a notification token
{autoextract_price_info_full}
{autoextract_price_info}
Which would be a JSON object of the whole parsed data, or just the change


[WOR-551] Add azure controller test

While looking into smoke tests for BPM, I found that we 500 when no subscription ID is passed to the getManagedApps endpoint. This PR fixes that issue by adding a global exception handler to return 400 on MethodArgumentTypeMismatchException and MissingServletRequestParameterException, as well as a test for the controller.

Need to update Swagger documentation.


Alias struct methods

Prior to version 0.0.6 one could alias methods defined via FinerStruct like so:
class MyStruct < FinerStruct::Immutable(:nice)
  alias_method(:nice?, :nice)
end

instance = MyStruct.new(nice: true)
instance.nice? # => true

In 0.0.6 alias_method no longer works. It instead raises an error.
NameError: undefined method `nice' for class `MyStruct'

It seems the struct methods are no longer available via the class, rather are created during instantiation.
It would be great to have these methods available at the class level and get this feature back.

@orien Can you test https://github.com/notahat/finer_struct/pull/14 and see if it helps?


Add OpenVPN over SSL to obfuscate OpenVPN traffic

As said in title, just added OpenVPN over SSL tunnel support, so the traffic looks like authentic HTTPS traffic even to deep packet inspection.

Sorry, I changed most of README...... You can change back after.

This will not be merged into the project. While I appreciate the work you have done to make the script work for your needs, there is a lot of unneeded stuff in this pull request. From taking a quick look, I would also suggest reading on how cipher selection and negotiation works with OpenVPN 2.4+, there is no need for some of your prompts, that stuff gets automatically solved.
I know this stunnel layer can be useful in some situations, but when possible, I am usually suggesting Shadowsocks and its variants to users in censored networks, both because its lower amount of overhead and because it is way more flexible to evade censorship. Of course you may still want a VPN instead of SOCKS in some of those situations.
That said, I would like to ask that you don't replace my copyright notice in your fork. You can modify everything else, but please keep the credits in your derivative works.

i need openvpn over SSL tunnel setup
how can i have script ?


Main.OpenShop and Main.CloseShop messages

Every time I open a menu of the plugin it sends me the following messages, is there a way to deactivate them?

It should be sourcing those from your Lang file

I already found the problem, I changed the language to es-es but apparently the plugin did not install that translation, I already installed it manually, thank you very much ^^


Swiper 4.x doesn't triggers the resize event when using the updateSize method

Vue, Swiper 4.5
I called swiper.update() after updating the bind data, but it had no effect.

Vue, Swiper 4.5
I called swiper.update() after updating the bind data, but it had no effect.

figure out!
I called the update() in a Vue Watcher, when the bind data update, update() was called immediately. But the dom(Vue template) has not been updated yet.


Fail to build on target aarch64

Hi,
I try to build python extension with different platforms (test project). However, I encounter an error when trying to build on non x86_64 and x64:
Run messense/maturin-action@v1
  with:
    manylinux: auto
    target: aarch6[4](https://github.com/binh-vu/rust-python-template/runs/7050414502?check_suite_focus=true#step:3:4)
    command: build
    args: --release -o dist
    maturin-version: latest

Caused by: Couldn't find any python interpreters. Please specify at least one with -i

This is the build configuration that leads to the error:
jobs:
  linux:
    strategy:
      matrix:
        target: [aarch64]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: messense/maturin-action@v1
        with:
          manylinux: auto
          target: ${{ matrix.target }}
          command: build
          args: --release -o dist

The error message seems straightforward, I only need to supply the python version via -i. Checking some of your examples, I found that by providing -i 3.8, it found and used the one at /usr/bin/python3.8. The behavior seems odd to me since it couldn't find any interpreters before.
However, when I dug deeper, I think I found in the Docker image used to build, /usr/bin/python3.8 may be not the one in the target architecture. I ran this command: /usr/bin/python3.8 -c 'import platform; print(platform.machine())' and it printed: x86_64. Checking the Dockerfile), I notice that the python built for aarch64 architecture is copied to /opt/python and while the image that /usr/bin/python3.8 is built from ubuntu:20.04.
So, I think /usr/bin/python3.8 may not be the correct python. How can I specify the interpreter I want in /opt/python to maturin? I tried: -i /opt/python/cp38-cp38/bin/python but it doesn't work (Invalid python interpreter version)
Thank you

I suggest you read https://pyo3.rs/v0.16.4/building_and_distribution.html#cross-compiling first.
-i 3.8 should work when cross compiling because maturin will use bundled sysconfig automatically.

Thanks for sharing the sysconfig. I didn't know that it only needs these linker arguments to work.
About the discovering python issue, do you know why? I also notice that on the manylinux201x_x86_64 image, it only builds pp37 while the image contains pp37, pp38, and pp39. Thanks!

What does maturin list-python say?

It found only one CPython 3.8 at /usr/bin/python3.8. The folder also has other python versions.

Check PATH

Thanks! I think I now understand, the CPython 3.8 I got from maturin-action is not running inside a docker container and the Python it prints is from the host. Also, -i 3.7 uses the configuration from sysconfig (please correct me if I'm wrong).
I tested it locally again:
docker run --rm -it messense/manylinux2014-cross:aarch64 bash
> pip install maturin
> curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable
> source $HOME/.cargo/env

Run maturin list-python:
> maturin list-python
🐍 7 python interpreter found:
 - CPython 3.6m at /usr/bin/python3.6
 - CPython 3.7m at /usr/bin/python3.7
 - CPython 3.8 at /usr/bin/python3.8
 - CPython 3.9 at /usr/bin/python3.9
 - CPython 3.10 at /usr/bin/python3.10
 - CPython 3.11 at /usr/bin/python3.11
 - PyPy 3.7 at /usr/local/bin/pypy3.7

This is the current path:
> echo $PATH
/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/aarch64-unknown-linux-gnu/bin

The content of /usr/local/bin contains pypy3.8:
> ls /usr/local/bin/
__pycache__/        patchelf            pip3.11             pip3.9              pypy3.9
auditwheel          pip                 pip3.6              pyproject-build     readelf.py
auditwheel-symbols  pip3                pip3.7              pypy3.7             wheel
maturin             pip3.10             pip3.8              pypy3.8

pypy3.8 is runnable:
> /usr/local/bin/pypy3.8 -V
Python 3.8.13 (4b1398fe9d76ad762155d03684c2a153d230b2ef, Mar 29 2022, 10:24:56)
[PyPy 7.3.9 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]

Do you know why it can not discover pypy3.8 and pypy3.9? If this is an expected behavior (e.g., cannot using this Python version), I think it would be nice to include it in the log.

Pull the latest docker image, previously we install pypy from PPA which only have pypy3.7.

I don't understand what you are saying. This is the image:
messense/manylinux2014-cross         aarch64   9b73a3ab8f0c   2 weeks ago    2.77GB

Running docker pull, it says this is the latest one. The command maturin list-python I show run inside this image, and it cannot detect pypy3.8 and pypy3.9 (see the output above). However, I check the /usr/local/bin and it has pypy3.8 and pypy3.9. So somehow, these pypys are not recognized by maturin.

Fixed in https://github.com/PyO3/maturin/pull/993


No longer able to set a startup item in folder view

In previous releases of VS 2017, I was able to use F5/CTRL-F5 when opening python folder in solution explorer folder view (I was using Brett's web app cookiecutter template).
But with the latest builds, it's not letting me set a startup item, so my only option is to right-click in the editor on the .py file I want to run and select start with/without debugging from context menu.
Not sure if it's VS bug or us. Again, I'm pretty sure this worked at some point and is a regression.

I think this was a build related regression that should be fixed now. I'll try and repro.

Works fine in latest builds.


fix: resolve linter issues

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.069%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
6876

Relevant Lines:
8179

💛  - Coveralls


Any plans to port to python3?

@Bulletninja this is just a mirror of the upstream repository on SourceForge. See pychecker.sourceforge.net for more information about this package.


[Bug]: podAntiAffinity object not working

Contact Details
<EMAIL_ADDRESS>What happened?
the current podAntiAffinity is too restrictive for our purpose, we would like to use preferredDuringSchedulingIgnoredDuringExecution.
we want to override the podAntiAffinity by using our own object as stated in the values.yaml but this is not working.  the logic really only works for true/false.
https://github.com/neo4j/helm-charts/blob/dev/neo4j/templates/_helpers.tpl#L321-L338
values.yaml
# Anti Affinity
  # If set to true then an anti-affinity rule is applied to prevent database pods with the same `neo4j.name` running on a single Kubernetes node.
  # If set to false then no anti-affinity rules are applied
  # If set to an object then that object is used for the Neo4j podAntiAffinity
  podAntiAffinity: true

Can the chart be enhanced to support a custom object for podAntiAffinity as mentioned in the values.yaml?
Chart Name
Cluster
Chart Version
5.5.0
Environment
Local Machine
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

thanks for raising the issue @danydrouin .
This is indeed a bug. Will take a look and add support for podAntiAffinity object in the next upcoming release.

https://github.com/neo4j/helm-charts/pull/231
https://github.com/neo4j/helm-charts/pull/232
This is fixed in the above Pr's for both Neo4j v5 and v4.4 . This will be part of the next upcoming release


Trimmed statistics functions have inconsistent API

These functions are:

tmin
tmax
tmean
tstd
tvar
tsem

They should all be made consistent, probably all need keywords axis and ddof. tsem should be made consistent with sem. The relation between tmean and trim_mean should be clarified.
Those functions are now all tested to some extent after gh-2913. What's left to do there is to test their behavior with masked arrays. Examples should also still be added.

Just noticed something weird: all trimmed functions are documented to return a float, but they actually return a 0-D masked array:
In [13]: stats.tmin(4)
Out[13]:
masked_array(data = 4,
             mask = False,
       fill_value = 999999)

This needs fixing when addressing this issue.

@rgommers I added axis and ddof. However, I don't understand how ddof would fit into tmin, tmax and tmean. Can someone shed some light?
I believe adding axis and ddof to tsem makes it consistent with sem (since limits and inclusive don't make sense for sem) but let me know if you have something else in mind.
Things pending:

Update docstrings with the additions.
Clarify relationship between tmean and trim_mean
Test with masked arrays
Add examples
Review _mask_to_limits
Fix returns : float in documentation

Please feel free to add anything I may have missed.

Agreed that ddof doesn't make sense for tmin, tmax, tmean, this was just incorrectly described in the first message above.

That we have both tmean and trim_mean is unfortunate, but I think we're stuck with it. trim_mean (and trim_both, trim1) look odd, but I expect we're not going to change them much. trim_mean is used from stats.levene for example.

Note that test with masked arrays is already in test_mstats_basic.TestCompareWithStats, so if additional tests are needed, best to put them there. The trimmed mstats functions have separate implementations though, so you can leave that till you get to mstats.

The above todo list looks complete to me.


Sonarcloud Cleanup

Describe the bug
Clean up the code to pass the code quality checks.
Workflow
If applicable, provide a workflow file to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

This is using Sonarcloud automatic analysis. This has been resolved.


enh: update function signature

Codecov Report

Merging #148 (a694afb) into main (2f1716b) will not change coverage.
The diff coverage is 70.00%.

@@           Coverage Diff           @@
##             main     #148   +/-   ##
=======================================
  Coverage   75.80%   75.80%
=======================================
  Files          20       20
  Lines        2335     2335
=======================================
  Hits         1770     1770
  Misses        565      565

Impacted Files
Coverage Δ

taos/connection.py
88.67% <70.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Improve documentation of installation targets

Describe the problem this improvement solves
At the moment, we are documenting two different installation methods:

minikube
kubectl

and, in addition, our convenience script.
However, it would be good to add more clear separation between all these methods, and add other interesting targets such as EKS (see #930, #885).
Describe the solution you'd like
A very clear and easy to navigate installation page in which users can pick the method that best suits them.

In https://github.com/orchest/orchest/pull/1048 we introduced an "installation widget" that covers installing: minikube or microk8s on Linux, Windows or macOS.
We have tested running on GKE and EKS which both worked, so installation steps for those will be added soon :tm:

https://github.com/orchest/orchest/pull/1094 added instructions for GKE and EKS :raised_hands:


[Legend SQL] Support second format of transaction isolation query

What type of PR is this?

Improvement

What does this PR do / why is it needed ?
Some SQL clients such as Hikari and ODBC driver check transaction isolation level during startup.
The current approach uses in-memory H2 to respond to those queries, and works fine for Hikari/JDBC clients.
However, H2 doesn't support the ODBC query format (SHOW transaction_isolation).
This PR introduces a custom handler for transaction isolation queries, so that the ODBC query format can be supported too.

Does this PR introduce a user-facing change?
No

looks good


Pipeline Trigger on Stage Completion needs more info

I am trying to trigger a pipeline on the completion of a stage:
resources:
  pipelines:
  - pipeline: MyPipelineResource
    source: 'My Pipeline'
    trigger:
      stages:
      - Release_To_Production

I am expecting this to trigger this pipeline anytime the Release_To_Production stage completes in 'My Pipeline'.  There is no other triggers block in my YAML.
The pipeline currently is triggering on other events in this repository that are not expected.  How can I make this work in the way I am expecting?

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

ID: ee4ec9d0-e0d5-4fb4-7c3e-b84abfa290c2
Version Independent ID: 3e2b80d9-30e5-0c48-49f0-4fcdfedf5eee
Content: Resources - Azure Pipelines
Content Source: docs/pipelines/process/resources.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

I THINK the issue is that this trigger is firing even when the Release_To_Production stage is skipped on my main pipeline.  If this is true, then there is a bug that needs to be resolved.  Please have someone try to reproduce.

Thanks for your question. It looks like you're working through an issue with your scenario or implementation, rather than an issue with the  documentation. Here are a couple of options where you might consider asking your question:

Azure DevOps Support Bot
Azure DevOps Developer Community.

@itsjusth I just found this issue when browsing for something else, you said:

I am expecting this to trigger this pipeline anytime the Release_To_Production stage completes in 'My Pipeline'. There is no other triggers block in my YAML.

By default, CI and PR triggers are enabled on YAML pipelines, and you must explicitly turn them off with trigger: none and pr: none in your YAML (depending on your repo type, for example Azure Repos Git doesn't use pr trigger.

The pipeline currently is triggering on other events in this repository that are not expected. How can I make this work in the way I am expecting?

Any pushes to the repository, or PRs created could trigger this pipeline. You probably have it all sorted by now but I thought I would post here with this info since I had seen this issue.


Tailwind Not Variant

I'm not entirely sure whether Tailwind supports :not(...) variants. If it doesn't then we should add not variants ourselves such as not-media-paused.

You can totally use :not inside Tailwind using arbitrary classes https://www.kindacode.com/snippet/using-not-selector-in-tailwind-css/#Example_1

KindaCode.com

https://play.tailwindcss.com/z5FVszLi0k


[5.4] Fix: Str::replaceArray()

In old implementation, Str::replaceArray('?', ['foo?', 'bar?', 'baz?'], '?/?/?') would return foobarbaz?/?/?, that obviously not what we want.

It is already used in core and working correctly for those use cases. If you require a different functionality you can write your own function.

@taylorotwell I have searched all use cases in both laravel/framework and laravel/laravel, there is only one place that is using Str::replaceArray, https://github.com/laravel/framework/blob/7212b1e9620c36bf806e444f6931cf5f379c68ff/src/Illuminate/Database/QueryException.php#L56, and it is affected by this bug.


Template Hints Works in admin side but not in Frontend side.

Hi,
I have a weird issue here. I 'modman'ed this extension to my local magento site. But Template hints enabling/disabling from toolbar is not working in frontend, but it works in admin section!
I tried delete from core_config_data where path like 'dev/debug/template_hints%' and scope!= 'default'; but it is not working.
Please let me know how can I dig it out this issue. Thank you.

Hi @progammer-rkt ,
I see two reasons why this might occur:

You're using a custom theme on frontend that removed or overwrote layout update that is responsible to add before_body_end block.

You can check if toolbar is visible when using the out of the box theme to confirm is theme issue and then to manually re-add the block and check what other functionality was suppressed by removing that block.

Toolbar is added to all pages that have a structural block named before_body_end. By default this block is available on all Magento pages. Eliminate a possible cache problem by disabling all caches. Try to determine if there are any customizations that have removed before_body_end.

Allow Symlinks configuration required by modman is enabled only on admin. This is not very common.

Review allow symlinks configurations:
select * from core_config_data where path like '%allow_symlink%';

Toolbar is added to all pages that have a structural block named before_body_end. By default this block is available on all Magento pages. Eliminate a possible cache problem by disabling all caches. Try to determine if there are any customizations that have removed before_body_end.


Setting 6 max versions to columns in Cluster Test.

This should fix the failures we've been seeing in Jenkins

I removed CLUSTER_FAMILY_2.  PTAL

LGTM


Check for boundaries on unknown advertising data

Handling unknown advertising data causes panic if the buffer does not contain enough data for the field.
Related to #26, the unknown field branch was not handled in #27.

:+1: Thanks!


Copyright date on website says 2022

Hello, spyder newbie here.
The copyright date on the website says 2022.

© 2022 Spyder Website Contributors

Despite knowing better, it still has an effect on my first impression, especially of a project that will need constant maintenance like an IDE (which spyder seems to be getting).
I think changing it to 2023 might improve first impressions a bit.

Hi @benatkin thank you for the feedback! I think the change needs to be done at: https://github.com/spyder-ide/website-spyder/blob/57958645f1150070e2007974faa68d32cdcc6361/spyder_website.lektorproject#L28
I will move this issue to the website repo for the moment but if you want to help us updating the copyright year let us know!


Trino Authentication PowerBI

I have set up trino with username password trying to connect powerbi. my trino is loading correctly

https://username:pwd@url:host/mongodb/database
is this correct way to pass?

No, you need to choose the authentication method "Basic" in Power BI Desktop or Service once published:

keep getting remot name could not resolved .my trino is up

now i gave connection as below

selected basic authentication got this error:with user and password

Can you open Trino in the browser under HTTPS without ignoring the security warning? Do you have your SSL certificate in your root trust store?

i have added self signed in my truste

but still sme error .this is my trino app

It seems like you have a problem with the configuration of the SSL certificate, is also not recognized by your browser.

its  my test environment fine for me .can you please guide me t resolve this issue in power bi

It has nothing to do with the connector, it's your SSL configuration. Once you sorted that out, the connector will work.

You can use self-signed certificates, it's just not configured properly, you can see that in the browser "Not secure". I don't know how Superset is handling that, but maybe it's also running in an "unsecure" context that's why it's working. Remember also to just use the host name to connect, same as in the browser just without the leading "https://".

added verify=false in connection in superset to handle ssl . is possible in connector

closed due to inactivity.


New deps and use use_vld cmake option

  cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64'

Did you miss one or is that one not necessary?

Refers to: build/devops_gated.yml:103 in 162db1b. [](commit_id = 162db1b0c3fdec20eecaa4c1c902d7b503e9b2ea, deletion_comment = False)

  cmakeArgs: '.. -Drun_reals_check:bool=ON -Drun_unittests:bool=ON -Drun_int_tests:bool=ON -Duse_cppunittest:bool=ON -Dabort_on_fail:bool=ON -G "Visual Studio 16 2019" -A x64'

we don't do vld for non-debug targets

In reply to: 988504778

Refers to: build/devops_gated.yml:103 in 162db1b. [](commit_id = 162db1b0c3fdec20eecaa4c1c902d7b503e9b2ea, deletion_comment = False)


hangouts: fix typo

Um I checked the translations and it seems you're right. The N key is next to J on the keyboard, so I assumed it was a typo.


Syntax issue on #66

plus some minor change on paragraph #114

Overview
Some typos fixed on this readme.md file
Demo
There is no need to show this minor PR.
Notes
There is no notes appended to this PR.
Testing
-- There is no break on code. Just fixing some typos found. No collateral damage over the horizon.

@edbrett : by the way, a very inspiring project! Keep on that way, imho!


Only expect CreateMachineDeployment when flag is set to true

What this PR does / why we need it:
If kubeone apply flag --create-machine-deployments is set to false, don't display the Message + ensure machinedeployment "name-pool1" with x replica(s) exists in the list of expected changes
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?
/kind bug

Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

Display ensure machinedeployment notice only if CreateMachineDeployments is enabled

Documentation:

NONE

@MaximilianMeister thank you!
/test pull-kubeone-build

/release-note-edit
Display ensure machinedeployment notice only if CreateMachineDeployments is enabled

/documentation-edit
NONE

/docs-none

/approve
/lgtm

/retest


Information not parse completely

when i look at the messages coming in they are cut half way... this is probably me not knowing what im doing...im using windows 2012 r2 DNS server...
Example of messge cropped:
2/2/2017 5:39:44 PM 04C0 PACKET 000000A10C5841D0 UDP Rcv 75.75.
Graylog Version: 2.1.3 OVA
Elasticsearch Version:
MongoDB Version:
Operating System:
Browser version:

addressed issue was on nxlog side


[BUG] bitmask codegen for shorts can be improved

UPD: This probably should have the common code with conversion from short to char
This is current code for sse3 and sse2 for shorts:
https://github.com/jfalcou/eve/blob/936268b749394872c0cf82e51ae061da1268555a/include/eve/detail/function/simd/x86/bitmask.hpp#L36
It has a hardcoded mask and a shuffle for sse3 and a scalar implementation for sse2.
I think you can do better with _mm_packs_epi16.
Smth like:
__m128i to_chars = _mm_packs_epi16(p.storage(), _mm_setzero_si128());
return _mm_movemask_epi8(to_chars);

Some preliminary testing suggests that it's OK.
I don't know anything horrible about _mm_packs_epi16  - so probably this is an improvement.
It's also available from sse2
UPD:
I think for AVX you can implement it like this:
    __m128i top = _mm256_extractf128_si256(x, 1);
    __m128i bottom = _mm256_castsi256_si128(x);
    __m128i packed = _mm_packs_epi16(bottom, top);
    return _mm256_movemask_epi8(packed);

And recursing is a worth option.

Sounds good

Here is some asm for bitmap() on short.
bitmap with pack_epi16:
f(eve::logical<eve::wide<short, eve::fixed<8l>, eve::x86_128_> >):
  pxor %xmm1, %xmm1
  packsswb %xmm1, %xmm0
  pmovmskb %xmm0, %eax
  movzbl %al, %eax
  ret

SSSE3 bitmap with shufb
f(eve::logical<eve::wide<short, eve::fixed<8l>, eve::x86_128_> >):
  pshufb .LC0(%rip), %xmm0
  pmovmskb %xmm0, %eax
  movzbl %al, %eax
  ret

Emulated SSE2 bitmap
f(eve::logical<eve::wide<short, eve::fixed<8l>, eve::x86_128_> >):
  pextrw $3, %xmm0, %eax
  pextrw $4, %xmm0, %edx
  pextrw $2, %xmm0, %ecx
  testw %ax, %ax
  setne %al
  movzbl %al, %eax
  sall $3, %eax
  testw %dx, %dx
  setne %dl
  movzbl %dl, %edx
  sall $4, %edx
  orl %edx, %eax
  pextrw $0, %xmm0, %edx
  testw %dx, %dx
  cltq
  setne %dl
  movzbl %dl, %edx
  orq %rdx, %rax
  pextrw $5, %xmm0, %edx
  testw %dx, %dx
  setne %dl
  movzbl %dl, %edx
  salq $5, %rdx
  orq %rdx, %rax
  pextrw $6, %xmm0, %edx
  testw %dx, %dx
  setne %dl
  movzbl %dl, %edx
  salq $6, %rdx
  orq %rdx, %rax
  pextrw $7, %xmm0, %edx
  testw %dx, %dx
  setne %dl
  movzbl %dl, %edx
  salq $7, %rdx
  orq %rdx, %rax
  pextrw $1, %xmm0, %edx
  testw %dx, %dx
  setne %dl
  movzbl %dl, %edx
  addl %edx, %edx
  testw %cx, %cx
  setne %cl
  movzbl %cl, %ecx
  sall $2, %ecx
  orl %ecx, %edx
  movslq %edx, %rdx
  orq %rdx, %rax
  ret

There is no contest it is an improvement from the old SSE2 case. Now, not sure it's fundamentally better than the shufb version as the pxor induces 1 moe latency cycle. I think we can remove the ugly SSE2 case and replace it with this one. I need to bench the SSSE3 version vs this one.

The AVX case however is better all the time

I liked that sse2 version doesn't require a masked.

OK but, currently, it's less cycle and it sets up an operation on a different port.
Again, this needs benchmarking.

Up to you


[clang-format] Move .clang-format to repo root

Summary
Moves .clang-format to repo root to allow for easier discoverability, and integration with auto-format plugins for editors and IDEs.
Test Plan
careful inspection.

Thanks for doing this!


bug: refresh_filters

Hello Max,
congratulation for this nice tool!
it seems that refresh_filters does not work.
when a selection is made on one column, the oher drop down filters are not actualized.
cheers
michel

Hi Michel,
refresh_filters is now called linked_filters. You can check it out in this demo:
koalyptus.github.io/TableFilter/linked-filters.html
Cheers

Great !!!
Thanx a lot


Add drug description

Add current "general properties" tab to the top section description

I think this is complete. @d0choa @mirandaio, is there anything else to add to the drug's general properties?


Update to Cats 0.7.0

This updates the library to the Cats 0.7.0 snapshot, and shouldn't be merged until 0.7.0 is published. It also depends on this Cats change, which is merged but not yet in the snapshot, so you'll have to publish the snapshot locally if you want to run the tests right now (they do pass if you do that).
I've also changed the cats dependency from cats to cats-free, since the cats module is only meant to be a pedagogical convenience (it pulls in test dependencies, etc.), and shouldn't be used in production.

Lovely, thanks.
I think when I originally pulled in Cats, it was when everything had been pulled back into a single module, but I'm happy to just depend on cats-free/cats-core now that they're split apart again.

I've rebased and updated the PR for the 0.7.0 release—thanks again, @philwills.


Build info upload failing in case the recipe upload was skipped, but a new package has been uploaded

I tried the art:build-info in our project to upload the build info to Artifactory for the new Conan2 builds, like:
    conan create . --format json --channel $channel --user $user --version $version --profile:build $profile --profile:host $profile > create.json
    conan upload xtea/$version@$user/$channel --remote $remote --confirm

    conan config install https://git-url.com/conan-extensions.git --source-folder=extensions/commands/art --target-folder=extensions/commands/art
    conan art:build-info create create.json ${JOB_NAME:-local} ${BUILD_NUMBER:-666} $remote --url https://articatory-url.com/artifactory > build_info.json
    sed -ie "2i \ \ \ \ \"url\": \"${BUILD_URL:-https://foo}\"," $(pwd)/build_info.json
    conan art:build-info upload build_info.json --url https://articatory-url.com/artifactory --user $CONAN_LOGIN_USERNAME --password $CONAN_PASSWORD

If I do not use --force in conan upload, for subsequent calls it will not re-upload the recipe, but upload a new package revision. The build info upload will fail with the following error message:
Upload summary:
conan-repo
  package/1.2.3@user/channel
    revisions
      a258c816cd0fe01b0e3f1b7b23150160 (Skipped, already in server)
        packages
          a7977d43447e716bc7861543ecdf642b7cc66708
            revisions
              df1ca62616cc0c83ac397c4e21dbbf86 (Uploaded)

....

ERROR: There are no artifacts for the package/1.2.3@user/channel#a258c816cd0fe01b0e3f1b7b23150160 recipe. Probably the package was not uploaded before creating the Build Info.Please upload the package to the server and try again.

I checked the source code.
Looks like the following line returns no results in this case:
https://github.com/conan-io/conan-extensions/blob/51933583b210ed8d2137276d081252a2b801f3b4/extensions/commands/art/cmd_build_info.py#L144C13-L144C23
the d directory is empty, resp. only contains an empty subfolder called metadata.

could be that this is a side-effect of a previous issue with inconsisten packages hashes we saw. Will check. After conan remove -c '*' it seems to work.

unfortunately it will not always work like this. Still trying to figure out why sometimes it is working, sometimes (most of the times) not.

Was able to fix it by specifying --user and --passoword arguments to conan art:build-info create. It would be great to add this to the error message, that you might need to specify user and password in case the artifact info was not found...

Hi @schwaerz, thanks for reporting the issue.
You mention that you need to add --user and --password arguments to conan art:build-info create. However, this is what you were doing already, right? Could you please add the steps to reproduce your issue? I would like to understand it well to try to work on a fix.
Thanks! 😄

Hi, initially, I was only added --user and --password to the upload step. That way the build info create failed under certain (not exactly sure which) conditions. I suppose as soon as some information has to be fetched from Artifactory by create it would fail. Probably if the recipe was already uploaded by a different job?
In any case, what needs to be done to reproduce the issue: Re-build of the Conan package itself, with the recipe upload being skipped as the recipe itself is already existing on Artifactory. Only the package got uploaded.
But still, sometimes the build info create worked. Unfortunately I cannot exactly tell what to do to make it always fail.
In Jenkins, it failed in 99,9% of all cases. Locally it started working when I did a force upload of the conan recipe to Artifactory. Still little bit strange.
Not sure whether I can supply more information, please let me know in case you need more info.

Hi @schwaerz,
Thanks a lot for reporting.
I think the error was a bit misleading but in fact the real issue was that you needed to pass those arguments to create the BuildInfo, I will open an issue to check if the raised errors are consistent with the potential problems.


Match gather implementation to torch

I tried replacing the one used in the vits example with the newly merged one (#1329 ) but it's giving errors, maybe for sake of ease of porting models we should make sure the input/output results match that of torch.

Do you have code I can run to reproduce the error?

Do you have code I can run to reproduce the error?
Yes, sorry.

from tinygrad.tensor import Tensor
import torch, numpy

tiny_idx = Tensor.ones(361, 1)
tiny_cum_widths = Tensor.randn(361, 11)
tiny_res = tiny_cum_widths.gather(tiny_idx, dim=-1).numpy()

torch_idx = torch.ones(361, 1, dtype=torch.long)
torch_cum_widths = torch.randn(361, 11)
torch_res = torch_cum_widths.gather(-1, torch_idx).numpy()

print(f"tiny_shape: {tiny_res.shape}")
print(f"torch_shape: {torch_res.shape}")
assert numpy.allclose(torch_res, tiny_res)

Which prints:
tiny_shape: (11, 361, 1, 361)
torch_shape: (361, 1)

Essentially what Tensor.gather() does right now is
out[i][j][k] = input[index[i][j][k]][:][:]  # if dim == 0
out[i][j][k] = input[:][index[i][j][k]][:]  # if dim == 1
out[i][j][k] = input[:][:][index[i][j][k]]  # if dim == 2

the input[index[i][j][k]][j][k] in torch.gather requires the ability to do combined indexing https://github.com/tinygrad/tinygrad/issues/967 (of which I have yet to figure out haha! :D)
There are other ways to hack torch.gather() aka GatherElements https://github.com/geohotstan/tinygrad/blob/passing_onnx/extra/onnx_ops.py#L439, but that's probably not ideal either.
I'll try at combined/fancy indexing some more, and if I figure it out, I'll move the current Tensor.gather() into Tensor.__getitem__() and express the new Tensor.gather() using Tensor.__getitem__()?
kinda like the torch example.
this way the apis can match

ok I think I've got a working torch.gather() based on the logic of combined indexing (dim by dim reduction)
def torch_gather(self: Tensor, idx: Tensor, dim):
  if dim < 0: dim += self.ndim
  ret = self.gather(idx, dim=dim)
  self_extra = self.shape[:dim] + self.shape[dim+1:]
  idx_extra = idx.shape[:dim] + idx.shape[dim+1:]
  idx_extra = [[dim+n,i] if n < dim else (dim+1+n, i) for n,i in enumerate(idx_extra)][::-1]
  self_extra = [(n,i) if n < dim else(n+idx.ndim, i) for n,i in enumerate(self_extra)][::-1]
  for n, ((dim_idx, idx), (dim_self, self)) in enumerate(zip(idx_extra, self_extra)):
    if dim_self < dim_idx and n < len(idx_extra)-1: idx_extra[n+1][0] -= 1
    arange_idx = Tensor.arange(idx).reshape(*[1]*dim_idx, idx, *[1]*(ret.ndim-dim_idx-1))
    arange_self = Tensor.arange(self).reshape(*[1]*dim_self, self, *[1]*(ret.ndim-dim_self-1))
    ret = ((arange_idx == arange_self) * ret).sum(dim_self)

  torch_ans = torch.tensor(self.numpy()).gather(index=torch.tensor(idx.numpy().astype(np.int64)), dim=dim)
  np.testing.assert_allclose(ret.numpy(), torch_ans.numpy())
  # print(ret.numpy())
  # print(torch_ans)

tiny_idx = Tensor.ones(361, 1)
tiny_cum_widths = Tensor.randn(361, 11)
torch_gather(tiny_cum_widths, tiny_idx, -1)

code looks kinda disgusting though... but it works for all onnx GatherElements tests :D
Also not sure about performance compared to hacked GatherElements...
but I believe this logic can be extrapolated to work for fancy indexing as well.


Ansible issue with undifined dict

Got this https://github.com/ansible/ansible/issues/14383 on ansible 2.0

Solved in https://github.com/seecloud/automation/commit/63cd65a5426fe73048f3bfbb998eebdbc3c0244c


Show Errors filter in sidebar when there's component errors

📦 Published PR as canary version: 1.4.1--canary.308.addd9fe.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

This looks great! Nice work!


Buidling for iOS Simulator, but linking in object file for iOS

Summary
Recently added the lib to my project and never manged to get it working in Simulator.
Whenever I run a debug build from Xcode I get
error build: Building for iOS Simulator, but linking in object file built for iOS, file '/Users/shashawa/Documents/projects/myapp/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/GoogleMaps' for architecture arm64

Reproducible sample code
no code involved

Steps to reproduce
Just follow the instructions to add the library to an iOS project, with the following setup
System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1 Pro
    Memory: 206.11 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.6.0 - ~/.asdf/installs/nodejs/18.6.0/bin/node
    Yarn: 1.22.19 - ~/.asdf/shims/yarn
    npm: 9.1.1 - ~/.asdf/plugins/nodejs/shims/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK:
      API Levels: 23, 29, 30, 31, 33
      Build Tools: 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0, 33.0.0
      System Images: android-29 | Intel x86 Atom, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play ARM 64 v8a, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs ARM 64 v8a, android-30 | Google Play ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9014738
    Xcode: 14.0/14A309 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.13 - /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.0.0 => 18.0.0
    react-native: ^0.69.0 => 0.69.7
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
    ```

### Expected result

I expect builds to succeed on Xcode for debug builds on Simulator

### Actual result

error build: Building for iOS Simulator, but linking in object file built for iOS, file '/Users/shashawa/Documents/projects/myapp/ios/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/GoogleMaps' for architecture arm64

### React Native Maps Version

    "react-native-maps": "^1.3.2",

### What platforms are you seeing the problem on?

iOS (Google Maps)

### React Native Version

0.69.7

### What version of Expo are you using?

Not using Expo

### Device(s)

Simulator

### Additional information

_No response_

me to

still experiencing this. Have read this , no dice.
Any ideas?

Hello 👋
arm64 is supported since v1.4.0! Make sure to check out the updated installation instructions! :)


[DEVX-1973] Support playwright + chrome

Proposed changes

Mac: https://app.staging.saucelabs.net/tests/c175412d8b944a0e8210a90133e4d5fc
Windows: https://app.staging.saucelabs.net/tests/108cd81b3a0d4b77af20a3ab13189777
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] I have updated the json schema (if appropriate)

Further comments

Are we planning to allow setting chrome version?
This is also my concern. We can discuss it in standup

Not for this MVP I don't think.


The IAR Flashloader over CMSIS-DAP for RA2E1 never completes.

Just tried this again (now using EWARM 9.32.2), and still cannot replicate - closing on that basis


Local AI models? (Ollama)

Hey, could you add support for Ollama, to run local AI models like llama8.1 and so on? I think that would be a great feature in my opinion.

I bit busy on my work so you can try doing it yourself.
your welcome to contribute.


Fix warning

This fixes #10. I used -1 so the behaviour won't change, as the warning says  to keep using the old, explicitly pass rcond=-1. It's possible though that the new behaviour is better for pathdeformation, I don't know.

Sorry that this took such a ridiculously long time to merge in…


fix: added X-Client-Info header

What kind of change does this PR introduce?
Added X-Client-Info header
Related https://github.com/supabase/supabase-dart/issues/45

I will look at the tests tonight over here as well.

This is just a note, but when I first opened this PR, Github Actions failed failed. Without changing anything on the code, I re-ran the action, and it passed.


When in DEBUG or Development getting flask.cli.NoAppException: Could not import ...

Expected Behavior
Load the main.py module. When running
FLASK_APP=main \
FLASK_DEBUG=1 \
python -m flask run

or
FLASK_APP=main \
FLASK_ENV=development \
python -m flask run

Doesn't really matter whats in the main.py file. I've used the hello world example and it still no work unless i DON't use FLASK_ENV=development or FLASK_DEBUG=1
i.e.  this works:
FLASK_APP=main \
python -m flask run

?
Actual Behavior
So with
 * Serving Flask app "main.py" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 338-897-245
<IP_ADDRESS> - - [04/May/2020 12:17:28] "GET /api/random HTTP/1.1" 500 -
Traceback (most recent call last):
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
ModuleNotFoundError: No module named 'main'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 338, in __call__
    self._flush_bg_loading_exception()
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 326, in _flush_bg_loading_exception
    reraise(*exc_info)
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 314, in _load_app
    self._load_unlocked()
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 330, in _load_unlocked
    self._app = rv = self.loader()
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 388, in load_app
    app = locate_app(self, import_name, name)
  File "/home/alex/dev/imagr/drgrouper/backend/__venv__/lib/python3.7/site-packages/flask/cli.py", line 250, in locate_app
    raise NoAppException('Could not import "{name}".'.format(name=module_name))
flask.cli.NoAppException: Could not import "main".

Also tried it in Python 3.6.9
Environment

Python version: 3.7.7
Flask version: 1.1.2
Werkzeug version: 1.0.1

Having exactly the same issue, and any of the solutions are working...


UnhandledPromiseRejectionWarning: WriteError: Write operation failed: Status code: 0x6300

Hello,
I'm using nfc-pcsc library with an ACR122U connected to a Systec CTR-500 PLC running Node-RED (=node.js).
My NFC card is integrated into the Nordic µC nRF52840 and it seems to be the same as NXP NTAG213/215/216 which is not a Mifare.
It's formatted to NFC Type 2.
Reading and writing in principle works. The node-red-contrib-nfc-pcsc includes your nfc-pscs:
const { NFC } = require("nfc-pcsc");
I don't know what happened but since a few days after calling
await reader.write(4,outData);
I get the error:
(node:268) UnhandledPromiseRejectionWarning: WriteError: Write operation failed: Status code: 0x6300
	at ACR122Reader.write (/root/.node-red/node_modules/nfc-pcsc/dist/Reader.js:493:13)
(node:268) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

Reader.js:493:13 is only printing the error:
if (statusCode !== 0x9000) {
      throw new _errors.WriteError(_errors.OPERATION_FAILED, `Write operation failed: Status code: 0x${statusCode.toString(16)}`);
}

However the data is written correctly, I can't recognize any error. But I'd like to understand the error message. What could lead to error 0x6300?
The capability container CC3 of the Type 2 header is set to 0x00 which means read and write access granted without any security.
I'd be happy if some could give me a hint for this error.
If any information is missing don't hesitate to ask me.
Thanks a lot!

I'm now stuck with this Write operation failed: Status code: 0x6300 I'm trying to write an NDEF message to a mifare classic 1K card. I can authenticate to each sector and read just fine. I then re-authenticate to each sector to write to it, but ... fail. I'm stumped.

I implemented a try-catch around
await reader.write(4,outData);
and indeed get this error 0x6300 in catch section.
But happens all the time regardless if I write successfully or if I abort write process.
How can I catch an aborted write process?

Furthermore I get this error 0x6300 also during read:
May  4 13:49:55 ctr-700-456234 node-red[8581]: (node:8581) UnhandledPromiseRejectionWarning: ReadError: Read operation failed: Status code: 0x6300
May  4 13:49:55 ctr-700-456234 node-red[8581]:     at ACR122Reader.read (/root/.node-red/node_modules/nfc-pcsc/dist/Reader.js:432:13)
May  4 13:49:55 ctr-700-456234 node-red[8581]: (node:8581) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

In Read.js at line 432 there is only the error printing:
419    try {
420      response = await this.transmit(packet, length + 2);
421    } catch (err) {
422      throw new _errors.ReadError(null, null, err);
423    }
424
425    if (response.length < 2) {
426      throw new _errors.ReadError(_errors.OPERATION_FAILED, `Read operation failed: Invalid response length ${response.length}. Expected minimal length is 2 bytes.`);
427    }
428
429    const statusCode = response.slice(-2).readUInt16BE(0);
430
431    if (statusCode !== 0x9000) {
432      throw new _errors.ReadError(_errors.OPERATION_FAILED, `Read operation failed: Status code: 0x${statusCode.toString(16)}`);
433    }

Is 0x6300 only a general error of ACR122U independend of reading or writing? Is it possible to get some more details about it?


Make Custom Tab Active on Launch Instruction

Hello,
I am new to github, and I'm not sure about the appropriateness of this question.  If this is the wrong forum, I apologize.  I was hoping to find instructions, how you could make the custom tab be the active tab when Excel is opened?  In other words, when the Excel file with the custom tab is opened, the custom tab is what the user would be seeing (as opposed to the Home tab).
Thank you in advance for any help!
Sincerely,
Roy

Hi Roy,
This site is for anything that is directly related to the functionality of the Office RibbonX Editor: a bug you have found, something that is not quite ideal and you would like changed, a new feature you thought it would be useful to add, etc. Basically, anything that would require me (or somebody else) look at the code of the tool itself and change it.
Your question is actually more related to Excel / VBA and not the tool itself, but it is a relatively straightforward one, so I can still help you. For other similar questions, I would usually try Excel-specific sites, such as MrExcel, the Excel subreddit or StackOverflow. That way, there can be more people looking at your problem and trying to help out, increasing your chances of having a successful response.
Basically, you need to have a callback to the onLoad method of the top-level customUI element, such as:
<customUI xmlns="..." onLoad="OnCustomUILoad">
    <ribbon>
        <tabs>
            <tab id="customTabId" label="Custom Tab">
                ...
            </tab>
        </tabs>
    </ribbon>
</customUI>

Then, on a VBA module, you add something like this:
Sub OnCustomUILoad(ribbon As IRibbonUI)
    ribbon.ActivateTab "customTabId"
End Sub

If you want to activate the custom tab at any other time later, you can just store that ribbon variable at a module level, e.g.:
Option Explicit

Private mRibbon As IRibbonUI

Sub OnCustomUILoad(ribbon As IRibbonUI)
    Set mRibbon = ribbon
End Sub

Sub ActivateTab()
    'mRibbon can be Nothing if the module is recompiled since the custom UI was loaded
    If mRibbon Is Nothing Then Exit Sub
    mRibbon.ActivateTab "customTabId"
End Sub

Regards,
Fernando


ACPI decoded tables useless

I like the idea behind this project. But sadly the ACPI data dumps here are somewhat useless.
The information that would actually be useful and re-useable is the unmodified output of
acpidump -o acpidump.txt, because that contains everything needed to extract the binary tables (what acpidump -b fetches directly) and to recompile the tables:
acpixtract -l acpidump.txt to list them, acpixtract -a acpidump.txt to extract them.
This is not possibly with the current decompiled data dump.
Because the decompiled dumps didn't use external symbol resolution (iasl -da or -e mode), important information is lost.
Also the ASL source language changes from time to time (see ASL2.0), so using that as a source for recompiling will break whenever ACPICA asl syntax moves on.
So before you collect more unusable data, I hope you'll switch to storing (at least) the binary dumps, which would also save a ton of space by comparison. All the other info can be extracted from those.

Fixed by commit a45729b4c743feae2e6be2266f173fa469a66b0b.
Thanks.

And thank you!

@nyov,
Binary dumps will be saved to *.bin files near decoded ones:
https://github.com/linuxhw/ACPI/blob/master/Desktop/Supermicro/X8/X8SIL/40AECBFF4573.bin
https://github.com/linuxhw/ACPI/blob/master/Desktop/Supermicro/X8/X8SIL/40AECBFF4573
Please check if this fits your needs.
Thank you.

Yes I saw this. It works for me, and I think with this information, it is future-proof now.


Allow to quick switch windows in order of most recently used

Hello,
I use vscode in a fashion with 1 window per git repository I am working on.  (Maybe this is not the intended way of using vscode.) Before I know it, I typically have some 8 windows open at the same time.
Switching between windows is a chore (on the mac)., I notice that the cognitive load for window cycling is very high for me:

command-backtic switches in some ill posed Mac order, which is sometimes cyclical and sometimes ordered-by-history, it is very difficult to quickly see which project I am at, since all windows more/less look similar (the project name is after the em-dash in the title, but this place jumps around in my setup of windows it appears)
The windows in the Window menu is ordered by the name of the file that happens to be open in the window, searching for the correct project is hard (word after the emdash, the horizontal location depends on the length of the name of the files that is open within the project)
A key bounded to workbench.action.quickSwitchWindow has the same random list ordering problem as the Window menu

It would be really, really, great if there could be a command or keyboard shortcut for cycling through vscode windows in exactly the same order as cycling through files within a window happens with workbench.action.quickOpenNavigateNextInFilePicker, that is: order by most recently used window:

press once: most recently shown other window
press twice: the window that was most recently shown to that
etc

Obviously there is a time within which key presses are interpreted as a sequence, not as the next window cycle.
The most frequent use case is switching between two windows, I typically edit in one window, and occasionally want to look in code of on specific other window.  It would be great if this can be done in a command-p (workbench.action.quickOpenNavigateNextInFilePicker) way.
(The mac command-backtic requires me to interact with the window before the cycle is re-ordered).

You might be able to find a window manager on macOS that does this, I know this is how it works on Windows and Linux and macOS is just a mess in how windows can be switched...

E.g. https://alt-tab-macos.netlify.app/

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

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

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


operator: missing support for ARM architectures

What steps did you take and what happened:
Currently deploying the starboard operator on ARM instances is not working (e.g. Graviton AWS EC2)
On start :
standard_init_linux.go:228: exec user process caused: exec format error

This error is a known symptom of not supported arm architecture.
What did you expect to happen:
Operator starting.
Anything else you would like to add:
Blocked on operator deployment, I have not checked on tools used by Starboard if the same issue will happen (kube bench, trivy, polaris, ...)
Environment:

Starboard version (use starboard version): 0.13.0
Kubernetes version (use kubectl version): 1.22
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): EKS 1.21, Graviton t4g, Bottlerocket OS

Hi @danielpacak
I created a PR for adding ARM support.
Hard to validate as it depends on github actions and releases.

Hi @danielpacak
I created a PR for adding ARM support. Hard to validate as it depends on github actions and releases.

To test your changes before you can always install goreleaser on your computer as explained on https://goreleaser.com/install/
And then just test it out with the following command:
goreleaser release --snapshot --skip-publish --rm-dist

@jlamande I've renamed this issue to indicate that we want to build Starboard CLI for ARM architectures as well.

Fixed in PR #955


Update sbt to 1.7.1

Updates org.scala-sbt:sbt from 1.7.0 to 1.7.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #305 (f626a68) into develop (1c27f5e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #305   +/-   ##
========================================
  Coverage    50.58%   50.58%
========================================
  Files            5        5
  Lines           85       85
========================================
  Hits            43       43
  Misses          42       42

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 1c27f5e...f626a68. Read the comment docs.


Suppress checker framework memory constraint warning

Fixes #20819

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[x] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java_Pulsar_IO_Direct PreCommit

Hrmm. Many of the "in progress" builds are successful, while the failed build is not restarting. We may need to do something different to effectively run just appropriate tests on PRs if this is a capacity/quota issue. I mean, we are talking about "I forgot how to count that low" numbers but we've seen issues still.

I haven't actually seen a memory constraint failure recently, but this should eliminate them totally so they don't recur.