Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/63568
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" e2dcac42e0e73a3260389d094dd5a78c8081013e
git push origin v0.0.1

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/63568
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.1 -m "<description of version>" 64049406a5079c084256fc8f0f9c94497ec129a8
git push origin v0.0.1

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/72909
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.2 -m "<description of version>" a25c4b5e1f54b24b202c0098e8ef165e45828cff
git push origin v0.0.2

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/97608
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.3 -m "<description of version>" 4f4b2f2b1f44a429438d6e2263a310a78ec64f55
git push origin v0.0.3

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/111269
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.4 -m "<description of version>" e96d785ee3b8af4ecd862553d44e810b96f88165
git push origin v0.0.4

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/114787
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.0.5 -m "<description of version>" f252b223cd25fc65983890d9f05b669264eb0e14
git push origin v0.0.5


MINOR: fix the wrong/missing anchor caused link error

Finding this link issue when reading the streaming doc: https://kafka.apache.org/27/documentation/streams/developer-guide/config-streams.html#optional-configuration-parameters

processing.guarantee: the anchor link name has typo: guarantedd -> guarantee
upgrade.from: we didn't set the span element id to allow the anchor link.

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@bbejeck @mjsax , could you help review this PR? Thanks.

Thanks @showuon!


[Bug Report] Playlist add

Bug Description
So when I add songs to a playlist it shows up like this

Or I just don't know what I'm doing. If you could help me with this would be awesome! Discord: Simply_da_goon
awesome
Steps to Reproduce
1.2.3
Expected Result
To add songs to playlist
the
Debug Output
nothing
Additional Info
nothing
Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am running the latest version of the bot:

The tracks HAVE to be a link. It can't be a name.

Tracks need to be a direct link, a direct path, or in a supported search format (ie: ytsearch:never gonna give you up). Search terms on their own will not work.


Remove all Fibonacci Nodes from a Circular Singly Linked List

💥 Proposal
Hello, I'm GSSOC'21 participant. I want to add the program  in C++ to remove all Fibonacci Nodes from a Circular Singly Linked List.
Can you please assign this issue to me?
I will write a code with proper comments and example.
Have you read the Contributing Guidelines on Pull Requests?
Yes, I have read the guidelines.

/assign

Please check pull request : #4124


[Defaults]: Request to add more TV Networks

Link to File
https://github.com/meisnate12/Plex-Meta-Manager/blob/master/defaults/show/network.yml
Version Number
1.18.0
What branch are you on?
master
Describe the Bug
Not really a bug, a request to add more TV Networks:
Adult Swim
Apple TV+
Hulu
Paramount+
Peacock
STAR+
SyFy

That file is no longer used as a default by PMM, so the quickest way to do this will be to make a copy of it and customize it to suit.

In version 1.18, the defaults are in the app repo [so they're in the docker container if you're using docker]
https://github.com/meisnate12/Plex-Meta-Manager/tree/master/defaults
They're documented here:
https://metamanager.wiki/en/latest/defaults/guide.html
Prior to that, the defaults were taken from the config repo:
https://github.com/meisnate12/Plex-Meta-Manager-Configs/tree/master/PMM
Prior to that, the meisnate12 files form the configs repo were used as examples and "defaults" in the wiki:
https://github.com/meisnate12/Plex-Meta-Manager-Configs/tree/master/meisnate12

Please correct me if I'm wrong but I believe the file I made reference is actually part of the app repo (it comes from Plex-Meta-Manager, not Plex-Meta-Manager-Configs).
Given that it is from the app repo I still don't know how to make the required changed for the request to work, I'll try to see if I can identify how I can achieve this and report back.

Oh, you’re right.  I misread the URL.  Apologies.

No worries, actually your pointing to the documentation after a few reads and re-reads (my fault I believe, not the documentation), I believe I've found the solution which I believe lies in using the template parameters append_include and append_addons. I'm testing this and will report back.
Best regards.

I was correct, this is the right way to handle this case, I'm sorry for the unnecessary issue, just for reference this is how my config file ended up looking like:
    - pmm: network                                  # ABC, CBC, NBC, FOX, etc.
      template_variables:
        collection_section: "13"
        append_include:
          - Adult Swim
          - Apple TV+
          - Hulu
          - Paramount+
          - Peacock
          - STAR+
          - SyFy
        append_addons:
          Adult Swim:
            - Adult Swim
          Apple TV+:
            - Apple TV+
          Hulu:
            - Hulu
          Paramount+:
            - Paramount+
          Peacock:
            - Peacock
          STAR+:
            - STAR+
          SyFy:
            - SyFy


Fix error in FuseMultiUseElementwiseProducersPass

isHorizontalToGroup doesn't check op to make sure it doesn't use any values defined above. This is a workaround for the fact that getBackwardsSlice doesn't track ops if they are used in the region but not as an operand to the operation.
Closes https://github.com/iree-org/iree/issues/18847

I think this is basically a bug in backwardSlice computation. For operations that have regions, it should follow those that are defined outside the op and used in the region as well.  We can try it first by adding a wrapper around getBackwardSlice that does this and see if that fixes it, and then you can try to update the upstream slice functionality.

I think this is basically a bug in backwardSlice computation. For operations that have regions, it should follow those that are defined outside the op and used in the region as well. We can try it first by adding a wrapper around getBackwardSlice that does this and see if that fixes it, and then you can try to update the upstream slice functionality.

I have something working, but the wrapper needs some cleanup because it's a bit confusing.

https://github.com/iree-org/iree/pull/19032


Explicitly including a reference to "Microsoft.NetCore.App" results in lots of errors opening RESX, project faults and analyzer errors

Open https://github.com/Ponant/ResBugV2

Ran into various issues:
Open Resources\Controllers.HomeController.fr.resx:

Severity	Code	Description	Project	File	Line	Suppression State
Message		Object reference not set to an instance of an object.			0
Message		Object reference not set to an instance of an object.			0
Message		Object reference not set to an instance of an object.			0
Message		Object reference not set to an instance of an object.			0

Project fault various times that I opened the project:
=====================
02/14/17 7:40:37 PM
Crippling
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReference.get_Name()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.EnsurePopulated(Boolean fPopulateProject)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(String fullName, Boolean correctThread)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.IDesignTimeAssemblyLoader.GetTargetAssemblyPath(AssemblyName runtimeOrTargetAssemblyName, String suggestedAssemblyPath, FrameworkName targetFramework)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssembly(AssemblyName assemblyName)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetSystemAssembly()
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetUniverse(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider..ctor(IVsDesignTimeAssemblyResolution assemblyResolution, IDesignTimeAssemblyLoader assemblyLoader, TypeDescriptionProvider parentProvider, IVsSmartOpenScope openScope)
   at Microsoft.VisualStudio.ProjectUtilities.GetTargetFrameworkProvider(IServiceProvider provider, IDesignTimeAssemblyLoader assemblyLoader, IVsHierarchy hierarchy, Object instance)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.get_TypeProvider()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.VSLangProj._dispReferencesEvents.ReferenceAdded(Reference r)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReferences.OnReferenceAdded(Reference reference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ReferencesHostBridge.ApplyAsync(ReferencesDelta value)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_1.<<InitializeCoreAsync>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask`1.<JoinAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_0.<<InitializeCoreAsync>b__2>d.MoveNext()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReference.get_Name()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.EnsurePopulated(Boolean fPopulateProject)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.SearchNormalEntries(String fullName, Boolean correctThread)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.System.ComponentModel.Design.IDesignTimeAssemblyLoader.GetTargetAssemblyPath(AssemblyName runtimeOrTargetAssemblyName, String suggestedAssemblyPath, FrameworkName targetFramework)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssembly(AssemblyName assemblyName)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetSystemAssembly()
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetUniverse(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider..ctor(IVsDesignTimeAssemblyResolution assemblyResolution, IDesignTimeAssemblyLoader assemblyLoader, TypeDescriptionProvider parentProvider, IVsSmartOpenScope openScope)
   at Microsoft.VisualStudio.ProjectUtilities.GetTargetFrameworkProvider(IServiceProvider provider, IDesignTimeAssemblyLoader assemblyLoader, IVsHierarchy hierarchy, Object instance)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.get_TypeProvider()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.VSLangProj._dispReferencesEvents.ReferenceAdded(Reference r)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReferences.OnReferenceAdded(Reference reference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ReferencesHostBridge.ApplyAsync(ReferencesDelta value)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_1.<<InitializeCoreAsync>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask`1.<JoinAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_0.<<InitializeCoreAsync>b__2>d.MoveNext()<---

===================

Also got the following analyzer errors, which I'm sure if they are related or not (I suspect they are because the TypeResolutionService hooks onto AssemblyResolve, and throws in that path):
Severity	Code	Description	Project	File	Line	Suppression State
Warning	AD1002	Unable to load Analyzer assembly C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\ENTERPRISE\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\MANAGEDLANGUAGES\VBCSHARP\LANGUAGESERVICES\Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.dll: Object reference not set to an instance of an object.			1	Active
Warning	CS8034	Unable to load Analyzer assembly C:\Users\davkean\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll: Object reference not set to an instance of an object.	LocalizationGarage		1	Active
Warning	CS8034	Unable to load Analyzer assembly C:\Users\davkean\.nuget\packages\microsoft.codeanalysis.analyzers\1.1.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll: Object reference not set to an instance of an object.

Closing since this is tracked by CPS.

Some code doesn't handle references coming from the NuGet JSON file, and need be fixed.

This will be fixed in the first update post RTM. If you run into this, the workaround is to remove the explicit package reference to Microsoft.NETCoreApp.

Similar error, without reference to "Microsoft.NetCore.App" with VS2017 RTM:
=====================
08/03/2017 16:41:34
Crippling
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReference.get_Version()
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.GetAllResolvedReferences()
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.ResolveReferences(String[] originalNames, AssemblyName[] assemblyName, VsResolvedAssemblyPath[] assemblyPaths)
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx(String[] prgAssemblySpecs, UInt32 cAssembliesToResolve, VsResolvedAssemblyPath[] prgResolvedAssemblyPaths, UInt32& pcResolvedAssemblyPaths)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssemblyPath(String assemblySpec)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssembly(AssemblyName assemblyName)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetSystemAssembly()
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetUniverse(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider..ctor(IVsDesignTimeAssemblyResolution assemblyResolution, IDesignTimeAssemblyLoader assemblyLoader, TypeDescriptionProvider parentProvider, IVsSmartOpenScope openScope)
   at Microsoft.VisualStudio.ProjectUtilities.GetTargetFrameworkProvider(IServiceProvider provider, IDesignTimeAssemblyLoader assemblyLoader, IVsHierarchy hierarchy, Object instance)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.get_TypeProvider()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.ClearReferenceEntries(Boolean normal, Boolean project, Boolean disposing)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.VSLangProj._dispReferencesEvents.ReferenceRemoved(Reference r)
   at VSLangProj._dispReferencesEvents_ReferenceRemovedEventHandler.Invoke(Reference pReference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReferences.OnReferenceRemoved(Reference reference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ReferencesHostBridge.ApplyAsync(ReferencesDelta value)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_1.<<InitializeCoreAsync>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask`1.<JoinAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_0.<<InitializeCoreAsync>b__2>d.MoveNext()
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReference.get_Version()
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.GetAllResolvedReferences()
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.ResolveReferences(String[] originalNames, AssemblyName[] assemblyName, VsResolvedAssemblyPath[] assemblyPaths)
   at Microsoft.VisualStudio.ProjectSystem.VS.References.DesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx(String[] prgAssemblySpecs, UInt32 cAssembliesToResolve, VsResolvedAssemblyPath[] prgResolvedAssemblyPaths, UInt32& pcResolvedAssemblyPaths)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssemblyPath(String assemblySpec)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.ResolveAssembly(AssemblyName assemblyName)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetSystemAssembly()
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse..ctor(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkUniverse.GetUniverse(IDesignTimeAssemblyLoader assemblyLoader, IVsDesignTimeAssemblyResolution projectAssemblyResolution, IVsSmartOpenScope dispenser)
   at Microsoft.VisualStudio.Shell.Design.VsTargetFrameworkProvider..ctor(IVsDesignTimeAssemblyResolution assemblyResolution, IDesignTimeAssemblyLoader assemblyLoader, TypeDescriptionProvider parentProvider, IVsSmartOpenScope openScope)
   at Microsoft.VisualStudio.ProjectUtilities.GetTargetFrameworkProvider(IServiceProvider provider, IDesignTimeAssemblyLoader assemblyLoader, IVsHierarchy hierarchy, Object instance)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.get_TypeProvider()
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.ClearReferenceEntries(Boolean normal, Boolean project, Boolean disposing)
   at Microsoft.VisualStudio.Design.VSTypeResolutionService.VSLangProj._dispReferencesEvents.ReferenceRemoved(Reference r)
   at VSLangProj._dispReferencesEvents_ReferenceRemovedEventHandler.Invoke(Reference pReference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.Automation.OAVSReferences.OnReferenceRemoved(Reference reference)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ReferencesHostBridge.ApplyAsync(ReferencesDelta value)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_1.<<InitializeCoreAsync>b__3>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.<JoinAsync>d__76.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask`1.<JoinAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectHostBridge`3.<>c__DisplayClass36_0.<<InitializeCoreAsync>b__2>d.MoveNext()<---

===================

This will be fixed in the first update post RTM. If you run into this, the workaround is to remove the explicit package reference to Microsoft.NETCoreApp.

I'm also hitting this without an apparent reference to Microsoft.NetCoreApp.
Here are the repo steps, unsure if it's repeatable or not at the moment.

Clone https://github.com/jaredpar/roslyn
Sync to branch repo-ps1
Run msbuild /t:Restore Compilers.sln
Open Compilers.sln in Visual Studio

Yes a reference to Microsoft.NETCoreApp was a symptom, but not the cause. This will happen in normal projects under specific circumstances, it's fixed in 15.1


Implement project method for RBAC

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/hold

I remove migration method to be simple.
I'll implement merge method for RBAC roles and user group.
/hold cancel

@knanao Looks neat! Just a nit. PTAL and then we can merge this.

Nice.
/lgtm

Big thing is coming 🚀
/approve


Pure unittests with scalatest library

Hi!
I'm trying to run unit tests based on scalatest library. I've placed my tests in src/test/scala/ folder and added this to build.sbt:
sourceDirectory in Test := baseDirectory.value / "src" / "test"

libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.1" % "test"

But when I call sbt test I get:
object scalatest is not a member of package org
import org.scalatest._
           ^

The output of show test:dependencyClasspath includes scalatest but It seems that scalatest library isn't added to classpath at some strange reason. How to fix this?

remove sourceDirectory in Test
it works fine.

I tried but no luck. Can you provide sample project file for me?
My sbt layout looks like https://gist.github.com/raymank26/c903a050590f2d96a9b3

pnguyen-m2:~ pnguyen$ mkdir t
pnguyen-m2:~ pnguyen$ cd t
pnguyen-m2:t pnguyen$ sbt "gen-android android-21 com.example Foo"
[info] Loading global plugins from /Users/pnguyen/.sbt/0.13/plugins
[info] Set current project to t (in build file:/Users/pnguyen/t/)
[info] Creating project: Foo
Created directory /Users/pnguyen/t/src/main/java
Created directory /Users/pnguyen/t/src/main/java/com/example
Added file ./src/main/java/com/example/MainActivity.java
Created directory /Users/pnguyen/t/src/androidTest/java
Created directory /Users/pnguyen/t/src/androidTest/java/com/example
Added file ./src/androidTest/java/com/example/MainActivityTest.java
Created directory /Users/pnguyen/t/src/main/res
Created directory /Users/pnguyen/t/src/main/res/values
Added file ./src/main/res/values/strings.xml
Created directory /Users/pnguyen/t/src/main/res/layout
Added file ./src/main/res/layout/main.xml
Created directory /Users/pnguyen/t/src/main/res/drawable-xhdpi
Created directory /Users/pnguyen/t/src/main/res/drawable-hdpi
Created directory /Users/pnguyen/t/src/main/res/drawable-mdpi
Created directory /Users/pnguyen/t/src/main/res/drawable-ldpi
Added file ./src/main/AndroidManifest.xml
Added file ./build.gradle
Created directory /Users/pnguyen/t/gradle/wrapper
[info] Creating SBT project files
pnguyen-m2:t pnguyen$ echo 'libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.1" % "test"' > build.sbt
pnguyen-m2:t pnguyen$ mkdir -p src/test/scala
pnguyen-m2:t pnguyen$ cat > src/test/scala/t.scala <<EOF
> import org.scalatest._
> class t extends FunSuite {
> test("hi") { }
> }
> EOF
pnguyen-m2:t pnguyen$ sbt test
[info] Loading global plugins from /Users/pnguyen/.sbt/0.13/plugins
[info] Loading project definition from /Users/pnguyen/t/project
[info] Updating {file:/Users/pnguyen/t/project/}t-build...
[info] Resolving org.scala-sbt.ivy#ivy;2.3.0-sbt-fccfbd44c9f64523b61398a0155784d[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source to /Users/pnguyen/t/project/target/scala-2.10/sbt-0.13/classes...
[info] Set current project to com-example (in build file:/Users/pnguyen/t/)
[info] Updating {file:/Users/pnguyen/t/}com-example...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Collecting resources
[info] Performing full resource merge
[info] Crunching single PNG file: /Users/pnguyen/t/src/main/res/drawable-mdpi/ic_launcher.png
[info]  Output file: /Users/pnguyen/t/target/android-bin/resources/res/drawable-mdpi-v4/ic_launcher.png
[info] Crunching single PNG file: /Users/pnguyen/t/src/main/res/drawable-ldpi/ic_launcher.png
[info]  Output file: /Users/pnguyen/t/target/android-bin/resources/res/drawable-ldpi-v4/ic_launcher.png
[info] Crunching single PNG file: /Users/pnguyen/t/src/main/res/drawable-hdpi/ic_launcher.png
[info]  Output file: /Users/pnguyen/t/target/android-bin/resources/res/drawable-hdpi-v4/ic_launcher.png
[info] Crunching single PNG file: /Users/pnguyen/t/src/main/res/drawable-xhdpi/ic_launcher.png
[info]  Output file: /Users/pnguyen/t/target/android-bin/resources/res/drawable-xhdpi-v4/ic_launcher.png
[info] Processing resources
[info] Rebuilding all classes because R.java has changed
[info] Compiling 4 Java sources to /Users/pnguyen/t/target/android-bin/classes...
[warn] Note: /Users/pnguyen/t/src/androidTest/java/com/example/MainActivityTest.java uses or overrides a deprecated API.
[warn] Note: Recompile with -Xlint:deprecation for details.
[warn] No main class detected
[info] Packaging /Users/pnguyen/t/target/android-bin/classes.jar ...
[info] Done packaging.
[info] Compiling 1 Scala source to /Users/pnguyen/t/target/test-classes...
[info] t:
[info] - hi
[info] Run completed in 200 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 5 s, completed Mar 13, 2015 8:16:14 AM

Finally got it. I've refactored layout to gradle layout(see commit to my previous gist) and everything is OK.

Yes, if you want it to be ant layout, tests cannot be under src/. Reason should be pretty clear: those are normal sources and now you have a conflict in behavior.


New file structures

Please delete the old pyxisdb files and unzip the PyxisDB.zip file.

Please delete the old pyxisdb files and unzip the PyxisDB.zip file.

Actually,I don't wanna change the current file structure


启动报错

[BUILD-SCRIPTS]  Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'e:'                                           15:02:28
at new NodeError (node:internal/errors:387:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1116:11)
at defaultResolve (node:internal/modules/esm/resolve:1196:3)
at nextResolve (node:internal/modules/esm/loader:165:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:844:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:431:18)
at ESMLoader.import (node:internal/modules/esm/loader:528:22)
at importModuleDynamically (node:internal/modules/esm/translators:110:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at file:///E:/npmpackage/react-component/node_modules/build-scripts/lib/utils/loadConfig.js:152:2

看来又不支持window

用window的前端不是好前端，用window 再用ice的前端更low？

1.4.0 将会修复此问题

1.4.0 fixed


Screenutil cannot utilize in const_style

Screenutil cannot utilize in const_style

Don't use const modification

Don't use const modification


Update and rename coordinates.schema.json to coordinatePoint.schema.json

based on what is in the Wiki and mentioned #33

defintions file is updated accordingly in #61


Cannot connect to containers based on mcr.microsoft.com/dotnet/core/aspnet:3.0 with VS2019 remote debug - error 0x80004005

Copied from https://github.com/dotnet/dotnet-docker/issues/1530 by @ktos
Steps to reproduce the issue

Create a new container where base image is mcr.microsoft.com/dotnet/core/aspnet:3.0 or mcr.microsoft.com/dotnet/core/aspnet:3.1 (or probably older, haven't tested) on a remote Docker host,
Try to connect to process using remote debug in VS2019 16.4.10,
Error: Operation not supported. Unknown error: 0x80004005.

Expected behavior
List of processes to be attached to appears.
Actual behavior
An error similar to this:
---------------------------
Microsoft Visual Studio
---------------------------
Unable to connect to 'temperaturektosdev_temperatureservice3_1;ssh=ktos@[redacted]'.  Operation not supported. Unknown error: 0x80004005.
---------------------------
OK
---------------------------

Additional information (e.g. issue happens only occasionally)
Described the whole problem in Microsoft/DockerTools#222, especially https://github.com/microsoft/DockerTools/issues/222#issuecomment-565748326 - everything is because the lack of ps program in the image. Installing it via apt install procps fixes the issue.
Problem appears only in Buster images, at least not in Alpine (there is ps installed, I confirmed).
Still not sure why it works flawlessly for my LOCAL Docker host (Windows) and not for my REMOTE Docker host (Ubuntu). Maybe there is some difference in getting processes info?
However, I think that ps should be a part of a base image for ASP.NET Core web apps.
Output of docker version
Client:
 Version:           18.09.7
 API version:       1.39
 Go version:        go1.10.1
 Git commit:        2d0083d
 Built:             Fri Aug 16 14:20:06 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.7
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.1
  Git commit:       2d0083d
  Built:            Wed Aug 14 19:41:23 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output of docker info
Containers: 11
 Running: 11
 Paused: 0
 Stopped: 0
Images: 21
Server Version: 18.09.7
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version: N/A
init version: v0.18.0 (expected: fec3683b971d9c3ef73f284f176672c44b448662)
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-72-generic
Operating System: Ubuntu 18.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.9GiB
Name: lisa.srv.kilibar.be
ID: PB2S:CT6S:MXWC:RGDU:YPLJ:5AJR:G266:UKX6:2LPL:UZ42:HBU4:7BOW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

WARNING: No swap limit support

Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-566730278 by @MichaelSimons
@ktos - in https://github.com/microsoft/DockerTools/issues/222 you said:

Even more strangely, every other container on the same remote host allows me to be debugged, except every ASP.NET Core ones!

Can you share details about these other containers?  What technologies are they based on?  What base OS are the based on?
Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-566771461 by @ktos
@MichaelSimons:

Can you share details about these other containers? What technologies are they based on? What base OS are the based on?

Of course.
It seems I overstated "every". Containers I can successfully connect to show list of processes available to debug are:

registry:2.7 (https://hub.docker.com/_/registry, https://github.com/docker/distribution-library-image/blob/master/Dockerfile.noarch, based on Alpine),
couchdb:latest (https://github.com/apache/couchdb-docker/blob/3bcc626d30623789b4750d076f059bcd010c2a04/2.3.1/Dockerfile - based on Debian Stretch, but ps is in that image),
my own ktos/eleia:latest (https://github.com/ktos/Eleia/blob/master/Dockerfile - based on mcr.microsoft.com/dotnet/core/runtime:3.0-alpine).

Containers throwing error 0x80004005 in VS:

jc21/registry-ui (based on https://hub.docker.com/r/jc21/node/dockerfile, based probably on https://github.com/nodejs/docker-node/blob/f5875531604b4b3b9fbc36437182781c3655c8ae/10/stretch-slim/Dockerfile - based on Debian Stretch, there is no ps in this image, just checked),
loicsharma/baget (https://github.com/loic-sharma/BaGet/blob/master/Dockerfile, based on microsoft/dotnet:2.2-aspnetcore-runtime),
my own based on microsoft/aspnetcore:2.0,
my own based on mcr.microsoft.com/dotnet/core/aspnet:3.0

Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-566775007 by @ktos
And I just checked - couchdb:latest is Debian Stretch based, however it installs procps because couchdb requires it: https://github.com/apache/couchdb-pkg/blob/master/debian/control#L38
Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-567219203 by MichaelSimons
@dbreshears - Is this something that falls under your area of ownership?  If not do you know who does?
The UX doesn't seem ideal here.

I would expect a better error message indicating ps is required when it is not found.
Given ps is not included in the Debian base OS image, what is your recommendation here?  Is it possible for the tooling to dynamically install any dependencies it requires?

Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-567226668 by @dbreshears
@gregg-miskelly, is this something you can help with?
Copied from https://github.com/dotnet/dotnet-docker/issues/1530#issuecomment-567249893 by @gregg-miskelly
@dbreshears can you transfer this issue to Microsoft/MIEngine? CC @pieandcakes

This will be fixed in the next Preview release of Visual Studio 2019 version 16.5

@pieandcakes -
Hi, after installing the said VS Preview version,
The specific error mentioned above is gone, but another one comes instead:

I tried to execute the command manually in my docker host to see why it fails (docker exec -it my_container /bin/sh "/root/.vs-debugger/Get                                                                                VsDbg.sh" -v vs2019 -l "/root/.vs-debugger/vs2019" -a "/remote_debugger" ):
Info: Previous installation at '/root/.vs-debugger/vs2019' not found
Info: Using vsdbg version '16.3.10904.1'
Using arguments
    Version                    : 'vs2019'
    Location                   : '/root/.vs-debugger/vs2019'
    SkipDownloads              : 'false'
    LaunchVsDbgAfter           : 'false'
    RemoveExistingOnUpgrade    : 'false'
Info: Using Runtime ID 'linux-x64'
Downloading https://vsdebugger.azureedge.net/vsdbg-16-3-10904-1/vsdbg-linux-x64.                                                                                zip

ERROR: Command 'unzip' not found. Install 'unzip' for this script to work.

I thought it have something to do with the base image I was using -mcr.microsoft.com/dotnet/core/aspnet:3.1m so I changed my container base image to mcr.microsoft.com/dotnet/core/sdk:3.1 but the same issue (unzip not found) still exist.

@eitanhs the dotnet core debugger (vsdbg) requires unzip to be installed in the container. You can either add a line in the dockerfile to install unzip or install it manually from the command line. Once its installed, it will work.

@pieandcakes Thanks, that's what I eventually ended up doing...
I just want to point out that IMHO it is a weird design decision not to include the tools required to enable remote debugging even in SDK image...
If you agree with me and can point me to the relevant issue tracker, I will be glad to open an issue on the regard.
Thanks!

@eitanhs I've tried to get the owners of the dotnet containers to add unzip but they seem to not want to do it. unfortunately i don't know if they have a public facing way to suggest a change.

.NET Core Docker issues can be logged at https://github.com/dotnet/dotnet-docker/issues.
@pieandcakes - Why isn't a tarball being used for this Linux scenario versus a zip?  Tar is included in the Linux images.  Adding additional packages such as unzip to the .NET Core runtime images is going to be met with resistance from the large number of customers who want slim images.

@gregg-miskelly Can probably clarify better but if I remember the reason why its because we create the zip files on Windows and theres no good way to create a tarball in our build machines on Windows.

@MichaelSimons @pieandcakes That is what I recall also. Though maybe there are better options for creating tarballs that we just failed to find.

From a Linux container perspective I think the usability of zips and requiring unzip to be installed within the container is a limiting factor.  tar has been supported in Windows for sometime now.  Can you make use of it within your builds to produce tarballs?

We can take another look and see if we can switch what is being generated.


[Publishing] @craigspaeth => Article2 Infinite scroll browser navigation

Pushes articles to window.history and updates the tab title (document.title) in the browser as you scroll along.

Straightforward code and LGTM!


WIP - Stripout Jupyter notebook frontend code

This PR is a reboot of the Jupyter server project.
The Jupyter server is the classic notebook server stripped out of the classic notebook frontend.
It can be started with jupyter server and frontends like JupyterLab should be installed as Jupyter extensions.
I can now run jupyterlab successfully on the top of it. It requires

https://github.com/jupyterlab/jupyterlab/pull/4954
https://github.com/jupyterlab/jupyterlab_launcher/pull/49

The new conf.d approach will make it a cinch for the notebook to be a server extension itself, exciting!

Not sure what I should do with the classic notebook? Open a PR to make it use the server?

So you're proposing ripping the server part of the notebook package out, and make the notebook package just the server extension? That makes sense to me. Likely would be notebook version 6, of course.
CC @gnestor, @takluyver, @Carreau, @minrk for discussion.

So you're proposing ripping the server part of the notebook package out, and make the notebook package just a server extension? That makes sense to me. Likely would be notebook version 6, of course.
CC @gnestor, @takluyver, @Carreau, @minrk for discussion.

Exactly. Or have a jupyter_server extension called e.g. classic_notebook if we can't do it with the actual notebook package.

I'm all up for this. The less things we have in the server itself the better.
That would even allow to have alternative implementation of the server in other languages (well no Python extensions of course), but that would be neat.

Not sure what I should do with the classic notebook? Open a PR to make it use the server?

Sounds like a good plan to me. Let me know how I can assist 👍

Great to see everyone agree!
I am trying to figure out the remaining tests that are not passing yet, and would like to merge it then.
As soon as we have an initial version working, we should probably tag a 0.1 version and start making JLab work with both this and notebook.
For following versions, I wonder if other things should also become extensions, for example, the nbconvert handlers (cc @mpacer)?
Once we have a 0.1, we should be able to iterate on  jupyterlab/jupyterlab#4954, jupyterlab/jupyterlab_launcher#49 so that JLab supports both this and the classic notebook, maybe with a shim.

A short-term goal for us to be able to add options to jupyter_server to restrict parts of the kernel protocol, for example by forbidding execute requests... The use case if for it to be able to be used in the same way as the ipywidgets server (which uses a proxy kernel with no execute requests) or the dashboard server which was moved to attic.

In jlab we'd need to not show the "Launch Classic Notebook" menu option the notebook package is not present.

Test are passing.
Anyone in the team is welcome to have a first look at the approach I took. I left a few inline comments for things that stand out since most of the changes are mechanical.

/cc @kevin-bates and @rolweber who might be interested in how jupyter_server might replace the need for kernel_gateway

Thanks @parente.
Yes, this sounds like a good idea.  I can't really comment on how this will impact the web handling portion of Kernel Gateway, but Enterprise Gateway essentially subclasses various "services" classes, so as long as that is preserved and doesn't interfere with the front end "extensions", then EG should be fine.  I'm happy to assist as well.
cc @lresende @akchinSTC

I will be merging, and opening separate issues and PRs for the points raised here.

:+1:


Enable HSTS headers on your SSL domain

I don't see any reason why you don't have it enabled
curl -s -D- https://www.myetherwallet.com/ | grep -i Strict

I would expect something like:
Strict-Transport-Security: max-age=63072000

and I'd also want to have it at
chrome://net-internals#hsts
We have to protect the people against MiTM attacks with SSLstrip

The way we ensure the security of users is by never saving / storing / transmitting sensitive information. If we were sending anything sensitive, you can sure as hell bet we wouldn't rely on SSL alone to do so.
A man in the middle could capture:

Addresses

Already signed transactions

Current gas price

Nonce of a given address

Current balance of an account

That said, we used to have http://www or http:// (I can't remember which) allowed so that those who wanted to connect to their own node that may not have an SSL cert could do so. It doesn't look like that's happening anymore and frankly those advanced users can download the repo if they want to do that so I guess we should probably just look into this.

Try our server and let me know how secure you will find that: https://mytokenwallet.com/#secutiry
We where running there also mew. I think more security on connection is not possible atm.  Alright I'll move to high priority. If anyone can get me an up-to-date guide on setting up with AWS, I may be able to do it myself quicket since @kvhnuke is ignoring me again >.>

Cloudflare is: THE MAN IN THE MIDDLE.
Cloudflare is serving services to absolute illegal websites, to money laundering websites and so on.

I am aware. They are better at namecheap Google Twitter slack godaddy bluehost and site5 and every other fucker at actually turning off access to phishing \ malicious sites. They've always responded with 24 hours. Namecheap has never once responded. Ever. Not even to trademark takedowns. 😡
We don't use cloudflare tho.

Oh also, I signed up for some thing that you have to sign up for to enable this on aws. Hopefully the wait won't be too long

let me know, what?

@tayvano I am not sure what is your web server. According to https://builtwith.com/?https%3A%2F%2Fmyetherwallet.com%2F you are using nginx, so I'd recommend to go thru those steps:
https://www.nginx.com/blog/http-strict-transport-security-hsts-and-nginx/
Thank you for doing it

@tayvano Digging this issue back up. I take it you're using Github pages for hosting right? (@rstormsf that's why it shows as Cloudflare btw). Really should move away from GH pages- it's designed for blogs and wikis, not production sites for crypto because the headers are impossible to change.
To give you an idea of how exposed myetherwallet.com is, here is a report from a really cool little site: MEW report
Essentially, with the current headers, the following can be done pretty easily:

Clickjacking because of a lack of a X-Frame-Options header - create an HTML page with MEW in an iFrame on the site, and capture all the information going into the fields. This is a big one and whilst we are playing whack a rat with fake URLs, this is a really easy way for them to exploit MEW users.

Cross-site scripting attacks because of a lack of a X-XSS-Protection - similar vector to 1, but again, vulnerable and a nasty vector.

As for alternatives to GitHub Pages, we use netlify.com (shouldn't need more than the free tier for MEW)- it supports setting headers and uses git branches or tags to select how to push it. Using them, and setting all the headers the result we get is: Example of a Good Report.
I’ve setup up a demo on a fork of the current GHPages commit in this Netlify Header Demo and as you can see A+ across the board for adding two files (a _headers file and a _redirects file) in this Demo Report. Zero issues with the site, no errors, all good- and has a Content Security Policy and a better caching policy.
If you want, I'll raise the pull request but you'll need to setup a Netlify account. Can do this for V4 as well if you want.

@theoriginaltrubador I'm big fan of netlify


Modify the autoloader

It just dawned on me that if we implement interfaces, a modification to the autoloader should be made, since you won't put an interface in a class-interface.php file.
Right now we have hardcoded the class- part when performing the search for the file name to include. We should modify this to be sort of agnostic regarding classes, interfaces or traits...
Also I'll need to investigate a bit more into using Composers autoloader for autoloading everything.

Fixed in the new version.


sidenav drawer to use custom transition -possible?

not really a bug but i could not find this after searching all over.
I have a sidenav drawer opening with "mode: 'over'
is it possible instead of sliding it in from the left/right to have the sidenav drawer fade in or a way to customize this transition?
I found this where the animation is defined, but wanted to know if there a  method to overwrite component transition or if you can point me the right direction.
thank you

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


Issue #935: Included Kubernetes deployment files in src package

Motivation
Include Kubernetes deployment files in src package

retest this please


Help

Challenge Make Unique Objects by Passing Parameters to our Constructor has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var Car = function(wheels, seats, engines) {
  //Change this constructor
  this.wheels = 4;
  this.seats = 5;
  this.engines = 1;
};

//Try it out here
var myCar=new Car(3,1,2);

Seems I have done right, but it is nut running, not excepting. Please Help!

@Asaplolmazo
Thank you for reporting this issue.
This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "Help" button on the challenge on freeCodeCamp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding.


Added peer_name to ssl context options

While trying to connect to a server over HTTPS on PHP5.6 the client expected the CN returned by the server to be the IP address while the server returned it with the hostname resulting in a failed handshake. By adding the peer_name to the connection context it uses that instead of the IP address as expected CN.

LGTM

Given the current layout, the change LGTM :+1:
Eventually, these context options should likely be moved to the SecureConnector instead.

@clue Agreed :+1:

:+1:
@cboden could do the merge?


Add a spec for not activating any gems during Bundler.setup

This is failing on ruby 2.5, since more of the stdlib is being gemified (fileutils in particular)
We can wait to merge until it passes if you'd like, @indirect, but this will likely also require changes in RubyGems

To ensure that Bundler can continue with the promise of providing the same set of gems across machines, we can't activate any gems, because then the user can't use different versions from what ships with their particular ruby (and their lockfile wont actually be respected)

So my first guess at a solution is to vendor our own fileutils using Automatiek... what are you thinking?

Uh... That sounds janky? Especially since it isn't in its own repo yet. I was thinking we might just be able to avoid using it in code paths that require invokes?

If that's possible, it sounds better. 👍

This should pass on everything but ruby-head now, want to see what's failing there

@indirect what do you want to do with this PR? Add exemptions for ruby-head so that entry stays green, and merge? Or merge as-is?

@segiddins since it passed, I'm okay with merging it now... I guess it at least acts as an early warning system for future breaking changes to ruby head?
@bundlerbot r+


@Framework

Usually we have a framework package for all the technical glue code that is potentially hard to assign to one of the layers. Should there be a @Framework annotation for this?

@Glue?

Alternatively we could enforce to assign specific pieces of glue code to a layer, e.g. a BpmnConfiguration would be assigned to @Domain. Not sure if this is preferable.

What's the relation to @Library? Is there a meta layer for both of them?

We have Library right now, let's see if that is sufficient.


Typescript definition: RouterResolver render type error

My problem,
e.g) test.com/test/:test_number
interface MyAttrs {
  test_number: string;
}

class MyState {
  test: Test;
}

const TestRouteResolver: m.RouteResolver<MyState, MyAttrs> = {
  onmatch(args, requestedPath) {
    ...
  },
  render(vnode) {
    vnode.key = vnode.attrs.test_number; // <- compile error!
    return vnode;
  }
};

For me, it seems like definition of vnode in render function should be fixed.
While defining type of vnode interface, ‘Attrs’ comes first and ‘state’ follows.
However, order of vnode type in render function is ‘State, Params’
I think order of vnode type in render function be changed as defined in vnode interface, that is ‘Params, State’.
current code is..
render?(this: State, vnode: Vnode<State, Params>): Children; // vnode: Vnode<Params, State>?

Vnode interface is defined..
interface Vnode<Attrs, State extends Lifecycle<Attrs, State>>

Paging @spacejack who wrote the typings...

Hi @seoyeongB, can you post this issue on this repo

Closing since the typings aren't part of the mithril repo.


Integrated Intel GPU support

Hello,
Please consider adapting Ollama to use Intel Integrated Graphics Processors (such as the Intel Iris Xe Graphics cores) in the future.

take a look at: https://github.com/ollama/ollama/pull/2578

Very nice!   looking forward to testing it on my Windows PC running Ollama in the future!

+1

I would imagine for anyone who has an Intel integrated GPU, the otherwise unused GPU would add an additional GPU to utilize.
Even if it was limited to 3GB.  That would be an additional 3GB GPU that could be utilized.  It is a 3GB GPU that is not utilized when a model is split between an Nvidia GPU and CPU.
I am running a headless server and the integrated GPU is there and not doing anything to help.

+1

+1 xo

+1

I also have Intel Iris Xe with 8GB ram. But I can't see any benefit. It would be very useful if the hardware we have could be used to its full capacity.
Perhaps consulting AI on how to do it could be a solution. 😂

Personally, I have tried using WebLLM to run AI models like Llama3. When I do this, I notice an improvement in token generation speed because the Intel graphics card is being utilized via the WebGPU API. I wouldn't say the improvement is radical, but it is slightly faster. With some caution, I would estimate the improvement to be around 15%. My specifications are:
Chipset: Intel Core i7 1165G7
Graphics: Intel Iris Xe Graphics 15.7 GB shared memory
RAM: 32 GB DDR4 2667MT/s
Therefore, results may vary significantly depending on the specifications of each system.

+1

+1

+1

ollama with igpu intel

ollama with igpu intel
ollama run with igpu intel with
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/Quickstart/llama_cpp_quickstart.md

It poorly do , it needs a special setup with a special distrbution , it didnt work with me on a non apt distrbution , see this issue

For anyone interested, I've added an Ollama LXC script to tteck's Proxmox Helper-Scripts. The script installs intel-basekit and builds Ollama from source and supports Intel iGPU passthrough (though it has a very long install time). It can be run like any other proxmox helper script: bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/ollama.sh)"
A script for Open WebUI LXC with optional Ollama install is also available: https://tteck.github.io/Proxmox/#open-webui-lxc

+1

I ran the tteck ollama and would not load some models and was way slower compared to the docker version of Ipex
Intel Docker IPEX:
https://github.com/intel-analytics/ipex-llm/blob/main/docs/mddocs/DockerGuides/docker_cpp_xpu_quickstart.md
Added commands to auto-start:
https://github.com/SystemStrategy/Proxmox/blob/main/Ipex_Compose

+1

Please add native support for intel iGPU

I think its not ollama devs probleme , itd an intel probleme that they cant make their oneAPI be usable by the community , & the obscure way ipex-llm is bieng developped is just insane & wouldnt make it possible for ollama devs to integrate it , its intel's probleme.


Dark and light mode

@Rutuj-Runwal kindly assign me this under hacktoberfest 2022 .

Sure go ahead with this


fix the issue #4

Since this is just an example to resolve the issue #4, you don't need to merge this.

@masajiro Thanks for your suggestions! I'll polish it up and resolve the issue soon.

I've implemented a solution with #8. Will close this PR.


Eval of integer compare value is failing: comparison between int and float64 not supported

I hit the following failure when running the following test in ovn-org/ovn-kubernetes :
 panic: failed getting rows for table Logical_Router_Policy from database: comparison between int and float64 not supported

goroutine 197 [running]:
github.com/ovn-org/libovsdb/server.(*Transaction).Wait(0xc0005d4c08, {0xc0005e5800, 0xe}, {0xc0005c42b8, 0x15}, 0xc0005e5898, {0xc0004e6180, 0x1, 0x4}, {0xc000c1ef00, ...}, ...)
	/home/vagrant/dev/ovn-kubernetes.git/go-controller/vendor/github.com/ovn-org/libovsdb/server/transact.go:542 +0x1167
github.com/ovn-org/libovsdb/server.(*OvsdbServer).transact(0xc000153340, {0xc0005e5800, 0xe}, {0xc0002f0000, 0x3, 0x4})
	/home/vagrant/dev/ovn-kubernetes.git/go-controller/vendor/github.com/ovn-org/libovsdb/server/transact.go:76 +0x686
github.com/ovn-org/libovsdb/server.(*OvsdbServer).Transact(0xc000153340, 0xc0003320e0, {0xc0001824e0, 0x4, 0x4}, 0xc000203650)
	/home/vagrant/dev/ovn-kubernetes.git/go-controller/vendor/github.com/ovn-org/libovsdb/server/server.go:230 +0x6df
reflect.Value.call({0x249eba0, 0xc00047e230, 0x13}, {0x272d4e8, 0x4}, {0xc00025fef8, 0x3, 0x3})
	/usr/local/go/src/reflect/value.go:556 +0xc16
reflect.Value.Call({0x249eba0, 0xc00047e230, 0x13}, {0xc001055ef8, 0x3, 0x3})
	/usr/local/go/src/reflect/value.go:339 +0xb7

The test is not yet merged, but can be found here:
https://github.com/ovn-org/ovn-kubernetes/pull/2822
The test in essence uses a conditional in the wait operation. In order to see this issue, there must be one
or more rows in the test db, so a compare is attempted.
pkg/libovsdbops/model_client.go
		lrp, _ := opModel.Model.(*nbdb.LogicalRouterPolicy)
		condPriority := model.Condition{
			Field:    &lrp.Priority,
			Function: ovsdb.ConditionEqual,
			Value:    lrp.Priority,
		}
		waitOps, err := m.client.Where(lrp, condPriority).Wait(
			ovsdb.WaitConditionNotEqual,
			&timeout,
			lrp,
			&lrp.Priority,
		)
		if err != nil {
			return nil, err
		}
		ops = append(ops, waitOps...)

This is what the struct for LogicalRouterPolicy looks like from modelgen:
pkg/nbdb/logical_router_policy.go
// LogicalRouterPolicy defines an object in Logical_Router_Policy table
type LogicalRouterPolicy struct {
	UUID        string                    `ovsdb:"_uuid"`
	Action      LogicalRouterPolicyAction `ovsdb:"action"`
	ExternalIDs map[string]string         `ovsdb:"external_ids"`
	Match       string                    `ovsdb:"match"`
	Nexthop     *string                   `ovsdb:"nexthop"`
	Nexthops    []string                  `ovsdb:"nexthops"`
	Options     map[string]string         `ovsdb:"options"`
	Priority    int                       `ovsdb:"priority"`    <------
}

Numeric values are unmarshalled as floats but that is taken care of by the bindings layer:
https://github.com/ovn-org/libovsdb/blob/c8b4494412b1a0ba1396dd162a9a2d497c80f2b0/ovsdb/bindings.go#L100-L106
My guess is that you need to call OvsToNative on condition.Value before Function.Evaluate
https://github.com/ovn-org/libovsdb/blob/c8b4494412b1a0ba1396dd162a9a2d497c80f2b0/cache/cache.go#L386


open contact list and select one ......from blackberry contacts put name and phone number to applicaiton

open contact list and select one ......from blackberry contacts put name and phone number to applicaiton

Sir , There is no api available in blackberry webwork to invoke contact book of phone and select any number from phone book and return those number to application...
Is there is any plug in available for that ?
Thanks in advance

Can you confirm whether the blackberry.pim.Contact.find() method provides you with the functionality you need?  You can use this to search the contacts application for phone numbers.
https://bdsc.webapps.blackberry.com/html5/apis/blackberry.pim.Contact.html#.find
Or are you looking for a UI dialog that users can select from? If so, this can be something you create within your application using the data received from the find() method, described above.

Ok thanks sir,
Any light weight Frame work you suggest for blackberry 5.0 ?
i am using jquery mobile(min) but it take lot of load in 5.0


Disable software-update notifications

Describe the bug
Can't find a way to disable the BGP alert: software-update notifications
Provide an example
We have configured BGPalerter to send its notifications (considered urgent) to all our SRE team.
However we started to receive non urgent notifications as well BGP alert: software-update which are disruptive to the team.
Based on https://github.com/nttgin/BGPalerter/blob/ae5fcc744e229bc50d91993c97e5cc799912f1d5/docs/configuration.md?plain=1#L18
It is not possible to disable such "every 10 days" emails. Asking everybody to add filters is not sustainable and risks blocking valid notifications.
Expected behavior
There should be a configuration option to disable such notifications, it being opt-in seems more appropriate as well but that's a personal call.
Thanks

sorry for the duplicate but +1 from me :)

Hey,
By default BGPalerter creates 2 user groups default and noc.
default is used for administrative communications about the software (e.g., updates, errors), noc is used only for network incidents (you can also create other user groups).
If you noc is receiving software updates notification, it's because this default configuration was wiped and the default user group is used for both cases. Read more about this in the documentation here, also explained here.
I prefer to not introduce a way to disable default notifications, since these notifications should not reach the noc in the first place, but an admin user/log file. I think this project reaches better it's community goals by reminding users to keep the monitoring software up to date and patched.

@massimocandela thanks for the response

I prefer to not introduce a way to disable default notifications, since these notifications should not reach the noc in the first place, but an admin user/log file. I think this project reaches better it's community goals by reminding users to keep the monitoring software up to date and patched.

I think this is great for users that are using the git version however as per the issues i raised:

when packaging software for linux distributions it is common to pin software to a specific version and only backport security fixes to ensure stability as such it would be desirable to completely disable this option in such software. Further i suspect some would benefit from having lower (or even higher) values here

thanks john
AS14907 - Wikimedia Foundation

In addition to what John mentioned, sending default to /dev/null risks missing important notifications.
If you prefer not adding a know to silence software-update would it be a good compromise to add a mechanism to separate those messages from other potential important notifications?
Thanks

Debian releases will now follow normal releases automatically. This is the best course of action instead of disabling update notification.


Error:  Unable to pub upgrade flutter tool. Retrying in five seconds... MacOS 10.12.6

When I am doing flutter doctor -v, I am getting the below output,
flutter doctor -v
Building flutter tool...
Unknown command `/Users/harry/Flutter/flutter/bin/cache/dart-sdk/bin/pub'. Please specify one command of: add-blob, alias-env, attach-disk, blobs, cancel-task, clean-up, cloud-check, cloud-config, config, configs, cpi-config, create-env, create-release, delete-config, delete-deployment, delete-disk, delete-env, delete-release, delete-snapshot, delete-snapshots, delete-stemcell, delete-vm, deploy, deployment, deployments, disks, environment, environments, errands, event, events, export-release, finalize-release, generate-job, generate-package, help, ignore, init-release, inspect-release, instances, interpolate, locks, log-in, log-out, logs, manifest, orphan-disk, recreate, releases, remove-blob, repack-stemcell, reset-release, restart, run-errand, runtime-config, scp, snapshots, ssh, start, stemcells, stop, sync-blobs, take-snapshot, task, tasks, unignore, update-cloud-config, update-config, update-cpi-config, update-resurrection, update-runtime-config, upload-blobs, upload-release, upload-stemcell, variables, vendor-package or vms

Exit code 1
Error: Unable to pub upgrade flutter tool. Retrying in five seconds...

I tried using flutter both from beta and master branch

@harry329 can you paste the output of the following command?
ls -al /Users/harry/Flutter/flutter/bin/cache/dart-sdk

I'm wondering if something went wrong with the SDK download/unarchive. The following can be used to trigger a re-download, and may help:
rm -rf /Users/harry/Flutter/flutter/bin/cache
flutter doctor

One more question -- are you running BOSH? A search for add-blob, alias-env, attach-disk turned up the above page. I'm not familiar with it -- is it a shell of some sort?
Once we've got an idea of what it is, we should try to avoid triggering whatever interaction with it we currently have in flutter_tools if possible. Does running without BOSH work around the issue for you?

removing bosh worked for me, thanks  :)


Clarify that union_relations() uses union all

resolves #759
This is a:

[x] documentation update
[ ] bug fix with no breaking changes
[ ] new functionality
[ ] a breaking change

All pull requests from community contributors should target the main branch (default).
Description & motivation
SQL supports two primary ways to combine query results: union (de-duping row-wise) and union all (no de-duping). The documentation for the union_relations() macro should be clear about which is used here.
Checklist

[ ] This code is associated with an Issue which has been triaged and accepted for development.
[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered)

[ ] BigQuery
[ ] Postgres
[ ] Redshift
[ ] Snowflake

[ ] I followed guidelines to ensure that my changes will work on "non-core" adapters by:

[ ] dispatching any new macro(s) so non-core adapters can also use them (e.g. the star() source)
[ ] using the limit_zero() macro in place of the literal string: limit 0
[ ] using dbt.type_* macros instead of explicit datatypes (e.g. dbt.type_timestamp() instead of TIMESTAMP

[x] I have updated the README.md (if applicable)
[ ] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have added an entry to CHANGELOG.md

Do trivial documentation updates need entries in CHANGELOG.md?


Error - {"message":"Forbidden"}

I deployed my flask hello world with zappa on aws.
server.py
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, Ieacon!'

if __name__ == '__main__':
    app.run()

API Endpoint
https://hj9weg9e9g.execute-api.ap-south-1.amazonaws.com/devstage

Expected Behavior
Hello, Ieacon! (Works locally)
Actual Behavior
{"message":"Forbidden"}
Possible Fix

Your Environment

Zappa version used: 0.45.1

Operating System and Python version: OSX & Python 2.7.10

The output of pip freeze:
argcomplete==1.9.2 base58==0.2.4 boto3==1.5.6 botocore==1.8.20 certifi==2017.11.5 cfn-flip==1.0.0 chardet==3.0.4 click==6.7 docutils==0.14 durationpy==0.5 Flask==0.12.2 future==0.16.0 futures==3.1.1 hjson==3.0.1 idna==2.6 itsdangerous==0.24 Jinja2==2.10 jmespath==0.9.3 kappa==0.6.0 lambda-packages==0.19.0 MarkupSafe==1.0 placebo==0.8.1 python-dateutil==2.6.1 python-slugify==1.2.4 PyYAML==3.12 requests==2.18.4 s3transfer==0.1.12 six==1.11.0 toml==0.9.4 tqdm==4.19.1 troposphere==2.1.2 Unidecode==0.4.21 urllib3==1.22 Werkzeug==0.12 wheel==0.30.0 wsgi-request-logger==0.4.6 zappa==0.45.1

Link to your project (optional):
https://hj9weg9e9g.execute-api.ap-south-1.amazonaws.com/devstage

Your zappa_settings.py:
{   "devstage": {   	  "api_key_required": true,       "api_key": "xxxxxx",       "s3_bucket": "ieaconbucket",       "app_function": "server.app",       "aws_region": "ap-south-1"   } }

Please help me why i am not able to get the expected output. This is my second project. Previously i was able to deploy the app and was working perfectly. I don't know why it stopped working.
[Edit markdown for code listing –@scoates]

I get the same issue here described!

Experienced this as well.
Fixed it by going into AWS Gateway API > Custom Domain Names and deleting the custom domain (zappa will have created on if you have run certify before). Re-running zappa certify should work.
If that doesn't work, run zappa certify and get back to the state of {"message":"Forbidden"}. Go into AWS Gateway API > Custom Domain Names. You will need to edit the card and add a Base Path Mappings. For the path enter / and select the project in the API select box. Then select the stage you want for this.
That should work perfectly.

Not strictly an answer to your question @daxeel, but may help someone.
I got this when my app redirected to a uri not including the environment name (/uri instead of /dev/uri).
Needed to setup a custom domain.

Yeah i resolved my error in a similar fashion as @mcameron , the URI I was calling was wrong.  A better error message could be "404 not found" or something, instead of Forbidden... since it's not really a permission error, in this case.

{"message": "Forbidden"} comes from API Gateway if it can't route your request (to a lambda, or otherwise).
Is there something Zappa actually did wrong here?

Hello!
I've ran into this, and I'm not sure what is the fix here.
I've deployed using zappa deploy and when I make a request using postman I get forbidden response.
I've added x-api-key header to my postman request.
When I try to do a request via API-Gateway site it ends up with 500 unless I use the proxy part to test a request.
Then the request gets routed to the lambda properly.
But I'm not sure how to target that proxy part of gateway using postman.

Fixed it by going into AWS Gateway API > Custom Domain Names and deleting the custom domain (zappa will have created on if you have run certify before). Re-running zappa certify should work.

In addition to that, I had to remove the Route53 entry.
So

undeply your app
go to Route53 and remove your domain
go to API Gateway and remove your custom domain name
deploy your app
run zappa certify

I am not 100% sure if all the un/deploying is necessary, though.

Experienced this as well.
Fixed it by going into AWS Gateway API > Custom Domain Names and deleting the custom domain (zappa will have created on if you have run certify before). Re-running zappa certify should work.
If that doesn't work, run zappa certify and get back to the state of {"message":"Forbidden"}. Go into AWS Gateway API > Custom Domain Names. You will need to edit the card and add a Base Path Mappings. For the path enter / and select the project in the API select box. Then select the stage you want for this.
That should work perfectly.

Base Path Mappings worked for me. Thanks ❤

This issues still exists and I don't see a option for base path mapping ?

Hi @ashwanthbalakrishnan5 the latest and official Zappa repo is here
And your migrated issue is here

Thanks !!!
Opened a new issue there #1338
Please comment there if you know how to make this work.


Override particlesStyle?

Nice component :)
It would be nice if there was no style, so you can place the particles anywhere. Or that you can override with your own style?

Done with the recent update


Cache data in order to speed up data retrieval

I've noticed that every time I run Python Omniture, it conducts the expensive request every time by:

Collecting the latest report suites from file
Get Metrics
Get Elements
Get Segment

Instead of submitting these requests every time, it would be best if there is a module or command that can update and access a group of files - for example, named "suite.json", "metrics.json", "elements.json", and "segments.json" - in order to reduce the number of unnecessary call requests.
I understand some update their metrics or add additional elements, but this can be handled by an 'update_file' module in order to ensure efficiency

Great idea.  I wonder if we could add this as an option when you initialize the object. Something like omniture.authenticate(username, secrect, cached=True)  would that work for what your use cases? If we did this I think we would have to have a function to update the cache.

That's a good idea! Just to give an idea, my use case looks like something like this:
I utilize a heavy for loop to conduct bulk searches, where I would like to identify the trend/behavior of users of specific device arriving from a specific campaign. Therefore, the pseudo code would be something like
list_of_campaigns = [...]
list_of_devices = [...]
queue = []

for campaign in list_of_campaigns:
    for device in list_of_devices:
        # Build report
        # Append to queue

# Send request to Adobe

Based on O notation, once the campaign list expands, it takes longer and longer to process the data, and I've noticed that it does it every time for any report I build. To have a cache would make the program run effectively.
A better implementation could be to have the cache be initiated at the very start of the request when I establish communication, cache the results in json files once and only once, and then check if file exists and utilize that. In future requests, whenever one runs a new request, the cache file will be re-written with the latest metric, element, or segment.

This is now solved by #38


Can't override Template (two_factor/_base.html)

I have a django 4.1 app.  In the Main Folder there is a templates folder in which I created a new folder two_factor.  I put a _base.html file in this folder.
Expected Behavior
It should use the new _base.html template.
Current Behavior
It still shows the _base.html template from the package.
Possible Solution
None so far
Steps to Reproduce (for bugs)

Create a new Django Project
Add all requirements for two_factor, and follow instruction in documentation
Create a Templates folder and add a folder two_factor
Add a file _base.html

Context
None
Your Environment

Browser and version: Current Firefox
Python version: 3.11
Django version: 4.1
django-otp version: 1.1.4
django-two-factor-auth version: 1.15.0
Link to your project: private

Template Setup:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [ BASE_DIR / 'templates' ],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.media',
'zyako.context_processors.orders_open'
],
},
},
]

@pwfraley what was your solution for this in the end (was it that you were using base.html instead of _base.html as the title updates suggest?)

@pwfraley what was your solution for this in the end (was it that you were using base.html instead of _base.html as the title updates suggest?)

Updating this for anyone else that might be scratching their head - in my case, I had the two_factor app listed before my overriding app in INSTALLED_APPS, (oops!) so my particular issue is resolved


-target option does not generate old javax.xml.ws package name

Issue similar to #1475 but for javax.xml.ws and javax.jws packages. I tried -target 2.1 and -target 2.3. It generates javax.xml.bind properly but still generates jakarta.xml.ws.* and jakarta.jws.*.
My .wsdl file contains <wsdl:service> and <wsdl:portType> elements and has the following definitions:
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="http://schemas.microsoft.com/sharepoint/soap/"
xmlns:s1="http://microsoft.com/wsdl/types/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="http://schemas.microsoft.com/sharepoint/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

I have found the issue that causes this bug in general on the .wsdl side and have updated mine to bypass it. However this issue still stands.


Check to see if module version is already in Puppet Forge before publishing

Each tagged build will attempt to publish the module to Puppet Forge. On subsequent builds of the same tag (e.g. daily builds on master), the release step will fail because the module version already exists on Puppet Forge.
This PR adds a check to the release stage to not attempt to publish if the build is triggered by a cron job, rather than a source code push or a user manually triggering the build.

Thanks @dividedmind, I think I've managed to change this so that it will not attempt to publish on a cron build. Let me know what you think.
I also added a commit here to fix the broken test webserver.


Packaging Kivy application into pip module

Software Versions

Python: 3.8
OS: Ubuntu
Kivy: 2.0.0

I am trying to package my Kivy application into a pip module I can easily install. I am using setuptools to do this. I have the following file structure for my Kivy app:
setup.py
requirements.txt
test/
  data.db
  app.py
  widgets.kv
  style.kv

and my setup.py
setuptools.setup(
    name="TestApp",
    version="0.0.4",
    author="People",
    packages=['test'],
    package_data={ 'test': ['*'] },
    include_package_data=False,
    description="Produce expiration tracker",
    python_requires='>=3.8',
    install_requires=install_requires
)

I was having some issues with (style.kv file not found) from app.py, where it wasn't finding the file:
root = Builder.load_file('style.kv') # <- file not found

fixed it by doing:
root = Builder.load_file(os.path.join(os.path.dirname(__file__), 'style.kv'))

However, now I am getting the same file not found issue in style.kv:
#kivy 1.11.1
#:import utils kivy.utils
#:import Transition kivy.uix.screenmanager
#:import ButtonBehavior kivy.uix.behaviors
#:include widgets.kv

Within the style.kv file, at the line #:include widgets.kv, it can't find the file widgets.kv. How could I fix this from the style.kv file?

You have to add the directory with the kv file to kivy's resources with resource_add_path. See https://kivy.org/doc/stable/api-kivy.resources.html#resource-lookup.
A PR adding this info to linking to resource_add_path in the kv docs is welcome.


add DATE_COLS parsing in pandas

This correctly parses the dates in the pandas DataFrame as dates and changes invalid values to NAT (Not a Time).
This makes it easier to process the results and filter for intervals in the resulting DataFrame

I also added a fix to change columns to numeric if they contain a dash (-) or something else.
This makes data much better representable

Hi @nttoshev @Petrofff93
Could you take a look at this PR please?


Specify via env variable if website should redirect elsewhere

Create env variable
REDIRECT_WEBSITE which defaults to empty string.
if this env variable is set with a valid url, it overrides all actions and redirects the user to this url. This is helpful if you are doing maintenance or if you want to disable a website temporarily for non-payment but not deprovision the resources behind it.
Our upcoming Hosted Service will make use of this.

Will be released with v1.1.3


Add blacklist filter

$ cargo test

...

running 8 tests
test tests::test_deserialize_input_message ... ok
test tests::test_blacklist_accept ... ok
test tests::test_register_builtin_filters ... ok
test tests::test_blacklist_reject ... ok
test tests::test_load_config ... ok
test tests::test_run_filters_shadow_reject ... ok
test tests::test_run_filters_accept ... ok
test tests::test_whitelist_reject ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests noteguard

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

sorry I somehow missed this, will test!


Fix error in ts swizzle description

Motivation
Current swizzle explanation isn't working
Have you read the Contributing Guidelines on pull requests?
yes

Hi, npm requires -- to pass extra args to the script itself: https://docs.npmjs.com/cli/v8/commands/npm-run-script
Yarn doesn't, but this is a problem with our npm2yarn plugin in that it doesn't know to remove that --. See https://github.com/facebook/docusaurus/pull/6005


How to support the same service having both IP endpoints and domain name endpoints

I have a service where some of the endpoints are pods within the cluster (accessible via IP), and some endpoints are not in the current cluster and can only be accessed via domain name.
However, when I looked at the ServiceEntry configuration in Istio, I found that only one type of Resolution can be set: STATIC or DNS.  How can this problem be solved?
Envoy itself support this situation where each cluster can set its own type.
I also considered using multiple ServiceEntries to distinguish between them, configuring both DNS and STATIC ServiceEntries for the same service. But in this case, can a subset in DestinationRule select endpoints from two ServiceEntries? Or is there any other alternative solution?
[ ] Ambient
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

This is not currently possible


NSwagStudio <IP_ADDRESS> crashing on load

upgraded nswag to <IP_ADDRESS> and the app just crashes on load
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileLoadException: Could not load file or assembly 'Namotion.Reflection, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c2f9c3bdfae56102' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at NSwag.Generation.OpenApiDocumentGeneratorSettings..ctor()
at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGeneratorSettings..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstanceT
at NSwag.Commands.Generation.OpenApiGeneratorCommandBase1..ctor()    at NSwag.Commands.NSwagDocument..ctor()    at CreateNSwag.Commands.NSwagDocument()    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader reader, JsonObjectContract objectContract, JsonProperty containerMember, JsonProperty containerProperty, String id, Boolean& createdFromNonDefaultCreator)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)    at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)    at NSwag.Commands.NSwagDocumentBase.FromJson[TDocument](String filePath, String data)    at NSwag.Commands.NSwagDocumentBase.<>c__DisplayClass35_01.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwag.Commands.NSwagDocument.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NSwagStudio.ViewModels.MainWindowModel.<>c__DisplayClass38_0.<b__0>d.MoveNext() in C:\projects\nswag\src\NSwagStudio\ViewModels\MainWindowModel.cs:line 159
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MyToolkit.Mvvm.ViewModelBase.<>c__DisplayClass14_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MyToolkit.Mvvm.ViewModelBase.d__12`1.MoveNext()

I got it to work by going here https://www.nuget.org/packages/Namotion.Reflection/2.0.0 and extracting the Namotion.Reflection.dll from the net45 folder into the C:\Program Files (x86)\Rico Suter\NSwagStudio folder.
Make sure to replace the current 1.0.23 version.

@ImGonaRot Are you able to extract the Namotion.Reflection.dll without actually having to install the package to a project?

Managed to extract it by downloading nupkg file and changing to .ZIP and extracting

I had the same issue....
This was my fix:
winget install nswagstudio -v <IP_ADDRESS>

Not all NuGet packages have been correctly updated...
Will release a fix in the next hours (v13.13.1)

I also saw that the latest package in winget is <IP_ADDRESS> and was wondering how that package reaches winget and if this can also be automated some way, for instance with a Github action

@svrooij I think winget uses chocolatey, that's where we deploy the NSwagStudio package, it's currently on v13.13.0
https://community.chocolatey.org/packages/NSwagStudio
Will be releasing v13.13.1 soon with the fixes.

They use some sort of manual git repository. Maybe this can be automated.
@jadieaston seems to be doing it manual for now, can this be automated is some way?

@RicoSuter we have a CI/CD tool that can help with automation for publishing to the Windows Package Manager Community repository.


Parsing of HTTP headers is not case-insensitive

It appears that Amazon's ELB will in some cases transform header names to lower-case:
http://stackoverflow.com/questions/39871250/aws-application-load-balancer-transforms-all-headers-to-lower-case#39875978
RFC 2616 (and RFC 7230) specifies that HTTP Headers are case-insensitive:
http://stackoverflow.com/questions/5258977/are-http-headers-case-sensitive#5259004
I have an ASP.NET Core application running behind an Amazon ELB. My symptom is that the Antiforgery cookie validation fails because the lower-case cookie header, as supplied by ELB, is failing to be parsed into the Cookies collection on the request.
Note that I'm not using the standard ASP.NET Core servers (Kestrel, etc) since my application must run on Linux and must use Mono (due to some dependencies not being available on dotnet core yet). It's possible that the server that I'm using (https://github.com/flaub/Microsoft.AspNetCore.Server.SocketHttpListener) isn't matching the assumptions made by HttpAbstractions.
Should HttpAbstractions always use case-insensitive string comparisons when dealing with header names?
Should the FeatureContext of a server try to make header names canonical before letting HttpAbstractions parse them?
Where should the responsibility lie for dealing with headers in a case-insensitive manner?

HttpAbstractions adds as little overhead as possible to what the server does, so no canonicalization won't happen at it would add unnecessary overhead for servers that did the right thing. SocketHttpListener should be treating headers as case sensitive. File an issue or send a PR to that repository and get it fixed!

It's possible that my glue code is at fault.
https://github.com/flaub/Microsoft.AspNetCore.Server.SocketHttpListener/blob/master/Microsoft.AspNetCore.Server.SocketHttpListener/HeaderDictionary.cs
Or that is, I could try to make the adapter deal with lookups in a case-insensitive manner. I guess I just didn't know that HttpAbstractions made that assumption. But it makes sense. Thanks!!


List doesn't update if the items themself change, maintaining the same length

I have a view with some tabs, if you change a tab you'll get a different user. Only when the amount of items are the same, the view doesnt get updated.
<div className="table-responsive" style={{ maxHeight: @state.height, overflow: 'auto' }}>
        <ReactList
          itemsRenderer={@itemsRenderer}
          itemRenderer={@itemRenderer}
<EMAIL_ADDRESS>          type='simple'
          translate3d={true}
        />
</div>

A quick console.log in the itemRenderer proves that the row's are not updated / rendered. My solution now is to add a ref to the reactlist and forceupdate it
@refs.list.forceUpdate()
....
 <ReactList ref="list"

All suggestions are more than welcome, thanks!

This is a duplicate of #36.
Also, I see you're using a translated3d prop when you probably meant useTranslate3d.

Ah! Thanks!


Test with InfluxDB 9.4

Done: https://github.com/anryko/grafana-influx-dashboard/commit/f0b73402bafc92d139e5d5594e11de4c649cdee4


Feature/checkbox group

Checkbox Group input
This new element handle multiple choices.
Today only Array as initial v-model is allowed.
Warning
To work properly #3 needs to be merged (when at least one option is selected before mounted it will trigger the indeterminate state).

Awesome!, great job


Added note for working with virtual directories

I spent a day or more researching this so that I could use Swagger-UI in my ASP.NET Core API which is used with a reverse-proxy and virtual directory.  In the end found Swagger-UI requires relative URLs to start with a period.  Related to https://github.com/swagger-api/swagger-ui/issues/4107
Hoping this documentation note will help others.
When creating a new PR, please do the following and delete this template text:

Reference the issue number if there is one:
Fixes #Issue_Number

The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.

Hello @rschiefer ... I'm going to make a quick style pass and then call for review. Thanks for submitting this.

Let's discuss this for a sec ...
We shouldn't say "virtual directory" because that's overloaded for IIS's vdir scenario, which isn't supported. Also, can it be shortened? ... Can the TIP just say ...

> [!TIP]
> If the Swagger assets are in a sub-directory, set the Swagger endpoint to a relative path using the ./ prefix (for example, ./swagger/v1/swagger.json).

Follow-up question: Will it also resolve the path correctly in this scenario if provided like this: swagger/v1/swagger.json?

That makes sense.  I can simulate the virtual path issue by setting the following in the launchsettings file under iisSettings.
  "applicationUrl": "http://localhost:56943/SignatureRequest/v0.0.8/",

@rschiefer Thank you for your patience and contribution. Your changes will go live within the next 24 hours.

Awesome, thanks!


SIGSEGV on Vivado

Hi pulp-team,
I am experiencing segmentation faults while using your fpu in Xilinx Vivado.
I created a very simple testbench, which drives the fpu input signals, under Vivado 2018.2 and instantiated the top module 'fpnew_top' in it.
After that, I properly configured the module in order to implement 32-bit fp operations.
The compilation hangs during the elaboration phase.
I attach my elaborate.log for your convenience.
elaborate.log
Kind regards,
Giovanni

Hi,
could you provide a code snippet with your instantiation of the FPU with the parameter list used?
That would help to reproduce your config and identify whether something goes wrong with parameter passing / some special combination of those.
Thanks!