Requested Windows Runtime type 'VideoEffects.LumiaAnalyzerDefinition' is not registered.

When try to integrate your QR realtime code in my app, this is a error. I'm crazy to solve this

Maybe an issue in the AppxManifest.xml file created during the build (especially if this is a C++ app). Do you have something like the following in that file (with VideoEffects.LumiaAnalyzerDefinition, etc.)?

VideoEffects.Windows.dll

AppxManifest.xml is in the same folder as your EXE.

this is my appxmanifest (in windows phone 8.1)

VideoEffects.WindowsPhone.dll

There are two similar files: Package.appxmanifest (in the source code) and AppxManifest.xml (in the output of the build). Could you check the latter? It should have a lot of  coming from VideoEffects.WindowsPhone.dll, Lumia.Imaging.dll, Lumia.InteropServices.WindowsRuntime.dll, CLRHost.dll, and Microsoft.Graphics.Canvas.dll.

If that does not lead to any meaningful info, would you be able to provide a VS project with a minimal repro?

The is my extension section http://1drv.ms/1H3QFfp
the  Lumia.Imaging.dll, Lumia.InteropServices.WindowsRuntime.dll are present in output folder but the
CLRHost.dll, Microsoft.Graphics.Canvas.dll and VideoEffects.WindowsPhone.dll there are not present.
What 's happened ?
Why this libraries do not included in the package ?
Do I wrong somethign ?
I've used a nuget to set the reference.
Thanks

Ok, so the extension XML looks fine. There is no Microsoft.Graphics.Canvas.dll there so I assume you are using a version of VideoEffect slightly older than the latest, which should be fine. I am wondering if NuGet failed to properly update the VS project csproj file when installing VideoEffect. Could you try uninstalling the VideoEffect NuGet and Lumia, etc. if they are still there, manually deleting those packages from the packages\ folder if they did not get automatically removed, and then reinstalling the VideoEffect NuGet? If that does not work, could you share you .csproj file? I can check if NuGet properly injected the references. I have seen it get that wrong before.

I've removed, clear and readded the library from nuget but the dlls not are present. this is my project http://1drv.ms/1EWFu7F.
I've used the <IP_ADDRESS> (latest versione of nuget)

I think to have found the issue.
The path reference of the VideoEffects.WindowsPhone dll in my project is
...\packages\MMaitre.VideoEffects.2.3.0\build\wpa81\..\Native\WindowsPhone\ARM\VideoEffects.winmd
and this is wrong because the there is a \ betwen wpa81 e native (wpa81\..\Native) . This configuration is taken from
..packages\MMaitre.VideoEffects.2.3.0\build\wpa81\MMaitre.VideoEffects.targets
If you open this file there is a HintPath :
$(MSBuildThisFileDirectory)..\Native\WindowsPhone$(PlatformTarget)\VideoEffects.winmd
but according to me the correct path should be
$(MSBuildThisFileDirectory)..\Native\WindowsPhone$(PlatformTarget)\VideoEffects.winmd

the same issue is presenti for the libs:
Lumia.Imaging
Lumia.Imaging.Managed
Lumia.InteropServices.WindowsRuntime

I've try to copy the right dlls into output folder, but not run.
Could be create a new project that use nuget and that use QRCode detector (the same of the your example) ?

Mystery. The double \ should be ok: it is treated as a single one (afaik).
I tried to create some basic app, see if that could reproduce the issue:

Create a new "Blank App (Windows Phone)" project
Add two NuGet packages: Json.NET (used as reference) and Video Effects
Add some basic code in OnNavigatedTo:

protected override void OnNavigatedTo(NavigationEventArgs e)
{
    var obj = new Newtonsoft.Json.Linq.JObject();

    var def = new VideoEffects.LumiaAnalyzerDefinition(Lumia.Imaging.ColorMode.Gray8, 640, (bitmap, time) =>
    {
    });

    System.Diagnostics.Debugger.Break();
}

Run under the debugger in the Phone emulator and see what happens

When I ran both the JObject and LumiaAnalyzerDefinition objects were created fine and the break point was hit.
Could you try something like that on your machine, see if you hit an issue?

your example app run succesfully but my app no. I'm crazy and therefore I've follow another approach.
If you want, I avalible to solve this issue and to help you to do this

I've seen this error when removing an older C++ MFT (a RuntimeComponent I had built and was part of the solution) after I had already added VideoEffects.
After inspecting the manifest, I seen that VideoEffects' install script added the ActivatibleClasses to my existing MFT Extension. So what I ended up with was two copies of the VideoEffects ActivatibleClasses: one in my extension and one where it is supposed to be (the VideoEffect's Extension).
The funny part here is that it worked. When calling for an ActivatibleClass, it was consumed properly by the Media Capture. However, when I removed my MFT and left only your (much better) one and tried to consume the ActivatibleClass, it would fail with this error.
I have code and more details here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/fd01b273-1514-44f9-9510-aed434abe12d/wp81inprocessserver-and-mixed-up-activatibleclasses?forum=wpdevelop
I have James Dailey(MS) and Raman Shar.(MS) looking at the full code now, but if this is related to this Nuget package, I can send you the repo as well.

Thanks for the heads up! That sounds like a bug in the custom XML transforms use in the library or in the way NuGet applies those transforms. The library merges a chunk of XML to register the MFTs during package install:
https://github.com/mmaitre314/VideoEffect/blob/master/VideoEffects/Package/Package.appxmanifest.wpa81.transform
I don't understand why uninstalling something would cause that chunk of XML to be re-added, and at the wrong location, but it looks like NuGet also supports XDT transforms which should allow more precise XML addition/deletion. I'll go through the NuGet docs and give it a try.

Just to keep the thread updated, the extra-XML issue was fixed but the registration issue remains. There is some incompatibility with MS Ads. After adding MS Ads the GenerateAppxManifest MSBuild task does not see constructors in VideoEffects.winmd anymore.

This is a known bug in Visual Studio that was fixed but not released yet. In the meantime the work around is to add the registration info directly into Package.appxmanifest:
<Extension Category="windows.activatableClass.inProcessServer">
  <InProcessServer>
    <Path>VideoEffects.Windows.dll</Path>
    <ActivatableClass ActivatableClassId="VideoEffects.CanvasEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaAnalyzer" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectBgrx8" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectNv12" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.SquareEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffectDefinition" ThreadingModel="both"/>
  </InProcessServer>
</Extension>
<Extension Category="windows.activatableClass.inProcessServer">
  <InProcessServer>
    <Path>Lumia.Imaging.dll</Path>
    <ActivatableClass ActivatableClassId="Lumia.Imaging.Bitmap" ThreadingModel="both" />
    <ActivatableClass ActivatableClassId="Lumia.Imaging.BitmapImageSource" ThreadingModel="both" />
  </InProcessServer>
</Extension>

Hi, I'm getting the same issue running it on Windows Phone 8.1 RT. I added the above extensions (changing to VideoEffects.WindowsPhone.dll). Any thoughts?

Are you using Win2D effects by any chance? There is a similar patch needed for that. You can check what appears in AppxManifest.xml in the build folder. There I believe the extra patch in Package.appxmanifest is:
<Extension Category="windows.activatableClass.inProcessServer">
  <InProcessServer>
    <Path>Microsoft.Graphics.Canvas.dll</Path>
    <ActivatableClass ActivatableClassId="Microsoft.Graphics.Canvas.CanvasBitmap" ThreadingModel="both" />
  </InProcessServer>
</Extension>

Thanks for the quick response. I tried adding that, still the same. I created a new empty WP 8.1 RT project and added the NuGet package and added the following line:
'var definition = new VideoEffects.LumiaAnalyzerDefinition(Lumia.Imaging.ColorMode.Yuv420Sp, 640, (b, t) => { });'
And that processes fine.  I compared the Package.appmanifest and it has only:
'

VideoEffects.WindowsPhone.dll

'
The rest of the code is much the same as your QRCode example in the solution for the time being

The bug actually shows up in AppxManifest.xml (the file that gets generated during the build from the Package.appxmanifest template). It should be in your bin folder along with your app. The fix is to add the missing XML in Package.appxmanifest so it ends up in AppxManifest.xml (basically adding what the build process was supposed to add on its own).

Ahh I was comparing the wrong file, added a couple of Extensions with whole raft of ActivatableClass and that seems to have done the trick. Thanks for the pointers :+1:

Hi,
I using this library for a barcode scanner. Until today, everthing was fine. The problem is when I install the packge Google Analytics SDK for Windows 8 and Windows Phone. I getting this error  'VideoEffects.LumiaAnalyzerDefinition' is not registered.
My project is a universal app.
Can you helping?
My Package.appxmanifest have

VideoEffects.WindowsPhone.dll

And my AppxManifest.xml

  <!--
    THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
<pre>Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file.

For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727

-->

<mp:PhoneIdentity PhoneProductId="c78898a7-1816-4706-8bfb-2f685c4aea88" PhonePublisherId="00000000-0000-0000-0000-000000000000" />

App4.WindowsPhone
anacorreia
Assets\StoreLogo.png

6.3.1
6.3.1

<m3:VisualElements DisplayName="App4.WindowsPhone" Square150x150Logo="Assets\Logo.png" Square44x44Logo="Assets\SmallLogo.png" Description="App4.WindowsPhone" ForegroundText="light" BackgroundColor="transparent">
<m3:DefaultTile Wide310x150Logo="Assets\WideLogo.png" Square71x71Logo="Assets\Square71x71Logo.png" />
<m3:SplashScreen Image="Assets\SplashScreen.png" />
</m3:VisualElements>

VideoEffects.WindowsPhone.dll

CLRHost.dll

Lumia.Imaging.dll

Lumia.InteropServices.WindowsRuntime.dll

Microsoft.Graphics.Canvas.dll

build:Metadata
<build:Item Name="SharedGUID" Value="72baf625-9470-423e-820f-9e7b5fe00e7d" />
<build:Item Name="CodeSharingProject" Value="248F659F-DAC5-46E8-AC09-60EC9FC95053" />
<build:Item Name="TargetFrameworkMoniker" Value="WindowsPhoneApp,Version=v8.1" />
<build:Item Name="VisualStudio" Version="12.0" />
<build:Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Ultimate 2013" />
<build:Item Name="OperatingSystem" Version="6.3.9600.16384 (winblue_rtm.130821-1623)" />
<build:Item Name="Microsoft.Build.AppxPackage.dll" Version="12.0.31101.0" />
<build:Item Name="ProjectGUID" Value="{5DB4E194-C8B9-4CC2-B19B-C056924B4855}" />
<build:Item Name="Microsoft.Windows.UI.Xaml.Build.Tasks.dll" Version="12.0.30501.0" />
<build:Item Name="MakePri.exe" Version="6.3.9600.17298 (winblue.141024-1500)" />
</build:Metadata>

Did you try adding component registration explicitly in Package.appxmanifest?
<Extension Category="windows.activatableClass.inProcessServer">
  <InProcessServer>
    <Path>VideoEffects.Windows.dll</Path>
    <ActivatableClass ActivatableClassId="VideoEffects.CanvasEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaAnalyzer" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectBgrx8" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectNv12" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.SquareEffect" ThreadingModel="both"/>
    <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffectDefinition" ThreadingModel="both"/>
  </InProcessServer>
</Extension>
<Extension Category="windows.activatableClass.inProcessServer">
  <InProcessServer>
    <Path>Lumia.Imaging.dll</Path>
    <ActivatableClass ActivatableClassId="Lumia.Imaging.Bitmap" ThreadingModel="both" />
    <ActivatableClass ActivatableClassId="Lumia.Imaging.BitmapImageSource" ThreadingModel="both" />
  </InProcessServer>
</Extension>

(and similarly for Windows Phone)

It's weird: I received an email from GitHub where it looked like you had copy/pasted some XML which got cut out. It does not show on the GitHub website. If you did, would you mind doing it again?

This is the strangest thing! I don't know what text was there or not, was it the missing ActivatibleClasses xml?
My github email is my work email because I have official repos to monitor (primarily the Telerik XAML doc and demos, but the Kendo UI ones as well).
Lance McCarthy | Tech Support Engineer, Sr.

From: Matthieu Maitre<EMAIL_ADDRESS>Sent: Wednesday, July 1, 2015 2:24 AM
To: mmaitre314/VideoEffect
Cc: Lance McCarthy | Telerik
Subject: Re: [VideoEffect] Requested Windows Runtime type 'VideoEffects.LumiaAnalyzerDefinition' is not registered. (#12)
It's weird: I received an email from GitHub where it looked like you had copy/pasted some XML which got cut out. It does not show on the GitHub website. If you did, would you mind doing it again?

Reply to this email directly or view it on GitHubhttps://github.com/mmaitre314/VideoEffect/issues/12#issuecomment-117448881.


Q: Any plans for adding accessibility?

Do you have any plans for adding accessibility features to the component in the near future?

I need to do some research on the topic, but yeah, I've already thought about that.

I need to do some research on the topic, but yeah, I've already thought about that.

I'm also looking for this feature.

You can access the inner input by using a ref.
<Multiselect class="border" v-model="input" mode="tags" ref="multiselect" <!--- Add whatever ref name you want ---> />
In your TS code just set the input id to whatever you want the id to be.
mounted() { this.$refs.multiselect.input.id = "myId"; },
Now you have the id set and can use that to associate a label to the multiselect box which will allow non-sight users to use the application. Hope this helps!

Finally. I did some research and now Multiselect is accessible. I'm not close to the topic but hopefully what I implemented works. Please reopen if you find any issues.


External System Prototype

The syscam will communicate with async running service, wrapped as a task.
Tasks

[x] Prototype socket communication
[ ] First version

Create simple interface for Martin to access calibration (initially noise return)

Docs created


spark_session fixture raises ValueError during setup

I get the following stacktrace from pytest when trying to call the spark_session fixture:
ERROR at setup of <testname>

    @pytest.fixture(scope='session')
    def _spark_session():
        """Internal fixture for SparkSession instance.

        Yields SparkSession instance if it is supported by the pyspark
        version, otherwise yields None.

A little bit more searching:
It seems this is caused when there are no spark_options defined in pytest.ini. In pytest_spark/init.py the SparkConfigBuilder().initialize() function is only called if options are defined, otherwise initialize() is skipped and leads to the later crash.
pytest_spark/fixtures.py is still a bit strange since there is an attempt to call initialize() after the raised ValueError, which will never work.

1 on this issue, running into the same problem. Seems to have started happening 14 days ago when a config file refactor happened

I'm currently working on a PR for this.

@dutchgecko thanks for the report and PR and sorry for the late reply
my fault: line raise ValueError was added last minute to check some edge cases and I forgot to remove it

fixed in 0.5.2. Please find it on pypi


Document support for modern Django & Python versions

Coverage increased (+0.03%) to 92.458% when pulling a07550c85f1f0f3af9b16bec32c8411806bb57ec on jdufresne:doc-py into ec568b5ad9414a300a1c3d99c9ee63c9255ed2e1 on django-import-export:master.

Coverage increased (+0.03%) to 92.458% when pulling a07550c85f1f0f3af9b16bec32c8411806bb57ec on jdufresne:doc-py into ec568b5ad9414a300a1c3d99c9ee63c9255ed2e1 on django-import-export:master.

Coverage increased (+0.03%) to 92.458% when pulling a07550c85f1f0f3af9b16bec32c8411806bb57ec on jdufresne:doc-py into ec568b5ad9414a300a1c3d99c9ee63c9255ed2e1 on django-import-export:master.


update mappings, semantic types (without update to biolink v2)

See the comments in the conversation of most commits for more details.
these fixes should help BTE handle most semantic types in the APIs it ingests
the updated mappings should also help BTE handle the IDs from the APIs/operations it uses

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.831%

Totals

Change from base Build 972320854:
0.0%

Covered Lines:
439

Relevant Lines:
444

💛  - Coveralls

@colleenXu this PR feels very big to me -- seems to combine several different objectives here.  We can discuss on Tuesday whether we want to break this PR into multiple smaller ones, but in the future it would be better to do that anyway I think.

Going to split this into multiple PRs to trace the changes better.


Validation don't reevaluates when a dependent state changes

Hi there!
I have a validation for a link that uses a different state property (not the one associated to the link I'm validating). When that external state property changes, the validation doesn't rerun. This leaves the link error property in a not trustworthy state. The external state property may leave the link with an error but I won't know until the state associated with the link changes.
A workaround for this would be having a mechanism to run validation on a link manually, but I couldn't find a way to do so. Any other suggestions?
Thanks in advance!

Hi. Links are meant to be immutable and to be recreated again in render(). That applies to validation as well.
It would be very helpful if you provide the code example. Looking at the example I could say something less general.


How to set access for TokenGroupsGlobalAndUniversal

Your prerequisites say:  "The server running the Connector has access to read the TokenGroupsGlobalAndUniversal attribute for users. This default setting might have been impacted by security hardening the environment."  It doesn't say how to do that.  I'm sure there are several ways to do it, but what worked for me was to add my connector and web servers to the Windows Authorization Access Group.  Perhaps a reference for how to set access for the attribute TokenGroupsGlobalAndUniversal can be included in this article.
Token-Groups-Global-And-Universal
Some accounts experienced a problem when trying to use sites through the proxy.  They would see the Forbidden error in the browser saying the user is not authorized to access the backend application.  The details included a link for troubleshooting KCD Configurations for Application Proxy.
On the connector server in the Microsoft/AadApplicationProxy/Connector/Admin event log, 12027 errors appeared when the user attempted to connect.
The KCD link referenced in the browser error, https://docs.microsoft.com/en-us/azure/active-directory/application-proxy-back-end-kerberos-constrained-delegation-how-to, references another article, https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/application-proxy-configure-single-sign-on-with-kcd, which describes a problem experienced.   Basically every user account must allow the proxy connector service account read access to the tokenGroupsGlobalAndUniversal attribute to allow delegation to work.
Fix 1
This article, https://support.microsoft.com/en-us/help/331951/some-applications-and-apis-require-access-to-authorization-information, describes how the Windows Authorization Access Group was intended to convey this permission.  You must add the proxy server to this group to give it permission. That fixed most of the users who could not use single sign-on.
Fix 2
Some users in the our domain did not grant that permission to the group.   The accounts did not list the Windows Authorization Access Group in the security tab at all.  You can check for access on an account using these steps.

Logon to the domain controller
In ADUC, open the user account that you want to check
Open the Security tab
Click the Advanced button
Go to the Effective Access tab
Select the Windows Authorization Access Group for the principal
Hit View effective access
Scroll to near the bottom and find the permission Read tokenGroupsGlobalAndUniversal
If there is a red X, the group does not have permission.

You can grant access for a particular user using these steps.

Open the user in ADUC
Go to the Security tab
Click Advanced
Click Add and add the Windows Authorization Access Group
Type should be Allow
Change "Applies to" to "This object only" (scroll up)
Scroll all the way to the bottom and click Clear All
Scroll back up a couple of pages and find "Read TokenGroupsGlobalAndUniversal"
Select that attribute and click OK

Programmatic Fix 2
There is an article that describes how to add this permission programmatically.
https://support.microsoft.com/en-us/help/331947/how-to-programmatically-apply-access-permissions-for-windows-server-20

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

ID: e139327a-53e0-d539-dc04-29bf07ad0333
Version Independent ID: a862ebf9-161e-30ef-aa7c-5b3302ec1399
Content: Single sign-on with Application Proxy
Content Source: articles/active-directory/manage-apps/application-proxy-configure-single-sign-on-with-kcd.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@tpeltz Thanks for the feedback. We are investigating the issue and will update you shortly.

@msmimart Could this be mentioned on the document ?

#reassign:kenwith

Thank you for the feedback in improving the doc. I have added this item to our backlog so that it can be prioritized and worked on as appropriate.
#please-close

Thank you for the feedback in improving the doc. I have added this item to our backlog so that it can be prioritized and worked on as appropriate.
#please-close


Correcting "poetry_dep_groups" vs "poetry_dev_groups"

The documentation says to use "poetry_dep_groups", but this doesn't work for me.  Using "poetry_dev_groups" as mentioned in the deprecation error for "install_dev_deps" does work.

Whoops, I made a mistake.  Neither of the new options results in the "dev" group being installed.  Only the deprecated "install_dev_deps" actually works.

Hi @moloney thanks for your issue!
There are two different options you're referring to here:

poetry_dep_groups specifies a list of dependency groups from the tool.poetry.group section of pyproject.toml to install to the tox environment
install_dev_deps specifically installs dependencies from the tool.poetry.group.dev section of pyproject.toml to the tox environment. As you note, this option is also deprecated.

The usage of these two options shown below are functionally identical:
# supported
[testenv]
poetry_dev_deps =
    dev

# deprecated
[testenv]

install_dev_deps = true

I spent some more time testing this.  Setting it as a one liner "poetry_dep_groups = [dev]" as mentioned in the README doesn't work.  Setting it using the multiline construction in your comment does work.
In addition the deprecation warning for "install_dev_deps" has a typo where it says to use "poetry_dev_groups", and it also uses the single line construction which currently doesn't work.

Ah good catches. Not sure why the single-line feature isn't working, that might be how Tox is parsing it. Either way though it's a bug for the docs and deprecation notice to suggest incorrect syntax

Fixed with the removal of the deprecated features (and README correction) in 1.0.0b1


Add FindPoliciesForSubject & FindPoliciesForResource implement for Redis Manager

I implemented FindPoliciesForSubject and FindPoliciesForResource methods for Redis Manager, so we can use Redis to persist Ladon policy .

Cool!  For more info, check here: https://github.com/ory/ladon/blob/master/CONTRIBUTING.md

Thanks for your help, i signed my commits.

Thank you!


dont panic when --name isnt provided

If you use basecli tx send and dont provide --name, it panics, and doesnt really explain why

Yup, I assume there is a valid pk parsed from the file.  Fixed that assumption and it prints an error message somehow... fix on 029c0e9

Note to self: Need to add some bash tests...


Pre-populate authentication sources in Project and Tools APIs

Summary
Closes https://github.com/astral-sh/uv/issues/5366.

Possibly important per https://github.com/astral-sh/uv/pull/3124 but also a necessary registration pattern for https://github.com/astral-sh/uv/issues/4583


ImportError: cannot import name 'device' from 'config'

Hi, I'm getting an error while running train_label.py. Could you please help. Thanks

the same error when running train or genrate

Have you found a solution to this?

Write your own config.py file. Here is a boilerplate that should get things working with generate.py. Change your imports in generate.py to model_config:
`import torch
Device configuration
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
Model configuration
model_config = {
'embedding_dim': 240,  # Dimension of the event embedding
'input_size': 265,  # Size of the concatenated input (embedded event + pitch histogram + note density)
'hidden_size': 512,  # Size of the hidden state in the GRU
'num_layers': 3,  # Number of GRU layers
'dropout': 0.3,  # Dropout rate
'output_size': 240  # Size of the output (number of possible events)
}
Training configuration
train = {
'learning_rate': 0.0002,
'batch_size': 64,
'num_epochs': 100,
'seq_length': 200,
'stride': 10,
'window_size': 2,
'stride_size': 10,
'control_ratio': 0.5,
'teacher_forcing_ratio': 0.5,
'use_transposition': False
}`


Jarsigner SecurityException when validating Android apk signed with generated keystore

When trying to sign an Android apk with a keystore I generated using this gem, I get the following exception when verifying the signature.
$ jarsigner -verify -verbose -certs app/build/outputs/apk/app-debug.apk
jarsigner: java.lang.SecurityException: cannot verify signature block file META-INF/CERT

This may not be an issue with the gem itself, but I was wondering if you had run into this in the past and maybe you can point out where my generation logic is flawed.
Here is the bulk of what I'm doing:

    def create_keystore
        jks = OpenSSL::JKS.new
        key_password = 'testtest'
        file_password = 'testtest'
        outfile = File.new('/Users/me/Desktop/my.jks', 'wb')

        jks.set_key_entry('test-alias', pkey, create_cert, key_password)
        jks.store(outfile, file_password)
    end

    def pkey
      @pkey ||= OpenSSL::PKey::RSA.new(2048)
    end

    def distinguished_name
      OpenSSL::X509::Name.new([
        ["C", "US", 19],
        ["ST", "Hawaii", 19],
        ["L", "Honolulu", 19],
        ["O", "Volcano Industries", 19],
        ["OU", "Engineering", 19],
        ["CN", "Testing", 19]
      ])
    end

    def create_cert
      key = OpenSSL::PKey::RSA.new(2048)

      c = OpenSSL::X509::Certificate.new
      c.version = 2
      c.serial = Random.rand(65534) + 1
      c.subject = distinguished_name
      c.issuer = c.subject

      c.public_key = key.public_key
      c.not_before = Time.now
      c.not_after = c.not_before + 10000.days

      c.sign(key, OpenSSL::Digest::SHA256.new)
    end

Any help/feedback would be appreciated.

You can take the android/apk out of the equation and try this with a standard jar.
// test.java
class Test {
    public static void main(String args[]){
        System.out.println("Hello Java");
    }
}

$ jar cf test.jar test.java
$ jarsigner -verify test.jar
jar is unsigned. (signatures missing or not parsable)

$ jarsigner -keystore test.jks -sigfile SIG test.jar my-keystore-alias
jar signed.

$ jarsigner -verify test.jar
jarsigner: java.lang.SecurityException: cannot verify signature block file META-INF/SIG

Doesn't the verify command need to have the keystore passed to it as well?

If I generate a keystore using keytool
$ keytool -genkey -alias test -keystore test.keystore
$ keytool -list -v -keystore test.keystore
Enter keystore password:

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: test
Creation date: Sep 1, 2017
Entry type: PrivateKeyEntry
Certificate chain length: 1
Certificate[1]:
Owner: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
Issuer: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
Serial number: 2ac55a03
Valid from: Fri Sep 01 16:08:11 EDT 2017 until: Thu Nov 30 15:08:11 EST 2017
Certificate fingerprints:
	 MD5:  30:22:F1:43:44:E8:81:AE:A8:F4:99:81:63:F8:5F:BE
	 SHA1: 7B:56:50:9D:43:BD:14:E9:57:59:CF:BF:1A:C7:51:C4:71:B1:36:EF
	 SHA256: AC:76:16:44:0E:83:D8:54:82:1A:E1:AA:DC:20:19:46:F8:03:1D:DC:F9:5C:0C:F6:BC:82:E7:8C:82:DE:06:9A
	 Signature algorithm name: SHA1withDSA
	 Version: 3

Extensions:

#1: ObjectId: <IP_ADDRESS> Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 78 C5 4D FC 2B 5B 69 C1   21 1D D6 29 85 8A 39 AA  x.M.+[i.!..)..9.
0010: DF 09 95 F8                                        ....
]
]

*******************************************
*******************************************

I can verify a jar that I've signed with 'test.keystore'
$ jarsigner -verify test.jar
jar verified.

Warning:
This jar contains entries whose certificate chain is not validated.
This jar contains entries whose signer certificate will expire within six months.
This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-11-30) or after any future revocation date.

Re-run with the -verbose and -certs options for more details.

You can unzip the jar and inspect the contents of the META-INF. In here you can verify the signature block using keytool
$ keytool -printcert -file META-INF/SIG.DSA
Owner: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
Issuer: CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown
Serial number: 2ac55a03
Valid from: Fri Sep 01 16:08:11 EDT 2017 until: Thu Nov 30 15:08:11 EST 2017
Certificate fingerprints:
	 MD5:  30:22:F1:43:44:E8:81:AE:A8:F4:99:81:63:F8:5F:BE
	 SHA1: 7B:56:50:9D:43:BD:14:E9:57:59:CF:BF:1A:C7:51:C4:71:B1:36:EF
	 SHA256: AC:76:16:44:0E:83:D8:54:82:1A:E1:AA:DC:20:19:46:F8:03:1D:DC:F9:5C:0C:F6:BC:82:E7:8C:82:DE:06:9A
	 Signature algorithm name: SHA1withDSA
	 Version: 3

Extensions:

#1: ObjectId: <IP_ADDRESS> Criticality=false
SubjectKeyIdentifier [
KeyIdentifier [
0000: 78 C5 4D FC 2B 5B 69 C1   21 1D D6 29 85 8A 39 AA  x.M.+[i.!..)..9.
0010: DF 09 95 F8                                        ....
]
]

It doesn't seem that you need to verify jar with the keystore because the certificate is included? I also notice that I can print the certificate from the META-INF/*.DSA file when using a ruby created keystore. This makes me think that the issue may be in how the private key is written/read? I'm completely split-balling though.

Ah I see. OK let me fire up keytool in the debugger and I'll see if I can see what's going on.

Let me know if you need anymore info

Would I be able to download the debugger you use to inspect these keystores? I should be able to find some time to try to fix this as well.

I'm pretty sure that this was caused because the private key that pass to set_key_entry was different than what was created with the X509 certificate.


Remove Serpo's Console link

Serpo's Console has been deprecated in favor of the upcoming Legacy4J official modpack (also worked on by me)
this just removes the link and mention of Serpo's Console
If you'd be interested in helping with the official modpack, or want to know more about it, send me a friend request on discord (@omo50) or join the Legacy4J discord and we can discuss

Will merge once official is released.


[FLINK-24342] Add right bracket to filesystem partitioner escape list

What is the purpose of the change
This pull request adds char } to filesystem partitioner escape list. That way we escape the right bracket as well as the left one.
Brief change log

Add char } to RowPartitionComputer escape list
Add verifying test testEscapeBraces

Verifying this change
This change added tests and can be verified as follows:

Added test testEscapeBraces that validates that right brace is escaped by RowPartitionComputer

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thank you, @MartijnVisser
It's rebased and [table] is appended


[0.54.3][Android]can not scroll in multiline - diseditable mode of TextInput

Environment
react-native -v: 0.54.3
in #14856 issus is happened on version 0.46, but that issus is closed.
Steps to Reproduce
Set a part Props of "TextInput" as follows.
multiline={true}
editable={false}
Set more lines text contents in this "TextInput" while
For example, if this "TextInput" can display up to max 5 lines in one times, Set 6 or more lines text in it.
Expected Behavior
I think that contents of contents should be able to be displayed by scrolling,
regardless of whether it can be input to "TextInput" or not.
Actual Behavior
At present, contents can be displayed by scrolling when this "TextInput" can not to edit in only IOS.
In ANDROID, contents can not be displayed by scrolling.

@react-native-bot  i edit it


Apache HttpClient 4.4.x Certificate Bug

dropwizard-client 0.9.0-rc3 is using a version of Apache HttpClient (4.4.x) that causes a certificate error when connecting to googleapis.com (and others?) The issue has been fixed in HttpClient 4.5. See here: https://issues.apache.org/jira/browse/HTTPCLIENT-1613

Thanks for reporting this!


Make Py(Frozen)Set::new return PyResult<&Py(Frozen)Set>

fixes #437

        let v = vec![1];
        assert!(PySet::new(py, &[v]).is_err());

Why does this returns an error?

Lists (converted from the vector) can't be put into sets, since they are not hashable.

Ah I see, thanks.

Thank you!


can't install cause wef machine kept error

Operating System Version:Microsoft Win10 pro
Provider (VirtualBox/VMWare):VirtualBox
Vagrant Version:2.2.6
Packer Version:1.4.5
Are you using stock boxes (downloaded) or were they built from scratch using Packer?using Packer
Is the issue reproducible or intermittent? reproducible

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:

Link to Gist Containing Build Logs:

Please help me out with it , I failed twice at the same box

@ofwaetne I need more information to help you. Are you using the build script? What does the vagrant_up_wef.log in the Vagrant folder show? Where is it getting stuck?

Hi there , I am using a build script under windows . Using build.ps1 .
It shows like the picture I send .
It Jump warning when installing the wef , then It stuck at shuting down the
machine , So I manually shutdown the machine by task manager .
Then it jump the error as pic2 , the post check fail and not installing the
win10 machine .
Really thanks for you reply .
It will be great if I can solve this problem . Thank you
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 上午11:51寫道：

@ofwaetne https://github.com/ofwaetne I need more information to help
you. Are you using the build script? What does the vagrant_up_wef.log in
the Vagrant folder show? Where is it getting stuck?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW2NXVG64MEJQWRDNR3QW4SNRA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF3UMSQ#issuecomment-561464906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBWZFHUQ4TTGAYUUATPLQW4SNRANCNFSM4JVCO3NA
.

@ofwaetne I don't think your screenshots are making it into the posts. I can't seem them :(

Hi there ,
Let me try again
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 下午12:53寫道：

@ofwaetne https://github.com/ofwaetne I don't think your screenshots
are making it into the posts. I can't seem them :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW6NW4ITF44A3G4CK7DQW4ZTJA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF3XERQ#issuecomment-561476166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBW54FAVTO4V6K4NSUMTQW4ZTJANCNFSM4JVCO3NA
.

Hi Chris ,
If still not able to read the jpg .
I put it on my google drive and give you the sharing link.
https://drive.google.com/open?id=1w0oSEXpZzUTs7IkiFSuVKkLPpz8E5OMJ
https://drive.google.com/open?id=16OQZj18z9FRX2fSbUSI0xeturT20qQVV
A Fang<EMAIL_ADDRESS>於 2019年12月4日 週三 下午1:24寫道：

Hi there ,
Let me try again
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 下午12:53寫道：

@ofwaetne https://github.com/ofwaetne I don't think your screenshots
are making it into the posts. I can't seem them :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW6NW4ITF44A3G4CK7DQW4ZTJA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF3XERQ#issuecomment-561476166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBW54FAVTO4V6K4NSUMTQW4ZTJANCNFSM4JVCO3NA
.

I see the pictures in your gdrive. Can you put the contents of vagrant_up_wef.log in a GitHub gist and link to it here?

https://gist.github.com/ofwaetne/5908b43d2a298e674df00a81b9c14e56
hello  here's the vagrant_up_wef.log
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 下午2:32寫道：

I see the pictures in your gdrive. Can you put the contents of
vagrant_up_wef.log in a GitHub gist and link to it here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW7AQ7MYOPPDSW7CEPTQW5FJLA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF34V2I#issuecomment-561498857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBW54HV2HHCQ4P3FYNRLQW5FJLANCNFSM4JVCO3NA
.

It failed because download.microsoft.com failed to resolve in DNS for some reason.
    wef: powershell.exe : Invoke-WebRequest : The remote name could not be resolved: 'download.microsoft.com'
    wef:     + CategoryInfo          : NotSpecified: (Invoke-WebReque....microsoft.com':String) [], RemoteException
    wef:     + FullyQualifiedErrorId : NativeCommandError

There's a few possibilities:

The DC host was off when WEF was provisioning, which means it had no DNS server. DC needs to be online during WEF provisioning.
It was an odd temporary failure
Something on your network is blocking access to that domain.

I would suggest trying one more time.
cd Vagrant/
vagrant destroy -f
cd ..
./build.ps1 virtualbox -VagrantOnly

OK, Really thanks for your help .
I will try again .
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 下午2:43寫道：

It failed because download.microsoft.com failed to resolve in DNS for
some reason.
wef: powershell.exe : Invoke-WebRequest : The remote name could not be resolved: 'download.microsoft.com'
wef:     + CategoryInfo          : NotSpecified: (Invoke-WebReque....microsoft.com':String) [], RemoteException
wef:     + FullyQualifiedErrorId : NativeCommandError

There's a few possibilities:

The DC host was off when WEF was provisioning, which means it had
no DNS server. DC needs to be online during WEF provisioning.
It was an odd temporary failure
Something on your network is blocking access to that domain.

I would suggest trying one more time.
cd Vagrant/
vagrant destroy -f
cd ..
./build.ps1 virtualbox -VagrantOnly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW33LCOCWUPJNUPMY6TQW5GPVA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF35MEI#issuecomment-561501713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBW472LFIQRNW432TGCTQW5GPVANCNFSM4JVCO3NA
.

Hi Chris ,
After I retry , I have success to install all 4 VMs ,really thanks for your
help .
But I still can't get My splunk on line , can you help me out please ?
https://drive.google.com/open?id=1t_k72dd8uQTDLKGm7kxFynqT56zga7_W
A Fang<EMAIL_ADDRESS>於 2019年12月4日 週三 下午2:45寫道：

OK, Really thanks for your help .
I will try again .
Chris Long<EMAIL_ADDRESS>於 2019年12月4日 週三 下午2:43寫道：

It failed because download.microsoft.com failed to resolve in DNS for
some reason.
wef: powershell.exe : Invoke-WebRequest : The remote name could not be resolved: 'download.microsoft.com'
wef:     + CategoryInfo          : NotSpecified: (Invoke-WebReque....microsoft.com':String) [], RemoteException
wef:     + FullyQualifiedErrorId : NativeCommandError

There's a few possibilities:

The DC host was off when WEF was provisioning, which means it had
no DNS server. DC needs to be online during WEF provisioning.
It was an odd temporary failure
Something on your network is blocking access to that domain.

I would suggest trying one more time.
cd Vagrant/
vagrant destroy -f
cd ..
./build.ps1 virtualbox -VagrantOnly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBW33LCOCWUPJNUPMY6TQW5GPVA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF35MEI#issuecomment-561501713,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBW472LFIQRNW432TGCTQW5GPVANCNFSM4JVCO3NA
.

Ah, that's a bug, but it should actually still be working. Try to access this in a browser:
https://<IP_ADDRESS>:8000 to log in.

Oh , OK .
Really thanks for your help again .
Chris Long<EMAIL_ADDRESS>於 2019年12月5日 週四 上午3:30寫道：

Ah, that's a bug, but it should actually still be working. Try to access
this in a browser:
https://<IP_ADDRESS>:8000 to log in.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/358?email_source=notifications&email_token=AI7NBWZ4I4BVKHOFKRFWPV3QXAANHA5CNFSM4JVCO3NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF6G6XQ#issuecomment-561803102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI7NBWYZYZRP3HQY2FEMMUDQXAANHANCNFSM4JVCO3NA
.


If there is a failure scenario, i want to continue test suite

Hi,
When I test my project, test suite does not continue if there is a failure scenario.  I used Google Test framework and there is called EXPECT_EQ(expect, actual) macro. You can use it for this purpose. Do you think  add new features to Unity like TEST_EXPECT_EQUAL(expect,actual) ?

Yes. I believe there is an open issue for this already? If not, it's definitely something we've talked about doing. :)


Implement ndv estimator and add it to iceberg Analyze; Add row count with sample to Analyze

Implement ndv_estimator function which uses chao estimator to estimate ndv using a sample from the actual table;
ndv_estimator function returns both ndv estimate and the error bound of a 95% CI. The return type is row<bigint, double>
Add ndv_estimator function call to iceberg Analyze. Check if sample table exists, if so use ndv_estimator to replace approx_distinct.
Extract only ndv estimate from the function result and add it to the analyze result, and the use of error bound information is being determined.
Merged some changes in this commit: https://github.com/ZacBlanco/prestodb/commit/5f3929f8af7565482848ecc1cd6ada5fb3399643

LGTM


Have null object constants

We should have a nullObjects.js file which exports constants of empty objects that are returned on 'not found' conditions.
Benefits:

consolidating logic
do not create a new object on each failure but reuse
does not cause repaint

@zulipbot claim

@vishwesh3 I did some initial work here:
https://github.com/zulip/zulip-mobile/commit/263b10ccd6219fd8168be47b9e6a663fe50dc53f
There is more work that can be done though, so continue on it.


Help me out with electron cash. Can't send!!

I can't send my BCH to another adres. Error (16: mandatory-script-verify-flag-failed (Signature must use SIGHASH FORKID ))

See picture (1) everything is good
I want to send. Type in right adress, type password and 2fa code from Google Authenticator
Get the error 16 seen in picture (2)
I have tried to create new wallet using my old phrase from my first wallet. But then it gets stuck after I put in the phrase and click next. Seen in picture (3)
Who can help me out please!!!

2fa is not supported by trusted key on BCH.  See #41 for workaround to move to standard wallet (not 2fa).

Thanks but when I want to recover the wallet it gets stuck when I input my seed see picture 3


AGiLE-EaGLE1994's ultimate ideas thread

I will be posting all of my ideas for AR here from now on.
So far, I've come up with:
Planets:
Venus type planets and biome
Saturn-like gas giants with the correct color
Jupiter-like gas giants with the correct color
Large (Saturn), medium, (Uranus) and small (Jupiter) rings for planets
VTHL (Vertical takeoff, horizontal landing) rocket engine for horizontal shuttle bays in Star Trek style warp ships
Antimatter, fusion and dilithium engines for rockets
Different star types and sizes
Multi-star systems
Space bed which has an airtight compartment and allows sleeping on airless dimensions
Alien versions of overworld mobs for the alien forest and other alien biomes
Alien ghasts for gas giants and Stormlands biomes?

Also perhaps making individual XML files for different worlds? Either by naming the XML file after the world in the Advanced Rocketry config folder or making a PlanetDefs folder for each world in the world save folder?

Perhaps you could make a monitor for the Warp Core and a Holodeck?
They'd both have an LCARS style interface and the holodeck would be customizable like the AR planets are.
When you go into the holodeck room and choose a simulation from the interface, you get teleported to another dimension which represents said simulation, and when you die, you reappear in the holodeck room you accessed the simulation from.

The warp controller as it is functions as a remote monitor for that warp
core, it's just not currently named as such.  So any additional features
for warp core monitoring will likely end up there.
As for the holo deck.  While it is a cool concept commonly seen in star
trek, the scope of the idea is so large it really could be it's own mod.

Another idea: Possibility to make stars with 140 mass and higher go Supernova with a special machine? Maybe the a superlaser that can be used to destroy planets, moons, etc? With the exception of space stations and Earth, and a configurable setting or boolean option for planets and moons which makes them immune to the superlaser? Like "LaserImmune = true/false" or something like that?
And possibly a ship with the ability to CREATE planets, moons, and stars using dilithium as fuel?
Pregenerated space stations with the ability to import schematics?
randomly generated abandoned warp ships which can also be defined via schematics?

How do you use the entity bypass list? What format should the entity names be in? I can't get it to work.
I want to add Custom NPCs and players to the bypass list but it won't work.
I did it like this:
# list entities which should not be affected by atmosphere properties [default: ]
S:entityAtmBypass <
EntityPlayer
EntityCustomNpc
>
Did I do it right?

Can anyone explain how with format the entity should be in?

I have more ideas! Could you make it possible to specify asteroid belts with a dim mapping ability in star systems, that way I don't have to specify the Galacticraft Asteroids dimension as a planet instead of an asteroid belt?
Another idea: Custom planets that are MC Style with lunar phases (In a similar look to the vanilly MC moon and sun on the overworld instead of the hyper realistic ones
Solid Planet types:
Mars-like (Looks almost exactly like Mars)
Earth-like (Looks almost exactly like Earth)
Postgaian (Looks like Earth, but with boiling oceans and lower sea level)
Moonlike (Looks like the Moon)
Lava planet
Venuslike (Looks identical yo Galacticraft Venus, used for Hot Dry Rock planets)
Ocean planet (For planets with ocean biomes only)
Jungle planet (Lush green planet, used for jungle, plains and forest biome planets)
Desert planet (Used for mesa and desert biome planets. Covered in sand with small lakes.)
Orxonian (Highly polluted planet with oceans of toxic sludge, toxic atmosphere and mutated life as well as large cities)
I'll make planet icons with phases for you so you don't have to make them.

Marslike and Orxonian planets:

](url)

All of these are at this point covered by other issues. Closing this one as it's enormous and annoying to tackle as a whole


harmonia: 1.0.2 -> 2.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for harmonia is: Nix binary cache
meta.homepage for harmonia is: https://github.com/nix-community/harmonia
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS

[!CAUTION]
A test defined in passthru.tests did not pass.

found 2.0.0 with grep in /nix/store/4bxr8wr0k7sdxhk3g336xpwjy91jwylh-harmonia-2.0.0
found 2.0.0 in filename of file in /nix/store/4bxr8wr0k7sdxhk3g336xpwjy91jwylh-harmonia-2.0.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

harmonia

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4bxr8wr0k7sdxhk3g336xpwjy91jwylh-harmonia-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A harmonia https://github.com/r-ryantm/nixpkgs/archive/3da9d80a6b76425beeaa75bb989e3e317a8fe1d6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3da9d80a6b76425beeaa75bb989e3e317a8fe1d6#harmonia

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4bxr8wr0k7sdxhk3g336xpwjy91jwylh-harmonia-2.0.0
ls -la /nix/store/4bxr8wr0k7sdxhk3g336xpwjy91jwylh-harmonia-2.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

harmonia

Maintainer pings
cc @Mic92 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

@mergify queue


Expose ec2_instance_state

In order to reduce false alerts in our prometheus setup we need to have the instance state (esp. "stopped") available during relabeling.
This trivial change (only two lines added) adds the Instance State as a meta label during discovery.
@juliusv Please consider merging this.

Thanks! Can you raise a PR to update the docs in the next-release branch of the docs repository?

Will do. Thank you very much for merging.


WIP: removed build-essential

We include this in the docker image to cover a broader set of pip packages for which build-essential is a requirement.


Redis async multiplexed session storage

https://github.com/0xAlcibiades/async-redis-session/pull/1 - stashed the code here, no reason why it should be in quay. Will try and get it merged upstream.


Multiple controllers with the same route

I've got multiple controllers but they use the same Route.
For example:
TestController uses route "api/test"
HealthCheckController uses "api/test/healthcheck"
However Swagger displays them as "Test" and "HealthCheck" despite the routes being the same. I was wondering if there is a way to filter them so that they can be displayed under the same "Test" name.
I tried testing with GroupActionsBy, but couldn't seem to figure out a way to get it to display as described above.
Regards,
Mike

c.GroupActionsBy(apiDesc => apiDesc.RelativePath.Split('/', '?').First());


More intuitive sorting of entities in monster card

Don't sort all entities of the card by entity_id, but instead by order in the include filter first, and by entity_id second.
Resolves #23.

Note:
Entities will be added in the order they are matched. I.e:
            filter:
              include:
                - entity_id: sensor.my_sensor
                - entity_id: sensor.*

will show sensor.my_sensor before all other sensors, while
            filter:
              include:
                - entity_id: sensor.*
                - entity_id: sensor.my_sensor

will list all sensors in alphabetical order by entity_id

Ok.. I think I got it right now... Had to give up trying to edit code on github...
Perhaps the addition to README is a bit too long?

It's a bit long, but I'll trim it. I will accept the merge to run some tests


all.bash: problem with spaces in path

Go version
go version go1.22.0 darwin/amd64
Output of go env in your module/workspace:
This isn't needed.

What did you do?
I ran this command:
clear ; time GOOS=darwin GOARCH=amd64 ./all.bash
What did you see happen?
I saw this error message at the end of testing the go compiler:
./all.bash: line 13: /<snip>/Go: No such file or directory
What did you expect to see?
I expected to see this:
ALL TESTS PASSED
---
Installed Go for darwin/amd64 in /Users/<snip>/Go compiler/goroot
Installed commands in /Users/<snip>/Go compiler/goroot/bin
*** You need to add /Users/<snip>/Go compiler/goroot/bin to your PATH.

Here is my patch to fix this issue.
Fix-banner-issue-with-spaces-in-the-path.patch
---
 src/all.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/all.bash b/src/all.bash
index 5f8e8fec63..1b8ca093e4 100755
--- a/src/all.bash
+++ b/src/all.bash
@@ -10,4 +10,4 @@ if [ ! -f make.bash ]; then
 fi
 . ./make.bash "$@" --no-banner
 bash run.bash --no-rebuild
-$GOTOOLDIR/dist banner  # print build info
+"$GOTOOLDIR/dist" banner  # print build info
--
2.14.3 (Apple Git-98)

please see https://go.dev/doc/contribute on how to contribute a fix.


Return as Dictionary<string, object> returns no values

Hi, I don''t know if it's a bug or just undocumented feature, but if I run cypher query and use
.Return(node => node.As<Dictionary<string,string>>()) it returns key and values albeit with loss of datatype, but if I use .Return(node => node.As<Dictionary<string,object>>()) it returns keys, but no values I can see. The debugger shows {object}, but I cannot cast it to anything - the field that I know a string returns null when using obj as string. That certainly doesn't feel right.

Hello!
I think in the latter case the object is literally that - an object, the JSON parser has been instructed to cast the values it gets back as an object. It doesn't know better. The values are there, they are just actual objects.
I do agree - this isn't ideal, and I'm not sure the best way to approach it.

I don't think it's true at all. Following snippet preserves types using Newtonsoft.Json just fine
void Main()
{
	var json = JsonConvert.SerializeObject(new Dictionary<string, object>() {
	{ "1", "1"},{"2", 2}});
	json.Dump();
	Dictionary<string,object> obj = JsonConvert.DeserializeObject(json, typeof(Dictionary<string, object>)) as Dictionary<string,object>;
	foreach (var key in obj)
	{
		key.Value.GetType().Dump();
	}

	obj.Dump();
}

You're quite right, but that's not how the client does it's deserialization - if it were then of course that would be very odd.
As it is, it could well be seen as a bug, on a similar vein to the lack of dynamic support - in effect the client activates a new instance of type (in this case object) as a last resort as it's not expecting you to ask for object as a type.
If you look at the CommonDeserializerMethods in particular around line 290 (https://github.com/Readify/Neo4jClient/blob/400abeab94059ba441986610d5296f9c5a848c77/Neo4jClient/Serialization/CommonDeserializerMethods.cs#L293) you can see where the object drops out. In this case, it will instantiate a new instance of object which will then have no properties to set.
In essence, the objects are object instances, the lack of value is because object has no values.

Sorry, I assumed since you can use Json annotations, that it was regular Newtonsoft.Json serializer.


tests: Bluetooth: fix att_mtu warnings on gcc-12

The warnings are correct, we were copying 17 bytes from a 4-byte source.
Fixes #55669

@jori-nordic the warning is gone with that change

seems the test doesn't pass anymore, I'll fix it


Update "exact expt"

@lassik do you think it would be OK to focus on more modern implementations? And are the list of removed ones really not being maintained anymore?

Remove some of the very old systems, which probably nobody will be using anymore

The page listed only tests with exact rational base. Now we include a test with exact rational exponent, which is very interesting.

LIPS in meantime fixed expt and (expt 81 1/4) now return exact 3.

@lassik do you think it would be OK to focus on more modern implementations? And are the list of removed ones really not being maintained anymore?

Remove some of the very old systems, which probably nobody will be using anymore

I think we should not remove information that has already been gathered (especially if that work has been done by other people). If info about old Schemes makes the tables hard to read, perhaps we should make separate tables for them.

(Some background: About every month in #scheme, someone comes up and says "let's just get rid of all except these N implementations", where N = 3, 5, 10, ... It you get these people together, everyone has a different opinion of which N. These people essentially believe that Scheme should be a copy of some popular language, and that their use cases are the only valid use cases.)


linux-28 lost external connection phone device.

Is there an existing issue for this?

[X] I have searched the existing infra issues

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
linux-28 lost external connection phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

External connection has been restored by rebooting phone device.


Task 1- Problem Time Conversion - java solution

@rogergcc Add question.md file

@rogergcc Add question.md file

Sure 😄


made bulb state publically accessible so driver can hold a reference

What's wrong with GetState()?

Yeah this was an internal request while @wandergeek was writing a driver for our platform, we used that in the end.


In manual checkout handler function is not triggerred instead shows alert

Follwing the standard checkout manual process.
But the handler function doesn't get triggerred but instead response is shown in an alert window of the browser.
        handler: response => {
          debug("payment response", response);
        },

Even on successful test payment, handler is not triggerred but the Razopay checkout popup vainishes on clicking the Success button.

A payment has already been done against the Order whose order_id you are passing in the options. Try creating a new order.

But success should generally work. Could you post a snippet of your code with the keys redacted?

@umanghome thats true, but on error still need to capture this response and show appropriate message in the handler function.
Even on successful test payment, handler is not triggerred but the Razopay checkout popup vainishes on clicking the Success button.
Using Quasar.
Please find the code
    onPaymentHandler(response) {
      debug("payment response", response);
      if (response.razorpay_payment_id) {
        // Payment successful
      } else {
        debug("ERROR");
      }
    },
    attemptPayment() {
      if (this.rpayInstance) {
        return this.rpayInstance.open();
      }
    },
    loadCheckout() {
      const options = {
        key: "XXX", // Enter the Key ID generated from the Dashboard
        amount: this.thisOrder.amount,
        currency: "INR",
        name: "XXX",
        description: "XXX",
        // image: "https://example.com/your_logo",
        order_id: this.thisOrder.razorpay_order_id,
        handler: this.onPaymentHandler,
        prefill: {
          name: this.thisOrder.name,
          email: this.thisOrder.email,
          contact: this.thisOrder.phone
        },
        notes: {
          desc: this.thisOrder.notes
        },
        theme: {
          color: "#F37254"
        }
      };
      this.rpayInstance = new Razorpay(options);
    },

          <q-btn
            @click.native="attemptPayment()"
            clickable
            flat
            size="md"
            rounded
            color="primary"
            class="bg-amber text-white q-mr-sm"
            label="Pay with Razorpay"
          ></q-btn>

@umanghome Tested again in another browser and successfull payment does call the handler, as you mentioned. May be, it could be that the browser cache may have casued this as earlier I had tried the the automatic checkout (no handler).
So going back to the original issue, Is it possible to get the open() method still call the handler incase of error, so that we can gracefully take appropriate action in the handler function instead of the alert pop-up.

@umanghome sorry for the long delay. could you please let me know if this issue has been resolved?
I have tried to replicate the same code that you mention above, and it's working from my side

Closing this issue for now, due to not getting any response . If you are still getting the same error then dont let stop you to reopen this issue. Please let us know if you need any help.


Distribution Support Request: Alpine 3.13 arm32

Details of the Distribution

Name of the Distribution: Alpine
Version of the Distribution: 3.13
Package Types

[ ] Deb
[ ] RPM
[x] Tar.gz
Snap - Please file issue in https://github.com/powershell/powershell-snap.  This issues type is unrelated to snap packages with a distribution neutral.

Processor Architecture (One per request): arm32
The following is a requirement for supporting a distribution without exception.

[x] The version and architecture of the Distribution is supported by .NET Core.

The following are requirements for supporting a distribution.
Please write a justification for any exception where these criteria are not met and
the PowerShell committee will review the request.

[x] The version of the Distribution is supported for at least one year.
[x] The version of the Distribution is not an interim release or equivalent.

Progress

[x] An issues has been filed to create a Docker image in https://github.com/powershell/powershell-docker

For PowerShell Team ONLY

[ ] Docker image created
[ ] Docker image published
[ ] Distribution tested
[ ] Update packages.microsoft.com deployment
[ ] Lifecycle updated
[ ] Documentation Updated

This is related to https://github.com/PowerShell/PowerShell/issues/12937.
The .NET team plans on producing Alpine arm32 and arm64 Docker images for the .NET 6.0 SDK (https://github.com/dotnet/dotnet-docker/issues/2504).  Being able to include PowerShell in that image would be good in order to make it consistent with the other architectures and distros.

This is related to https://github.com/PowerShell/PowerShell/issues/12937.
The .NET team plans on producing Alpine arm32 and arm64 Docker images for the .NET 6.0 SDK (https://github.com/dotnet/dotnet-docker/issues/2504).  Being able to include PowerShell in that image would be good in order to make it consistent with the other architectures and distros.

cc @adityapatwardhan

cc @adityapatwardhan

/cc @TravisEz13

/cc @TravisEz13

cc @adityapatwardhan, we need alpine ARM support before we can do this.

cc @adityapatwardhan, we need alpine ARM support before we can do this.

https://github.com/dotnet/runtime/issues/45343
Can we do this now?

Pinging this to appease the bot.

Is this still required? Alpine 3.18 provides PowerShell 7.3.4 for arm32, arm64 and x64 in its main repository.
$ sudo apk add powershell
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/armv7/APKINDEX.tar.gz
fetch https://svn.rhubarb.geek.nz/pkg/alpine/3.18/armv7/APKINDEX.tar.gz
fetch https://packages.rhubarb.geek.nz/alpine/3.18/armv7/APKINDEX.tar.gz
(1/8) Installing icu-data-full (73.2-r2)
(2/8) Installing dotnet-host (7.0.14-r0)
(3/8) Installing dotnet7-hostfxr (7.0.14-r0)
(4/8) Installing lttng-ust (2.13.5-r2)
(5/8) Installing dotnet7-runtime (7.0.14-r0)
(6/8) Installing libpsl-native (7.3.1-r0)
(7/8) Installing powershell (7.3.4-r1)
(8/8) Purging icu-data-en (73.2-r2)
Executing busybox-1.36.1-r5.trigger
OK: 334 MiB in 97 packages

Is this still required? Alpine 3.18 provides PowerShell 7.3.4 for arm32, arm64 and x64 in its main repository.

The latest release at https://github.com/PowerShell/PowerShell/releases/tag/v7.4.0 only lists a linux-musl-x64 artifact for musl. In order for this issue to be resolved, I would expect an linux-musl-arm32 artifact to be listed there.

Alpine 3.13 is no longer supported by Alpine.

Closed as unplanned.


Track failed function requests

Would be useful to track failed function requests (not LLM parsing, but LLM exec) and store them in agent metadata.

This problem is interesting, please provide me with more information


[DPE-4799] Fix upgrade bugs when switching charms

Fixing new snap install failure due to writing to SNAP_DATA prematurely
Fixing upgrade not triggering on a single unit

Lib changes should be upstreamed

I see all 3 test_upgrade.py integration tests failing in (apparently) the same way. Is it expected / known issue?

Rollback doesn't work. Investigating ATM.

Rollback test was broken. Should be fixed now.

Merging this for the sake of fixing upgrades, I will sync up lib later if it diverges.


Table No. and Protection Level AL0161

Describe the bug
I'm having an issue with AL0161 'Table Name' is inaccessible due to its protection level.  I'm doing some stuff with RecordRef and I don't actually want to access the table, I just want to do something different if it is that table, since I can't access it.  So when I do DATABASE::"User Login", just so I know the table Number I get an error.  I feel like you should still be able to user DATABSE::"Table Name" without getting the error AL0161.  For now, I have to put in the actual Objects ID, which isn't the best in case a table is changed or deleted.
To Reproduce
Steps and to reproduce the behavior:

Add code with DATABASE::"User Login"

AL Code to reproduce the issue
Expected behavior
No error when using DATABASE::"Table Name".
Screenshots
If applicable, add screenshots to help explain your problem.

5. Versions:

AL Language: 4.0.176004

Business Central: 15.0.36510.0

@MatthewMcCarthy7 can you give us examples of a few other tables that exhibit this issue? I cannot reproduce the issue with the following snippet:
trigger OnAction()
begin
  if 1 in [Database::"User Login"] then begin end;
end;

This issue has been closed because it needs more information and has not had recent activity. Please open a new issue if you believe this has not been resolved and reference the current issue.

I also have similar issue.  If we want to loop all tables to check for some data that we want to remove for example for data obfuscation purposes how can we skip tables that have a protection level of internal?


[Markdown.MAML.Parser.MarkdownParser].ParseString  does not process bullet points correctly.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce

As a test file I have  download the MD help file for Get-Help from.  https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.2/Microsoft.PowerShell.Core/Get-Help.md
In VS Code I have set a break point on new-externalHelp but the important part  is in the function GetMamlModelImpl which has a line     $model = $p.ParseString($mdText, $parseMode, $_)  (1605 in the .PSM1 file for v 0.14.2 )
After this line has run examine  $model.children[-3].spans[10..14] | ft style,text -wrap

The markdown
The full view of help includes a table of information about the parameters. The table includes the
following fields:

- **Required**. Indicates whether the parameter is required (true) or optional (false).

- **Position**. Indicates whether the parameter is named or positional (numeric). Positional
  parameters must appear in a specified place in the command.

Translates to
 Style Text
 ----- ----
Normal .
       The full view of help includes a table of information about the parameters. The table includes the following fields:
       -
  Bold Required
Normal . Indicates whether the parameter is required (true) or optional (false).
       -
  Bold Position
Normal . Indicates whether the parameter is named or positional (numeric). Positional   parameters must appear in a specified place in the command.

Note in the last line the extras spaces between "positional" and parameters, because the carriage return has been removed but the indent to keep the bullet point together have not.
Expected behavior
The notes part of Get-Help Get-Help -full displays a notes section similar to what is displayed at https://docs.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/get-help?view=powershell-7.2#notes i.e.

        The full view of help includes a table of information about the parameters. The table includes the following fields:

        * Required . Indicates whether the parameter is required (true) or optional (false).
        * Position . Indicates whether the parameter is named or positional (numeric). Positional parameters must appear in a specified place in the command.

Actual behavior
It displays like this
        The full view of help includes a table of information about the parameters. The table includes the following fields:

        - Required . Indicates whether the parameter is required (true) or optional (false).

        - Position . Indicates whether the parameter is named or positional (numeric). Positional   parameters must appear in a specified place in the command.

Error details
No error message

Environment data
get-module platyps -list

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     0.14.2                platyPS                             Desk      {New-MarkdownHelp, Get-MarkdownMetadata, New-ExternalHelp, New-YamlHelp…}

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0ÔÇª}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Markdown parsing and conversion is fixed in Microsoft.PowerShell.PlatyPS v1.


Eslint 8 support

It looks like a bit ago Eslint 8 was added to the package.json
https://github.com/Intellicode/eslint-plugin-react-native/blob/a66b3038e53e4c1f73dc208b5175e3d7f5cb5559/package.json#L39
But it seems like this changes yet to be released.
Are there any blockers for that?
Anything I can do to help unblock the release?

@wSedlacek You can install GitHub version of a module:
See yarn Selective dependency resolutions
// package.json
{
  "resolutions": {
    "eslint-plugin-react-native": "Intellicode/eslint-plugin-react-native#a66b303"
  },
}

Working on this, but unfortunately, this introduces all kinds of problems with the dependencies of this plugin, I'm trying to make the build green again.

Although a GitHub release hasn't been created yet, it does look like v4.0.0 is out on NPM. You can view the diff from v3.11.0 ➡ v4.0.0.
As such, this can probably be closed.
Thank you so much for getting this released, @Intellicode! 🙏


Add the ability to delete Equation responses

Describe Problem
Currently, the bot just sends a rendered LaTeX equation. Because Discord escapes backslashes, its very common for people to need at least two attempts to render what they're after (the first where they don't know about backslash escapes, and the second where they realize their mistake and fix it).
Suggest Solution
Two possible solutions:

Add a subcommand like /equation delete which deletes the bot's most recent equation render for a user. Care will have to be taken to ensure that the bot never deletes a render it did for another user (ie, ensure user A running /equation delete doesn't result in user B's render being deleted if user B used /equation after user A).
Add a button beneath every render that deletes the render. Ensure only the user who requested the render can delete the render.

1 has the benefit of not having a huge button under the render. 2 has the benefit of being easier to code and probably more user friendly.
Additional Details
If we wish to take option 2, its likely we will need to store info in a DB so that someone can go back to the render and delete it at any time.
For a rough approximation of what an implementation of 2 would look like, see the WinHacks 2022 bot. Most notably:

an example button event dispatcher/event receiver
an example button event handler

Implemented in cd31684e4dc3ab6532bad96ec51e6732cb190639


develop_link function fails

Steps to reproduce the error
Method 1

Clone the latest base-node-rpc repository (currently v0.34):

git clone https://github.com/wheeler-microfluidics/base-node-rpc

Run the paver develop_link command:

cd base-node-rpc
paver develop_link

This results in the following error:
CondaValueError: could not parse 'arduino-helpers 0.4 py27_0' in: c:\users\wheeler\appdata\local\temp\.conda-recipe-dev-req-iwxveq
ERROR:conda_helpers:Error executing command: `call C:\Users\Wheeler\MicroDrop\Scripts\activate.bat C:\Users\Wheeler\MicroDrop & conda install -y --file c:^\users^\wheeler^\appdata^\local^\temp^\.conda-recipe-dev-req-iwxveq`

Captured Task Output:
---------------------

---> base_node_rpc.pavement_base.develop_link
Traceback (most recent call last):
  File "C:\Users\Wheeler\MicroDrop\lib\site-packages\paver\tasks.py", line 196, in _run_task
    return do_task()
  File "C:\Users\Wheeler\MicroDrop\lib\site-packages\paver\tasks.py", line 193, in do_task
    return func(**kw)
  File ".\base_node_rpc\pavement_base.py", line 511, in develop_link
    package_name=options.package_name)
  File "C:\Users\Wheeler\MicroDrop\lib\site-packages\platformio_helpers\develop.py", line 60, in link
    ch.development_setup(recipe_dir, verbose=True)
  File "C:\Users\Wheeler\MicroDrop\lib\site-packages\conda_helpers\__init__.py", line 490, in development_setup
    conda_exec('install', '-y', '--file', development_reqs_file.name,
  File "C:\Users\Wheeler\MicroDrop\lib\site-packages\conda_helpers\__init__.py", line 366, in conda_exec
    raise RuntimeError(output)
RuntimeError:
CondaValueError: could not parse 'arduino-helpers 0.4 py27_0' in: c:\users\wheeler\appdata\local\temp\.conda-recipe-dev-req-iwxveq

Method 2
A simpler way to reproduce the error is to run the following command with this requirements file
):
conda install -y --file development_reqs_file.txt

It appears that the requirements file is not in the format that conda is expecting.

conda-forge has now updated their conda-build package to version 3.4.1, so I am reopening this issue. As a workaround, you can force installation of version 2.1.18:
conda install conda-build=2.1.18

As a temporary workaround, you can pin the version of Conda build:
conda config --env --add pinned_packages conda-build=2.1.18

Yes thanks @cfobel, you have to downgrade the conda-build package and pin it; otherwise, running paver develop_link updates it again.


Support mounting within node_modules directory

Changes

Astro has shown that there are valid use-cases for mounting a directory from a node_modules as source files.
This changes our node_modules exclude to only kick in when no mounts are defined. This was the original intended use-case that this support was added for.

Testing

Covered by tests.

Docs

N/A

@natemoo-re is going to take this PR over while I'm out!


CHECK_TYPE macro

I was thinking this morning about unit testing a factory class.  With a certain set of parameters I need to check that the emitted object is of the correct type.  I think this will be similar to the CHECK_EXCEPTION macro.
struct TypeA { };
struct TypeB { };

TEST(MakeSureTypeAIsReturnedWithACertainSetOfParameters)
{
  // ... set parameters
  CHECK_TYPE(TypeA, DoSomethingThatShouldReturnAnObjectOfTypeA(...));
}

I'm assuming that in your example TypeA and TypeB share some inheritance hierarchy, and that DoSomethingThatShouldReturnAnObjectOfTypeA has a co-variant return type. If I'm wrong I may not quite be understanding the use case.
In the past when I've encountered the need to check the type of an object, I just use dynamic_cast. This has always been good enough for my purposes. What do you propose the benefits of CHECK_TYPE would be over something like the below?
   TEST(TypeCheckingReferences)
   {
      CHECK(dynamic_cast<std::ostream&>(std::cout)); // passes
      CHECK(dynamic_cast<std::istream&>(std::cin)); // passes
      CHECK(dynamic_cast<std::ostream&>(std::cin)); // error: Failure in TypeCheckingReferences: Unhandled exception (std::bad_cast) in CHECK(dynamic_cast<std::ostream&>(std::cin))
   }

   TEST(TypeCheckingPointers)
   {
      std::ios_base* p_cout = &std::cout;
      std::ios_base* p_cin = &std::cin;
      CHECK(dynamic_cast<std::ostream*>(p_cout)); // passes
      CHECK(dynamic_cast<std::istream*>(p_cin)); // passes
      CHECK(dynamic_cast<std::ostream*>(p_cin)); // error: Failure in TypeCheckingPtr: dynamic_cast<std::ostream*>(p_cin)
   }

In my opinion, UnitTest++ is a bit poor in its assertions set. C# for example has plenty of useful Assert.*
It could be great to have some of them, like type match, greater than, lower than.
By the way I would love to have a force-fail assertion, like FAIL("Message"); (but it is off topic).

Force fail is CHECK(false);
As for the issue the types do not have to be from a hierarchy. In my use
case it is a factory/parser taking a stream of bytes and spewing out blocks
of data in neat little bundles in a tag despatch fashion.
Sent from my Nexus 6P
On 13 Sep 2016 9:53 a.m., "Gabriel Schlozer"<EMAIL_ADDRESS>wrote:

In my opinion, UnitTest++ is a bit poor in its assertions set. C# for
example has plenty of useful Assert.*
https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.testtools.unittesting.assert.aspx
It could be great to have some of them, like type match, greater than,
lower than.
By the way I would love to have a force-fail assertion, like
FAIL("Message"); (but it is off topic).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unittest-cpp/unittest-cpp/issues/131#issuecomment-246617706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEy9nGL6d79ueV-ozyQ0CasV_FvdIMgGks5qpmSNgaJpZM4J1iiX
.

Force fail is CHECK(false);

It is not the same functionality, it should interrupt the test execution so it should better be REQUIRE CHECK(false); but this way does not allow to specify a failure message, it will show "error: CHECK(false);" which is not that expressive...
If you are not sure about the return type, it should be converted to void* before but I am not sure about the result of dynamic_cast in this case :
CHECK(dynamic_cast<type*>(reinterpret_cast<void*>(var)));

In my opinion, UnitTest++ is a bit poor in its assertions set.

@killoctal you say "poor", I say minimalist.

@killoctal If I recall correctly, @pjohnmeyer has toyed around with adding custom failure messages to assertions in the past; perhaps you or he could sketch out what that might look like without introducing new macros?

Force fail with a custom message is currently achievable using throw, assuming you're building UnitTest++ with exception support on and are throwing a std::exception. That said, force fail is off the topic of the thread so let's stay on the main event.

As for the issue the types do not have to be from a hierarchy. In my use
case it is a factory/parser taking a stream of bytes and spewing out blocks
of data in neat little bundles in a tag despatch fashion.

@grahamreeds Can you post a minimal example of what the target code and the proposed unit test would look like?

Pretty much as it is in my original post.  The idea revolves around messages coming in from udp source and a parser creating a tag that is passed to the dispatcher.
Actual code would look like
struct message_a { };
std::vector<uint8_t> binary_data = { ... };
CHECK_TYPE(message_a, udp.parse(binary_data));

If compile-time dispatch techniques are in play, can't the compiler just be the check here?
struct message_a {};
std::vector<uint8_t> binary_data = { ... };
message_a parsed_data = udp.parse(binary_data); // compile fails if wrong type

Or is that not what you meant?


Fix error when attempting to create trigger for non-existant function

Fixed #470 - CLI now produces correct error message on attempt to create a trigger for a function that doesn't exist.

looks good - was there a gap in tests here that we could have picked up? (check in the integration tests)

Nice, merge at will!


Theme of the app dark and light mode added

What is the change?
use of the provider
Related issue?
*issue #4
Screenshots:

all the thing fixed


Fix gem storing alternative

This is an alternative/extension to https://github.com/ZhengPeiRu21/mod-reagent-bank/pull/1 which puts gems into the 'Jewelcraftig' section.

Thank you for this PR! This is very useful - I was thinking myself of implement something similar.


Any possibility to exclude a directory using File structure?

I am working with Nx Monorepo.
I have locales directory set to my project root.
My locales are stored in apps/ and libs/ directories.
Unfortunately, easy-i18n loads also translations from node_modules/ folder.
Is there any possibility to filter files only for apps/**/i18n/lang.json and libs/**/i18n/lang.json
Here are my settings:

Project structure inside project root:

This is not possible at the moment.
It might be a good idea to search the entire project for translation files based on a regex pattern.
However, this would lead to the need to consider how these "long paths" should be made available for code completion in combination with modularized namespaces (folder- and file-based).


the subsequent snippets will not work Probability after using a language that markdown is not support in the codeblock ，like kotlin.

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 版本: 1.85.2 (Universal)
提交: 8b3775030ed1a69b13e4f4c628c612102e30a681
日期: 2024-01-18T06:40:32.531Z (1 周前)
Electron: 25.9.7
ElectronBuildId: 26354273
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.3.0
OS Version: MacOS 14.3

Steps to Reproduce:

Use a language that markdown is not support in the codeblock ，like kotlin
The subsequent snippets will not work Probability.

normal：

going wrong：

When I use a language that markdown codeblock does not support , It should show a basic highlight or not highlight, but it should not affect the writing behind the code block

can you send some code snippets please

Yes please share code that we can copy and paste to reproduce the issue

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


operator aci-containers-operator (v1.0.7)

pipeline/trigger-hosted

/pipeline restart operator-hosted-pipeline

pipeline/trigger-hosted


[stable/kiam] Pod Security Policies

What this PR does
Add the option to create PodSecurityPolicies for both agent and server.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@ewbankkit

/assign
/ok-to-test
/lgtm
Very nice! I like how everything is abstracted through a single value in values.yaml.
Thanks for contributing!


How to listen to "pm:remove" event for a single layer

I want to remove the layers / markers.
map.on ('pm: remove', function (e) {}) listens on all map layers. But I just want to listen a layer. I am trying to e.layer.on ('pm: remove' function {}) for this, it does not work.
for example :
`map.on('pm:create', function(e) {
  // l want listen to remove on the new layer
   e.layer.on('pm:remove', function(x) {
        console.log(' I want remove layer event ', x)
   });

});
map.on('pm:remove' , function(e){
console.log("map layers remove event" , e);

});`
example JSFiddle : http://jsfiddle.net/LnzN2/4456/
If  removebutton when triggered in PmToolbar  , how to listen to  e.layer.on('pm:removed') ?
Another question
when called clearlayers() method in FeatureGroup etc.  The Map.on (pm: remove) event is triggered. my question is, can a different event be fired when a single layer is removed with removeButton in the toolbar?
thanks, good works.

Try the standard leaflet event:
https://leafletjs.com/reference-1.3.4.html#layer-remove
To the other question:
currently: no, pm:remove is fired whenever a layer is removed from the map - no matter in which way. I will open a feature request to add to the event how the layer was removed.


HAMP Level1 Processing

Adds radar altitude correction, filter functions and radiometer coarsening to the HAMP processing. Thresholds are specified in config.json.

Merge in #16


Add schema generation for GraphQL Interfaces through Ballerina Distinct Service Classes

Description:
$title

Blocked as some of the details required can only obtained in compile time.
Mail thread: "API required to Access Information on Type Inclusions at Runtime"

Closing since this is no longer valid issue.


Metro not detecting normal app component when "ShareMenuModuleComponent" is registered

RN Version 0.68.2
When I start metro bundler and launch the app it doesn't detect it. Only when I share something my IOS custom share component is shown.

This was fixed when I switched to a different device on the simulator.


Question about connection Pooling behavior

I posted this in the Rethinkdb slack channel#help as well for reference.
I have 2 simple tests
it('should return a valid db connection', function(done) {
    let connection = rethinkConnectionStore('esoc')
      ;

    expect(connection).to.not.equal(undefined);
    expect(connection).to.not.equal(null);

    expect(typeof connection.table).to.equal('function')

    connection
      .table('logs')
      .limit(2)
      .run()
      .then(function(results) {
        expect(results).to.not.equal(null);
        done();
      })
      .catch(function(err) {
        done(err);
      })
  });

  it('should return a valid table connection', function(done) {
    let connection = rethinkConnectionStore('esoc', 'logs')
      ;

    expect(connection).to.not.equal(undefined);
    expect(connection).to.not.equal(null);

    expect(typeof connection.table).to.equal('function')

    connection
      .limit(2)
      .run()
      .then(function(results) {
        expect(results).to.not.equal(null);
        done();
      })
      .catch(function(err) {
        done(err);
      })
  });

The method im testing here looks like this
const isLocalEnv = require('isLocalEnv')
  , r = require('rethinkdbdash')
  , dbConfig = {
      host: (isLocalEnv() ? 'localhost' : 'rethinkdb'),
      port: 28015,
      buffer: 30, // random
      max: 3000 // random
    }
  ;

module.exports = (databaseName, tableName) => {
  dbConfig.db = databaseName;

  return (tableName !== undefined
    ? r(dbConfig).table(tableName)
    : r(dbConfig))
}

when I run these tests i get logged to the console

Creating a pool connected to localhost:28015
Creating a pool connected to localhost:28015

Twice. Once per test. I was under the impression that a single pool would be created and i’d get the connections from that pool. But the log says a new pool is created.
Can someone explain this behavior to me?

@MikeFielden the issue is with the way you're instantiating rethinkdbdash. Each time you create a new instance, another connection pool is created. You could do something like this instead:
const isLocalEnv = require('isLocalEnv')
  , r = require('rethinkdbdash')({
      host: (isLocalEnv() ? 'localhost' : 'rethinkdb'),
      port: 28015,
      buffer: 30, // random
      max: 3000 // random
    });

module.exports = (databaseName, tableName) => {
  const db = r.db(databaseName);
  return (tableName !== undefined) ? db.table(tableName) : db;
}

To answer your question more clearly, you cannot change the default database on a connection (or the pool) once it has been set. You can override the default by either explicitly using the db term in your query as I suggested above or by passing it as an option to .run({ db: "..." }).

Thanks @marshall007 you da man. That makes perfect sense.


permissions for calling AWS APIs within a zappa app

I have a Zappa app that uses boto3 to publish a message to an SNS topic.
This causes an error. Here's an excerpt from zappa tail dev, with some info elided:
ClientError: An error occurred (AuthorizationError) when calling the Publish operation:
User: arn:aws:sts::XXX:assumed-role/ZappaLambdaExecution/awslambda_XXX is not authorized
to perform: SNS:Publish on resource: arn:aws:sns:us-west-2:XXX:lambda-trigger-notifier

Does Zappa look at my code to see which APIs I am calling and automatically configure the IAM user to have permission to call those APIs? If so, it does not seem to be working. If not, what is the recommended way to give the IAM role permission to call that API on that resource?

For the record, I fixed this by modifying the policy of the IAM role zappa-permissions to have permission to perform the action SNS:Publish on my SNS topic.

Oops, but to amend the record, this change to the IAM role disappeared the next time I did zappa update dev. How can I persist IAM settings?

Oh wow, that's two issues right there!
Reading and writing to SNS should be part of the IAM permissions of Zappa IAM. Can you post the syntax needed for that? sns::*, I suppose?
The second is that there needs to be a configurable option to NOT override the IAM role if one is explicitly specified.
Thanks for bringing this up!

Solved this, sorry for the noise. I created a new policy based on the policy in the zappa-permissions policy, then added the extra permissions I needed. Then I created a new role based on that policy and specified that role as role_name in my zappa_settings.json. I had to undeploy and deploy the app but then it worked.
So I think things are ok but will leave this open if you think there is still one or more issues.

Okay, so I guess that 'role_name' does in fact work as expected, but we should still have sns::* as a default, I think.
Are there any other AWS services that you think Zappa should have initial access to?

Added SNS to default in latest.


Option to modify/disable Campaign-Create Statuses trigger

While creating these statuses by default for new campaigns is useful, this trigger prevents cloned campaigns from carrying over the original campaign's Member Status values.

are you saying this happens with all campaign record types, or just Volunteer Campaigns?

This only happens with Volunteer Campaigns, because of this trigger I'm assuming: Volunteers-for-Salesforce/src/triggers/VOL_Campaign_CreateStatuses.trigger
The trigger inserts the hard-coded Campaign Member Statuses then deletes the original ones.

V4S is going to overwrite any campaign member statuses with the values it uses when Hours get updated.  That's why on the New trigger, it removes the default ones and adds its special ones.   I don't know how we can detect that the insert is actually a clone.  Also don't understand the use case of or side affect of not having the V4S statuses and leaving the default ones in.

We have a client who would like to customize the member statuses of certain volunteer campaigns, to fit their own processes better. If they're customized, they'd like to be able to clone them to future campaigns. Would you suggest that the values not be customized at all?

yep.  V4S will overwrite the statuses with Active when a Volunteer Hours record is saved.  They could always add their own custom fields on CampaignMembers instead to track additional info.

All:
Been following this conversation. Agreed. It would be nice if Vol did not
overwrite campaign member status as it currently does but rather allowed
for a custom mapping or use of preexisting values on the referenced
campaign. We have used other methods as a work around ... But it would be
nice to avoid work around.
On Jul 29, 2015 4:09 PM, "Zosoled"<EMAIL_ADDRESS>wrote:

While creating these statuses by default for new campaigns is useful, this
trigger prevents cloned campaigns from carrying over the original
campaign's Member Status values.
—
Reply to this email directly or view it on GitHub
https://github.com/davidhabib/Volunteers-for-Salesforce/issues/152.