Application crashes at startup

Dev Home version
v<IP_ADDRESS>
Windows build number
10.0.22621.1702
Other software
No response
Steps to reproduce the bug
Start the application.
Expected result
The application starts.
Actual result
The application crashes without even opening a window. In the Windows event viewer, it logs an Error with the following information:
Faulting application name: DevHome.exe, version: <IP_ADDRESS>, time stamp: 0x641cef7e
Faulting module name: Microsoft.UI.Xaml.dll, version: <IP_ADDRESS>, time stamp: 0x87c36a2b
Exception code: 0xc000027b
Fault offset: 0x000000000035fb2c
Faulting process id: 0x0x4E58
Faulting application start time: 0x0x1D98E5BFAF89FDB
Faulting application path: C:\Program Files\WindowsApps\Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe\DevHome.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsAppRuntime.1.3_3000.851.1712.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
Report Id: 34175ff5-2b0f-409d-acdf-847c1dee65b8
Faulting package full name: Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Included System Information
No response
Included Extensions Information
No response

I have the same issue so I tried running in with WinDbg attached and this is the errors that I get:
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): CLR exception - code e0434352 (first chance)
(639c.95a0): Windows Runtime Originate Error - code 40080201 (first chance)
onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF8623015EF) ReturnHr(11) tid(95a0) 8007007E The specified module could not be found.
Microsoft.UI.Xaml.dll!00007FFF4782ABDE: 80131500 - onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF86249CC72) ReturnHr(12) tid(95a0) 8007007E The specified module could not be found.
onecore\com\combase\winrt\error\restrictederror.cpp(1017)\combase.dll!00007FF8622FC07A: (caller: 00007FF86249C64E) ReturnHr(13) tid(95a0) 8007007E The specified module could not be found.
ModLoad: 00007fff`d57e0000 00007fff`d5f17000   C:\WINDOWS\System32\DriverStore\FileRepository\nvmdig.inf_amd64_29b69e720c94d54e\Display.NvContainer\MessageBus.dll
ModLoad: 00007ff8`61160000 00007ff8`611d1000   C:\WINDOWS\System32\WS2_32.dll
ModLoad: 00007ff8`5e630000 00007ff8`5e65d000   C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
(639c.9570): C++ EH exception - code e06d7363 (first chance)
(639c.9570): C++ EH exception - code e06d7363 (first chance)
(639c.95a0): Unknown exception - code c000027b (!!! second chance !!!)
KERNELBASE!RaiseFailFastException+0x152:
00007ff8`602db2e2 0f1f440000      nop     dword ptr [rax+rax]

Callstack from WinDbg:
[0x0]   KERNELBASE!RaiseFailFastException + 0x152
[0x1]   combase!RoFailFastWithErrorContextInternal2 + 0x4d9
[0x2]   Microsoft_UI_Xaml!DirectUI::FrameworkApplication::StartDesktop + 0x1c39a8
[0x3]   Microsoft_UI_Xaml!DirectUI::FrameworkApplicationFactory::Start + 0x6e
[0x4]   0x7ffef61dea6d
[0x5]   Microsoft_WinUI!ABI.Microsoft.UI.Xaml.IApplicationStaticsMethods.Start + 0x102
[0x6]   DevHome_r2r + 0x25d178e
[0x7]   coreclr!CallDescrWorkerInternal + 0x83
[0x8]   coreclr!MethodDescCallSite::CallTargetWorker + 0x176
[0x9]   coreclr!MethodDescCallSite::Call + 0xb
[0xa]   coreclr!RunMainInternal + 0x11f
[0xb]   coreclr!RunMain + 0xd2
[0xc]   coreclr!Assembly::ExecuteMainMethod + 0x1c9
[0xd]   coreclr!CorHost2::ExecuteAssembly + 0x1c6
[0xe]   coreclr!coreclr_execute_assembly + 0xe2
[0xf]   hostpolicy!coreclr_t::execute_assembly + 0x2a
[0x10]   hostpolicy!run_app_for_context + 0x56b
[0x11]   hostpolicy!run_app + 0x3c
[0x12]   hostpolicy!corehost_main + 0x107
[0x13]   hostfxr!execute_app + 0x2e9
[0x14]   hostfxr!`anonymous namespace'::read_config_and_execute + 0xa6
[0x15]   hostfxr!fx_muxer_t::handle_exec_host_command + 0x161
[0x16]   hostfxr!fx_muxer_t::execute + 0x482
[0x17]   hostfxr!hostfxr_main_startupinfo + 0xab
[0x18]   apphost!exe_start + 0x8d8
[0x19]   apphost!wmain + 0xab
[0x1a]   apphost!invoke_main + 0x22
[0x1b]   apphost!__scrt_common_main_seh + 0x10c
[0x1c]   KERNEL32!BaseThreadInitThunk + 0x1d
[0x1d]   ntdll!RtlUserThreadStart + 0x28

I get this as well. Never managed to open the app at all.

Just to confirm, v0.2 still crashes on startup every time.

Also v0.3 crashes on startup for me.

Same issue for me on an azure virtual machine; however,  I don't get any events. When I try to run devHome as an admin, from it's root path I get the following:
Program 'DevHome.exe' failed to run: Access is deniedAt line:1 char:1

Runs fine on Windows 11 insider preview on my laptop, but not Windows 11 std with TPM/disabled install on my PC. Any chance it's doing some crypto/security setup at initialization that requires TPM?
PS - Until someone buys me a new PC this is the only way I can keep up with Windows.

I have TPM enabled and it's crashing every time anyway.

Still happens with 0.4.

Kinda surprising that a Microsoft Development tool is completely borked for this long and there doesn't appear to be any real energy to resolve it. Installed every version since release and it has never gotten beyond the spinning cursor.

Still not solved in v0.5, doesn't seem like anyone is looking in to this at all.
In case it helps with more info, I have a Windows 11 system, fully up to date. It's an AMD Ryzen CPU and I have plenty of RAM and SSD storage available. It's a development computer, it's well maintained. I have no similar issues with any other software from Microsoft or otherwise, just DevHome.

I'm trying to debug the startup process using Visual Studio and I'm getting dependency injection validation exceptions.
PackageViewModel depends on missing IWinGetPackage
System.InvalidOperationException: Error while validating the service descriptor 'ServiceType: DevHome.SetupFlow.ViewModels.PackageViewModel Lifetime: Transient ImplementationType: DevHome.SetupFlow.ViewModels.PackageViewModel': Unable to resolve service for type 'DevHome.SetupFlow.Models.IWinGetPackage' while attempting to activate 'DevHome.SetupFlow.ViewModels.PackageViewModel'.
 ---> System.InvalidOperationException: Unable to resolve service for type 'DevHome.SetupFlow.Models.IWinGetPackage' while attempting to activate 'DevHome.SetupFlow.ViewModels.PackageViewModel'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(ICollection`1 serviceDescriptors, ServiceProviderOptions options)

PackageCatalogViewModel depends on missing PackageCatalog
System.InvalidOperationException: Error while validating the service descriptor 'ServiceType: DevHome.SetupFlow.ViewModels.PackageCatalogViewModel Lifetime: Transient ImplementationType: DevHome.SetupFlow.ViewModels.PackageCatalogViewModel': Unable to resolve service for type 'DevHome.SetupFlow.Models.PackageCatalog' while attempting to activate 'DevHome.SetupFlow.ViewModels.PackageCatalogViewModel'.
 ---> System.InvalidOperationException: Unable to resolve service for type 'DevHome.SetupFlow.Models.PackageCatalog' while attempting to activate 'DevHome.SetupFlow.ViewModels.PackageCatalogViewModel'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(ICollection`1 serviceDescriptors, ServiceProviderOptions options)

AddRepoViewModel depends on missing 'System.Collections.Generic.List`1[DevHome.SetupFlow.Models.CloningInformation]
System.InvalidOperationException: Error while validating the service descriptor 'ServiceType: DevHome.SetupFlow.ViewModels.AddRepoViewModel Lifetime: Transient ImplementationType: DevHome.SetupFlow.ViewModels.AddRepoViewModel': Unable to resolve service for type 'System.Collections.Generic.List`1[DevHome.SetupFlow.Models.CloningInformation]' while attempting to activate 'DevHome.SetupFlow.ViewModels.AddRepoViewModel'.
 ---> System.InvalidOperationException: Unable to resolve service for type 'System.Collections.Generic.List`1[DevHome.SetupFlow.Models.CloningInformation]' while attempting to activate 'DevHome.SetupFlow.ViewModels.AddRepoViewModel'.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(ResultCache lifetime, Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain, Int32 slot)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.GetCallSite(ServiceDescriptor serviceDescriptor, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.ValidateService(ServiceDescriptor descriptor)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider..ctor(ICollection`1 serviceDescriptors, ServiceProviderOptions options)

Right after those exceptions the application crashes in a way I am unable to debug.

I just realized something. The thing that is crashing is the dependency injection validation which is a development only feature, it is not enabled in production. So I tried removing my DOTNET_ENVIRONMENT=Development environment variable and all of a sudden Dev Home runs just fine. This is quite an oversight on a development tool. Obviously dependency injection should be correctly configured which is it not.
I still can't get Dev Drive to show up though in the Windows settings for some reason. And I am no longer allowed to uninstall and reinstall Dev Home either.

So I tried removing my DOTNET_ENVIRONMENT=Development environment variable and all of a sudden Dev Home runs just fine.

You found it! I also have a system environment variable for DOTNET_ENVIRONMENT = DEVELOPMENT for safety. As soon as I remove it, I can run Dev Home!

Great! Should be easy for Microsoft to fix the issue now. I would open a PR but I'm not sure exactly which services should or need to be registered. I opened a separate issue for the Dev Drive problem I'm having.

Thanks everyone for helping with the investigation! @DavidZidar, I was able to repro with the steps you've mentioned and pushed a fix to the main branch. Please feel free to validate from your end as well.

@AmelBawa-msft Looks good to me! I had a look at the changes and tested it and it works on my end even with the environment variable. 🎉

No longer crashing here, thanks 👍

@cinnamon-msft Can you guys look into this? I think I have identified the problem, see above. This issue is not only blocking the use of the application Dev Home but is also blocking the use of Dev Drive.

Out of interest what about Dev Drive isn't working for you?
I am able to create them through the Settings app, but when I run fsutil devdrv query D: I get This is not a developer volume. which is odd and concerning.

@mdsharpe Apparently there's a specific Windows Update patch that enables Dev Drive that I am not getting no matter how many times I check for updates (yes, I do follow the instructions). I opened a separate issue #1622, but I've realized it doesn't really have anything to with Dev Home. It's still not working though.

Can you guys look into this? I think I have identified the problem, see above. This issue is not only blocking the use of the application Dev Home but is also blocking the use of Dev Drive.

@DavidZidar Out of interest what about Dev Drive isn't working for you?
I am able to create them through the Settings app, but when I run fsutil devdrv query D: I get This is not a developer volume. which is odd and concerning.

@mdsharpe - is your device an enterprise/IT managed device (eg: Intune, configmgr)? If so there is a bug that was just fixed in the latest cumulative update KB5031455.
Once this is applied, the drive should be mounted as a Dev Drive with Defender Performance Mode/Async scanning. If it is not recognized as a developer volume, it is being treated as a regular REFS drive and not getting async scanning.

Thanks @DavidZidar and @AdamBraden, can confirm KB5031455 has fixed this for me.

KB5031455 fixed my Dev Drive issue as well! 🎉


Vercel analytics changes mean a guide is no longer useful

Hi, I've been trying to setup Vercel analytics however they seem to have made some changes to it since the last time an issue on the topic was answered.
I've been following the discussion here, but the steps to setting up analytics seem to have changed, leaving me very lost as what I need to do.

Even when I follow the steps in the guide there is no audience tab in the vercel analytics anymore.

Hello there. I was in a similar situation and I got a response from @dominoto in this discussion page: https://github.com/oleeskild/obsidian-digital-garden/discussions/195.
You could try that as well, hope that works for you.
Have a nice day.


Enable windows support in controller by default

Issue #, if available: #4, #17
Description of changes:
Enabling Support for Windows IPv4 Address Management in the new controller by default.
Fix the following issues by introducing Re-Sync API in Warm Pool.

If User manually deletes the resources, the Pool should re-sync instead of failing continuously.
If the Async Resource creation times out, the Pool should re-sync with upstream resources.
Fix Issue where Pod with terminationGracePeriodSeconds is zero and Pod is terminated immediately after creation, the Pod Annotation on delete event will not contain the Resource and the resource would be leaked.
Fix issue where Pod with same namespace/name is annotated resource of the previous Pod.

Automation Tests

Stress Test
Integration Tests
Add Integration tests to CI

In next PR, we will expose a flag to enable this feature via ConfigMap
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This https://github.com/aws/amazon-vpc-resource-controller-k8s/pull/50#discussion_r709679715 was the major comment. I reviewing rest of the code in pkg, and will be done tomorrow.
Thank you.

Would appreciate review of the file [Link]  from original component owners.
cc @wangamel (for fargate) @haouc (for sgp)


KeyError on power_bi.get_member_properties with hierarchy

Describe` what did you try to do with TM1py
Pull a hierarchy into PowerBI as per the example here https://code.cubewise.com/tm1py-help-content/getting-tm1-data-into-power-bi
Describe what's not working the way you expect
Didn't get the expected result? Describe:

List of members in the Business Line hierarchy of the CostCentre dimension
Code below returns KeyError: 'CostCentre'

import configparser
import os

from TM1py import TM1Service
config = configparser.ConfigParser()
directory = os.path.dirname(os.path.abspath(__file__))
os.chdir(directory)
config.read('../config.ini')

with TM1Service(**config["tm1BCProdsrv01"]) as tm1:
    print(tm1.server.get_product_version())
    business_line=tm1.power_bi.get_member_properties(
        dimension_name="CostCentre"
        , hierarchy_name="Business Line"
        , member_selection="Tm1DrillDownMember({[CostCentre].[Business Line].[All Business Line]},All, Recursive)"
        # , skip_consolidations=False
        , attributes=["Code Caption", "Business Line"]
        # , parent_attribute="Business Line"
        # , skip_parents=False
    )
    print(business_line)

Version

TM1py 1.6.2
TM1 Server Version: 11.8.00500.12 on-cloud

Additional context
If you encounter an error, please add the error message and the stack trace

Is you member selection correct? i.e.[ All business Lines]?

Hi Josh, yes this is correct.  I am able to pull in the members using vanilla REST with the following
Dimensions('CostCentre')/Hierarchies('Business Line')/Members?$select=Name&$expand=Element($select=Name,Type,Attributes)
But then I get some miscellaneous consolidations that I do not need in Power BI.
Here is a screenshot of my Hierarchy...

Are you able to provide the traceback? This should pinpoint where the exception is being raised.  Ie this is where I was able to replicate the KeyError by misspelling the member selection, thinking this might have been the issues.
Traceback (most recent call last):
File "c:\Users\username\Envs\tm1py_dev\power_bi.py", line 13, in
business_line=tm1.power_bi.get_member_properties(
File "c:\users\username\envs\tm1py_dev\src\tm1py\TM1py\Utils\Utils.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "c:\users\username\envs\tm1py_dev\src\tm1py\TM1py\Services\PowerBiService.py", line 146, in get_member_properties
return pd.merge(df, df_data, on=dimension_name).drop_duplicates()
File "C:\Users\username\Envs\tm1py_dev\lib\site-packages\pandas\core\reshape\merge.py", line 74, in merge
op = _MergeOperation(
File "C:\Users\username\Envs\tm1py_dev\lib\site-packages\pandas\core\reshape\merge.py", line 668, in init
) = self._get_merge_keys()
File "C:\Users\username\Envs\tm1py_dev\lib\site-packages\pandas\core\reshape\merge.py", line 1033, in _get_merge_keys
right_keys.append(right._get_label_or_level_values(rk))
File "C:\Users\username\Envs\tm1py_dev\lib\site-packages\pandas\core\generic.py", line 1684, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'Cost Centre'

Yes, here it is.  Looks similar to yours.
PS H:\Projects\TM1\TM1Py> & C:/Users/Craig.Sawers/AppData/Local/Programs/Python/Python39/python.exe h:/Projects/TM1/TM1Py/TestScripts/PowerBI.py
Traceback (most recent call last):
  File "h:\Projects\TM1\TM1Py\TestScripts\PowerBI.py", line 12, in <module>
    business_line=tm1.power_bi.get_member_properties(
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\TM1py\Utils\Utils.py", line 52, in wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\TM1py\Services\PowerBiService.py", line 146, in get_member_properties
    return pd.merge(df, df_data, on=dimension_name).drop_duplicates()
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 74, in merge
    op = _MergeOperation(
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 668, in __init__
    ) = self._get_merge_keys()
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 1033, in _get_merge_keys
    right_keys.append(right._get_label_or_level_values(rk))
  File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\generic.py", line 1684, in _get_label_or_level_values
    raise KeyError(key)
KeyError: 'CostCentre'
PS H:\Projects\TM1\TM1Py>

Please note that the attributes Code Caption and Business Line are empty for some elements.  Could this be an issue?
Thanks,
Craig.

Ok, so the Dataframe that is returned does not have the Dimension name in it, it has the Hierarchy Name. Then the dataframe merge operation is passed the Dimension Name.

#553 created to resolve the issue.

Hi Josh, I added these 2 lines to my local copy but I am still getting the same error.
# override hierarchy name
df_data.rename(columns={0:dimension_name})

Just to confirm, you made a change to "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\TM1py\Services\PowerBiService.py" from the traceback above?

I've made another commit to make the rename operation more robust. Also tested with various options enabled in main function to ensure default, and member selection, and selected, or no properties passed.

Yes I did, I also included a Print statement just to ensure I was using the right file and the change 'stuck' and the print statement executed.
code:
mdx = f"""
        {mdx_with_block}
        SELECT
        {{ {member_selection} }} ON ROWS,
        {{ {column_selection} }} ON COLUMNS
        FROM [{self.elements.ELEMENT_ATTRIBUTES_PREFIX + dimension_name}]
        """

        df_data = self.execute_mdx(mdx)

        # override hierarchy name
        df_data.rename(columns={0:dimension_name})
        print("rename columns!!")

        # shift levels to right hand side
        if not skip_parents:

and output:```
PS H:\Projects\TM1\TM1Py> & C:/Users/Craig.Sawers/AppData/Local/Programs/Python/Python39/python.exe h:/Projects/TM1/TM1Py/TestScripts/PowerBI.py
rename columns!!
Traceback (most recent call last):
File "h:\Projects\TM1\TM1Py\TestScripts\PowerBI.py", line 12, in
business_line=tm1.power_bi.get_member_properties(
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\TM1py\Utils\Utils.py", line 52, in wrapper
return func(self, *args, **kwargs)
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\TM1py\Services\PowerBiService.py", line 150, in get_member_properties
return pd.merge(df, df_data, on=dimension_name).drop_duplicates()
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 74, in merge
op = _MergeOperation(
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 668, in init
) = self._get_merge_keys()
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\reshape\merge.py", line 1033, in _get_merge_keys
right_keys.append(right._get_label_or_level_values(rk))
File "C:\Users\Craig.Sawers\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\core\generic.py", line 1684, in _get_label_or_level_values
raise KeyError(key)
KeyError: 'CostCentre'
PS H:\Projects\TM1\TM1Py>

Hi @casolutions2,
I would like to reproduce this situation.
Can you post a zip file that includes the cube (.cub), the dimensions (.dim), and the element attributes (.cub + .dim) of the dimensions?
If data is sensitive can post a simplified reproduction of your situation?

region.zip
I have tried this code with a few of my dimension hierarchies (including the Leaves hierarchy) and they all come back with the same error.  I have attached a simple dimension with 2 alternate hierarchies, RDNSPackage and Leaves.  Trying the code with either alternate hierarchy in hierarchy_name= resulted in KeyError: 'Region'
Thanks

Hi @casolutions2,
sorry for the late reply. I can't reproduce the error. Below code works for me on your data
from TM1py import TM1Service

with TM1Service(address='', port=12297, ssl=True, user='admin', password='apple') as tm1:
    print(tm1.server.get_product_version())

    regions = tm1.power_bi.get_member_properties(
        dimension_name="Region",
        hierarchy_name="RDNSPackage",
        member_selection="Tm1DrillDownMember({[Region].[RDNSPackage].[All Consolidations]},All, Recursive)",
        attributes=["Country Code", "Currency"])
    print(regions)


Python interface

We already have a simple R interface, one that relies on system calls rather than the more sophisticated 'rextendr' approach #22: https://github.com/atumworld/odrust
It would be good to have a Python interface. Any Python developers out there very welcome to help out with this!

Here is an approach by @pkopparla that uses maturin: https://github.com/zonebuilders/zonebuilder-py/
If you're interested in another Rust/Py interface project let us know Pushkar and thanks for great work on zonebuilder!

Another example: https://github.com/pola-rs/polars/tree/master/py-polars

Hey Robin, thanks for thinking of me. Unfortunately, I'm in the middle of a job hunt and don't have the mental space right now to start something new. I'm in the georust discord, so I'll follow things there and maybe pitch in once I have a little more time.


RangeError (end): Invalid value: Not in range 0..50, inclusive: 56 from LanguageModel.predictWithScores

RangeError (end): Invalid value: Not in range 0..50, inclusive: 56 from LanguageModel.predictWithScores
@lambdabaa - I saw this on an external Dart SDK (one built from master this morning). Do you know why I would have seen this? (and, we should harden the logic here)
Version information

IDEA IC-192.7142.36
2.7.0-edge.d45c3d15cb3cea0104a87697c085259666eec528
IC-192.7142.36, JRE 11.0.4+10-b304.77x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14.6, screens 1680x1050  Retina

Exception
Dart analysis server, SDK version 2.7.0-edge.d45c3d15cb3cea0104a87697c085259666eec528, server version 1.27.4, FATAL error: RangeError (end): Invalid value: Not in range 0..50, inclusive: 56
#0      RangeError.checkValidRange (dart:core/errors.dart:333:9)
#1      _TypedDoubleListMixin.setRange (dart:typed_data-patch/typed_data_patch.dart:754:18)
#2      _DoubleListMixin.setAll (dart:typed_data-patch/typed_data_patch.dart:735:5)
#3      LanguageModel._transformInput (package:analysis_server/src/services/completion/dart/language_model.dart:97:9)
#4      LanguageModel.predictWithScores (package:analysis_server/src/services/completion/dart/language_model.dart:74:21)
#5      entrypoint.<anonymous closure> (package:analysis_server/src/services/completion/dart/completion_ranking.dart:39:34)
#6      _RootZone.runUnaryGuarded (dart:async/zone.dart:1314:10)
#7      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#8      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#9      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:764:19)
#10     _StreamController._add (dart:async/stream_controller.dart:640:7)
#11     _StreamController.add (dart:async/stream_controller.dart:586:5)
#12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

cc @bwilkerson

Actually, this was from a dart sdk from flutter:
[✓] Flutter (Channel master, v1.10.17-pre.60, on Mac OS X 10.14.6 18G103, locale en-US)
    • Flutter version 1.10.17-pre.60 at /Users/devoncarew/projects/flutter/flutter
    • Framework revision 99055c754a (3 hours ago), 2019-11-12 08:04:48 -0800
    • Engine revision 31cd2dfca2
    • Dart version 2.7.0


Use plugins block rather than apply plugin:

Description of changes:
Use plugins block rather than apply plugin:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@martinschaef Could you review this?


Create e2e tests for smartpy plugin command

Description
As an SDET, I want to provide quality for the smartpy plugin, so I need to create tests for each command implemented by the plugin.
Acceptance Criteria

[ ] Test for command compile
[ ] Test for compile fileName

@russellmorton @hu3man I think this can be closed, we have these tests already for the smartpy plugin covered in https://github.com/ecadlabs/taqueria/issues/229

Thanks @alexzbusko.
Closing. Covered in #229


Cannot pipe stream from createDiffStream.

When I try and pipe the stream returned from db.createDiffStream() I get this error:

Uncaught TypeError: Invalid data, chunk must be a string or buffer, not object

Here is an example to replicate.
var db = hyperdb(ramStore)
db.put('/hello', 'world', () => {
      var stream = db.createDiffStream('/')
      stream.pipe(process.stdout)
      stream.on('end', done)
})

This throws for any destination stream - including PassThrough.
I am using node v6.11.2
Will these PR’s will fix this issue - https://github.com/mafintosh/hyperdb/pull/24, https://github.com/mafintosh/hyperdb/pull/23?

Hey @e-e-e. db.createDiffStream() returns an object stream, not a buffer stream (like process.stdout). You'll need to pipe it into a stream that uses a object mode.

@noffle thanks so much for clarifying. I didn't know about object mode - so also super nice to refine my understanding of nodes stream api.


New Source and Constraint API

This PR alters the API for Source in order to simplify the initialization sequence and especially break the dependency on Blend to perform the source initialization. It offers more flexibility to use different initialization functions and clarify what needs to be present for a proper Source.
It does that by defining a base class Source, which can be constructed only if sed, morphology, center, and constraints are defined. It's the duty of any derived class to do so. For convenience, I've implemented PointSource and ExtendedSource, with default inits and constraints (positivity, symmetry, monotonicity) that we've been using on sims and real data.
For good measure, I've also cleaned up the constraints specification. Instead of an undocumented dict, we now have a Constraint base class and derived classes, e.g. L1Constraint, with all necessary arguments. They can be combined with the & operator to create a ConstraintList, which is what Source expects to get.
These changes substantially clarify both Source and Constraint behavior and will make it straightforward to move some of the constraint operations to the C++ layer.

Quick response to the more general points:

The separation of Source base class methods from the initialization is hard to do without duplicating code. This is why I am calling empty class methods. Slightly inelegant, but I think fine.
The docstrings are missing because I didn’t have the time. Help appreciated ...
Testing is a fair request, but not for a PR.


fix dev when using scaler/updater

Fixes issues when using updater & scaler in development, mimics the docker-compose appliance values (where applicable).

Codecov Report

Merging #536 (3a39447) into master (19e1700) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #536   +/-   ##
=======================================
  Coverage   71.41%   71.42%
=======================================
  Files         118      118
  Lines       10653    10653
=======================================
+ Hits         7608     7609    +1
+ Misses       3045     3044    -1

Impacted Files
Coverage Δ

assemblyline/odm/randomizer.py
93.42% <0.00%> (-0.44%)
:arrow_down:

assemblyline/odm/random_data/__init__.py
86.43% <0.00%> (+0.38%)
:arrow_up:

assemblyline/datasource/alert.py
92.30% <0.00%> (+3.84%)
:arrow_up:

Continue to review full report at Codecov.

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


Logging and Monitoring not available for Ubuntu 22.04 LTS Jammy

On a ubuntu:22.04 docker image and a gce instance using 22.04, the installation of the logging role fails with the following output:
TASK [google-cloud-ops-agents-ansible : Add repo and install agent or remove repo and uninstall agent] ***
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (5 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (4 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (3 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (2 retries left).
FAILED - RETRYING: Add repo and install agent or remove repo and uninstall agent (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": ["bash", "add-logging-agent-repo.sh", "--also-install", "--version=latest"], "delta": "0:00:01.648203", "end": "2022-06-30 18:49:05.379330", "msg": "non-zero return code", "rc": 1, "start": "2022-06-30 18:49:03.731127", "stderr": "E: The repository 'https://packages.cloud.google.com/apt google-cloud-logging-jammy-all Release' does not have a Release file.\n[2022-06-30T18:49:05+0000] Could not refresh the google-cloud-logging apt repositories.\nPlease check your network connectivity and make sure you are running a supported\nubuntu distribution. See https://cloud.google.com/logging/docs/agent/#agent-os-list\nfor a list of supported platforms.", "stderr_lines": ["E: The repository 'https://packages.cloud.google.com/apt google-cloud-logging-jammy-all Release' does not have a Release file.", "[2022-06-30T18:49:05+0000] Could not refresh the google-cloud-logging apt repositories.", "Please check your network connectivity and make sure you are running a supported", "ubuntu distribution. See https://cloud.google.com/logging/docs/agent/#agent-os-list", "for a list of supported platforms."], "stdout": "Hit:1 http://packages.cloud.google.com/apt cloud-sdk InRelease\nIgn:2 https://packages.cloud.google.com/apt google-cloud-logging-jammy-all InRelease\nErr:3 https://packages.cloud.google.com/apt google-cloud-logging-jammy-all Release\n  404  Not Found [IP: <IP_ADDRESS> 443]\nHit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease\nHit:5 http://archive.ubuntu.com/ubuntu jammy InRelease\nHit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease\nHit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease\nReading package lists...", "stdout_lines": ["Hit:1 http://packages.cloud.google.com/apt cloud-sdk InRelease", "Ign:2 https://packages.cloud.google.com/apt google-cloud-logging-jammy-all InRelease", "Err:3 https://packages.cloud.google.com/apt google-cloud-logging-jammy-all Release", "  404  Not Found [IP: <IP_ADDRESS> 443]", "Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease", "Hit:5 http://archive.ubuntu.com/ubuntu jammy InRelease", "Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease", "Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease", "Reading package lists..."]}

In particular: The repository 'https://packages.cloud.google.com/apt google-cloud-logging-jammy-all Release' does not have a Release file.
If we check the listing of the packages, we can see that google-cloud-network-logging-jammy and google-cloud-network-monitoring-jammy are missing, while google-cloud-ops-agent-jammy-all exists. I expect both of these packages to exist.
Package listing: https://packages.cloud.google.com/apt/dists

It's entirely possible that this is not a real issue, if the logging and monitoring packages are officially deprecated in Jammy. For my purposes, I installed the ops-agent and then disabled monitoring through a custom configuration.

Hi, Ubuntu 22.04 support is available for Ops Agent: https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent#supported_operating_systems
Ops Agent is the new unified agent that handles both logging and metrics. If you are using the legacy standalone logging and monitoring agents, we highly recommend upgrading to Ops Agent instead (https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/transition#migrate_legacy) to get the latest operating system support and new features.


Any plan for Swin Transformer?

Describe the feature
Hi there!
Is there any plan for Swin Transformer?

Hi @bityangke Hi, thanks for your advice. Swin Transformer is a famous work, we will provide it recently.


The entry for MCOEV seems outdated

Hello
The description  SKYPE   FOR BUSINESS CLOUD PBX
for MCOEV
seems to me outdated, as Microsoft refer it now as 'Phone System'.

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Azure AD
Content Source: articles/active-directory/users-groups-roles/licensing-service-plan-reference.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @kkern
Microsoft Alias: kakern

@jfo-ta Thank you for your feedback . We will have this reviewed and update the same as necessary .

@jfo-ta Thank you for pointing that out. WE verified this internally and have raised a pull request for fixing it in the current document . Once it is reviewed by the maintainers this will be updated in the next 48 hours. We will now close this issue . Should you still have any further queries , please feel free to tag me to your reply and I will be happy to help . Alternatively if I am not available , you can always open a new issue referencing this one and it will be looked into by our team .
Thank you.


Help with implementing the Special Orthogonal Group class

Hello, in my application, I would like to parametrize a square matrix by its eigendecomposition so that I can control the eigenvalues. For this, I need Special Orthogonal Group parametrizations. In the repo, there is working code for the Unitary Group but not for Special Orthogonal Groups. Can you give me a few tips so that I can implement this using your classes?

For my application, I need to constrain the eigenvalues of a square matrix W so that the absolute values of all its eigenvalues are less than or equal to c for some c < 1. Is using your approach to parametrize W by using QLQ^T and parametrizing Q by your approach the best way to do this? Any help is much appreciated.


ApplicativeDo

Can this just be cherry-picked from GHC upstream?

@DemiMarie Yes of course. I think this extension is fairly isolated. But the goal is no major frontend changes until tests/benchmarks are setup (should be up within the coming weeks).

Closing as this is a language change, this should follow the Eta Proposal Process:
https://github.com/typelead/eta-proposals

Re-opening to track that we want to backport. @jneira

The base ghc commit to backport wold be https://github.com/ghc/ghc/commit/8ecf6d8f7dfee9e5b1844cd196f83f00f3b6b879 ?

I would recommend you start with the current master because it will include bug fixes/updates.

Backported ApplicativeDo in f6ebc0ae3058016379131b086c0ee5f0cf01412a


Half working with DC18RQ.NSK with opto-isolator hardware

I'm trying to get your controller code working using @AussieMakersGeek's level shifter/opto isolator setup with a DC18RQ.NSK model.
It seems to be working somewhat, in that I see certain sensors being updated in HA (for instance, the outdoor unit and preheat states). Also, I can change the airflow sensor in HA and the AC picks it up.
However, a lot of things don't work: reading/setting the mode, reading/setting the target temperature, etc.
The ESP32 is logging a lot of errors:
[12:09:27][D][lg-controller:1305]: update
[12:09:27][E][lg-controller:1324]: did not receive message we just sent
[12:09:33][D][lg-controller:1305]: update
[12:09:39][D][lg-controller:1305]: update
[12:09:45][D][lg-controller:1305]: update
[12:09:45][E][lg-controller:1346]: discarding incomplete data A9
[12:09:51][D][lg-controller:1305]: update
[12:09:52][D][lg-controller:861]: sending AA.<IP_ADDRESS>.<IP_ADDRESS>.02.F1.21.EA (13)
[12:09:57][D][lg-controller:1305]: update
[12:09:57][D][lg-controller:905]: received AA.C<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS> (13)
[12:09:57][E][lg-controller:915]: invalid checksum AA.C<IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS> (13)
[12:09:57][E][lg-controller:1324]: did not receive message we just sent

I'm not sure where to look. I'm perfectly willing to accept that the hardware setup that I'm using might be causing these issues, but it seems strange that some TX/RX's work (consistently) and others don't, which suggests that it might be caused by my AC perhaps using a different protocol version (if that makes sense).

which suggests that it might be caused by my AC perhaps using a different protocol version (if that makes sense).

That's unlikely. Your unit is very similar to other units that work fine with this controller.
In the log output you posted, the controller is trying to send an AA message (which controls the airflow up/down setting among other things), but there might be a conflict with the AC sending a C8 message (status message) at the same time. In this case the controller will keep sending this message until it succeeds.
Did you change the RX/TX pin numbers? In that case make sure you also change RxPin in the header file.

If you can pastebin the full log output (including controller startup + a few minutes after that) I can take a look to see if there's anything unusual.

Thanks!
Here's the log: https://pastebin.com/Qk08fFkK
I did change the RX/TX pins but edited the header file accordingly.
A few things that might be relevant:

the original schematic is showing two 270Ω resistors, I only had 220Ω. Probably not an issue though?
the original schematic is powering the level shifter from the 5V pin from an Arduino, but since I'm using an ESP32 I assumed I need to drive it from 3.3V. However, I didn't change the resistor to the optocoupler, perhaps that's problematic? I do see the LED flash whenever a message is being sent.

Here's the log: https://pastebin.com/Qk08fFkK

14:09:45: the controller sends its initial message and reads it back on the bus. The AC doesn't respond to this for a while (this means messages aren't received by the AC or are corrupted somewhere)
14:13:58: finally the unit responds by sending all its settings (part of initialization)
14:14:22: controller tries to send an AA message (it always does this after initialization) but it never reads it back on the bus, so it gets stuck trying to send this. The controller is still receiving messages from the AC occasionally.
This explains what you're seeing. The controller is stuck trying to send an AA message (this has the airflow up/down setting but not the other settings) because it fails to read it back on the bus. The controller is still processing status messages from the AC so sensors are updating.
It's very close to working (you can both send and receive messages sometimes) but communication is buggy because something isn't quite right.
Are you using a 12V / 3.3V level shifter? It could be the resistor on the ESP32 side maybe, but I'm not as familiar with this schematic.

The level shifter I'm using should support 3.3V on the low side and 12V on the high side, but I don't necessarily trust it. I'll see if I can source a proper 12/3.3V level shifter just to rule out that this is the cause.
I'll try and see if I can the resistor on the ESP32 side to match the lower voltage.
Thanks for now, I'll update this issue when I find out more.

I took the easy way out and bought two of your controllers, courtesy of @belly-89 😅
I do have an additional aircon unit (one we don't often use) that I might try when I receive the other level shifters, but I'll close the issue for now. Thanks again 😊

FWIW, you can add the DC18RQ.NSK to the list of supported devices. I didn't have an ESP32-DevKit module available so I hooked it up to an ESP32-C3 SuperMini board, which works fine (I'll clean up the wiring at a later date 😁).

FWIW, you can add the DC18RQ.NSK to the list of supported devices. I didn't have an ESP32-DevKit module available so I hooked it up to an ESP32-C3 SuperMini board, which works fine (I'll clean up the wiring at a later date 😁).

Done! I'm glad it works now with the PCB.

FWIW, you can add the DC18RQ.NSK to the list of supported devices. I didn't have an ESP32-DevKit module available so I hooked it up to an ESP32-C3 SuperMini board, which works fine (I'll clean up the wiring at a later date 😁).

Nice to see it working! 🙂


Add ability to use factory for initial reducer and update to rc.6 and rxjs-beta.11

Rxjs Update:
https://github.com/ngrx/store/issues/204
Fix for Aot compilation:
https://github.com/ngrx/store/issues/190
I am open to suggestions but wanted to start by adding a parameter to useFactory so provideStore would be backwards compatible.

Changes based on discussion here:
https://github.com/angular/angular/issues/10789

cc: @brandonroberts

Going to close this for now since I was able to get Aot to work in my app with the current version of @ngrx/store, by following the changes here: https://github.com/ngrx/example-app/pull/43
I will create a new pull request with the updated rxjs and angular versions.


Fixed link and unified capitalization

Thanks for the PR @StrikerRUS! Can we send you some LBC in appreciation?

Thanks a lot, @NetOperatorWibby! But I'd better prefer a T-shirt, as it was introduced in a blog post.

A sweet T-shirt for anyone who submits 3 PRs.

https://lbry.io/news/hacktoberfest


RDKBDEV-1330 : [RdkPppManager] Add persistance for PPPoE credentials

Reason for change: Provide platform API for saving PPP credentials Test Procedure: Change PPP credentials, reboot the device and check that they are persistent
Risks: None

https://jenkins.code.rdkcentral.com/job/github-triggered/29580/ started

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/21186/ started

Smoke tests for ['build-tur-bb'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/142119/

Job started https://jenkins.code.rdkcentral.com/job/manual-verification/3083/

Smoke tests for ['build-tur-bb'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/142123/

Smoke tests for ['build-rpi-broadband'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/142122/

https://jenkins.code.rdkcentral.com/job/github-triggered/35882/ started

https://jenkins.code.rdkcentral.com/job/build-component/73837/ started.

https://jenkinsrdkm.cmf.code.rdkcentral.com/job/github-triggered/3570/ started

Sanity tests for ['TURRIS GW BB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/15494/


Review Ticket Week 19

Performance Task Grading
 API/Control, Backend, OOP, Python and Database/Model, Backend, OOP, Python
- Contains Both API and Database Hacks
Video

.5 API (Not in video)
.95 DB
.95 CPT


/dev/random instead of /dev/urandom

Shouldn't s2n use /dev/random instead of /dev/urandom for the drbg entropy source? /dev/urandom does not guarantee quality, if there is not enough entropy available in it's pool then it will still return values, /dev/random however will block until there is enough entropy.
This change would require some code within s2n_get_urandom_data to handle the possible blocking when reading from /dev/random, and some thought would need to be given as to what to do if it does block.

With the recent changes (118cfef35a0056c78c7e9ed9c1112aab94921d2c) to support prediction resistance backed by RDRAND, do you still feel that this is an important change to S2N?

Yes, because the RDRAND instruction is not available on all systems, neither is the prediction resistance. On these systems, if /dev/urandom returned a low quality random number, then the security of s2n would be significantly weakened.

closing won't fix.

Any more details as to why you won't fix this?

I believe the issue is that everyone feels confident in trusting /dev/urandom. Have you read http://www.2uo.de/myths-about-urandom/ ? If you have read it, do you have any concerns that aren't presented in that article? Or do you believe any of the arguments presented in that article are incorrect?

I have read it, and it's still undisputed that a theoretical attack exists. It seems that the benefit of urandom not blocking significantly outweighs the impracticality of the attack though. I'm going to go and research this in my own time.


Searching for items with unaccent

Since Django 1.8, postgres contrib allows for unaccent functionality. For example when Helene is searched for, Hélène would be returned as well, using Person.objects.filter(first_name__unaccent=u"Hélene")
As an enhancement, it would be great if Django-Autocomplete-Light would also allow this possibility as a setting in its registry.

Can we have unaccent__icontains instead of __icontains by default if the database used by the chocies queryset supports unnacent in https://github.com/yourlabs/django-autocomplete-light/blob/master/autocomplete_light/autocomplete/model.py#L129 ?

That'd even be better. Any idea on how to verify whether the DB has unaccent support?
We can't just use unaccent for everything as this will fail for DBs that don't have this functionality.

True, so we want unaccent__icontains instead of __icontains if AUTOMPLETE_LIGHT_ENABLE_UNACCENT is set or something like that right ?

I'm using this hack for now with the back tick prefix character until the correct way forward emerges:
--- autocomplete/model.py.orig  2015-10-11 00:30:24.000000000 -0400
+++ autocomplete/model.py       2015-10-11 00:44:30.614688720 -0400
@@ -138,6 +138,8 @@
return "%s__iexact" % field_name[1:]
elif field_name.startswith('@'):
return "%s__search" % field_name[1:]

   elif field_name.startswith('`'):

       return "%s__unaccent__istartswith" % field_name[1:]
   else:
       return "%s__icontains" % field_name


txpool to consider available gas in Best call

Take gas into consideration when calling Best, the idea being to run down the top transactions looking for those that won't overdo it on the gas front.  We won't know until actual execution but it gets us some of the way there.

Now that I have permissions for branches here I'm going to open up a new PR for a branch in the ledgerwatch repo for this to address the point there on uint64 underflow.


Please tag the 1.7.1 release

Version 1.7.1 appears to have been released with 312e3b740afbc9dbc8b8a539d4fb0d510b614779, but no tag has been made. Could you please add a tag for that commit so that all kinds of automations can kick in?

1.7.1 is a rolling version tag of a current development version. In a traditional semver it would be named 1.8.0-alpha1. The exact commit in which version was changed to 1.7.1 is not recommended for anyone to use. If you want to use the latest version, you need to use TDLib from master, which contains some important improvements.

Ah, ok, thanks for clarifying this!


StopPropagation

Hi, i have a chart inside a div with an @onclick function.
I want to stop click propagation.
If i click in the chart, for example, a doughnut with the click handler (from your samples)
OnClick = new DotNetInstanceClickHandler(OnClickHandler)
i dont want to run the onclick from the parent div.
Describe the feature request
With ASP.NET Core 3.1 there is a new option to do this (https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-core-3-1-preview-2):
@onclick:stopPropagation="true"
But is not working with the chart component.
Which charts does this feature request apply to?
all charts
Describe the solution you'd like
If i add @onclick:stopPropagation="true" to the chart, run OnClickHandler but not propagate to his parent div clickevent.
Describe alternatives you've considered
Other parameters, etc.
Additional context
Thanks in advance.

Thanks for the report!
What is the error you're getting? Does it just not stop the propagation? But is not working with the chart component. is a bit vague 😅.
I'd assume it's because we dont have the onclick event in the components or does blazor do that automatically?

Sorry. Yes, it's because the component doesn't have the onclick event.
System.InvalidOperationException: Object of type 'ChartJs.Blazor.Charts.ChartJsPieChart' does not have a property matching the name '__internal_stopPropagation_onclick'.    at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.ThrowForUnknownIncomingParameterName(Type targetType, String parameterName)    at Microsoft.AspNetCore.Components.Reflection.ComponentProperties.SetProperties(ParameterView& parameters, Object target)    at Microsoft.AspNetCore.Components.ParameterView.SetParameterProperties(Object target)    at Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(ParameterView parameters)    at Microsoft.AspNetCore.Components.Rendering.ComponentState.SetDirectParameters(ParameterView parameters)    at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewComponentFrame(DiffContext& diffContext, Int32 frameIndex)    at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewSubtree(DiffContext& diffContext, Int32 frameIndex)    at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)    at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl)    at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.ComputeDiff(Renderer renderer, RenderBatchBuilder batchBuilder, Int32 componentId, ArrayRange1 oldTree, ArrayRange1 newTree)    at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)    at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)    at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() --- End of stack trace from previous location where exception was thrown ---    at Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.HandleException(Exception exception)    at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()    at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessPendingRender()    at Microsoft.AspNetCore.Components.RenderTree.Renderer.AddToRenderQueue(Int32 componentId, RenderFragment renderFragment)    at Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()    at Microsoft.AspNetCore.Components.ComponentBase.CallOnParametersSetAsync()    at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()    at Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.HandleException(Exception exception)    at Microsoft.AspNetCore.Components.RenderTree.Renderer.AddToPendingTasks(Task task)    at Microsoft.AspNetCore.Components.Rendering.ComponentState.SetDirectParameters(ParameterView parameters)    at Microsoft.AspNetCore.Components.RenderTree.Renderer.RenderRootComponentAsync(Int32 componentId, ParameterView initialParameters)    at Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.CreateInitialRenderAsync(Type componentType, ParameterView initialParameters)    at Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.RenderComponentAsync(Type componentType, ParameterView initialParameters)    at Microsoft.AspNetCore.Components.Rendering.RendererSynchronizationContext.<>c__111.<b__11_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.ViewFeatures.StaticComponentRenderer.PrerenderComponentAsync(ParameterView parameters, HttpContext httpContext, Type componentType)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ComponentRenderer.PrerenderedServerComponentAsync(HttpContext context, ServerComponentInvocationSequence invocationId, Type type, ParameterView parametersCollection)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ComponentRenderer.RenderComponentAsync(ViewContext viewContext, Type componentType, RenderMode renderMode, Object parameters)
at HTTrackingWeb.Pages.Pages__Host.b__10_1() in C:\Proyectos\HTTracking\HTTrackingWeb\Pages_Host.cshtml:line 167
at Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync()
at HTTrackingWeb.Pages.Pages__Host.ExecuteAsync()
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts)
at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode)    at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable1 statusCode)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|21_0(ResourceInvoker invoker, IActionResult result)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|29_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)`

Ahh I see.
Do you know how to fix this? It's weird that visual studio autocompletes @onclick and even @onclick:stopPropagation but then throws a runtime error :/
If we need to manually create parameters like OnClick and OnClickStopPropagation, OnHover and OnHoverStopPropagation,.. just to delegate them to the div or canvas event, it will become very tedious.

Since version 2.0 was just released, could you please try to reproduce the issue on the latest version? It might also be interesting to see if .NET 5 changes anything.


Refactor to align with updated style guide

https://github.com/softlayer/ember-style-guide#defining-functions-to-be-called-when-events-are-triggered

didInsertElement() - https://github.com/softlayer/sl-ember-components/blob/v0.11.0/addon/components/sl-input.js#L105
willClearRender() - https://github.com/softlayer/sl-ember-components/blob/v0.11.0/addon/components/sl-input.js#L192

Taking this


extended_symbol is different than in eosio.contract

extended_symbol is different than in eosio.contract (can't use it for unit test)
https://github.com/EOSIO/eosio.cdt/blob/796ff8bee9a0fc864f665a0a4d018e0ff18ac383/libraries/eosiolib/core/eosio/symbol.hpp#L449

Change Description

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

[ 85%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/snapshot.cpp.o
--
  | In file included from /data/job/libraries/chain/include/eosio/chain/database_utils.hpp:9:0,
  | from /data/job/libraries/chain/include/eosio/chain/account_object.hpp:6,
  | from /data/job/libraries/chain/include/eosio/chain/controller.hpp:8,
  | from /data/job/libraries/chain/include/eosio/chain/apply_context.hpp:6,
  | from /data/job/libraries/chain/apply_context.cpp:2:
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float32_t to_softfloat32(float)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:296:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float32_t*>(&f);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:296:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float64_t to_softfloat64(double)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:299:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float64_t*>(&d);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:299:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float from_softfloat32(float32_t)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:302:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float*>(&f);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'double from_softfloat64(float64_t)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:305:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<double*>(&d);
  | ^
  | In file included from /data/job/libraries/chain/include/eosio/chain/asset.hpp:8:0,
  | from /data/job/libraries/chain/abi_serializer.cpp:10:
  | /data/job/libraries/chain/include/eosio/chain/symbol.hpp:151:23: error: declaration of 'eosio::chain::symbol eosio::chain::extended_symbol::symbol' [-fpermissive]
  | symbol       symbol;
  | ^~~~~~
  | In file included from /data/job/libraries/chain/include/eosio/chain/asset.hpp:8:0,
  | from /data/job/libraries/chain/abi_serializer.cpp:10:
  | /data/job/libraries/chain/include/eosio/chain/symbol.hpp:61:13: error: changes meaning of 'symbol' from 'class eosio::chain::symbol' [-fpermissive]
  | class symbol : fc::reflect_init {
  | ^~~~~~
  | In file included from /data/job/libraries/chain/include/eosio/chain/asset.hpp:8:0,
  | from /data/job/libraries/chain/asset.cpp:5:
  | /data/job/libraries/chain/include/eosio/chain/symbol.hpp:151:23: error: declaration of 'eosio::chain::symbol eosio::chain::extended_symbol::symbol' [-fpermissive]
  | symbol       symbol;
  | ^~~~~~
  | In file included from /data/job/libraries/chain/include/eosio/chain/asset.hpp:8:0,
  | from /data/job/libraries/chain/asset.cpp:5:
  | /data/job/libraries/chain/include/eosio/chain/symbol.hpp:61:13: error: changes meaning of 'symbol' from 'class eosio::chain::symbol' [-fpermissive]
  | class symbol : fc::reflect_init {
  | ^~~~~~
  | In file included from /data/job/libraries/chain/include/eosio/chain/database_utils.hpp:9:0,
  | from /data/job/libraries/chain/include/eosio/chain/snapshot.hpp:7,
  | from /data/job/libraries/chain/snapshot.cpp:1:
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float32_t to_softfloat32(float)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:296:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float32_t*>(&f);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:296:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float64_t to_softfloat64(double)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:299:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float64_t*>(&d);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:299:43: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'float from_softfloat32(float32_t)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:302:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<float*>(&f);
  | ^
  | /data/job/libraries/softfloat/source/include/softfloat.hpp: In function 'double from_softfloat64(float64_t)':
  | /data/job/libraries/softfloat/source/include/softfloat.hpp:305:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  | return *reinterpret_cast<double*>(&d);
  | ^
  | make[2]: *** [libraries/chain/CMakeFiles/eosio_chain.dir/build.make:375: libraries/chain/CMakeFiles/eosio_chain.dir/asset.cpp.o] Error 1
  | make[2]: *** Waiting for unfinished jobs....
  | make[2]: *** [libraries/chain/CMakeFiles/eosio_chain.dir/build.make:362: libraries/chain/CMakeFiles/eosio_chain.dir/abi_serializer.cpp.o] Error 1
  | make[1]: *** [CMakeFiles/Makefile2:1159: libraries/chain/CMakeFiles/eosio_chain.dir/all] Error 2
  | make: *** [Makefile:141: all] Error 2
  | 🚨 Error: The command exited with status 1


fix #178 -fix missing IL code for 'virtual' base method after weaving

all virtual methods have base methods. change the code to check if the base method is not the current implementation. this base method should always be the root base method as well from the Cecil underlying impl

Awesome! ⭐ Thank you for the PR! :D


New analyzer rule to replace count(*) with count(1) wherever it is found

This fixes https://github.com/dolthub/dolt/issues/5171

Max, make sure you're ok with the changes to the query plans this introduces (adding a project in some cases)

This may actually break some dolt enginetests, not going to merge until I figure out what's going on

You can try out TestLogTableFunction, which is definitely broken by this change.

I want to take another pass at this and make it show [] for an empty projection in the plan, but that was turning into too large a change.
It's definitely pruning columns as expected now, but a couple of the integration plans look a little off to me. Specifically, we have pruned like 6 columns but the indexes of other column expressions only shifted 2. That look right to you Max?

The one with FLQLP.LUEVY:17!null -> FLQLP.LUEVY:19!null  had a "before" projection order 2, has an "after" order of 0. Math seems to add up.


KiCad plugin does not get installed to the correct location on Linux

On Ubuntu, this location is set to ~/.local/share/kicad/8.0/scripting/plugins. Probably there'll need to be some logic to find the latest KiCad to install the plugin into as well.
https://github.com/atopile/atopile/blob/7abd489a2582768b15de88055934fe8dfbb5d8d2/src/atopile/cli/configure.py#L112

...and when installing KiCad as a flatpak on Ubuntu 22.04, the location becomes ~/.var/app/org.kicad.KiCad/data/kicad/8.0/scripting/plugins/.
Can anyone confirm exactly what the plugin_path =  should be set to in the atopile.py file which gets dropped into this location? I'm not having any luck manually adding this file to this location in Ubuntu 22.04... refreshing plugins doesn't result in the desired outcome of the atopile icons appearing in the tool ribbon in PCB Editor... =\

According to this section in the KiCAD docs there are three candidate locations: https://dev-docs.kicad.org/en/apis-and-binding/pcbnew/index.html#_typical_plugin_structure
If there a synthetic home path for flatpak's or something? It will unfortunately be pretty hard to handle all these various possible install locations for various distros and distribution mechanisms


fix(analyze): Ensure locally-unknown email information doesn't deny

Fixes #1175

2 bytes seems weird so I'm regenerating again

I think @e-moran might be using an older version of wasm-tools to generate the component because I'm consistently seeing 1.35kb shaved off our committed files after the recent optimization setting. That would be this PR is adding 0.01kb which is more likely than 2 bytes that it was showing originally.


C# Client: Enhance exception message with status and response

When a unit test throws an exception, xUnit outputs
Exception.Message. But SwaggerException.Message does not contain the HTTP
status code or the HTTP response, which are crucial to describe the exception.
Xavo.DemandClient.SwaggerException : MyMessage
   at SwaggerTests.SwaggerTests.SwaggerTest() in C:\...\SwaggerTests.cs:line 12

Enhance the exception message by adding the HTTP status code and HTTP response.
Although the exception contains The HTTP status code and HTTP response as
properties, the unit tests cannot be taught to output them without explicitly
handling them in every single test. An alternative approach is to proxy the
swagger clients in order to intercept method invocations and wrap the exception
in a custom exception (using DynamicProxy or DynamicObject+ImpromptuInterface).
This is however not possible because the methods are neither virtual nor do
they implement an interface. It also seems to be impossible to intercept the
test methods themselves.
Closes #1605.

I've switched to string concatenation (to support older C# compilers), added some line breaks, and truncate the response, so that the message can't get too big... is that ok?

Looks good to me. Thanks.


refactor remove gulp-util dependency

Since gulp-util has been deprecated, this PR replaces gulp-util with alternative individual modules. https://github.com/gulpjs/gulp-util

@ninbryan thanks!


Blood elf models

https://www.hiveworkshop.com/threads/high-king-of-the-elves.295242/

https://www.hiveworkshop.com/threads/blood-elf-skyship.290841/

https://www.hiveworkshop.com/threads/highelvenaltar.171922/

https://www.hiveworkshop.com/threads/elven-garden.50609/

https://www.hiveworkshop.com/threads/does-someon-have-this-model-in-their-archives.299281/

https://www.hiveworkshop.com/threads/highelvenaltar.171922/
https://www.hiveworkshop.com/threads/dragonhawk-aviary.279426/
https://www.hiveworkshop.com/threads/elven-bazaar.285777/
https://www.hiveworkshop.com/threads/high-elf-sanctuary.277856/
https://www.hiveworkshop.com/threads/starfall-empire.319375/

https://www.hiveworkshop.com/threads/bloodelf-scorpion-ballista.256818/

https://www.hiveworkshop.com/threads/bloodelf-lancer-cavalry.253203/

https://www.hiveworkshop.com/threads/fel-shadow-shivarra.297940/

https://www.hiveworkshop.com/repositories/models.530/page-3?tags[111]=i

https://www.hiveworkshop.com/threads/high-elf-and-blood-elf-runner-re-classic.335448/

https://www.hiveworkshop.com/threads/spell-breaker-and-derivatives.304321/

https://www.hiveworkshop.com/threads/elite-blood-elf-spell-thief.303730/

https://www.hiveworkshop.com/threads/moarg-brute.293388/

https://www.hiveworkshop.com/threads/wrathguard.290852/

https://www.hiveworkshop.com/threads/blood-elven-voyager.312541/

https://www.hiveworkshop.com/threads/hawkstriderrider.308778/

https://www.hiveworkshop.com/threads/heroelfdarkenchanter.50584/

https://www.hiveworkshop.com/threads/bloodelf-rogue-aka-shadowblade.50643/

https://www.hiveworkshop.com/threads/bloodelf-phoenix-archer.48316/

https://www.hiveworkshop.com/threads/hero-dark-kael.50732/


Update logback-classic to 1.2.8

Updates ch.qos.logback:logback-classic from 1.2.3 to 1.2.8.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

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

Superseded by #138.


Sanitize molecules when SMILES needs to be produced in PandasTools

When loading SDF to a Pandas dataframe and discarding of molecules and retaining SMILES, the SDMolSupplier was not sanitizing the molecules before producing of SMILES. This tiny PR addresses this issue.
Additional change to improve the performance by getting property dict in one call instead of a loop over all properties.

@mwojcikowski : the CI test failures here seem real.
It looks like you need to take a look at the tests for the PandasTools module and update the expected results.

@greglandrum Yes, I've seen them. I simply didn't manage to address them yesterday yet. The issue is that mol.GetPropsAsDict() returns typed properties instead of strings. I will handle that and ping you as soon as this is sorted out.

@greglandrum I removed the changes improving performance, and left only the bugfix part and now tests pass.

@greglandrum I removed the changes improving performance, and left only the bugfix part and now tests pass.

Thanks.
I'm not convinced the use of GetPropsAsDict() is a good idea here anyway: there's no guarantee that the given property will have the same type for every molecule and I'm not sure if pandas will do the right thing.
It would be nice (though not 100% backwards compatible) to have real types there when it can work though... maybe something for the future.

Indeed, I'd expect the sanitization to be the bottleneck anyways.

Indeed, I'd expect the sanitization to be the bottleneck anyways.

most definitely


controller: Fix the misleading log for the replicas that have no StorageIP

Longhorn/longhorn#4153

Need to backport to 1.3.1.


An L1 Image Transform for Edge Preserving Smoothing and Scene Level Intrinsic Decomposition

Hi,
You mention it is different than the article.
Could you say what is different and why?
Thank You.

Generally it is some modifications related to image transforms as well as parameters. But the algorithms stay the same.

I see.
Are results on the Paper produced using the current code or the one in the Paper?
By the way, your University page with the PDF isn't available anymore.

The result in the original paper is not produced with this code. The original code is in C++ and it is too messy. But they generally produce the same result.
I have left the university now. Currently I haven't built a new personal webpage.

So is the "Scene Level Intrinsic Decomposition" (Sec. 4 of your paper) part of this code? I would like to reproduce the intrinsic images results, but from the demo file I only understand how to get the "Image Flattening" step in Fig. 7, not the full pipeline. If it is implemented, could you give me a hint, what I have to define as param?

I would like to get back to my last question. Could you please elaborate on that? I plan to evaluate your  intrinsic decomposition method on another dataset. Therefore, I need the full intrinsic decomposition pipeline of your method. Could you help me with that? Thanks!

@tnestmeyer I noticed in your paper that you are comparing with this approach. Did you manage to find the code for the whole pipeline including the reflectance/shading estimation? And if yes can I get it from somewhere.

@TheodoreT Sorry, can't help you there. In the end I used the results available for IIW at the public project page, so I did not evaluate the method on any other datasets.

@RoyiAvital You mean in this repo, correct? I saw that myself, too, but I am neither the Owner of, nor related to this project. You probably want to address @soundsilence for fixing it.

@tnestmeyer I see. Thanks for the feedback.


Edge Chromium Support

edge chromium useragent:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36 Edg/81.0.416.62"
edge useragent:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36 Edge/16.0.1"

I also face this same problem. Edge is based on Chromium but in the result I get Chrome

can you try updating this package? I get edge-chromium.


[geom] getPointAtDistance

Hi,
I'm going to port the toxiclibs Ray2D/Ray3d getPointAtDistance function and I'd like to open a PR but I'm not sure in which package I should put it.
Or maybe there is already a similar function I can't find?

Hey @nkint - there's a version of it in the geom package here:
https://github.com/thi-ng/umbrella/blob/develop/packages/geom/src/ops/point-at.ts#L48
...but (like all ops in the main geom package) that one requires a shape class instance. Another, more standalone version with just raw rayOrigin, rayDir, dist args would maybe be most at home in the vectors package?

Yay @nkint - just pushed new releases including your PR 🎉

<EMAIL_ADDRESS><EMAIL_ADDRESS>


If the project/repo you were working on is public, could you provide detailed steps for reproduction? I'm pretty sure I know where the problem is even without detailed steps, but it still helps 😄

bump - i have a sec to work on this soon, but again, it'd be easier if there's a public repo I could work from to replicate.


Add dataexplorer tests

Added dataexplorerhandler unit test with mocked ElasticSearch.
@nagem @hkethi002:

gathered the source fields into module level vars
found unreachable lines (added #NOTE unreachable)
didn't get to _handle_properties recursion yet
didn't get to facet_status @ indexing yet

Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

@ambrussimon-invenshure feel free to merge this one.


feat(pixels): add my new pixel (12, 1)

Checklist

[x] I ran npm test locally and it passed without errors.
[x] I only edited the _data/pixels.json file.
[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

Hey @lexcorp16 it seems like that you grabbed the pixel that is outside of the canvas. Any coordinate needs to be smaller than 40. Could you please sync your fork and contribute a different pixel instead? Thank you for your contribution!

Hi, @dkundel I can't see a pixel coordinate greater than 40 in this PR. There is a merge conflict though so I will sync my fork and try this again. Thanks

Hey @lexcorp16 sorry my bad. I meant to say that you have a pixel that already has been taken. If you try to resolve the merge conflict you'll see that someone else has already claimed that location.


Fixes#770 - Add a link to block explorer on Order Completed screen

Fixes #770
https://github.com/airswap/airswap-web/assets/86911296/d5ec16b8-439a-4fb8-97f0-464ca7d96df6

Right now you assume that the last transaction in the store is the transaction of the current swap. A user could have multiple transactions running at the same time. So it's best not to assume and make sure you have the right transaction.
Is it possible to compare the data from bestTradeOption and find the right order that way? It either returns a rfqOrder or an lastLookOrder. rfqOrder has an orderErc20 which has a nonce. You can compare the nonce with the order in transaction.
lastLookOrder does not have an orderErc20 so that makes things a bit complicated... maybe just use quoteAmount then.

quoteAmount

@piersss I fixed useTransactionHash.ts so it takes in a nonce from bestTradeOption, then checks to see if it's in the list of all transactions. Let me know if this is what you meant

Feature demo:
https://github.com/airswap/airswap-web/assets/90465420/764a0016-1ef1-48a6-be9d-dc0bdd1601c5


Add October Data

This PR updates the participant list and pool list for October.
It also makes us more rude.

This got merged already somewhere else so :shrug:


ci: codecov update

Issue #, if available:
Description of changes:

Github workflow update for Codecov
Merge-release-to-develop-notification to send out automatic notifications to create PRs to merge to develop. Automatic merge from release to develop disabled
README updates for Codecov badges for main and develop branch

Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/4debe38e-5796-47b6-96ec-881a87e0df21@3a8aa17). Click here to learn what that means.
 Consider uploading reports for the commit f245b54 to get more accurate results

Additional details and impacted files
@@                               Coverage Diff                               @@
##             release/4debe38e-5796-47b6-96ec-881a87e0df21     #951   +/-   ##
===============================================================================
  Coverage                                                ?   93.32%
===============================================================================
  Files                                                   ?       17
  Lines                                                   ?      614
  Branches                                                ?       95
===============================================================================
  Hits                                                    ?      573
  Misses                                                  ?       41
  Partials                                                ?        0

Flag
Coverage Δ

workbench-core-accounts
93.32% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

main branch and develop branch code cov is not created. Will need to update those and they are not displaying on this branch's README

main branch and develop branch code cov is not created. Will need to update those and they are not displaying on this branch's README

The codecov badges for main and develop should get created once the changes are pushed in to main and develop. After the badges are created they will start displaying in the README files

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/4debe38e-5796-47b6-96ec-881a87e0df21@e0de331). Click here to learn what that means.
 Consider uploading reports for the commit 1a0e5d9 to get more accurate results

Additional details and impacted files
@@                               Coverage Diff                               @@
##             release/4debe38e-5796-47b6-96ec-881a87e0df21     #951   +/-   ##
===============================================================================
  Coverage                                                ?   91.47%
===============================================================================
  Files                                                   ?      216
  Lines                                                   ?     6197
  Branches                                                ?     1154
===============================================================================
  Hits                                                    ?     5669
  Misses                                                  ?      528
  Partials                                                ?        0

Flag
Coverage Δ

example-ui-app
∅ <0.00%> (?)

root
91.47% <0.00%> (?)

swb-app
85.54% <0.00%> (?)

swb-reference
94.40% <0.00%> (?)

workbench-core-accounts
93.32% <0.00%> (?)

workbench-core-accounts-ui
∅ <0.00%> (?)

workbench-core-audit
95.00% <0.00%> (?)

workbench-core-authentication
100.00% <0.00%> (?)

workbench-core-authorization
100.00% <0.00%> (?)

workbench-core-base
79.81% <0.00%> (?)

workbench-core-datasets
95.86% <0.00%> (?)

workbench-core-datasets-ui
∅ <0.00%> (?)

workbench-core-environments
85.64% <0.00%> (?)

workbench-core-environments-ui
∅ <0.00%> (?)

workbench-core-infrastructure
99.35% <0.00%> (?)

workbench-core-logging
100.00% <0.00%> (?)

workbench-core-swb-common-ui
∅ <0.00%> (?)

workbench-core-user-management
100.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Can We run Opendatacam using Google colab notebook ?

Hey , i want to run opendatacam for demo purpose. Currently i do not own a Gpu device , so i wanted to know , how can i run it google colab notebook.

I don't not google colab notebook. On the cloud you should be able to install on any server that has SSH access to a Ubuntu and has a CUDA GPU available. We successfully deployed it on a Paperspace instance.
We do not have a specific doc for cloud installation, but if you follow this: https://github.com/opendatacam/opendatacam/blob/master/documentation/USE_WITHOUT_DOCKER.md , it should do

After having a quick look I think it is not possible with a  google colab notebook

Thank you for your time .
On Thu, 9 Apr 2020 at 12:01, Thibault Durand<EMAIL_ADDRESS>wrote:

After having a quick look I think it is not possible with a google colab
notebook
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opendatacam/opendatacam/issues/192#issuecomment-611354940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALVLKTSLOSOJVWB4ZD5DQCTRLVTVHANCNFSM4MEPDDMA
.

Though i will try at least once to run it on Colab notebook . My only
concern is , Instead of sending the output video to server can we save it
to a video file .
On Thu, 9 Apr 2020 at 12:45, ABHISHEK KUMAR<EMAIL_ADDRESS>wrote:

Thank you for your time .
On Thu, 9 Apr 2020 at 12:01, Thibault Durand<EMAIL_ADDRESS>wrote:

After having a quick look I think it is not possible with a google colab
notebook
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opendatacam/opendatacam/issues/192#issuecomment-611354940,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALVLKTSLOSOJVWB4ZD5DQCTRLVTVHANCNFSM4MEPDDMA
.

Hi, we don't save any output video, we just save the metadata for privacy reason


running helm reset --force after uninstalling helm hangs

$ helm init --service-account tiller --history-max 200
$HELM_HOME has been configured at /home/ubuntu/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
To prevent this, run `helm init` with the --tiller-tls-verify flag.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Happy Helming!

$ kubectl get deployments --all-namespaces
NAMESPACE     NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
default       hello-node                1/1     1            1           20h
kube-system   calico-kube-controllers   1/1     1            1           23h
kube-system   coredns                   2/2     2            2           23h
kube-system   tiller-deploy             1/1     1            1           110s

then uninstall helm
$ helm reset
Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster.
$ helm reset
Error: forwarding ports: error upgrading connection: unable to upgrade connection: pod not found ("tiller-deploy-876ff889-6jvsc_kube-system")

try a force (did it by accident)
$ helm reset --force

this hangs and does not return Ctrl-C to get out after about a minute
adding the --debug flag doesn't provide additional information
Output of helm version:
$ helm version
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}

Output of kubectl version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:02:58Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
EC2 install
$ uname -a
Linux <hostname> 4.15.0-1032-aws #34-Ubuntu SMP Thu Jan 17 15:18:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I was able to reproduce this as follows:
$ helm reset
Tiller (the Helm server-side component) has been uninstalled from your Kubernetes Cluster.

$ helm reset
Error: could not find tiller

It will then hang when call it is called with --force flag after Tiller has been uninstalled:
$ helm reset --force
[.......]


Adapt ockam_abac to new version of wast crate

This dependabot PR has failing tests: https://github.com/build-trust/ockam/pull/5312
https://github.com/build-trust/ockam/actions/runs/5536262663/jobs/10103686963?pr=5312

Hey @mrinalwadhwa, I'd be happy to solve this one.

All yours @tomkarw

There seems to be a problem with building the standalone sub-crates: https://docs.rs/crate/ockam_abac/latest. It looks it's been broken since 0.22.0.
If this isn't a known issue, I can work to fix it first before continuing with this PR.
I'm pretty sure I came across this issue in the past. When building the whole project, some features/optional dependencies are enabled by the root crate (let's call it A). In another sub-crate (let's call it B) which makes ocam_abac (let's call it C) work (which depends on B). However, when compiling the sub-crate as standalone, the optional dependencies (I think serde in this case) is missing, making B not compile as dependency of C.
This also indicates your CI is missing checks for sub-crates as standalone components.

@SanjoDeundiak any update on this?

Fixed in https://github.com/build-trust/ockam/pull/5440


Move QAT and GPU plugins to Distroless

Codecov Report

Merging #180 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #180   +/-   ##
=======================================
  Coverage   81.15%   81.15%
=======================================
  Files          11       11
  Lines        1433     1433
=======================================
  Hits         1163     1163
  Misses        240      240
  Partials       30       30

Continue to review full report at Codecov.

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


chore(lsp): use builtin keymap

use builtin keymap
- gd      <-> c-]
- :Format <-> gq

more info
https://neovim.io/doc/user/lsp.html#lsp-config

gd			Goto local Declaration.  When the cursor is on a local
			variable, this command will jump to its declaration.
			First Vim searches for the start of the current
			function, just like "[[".  If it is not found the
			search stops in line 1.  If it is found, Vim goes back
			until a blank line is found.  From this position Vim
			searches for the keyword under the cursor, like with
			"*", but lines that look like a comment are ignored
			(see 'comments' option).
			Note that this is not guaranteed to work, Vim does not
			really check the syntax, it only searches for a match
			with the keyword.  If included files also need to be
			searched use the commands listed in |include-search|.
			After this command |n| searches forward for the next
			match (not backward).

I like overriding gd for this case. I think it is idiomatic (and reasonable for new users as well).
Thanks for the suggestion though.


performance improvements: we want a fastPosit sw emulation

Right now, the core bit implementation is based on std::bitset<>. Some of the key operators on posits need to be implemented by bit searches in the bitset<>, which is particularly painful for big posits. The current lib runs in the 1MOPS range for small posit, but in the 100KOPS range for big posits.
Looking for help to create a fastPosit implementation that is based on integer arithmetic that will improve performance by several orders of magnitude. Should be a drop-in replacement, so that an application can swap out the two interfaces seamlessly.

Will take a closer look at the code to see whether I have anything to offer.  Always enjoy making things go fast.

Suiji: had a design review meeting today with the team to discuss the failures caused by the reference calculation done in the test suite. We were comparing different multiprecision approaches and looked at the performance of libraries like GMP and MPFR. They provide MUCH higher performance than Universal, and this is mainly due to their reliance on integer representations of floats instead of our bit representation of posits.
Otherwise stated, performance will come by going to a more efficient representation with respect to the hardware that executes the emulation, i.e. an x86 or ARM processor.

I restructured the code to abstract away the underlying register representation, currently std::bitset<>. std::bitset<> was great to experiment with all the bit manipulations necessary to decode and compute with posits. However, std::bitset<> is not computational efficient for arithmetic operations. I have introduced a sw::unum::bitblock<> template class that is to receive a memory and compute efficient alternative. To goal is to get the library up to 100MOPS on a 3GHz x86 for 32bit posits.

inefficiency of the posit class is on memory:
sizeof(posit< 8,0>) = 56 bytes
sizeof(posit<16,1>) = 56 bytes
sizeof(posit<32,2>) = 56 bytes
sizeof(posit<64,3>) = 72 bytes
sizeof(regime< 8,0>)   = 16 bytes
sizeof(exponent< 8,0>) = 16 bytes
sizeof(fraction< 8,0>) = 16 bytes
sizeof(regime<32,2>)   = 16 bytes
sizeof(exponent<32,2>) = 16 bytes
sizeof(fraction<32,2>) = 16 bytes
sizeof(bitset<8 >)     = 4 bytes
sizeof(bitset<16>)     = 4 bytes
sizeof(bitset<32>)     = 4 bytes
sizeof(bitset<64>)     = 8 bytes
sizeof(bitblock<8 >)   = 4 bytes
sizeof(bitblock<16>)   = 4 bytes
sizeof(bitblock<32>)   = 4 bytes
sizeof(bitblock<64>)   = 8 bytes
Looks like the standard bitset<> is already pretty efficient. with 32 and 64bit representations being 100% memory efficient. When I started the design of the univeral library and made the decision to use bitset<>, I had this idea in the back of my mind to augment the bitset<> api with arithmetic operators in due time. RIght now, the arithmetic operators are implemented 'on-top' of bitset<> using the bit selection and enumeration apis to manipulate the bits. Looking at that idea again, it might be a good way to bootstrap performance improvements. bitblock<> right now is just a derived class of bitset<> without any augmentation. This could be the hook for experimentation of the arithmetic operators.

One of the implementation decisions I ended up making driving towards code complete was to 'cache' the posit decode results. That explains the member variables, regime<>, exponent<>, and fraction<>.  It was good for working with posits as it enables concise expressions to compute arithmetic operators, but as we see above, horrible for memory efficiency. The printing routines also rely heavily on the decoded results to print sign/regime/exponent/fraction information.
In my mind, the goals for performance optimization is to generate a software emulation that is both memory efficient and compute efficient so that it can truly be used as a sw emulation of posit arithmetic. So it is clear from the memory footprint that the decode caching needs to be looked at. Introducing a proxy object that holds the decode state (regime/exponent/fraction) for printing feels like a good idea, as performance for printing is able to absorb the memory inefficiency.
The arithmetic paths, however, are a different story. Right now, add/sub/mul/div all start with a conversion to a (sign,scale,fraction) triplet, which is the vocabulary of the data path. The scale calculation depends on the cached state ( look at the function get_scale() in posit.hpp). That trade-off between memory efficiency and arithmetic performance is the key. I can see that there are much more efficient information caching solutions than the member classes I put together. The computational overhead of having to decode every posit as pre-step in every arithmetic operation appears to be too severe, and thus I think finding an efficient decode caching scheme will be paramount for the performance optimizations.

We now have fast implementations of
posit<4,0>
posit<8,0>
posit<16,1>
posit<32,2>