Update MobileNetV2 mako compilation flags for cpu

The current flag iree-flow-dispatch-formation-enable-operand-fusion fails compilation.

so doesnt this flag always create a copy of the tile to stack memory even if the tile size divides the problem size?

Correct! But non of the matmuls (1x1 conv) in this model actually divides :).

so doesnt this flag always create a copy of the tile to stack memory even if the tile size divides the problem size?

Correct! But non of the matmuls (1x1 conv) in this model actually divides :).

Sure. We probably need to promote only when it doesnt divide? I am  fine with accepting this flag, but again I am going to raise the issue of having a soup of flags that give you performance. If we promote only when things dont divide, we can just drop the flag.

so doesnt this flag always create a copy of the tile to stack memory even if the tile size divides the problem size?

Correct! But non of the matmuls (1x1 conv) in this model actually divides :).

Sure. We probably need to promote only when it doesnt divide? I am fine with accepting this flag, but again I am going to raise the issue of having a soup of flags that give you performance. If we promote only when things dont divide, we can just drop the flag.

Unfortunately we will have to live in the soap of flags land till we finish the missing pieces of the codgen infra. In the particular example above we don’t want to do promotion at all and just pad workgroup. tensors which will requires moving tiling and vectorization before bufferization.
I have a PR to support PadTensor in bufferization (will send tomorrow) and a pass that does padding to linalg ops  so a workgroup will be always an integer multiple of the target vector size.

so doesnt this flag always create a copy of the tile to stack memory even if the tile size divides the problem size?

Correct! But non of the matmuls (1x1 conv) in this model actually divides :).

Sure. We probably need to promote only when it doesnt divide? I am fine with accepting this flag, but again I am going to raise the issue of having a soup of flags that give you performance. If we promote only when things dont divide, we can just drop the flag.

Unfortunately we will have to live in the soap of flags land till we finish the missing pieces of the codgen infra.

Absolutely. Thats exactly what I am pushing for. Totally fine with having a flag for WIP kind of things, but the goal should be to drop these flags by making them default.


Remove (or make optional) the JTAG IDCODE command

Similar to what was done here: https://github.com/chipsalliance/caliptra-rtl/pull/298, we request that the VeeR core implement configurability that allows integrators to remove support for the JTAG IDCODE command. This IP block is expected to be integrated into a larger system with it's own JTAG IDCODE defined, so keeping a block-level IDCODE is not necessary.
See also the discussion here: https://github.com/chipsalliance/caliptra-rtl/issues/289

the jtag_id input can be tied to any value, including 0,  not sure why the change is needed. ..

The discussion in 289 elaborates on why we decided to remove the command entirely.

a) I don't see enough justification of this change in the discussion. There is no many gates will be saved
b) SOC with multiple different RISCV cores may need a way for identification them separately  by the debugging tools like OpenOCD to take appropriate actions.
c) what will be reaction of the tools like OpenOCD if it can't read JTAGID?
d) Veer needs different JTAGID setting as it's not WDC part anymore

From IEEE Std 1149.1™-2013 (section 12.1.1), IDCODE bit 0 is required to be 1, so using a 0 value would not be a legal solution.
The impetus is not about saving gates, but about removing erroneous manufacturer information. Leaving the IDCODE instruction as optional will allow integrators to identify the RV core in their chips, as necessary. I don't see a ChipsAlliance (or other relevant manufacturer) ID defined in JEP106, so this fix just resolves the ambiguity.

From IEEE Std 1149.1™-2013 (section 12.1.1), IDCODE bit 0 is required to be 1, so using a 0 value would not be a legal solution.
Exactly - this may cause some JTAG tools to malfunction and complain.
Besides RISCV debug spec requires:

6.1.2 JTAG DTM Registers
JTAG TAPs used as a DTM must have an IR of at least 5 bits. When the TAP is reset, IR must
default to 00001, selecting the IDCODE instruction. A full list of JTAG registers along with their
encoding is in Table 6.1. If the IR actually has more than 5 bits, then the encodings in Table 6.1
should be extended with 0's in their most signicant bits. The only regular JTAG registers a
debugger might use are BYPASS and IDCODE, but this specication leaves IR space for many
other standard JTAG instructions. Unimplemented instructions must select the BYPASS register.

I filed https://github.com/riscv/riscv-debug-spec/issues/924 so we'll see what the RISC-V Debug folks have to say about this case.


Client should have voxels

The server should deliver voxels to the client instead of meshes. It makes things like raycasting make more sense.
Then mesh generation will happen on the clients, and they can choose how exactly they want to mesh extract.

WIP https://github.com/bfops/playform/tree/client-voxels

I think the mesh extraction and chunking code will have to be available to the server and the client, since the server has to handle physics.


Winget PowerShell commands failing

Brief description of your issue
attempting to use any winget powershell commands will fail with "Get-WinGetPackage: Failed to create instance: -2147483633"
using Get-WinGetPackage -Verbose -Debug does not produce further information.
using try { get-wingetpackage } catch { $_.exception } captures the following stacktrace:
ErrorCode      : -2147483633
TargetSite     : T Create[T](System.Type, System.Guid ByRef)
Message        : Failed to create instance: -2147483633
Data           : {}
InnerException :
HelpLink       :
Source         : Microsoft.WinGet.Client.Engine
HResult        : -2147483633
StackTrace     :    at Microsoft.WinGet.Client.Engine.Helpers.ComObjectFactory.Create[T](Type type, Guid& iid)
                    at
                 Microsoft.WinGet.Client.Engine.Helpers.ComObjectFactory.CreateCreateCompositePackageCatalogOptions()
                    at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalogReference(Composit
                 eSearchBehavior behavior)
                    at Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.GetPackageCatalog(CompositeSearchBe
                 havior behavior)
                    at
                 Microsoft.WinGet.Client.Engine.Commands.Common.FinderCommand.FindPackages(CompositeSearchBehavior
                 behavior, UInt32 limit)
                    at Microsoft.WinGet.Client.Engine.Commands.Common.FinderExtendedCommand.FindPackages(CompositeSearc
                 hBehavior behavior)
                    at Microsoft.WinGet.Client.Engine.Commands.FinderPackageCommand.Get()
                    at Microsoft.WinGet.Client.Commands.GetPackageCmdlet.ProcessRecord()
                    at System.Management.Automation.CommandProcessor.ProcessRecord()

Steps to reproduce
use a winget powershell command, e.g.
get-wingetpackage | where { $_.Isupdateavailable }
Expected behavior
a list of packages with updates available to be displayed in the shell (in fact the same list of packages that would be displayed using winget upgrade
Actual behavior
error message "Get-WinGetPackage: Failed to create instance: -2147483633" is returned
Environment
Windows Package Manager (Preview) v1.7.2782-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2428
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.2782.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

What version of PowerShell are you using?

I'm using PowerShell 7.3.8, behaviour is also the same on 7.3.7

Ran into a similar issue. Got the same "Failed to create instance: -2147483633" error with v0.2.2 but only when running Find-WingetPackage command in a script that was launched from an Scheduled Task with the Run whether user is logged on or not box checked on a Windows 10 workstation! Very unique! It worked properly in interactive sessions and in Windows 11. Downgrading the module to v0.2.1 didn't change anything, but then downgrading to v0.2.0 fixed the issue.

This looks like a problem with the MSIX-installed version of PowerShell. Running it through the MSI-installed powershell works for me
https://github.com/microsoft/winget-cli/assets/88161975/12b77b8a-f3aa-4ff9-b342-84cf495e6bc1
cc @denelon

Note: If you want the MSI installer of PowerShell, you can get it using winget download Microsoft.PowerShell --installer-type wix

on this (work) computer, PowerShell was installed from the Microsoft Store.
I don't see this problem on my personal computer, where PowerShell was installed with WinGet.
Can anyone clarify why there are issues between how PowerShell is installed?  This seems very strange to me.  Also why does using the -Verbose and -Debug switches not return any further information?

I just uninstalled PS7 MSIX and manually downloaded and installed the MSI package. Still getting the same error.

Seem related to #3826

In PowerToys, we're using https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/1.6.3133.0 as a dependency on a new utility: Command Not Found. Unfortunately the plugin doesn't work on PowerShell when installed from the Microsoft Store or from .msix.

In PowerToys, we're using https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/1.6.3133.0 as a dependency on a new utility: Command Not Found. Unfortunately the plugin doesn't work on PowerShell when installed from the Microsoft Store or from .msix.
Ref: microsoft/PowerToys#30818

Is there a third installation method that IS supported, then? I'm on Win11 and I'm trying to get it to work but I don't know how to update the bundled Powershell to version 7.**, just install the newer version as an MSIX

Damn, MSIX is still a second-class citizen, even today? :(

It seems like the MSIX version now works?

Can anyone confirm this has been fixed in the latest version of Microsoft.WinGet.Client? I believe this issue has been resolved.

Hi @denelon , I can confirm the issue has been fixed for the use case in PowerToys when installing from the Microsoft Store. Thank you!

Works for me too. Thanks!

Should we closed this? Seems like it's fixed.


Formatter factory

Set up a formatting factory for multiple formatters, split each formatter into its own python file and split out common helpers into their own file

I have not fully implemented all of the elements we suggested in our review, but I got cracking on some of them while preserving the ability to run successfully.

I do not have a clear understanding of the synth_data_module imports (i.e. the init.py setup) and ran into some conflicting dependencies.  I got around this by separating out more functions, but it would be better for me to understand this so I could have seen this coming.

I do not have a full understanding over arg passing as a parameter or whether they are somehow globally available via argparser.  Or perhaps we are supposed to run argparser in multiple places.  Not sure, but what I have currently works at least

Thanks Mason!
I did have quite some trouble getting the args to work, I don’t have a full
understanding of how they are unpacked and passed, especially with
subclassing using super.
Doc strings and logging is a great thing for me to work on improving my
understanding and practice
You are ok with the general base classing and stuff, abstract methods, and
synthea csv reads class?
Travis
On Fri, Dec 15, 2023 at 12:51 AM Mason Smith @.***>
wrote:

@.**** commented on this pull request.
In synth_data_module/HCAI_inpatient_format.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427698146
:

@@ -0,0 +1,155 @@
+import datetime as dt
+from synth_data_module import HCAIBase, get_procedure_list, get_diagnosis_list
+import pandas as pd
+import numpy as np
+import synth_data_module.mappings as mappings
+import time
+from io import StringIO

+class HCAIInpatientFormat(HCAIBase):

def init(self, **kwargs):

   super().__init__(**kwargs)

Here (and in HCAI_PDD_format.py), you want to be more explicit about the
args that you want to take. You can still have the caller pass in **kwargs
,
In synth_data_module/HCAI_base_format.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427699884
:

@@ -0,0 +1,189 @@
+from abc import ABC, abstractmethod
+from configparser import ConfigParser
+from synth_data_module import Formatter, SyntheaOutput, modify_row
+import datetime as dt
+import pandas as pd
+import numpy as np
+import synth_data_module.mappings as mappings

+class HCAIBase(Formatter, ABC):

def init(self, **kwargs):

   self.output_df = pd.DataFrame

Similar comment as for HCAI_PDD_format.py. You want something like:
def init(self, facility_id, **kwargs):
self.facility_id = facility_id
....

In synth_data_module/HCAI_inpatient_format.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427701702
:

   payers = self.synthea_output.payers_df()

   payers['payer_id'] = payers.iloc[:, 0]

   payers['Payer Category'] = payers.apply(mappings.payer_category, axis=1).astype(str)

   encounters = encounters.merge(payers[['payer_id', 'Payer Category']], how='left', left_on='payer_id',

                                 right_on='payer_id')

   print('SUB-CHECK - Payers and codes merged.  Encounters Shape: ', encounters.shape)

   # Merge the encounters dataframe into self.output_df, keeping only the fields we care about

   self.output_df = self.output_df.merge(encounters[['encounter_id', 'Admission Date', 'Discharge Date',

                                                     'Principal Diagnosis', 'Total Charges', 'Payer Category',

                                                     'Facility Name']],

                                         how='left', left_on='patient_id', right_on=encounters.iloc[:, 3])

   print('Encounter info added.  Shape: ', self.output_df.shape)

   self.output_df = self.output_df.dropna(subset=['encounter_id']).reset_index(drop=True)

   print('Patients with no encounters of desired type dropped.  Shape: ', self.output_df.shape)

   del encounters

this del encounters statement doesn't do anything.
In synth_data_module/formatting_factory.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427704089
:

@@ -0,0 +1,10 @@
+from synth_data_module import HCAIInpatientFormat, HCAIPDDFormat, Formatter
+from io import StringIO

+# Factory method
+def create_formatter(**kwargs) -> Formatter: #, settings: argparse.Namespace
Similarly here, you want something like:
def create_formatter(format_type, **kwargs) -> Formatter:
if "HCAI_Inpatient" == format_type:
return HCAIInpatientFormat(kwargs["facilityid"], **kwargs)
....

In synth_data_module/formatting_helpers.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427705827
:

return diagnosis_list

+def get_morbidity_list():

morbidity_list = []
for i in range(1, 13):

   morbidity = {'fieldid': f'ecm{i}', 'name': f'External Causes of Morbidity {i}', 'length': 8, 'justification': 'left'}

   morbidity_list.append(morbidity)

   present_on_admission = {'fieldid': f'epoa{i}', 'name': f'POA - External Causes of Morbidity {i}', 'length': 1,

                           'justification': 'left'}

   morbidity_list.append(present_on_admission)

return morbidity_list

+def modify_row(row, df_fields, new_fields):
This probably needs a more descriptive name, like
add_fields_split_by_index or something.
In synth_data_module/formatting_helpers.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427708231
:

   if isinstance(first, tuple) and isinstance(second, tuple):

       for code, date, i in zip(first, second, range(1, 26)):

           if i == 1:

               if new_fields[0] == 'Diagnosis':

                   row[f'Principal {new_fields[0]}'] = code

                   row[f'{new_fields[1]} for Principal {new_fields[0]}'] = date

               else:

                   row[f'Principal {new_fields[0]}'] = code

                   row[f'Principal {new_fields[1]}'] = date

           else:

               row[f'{new_fields[0]} {i}'] = code

               row[f'{new_fields[1]} {i}'] = date

return row

+# HCAI has specific criteria for age reporting
+def calculate_age(x, y, form="agedays"):
Comments at the function or class level should use triple-quote style
comments
https://realpython.com/python-comments-guide/#when-writing-code-for-others
aka docstrings. Most editors understand how to display these when you hover
over a function name, and they show up when you run help(func) in the
interpreter, ipython, or jupyter.
In synth_data_module/formatting_helpers.py
https://github.com/orchid-initiative/synthetic-database-project/pull/85#discussion_r1427710719
:

files2 = glob.glob(output_fhirs)

for f in files2:

   os.remove(f)

files3 = glob.glob(output_metadata)
for f in files3:

   os.remove(f)

+def parse_city(specify_city=None):

city = None
state = None
if specify_city:

   if len(specify_city.split(",")) == 2:

       city = str(specify_city.split(",")[0])

       state = str(specify_city.split(",")[1])

       print("Overriding default location Massachusetts to city, state: %s, %s " % (city, state))

There are a lot of places where you have semi-info, semi-debug statements
like this. They're fine for development, but if you want to leave them in
you probably want to use the logging
https://docs.python.org/3/library/logging.html module more extensively.
This will make it easier to turn these print statements on or off without
going through all of the code.
—
Reply to this email directly, view it on GitHub
https://github.com/orchid-initiative/synthetic-database-project/pull/85#pullrequestreview-1783356404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZL3CWINQDCWZIHVJRCVKQTYJQFRLAVCNFSM6AAAAABAIH3RWCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTOOBTGM2TMNBQGQ
.
You are receiving this because you authored the thread.Message ID:
<orchid-initiative/synthetic-database-project/pull/85/review/1783356404@
github.com>

Lets get this closed to not let it hang


Change the MMIF output using TimePoints and TimeFrames

Because
The MMIF output now is a list of TimeFrames:
{
    "@type": "http://mmif.clams.ai/vocabulary/TimeFrame/v1",
    "properties": {
        "start": 2000,
        "end": 4000,
        "frameType": "chyron",
        "score": 0.996342992782,
        "scores": [0.995216727256, 0.9942985177, 0.996800303459],
        "points": [2000, 3000, 4000],
        "representatives": [4000],
        "id": "tf_1"
   }
}

After some discussion with @keighrim we are now thinking:
{
    "@type": "http://mmif.clams.ai/vocabulary/TimeFrame/v1",
    "properties": {
        "targets": ["tp2", "tp3", "tp4"]
        "frameType": "chyron",
        "score": 0.996342992782,
         "representatives": ["tp4"],
         "id": "tf_1"
   }
}

The targets would be TimePoints with scores for all labels, for example:
{
    "@type": "http://mmif.clams.ai/vocabulary/TimePoint/v1",
    "properties": {
        "id": "tp1",
        "timePoint": 1000,
        "label": "slate",
        "classification": {"slate": 0.71, "chyron": 0.3, "credit": 0.4}
    }
}

See also #41 .
Done when
No response
Additional context
No response

closing as duplicate to #41


First setup: many GPG errors and others 🤔

Hi there,
Installing this for the first time (alpine host with Docker), I get the logs:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 01-s6: applying...
[fix-attrs.d] 01-s6: exited 0.
[fix-attrs.d] 02-zabbix: applying...
[fix-attrs.d] 02-zabbix: exited 0.
[fix-attrs.d] 03-logrotate: applying...
[fix-attrs.d] 03-logrotate: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-permissions: executing...
[cont-init.d] 01-permissions: exited 0.
[cont-init.d] 02-zabbix: executing...
[cont-init.d] 02-zabbix: exited 0.
[cont-init.d] 03-cron: executing...
**** [cron] Enabling Cron
[cont-init.d] 03-cron: exited 0.
[cont-init.d] 04-smtp: executing...
**** [smtp] Sendmail replaced and enabled to route mail to: postfix-relay
[cont-init.d] 04-smtp: exited 0.
[cont-init.d] 05-fail2ban: executing...
** [freepbx] Disabling Fail2ban
[cont-init.d] 05-fail2ban: exited 0.
[cont-init.d] 08-mongodb: executing...
[cont-init.d] 08-mongodb: exited 0.
[cont-init.d] 09-mariadb: executing...
[cont-init.d] 09-mariadb: exited 0.
[cont-init.d] 10-freepbx: executing...
** [freepbx] MariaDB Server 'freepbx-db' is available
** [freepbx] Creating Default Configuration Files
** [freepbx] Setting File Permissions
** [freepbx] New Install Detected - Please wait while we fetch FreePBX - Will take 3 to 30 minutes!
** [freepbx] Starting Asterisk for the first time..
** [freepbx] Installing FreePBX source code
** [cron] Starting cron
** [freepbx] Enabling Default Modules
** [freepbx] Module Install: framework, core
No repos specified, using: [standard] from last GUI settings

Downloading module 'framework'
Processing framework
Downloading...
        0/16176929 [>---------------------------]   0%
  1618046/16176929 [==>-------------------------]  10%
  3235422/16176929 [=====>----------------------]  20%
  4853886/16176929 [========>-------------------]  30%
  6471190/16176929 [===========>----------------]  40%
  8088566/16176929 [==============>-------------]  50%
  9706958/16176929 [================>-----------]  60%
 11324406/16176929 [===================>--------]  70%
 12942326/16176929 [======================>-----]  80%
The following error(s) occured:
 - File Integrity failed for /var/www/html/admin/modules/_cache/framework-<IP_ADDRESS>.tgz.gpg - aborting (GPG Verify File check failed)
No repos specified, using: [standard] from last GUI settings

Downloading module 'cdr'
Processing cdr
Downloading...
 14560246/16176929 [=========================>--]  90%      0/187166 [>---------------------------]   0%
  19247/187166 [==>-------------------------]  10%
  37746/187166 [=====>----------------------]  20%
  57080/187166 [========>-------------------]  30%
  75784/187166 [===========>----------------]  40%
  94350/187166 [==============>-------------]  50%
 112643/187166 [================>-----------]  60%
 131279/187166 [===================>--------]  70%
 150312/187166 [======================>-----]  80%
The following error(s) occured:
 - File Integrity failed for /var/www/html/admin/modules/_cache/cdr-<IP_ADDRESS>.tgz.gpg - aborting (GPG Verify File check failed)
 168738/187166 [=========================>--]  90%cp: cannot stat '/var/www/html/admin/modules/cdr/install.php': No such file or directory
sed: can't read /var/www/html/admin/modules/cdr/install.php: No such file or directory
sed: can't read /var/www/html/admin/modules/cdr/install.php: No such file or directory
** [freepbx] Module Install: cdr
Unable to install module cdr:
 - Cannot find module
Updating Hooks...Done
Chowning directories...Done
cp: cannot stat '/var/www/html/admin/modules/cdr/.install.php': No such file or directory
** [freepbx] Module Install: callrecordings, conferences, dashboard, featurecodeadmin, infoservices, logfiles, msuic, sipsettings, voicemail
No repos specified, using: [standard] from last GUI settings

Downloading module 'soundlang'
Processing soundlang
Downloading...
     0/72234 [>---------------------------]   0%
  7994/72234 [===>------------------------]  11%
 15140/72234 [=====>----------------------]  20%
 21985/72234 [========>-------------------]  30%
 29039/72234 [===========>----------------]  40%
 37000/72234 [==============>-------------]  51%
 44382/72234 [=================>----------]  61%
 51227/72234 [===================>--------]  70%
 58194/72234 [======================>-----]  80%
The following error(s) occured:
 - File Integrity failed for /var/www/html/admin/modules/_cache/soundlang-<IP_ADDRESS>.tgz.gpg - aborting (GPG Verify File check failed)
** [freepbx] Module Install: certman, userman, pm2
No repos specified, using: [standard] from last GUI settings

Downloading module 'certman'
Processing certman
Downloading...
 65492/72234 [=========================>--]  90%      0/200229 [>---------------------------]   0%
  20674/200229 [==>-------------------------]  10%
  40246/200229 [=====>----------------------]  20%
  60607/200229 [========>-------------------]  30%
  81054/200229 [===========>----------------]  40%
 100507/200229 [==============>-------------]  50%
 120588/200229 [================>-----------]  60%
 140573/200229 [===================>--------]  70%
 160654/200229 [======================>-----]  80%
The following error(s) occured:
 - File Integrity failed for /var/www/html/admin/modules/_cache/certman-15.0.48.tgz.gpg - aborting (GPG Verify File check failed)
Changing "SHOWLANGUAGE" from [0] to [1]
 180639/200229 [=========================>--]  90%chown: cannot access '/home/asterisk/.npm': No such file or directory
** [freepbx] Module Install: ucp
No repos specified, using: [standard] from last GUI settings

Downloading module 'ucp'
Processing ucp
Downloading...
       0/4242251 [>---------------------------]   0%
  424304/4242251 [==>-------------------------]  10%
  848512/4242251 [=====>----------------------]  20%
 1273810/4242251 [========>-------------------]  30%
 1697168/4242251 [===========>----------------]  40%
 2122254/4242251 [==============>-------------]  50%
 2545920/4242251 [================>-----------]  60%
 2970706/4242251 [===================>--------]  70%
 3394380/4242251 [======================>-----]  80%
The following error(s) occured:
 - File Integrity failed for /var/www/html/admin/modules/_cache/ucp-15.0.10.tgz.gpg - aborting (GPG Verify File check failed)
** [freepbx] Finished Installation of FreePBX Modules - Proceeding with next phase of install
** [freepbx] Setting Configuration
** [freepbx] Setting RTP Ports - Start: 18000 Finish: 18100
 3818046/4242251 [=========================>--]  90%ERROR 1146 (42S02) at line 1: Table 'asterisk.sipsettings' doesn't exist
** [freepbx] Starting Asterisk
[freepbx] Starting Operator Panel
** [freepbx] Web Server Started - Container Initialization Complete
[cont-init.d] 10-freepbx: exited 0.
[cont-init.d] 99-container-init: executing...
[cont-init.d] 99-container-init: exited 0.

**** [zabbix] Starting Zabbix Agent
[cont-init.d] done.
[services.d] starting services
[services.d] done.

** [cron] Starting cron

As you can see, it looks like it fails every GPG check, hence producing more errors. Maybe the GPG public key needs to be updated/changed?

Is there any better maintained docker container? I also get some errors...


LILYGO T-A7670G doesn't work on battery

The battery is fully charged and inserted into the board.
When the USB cable is disconnected, the voltage at the ends of the battery is 4.2V.
When turned on, there is a short activity - a blinking red LED.
Battery switch in the ON position.
I tried to test by sketch
#define BOARD_PWRKEY_PIN   (4)
#define BOARD_ADC_PIN      (35)
#define BOARD_POWERON_PIN  (12)
#define BOARD_MISO_PIN     (2)
#define BOARD_MOSI_PIN     (15)
#define BOARD_SCK_PIN      (14)
#define BOARD_SD_CS_PIN    (13)
#define BOARD_BAT_ADC_PIN  (35)

#include <esp_adc_cal.h>
#include <Arduino.h>
#include <FS.h>
#include <SD.h>
#include <SPI.h>

void setup() {
  Serial.begin(115200);

#ifdef BOARD_POWERON_PIN
  pinMode(12, OUTPUT);
  digitalWrite(12, HIGH);
#endif

  SPI.begin(BOARD_SCK_PIN, BOARD_MISO_PIN, BOARD_MOSI_PIN);
  if (!SD.begin(BOARD_SD_CS_PIN)) {
      Serial.println("Card Mount Failed");
      return;
  }
  if (SD.cardType() == CARD_NONE) {
      Serial.println("No SD card attached");
      return;
  }
}

uint16_t batteryVoltage() {
  esp_adc_cal_characteristics_t adc_chars;
  esp_adc_cal_characterize(ADC_UNIT_1, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_12, 1100, &adc_chars);
  return esp_adc_cal_raw_to_voltage(analogRead(BOARD_BAT_ADC_PIN), &adc_chars) * 2;
}

uint16_t battery;
bool power;
unsigned long timeStamp;
void loop() {
  if (millis() - timeStamp > 1000) {
    timeStamp = millis();

    power = analogRead(BOARD_POWERON_PIN) > 0;
    battery = batteryVoltage();

    String message = String(millis()) + "|" + String(battery) + "|" + String(power) + "\n";
    Serial.print(message);

    File file = SD.open("/battery.txt", FILE_APPEND);
    file.print(message);
    file.close();
  }
}

The test file /battery.txt is filled with records when powered from USB only.

https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/508a27e9d92acfa2bfc7f6ece509b73fab7cb8f0/examples/ReadBattery/ReadBattery.ino#L110

When connected to the USB, the battery voltage data read is not the real battery voltage,

This is another question. I have an issue that the application does not start when the USB is disconnected.

You should remove the line
power = analogRead(BOARD_POWERON_PIN) > 0;

This sentence will change IO12 from output state to input state, causing the SD card to lose power.

This sentence will change IO12 from output state to input state, causing the SD card to lose power.

Great catch!, Thank you a lot, it helped.
Maybe you can explain how to check if there is power from the USB or not?

https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/commit/df1eb79590ab2af75635c7702cbf3a96812b6974

Awesome! Thank you again.
Looks like esp_adc_cal_raw_to_voltage return mV.
I have to modify, like:
uint16_t battery_voltage = esp_adc_cal_raw_to_voltage(analogRead(BOARD_BAT_ADC_PIN), &adc_chars) * 2;

if (battery_voltage > 4200) {
    Serial.println("USB is connected!");
}

instead of
if (battery_voltage > 4.2) {

Looks like it depends on battery
I got without USB:
4206 mV
4208 mV
4206 mV
4206 mV

With USB:
4250 mV
4252 mV

This is an unreliable detection method. If the battery voltage is too low, the ADC detection voltage will be pulled down by the battery, resulting in failure to effectively detect whether the USB is connected. It is only suitable for situations where the battery voltage is similar to the USB voltage.
This board is different from the other one. This method cannot be used directly for detection. Currently, it is not possible to detect USB through existing hardware.


[T4A2][W10-B4] Filbert

Added static to class methods in parser
Add class member nextSequence number  to ensure each person has a unique id
Added sequence number to ReadOnlyPerson

Some comments added. Please close the PR after reading comments.


Can a trigger be added, like Unity's collider?

Can a trigger be added, like Unity's collider?
I need to use triggers to do things like bullet flight, attack range triggers

Can a trigger be added, like Unity's collider? I need to use triggers to do things like bullet flight, attack range triggers

Let's achieve it through this
public class TriggerCollisionDetection : IBroadPhaseFilter
{
public bool Filter(IDynamicTreeProxy shapeA, IDynamicTreeProxy shapeB)
{
if (shapeA is not RigidBodyShape sA || shapeB is not RigidBodyShape sB)
{
throw new InvalidCollisionTypeException(shapeA.GetType(), shapeB.GetType());
}
    ref RigidBodyData b1 = ref sA.RigidBody.Data;
    ref RigidBodyData b2 = ref sB.RigidBody.Data;

    if (!b1.IsTriggered && !b2.IsTriggered)
        return true;

    var colliding = NarrowPhase.MPREPA(sA, sB, b1.Orientation, b2.Orientation, b1.Position, b2.Position, out _, out _, out _, out _);
    if (colliding)
    {
        //sA.RigidBody.OnTriggerEnter();
        Console.WriteLine($"OnTriggerEnter ID:{sA.ShapeId} -> ID:{sB.ShapeId}");
    }

    return false;
}

}

This looks good to me

The idea is that this functionality should be implemented "on top" of Jitter - like you have shown already. I now implemented NarrowPhase.Overlap(sA, sB, b1.Orientation, b2.Orientation, b1.Position, b2.Position), https://github.com/notgiven688/jitterphysics2/blob/78d5a1dee8144c210d068a44e6791f918616a0fe/src/Jitter2/Collision/NarrowPhase/NarrowPhase.cs#L960 which returns just true/false for overlaps and is therefore a bit more efficient than MPR which provides you with detailed collision information.


TYPO3 AdditionalConfiguration.php: fix warning in array_merge()

The Problem/Issue/Bug:
On first install, $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'] could be still unset.
How this PR Solves The Problem:
This sets this value to an empty value (not using null coalesce, thus PHP5-compatible) in that case.
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

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


Run task if file does not exist

Features Description
It'd be nice to be able to make a task only run if a file does not exist. For instance, I have a task that generates some development signing keys. I only need it to run if the key is not already generated. I currently use an if [ -f ] in a condition_script, but that's not portable (it won't work on windows).
Describe the solution you'd like
I'd like to extend condition's criterias to add a file_not_exists key. The value would be an array of paths. If any of the listed path don't exist, the condition is met and the task is run.
The any part runs a bit counter to the rest of the conditions (which all requires that all requirements are met), but I'm not sure of any better way to express my requirements.
Alternatively, maybe we could make shell2batch convert if [ -f $FILE], but that seems like it might be very hard to get right.
Code Sample
[tasks.gen_secureboot_keys]
condition = { "file_not_exists" = ["external/PK.key", "external/PK.crt"] }
script = ['''
# Generate keys
touch external/PK.key external/PK.crt
''']

a condition is a good idea.
if i'm implementing not exists, i'll implement exists as well.
i'll probably be able to start working on next version in about a week or so...

@roblabla this is now implemented in 0.22.2 branch. see docs for files_exist and files_not_exist conditions.

published in 0.22.2 release


broken UltiSnips

After this new PR #50, my UltiSnips is broken for tex file: UltiSnips cannot be triggered.
Before:

After:

It does not change even if I add filetype_source = "treesitter" in the config of cmp-nvim-ultisnips.
Could you help me?
More information:
Inspired by Gilles Castel, I am using VimTeX and UltiSnips to writing LaTeX documents.
Based on UltiSnips context function, I add below to my tex snippets.
global !p
def math():
    return vim.eval('vimtex#syntax#in_mathzone()') == '1'
endglobal

Clearly, this math() function need syntax from VimTeX.
So, in order to get "correct" context, I used additional_vim_regex_highlighting for latex.
Below is (part of) my configuration of Nvim-treesitter.
highlight = {
enable = true,
additional_vim_regex_highlighting = "latex"
}

Oh man, this is not good, sorry for that :/ By the way, do you nvim_treesitter installed? I just created a fix that improves things when that plugin is not installed.

Oh man, this is not good, sorry for that :/ By the way, do you have nvim_treesitter installed? I just created a fix that improves things when that plugin is not installed. It is possible that the latest commit fixes this for you.
Thanks.
I have installed nvim-treesitter.

As a workaround, I used the last commit of cmp-nvim-ultisnips.
So, still works.

I could reproduce it and know what the problem is: UltiSnips uses tex, treesitter returns latex...
Working on a fix.

Hope everything is working again now :)

You are so fast 👍.
Thank you. It was fixed now and worked great with PR #50.

Awesome, I am glad everything is working as expected now!😄


Parts not shown when joining a quest

When joining someone's quest (or SOS) I do not see the parts. I see the monster, their current health, their status effects, the player buffs and basically everything else.
I tried with the default config (with ShowUnchangedParts set to true along with HidePartsAfterSeconds set to various numbers, between 0 and about a million).
The parts are properly shown when I "host" the quest.
My C# is pretty rusty and I have no setup to run this on my own (might give it a shot next week-end if this isn't resolved by then tho), so I have no idea what could be causing this.

That’s because you’re not the host of the lobby

Host of the lobby and host of the quest is not the same thing is it?
Because I'm usually the host of the lobby.
I'll take a look at the function you pointed tho! Thanks!

Perhaps it could be an idea to let this be configurable to the user?
Add an optional key in the Config.json that defaults to false if not set like `ShowPartsEvenIfNotHost``... Could even add a notice in the logs saying you are displaying/updating the monster parts even if the player isn't host, thus being unable to get the current HP of each parts and showing only the number of time they were broken.

I'll push a little update tomorrow

I've added that option under "MonsterWidget" -> "AlwaysShowParts". Just this to true :)

Nice! That works!
I've also noticed your (work in progress?) sync server between 2 clients. I tried it, and it ends up crashing as soon as a PULL request is made and successfully done.
It has issues with sync'ing parts that (apparently?) do not exists:
[2020-03-03 22:48:29] Sending CHECK with parameters {"command":"check","key":"WxcywiNHK6fvizjncTMHTA1lqF4=","host":"false","data":null,"version":"1.0"}
[2020-03-03 22:48:29] Received CHECK with response {"status":"ok","result":"true"}
[2020-03-03 22:48:29] Sending PULL with parameters {"command":"pull","key":"WxcywiNHK6fvizjncTMHTA1lqF4=","host":"false","data":null,"version":"1.0"}
[2020-03-03 22:48:30] Received PULL with response of size 2038 byte
[2020-03-03 22:48:30] An error has occured while sending the request: Can not convert Object to String.
[2020-03-03 22:48:30] Localization: Monster 'em036_00' part '11' not found in MonsterData.json
(... and many more for all 3 monster on the map)

Do note that the parts that were damaged did show the damage for a very brief moment before SmartHunter crashed.

I've pushed a new small update. Can you tell me if you still have that issue?

Yeah I'm having the same issue. I managed to get some kind of debugging running and got this stack trace:
Unhandled Exception: System.InvalidOperationException: Layout measurement override of element 'System.Windows.Controls.Grid' should not return NaN values as its DesiredSize.
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at SmartHunter.App.Main()

VSCode isn't helping me much there with the debugging, I think I'll need to install Visual Studio to get better debugging details... which I can't do before the week-end at the very least. Hopefully this stack trace helps you.
Also some extras:

Logs file for when I open SmartHunter when already in a quest that I joined: Log.txt

Screenshot right before crash occurs:


Does sqlpp11 support a connection pool? What do I need to do?

Does sqlpp11 support a connection pool with mysql? What do I need to do with mysql?

For example, the code for database operation used sqlpp11 attached in following links :
https://github.com/UAws/OOP-Project/blob/master/src/dao/SubjectDao.cpp
Currently i need to create db connection everytimes in each functions. It's really reduced performance.
I would wandering that does sqlpp11 support connection pool or is there any better way to improve the performance of db connection?
Thanks!

Hi,
The library does not provide a connection pool itself. I have never gotten around to writing one myself.
But of course, you could store connections in a pool.
Frank Park started to write a generic pool in sqlpp11 (see https://github.com/rbock/sqlpp11/blob/develop/include/sqlpp11/connection_pool.h). It is unfinished, but maybe you can use it as basis?
I'd be happy to accept pull requests to finish hat implementation.
Thanks,
Roland


Additional tweaks with regards to static address construction via the API

Issue Number

ADP-461
Overview

9b362af395375d30135b04961f1406e0e821337e
:round_pushpin: return non-extended public key (without chain code) as 'ApiVerificationKey'
The chain code is useless because there's no further derivation that can happen at this stage. Plus, it does make it harder to re-use the output from the 'getWalletKey' endpoint into others because one needs to decode the bech32 string and strip away the chain code.

3b005831530f01772ef4abd71dba6a5a8a59244a
:round_pushpin: revise API documentation regarding address construction from script

give more details about how scripts are constructed
move description around so they show up correctly in ReDoc.
move address endpoints into the 'Address' group and remove the 'Utils' group

Comments

TODO: use public key in script construction instead of hashes, and do the hashing internally.

bors r+

bors r+

bors retry

bors retry

bors retry

bors retry
please.


[Feature-Request] Client SDK for Azure Spring Apps Service

Is your feature request related to a problem? Please describe.
We are working on a plugin for Backstage that can monitor different components from Azure Spring Apps service. We have been mainly working with the management SDK already available to extract general status information from the service, but we cannot get information from applications deployed (e.g health status, endpoints exposed, env)
Describe the solution you'd like
We'd like to request a client library dedicated to monitor the spring applications deployed to the service. We think that it would be great for any integrations for other monitoring systems that want to support ASAE.
Features we would like to have:

Get application health
Get all exposed endpoints by the application, along with information from those exports (headers, HTTP methods, query parameters, etc)
Get ENV information

Describe alternatives you've considered
NA
Additional context
NA

@ch-enfuse can you give more example for your scenairos? The Application for Azure Spring Apps is a mgmt resource named AppResource, you can retrieve public endpoint through its properties. Under the AppResource, you can manage the DeploymentResource by configuring/getting the ENV and health probe.

@ch-enfuse Thank you for your response. Indeed there is a public endpoint available in the AppResouce. However, this is only the entry point to the application. What we want is a way to query all endpoints that a particular service implemented by the spring application exposes (through the actuator). Here is a sample scenario:
Book Service: application implemented using Spring Boot that implements various methods to interact with an underlaying database to keep records of physical libraries, and exposes those methods through a REST API.
Possible endpoints:
GET allBooks (Params: libraryId) //gets all books managed by the library whose ID is provided
GET book (Params: libraryId, bookTitle) gets information about a title in a library
PUT checkoutBook (Params library, bookTitle, userId) (Returns: reservationId) Marks a book record to be checkedout, returns the checkoutID, which can contain general info about the checkout.
PUT returnBook (Params,  checkoutID) marks a book record to be returned to the library and available for checking out again.
......
These methods can be implemented by having some required headers (authentication, caching, cookies), parameters, and define what they produce (checkoutID, bookInfo, etc).
What we would like to have is a way to retrieve these endpoints and all of the information that comes along with them through a JS client library dedicated for this service
Note: The reason why I proposed this request is because I noticed that the Azure Spring Apps doesn't have a client library (like other services do, to interact with the deployed resources on the service as opposed to manage the service itself) and thought this functionality could be a good start for the library.

I see, maybe a new library for this doesn't make sense, but what about extending the existing API to get information from the Application Live View?


multicluster e2e test regression

On 1.4, multicluster passes 6/6 times on 10/22: https://testgrid.k8s.io/istio_release-1.4_istio_postsubmit#pilot-multicluster-e2e_istio_release-1.4_postsubmit&width=20&exclude-non-failed-tests=
On master, multicluster failed 8/11 times on 10/22: https://testgrid.k8s.io/istio_istio_postsubmit#pilot-multicluster-e2e_istio_postsubmit&width=20&exclude-non-failed-tests=
Prior to this, master was passing 100% as well
The first failure was for https://prow.k8s.io/view/gcs/istio-prow/logs/pilot-multicluster-e2e_istio_postsubmit/446 associated with https://github.com/istio/istio/pull/18111. Given that this PR impacts the tests that were failing, and due to timing, I suspect this is the root cause.

First failing presubmit: https://prow.k8s.io/view/gcs/istio-prow/pr-logs/directory/pilot-multicluster-e2e_istio/2028 at 6:40am, 40 minutes after #18111 was merged, so very likely the root cause

Actually I think there are three distinct multicluter test regressions all at once:

#18111 broke TestSidecarScope
#18030 broke
Evidence:

the test in release-1.4 postsubmit has never failed, but it fails in presubmit of a backport of #18030: https://prow.istio.io/view/gcs/istio-prow/pr-logs/pull/istio_istio/18197/pilot-multicluster-e2e_istio_release-1.4/52
First postsubmit failure: https://prow.k8s.io/view/gcs/istio-prow/logs/pilot-multicluster-e2e_istio_postsubmit/454, which is the postsubmit run for #18030
First presubmit failures were all from #18030 before it merged, but were retested (https://prow.k8s.io/view/gcs/istio-prow/pr-logs/directory/pilot-multicluster-e2e_istio/1946, https://prow.k8s.io/view/gcs/istio-prow/pr-logs/directory/pilot-multicluster-e2e_istio/1930)

Finally, there have been some issues with setting up firewall rules. This may be due to https://status.cloud.google.com/incident/cloud-networking/19020

I don't doubt this could be due to the auto mTLS PR breaking the multi cluster. I saw it sometimes in the presubmit tests, but succeed later when about to debug it...
Curious how you narrow the root cause though. I'm looking at the https://testgrid.k8s.io/istio_istio_postsubmit#pilot-multicluster-e2e_istio_postsubmit&include-filter-by-regex=.Ingress. I saw only one failures for post submit run 454, no more runs or failure after that.
Is my way of filtering test runs wrong?
Wanna to learns some tips of how to do this from testgrid...

This was fixed by reverting auto mtls and https://github.com/istio/istio/pull/18111
We also made the test required


Parcelable Referencable Primitive

This makes ReferencablePrimitive... wait for it... Parcelable 😄

Also includes a few extra little fixes.


Fix CLI analysis reporting wrong file names

Fix #144
Regarding (https://github.com/Roblox/luau/issues/144#issuecomment-962295956):

We should check frontend.isDirty(name) in analyzeFile before running type checking. This will automatically skip redundant checks for dependent modules when we encounter them again in recursive traversal

At about which point should this check happen? From my understanding frontend.check(name) does type checking, so should the function just exit early reporting no errors?
Additionally, reportWarning at a glance has the same undesirable behavior that reportError did, but I opted to wait and ask if this is intentional before changing it also.

At about which point should this check happen? From my understanding frontend.check(name) does type checking, so should the function just exit early reporting no errors?

I believe Frontend propagates errors for dependent modules for type checking, so .check will return dependent module info, but lint doesn't - so if the module is not dirty, we should skip .check but still run .lint.

If that's correct then that just leaves whether reportWarning should be changed to respect module names too.

Not sure what you mean - LintWarning doesn't carry a module name?
In general this silent error propagation business is pretty weird and it would probably be better to refactor the Frontend to not do that, and instead to expose dependent modules to the caller so that the caller can aggregate errors if need be. However, this would change the Frontend interface and we have internal tools that rely on the specific behavior, so we'd need to do that internally separately.

My bad on that, I was looking at TypeError not LintWarning. I think the issue is solved then.


modprobe: ERROR: could not insert 'v4l2loopback': Unknown symbol in module, or unknown parameter (see dmesg)

Describe the bug
Challenged to run the End-to-End example cloud (!) VMs (GCP, DigitalOcean). Specifically modprobe v4l2loopback:
sudo modprobe v4l2loopback exclusive_caps=1 video_nr=1,2
modprobe: ERROR: could not insert 'v4l2loopback': Unknown symbol in module, or unknown parameter (see dmesg)

I suspect the issue is that dependenct modules aren't included on cloud VM kernels but I prefer to use cloud VMs because they're disposable and I can keep my primary workstation untainted by random installs.
Output of kubectl get pods,akrii,akric -o wide
N/A
Kubernetes Version: [e.g. Native Kubernetes 1.19, MicroK8s 1.19, Minikube 1.19, K3s]
N/A
To Reproduce
Steps to reproduce the behavior:

Create cloud VM (GCP, DigitalOcean)
Set up mock video devices (link)
Attempt modprobe v4l2loopback

Expected behavior
No errors
dmesg:
v4l2loopback: loading out-of-tree module taints kernel.
v4l2loopback: module verification failed: signature and/or required key missing - tainting kernel
v4l2loopback: Unknown symbol video_ioctl2 (err -2)
v4l2loopback: Unknown symbol v4l2_ctrl_handler_init_class (err -2)
v4l2loopback: Unknown symbol video_devdata (err -2)
v4l2loopback: Unknown symbol v4l2_ctrl_new_custom (err -2)
v4l2loopback: Unknown symbol video_unregister_device (err -2)
v4l2loopback: Unknown symbol video_device_alloc (err -2)
v4l2loopback: Unknown symbol v4l2_device_register (err -2)
v4l2loopback: Unknown symbol __video_register_device (err -2)
v4l2loopback: Unknown symbol v4l2_ctrl_handler_free (err -2)
v4l2loopback: Unknown symbol v4l2_device_unregister (err -2)
v4l2loopback: Unknown symbol video_device_release (err -2)

NOTE the taint and module verification error are warnings only and may be ignored

Additional context
The solution I've found is:
sudo apt update && \
sudo apt -y install modules-extra-$(uname -r) && \
sudo apt -y install dkms

NOTE the installs may possibly be combined

Then:
curl http://deb.debian.org/debian/pool/main/v/v4l2loopback/v4l2loopback-dkms_0.12.5-1_all.deb ...
sudo dpkg -i v4l2loopback-dkms_0.12.5-1_all.deb
sudo modprobe v4l2loopback exclusive_caps=1 video_nr=1,2

Succeeds!
On GCP:
dkms status
v4l2loopback, 0.12.5, 5.4.0-1028-gcp, x86_64: installed

On DigitalOcean:
dkms status
v4l2loopback, 0.12.5, 5.4.0-51-generic, x86_64: installed

Hopefully this will help others that get stuck.

@DazWilkin, do you think we can close this since you added instructions for e2e on the cloud? Then, if we see more people hit this error, then we could add the additional install instructions:
sudo apt update && \
sudo apt -y install modules-extra-$(uname -r) && \
sudo apt -y install dkms

Yes, please do!
I prefer to let repo owners decide whether to close|ignore comments.
I hope that's OK?
Thanks for asking.

Small correction: it should be linux-modules-extra-$(uname -r) in the solutions above, as in:
sudo apt update && \
sudo apt -y install linux-modules-extra-$(uname -r) && \
sudo apt -y install dkms


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #10.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed

Fixes #10

@chris1610 I triggered a rerender as I noticed that conda-forge is out-of-sync with pip. I think this will fix the issue.


Fix broken links by removing .md in AvatarView md

Changes

See links on https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/avatarview , fixed them by removing the .md extension

Learn Build status updates of commit ba555aa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/maui/views/AvatarView.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


The global.css file is overwritten by Smelte

Whatever change I make to global.css, it does not keep it. The recompilation of any .svelte file overwrites it. Where do I make persistent changes to global.css from?

this is my rollup.config.js, the project css is written to bundle.css... while smelte write to global.css
if you want to use global.css, maybe just change the smelte to output to something like "static/smelte.css"

svelte({
        // enable run-time checks when not in production
        dev: !production,
        hydratable: true,
        // we'll extract any component CSS out into
        // a separate file — better for performance
        css: css => {
          css.write(`${buildDir}/bundle.css`);
        }
      }),
smelte({
        purge: production,
        output: "static/global.css", // it defaults to static/global.css which is probably what you expect in Sapper
        postcss: [], // Your PostCSS plugins
        whitelist: [], // Array of classnames whitelisted from purging
        whitelistPatterns: [], // Same as above, but list of regexes
        tailwind: {
          colors: {
            primary: "#d42626",
            secondary: "#009688",
            error: "#f44336",
            success: "#4caf50",
            alert: "#ff9800",
            blue: "#2196f3",
            dark: "#212121"
          }, // Object of colors to generate a palette from, and then all the utility classes
          darkMode: true,
        },
        // Any other props will be applied on top of default Smelte tailwind.config.js
      }),


Feature: upgrade to Laravel 11 and drop PHP 8.1

Changes required to upgrade to Laravel 11, dropping PHP 8.1 at the same time.
If you want to try on your application (if you're upgrading before Laravel 11 is tagged), then set minimum-stability in your composer.json to dev, then:
composer require laravel-json-api/laravel:^4.0 --no-update
composer require laravel-json-api/testing:^3.0 --dev --no-update
composer up "cloudcreativity/*" "laravel-json-api/*"

FYI we're dropping PHP 8.1 because Laravel is dropping it for the 11 release.

Aware Laravel 11 has been tagged today. I've got through some of the admin for releasing the new version this week... will finish it off later this week.
In the meantime if you're upgrading your apps to Laravel 11, you can use the instructions above to install the pre-tag version.


Update openjdk testcases in playlist to skip FIPS tests.

Added features to ibm/openj9 openjdk testcases to accommodate the following TESTFLAGS: FIPS140_2, FIPS140_3_OpenJCEPlusFIPS, FIPS140_3_OpenJCEPlusFIPS.FIPS140-3.

related: https://github.ibm.com/runtimes/backlog/issues/1494

Grinder tests:
TARGET: special.openjdk,  no TEST FLAG set. TESTCASE such as jdk_lang_ref_FinalizeOverride_j9 executed.
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42938/
TARGET: special.openjdk , with TEST FLAG , TESTCASE such as jdk_lang_ref_FinalizeOverride_j9 is not ran
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/42934/

@annaibm please move this PR out of draft. Thanks

FYI @jasonkatonica

@llxia Please find the PR: https://github.com/adoptium/aqa-tests/pull/5530 and https://github.com/adoptium/aqa-tests/pull/5532 to backport changes into https://github.com/adoptium/aqa-tests/tree/v1.0.4-release and https://github.com/adoptium/aqa-tests/tree/v1.0.3-release respectively.


[Feature] Better api support for OndataZoom type

What problem does this feature solve?
Could you add a better support for dected zoom type on onDataZoom event ?
const ondataZoom = (param: any) => {
    const zoomID = param.batch[0].dataZoomId.toString()
    if (zoomID === '\x00series\x001\x000') {
      // zoom Y are handled
      console.log('zoom Y handled', [param.batch[0].start, param.batch[0].end])
    }
    if (zoomID === '\x00series\x000\x000') {
      // zoom X are handled
      console.log('zoom X handled', [param.batch[0].start, param.batch[0].end])
    }
  }

so '\x00series\x001\x000' is vertical zoom and '\x00series\x000\x000' is horyzontale,

What does the proposed API look like?
Could you and a better name for exemple
if (param.batch[0].dataZoomType === 'y') { // store dataZoom Y values array }
if (param.batch[0].dataZoomType === 'x') {  // store dataZoom X values array  }

If the dataZoom options contains an named ID per axis, for exemple for inside xAxis #0 : id:'zoom-inside-x-0', I can track them with api ! very nice concept.


Localization string for Password Pattern Popup

Hi, when a user tries to submit a password that is not matching the configured pattern, a small popup appears with the default message "Please match the requested format." I did not find the corresponding string in the tables above. Could you check that and add appropriate documentation to the page?

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

ID: 986c1f85-07c7-ec91-d4fb-d5da5676c6f1
Version Independent ID: 98782e9a-7697-52a3-754c-e1c6527401bb
Content: Localization string IDs - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/localization-string-ids.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@fabianflanhardt Thanks for your feedback! We will investigate and update as appropriate.

@fabianflanhardt thanks for reporting this! Do you have a screenshot of this? I have seen that as a Chrome message but not as an Azure message.

@MarileeTurscak-MSFT thanks for the hint. It looks like the popup indeed is a browser message. Just to be sure we're talking about the same thing, here is a screenshot:

I also had a look into how this works, so here is what I found:

chrome checks, the pattern attribute for input elements and invokes the popup, if the input does not match the pattern
The pattern value is what's defined in Restriction/Pattern for the corresponding claim type
As the pattern for password claim types is tied to some restrictions coming with passwordpolicy there is nothing to localize here (at first I was confused, why there is a string for email and other patterns, but not for password patterns)

So I assume, (if I'm correct) that's the reason I did not find appropriate Information in the article. However, adding a hint on that behavior would be helpful from my point of view.

Looks like, this popup message is not a B2C one, and probably as you say it comes from the browser. Did you check this behavior with other browsers, such Opera, Chrome, Firefox?

Checked it with Firefox, too. Same message, but the popup looks a bit different.

I also found some good articles on the topic:
HTML5 Form Validation With the “pattern” Attribute
Client-side form validation

Looks like this is a default message defined in the browser (not from B2C).  I checked a user flow with the latest page version and get only the HTML message, without the popup.

Could you provide steps to reproduce this issue? the type of the policy (user flows or custom policy)? page version? do you use a custom HTML template?

I'm using custom policy with AzureBlue HTML templates in one tenant and custom HTML templates in another tenant. Page version is 1.2.0 in both cases.
Steps to reproduce are:

Start password reset user journey
Get to selfasserted passwordreset step
enter a password that does not match the pattern provided in newPassword ClaimType Restriction element
Hit Continue Button

@yoelhor is there any update on this?
Should this be moved to a support case?

#please-close

Why was this closed? I'm using a template from B2C samples repo that was created 8 days ago and have this same issue.

@iamim It seems this message is added by the browser and not by Azure B2C, thus the localization of it is done by the browser as well. If I set my browser language to another language, the language of that string changes as well regardless of the language B2C is in.

It's happening to me when the pattern attribute on the "logonIdentifier" input text box is empty, which in my case it is when the user can sign in with either a username or email address. This suggests to me that the issue is with the logic of the code that generates the js/html coming from B2C...
<input type="text" id="logonIdentifier" name="Username or email address" pattern="" ...>


[KO] Fixed incorrect code and explanation.

The change is to fix incorrect and its explanation in Plug.Router section.

Thank you and welcome @blueringlab!  @devleoper / @marocchino could you take a peek at this when you have a moment?

Oops. It seems my mistakes. Sorry folks. 😆

LGTM


Commit needed before push

In step Generate the Database Schema, one needs to modify appsettings.json, Program.cs, but no mention of committing to git.
In step Deploy to the App Service (Deploy using local git), also no mention of committing the changes. If one deploys using git push without committing beforehand, the code changes (i.e. the connections string settings) are not applied in Azure. I recommend adding a step or disclaimer about committing before push.

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

ID: df55b676-8ff7-1470-3525-d0edfd406af6
Version Independent ID: ac264c26-7196-870b-760f-94a97ae437e8
Content: Deploy an ASP.NET Core and Azure SQL Database app to Azure App Service - Azure App Service
Content Source: articles/app-service/tutorial-dotnetcore-sqldb-app.md
Service: app-service
GitHub Login: @alexwolfmsft
Microsoft Alias: alexwolf

@kszicsillag
Thanks for your feedback! We will investigate and update as appropriate.

@kszicsillag Thanks for bringing this to our attention. I have made the requested changes and changes will go live soon once it is approved by author.


Update Siteblock  tag

the websites to delete will open in a new window

Hi @m4tt72  , I also made a PR request, but it seems this repo isn't maintained anymore. Luckily an active fork can be found here: https://github.com/jdm-contrib/jdm


IC2 Classic compatibility issues

Forge Version
<IP_ADDRESS>60
Galacticraft Version
4.0.3
Log or Crash Report
No response
Reproduction steps
First reported over https://github.com/TeamGalacticraft/Galacticraft-Legacy/issues/30#issuecomment-1193140906.
Install Galacticraft and IC2 Classic, then place an aluminum wire next to an IC2 Classic machine. It will not connect (unlike IC2 Experimental) and will lag the game.

Log error: https://mclo.gs/fAbQzYJ

EnergyUtil#getAdjacentPowerConnections is lacking additional checks for IC2 Classic because the checked methods getSinkDirs and getSourceDirs don‘t exist.


Remove SQL CLI help duplication

Context
As of SQL CLI 0.1, we are duplicating the definition of help originally declared using the Python typer library and Go Cobra (a tool used by the Astro CLI to implement CLI).
As of 25 October, we investigated a few alternatives - but given the deadline time and the fact we need to parse the command line to mount Docker volumes, we opted to duplicate them - for the 0.1 delivery.
Goal

Help commands are declared only within the Python SQL CLI
There are no SQL CLI help declarations within the Astro CLI

During investigation of removing cobra sub-commands for flow e.g. init, validate, etc., I came across this issue which explains the complexity we would have to deal with when trying to remove the cobra sub-commands.

We are able to achieve this now with the commit: https://github.com/astronomer/astro-cli/pull/819/commits/00a94d374498d0ddea35e31e202d32c60268517b

Excellent, @pankajkoti, thanks a lot - closing this ticket


Implement Header Stats

What would you like to be added:
Blocked by https://github.com/DeFiCh/whale/issues/246#issue-944973570

/area ui-ux layouts

/area store

/triage accepted
can start implementing first

/assign @fuxingloh


add asn support

Closes #54

I am not satisfied with the current dependency tree that we have created. Rather than copying a large amount of code from mapcidr, we can move some parts to the utils to avoid this. I am not entirely certain if this approach is feasible or the right one, but it seems like the only solution that makes sense to me 💭.

Closing this. Will revisit the issue.


Define two class properties.

On PHP 8.2 this component throws an ErrorException:
Creation of dynamic property ezcMvcTemplateViewHandler::$templateLocation is deprecated

Hi,
I had missed this, so will have a look soonish.
Ideally, we get tests going on GitHub with this too.
cheers
Derick

I have merged this, after another fix (in the test file) and a rebase. I have also tagged this as 1.1.1 — thanks!


Unable to handle multiple occurences of @ApiResponse

Following is the swagger annotations for my function:
        @GET
	@Produces(MediaType.APPLICATION_JSON)
	@Path("/errors/toperrors")
	@ApiOperation(value = "Return the top N Errors", httpMethod = "GET", notes = "Return the top N Errors", response = Response.class)
	@ApiResponses(value = {
			@ApiResponse(code = 200, message = "OK"),
			@ApiResponse(code = 400, message = "Required paramaters not provided or context was absent"),
			@ApiResponse(code = 401, message = "User/Service is unauthorized or required authentication headers were not provided"),
			@ApiResponse(code = 500, message = "Internal Server Error")
			}
	)
	public Response getTopErrors(@Context HttpServletRequest request...

The swagger.json generated for the end point is as follows:
  "/api/v1/app_metrics/errors/toperrors":{
            "get":{
                "consumes":[
                ],
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "type":"string",
                        "name":"componentId",
                        "in":"query",
                        "required":true
                    },
                    {
                        "type":"string",
                        "name":"monitorBeginTime",
                        "in":"query",
                        "required":true
                    },
                    {
                        "type":"string",
                        "name":"monitorEndTime",
                        "in":"query",
                        "required":true
                    },
                    {
                        "type":"string",
                        "name":"serviceName",
                        "in":"query",
                        "required":true
                    },
                    {
                        "type":"string",
                        "name":"tenantId",
                        "in":"query",
                        "required":true
                    },
                    {
                        "type":"integer",
                        "name":"topCount",
                        "in":"query",
                        "required":true
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "headers":{
                        },
                        "schema":{
                            "type":"string"
                        }
                    }
                }
            }
        },

Expected : the responses should have all the values from the @ApiResponse annotations.

The JAX-RS analyzer doesn't take Swagger annotations into account. That was always the idea, to be able to generate resources for lean JAX-RS projects (with the JAX-RS dependency only).
That's why only responses that can be derived directly from the method contents show up in the response.
Adding Swagger annotations wasn't a priority for now, however, we do accept PRs :-)


kedro-telemetry showing error logs for not being able to read files

Description
After the 0.19.7 release which made telemetry a dependency of Kedro, error logs are shown similar to:
ERROR    Failed to read the file: /databricks/driver/pyproject.toml.              plugin.py:113
                             [Errno 2] No such file or directory: '/databricks/driver/pyproject.toml'

See also https://github.com/kedro-org/kedro/issues/4066
Context
On my side it's not causing build failures, but it's definitely a confusing error and I don't think this should be showing.
Steps to Reproduce

Deploy a Kedro project as a Databricks Job with Kedro 0.19.7
Check the logs

@merelcht it's already in work: https://github.com/kedro-org/kedro-plugins/issues/781


How do I copy file to container without running it first?

    ContainerCreation container = this.createContainer(this.imageIdentifier);
    dockerClient.copyToContainer(new File("python-sample/").toPath(), container.id(), "/home/coursemology/package");
    dockerClient.startContainer(container.id());
    // get stdout, exit code, and extract files.

Here's the error I got:
com.spotify.docker.client.exceptions.NotFoundException: Either container ab0577462145dfc880338edbade9e29e2a3e30cd001053496a49fb11d213f3ac or path /home/coursemology/package not found.
If I start the container first then I do not run into this issue. I do not have to start the container before running docker cp
Workaround:
    ContainerCreation container = this.createContainer(this.imageIdentifier);
    dockerClient.startContainer(container.id());
    dockerClient.copyToContainer(new File("python-sample/").toPath(), container.id(), "/home/coursemology/package");
    dockerClient.stopContainer(container.id(), 0);
    dockerClient.startContainer(container.id());
    // get stdout, exit code, and extract files.

I think I know what is causing it. The home/coursemology/package directory does not exist. docker-client creates only the coursemology folder but not package. I guess I'll have to manually create them in my Dockerfile.


Assessment failed during Code compatibility collection Failed to parse Ora2pg version in azure studio

Azure Data Studio Version:1.41.1
OS Version: window 10

Steps to Reproduce:

installed azure studio
2.ran code assessment

i upgraded the extension as well
Does this issue occur when all extensions are disabled?: no

Hi @shivenracdba,
Can you please help us with the following information so that we can unblock you as quick as possible,

The version of ora2pg that you have installed? You can check that by running this command "ora2pg -v" in command prompt and letting us know the exact
We currently support v23.0, v23.1 and v23.2
can you please share your log file with us (it can be found here - "%USERPROFILE%.dmaoracle\logs")

Thank you!


python3Packages.sslyze: 3.0.0 -> 3.1.0

Motivation for this change
Update to version 3.1.0
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 105905 run on x86_64-linux 1

1 package failed to build:

python39Packages.sslyze

5 packages built:

python37Packages.nassl
python37Packages.sslyze
python38Packages.nassl
sslyze (python38Packages.sslyze)
python39Packages.nassl

Result of nixpkgs-review pr 105905 run on x86_64-linux 1
1 package failed to build:
5 packages built:

A test for random2 (sslyze -> faker -> random2) fails due to a change introduced in Python 3.9. I added a commit which patches random2 accordingly. Should be fine now.

Result of nixpkgs-review pr 105905 run on x86_64-darwin 1

14 packages marked as broken and skipped:

gscan2pdf
mailman-web
odpdown
pysolfc
python37Packages.mailman-web
python37Packages.qasm2image
python37Packages.rl-coach
python37Packages.toggl-cli
python38Packages.mailman-web
python38Packages.qasm2image
python38Packages.toggl-cli
python39Packages.mailman-web
python39Packages.qasm2image
python39Packages.toggl-cli

38 packages failed to build:

prospector
python37Packages.django_extensions
python37Packages.django_silk
python37Packages.nassl
python37Packages.pylint-django
python37Packages.qiskit
python37Packages.qiskit-aqua
python37Packages.scrapy-fake-useragent
python37Packages.sslyze
python38Packages.django_extensions
python38Packages.django_silk
python38Packages.nassl
python38Packages.pylint-django
python38Packages.qiskit
python38Packages.qiskit-aqua
python38Packages.scrapy-fake-useragent
sslyze (python38Packages.sslyze)
python39Packages.Quandl (python39Packages.quandl)
python39Packages.afdko
python39Packages.booleanoperations
python39Packages.defcon
python39Packages.django_extensions
python39Packages.django_silk
python39Packages.fontmath
python39Packages.fontparts
python39Packages.fontpens
python39Packages.fonttools
python39Packages.mutatormath
python39Packages.nassl
python39Packages.nototools
python39Packages.psautohint
python39Packages.pylint-django
python39Packages.qiskit
python39Packages.qiskit-aqua
python39Packages.sslyze
python39Packages.ufoprocessor
sourcehut.gitsrht
sourcehut.todosrht

58 packages built:

flexget
freecell-solver
noto-fonts-emoji
photon
python37Packages.Quandl (python37Packages.quandl)
python37Packages.afdko
python37Packages.booleanoperations
python37Packages.defcon
python37Packages.factory_boy
python37Packages.faker
python37Packages.flask-restx
python37Packages.fontmath
python37Packages.fontparts
python37Packages.fontpens
python37Packages.fonttools
python37Packages.minio
python37Packages.mutatormath
python37Packages.nototools
python37Packages.psautohint
python37Packages.pytest-factoryboy
python37Packages.pytest-randomly
python37Packages.random2
python37Packages.tld
python37Packages.ufoprocessor
python38Packages.Quandl (python38Packages.quandl)
python38Packages.afdko
python38Packages.booleanoperations
python38Packages.defcon
python38Packages.factory_boy
python38Packages.faker
python38Packages.flask-restx
python38Packages.fontmath
python38Packages.fontparts
python38Packages.fontpens
python38Packages.fonttools
python38Packages.minio
python38Packages.mutatormath
python38Packages.nototools
python38Packages.psautohint
python38Packages.pytest-factoryboy
python38Packages.pytest-randomly
python38Packages.random2
python38Packages.tld
python38Packages.ufoprocessor
python39Packages.factory_boy
python39Packages.faker
python39Packages.flask-restx
python39Packages.minio
python39Packages.pytest-factoryboy
python39Packages.pytest-randomly
python39Packages.random2
python39Packages.scrapy-fake-useragent
python39Packages.tld
rictydiminished-with-firacode
scfbuild
visidata
xits-math
xquartz

Result of nixpkgs-review pr 105905 run on x86_64-darwin 1

The packages this PR relates to seem to build fine for me. I doubt the failing packages have anything to do with the changes this PR introduces.

Result of nixpkgs-review pr 105905 run on x86_64-linux 1

3 packages failed to build:

python37Packages.sslyze
sslyze (python38Packages.sslyze)
python39Packages.sslyze

10 packages built:

freecell-solver
gnome3.aisleriot
kdeApplications.kpat
pysolfc
python37Packages.nassl
python37Packages.random2
python38Packages.nassl
python38Packages.random2
python39Packages.nassl
python39Packages.random2

sslyze:
ERROR: Could not find a version that satisfies the requirement cryptography<3.3,>=2.6 (from sslyze)
ERROR: No matching distribution found for cryptography<3.3,>=2.6

Result of nixpkgs-review pr 105905 run on x86_64-linux 1
3 packages failed to build:
10 packages built:
sslyze:
ERROR: Could not find a version that satisfies the requirement cryptography<3.3,>=2.6 (from sslyze)
ERROR: No matching distribution found for cryptography<3.3,>=2.6

Thanks, fixed!

nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

6 packages built:
python37Packages.nassl python37Packages.sslyze python38Packages.nassl sslyze python39Packages.nassl python39Packages.sslyze

nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

6 packages built:
python37Packages.nassl python37Packages.sslyze python38Packages.nassl sslyze python39Packages.nassl python39Packages.sslyze

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 105905 run on x86_64-darwin 1

7 packages failed to build and are new build failures:

python37Packages.nassl: log https://termbin.com/u9k0
python37Packages.sslyze: log was empty
python38Packages.nassl: log https://termbin.com/6u9i
sslyze: log was empty
(python38Packages.sslyze): log was empty
python39Packages.nassl: log https://termbin.com/zimo
python39Packages.sslyze: log was empty

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 105905 run on x86_64-darwin 1

7 packages failed to build and are new build failures:

python37Packages.nassl: log https://termbin.com/u9k0
python37Packages.sslyze: log was empty
python38Packages.nassl: log https://termbin.com/6u9i
sslyze: log was empty
(python38Packages.sslyze): log was empty
python39Packages.nassl: log https://termbin.com/zimo
python39Packages.sslyze: log was empty

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 105905 run on x86_64-linux 1

6 packages built:

python37Packages.nassl
python37Packages.sslyze
python38Packages.nassl
sslyze (python38Packages.sslyze)
python39Packages.nassl
python39Packages.sslyze

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 105905 run on x86_64-linux 1

6 packages built:

python37Packages.nassl
python37Packages.sslyze
python38Packages.nassl
sslyze (python38Packages.sslyze)
python39Packages.nassl
python39Packages.sslyze


Error: [worker reload] Cannot read properties of null (reading 'address')

Related: https://github.com/nuxt/nuxt/issues/24423
This seems a recent regression

How to fix this bug? Nuxt version is 3.8.2.


Longterm users: Popup Message

Idea: After 1 year or let's say 6 months of using the app, show a popup asking for feedback / financial support for the project.
Useful, since I had (still have) to put money and time into this project - so that it can remain free and useful.

This has no priority as I could just implement it in a year ^^

Unnecessary for now as there are links in the settings - and the settings will be viewed quite often


Update lue.md

Specify that date limit only applies to Puhti.

There was a request that LUE could be more visibly linked to from https://docs.csc.fi/computing/disk/. I'll include that in this branch/PR if ok.


Initial Implementation

Fixes https://github.com/yola/production/issues/2214
Initial implementation of a thin api wrapper.

:bell:

:bell:

I added a search function to the request object. It expects an array currently, but would it be better to expect a string instead? I wasn't sure what was reasonable there.

:+1:


Observer scoreboard doesn't show the winning team first

http://gyazo.com/6f7a27309f7dfd2dbe1eb097f5afb589
blue is winning, and it should be shown first on the scoreboard

https://github.com/twizmwazin/CardinalPGM/issues/355#issuecomment-89378725


Usage v readme

Usage should be something like
vendor/bin/multi-cs check src
or
vendor/bin/multi-cs fix src
probably
but in the readme, there's:
vendor/bin/multi-cs src

This was problem caused by me using different version.
I was not able to install newer version than 0.2.3 because packagist problem.
Now the packagist serves 1.0.0 without problems.
Can be closed.


Bug(go client):Go client fails to compile.

Bug Report

What did you do?
the go client  failed to compile.

What did you expect to see?
the go client can compile.

What version of Pegasus are you using?
the lastest version.

Thanks! Fixed in https://github.com/apache/incubator-pegasus/pull/1946.
Tips: It would be better to paste text rather than picture, the text content can be easily searched.


Added PaliGemma

Not sure how to deal with the dependency issue. PaliGemma needs transformers 4.41 so I just installed it even with the conflicts and it ran fine.

I think we're good to merge once the checks pass.

Not sure how to deal with the dependency issue. PaliGemma needs transformers 4.41 so I just installed it even with the conflicts and it ran fine.

Following up in a separate issue, since the code for the models is self-contained.


HocuspocusProvider parameters are ignored when websocketProvider is set

Description
When creating a new HocuspocusProvider, if a websocketProvider is set, the parameters are completely ignored:
const provider = new HocuspocusProvider({
    websocketProvider: collaborationProvider,
    name: resourceId,
    token: collaborationToken,
    parameters: {
        readOnly: readonly || false, // <-- ignored
        templateId: collaborationTemplateId, // <-- ignored
    },
});

I'm not 100% sure whether this is a bug or it is intentional, given the implementation (config parameters are only used when creating a new provider): https://github.com/ueberdosis/hocuspocus/blob/41de6437e6922e6ad44ccc16e489c925ead7aba4/packages/provider/src/HocuspocusProvider.ts#L245
Steps to reproduce the bug
Steps to reproduce the behavior:

Create a new HocuspocusProviderWebsocket
Create a new HocuspocusProvider and pass the websocketProvider
Set parameters on the provider
Observe that on the server, requestParameters are empty {}

Expected behavior
I would expect that I can pass request parameters separately for each document connection. The documentation is not fully clear how to use the providers in multiplexing so perhaps I'm not doing this correctly?
What I want to do is to pass extra data for a document connection, such as whether it should be in readonly mode or what template ID (a separate string) to use for the document. If parameters are not supposed to be used for this, then first - please update the docs to make this more clear - and second, how should I implement this? Should I just add this info into the name? I.e. name: "${resourceId}?readOnly=${readOnly || false}&templateId=${collaborationTemplateId}"
Screenshot, video, or GIF
N/A
Environment?

operating system: N/A
browser: Chrome
mobile/desktop: desktop
Hocuspocus version: v2.2.3

Additional context
N/A

Actually, now I realized that putting additional data into the name is not a good idea because then 2 editors won't be connecting to the same document 🤔 . So, I have no idea how to pass additional data for a document.

I made an experiment today - I'm passing the additional data through the token. I don't really see any other option since HocuspocusProvider really gives me 2 strings to use when connecting -> the name and the token. As far as I understand, name needs to match for 2 editors to connect to the same document, so there's no way I'm passing additional state data through that. So I only have the token, which I've implemented today. It seems to work fine but I'm hitting one problem:
When I connect to a document using a token that has readonly=true in it, a readonly connection is created. But then I click edit in my app which creates a new editor in write mode. That creates a new connection where the token does not contain readonly=true, which I would expect would trigger the onAuthenticate hook again, but it does not. Instead the server prints Unable to handle message of type 2: no handler defined! and keeps the same connection to the document (which is readonly so my edits are thrown away...).
I have removed the logic of passing the readonly param through the token and I'm only passing the templateId which seems to work just fine. Is this the way to go? 🤯

hey @martindzejky, the parameters are passed as HTTP parameters, so it indeed doesn't work with multiplexing (as we share the connection, it would be using the same HTTP parameters for all documents).
If you want to pass additional data, the recommendation would be to use a jwt token for authentication and pass the parameters in that. Using HTTP parameters for something like readonly is not recommended at all, as it can easily be modified. If that's ok for you, I'd recommend just using read-only mode on editor level (i.e. Tiptap.setEditable).
If you want to do this using server side auth with JWT, you'll need to destroy the old provider first, and then open a new provider. This will close the server connection and then allow the auth hook to run again.

Thanks for the info 👍 . Regarding the provider, are you sure that is the way to go when I'm using multiplexing? When I need to close connection to a document and then reopen it using different data (which means different authentication token), I can't just destroy the provider because other documents and editors might still be using it. 🤔


namespace import would be transformed to void 0

Describe the bug

My project need antd v3，but console report this error when my vite devserve runs in development.

The antd source code path is node_modules/antd/es/local-provider/index.js.

The transformed code is 'void 0'
Reproduction
https://stackblitz.com/edit/vitejs-vite-jdrder
Steps to reproduce
No response
System Info
System:
    OS: macOS 11.6.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 87.24 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v18.19.0/bin/yarn
    pnpm: 8.10.5 - ~/.nvm/versions/node/v18.19.0/bin/pnpm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Chrome: 120.0.6099.199
    Edge: 120.0.2210.121
    Safari: 15.5
  npmPackages:
    @vitejs/plugin-legacy: ^5.2.0 => 5.2.0
    @vitejs/plugin-react: ^4.2.1 => 4.2.1
    vite: ^5.0.11 => 5.0.11

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

The repro isn't working correctly for me, but this seems similar to #15542

This case is default in namespace import，moment be transformed to { default: ... }，so moment.locale be transformed to void 0

I find the answer， config add this option  mainFields: ['browser', 'module']，because moment uses jsnext

It seems to be related to the interop of esbuild. In the pre-build phase, vite confirms the ESM module of moment through the jsnext:main field. esbuild loads esm modules using namespace import and obtains values are all { default: module }. If mainFields: ['module'] is specified, it will change vite's behavior and obtain moment's CJS module. esbuild loads moment (CJS) modules in ant (ESM) module through namespace import, which will additionally extend object properties (including Array), so moment.locale can be used normally.

It seems to be related to the interop of esbuild. In the pre-build phase, vite confirms the ESM module of moment through the jsnext:main field. esbuild loads esm modules using namespace import and obtains values are all { default: module }. If mainFields: ['main'] is specified, it will change vite's behavior and obtain moment's CJS module. esbuild loads moment (CJS) modules in ant (ESM) module through namespace import, which will additionally extend object properties (including Array), so moment.locale can be used normally.
Explanation:
Specifying mainFields: ['browser', 'module'] may not have an effect on the moment module. Finally, it will fallback to the main field.

I find the answer， config add this option  mainFields: ['browser', 'module']，because moment uses jsnext

I have similar problem with moment library.
I import the moment library like this
import moment, {parseZone} from 'moment',
I got an error in start dev server and build production.
It raised an error: RollupError: "parseZone" is not exported by "node_modules/moment/dist/moment.js"
I tried your solution and it works now.

Thank you for your feedback
This is because the esm module of moment only provides default exports, so using named imports in vite will cause exceptions.

Thanks for your explanation.
But with the same code, I ran with webpack (from CRA) and it worked normally, so I think that there may be a problem from vite transformation.

Because webpack loads the CJS module of moment, it is similar to setting resolve.mainFields = ['main'] in vite configuration.

I will temporarily close this issue. The esm module corresponding to the jsnext:main field of moment only provides default exports, so when imported using namespace import, the object structure is { default: module }. If you feel that this issue still needs to be reopened and valuable information provided, I will reopen it.


Move OTP input from entity to config field

Is your feature request related to a problem? Please describe.
The Volvo API seems to semi regularly require a new OTP code.
Currently this has to be submitted by changing a text entity's value which is quite unusual and not easy to remember (since this happens very infrequently).
Describe the solution you'd like
Please move the OTP code input to a config field so it's possible to find intuitively in the UI.
Describe alternatives you've considered
Detect that an OTP code is needed and ask for it via a notification (I don't know enough about HA internals to know if this is easily possible)
Additional context
n/a

Stale bots are the worst and should be banned


chore(net): set_capability_offsets tests and refactors

Resolves #656, and introduces some refactors from issues that were surfaced by the new tests

Codecov Report

Merging #763 (39d4679) into main (da59ead) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #763      +/-   ##
==========================================
+ Coverage   73.16%   73.27%   +0.11%
==========================================
  Files         269      269
  Lines       27971    28005      +34
==========================================
+ Hits        20466    20522      +56
+ Misses       7505     7483      -22

Flag
Coverage Δ

unit-tests
73.27% <100.00%> (+0.11%)
:arrow_up:

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

Impacted Files
Coverage Δ

crates/net/eth-wire/src/capability.rs
61.79% <100.00%> (ø)

crates/net/eth-wire/src/p2pstream.rs
79.40% <100.00%> (+1.69%)
:arrow_up:

crates/net/network/src/peers/manager.rs
81.70% <0.00%> (-0.20%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
59.04% <0.00%> (+0.51%)
:arrow_up:

crates/net/eth-wire/src/types/version.rs
80.00% <0.00%> (+2.22%)
:arrow_up:

crates/transaction-pool/src/test_utils/mock.rs
59.70% <0.00%> (+6.59%)
:arrow_up:

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