forecast module errors: Multiple feature collections cannot be written as a CF dataset

I'm new to NOAA/NCEP/NWS models, Siphon/THREDDS etc., and pvlib, but am interested in the pvlib forecast module. I understand that it is depreciated. Indeed, the code at pvlib/forecast.py throws errors, as is evident from the current documentation (which contains error messages) and from running the code on my machine. Perhaps the issue is clear to experts here, but it took me some time to figure out what was happening. I offer a quick/dirty fix below. And I have a comment/question.
The error is: Handler dispatch failed; nested exception is java.lang.AssertionError: Multiple feature collections cannot be written as a CF dataset. It occurs when fm.get_processed_data(latitude, longitude, start, end) is called. I'm using Python 3.8.10, pvlib 0.8.0, and pandas 1.4.3. I'm also using the GFS ForecastModel , but my fix below could be extended for the other models.
Apparently, the issue is that the current code tries to grab data for several types of variables, for example: u-component_of_wind_isobaric, Total_cloud_cover_entire_atmosphere_Mixed_intervals_Average, and Temperature_surface. But it seems that only one type of variable can be accessed in any one query. The variable type can be identified by the last word in the name: "isobaric", "Average", and "surface". The exception to this list is the variable Total_cloud_cover_convective_cloud, which I ignore as it does not seem to be used for power calculations with GFS data. The quick fix is to call each variable type separately, which I do below using a kind keyword. After the dataframes are constructed, I concat them.
An issue/question is that given identical time spans, the three queries return dataframes with somewhat different time indexes. I don't know why this happens. In my example run, after concatenation, the  forecast_data dataframe looks like this:
data before dropna, shape=(84, 9)
                              temp_air  wind_speed        ghi        dni        dhi  total_clouds  low_clouds  mid_clouds  high_clouds
2022-11-18 00:30:00-07:00        NaN         NaN   0.000000   0.000000   0.000000    100.000000         0.0    3.700000        100.0
2022-11-18 02:00:00-07:00  14.460541    2.229132   0.000000   0.000000   0.000000    100.000000         0.0   48.299999        100.0
2022-11-18 05:00:00-07:00  13.531006    2.466797        NaN        NaN        NaN           NaN         NaN         NaN          NaN

I simply drop rows with nans. Does anyone have a better solution? Interpolation for nans would be a possibility. Dropping nans reduces the number of rows from 84 to 28, which is quite a cut.
Below I give my edited version of the GFS class, and after that I give my script (based on forecast.py) which runs it.
class GFS(ForecastModel):
     _resolutions = ['Half', 'Quarter']
    _kind = ['isobaric', 'Average', 'surface']
    def __init__(self, resolution='quarter', set_type='best', kind='isobaric'):
        model_type = 'Forecast Model Data'
        self.kind = kind
        resolution = resolution.title()
        if resolution not in self._resolutions:
            raise ValueError(f'resolution must in {self._resolutions}')
        if kind not in self._kind:
            raise ValueError(f'kind must be in {self._kind}')

        model = f'GFS {resolution} Degree Forecast'

        # isobaric variables will require a vert_level to prevent
        # excessive data downloads

        # split the variables into different groups, based on kind
        if kind == 'isobaric':
            self.variables = {
                'wind_speed_u': 'u-component_of_wind_isobaric',
                'wind_speed_v': 'v-component_of_wind_isobaric',
                }

            self.output_variables = [
                'wind_speed',
                ]

        elif kind == 'Average':
            self.variables = {
                'total_clouds': 'Total_cloud_cover_entire_atmosphere_Mixed_intervals_Average',
                'low_clouds': 'Low_cloud_cover_low_cloud_Mixed_intervals_Average',
                'mid_clouds': 'Medium_cloud_cover_middle_cloud_Mixed_intervals_Average',
                'high_clouds': 'High_cloud_cover_high_cloud_Mixed_intervals_Average',
                'boundary_clouds': 'Total_cloud_cover_boundary_layer_cloud_Mixed_intervals_Average',
                'ghi_raw': 'Downward_Short-Wave_Radiation_Flux_surface_Mixed_intervals_Average'
                }

            self.output_variables = [
                'ghi',
                'dni',
                'dhi',
                'total_clouds',
                'low_clouds',
                'mid_clouds',
                'high_clouds'
                ]

        elif kind == 'surface':
            self.variables = {
                'temp_air': 'Temperature_surface',
                'wind_speed_gust': 'Wind_speed_gust_surface',
                #'convect_clouds': 'Total_cloud_cover_convective_cloud',
                }

            self.output_variables = [
                'temp_air',
                ]

        super().__init__(model_type, model, set_type, vert_level=100000)

    def process_data(self, data, cloud_cover='total_clouds', **kwargs):
        """
        Defines the steps needed to convert raw forecast data
        into processed forecast data.

        Parameters
        ----------
        data: DataFrame
            Raw forecast data
        cloud_cover: str, default 'total_clouds'
            The type of cloud cover used to infer the irradiance.

        Returns
        -------
        data: DataFrame
            Processed forecast data.
        """
        data = super().process_data(data, **kwargs)

        if self.kind == 'Average':
            irrads = self.cloud_cover_to_irradiance(data[cloud_cover], **kwargs)
            data = data.join(irrads, how='outer')
        elif self.kind == "isobaric":
            data['wind_speed'] = self.uv_to_speed(data)
        elif self.kind == "surface":
            data['temp_air'] = self.kelvin_to_celsius(data['temp_air'])
        return data[self.output_variables]

My code to run the example in forecast.py is below.
from pvlib import solarposition, irradiance, atmosphere, pvsystem, inverter, temperature
#from pvlib.forecast import GFS, NAM, NDFD, RAP, HRRR
from forecast_module import GFS, NAM, NDFD, RAP, HRRR  # my version of the forecast module
import datetime
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import os
import pandas as pd
import sys
import time
import pytz

# Choose a location.
# Tucson, AZ
latitude = 32.2
longitude = -110.9
tz = 'US/Mountain'
tzinfo = pytz.timezone(tz)
surface_tilt = 30
surface_azimuth = 180 # pvlib uses 0=North, 90=East, 180=South, 270=West convention
albedo = 0.2

start = pd.Timestamp(datetime.date.today(), tz=tz) # today's date
#dt = datetime.datetime(2020, 7, 7, 6, 0, tzinfo=tzinfo)
#start = pd.Timestamp(dt)
end = start + pd.Timedelta(days=7) # 7 days from today

# Define forecast model
data = {}
for kind in ['isobaric', 'Average', 'surface']:
    fm = GFS(kind=kind)
    data[kind] = {'fm': fm, 'data': fm.get_processed_data(latitude, longitude, start, end)}

forecast_data = pd.concat([data['surface']['data'],data['isobaric']['data'],data['Average']['data']], axis=1)
# The three kinds have different time indices, and so forecast_data has nans in some rows. Drop these.
print("\ndata before dropna, shape={} \n{}\n".format(forecast_data.shape, forecast_data.head()))
forecast_data.dropna(axis=0, how='any', inplace=True)
print("\ndata after dropna, shape={} \n{}\n".format(forecast_data.shape, forecast_data.head()))

forecast_data['temp_air'].plot()
plt.title('temp_air');
plt.savefig("temp_air.png")
plt.close('all')

ghi = forecast_data['ghi']
ghi.plot()
plt.ylabel('Irradiance ($W/m^{-2}$)')
plt.title('GHI');
plt.savefig("ghi.png")
plt.close('all')

# retrieve time and location parameters, for Average which contains dhi/dni data
time = forecast_data.index
a_point = data['Average']['fm'].location

solpos = a_point.get_solarposition(time, method='nrel_numba')
solpos.plot()
plt.title('solar position');
plt.savefig("solpos.png")
plt.close('all')

dni_extra = irradiance.get_extra_radiation(time)
dni_extra.plot()
plt.ylabel('Extra terrestrial radiation ($W/m^{-2}$)')
plt.title('DNI Extra');
plt.savefig("dni_extra.png")
plt.close('all')

airmass = atmosphere.get_relative_airmass(solpos['apparent_zenith'])
airmass.plot()
plt.ylabel('Airmass')
plt.title('Airmass');
plt.savefig("Airmass.png")
plt.close('all')

poa_sky_diffuse = irradiance.haydavies(
    surface_tilt,
    surface_azimuth,
    forecast_data['dhi'],
    forecast_data['dni'],
    dni_extra,
    solpos['apparent_zenith'],
    solpos['azimuth']
    )
poa_sky_diffuse.plot()
plt.ylabel('Irradiance ($W/m^{-2}$)')
plt.title('POA Sky Diffuse');
plt.savefig("poa_sky_diffuse.png")
plt.close('all')

poa_ground_diffuse = irradiance.get_ground_diffuse(surface_tilt, ghi, albedo=albedo)
poa_ground_diffuse.plot()
plt.ylabel('Irradiance ($W/m^{-2}$)')
plt.title('POA Ground Diffuse');
plt.savefig("poa_ground_diffuse.png")
plt.close('all')

aoi = irradiance.aoi(surface_tilt, surface_azimuth, solpos['apparent_zenith'], solpos['azimuth'])
aoi.plot()
plt.ylabel('Angle of incidence (deg)')
plt.title('Angle of Incidence');
plt.savefig("aoi.png")
plt.close('all')

poa_irrad = irradiance.poa_components(
    aoi,
    forecast_data['dni'],
    poa_sky_diffuse,
    poa_ground_diffuse
    )
poa_irrad.plot()
plt.ylabel('Irradiance ($W/m^{-2}$)')
plt.title('POA Irradiance');
plt.savefig("poa_irrad.png")
plt.close('all')

ambient_temperature = forecast_data['temp_air']
wnd_spd = forecast_data['wind_speed']
thermal_params = temperature.TEMPERATURE_MODEL_PARAMETERS['sapm']['open_rack_glass_polymer']
pvtemp = temperature.sapm_cell(poa_irrad['poa_global'], ambient_temperature, wnd_spd, **thermal_params)
pvtemp.plot()
plt.ylabel('Temperature (C)');
plt.title('PV Temp');
plt.savefig("pvtemp.png")
plt.close('all')

sandia_modules = pvsystem.retrieve_sam('SandiaMod')
sandia_module = sandia_modules.Canadian_Solar_CS5P_220M___2009_

effective_irradiance = pvsystem.sapm_effective_irradiance(poa_irrad.poa_direct, poa_irrad.poa_diffuse,
                                                          airmass, aoi, sandia_module)

sapm_out = pvsystem.sapm(effective_irradiance, pvtemp, sandia_module)
print("\nsapm_out= \n{}\n".format(sapm_out.head()))

sapm_out[['p_mp']].plot()
plt.ylabel('DC Power (W)');
plt.title('DC Power');
plt.savefig("dc_power.png")
plt.close('all')

sapm_inverters = pvsystem.retrieve_sam('sandiainverter')
sapm_inverter = sapm_inverters['ABB__MICRO_0_25_I_OUTD_US_208__208V_']

p_ac = inverter.sandia(sapm_out.v_mp, sapm_out.p_mp, sapm_inverter)
p_ac.plot()
plt.ylabel('AC Power (W)')
plt.ylim(0, None);
plt.title('AC Power');
plt.savefig("ac_power.png")
plt.close('all')

print("\np_ac describe= \{}\n".format(p_ac.describe()))
p_ac.index.freq
p_ac[start:start+pd.Timedelta(days=2)].plot();
plt.title('AC Power, 2 Day');
plt.savefig("ac_power_2day.png")
plt.close('all')

# integrate power to find energy yield over the forecast period
energy = p_ac.sum() * 3
print("\nenergy= {}\n".format(energy))
# I think it would be better to integrate p_ac over time to get the energy.

I've not tried it myself, but @kahemker's code here may be of interest: https://github.com/kahemker/pvlib-python/tree/thredds-v5-support-pvlib0.9
See also his google group post: https://groups.google.com/g/pvlib-python/c/BGV1S7QagRo/m/ELPXf6gwAQAJ


[New dataset] Train Smoke on my own dataset

Model/Dataset/Scheduler description
hello, I have a question, I want to train SMOKE on my own dataset, and the image size is  1920x1080, I create the dataset format like KITTI format, and set the size of the model is 960x544, however, the result is very bad, the metric result is almost 0, and when I set the input size of model to 1920x1080, the metric result is better.
so, if I need to set the input size of model to 960x544, there is any documents to reference ??? Or , what should I do when create the dataset, Or what should modified in config.py???
Open source status

[ ] The model implementation is available
[ ] The model weights are available.

Provide useful links for the implementation
No response

When you resize the image size from 1920x1080 to 960x544, the camera intrinsic matrix should also be updated accordingly. You may refer to Resize3D in dev-1.x branch as an example.

When you resize the image size from 1920x1080 to 960x544, the camera intrinsic matrix should also be updated accordingly. You may refer to Resize3D in dev-1.x branch as an example.

OK， thanks


EventUI_PastEventTabs: Support navigating to past events in different…

Summary 🔺 Support navigating to past events in different years by clicking on tabs in the sidebar

Issue Number 🔺 (Paste your issue link here)

When in mobile view, side bar is blocked by main content.
Beside that, everything looks great to me! Keep up with the good work.


Template azure function

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: lpinon:x: Esther PlaIbanezEsther PlaIbanez seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add a command to install fonts

For instance
$ cd /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/
$ cp *.otf ~/Library/Fonts/

or
cp -R /Applications/Utilities/Terminal.app/Contents/Resources/Fonts/. /Library/Fonts/

Explore the use of iCloud or https://syncthing.net/ to sync user installed fonts across different machines.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1051

Questions ?
Please refer to the Backport tool documentation


Updated Forge Version - 1.12.2-<IP_ADDRESS>60

Please use the current Gradle setup with FG 2.3 fork and Forge 2847


Update volume's passphrase to null if diskOffering doesn't support encryption

Description
This PR updates the volume's passphrase to null if diskOffering doesn't support encryption

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9236

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan package

@vishesh92 a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Codecov Report
Attention: Patch coverage is 0% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 15.13%. Comparing base (c7626eb) to head (b8f60d2).
Report is 5 commits behind head on 4.19.

Files
Patch %
Lines

...stack/engine/orchestration/VolumeOrchestrator.java
0.00%
3 Missing :warning:

.../src/main/java/com/cloud/vm/UserVmManagerImpl.java
0.00%
3 Missing :warning:

...e/cloudstack/storage/volume/VolumeServiceImpl.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19    #8904      +/-   ##
============================================
- Coverage     15.36%   15.13%   -0.24%
+ Complexity    13620    13468     -152
============================================
  Files          4862     4863       +1
  Lines        325934   326034     +100
  Branches      45814    45840      +26
============================================
- Hits          50074    49332     -742
- Misses       268857   270086    +1229
+ Partials       7003     6616     -387

Flag
Coverage Δ

simulator-marvin-tests
15.13% <0.00%> (-0.24%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 9250

@blueorangutan test

@sureshanaparti a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-9830)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43078 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8904-t9830-kvm-centos7.zip
Smoke tests completed. 127 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_events_resource
Error
291.89
test_events_resource.py

test_01_events_resource
Error
291.90
test_events_resource.py

test_04_deploy_vm_for_other_user_and_test_vm_operations
Failure
86.01
test_network_permissions.py

ContextSuite context=TestNetworkPermissions>:teardown
Error
1.41
test_network_permissions.py


re: #3829, Wrong value for registering devices

#3829 Wrong value for registering devices in Intune

Its current 500 devices

Our current docs and screenshots agree that the current max is 500; for example, see the link in the table - https://docs.microsoft.com/en-us/intune/enrollment-autopilot - last updated ~6 months after this article, it contains a screenshot listing a max of 500 rows, with one row for each device

https://docs.microsoft.com/en-us/windows/deployment/windows-autopilot/add-devices
The page already says 500 at a time.  This edit was committed in May 2019 and is no longer valid.


[🐞] Web Worker Instance Errors and postMessage Origin Mismatches with GTM in Partytown Proxy Setup

Describe the bug
We’re implementing Partytown on our website to offload third-party scripts, specifically Google Tag Manager (GTM), to a web worker. Our primary goals are to reduce main-thread load, improve page performance, and ensure a smooth and secure way to proxy external resources.
Currently this feature requires a URL parameter so that the site remains unaffected.
URL: https://fujifilm-x.com/global/?googletagmanager=partytown
Current Setup

Proxy Controller Implementation:

We created a PartytownController to handle the secure proxying of external resources. This controller validates incoming requests based on an HMAC string as salt, signature and timestamp to prevent unauthorised access.
The proxy handles requests to external scripts specified by resource_url and verifies that the request originates from an allowed request_origin.
We perform validation on:

The resource_url to ensure it matches allowed domains (e.g., googletagmanager.com).
The request_origin to ensure requests come from trusted origins.

JavaScript Configuration for Partytown:

We use the resolveUrl function in Partytown’s configuration to intercept URLs for specified external domains.
When a URL matches an allowed domain, we route it through our proxy using resource_url and request_origin parameters.
The proxy also uses timestamp and signature parameters, generated in PHP, for security.
A Content Security Policy (CSP) header was initially added to restrict scripts but later removed in the hope to fix the "does not match the recipient window's origin." warning.

Encountered Issues

Web Worker Errors:

"Error finding instance": We repeatedly encounter the error Error finding instance "instanceId" on window x, especially within iframe environments created by Partytown.
This error seems to indicate that Partytown is attempting to reference instances (possibly GTM elements or document elements) that it cannot locate within the worker context. We need clarity on what causes these missing instances and any workarounds.

postMessage Origin Errors:

Partytown’s web worker often triggers errors such as Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.googletagmanager.com') does not match the recipient window's origin.
This happens because the GTM script expects postMessage calls to originate from GTM’s domain, while the messages are now proxied through our domain. Despite configuring the proxy URL, this mismatch still occurs, causing communication failures.

Other Observed Browser Errors:

Occasionally, the browser logs an error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received.
It’s unclear whether this is directly related to Partytown or is a side effect of the web worker environment.

Actions Taken

Dynamic CSP for Allowed Domains:

We attempted to set a CSP header dynamically based on the request’s request_origin, but this did not resolve the issue and was removed as it didn't affect the worker’s ability to fetch and execute the proxied resources.

Proxy Signature and Timestamp Validation:

To prevent unauthorized access to the proxy, we implemented an HMAC-based signature with a timestamp, ensuring only signed requests within a five-minute window are accepted. This prevents potential abuse, although it doesn’t address the underlying postMessage and instance-finding issues.

Attempted Debugging of Web Worker Environment:

We investigated resolveUrl configurations and double-checked that the URLs match allowed domains.
Despite these, we still see consistent Error finding instance and postMessage origin mismatch errors when GTM scripts attempt to interact with the DOM or communicate via postMessage.

Assistance Needed
If possible can I get advise on the following, please?

Insight on "Error finding instance" Errors: Clarification on what causes this issue in Partytown and whether there’s a way to ensure elements or instances are accessible in the worker context.
Handling postMessage Origin Mismatch: Suggestions for enabling postMessage compatibility when GTM or other external scripts are proxied and accessed from a different domain.
Recommended Configuration: Any guidance or best practices for securely using Partytown to proxy GTM while minimizing main-thread load.

Main 🌎 Created Partytown web worker (0.10.2)
partytown-ww-sw.js?v=0.10.2:1 Partytown 🎉 Initialized web worker
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Registered top window 1
partytown-ww-sw.js?v=0.10.2:1 Worker (1) 🎉 Created top window 1 environment
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Executed top window 1 environment scripts in 67.8ms
partytown-ww-sw.js?v=0.10.2:1 Worker (1) 🎉 Initialized top window 1 environment 🎉
partytown-ww-sw.js?v=0.10.2:1 Worker (2) 🎉 Created iframe window 2 environment
partytown-sandbox-sw.js?v=0.10.2:1 Error finding instance "m698mx92su.d" on window 2 {$winId$: 'm698mx92su', $instanceId$: 'm698mx92su.d', $applyPath$: Array(2), $debug$: 'document.open.1, (blocking)'}
q @ partytown-sandbox-sw.js?v=0.10.2:1
(anonymous) @ partytown-sandbox-sw.js?v=0.10.2:1Understand this errorAI
partytown-sandbox-sw.js?v=0.10.2:1 Web Worker Error ErrorEvent {isTrusted: true, message: 'Uncaught Error: Error finding instance "m698mx92su.d" on window 2', filename: 'https://fujifilm-x.com/wp-content/themes/fujifilm/dist/partytown/debug/partytown-ww-sw.js?v=0.10.2', lineno: 1, colno: 8773, …}
then.Y.onerror @ partytown-sandbox-sw.js?v=0.10.2:1
error
(anonymous) @ partytown-sandbox-sw.js?v=0.10.2:1
Promise.then
(anonymous) @ partytown-sandbox-sw.js?v=0.10.2:1
(anonymous) @ partytown-sandbox-sw.js?v=0.10.2:1Understand this errorAI
partytown-ww-sw.js?v=0.10.2:1 Uncaught Error: Error finding instance "m698mx92su.d" on window 2
    at fe (partytown-ww-sw.js?v=0.10.2:1:8773)
    at he (partytown-ww-sw.js?v=0.10.2:1:8246)
    at we (partytown-ww-sw.js?v=0.10.2:1:10200)
    at I.<anonymous> (partytown-ww-sw.js?v=0.10.2:1:23369)
    at Bc (bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:63:174)
    at eval (bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:77:807)
fe @ partytown-ww-sw.js?v=0.10.2:1
he @ partytown-ww-sw.js?v=0.10.2:1
we @ partytown-ww-sw.js?v=0.10.2:1
(anonymous) @ partytown-ww-sw.js?v=0.10.2:1
Bc @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:63
eval @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:77
setTimeout
eval @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:77
xc @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:56
start @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:77
eval @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:78
eval @ bootstrap?id=GTM-NWPVDB&src=GTM&cond=2&gtm=45He4b70v6887923za204:79
Me @ partytown-ww-sw.js?v=0.10.2:1
(anonymous) @ partytown-ww-sw.js?v=0.10.2:1
await in (anonymous)
at @ partytown-ww-sw.js?v=0.10.2:1Understand this errorAI
partytown-ww-sw.js?v=0.10.2:1 Worker (3) 🎉 Created iframe window 3 environment
partytown-ww-sw.js?v=0.10.2:1 Worker (4) 🎉 Created iframe window 4 environment
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Registered iframe window 3
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Executed iframe window 3 environment scripts in 20.3ms
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Registered iframe window 4
partytown-ww-sw.js?v=0.10.2:1 Worker (5) 🎉 Created iframe window 5 environment
partytown-ww-sw.js?v=0.10.2:1 Worker (6) 🎉 Created iframe window 6 environment
partytown-ww-sw.js?v=0.10.2:1 Worker (3) 🎉 Initialized iframe window 3 environment 🎉
partytown-sandbox-sw.js?v=0.10.2:1 Main 🌎 Executed iframe window 4 environment scripts in 51.9ms
partytown-ww-sw.js?v=0.10.2:1 Worker (4) 🎉 Initialized iframe window 4 environment 🎉
20Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>').Understand this warningAI
6Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.Understand this warningAI
global/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

If you require further information, such as code examples or additional logs, please let us know.
Reproduction
https://fujifilm-x.com/global/?googletagmanager=partytown
Steps to reproduce

Use Tag Assistant Chrome Extension: https://chromewebstore.google.com/detail/tag-assistant-companion/jmekfmbnaedfebfnmakmokmlfpblbfdm, alternatively I have also tested tagmanager preview to try and validate the container has loaded.
Use URL with query parameter: https://fujifilm-x.com/global/?googletagmanager=partytown,
View dev tools to see console errors/warnings.

Unable to verify or validate if GTM is correctly running.
Browser Info
Chrome
Additional Information
No response

I also tested the same approach as you, and after conducting tests on the GA4 metrics, we observed a significant drop in data accuracy.
During our tests, we evaluated organic data from social sources like Facebook, X (formerly Twitter), and Line. Specifically, we noticed that organic data from Facebook was underreported compared to actual activity. For example, in a test with 10 visits, only 6 were recorded. This discrepancy suggests that the effectiveness of Partytown on production data is not yet optimal.
I have experience in JavaScript development, but my understanding of GTM and GA4 is limited. If you have any insights or resources to share, I would be happy to contribute to improving Partytown's performance in a production environment.

Thanks for sharing your experience and testing observations @ducsatthu,
Right now, my main priority is getting GTM tags firing correctly and resolving the current issues with the Partytown setup, like the instance errors and the postMessage origin mismatches. Once those are sorted, I’ll definitely take a closer look at how this setup impacts GA4 data accuracy.
Your point about discrepancies in organic data from platforms like Facebook is super helpful, and it’s definitely something I’ll keep in mind when I get to that stage. But for now, the focus is on ironing out these technical issues to ensure GTM works as expected within Partytown.
Thanks again for your feedback, it is always good to hear from someone testing in a similar environment/setup! Let me know if you’ve found anything else that might help resolve the proxy issues.

FYI: I will be unavailable for the next 4 weeks


Implement Int ⇔ Float conversion as primitives

See https://forum.dfinity.org/t/motokos-type-system-converting-between-types.
The language-level change in this PR is that we add two new functions to prim:

floatToInt : Float -> Int
intToFloat : Int -> Float

floatToInt cannot fail, at least in theory. In the interpreter I have seen failures for floatToInt(1.7e308), while the compiler works well. Tests go up to 1e100.
If intToFloat overflows the result is (-)inf.
Of course these conversions a lossy in general. Caveat emptor!
Base library implications
Let's merge this PR after soaking a few days/weeks.
Then module Float.fromInt would call the new primitives instead of going the Int -> Int64 -> Float route (which does trap for big numbers). The fix need to go into the motoko-base lib at a later stage. This is the place:
  /// Conversion from Int via Int64. May trap.
  public let fromInt : Int -> Float =
    func (x : Int) : Float = fromInt64(Prim.intToInt64(x));

In terms of gas, no changes are observed in 3 tests.
In terms of size, 3 tests regressed and the mean change is +0.2%.

I am testing the the overflow cases and see strange things. For later investigation...
Prim.debugPrint(debug_show(Prim.intToFloat(17 * 10 ** 307)));
// Adding the ^^ above line causes:
/* +16999999999999999388307957886599817433334607430407587450277311919353772917816056586433009178758470798857226246798318891bigint function errorinternal error: unexpected state entering Idle)pattern failednegative powerassertion failed at float-ops.mo:118.1-118.60
*/

I agree that SkewedPtr is the wrong name for the beast. But we know what it is :-) Not urgent to change.
My suggestion list is {VanillaValue, VanillaRepresentation}, in this order. We use the term vanilla a lot in compile.ml.

In the interpreter I have seen failures for floatToInt(1.7e308), while the compiler works well

Is this not a problem? Shouldn't they agree?

In the interpreter I have seen failures for floatToInt(1.7e308), while the compiler works well

Is this not a problem? Shouldn't they agree?

@osa1 nope I don't think it is a problem, but it is annoying when it happens in tests, as they start spewing out weird stuff. I think this is some infelicity with OCaml's libs.

I am testing the the overflow cases and see strange things. For later investigation...
Prim.debugPrint(debug_show(Prim.intToFloat(17 * 10 ** 307)));
// Adding the ^^ above line causes (in compilation mode):
/* +16999999999999999388307957886599817433334607430407587450277311919353772917816056586433009178758470798857226246798318891
bigint function errorinternal error: unexpected state entering Idle)pattern failednegative powerassertion failed at float-ops.mo:118.1-118.60
*/

Looks like debug_show uses float_fmt which by default prints the float in full into a buffer of size 120, and in case of overflow it prints whatever happens to be in memory after that. This happens also with e.g. a direct constant debug_show(1e140).

 Thanks for the analysis! I didn't look into this, and when writing float_fmt I didn't consider that the exponents could be expanded. I will increase the buffer, so that all the digits will fit in! Good catch!

nope I don't think it is a problem, but it is annoying when it happens in tests, as they start spewing out weird stuff. I think this is some infelicity with OCaml's libs.

But they execute the same language. For a deterministic program if they output differently, then either one (or both) of them are buggy, or the program has undefined behavior.
OCaml float documentation says OCaml floats are 64-bit IEEE 754 numbers (same as Wasm f64s) so I think it should work. If not then there seems to be a bug to be fixed.

@cristianoc the debug_show(1e140) issue should be fixed now, PTAL.

My suggestion list is {VanillaValue, VanillaRepresentation}, in this order. We use the term vanilla a lot in compile.ml.

+1 for VanillaValue

In the interpreter I have seen failures for floatToInt(1.7e308), while the compiler works well

Here's the OCaml version of tommath mp_set_double:
(* tommath mp_set_double *)
let bigint_of_double (f : Wasm.F64.t) : Big_int.big_int =
  let bits = Wasm.F64.to_bits f in

  (* 0b111...1: 11 bits *)
  let mask_11_bits = Int64.of_int 0x7FF in

  (* Exponent part of IEEE 754 double, 11 bits *)
  let exp = Int64.(logand (shift_right_logical bits 52) mask_11_bits) in

  (* Fraction part of IEEE 754 double, 52 bits, but this also sets 53rd bit for
     some reason. tommath code:

     frac = (cast.bits & (((uint64_t)1 << 52) - (uint64_t)1)) | ((uint64_t)1 << 52); *)
  let frac = Int64.(logor (shift_right_logical (shift_left bits 12) 12) (shift_left (of_int 1) 52)) in

  if Int64.(equal exp mask_11_bits) then
    (* Exponent is fully set: NaN or inf *)
    raise (Invalid_argument "bigint_of_double: argument is NaN or inf");

  (* I don't understand this part, copied from tommath mp_set_double
     exp -= 1023 + 52; *)
  let exp = Int64.(sub exp (of_int (1023 + 52))) in

  let a = Big_int.big_int_of_int64 frac in

  let a = if Int64.(compare exp (of_int 0)) < 0 then
    Big_int.(shift_right_big_int a (- (Int64.to_int exp)))
  else
    Big_int.(shift_left_big_int a (Int64.to_int exp))
  in

  if Int64.shift_right_logical bits 63 = Int64.of_int 1 && a <> Big_int.zero_big_int then
    Big_int.minus_big_int a
  else
    a

With this I get the same outputs for floatToInt(1.7e308). I left inline comments for parts that I don't understand.

I left inline comments for parts that I don't understand

Figured it out. (source) The fraction part represents this number 1.xxxxx... (in binary) where xs are the bits in fraction part of the double. That 1 is not represented in the 52 bits, it's implicit. That's the 53rd bit mp_set_double is setting.
In exp -= 1023 + 52, 1023 is "bias". So for example, value 1023 in exponent part of the double represents 0, 1022 represents -1 and so on (we don't have sign bit in exponent). - 52 is for the lost fraction point in the frac. We represent 1.xxx... as 1xxx..., so need -52 is for the missing fraction point there.

Here's a better documented version of the same function:
let bigint_of_double (f : Wasm.F64.t) : Big_int.big_int =
  let bits = Wasm.F64.to_bits f in

  (* A bit pattern with 11 least significant bits set *)
  let bits_11 = Int64.of_int 0x7FF in

  (* Exponent part of IEEE 754 double, 11 bits *)
  let exp = Int64.(logand (shift_right_logical bits 52) bits_11) in

  (* Fraction part of IEEE 754 double, 52 bits from the float, with an implicit
     1 at the 53rd bit *)
  let frac = Int64.(logor (shift_right_logical (shift_left bits 12) 12) (shift_left (of_int 1) 52)) in

  if Int64.(equal exp bits_11) then
    (* Exponent is fully set: NaN or inf *)
    raise (Invalid_argument "bigint_of_double: argument is NaN or inf");

  (* Actual exponent value: subtract bias, and 52 to take the missing fraction
     dot in `frac`. Reminder: if fractional part is `xxx...` (binary) then
     actual fraction is `1.xxx...`, which we represent as `1xxx...` in `frac`.
     `- 52` here is to take that lost fraction point into account. *)
  let exp = Int64.(sub exp (of_int (1023 + 52))) in

  let a = Big_int.big_int_of_int64 frac in

  let a = if Int64.(compare exp (of_int 0)) < 0 then
    (* Exponent < 0, shift right *)
    Big_int.(shift_right_big_int a (- (Int64.to_int exp)))
  else
    (* Exponent >= 0, shift left *)
    Big_int.(shift_left_big_int a (Int64.to_int exp))
  in

  (* Negate the number if sign bit is set (double is negative) *)
  if Int64.shift_right_logical bits 63 = Int64.of_int 1 && a <> Big_int.zero_big_int then
    Big_int.minus_big_int a
  else
    a

I think this function could be in OCaml Big_int module.

this is a commented version of mp_set_double transcribed and commented by @nomeata and further refined with explanations by @osa1

Both of these were done by me, not Joachim.

Riiiiiight! I shouldn't do commits when on vacation 😞 . Another fix in the works!!!!

comment added in 73ec00225fed7eb18d277af9e64ea9c8cbad6552,
we can clean this up in the course of #2739.
On 8/23/21, Ömer Sinan Ağacan @.***> wrote:

@osa1 commented on this pull request.

@@ -45,6 +46,7 @@ TOMMATH_FLAGS =
-DMP_MEMSET=0
-DMP_FIXED_CUTOFFS
-DMP_NO_FILE \

-D__STDC_IEC_559__ \

Would be good to add a comment here saying that tommath's implementation
works fine with IEEE 754. No idea why they called it IEC_559.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/dfinity/motoko/pull/2733#discussion_r693793017

That's great, thanks for checking. I guess the only problem is when
tomMath  cannot allocate, but that would be a trap.
On 8/23/21, Ömer Sinan Ağacan @.***> wrote:

@osa1 commented on this pull request.

@@ -246,6 +246,25 @@ unsafe extern "C" fn bigint_of_int64(j: i64) ->
SkewedPtr {
persist_bigint(i)
}

+#[cfg(feature = "ic")]
+#[no_mangle]
+unsafe extern "C" fn bigint_of_float64(j: f64) -> SkewedPtr {

let mut i = tmp_bigint();
mp_set_double(&mut i, j);

I checked the documentation and the source, I think mp_set_i64 and
mp_set_u64 cannot fail.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/dfinity/motoko/pull/2733#discussion_r693800102


[MM-20794] change suggestion on spellchecker locale change

Summary
when user selects a new locale, spellchecker should update its suggestions to match
Issue link
MM-20794
Test Cases

misspell word
right click on a misspelled word
check suggestions
click on Spelling Languages and select a different one.
right click on the same misspelled word
suggestions should be different

@Willyfrog
Error trying doing the automated Cherry picking. Please do this manually

manually cherry-picked to 4.3.0 branch


[BUG] - Individual import not working properly, type declaration issues.

Describe the bug
Individual Imports
import Text from "@nextui-org/react/text";

const Component = () => <Text h3>Click me</Text>;

giving this error:
Could not find a declaration file for module '@nextui-org/react/text'. <EMAIL_ADDRESS>implicitly has an 'any' type.ts(7016)
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

create new cra
try to use individual Text component with individual imports.

Expected behavior
There should not be any type error.
Screenshots or Videos

Operating System Version
mac os 12
Browser
Chrome

Any progress on this error? I am having it, too


ImportError: Could not import _ext module.

When I trained model as your guideline , this bug happen. I tried to install step.py at pointnet2 folder but it can't install. Please help me to check . thank you
2021-02-05 02:46:53.256615: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
5285 5050
331 316
Traceback (most recent call last):
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_utils.py", line 26, in
import pointnet2._ext as _ext
ModuleNotFoundError: No module named 'pointnet2._ext'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_1bb.py", line 171, in
MODEL = importlib.import_module(FLAGS.model) # import network module
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/models/hdnet_1bb.py", line 23, in
from backbone_module_scale import Pointnet2Backbone
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/models/backbone_module_scale.py", line 19, in
from pointnet2_modules import PointnetSAModuleVotes, PointnetSAModuleVotesWith, PointnetFPModule, PointnetPlaneVotes
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_modules.py", line 21, in
import pointnet2_utils
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_utils.py", line 30, in
"Could not import _ext module.\n"
ImportError: Could not import _ext module.
Please see the setup instructions in the README: https://github.com/erikwijmans/Pointnet2_PyTorch/blob/master/README.rst

When you are trying to install pointnet2, what's the output?
Can you paste it here? (after you run "python setup.py install")

@zaiweizhang  thank you for your reply. this bug show then I run "python setup.py install"
running install
running bdist_egg
running egg_info
writing pointnet2.egg-info/PKG-INFO
writing dependency_links to pointnet2.egg-info/dependency_links.txt
writing top-level names to pointnet2.egg-info/top_level.txt
/usr/local/lib/python3.6/dist-packages/torch/utils/cpp_extension.py:339: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
warnings.warn(msg.format('we could not find ninja.'))
writing manifest file 'pointnet2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'pointnet2._ext' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/lib/python3.6/dist-packages/torch/include -I/usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.6/dist-packages/torch/include/TH -I/usr/local/lib/python3.6/dist-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.6m -c _ext_src/src/ball_query.cpp -o build/temp.linux-x86_64-3.6/_ext_src/src/ball_query.o -O2 -I_ext_src/include -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Parallel.h:149:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)
In file included from _ext_src/src/ball_query.cpp:7:0:
_ext_src/src/ball_query.cpp: In function ‘at::Tensor ball_query(at::Tensor, at::Tensor, float, int)’:
_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^
_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^~~~~~~~
_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^
_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^~~~~~~~
_ext_src/include/utils.h:17:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^
_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^~~~~~~~
_ext_src/include/utils.h:17:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^
_ext_src/include/utils.h:17:5: note: in definition of macro ‘CHECK_CONTIGUOUS’
AT_CHECK(x.is_contiguous(), #x " must be a contiguous tensor");
^~~~~~~~
_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^
_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^~~~~~~~
_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^
_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^~~~~~~~
_ext_src/include/utils.h:28:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^
_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^~~~~~~~
_ext_src/include/utils.h:28:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^
_ext_src/include/utils.h:28:5: note: in definition of macro ‘CHECK_IS_FLOAT’
AT_CHECK(x.scalar_type() == at::ScalarType::Float,
^~~~~~~~
_ext_src/src/ball_query.cpp:20:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
if (new_xyz.type().is_cuda()) {
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from _ext_src/src/ball_query.cpp:7:0:
_ext_src/include/utils.h:12:21: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor");
^
_ext_src/src/ball_query.cpp:21:5: note: in expansion of macro ‘CHECK_CUDA’
CHECK_CUDA(xyz);
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from _ext_src/src/ball_query.cpp:7:0:
_ext_src/include/utils.h:12:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor");
^
_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor");
^~~~~~~~
_ext_src/include/utils.h:12:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor");
^
_ext_src/include/utils.h:12:5: note: in definition of macro ‘CHECK_CUDA’
AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor");
^~~~~~~~
_ext_src/src/ball_query.cpp:28:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations]
if (new_xyz.type().is_cuda()) {
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
_ext_src/src/ball_query.cpp:30:74: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
radius, nsample, new_xyz.data(),
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^~~~
_ext_src/src/ball_query.cpp:31:53: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
xyz.data(), idx.data());
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^~~~
_ext_src/src/ball_query.cpp:31:70: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
xyz.data(), idx.data());
^
In file included from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Tensor.h:3:0,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/Context.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/ATen/ATen.h:9,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /usr/local/lib/python3.6/dist-packages/torch/include/torch/extension.h:4,
from _ext_src/include/ball_query.h:7,
from _ext_src/src/ball_query.cpp:6:
/usr/local/lib/python3.6/dist-packages/torch/include/ATen/core/TensorBody.h:363:7: note: declared here
T * data() const {
^~~~
_ext_src/src/ball_query.cpp:33:5: error: ‘AT_CHECK’ was not declared in this scope
AT_CHECK(false, "CPU not supported");
^~~~~~~~
_ext_src/src/ball_query.cpp:33:5: note: suggested alternative: ‘DCHECK’
AT_CHECK(false, "CPU not supported");
^~~~~~~~
DCHECK
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

I think this is your issue: https://github.com/facebookresearch/votenet/issues/83
Please try these changes: https://github.com/erikwijmans/Pointnet2_PyTorch/commit/1d5dca2673ee2831b9b01efe597b2ba8d12726f1

thank you @zaiweizhang . I will try to downgrade to Torch.1.4

@zaiweizhang : I downgraded to Torch1.4 this issue was solved but new bug happens:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train_1bb.py", line 40, in
from tf_visualizer import Visualizer as TfVisualizer
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/utils/tf_visualizer.py", line 12, in
import tf_logger
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/utils/tf_logger.py", line 6, in
import tensorflow as tf
File "/usr/local/lib/python3.6/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.

I think the CUDA version has changed. Do you have CUDA 9.0? Have you set the path correctly?

Why don't you try to change the pointnet codes following this:
https://github.com/erikwijmans/Pointnet2_PyTorch/commit/1d5dca2673ee2831b9b01efe597b2ba8d12726f1
Then you do not need to downgrade pytorch.

I do not have CUDA 9.0, now I am using CUDA 10.0. This bug I meet when run your code on Google colab

@zaiweizhang
I tried to update pointnet2 folder as erikwijmans/Pointnet2_PyTorch@ but it seem not working, same bug happen  (I use goolge colab with default : Touch=1.7.0 and cuda101
2021-02-05 07:25:50.865804: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
5285 5050
331 316
Traceback (most recent call last):
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_utils.py", line 26, in
import pointnet2._ext as _ext
ImportError: dynamic module does not define module export function (PyInit__ext)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 167, in
MODEL = importlib.import_module(FLAGS.model) # import network module
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/models/hdnet.py", line 23, in
from backbone_module import Pointnet2Backbone
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/models/backbone_module.py", line 19, in
from pointnet2_modules import PointnetSAModuleVotes, PointnetSAModuleVotesWith, PointnetFPModule, PointnetPlaneVotes
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_modules.py", line 21, in
import pointnet2_utils
File "/content/drive/My Drive/Computer_Vision/H3DNet/H3DNet/pointnet2/pointnet2_utils.py", line 30, in
"Could not import _ext module.\n"
ImportError: Could not import _ext module.
Please see the setup instructions in the README: https://github.com/erikwijmans/Pointnet2_PyTorch/blob/master/README.rst

The changes are made for pytorch 1.4, 1.5 version.
You can downgrade your pytorch 1.7 to 1.5 and keep the same CUDA version.

Closing. Feel free to open if you have other questions.

I tried to downgrade pytorch to 1.5.1 and the same error still appeared

Are you using the same CUDA version?

The code is tested with Ubuntu 18.04, Pytorch v1.1, TensorFlow v1.14, CUDA 10.0 and cuDNN v7.4.


Add hot-loader react-dom support in dev

Purpose
Add support for the react-hot-loader upgrade
Approach
Add an alias resolution for the react-🔥-dom in dev to the webpack config.
See: https://github.com/gaearon/react-hot-loader#react--dom

Might pay to look at why CI is failing?


Fix Jab.Roslyn3.11 assembly name

The assembly name under analyzers/dotnet/roslyn3.11 is Jab.Roslyn3.dll which I believe is wrong and hence the assembly won't be picked up.

Hm, I think it is picked up, otherwise I'd expect 5.0.x test to fail.

Hm, I think it is picked up, otherwise I'd expect 5.0.x test to fail. Afaik the part of the SDK that loads analyzers doesn't care about the assembly name, only the path.

You are right. It's is correctly picked up. In dotnet/runtime we use the same assembly name for the roslyn3.x and roslyn4.x asset. Unsure if we want that here or not. Feel free to close the PR if you want to keep the Jab.Roslyn3 assembly name.

I think I'll leave it as is. There is some logic in .targets that's based on the .dll name and I'm too lazy to fix it without a good reason :)


The API for MultiStepTearsheetStep and CreateFullPageStep is different (description)

In a Tearsheet step description is a node and onPrevious is a function.
In CreateFullPageStep description is a string and onPrevious does not exist.
What package(s) are you using?

[x] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.

I was recently asked to switch a prototype from multi step tearsheet create pattern to a full page create pattern. On doing so I found that the API for the two is subtly different despite having very similar purposes and patterns.
In particular description as a string in a step is a blocker.
### Tasks
- [ ] Change prop type of `CreateFullPageStep` `description` prop from `string` to `node`

description can be easily updated to node, however onPrevious was an enhancement that was added to CreateTearsheetStep. Can you open a separate issue for that part of it?

Added #4787 as per request @matthewgallo


Dial Plan issue

[Enter feedback here]
(Optional) Configure a dial plan
Hi Team,
According to my test dial plan only works for users who have enabled with Phone System license. If Administrator assigns dial plan without Phone System client will  not get any dial plan rules during sign in.
Can you check it?

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

ID: 0d4b1670-ab39-621e-025e-17d7d747cc09
Version Independent ID: dcdd8284-ad29-4e46-4731-63fbbce08fb0
Content: On-network Conferencing for Audio Conferencing - Microsoft Teams
Content Source: Teams/audio-conferencing-on-network.md
Service: msteams
GitHub Login: @MicrosoftHeidi
Microsoft Alias: heidip

Hi @dmcher, thank you for your feedback.
I have verified and I could assign a dial plan to a user without the Teams Phone Standard license.


SolidJS factory function still not working

Description
I wasn't sure if I should have replied to the previously closed issue or create a new one. Regardless, it seems that the ark factory function for SolidJS is still not correctly being exported.
Proposed Solution or API
export * from './factory' in index.ts
Additional Information
No response

Good catch. Resolved with 3e6a0ba


Reactions

So I spent a bit of time some while ago working on adding reactions. This is all in the with-reactions branch of the repo. Keep in mind this is a much older branch and there have been a lot of changes since than on master, but I feel we can port our logic from there when we're ready.
This is what I had working:

You'll notice Slack inspiration there :P
An important thing to point out is that the Reactions APIs are still in development preview. Definitely worth discussing if we wouldn't mind including it now and changing it in the future or if that's not the safest option just yet.
Looking forward to having this rolled out eventually. Discussions/contributions are always welcome :)

Since we are moving to GraphQL, this is worth taking a look at https://developer.github.com/v4/reference/mutation/addreaction/

Also, getting the reactions seems also somewhat intuitive with GraphQL. Altho the end result seems a bit messy, but I am sure we can work with it!

That looks really nice @housseindjirdeh!

Thanks @RolfKoenders :)
Nice thank you @SammyIsra - with REST things were quite messy and I really think this can be something we can integrate after we have GraphQL integrated.

That being said - looking at the documentation for API v4 I don't see a mention of reactions being in preview mode like it is in the REST docs. @SammyIsra do you know if we need a preview URL or something of that sort to access reactions with GraphQL?

@housseindjirdeh No developer preview header is needed for reactions in API v4, it's all implemented and standard 👍

OMG OMG OMG
Time to make the move to GraphQL :)

If it's okay with everyone - I'll like to take this on and tackle it over Christmas break and start my first stab at using GraphQL :)

👏


hie-bios

Hail hydra!

Hydra doesn't build literally everything. I have it set up to build all the things in dev.packages (you can poke around in release.nix if you're interested), so you probably want to stick hie in there.

Yeah, just found out about the dev.packages part looking at hydra build output, so I put it in there and force-pushed.

Indeed, the CI is because you're not fetching the github repo as a fixed-ouptut derivation (which Hydra enforces). Use niv, it should just work!

I'm surprised you're not getting errors from builkite here... but if you look at the jobset on hydra you can see that it's got evaluation errors. My guess is that all-hies does some more pinning of nixpkgs, and indeed I see https://github.com/reactormonk/all-hies/blob/master/default.nix#L36.
That said, that does have a sha256, so I would have thought that should be a fixed-output derivation and so fine on Hydra...

Ah yes, builtins.fetchTarball is an odd beast, and for no obvious reason is disallowed in restricted mode.
However, I believe the nixpkgs version actually will work because it's implemented differently. Since you have a fork already, try changing the offending fetchTarball call to use a different fetcher. Probably pkgs.fetchFromGitHub would do nicely!

I think this might still be worth having: it works for me on all the projects that don't use the plugin, which is a lot of them.

:sob:
builder for '/nix/store/4n2vzhmcqx9h46kjnfl1hxk8bkfg3jd1-HaRe-<IP_ADDRESS>.drv' failed with exit code 1; last 10 log lines:
    die', called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:950:20 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
    configureFinalizedPackage, called at libraries/Cabal/Cabal/Distribution/Simple/Configure.hs:460:12 in Cabal-<IP_ADDRESS>:Distribution.Simple.Configure
    configure, called at libraries/Cabal/Cabal/Distribution/Simple.hs:596:20 in Cabal-<IP_ADDRESS>:Distribution.Simple
    confHook, called at libraries/Cabal/Cabal/Distribution/Simple/UserHooks.hs:67:5 in Cabal-<IP_ADDRESS>:Distribution.Simple.UserHooks
    configureAction, called at libraries/Cabal/Cabal/Distribution/Simple.hs:178:19 in Cabal-<IP_ADDRESS>:Distribution.Simple
    defaultMainHelper, called at libraries/Cabal/Cabal/Distribution/Simple.hs:115:27 in Cabal-<IP_ADDRESS>:Distribution.Simple
    defaultMain, called at Setup.hs:2:8 in main:Main
  Setup: Encountered missing dependencies:
  ghc-exactprint >=0.6.1
cannot build derivation '/nix/store/czan0yc793p4mh07ynm1d0gfh15d6m59-haskell-ide-engine-ghc864-41b9cabcff.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ripyrjzv5mxq4vfwkmr2bz90w5jpi6mn-haskell-ide-engine-combined.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/akp1m1lds2lcn0a65xlfk4szd750k7r4-ghc-shell-for-packages.drv': 1 dependencies couldn't be built

You updated the version of hie, right? I'm not totally sure what all-hies is doing, but if it's getting the Haskell dependencies from nixpkgs, you may need to update the version of nixpkgs that it's using to get a newer ghc-exactprint. Alternatively, you might be able to jailbreak HaRE.

Had to much things a bit. Works fine now.


add option for location of scratch images to the scratchify function

Now static/blocks-media must be present in the root.

See the README.
possible in v0.3.0


chore: Minor tweaks

Follow up of #476

Couple of minor tweaks that caught my eye.

Hey @jamesgeorge007,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: d034d040-3433-11ea-b5a3-65565334105f


Decouple GraphicsTerminal from SSD1306

Resolves #944

Coverage increased (+0.005%) to 79.48% when pulling 9bdbd337a204b9fba227d2bb2a5d065bdf9414a3 on decouple-graphics into 14c8eb0511bd86db2c8967a7824f7af93e714ed0 on master.


Use embedded zookeeper for integration test.

Your question
In travis-ci, we install zookeeper before run integration test. And in dev mode, we must run local zookeeper server before run mvn test -Pit-test.
Your advice
Use embedded zookeeper instead of it.
for example:
<dependency>
  <groupId>org.apache.curator</groupId>
  <artifactId>curator-test</artifactId>
</dependency>

这个我来改吧


Responsive plot display

Responsively show footprint and time-series plot side by side or stacked vertically depending on screen resolution.

This should be implemented to stack the boxes based on screen orientation / for mobile devices.

Done with #34


[$250] Invoicing verify that the user has the feature enabled on the page

Part of the Invoicing payments project
Main issue: https://github.com/Expensify/Expensify/issues/382977
Project: https://github.com/orgs/Expensify/projects/114/views/3
Feature Description
To wrap WorkspacePageWithSections with AccessOrNotFoundWrapper to avoid giving access of the Invoice page to the user where areInvoicesEnabled is false.
Manual Test Steps
Automated Tests
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021839691254986841972
Upwork Job ID:<PHONE_NUMBER>986841972
Last Price Increase: 2024-09-27

Issue OwnerCurrent Issue Owner: @rezkiy37

Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue.

Not sure whether I need to review this PR or not as it has been noticed here while reviewing other PR.

Proposal
Please re-state the problem that we are trying to solve in this issue.
To wrap WorkspacePageWithSections with AccessOrNotFoundWrapper to avoid giving access of the Invoice page to the user where areInvoicesEnabled is false.
What is the root cause of that problem?

On WorkspaceInvoicesPage - WorkspacePageWithSections is not wrapped with AccessOrNotFoundWrapper.

What changes do you think we should make in order to solve the problem?

On WorkspaceInvoicesPage - wrap WorkspacePageWithSections with AccessOrNotFoundWrapper.

        <AccessOrNotFoundWrapper
            accessVariants={[CONST.POLICY.ACCESS_VARIANTS.ADMIN, CONST.POLICY.ACCESS_VARIANTS.PAID]}
            policyID={route.params.policyID}
            featureName={CONST.POLICY.MORE_FEATURES.ARE_INVOICES_ENABLED}
        >
            <WorkspacePageWithSections
                ...
            </WorkspacePageWithSections>
        </AccessOrNotFoundWrapper>

What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@ChavdaSachin, I've already started to work on the issue - https://github.com/Expensify/App/issues/49842#issuecomment-2379204621.

Payment Summary:

@rezkiy37 does not require payment (Contractor)
@rayane-djouah paid $250 here (Reviewer)


Pathfinder Backend and Other Changes

Warning: This is a non-backwards compatable change
ChangeList:

changed util/messages.hpp quite a lot
backend of autolib's PathGenerator from a custom to pathfinder
Note: path generator can currently only generate hermite splines
Updated PathGenerators constructor and generatePath method to take okapi::Point 's in a initializer_list
PurePursuit 's constructor now takes const std::vector<IndexedDistancePosePath> &ipaths
PurePursuit 's internal functionality is now done with Poses rather than Points
PurePursuit 's run now returns PurePursuitTriangle

All of the changes that were requested are now fixed. I am now closing this.


NSWindow drag regions should only be invalidated on the Main Thread

Hi, I installed this package according to the instructions in the readme, but when I ran python examples/example_gui_execution.py I got the following error immediately, before any windows were visible. Is this just a matter of using Mac OS instead of Linux?
2023-08-16 17:00:00.267 python[15187:1027655] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff80fc2f7b3 __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff80f98fbc3 objc_exception_throw + 48
	2   CoreFoundation                      0x00007ff80fc58066 -[NSException raise] + 9
	3   AppKit                              0x00007ff8126192f4 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
	4   AppKit                              0x00007ff8126052a4 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1288
	5   AppKit                              0x00007ff812604d96 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
	6   AppKit                              0x00007ff8128e5ee7 -[NSWindow initWithContentRect:styleMask:backing:defer:screen:] + 50
	7   libqcocoa.dylib                     0x0000000111682717 qt_plugin_instance + 137078
)
libc++abi: terminating with uncaught exception of type NSException
zsh: abort      python examples/example_gui_execution.py

I see now there is a comment saying this does not work in mac os in the example script.


feat: Add API usage billing

Thanks for submitting a PR! Please check the boxes below:

[x] I have run pre-commit to check linting
[x] I have added information to docs/ if required so people know about the feature!
[x] I have filled in the "Changes" section below?
[x] I have filled in the "How did you test this code" section below?
[x] I have used a Conventional Commit title for this Pull Request

Changes
Pretty complicated PR. This introduces charges for API usage overages for monthly billed customers. Once a customer is billed for overages, a record is created and stops them from being billed twice in the same month. Only monthly billed customers are permitted to be billed, as the yearly paying customers need to be handled by sales. In order to ensure that customers are notified before they're billed, there is a pre-step that checks to see if the API usage notification has been sent out before including the customer in the billing step.
How did you test this code?
Manually tested against ChargeBee's backend and verified the results and also added four or five tests to ensure the workflow is proceeding according to plan.

Codecov Report
Attention: Patch coverage is 92.85714% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 95.87%. Comparing base (cd1f79c) to head (c312fc6).
Report is 2 commits behind head on main.

Files
Patch %
Lines

api/organisations/chargebee/chargebee.py
50.00%
9 Missing :warning:

api/organisations/tasks.py
89.28%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3729      +/-   ##
==========================================
- Coverage   95.89%   95.87%   -0.02%
==========================================
  Files        1102     1103       +1
  Lines       34707    34853     +146
==========================================
+ Hits        33282    33416     +134
- Misses       1425     1437      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

If the merge conflicts wasn't enough now I'm hitting the codecov :(
Will update the tests for this when I can.

Ok the code coverage is now at 100%. @matthewelwell did you want to take a look at the introduced tests before merging or are we good to go?


woodpecker: 2.4.1 -> 2.5.0

Description of changes
Manually updated version string and hash for woodpecker from 2.4.1 to 2.5.0 using nix hash to-sri --type sha256 $(nix-prefetch-url --unpack https://github.com/woodpecker-ci/woodpecker/releases/download/v2.5.0/woodpecker-src.tar.gz).
Changelog: https://github.com/woodpecker-ci/woodpecker/releases/tag/v2.5.0
#317210

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build woodpecker-server woodpecker-agent woodpecker-cli

FYI @vrifox you can also update this with nix-update woodpecker-server -u

I have chosen the most convenient option for myself. However, I intend to attempt it that way in the future. Thank you! :)

Thanks for your contribution!


RES file structure description

So I wrote a file called "噬神者PC版本文件结构1.7.txt",I have described all the data structures in it, but because it is in Chinese, I think foreigners cannot understand it. Now I will explain the idea of RES.
1.What exactly does RES store?
When we first developed PC, most of the PC resources were stored in PRES (same as RES in PSP and PS4), but some were also scattered in qpck, which made us only treat pres as a series of data packets.
But recently @qingyu510 has been exposed to more content on game consoles, and after communicating with me, I came to a conclusion: RES is actually a boot.
So what kind of boot is this? Since I don’t even have time to play God Eater when I assist @qingyu510, I think I can describe it briefly: your character and NPCs gather in the lobby, and your model and other people’s model data are also used in the battlefield, so everyone may have different voices and actions. If we want to keep the model and load the voice, we need to find the data in res instead of rereading all the content.
res usually has eight partitions, namely res, prx, asset, unk (I don't know), conf, tbl, text, rtbl. You can regard each partition as a file partition, which can usually be decompressed into the format of windows file manager from the asset partition. Some of them are compressed by blz, and some are uncompressed. Some files are virtual (symbol B, similar to some files in RDP). These files will be extracted from duplicate memory when the game is running, and some will be stored in the package (F, stored in res).
In PC, because there are multiple languages, there are language partitions before these partitions, usually 6 (EN, FR, IT, DE, ES, RU). The language of PSP and PS4 depends on the image. Therefore, the pres of PC will have a maximum of 6 times 8 = 48 partitions.
The header of res has 16 bytes 0x0-0xF, and the last four are checksums. We bypassed the checksum mechanism, so we can modify the res file freely. This part may be integrated in eboot.bin, depending on our work.
Therefore, the PC version of PRES data packet is damaged. Since the program has lost the ability to verify the file, the data packet itself is treated as a simple data packet by us.
2. How does the boot work?
The game cutscenes are divided into countless parts. When we first reversed, we saw many repeated references, so res became a state like this at the beginning:
system.res->a.res->b.res->system.res->c.res->d.res...
So our program fell into an endless loop (GERDP) and the entire project was scrapped.
So I rewrote it once, recording the characteristics of each package to decompress the separate files, but we still found that the package would repeatedly reference the file and have duplicate names, and the second time still failed (GERDP_RE).
So we temporarily gave up the work on PSP and PS4. In the recent discovery, when we used res as a boot, we understood these things.
If I need the asset of A.res, then I only need to access the third partition of A.res, which does not require directly loading the entire A.res to be clear.
Then when the game only needs to access the cutscene, it may not need the combat data of a certain monster, but only the model and action, so a series of content can be loaded directly through the res boot.
This is more efficient in DLC. If the DLC must overwrite the content of the original program, then the DLC is the new boot, which only needs to record the modified content boot, and the pre-modification can point to system.res or other known res.
This is our current inference, although it may not be accurate, but I think it can explain our work.

Regarding our modification of eboot.bin, I was not directly involved, so I will see whether others will release it in the future. I only provided a series of methods to make this happen.

What can be said about RDP? This is a file image bound by a special LBA. All resource files and res files can be found by system.res and res associated with system.res.
Since the data verification mechanism is bypassed, new files can be loaded no matter where they are placed.
We currently think that the scattered resource files in rdp are equivalent to the scattered resource files in qpck.

Overall system.res is like a Hierarchy of everything, which is kind of is haha. But yeah, this is information should be good for now.

(all images are samples only and will can change on different .res files)
Requested: @DarkGD123
Topic: About .res file's content structure (since he couldn't understand a bit of it so i try my best to give my knowledge on this explanation)

Image of .res sample structure

There are some and few important bytes above. but we should get the important details soon by @HaoJun0823 himself

Tables
-- Pinpointing Location

First 4 bytes are Little Endian, represents as File Content offset, you can see their Big Endian versions by checking HxD's Data Inspector and checking the UINT32 area. (and i suggest checking the Hexadecimal Basis box)

the C0 kind of represents where the file is currently positioned/located at. so it's a Current file located within that .res archive that you're interacting.
Second 4 bytes represents the file size, this could also represent as a compressed size for blz2.
Third 4 bytes directs you on a file's name. This is based on first 4 bytes. so assume that the first 4 bytes represent as the file's content then the third 4 bytes represent as that content's file name.
Last 4 bytes makes me confuse but i'm pretty sure it mostly represents if the file has that filename+extension or not but double checking is needed.
zeroes. a padding which is length is 12 (0xC).
next to the padding is decompressed size. the game expects this compressed size to be it's actual size when decompressed. but some non-compressed files uses the same values as compressed size .

Notes: Sometimes, the C0 can change to 40 (package), or 50 (data), or 60 (patch), these values represents as a identifications like to where the files are stored at within the RDP files... If you search for the File Content offset (exclude C0). you'll end up in a important chunk of the file like this sample image for example

But if its 40, or 50, or 60 then you will need to multiply the Little Endian offset by 800 (exclude that value 40 for example) to pinpoint the actual chunk of that file we are searching. to be honest, they're like a identification on where that file is located.
Name
-- related to Number 4

first 4 bytes is the file name offset. where the file name starts.
second 4 bytes is the file itype. its pretty much the file extension.
third 4 bytes is padding. i don't know what the game does with this.

Keep in mind. If there's no file type and padding, the game will rely only on the first 4 bytes until it cuts off on the padding to get the actual file name
if there's any incorrect things i have said, you can always correct them

It's very common for the .res archives having same names. usually some have different size of contents or just the same i guess. probably for some other purposes?

im not sure about the sectors and other stuff within some .res archive. i call this a "File Sets". which kinda defines on total of tables within that area. but hey, i guess it kinda makes sense. also the script is more of a testing type. but i wont really release a clean state of it since its bad

thanks for the mention, probably will do something for it in another time

seems to be that RTBL files have scattered ToC around


OMAP extension for cell types and biomarker sets

DO Processor side of: https://github.com/hubmapconsortium/ccf-asct-reporter/issues/821

**Feature needed: capturing specific cell types with their biomarker sets in an OMAP

Organ mapping antibody panels have antibodies that recognize protein targets.
A subset of these protein targets when they light up a cell in an image, tell you what kind of cell it is.
** OMAP Extension proposed:**
Add cell type space parenthesis CL ID parenthesis. Example: Epithelial cell (CL:0000066)
Complexity of nomenclature:*
Needs to be able to recognize longer cell type names with many spaces between words and sometimes hyphens and commas Example: CD4-positive, alpha-beta cytotoxic T cell (CL:0000934)
For the individual rows of targets, each column representing a cell type would have one of 3 choices: POS for positive, NEG for negative, NA for not applicable for determining the cell type listed in the column header. The reason for these choices is because some cells, especially immune cells, the marker presence or absence can be critical for determining the cell type. We use letters rather than symbols so we do not have problems with spreadsheet programs interpreting + or - as math symbols.

CC @emquardokus

@emquardokus how can we move this issue forward in 2025?

@emquardokus how can we move this issue forward in 2025?

@bherr2 ive been working with all the OMAP authors and have 2 preliminary ones filled. In that exercise we explored potentially better or automated ways to get the information from microscopy data directly. These discussions are on-going and we as a microscopy community are trying to work out best method to get there.
In the mean time we do have 2 we could work with.
Some additional issues came up in discussion for this so ARWG (affinity reagents working group) is working these issues through.
I believe we could deliver this for June 2025.


Added name parameter for output file

I have added an name parameter to be able to specify an name for the output fil.

Thank you for the PR!
Rather than introduce another argument I'd prefer if the output arg was smarter.

No output arg provided: save to ./template.FORMAT (current behavior)

Output arg is provided with value '/dir' and dir exists: save to /dir/template.FORMAT (current behavior)

Output arg is a provided with value 'en.json' (and en.json is not a die): save to ./en.json

Output arg is provided with value '/dir/file.txt': Save to /dir/file.txt

What do you think?

Added in this commit: https://github.com/biesbjerg/ng2-translate-extract/commit/031890c2a48362ac34c38b0750ee41a94ada3d8d

That sounds like a great alternative. Thank you for the fast feed back and a great project!


Packager is a bit quiet when hitting an unrecognised image

There's a line here where it logs at debug
https://github.com/facebook/react-native/blob/master/packager/react-packager/src/DependencyResolver/haste/DependencyGraph/index.js#L154
But apart from that it's a tricky to figure out what's going on

I would love to make it more strict. We had some issues internally that stopped us from doing that. Anyways, that's on top of my list.

Protip: use the commit sha in your links so that when master changes we can still see the exact code you're referring to :smile:

Whoops! I normally do that - "y" to toggle hash in URL

@glenjamin - I did not know that shortcut, awesome!

nice shortcut!

let's merge this with #1098


Feature/757 list cloud provider

#757

Add a new page to display cloud providers
Access this page from Settings-General-Cloud Provider

According to the feedback, the EntityList has been reused and style stuff has been moved back to the component.
And changed some wording.

Add a default icon

@PenghaiZhang The heading should be Cloud providers - capital C for cloud, lower case p for providers


Create PacketTracer.yml

Recipe for PacketTracer
Packet Tracer is a cross-platform visual simulation tool designed by Cisco Systems that allows users to create network topologies and imitate modern computer networks. The software allows users to simulate the configuration of Cisco routers and switches using a simulated command line interface. Packet Tracer makes use of a drag and drop user interface, allowing users to add and remove simulated network devices as they see fit.

Thank you very much!


Impossible to build archive xcode

Description
For some time now, I can not produce any archive I have encountered this eureur: File /Users/cynomedia/Library/Developer/Xcode/DerivedData/JDC-eeyocjvmxpowxzefeuzauukdrpgo/Build/Intermediates.noindex/ArchiveIntermuates/ProductsBathiveBathiveBath -iphoneos / jdc.app / main.jsbundle does not exist. This must be a bug with ', all my research to resolve this error has been unsuccessful. if anyone has ever had this problem help me
My conf
System:
OS: macOS 11.2.1
CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
Memory: 175.37 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.18.4 - /opt/local/bin/node
Yarn: 1.22.5 - /opt/local/bin/yarn
npm: 6.14.10 - /usr/local/bin/npm
Watchman: 4.9.0 - /opt/local/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.87<IP_ADDRESS>42882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 14.0.2 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4

Solved after performing nodejs update

@FindelFof what did you upgrade it to?I have a similar nodejs version as you, so would love to know what ended up working for you.
I recently upgraded to npm7 and was wondering if it was related to that, but I noticed that you hadn't done that yet, so probably not that, but instead node.

Turns out for me it was npm7, I guess because of how it is now very strict with dependencies.

Turns out for me it was npm7, I guess because of how it is now very strict with dependencies. Going to wait a bit before upgrading

I switched to node 14.15 and npm install and it worked


Start charging button

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Hi, the old core integration included a button to start charging (if the car was plugged in). Does your integration provide this button as well? Can not find it, do I have to do something to enable this function? Thanks!
Describe the solution you'd like
Provide a start charging entity as button.
Describe alternatives you've considered
--
Additional context

@jchristianj: currently not implemented. Subject to change in future..

@jchristianj I have implemented the start charging button logic, nur currently released. Could you please test the testing branch if it works for you? (https://github.com/remuslazar/homeassistant-carwings/archive/refs/heads/testing.zip)

Thanks a lot for your efforts, especially the latest fix for the climate control switch. It is working great now!
I am sorry, I do not know how to test the above branch... I installed your integration by adding the GitHub link as HACS repo, then downloaded it and added the integration. I am not sure how to handle a zip file?

@jchristianj the current release already contains this change. You could just update via HACS easily.


match feed

Feature allowing users to find latest:

[x] Pro matches
[ ] matches by MMR range

@howardchung Also would be a cool thing if user can follow others players

First is implemented with /proMatches endpoint
Second will be merged with #1264 as some kind of public data explorer feature, where the user can either get matches, or heroes grouped by win rate for some given criteria.


remove the copy link of youtube[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Technical Details:

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Could you please elaborate.

https://user-images.githubusercontent.com/56814173/144704383-76e4dfdd-8c4b-4e63-a5ff-ba9108f29c26.jpeg
This issue come when press and hold we can copy link, we want to stop
seeing users the link