"Moldoveni" and "Hociungi" are listed in the drop-down menu

Description:
"Moldoveni" and "Hociungi" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Moldoveni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Moldoveni, NEAMȚ (Moldoveni)" and "Comuna Moldoveni, NEAMȚ".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Hociungi" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Hociungi, NEAMȚ (Moldoveni)".


Ubuntu: "The SDK 'Microsoft.Net.Sdk' specified could not be found."

I've installed the net core 2.1 SDK and the projects load correctly. I then installed the 3.0-preview and changed the solution to use this instead and now they can no longer load in VSCode. It loads perfectly fine on my Windows machine.
I've tried setting the SDK path environment variable explicitly but no difference: MsBuildSDKsPath=/usr/share/dotnet/sdk/3.0.100-preview-010184/Sdks/ as well as changing omnisharp.path to latest, setting the path inside omnisharp.json directly and using the insiders build of VSCode.
Is there anything off in my environment? I've created a VM with Linux specifically to test .net core 3 on it so there shouldn't be anything unusual interfering with things. Happy to try out whatever you can suggest.
Example csproj file:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <LangVersion>8.0</LangVersion>
    <IsPackable>false</IsPackable>
  </PropertyGroup>
  <ItemGroup>
      <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
      <PackageReference Include="Mongo2Go" Version="2.2.8" />
      <PackageReference Include="Moq" Version="4.7.145" />
      <PackageReference Include="xunit" Version="2.2.0" />
      <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\..\src\MyApp.Client\MyApp.Client.csproj" />
    <ProjectReference Include="..\..\..\src\MyApps\MyApp.csproj" />
  </ItemGroup>
</Project>

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview-010184
 Commit:    c57bde4593

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/3.0.100-preview-010184/

Host (useful for support):
  Version: 3.0.0-preview-27324-5
  Commit:  63a01b08e5

.NET Core SDKs installed:
  2.2.103 [/usr/share/dotnet/sdk]
  3.0.100-preview-010184 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview-19075-0444 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview-27324-5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

VS Code version:
Version: 1.30.2
Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
Date: 2019-01-07T22:49:48.319Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Linux x64 4.15.0-32-generic

C# Extension version: 1.17.1
Steps to reproduce

Install 2.2.1 SDK
Install 3.0-preview SDK
dotnet new console
Open via code .

Expected  behavior
The project loads correctly and code lens options show.
Actual behavior
Errors in the output and no code lens available. However, using dotnet run runs the project as intended.
Starting OmniSharp server at 27/01/2019, 20:04:35
Target: /home/jeroen/Documents/github/my-app/MyApp.Webapp.sln

OmniSharp server started.
Path: /home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/run
PID: 20475

[info]: OmniSharp.Stdio.Host
Starting OmniSharp on ubuntu 18.4 (x64)
[info]: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 15.0 - "/home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/MSBuild.dll'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 15.0 - "/home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin"
MSBuildExtensionsPath = /home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild
BypassFrameworkInstallChecks = true
CscToolPath = /home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin/Roslyn
CscToolExe = csc.exe
MSBuildToolsPath = /home/jeroen/.vscode/extensions/ms-vscode.csharp-1.17.1/.omnisharp/1.32.8/omnisharp/msbuild/15.0/Bin
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/home/jeroen/Documents/github/my-app'.
[info]: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
[info]: OmniSharp.WorkspaceInitializer
Project system 'OmniSharp.DotNet.DotNetProjectSystem' is disabled in the configuration.
[info]: OmniSharp.MSBuild.ProjectSystem
Detecting projects in '/home/jeroen/Documents/github/my-app/MyApp.Webapp.sln'.
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/jeroen/Documents/github/my-app/src/MyApp.Webapp/MyApp.Webapp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/jeroen/Documents/github/my-app/src/MyApp.Client/MyApp.Client.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/jeroen/Documents/github/my-app/src/MyApp/MyApp.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
Queue project update for '/home/jeroen/Documents/github/my-app/tests/unit/MyApp.Tests/MyApp.Tests.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/home/jeroen/Documents/github/my-app'.
[info]: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.WorkspaceInitializer
Configuration finished.
[info]: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/home/jeroen/Documents/github/my-app' on host 20382.
[info]: OmniSharp.MSBuild.ProjectManager
Loading project: /home/jeroen/Documents/github/my-app/src/MyApp.Webapp/MyApp.Webapp.csproj
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/home/jeroen/Documents/github/my-app/src/MyApp.Webapp/MyApp.Webapp.csproj'.
/home/jeroen/Documents/github/my-app/src/MyApp.Webapp/MyApp.Webapp.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found. /home/jeroen/Documents/github/my-app/src/MyApp.Webapp/MyApp.Webapp.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00003] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1] (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpressionConditioned (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.Collections.Generic.List`1[Microsoft.Build.Construction.ProjectRootElement]& projects, System.Boolean throwOnFileNotExistsError) [0x00254] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x00024] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x000e6] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Framework.BuildEventContext buildEventContext) [0x00103] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData`4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary`1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory`2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCache projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.Execution.ProjectInstance projectInstanceIfAnyForDebuggerOnly, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x0001a] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x0004c] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00034] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project.ReevaluateIfNecessary (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00023] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project.Initialize (System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00126] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x0009e] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion) [0x000f5] in <2338fdb301034c1d9c6b95e564d514b0>:0
at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.String toolsVersion) [0x00000] in <2338fdb301034c1d9c6b95e564d514b0>:0
at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore (System.String filePath) [0x0003f] in <410de907c9654d6593c7a8d4ded6b20a>:0
at OmniSharp.MSBuild.ProjectLoader.BuildProject (System.String filePath) [0x0000d] in <410de907c9654d6593c7a8d4ded6b20a>:0
at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectLoader loader) [0x00015] in <410de907c9654d6593c7a8d4ded6b20a>:0
at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass25_0.<LoadProject>b__0 () [0x00000] in <410de907c9654d6593c7a8d4ded6b20a>:0
at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`3[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray`1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic],OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs]].invoke_TResult()
at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func`1[TResult] loader) [0x0001b] in <410de907c9654d6593c7a8d4ded6b20a>:0

FYI if it helps anyone. I've got a Hyper-V VM running Ubuntu 19.04 and the snap vscode is installed, and I had this same issue, which I seem to have resolved by installing the dotnet-sdk snap and doing a "sudo ln -sv /snap/dotnet-sdk/current/dotnet /usr/local/bin" to manually create a symbolic link where Omnisharp would find it. In a perfect world, all I'd have to do is something like "sudo snap alias dotnet-sdk.dotnet dotnet" but I never could get Omnisharp to work that way as it appears to ignore /snap/bin or something (not sure). You can also just create a "~/bin" folder and make the symbolic link there (no sudo required, obviously, but I went ahead and made it system-wide for the VM).

@Vannevelj Could you try the suggestion from @byroniac and see if it works.
Also you can try adding omnisharp.json file as suggested here

@akshita31 I no longer am using Linux/VSCode and the VM is gone as well, so I'm afraid I won't be able to test that out.

@Vannevelj In that case I will close the issue here. Please reopen if the you encounter the problem again

@akshita31 I'm having the same issue.  My OS (Solus) doesn't use /usr/local .. I tried the symlink to ~/bin/dotnet but I still get the issue.
Even if the .csproj references Microsoft.NET.Sdk, the error still shows Microsoft.NET.Sdk.Web
The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <RootNamespace>coreapp</RootNamespace>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview-19075-0444" />
    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0-preview.19074.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="3.0.0-preview.19074.3" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview.19074.3" />
  </ItemGroup>

</Project>

.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview-010184
 Commit:    c57bde4593

Runtime Environment:
 OS Name:     solus
 OS Version:  3.9999
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /snap/dotnet-sdk/28/sdk/3.0.100-preview-010184/

Host (useful for support):
  Version: 3.0.0-preview-27324-5
  Commit:  63a01b08e5

.NET Core SDKs installed:
  3.0.100-preview-010184 [/snap/dotnet-sdk/28/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0-preview-19075-0444 [/snap/dotnet-sdk/28/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0-preview-27324-5 [/snap/dotnet-sdk/28/shared/Microsoft.NETCore.App]

@arcooke Could you try setting MSBuildSdkPath as stated here

@akshita31
I can confirm that works.  I added export MSBuildSDKsPath=/snap/dotnet-sdk/current/sdk/$(dotnet --version)/Sdks to bashrc and deleted the legacysdkresolver file and it builds successfully.

@arcooke Glad you got it working

My vote would be to reopen this issue, why?
This initial UX for Linux-based devs trying out .NET dev in VSCode via OmniSharp is sub-par, here's how it goes if .NET Core isn't in your distro's package manager:

one downloads the .NET SDK, extracts it somewhere
sets env-var DOTNET_ROOT and ensures dotnet CLI is in PATH
all works, one can dotnet build and dotnet run and dotnet new projects just fine
try out the VScode C# extension aka OmniSharp!
"The SDK 'Microsoft.Net.Sdk' specified could not be found."

Well? Your Nodejs extension likely executes msbuild or other processes via standard Nodejs process / command-exec APIs. You can set your own process' env vars and they should be inherited by processes you spawn. You can also expressly elaborate the env for the process being spawned.
So what you do is: notice that MSBuildSDKsPath isn't set but DOTNET_ROOT is set, then set the former on-the-fly to what @arcooke outlined, but basing on DOTNET_ROOT instead of /snap/.... of course.

This should really be automated, or at the very least documented properly somewhere.

Seems for me removing Visual Studio 2019 and their paths and dependencies solves the problem.

@ralphchristianeclipse under Ubuntu?  :rofl:


-confirm parameter not taken by rename-PnPFile

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:

Are you using Invoke-PnPSiteTemplate or Get-PnPSiteTemplate? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues.
Is the issue related to the cmdlet itself, its parameters, the syntax, or do you suspect it is the code of the cmdlet that is causing the issue? Then please continue reporting the issue in this repo.
If you think that the functionality might be related to the underlying libraries that the cmdlet is calling (We realize that might be difficult to determine), please first double check the code of the cmdlet, which can be found here: https://github.com/pnp/powershell/tree/master/src/Commands. If related to the cmdlet, continue reporting the issue here, otherwise report the issue at https://github.com/pnp/pnpframework/issues

Reporting an Issue or Missing Feature
Please confirm what it is that your reporting
-confirm
Expected behavior
Please describe what output you expect to see from the PnP PowerShell Cmdlets
-confirm parameter so there will be no need to acknowledge every single rename
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
See below
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
PS C:\WINDOWS\system32> Connect-PnPOnline -Url 'https://thehartford.sharepoint.com' -Interactive
PS C:\WINDOWS\system32> Rename-PnPFile -confirm:$false -ServerRelativeUrl "/sites/ClaimsITPortal/Large Loss Notice Reporting/_Daily Reports/Archive/sue/Test1.xlsx" -TargetFileName "TestChiu.xlsx" -confirm:$false
Rename-PnPFile : A parameter cannot be found that matches parameter name 'confirm'.
At line:1 char:16

Rename-PnPFile -confirm:$false -ServerRelativeUrl "/sites/ClaimsITPor ...

           ~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [Rename-PnPFile], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,PnP.PowerShell.Commands.Files.RenameFile

What is the version of the Cmdlet module you are running?
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
1.7.0
PS C:\WINDOWS\system32> Get-Module -Name "PnP.PowerShell" -ListAvailable
Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands

Manifest   1.7.0      PnP.PowerShell                      {Add-PnPClientSidePage, Add-PnPClientSidePageSection, Add-PnPClientSideText, Add-PnPClientSideWebPart...}
Which operating system/environment are you running PnP PowerShell on?

[x ] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

While -confirm flag is not working.   -force flag works so I am good but the documentation should be updated in my opinion.

@GeorgeChiuTheHartford - That's correct. The -Confirm parameter doesn't exist so not sure why it's in the Parameters section. The -Force param should be used. We'll amend the documentation.

@GeorgeChiuTheHartford , the documentation has been updated by @veronicageek !
Please use the -Force parameter to avoid the confirmation prompt.
Thanks for reporting.


Wrong name for output files in debug mode

For version 1.2.1
In debug mode I'm getting wrong names for output files.
For example, in template I got the name for the css file "css/3c39bd2_main_1.css", but the file has generated under "css/3c39bd2.css". In case when the mode debug is disabled, everything is ok.
$factory = new \Assetic\Factory\AssetFactory($assetsPath, $config->getParam('app.debug'));
$factory->setDefaultOutput($outputPath);
$factory->setFilterManager($container->get('assets.filterManager'));
$factory->setAssetManager(new \Assetic\Factory\LazyAssetManager($factory));

$twig = new \Twig_Environment($loader, [
           'debug' => $config->getParam('app.debug'),
           'cache' => PATH_BASE . DS . $config->getParam('tpl.cache'),
]);
$twig->addExtension(new \Assetic\Extension\Twig\AsseticExtension($container->get('assets.factory')));

$assetManager = $this->assetFactory->getAssetManager();
$assetManager->setLoader('twig', new TwigFormulaLoader($this->twig));

foreach ($templates as $template) {
        $res = new TwigResource($this->twig->getLoader(), $template);
        $assetManager->addResource($res, 'twig');
}

$this->writer->writeManagerAssets($assetManager);

{% stylesheets filter='sass,?ucss' 'sass/main.sass' %}
        <link href="{{ asset_url }}" type="text/css" rel="stylesheet"/>
{% endstylesheets %}

How i can solve it or this is a bug?

Ack, I'm seeing this issue as well. From digging on the internet, this appears to generate URLs that are routed properly by Symfony's controllers.Is there a workaround for this?

by default, assets are not combined in dev, and so a file is dumped for each asset in the asset collection (there is a single asset in the collection in your case).
There is 3 solutions in your case:

dump the leaf assets too
force asset to be in non-debug mode (but this would always run the ucss filter)
force the assets to be combined, with combine=true in your assetic tag in the template

Note that if you keep the file combined, you would still need to switch between debug and non-debug mode when dumping your assets, otherwise the file content will either always have ucss applied or never.

@stof thanks for the suggestions. combine=true seems reasonable.
Let's say I were to explore dumping leaf assets, how would I go about doing that?


flash light not work on android 4.2.2

it works fine on more advanced android versions,
but not on android 4.2.2 (tested on samsung galaxy trend) and no console error appear.

So no crash, it just doesn't do anything?
I don't have a 4.2.2 device so can't help.


bootstrapping rxjs

I would like to package rxjs with Guix.
This means bootstrapping from zero.
Will this work?
6.3.3
^
5.5.7
^
rxjs 5.0.0
^
rx 4.1.0

Please provide details to understand what problem you're experiencing.

Its not a problem per se. I'm wondering how to bootstrap rxjs from scratch and I see that rxjs 5.5.7 appear in the devdependencies of the latest rxjs. In the package.json of rxjs 5.0.0 no rxjs appear but rx is there.
Is it correctly understood that rxjs needs an earlier version of itself to be built?

Is it correctly understood that rxjs needs an earlier version of itself to be built
I see that rxjs 5.5.7 appear in the devdependencies of the latest rxjs

No. RxJS repo itself have devdependencies to itself for some testing purpose only, This is not related with any application level dependency usage / or building rxjs itself. Same applies to other version (i.e 5.x you mentioned).


DllNotFoundException: AirarColorMap assembly: type: member:(null)

Describe the bug
When I click on the button "Shot", this error pops up. I have tried everything i have seen in the others issues posts.
To Reproduce

In PlayMode
Pressing the "Shot" button

Expected behavior
The model should change it's colour
Screenshots

Additional context
I think the problem is I haven't installed the openCV stuff but, in the Youtube tutorials it is not installed. Though, i don't know how to install it.
I am using>
Unity 2022.3.8
Vuforia 10.18.4

This library only works with Android or iPhone.
Unable to run in Unity Editor.
It must be built and run on a real Android or iPhone device.


Use bqscales

Remove all scales from bqplot and use bqscales instead.
Improvements ideas for when the scales are in a separate package:

make use of https://github.com/d3/d3-scale-chromatic it contains the same color schemes as what's currently available in bqplot and more.
have a ColorMap/ColorAxis widget (a bit like the ColorAxis widget from bqplot, but that would not require a Figure for being displayed). This would allow other libraries that will use the scales to display a color-map. Maybe make use of https://github.com/vidartf/chromabar which also uses d3-scale-chromatic

@SylvainCorlay @maartenbreddels @JohanMabille would you like to review this PR?

More changes coming actually. I'm using more strict TypeScript rules locally.

@maartenbreddels @JohanMabille Would you mind giving it a review?

Even though the tests are passing, this is not yet working due to a runtime issue in bqscales, I will fix it.

Even though the tests are passing, this is not yet working due to a runtime issue in bqscales, I will fix it.

This PR is ready for review

This PR is ready for review

Trigerring CI

kicking CI


Add hardware support for Lenovo LOQ 15aph8

Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

Please undraft if you are done with it.

ty for your review.

Please undraft if you are done with it.
will do!


Random in nntrainer

random() returns random value in nntrainer.
This results in the indeterministic training of the models in the unit tests.
How about fixing the seed in testing so that we can ensure that the training result stays the same with newer changes.
@jijoongmoon please advise if there should be an API function for this?

:octocat: cibot: Thank you for posting issue #167. The person in charge will reply soon.

Setting seeds seems great idea to me (also related to #133 )
Could you check if setting seeds would make a reproducible result as well?
I am concerning that since databuffer is designed to run concurrently, calling order of random() is not deterministic.

@zhoonit Yes, #133 is good and is definitely needed.
Thanks for your input, I was not very familiar with databuffer, I will check the corresponding files and then update this issue.

Well, some example ( not all includes backwarding )is already included in #148. This python code is generate the input and output. golden data. and compared with output from nntrainer. (Tensorflow is used to generate the golden data). However, we do not have tensorflow for tizen so that tar file is used.

Current major issue is initialization. I will for now make the seed fixed.
Later, maybe add an interface for user to set it.


[Rector] Fixing rector action hang

Checklist:

[x] Securely signed commits

Github actions seems very slow

It seems __DIR__ . '/app/Config/App.php', re-autoload somewhere, so it hang, I register it to skipped option.

It is very strange, it is possibly due dependencies of phpstan - phpstan/phpdoc-parser - nikic/phpparser - rector on latest update. I tried some pin versions on previous version but no luck yet.

@param space should be ignored and not reported in rector:
-	 * @throws             Exception
+	 * @throws Exception

temporary disable auto import as cause spaces on @param/@throws trimmed which always replaced by CodeIgniter 4 coding standard.


Auto dismiss timeout parameter

In the Home Assistant notification API there is a setting for auto dismissing a notification on Android after a set timeout. Could this be implemented in ntfy?
Here is the documentation for it: https://companion.home-assistant.io/docs/notifications/notifications-basic/#notification-timeout

I love this idea. Thanks for suggesting it. Looks like HA has a lot of other interesting features that I may adopt too.


Numeric Typo

10,00 should be 10,000 (I suspect)

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

ID: 320bfdb2-0d8b-20f1-252e-d9a3ab8e3357
Version Independent ID: 42efc64b-4190-7bc6-2a93-14c5d56f34e0
Content: Plans and pricing for commercial marketplace offers
Content Source: articles/marketplace/plans-pricing.md
Service: marketplace
Sub-service: partnercenter-marketplace-publisher
GitHub Login: @MingShen
Microsoft Alias: mingshen

Thanks for brining this to our attention. We will investigate it further and update you shortly.


Current Day Displays at the Top

Current Day Displays at the Top
User Story
AS AN employee with a busy schedule
I WANT to add important events to a daily planner
SO THAT I can manage my time effectively
Acceptance Criteria
GIVEN I am using a daily planner to create a schedule
WHEN I open the planner
THEN the current day is displayed at the top of the calendar

This issue is complete.  The current date correctly displays with the format requested in the header using the paragraph element with an id of currentDay.


Add WKT geometry types

CURVEPOLYGON and CIRCULARSTRING are commonly supported geometry types that are missing from this expression. This causes the Geometry constructor to fail when trying to read them from a database.

This seems to be related to the GEOS library not supporting these geometry types. Closing PR for now.


Document runtime differences

It seems that different behavior occurs for different runtimes. I can enable application logs on any Web App. Doing so creates /application and /http folders under /LogFiles for a Java Linux app, but not a Python Linux app.
Please clarify with the full list of available runtimes and which types of logs can be collected.

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

ID: bfc316af-0d30-b449-a04f-3019b7a16bc1
Version Independent ID: 01c4c435-fda9-374a-70b3-f1d7f13c7651
Content: Enable diagnostics logging - Azure App Service
Content Source: articles/app-service/troubleshoot-diagnostic-logs.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@dcbrown16 Thanks for the feedback! We are currently investigating and will update you shortly.

@dcbrown16 Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

Here's the belated answer: the observed behavior is the difference between Windows apps and Linux apps (which just includes the Docker logs), and are documented in https://docs.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs#access-log-files.
#please-close.


fix(common): add resource translate

What this PR does / why we need it:

[ ] Smoke testing completed
[ ] Unit test written
Does this PR need to be backport to the previous release branch?:

<!--
If no, just write "NONE".

If don't know, write "UNKNOWN", and let the reviewer decide.

If yes, write the release branches name in the below format and submit the related cherry-pick PR:
- release/3.10

/cc @ioito

/lgtm


Added openshift clarification for Manual Demo

Would like this commit cherry-picked to the release-v0.8 branch if possible.

Hi, if you have edits that absolutely need to go into the https://github.com/openservicemesh/osm-docs/tree/release-v0.8 branch, please PR in another PR that makes your desired change to that branch. Thanks.


Update documentation

renamed LICENCE.txt -> LICENSE.txt (typo?)
renamed docs/index.md -> docs/README.md (to match github docs standards)
added install instructions for archlinuxarm (available for raspberry pi 2)
added dependencies list for users whishing to install from source

fixes #21

conflicts #19 (#17)

renamed LICENCE.txt -> LICENSE.txt (typo?)

British English

renamed docs/index.md -> docs/README.md (to match github docs standards)

We use mkdocs to generate docs. It uses index.md not README.md

added install instructions for archlinuxarm (available for raspberry pi 2)
added dependencies list for users whishing to install from source

I'm not sure we want this here, perhaps it should go on another page. We need this to be as simple as possible for the intended users (kids and teachers) who we recommend use Raspbian.
Thanks though - I'll try to work your installation instructions in somewhere, as appropriate.


HDDS-6949. Add audit of change bucket ACL S3 API.

What changes were proposed in this pull request?
Add audit of change bucket ACL S3 API.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6949
How was this patch tested?
Only exceptions were caught before
aws s3api --endpoint-url http://localhost:9878 put-bucket-acl --bucket bucket2 --grant-full-control id=testuser2

2022-06-27 06:58:10,980 | ERROR | S3GAudit | user=key | ip=<IP_ADDRESS> | op=PUT_ACL {bucket=[bucket], acl=[]} | ret=FAILURE | javax.ws.rs.WebApplicationException: Can't parse request body to XML.
	at org.apache.hadoop.ozone.s3.endpoint.PutBucketAclRequestUnmarshaller.readFrom(PutBucketAclRequestUnmarshaller.java:82)
	at org.apache.hadoop.ozone.s3.endpoint.BucketEndpoint.putAcl(BucketEndpoint.java:502)
2022-06-27 06:59:33,640 | INFO  | S3GAudit | user=key | ip=<IP_ADDRESS> | op=CREATE_BUCKET {bucket=[bucket2]} | ret=SUCCESS |

post fix
2022-06-27 07:11:07,715 | INFO  | S3GAudit | user=key | ip=<IP_ADDRESS> | op=CREATE_BUCKET {bucket=[bucket2]} | ret=SUCCESS |
2022-06-27 07:11:10,779 | INFO  | S3GAudit | user=key | ip=<IP_ADDRESS> | op=PUT_ACL {bucket=[bucket2], acl=[]} | ret=SUCCESS |

Thanks @kerneltime for updating the patch. I think moving the log statement to putAcl method would be more consistent, since error is also logged there, but this is good enough for fixing the bug.
Also, please try to avoid force-push next time.

There is a separate effort on going to not log customer generated messages into s3g log. The audit log should be at the higher level and this should be the right place.


Add Web Analytics

We want to know if the public are using/visiting the site. inclucivics.com
We have two options:

Google Analytics
Piwik

@gcziprusz Interested? :)

I'd be happy to look into it @jcockhren

cool. I'll grab the analytics code. See the README for deploying after you're done.


Update contributors list in spec text

This updates the list of contributors in the actual spec text itself to match the same contributors text as the readme. If this repo will soon be moving to stability, it seems worthwhile to have it be accurate.

thanks for this!


AWS install failing due to new S3 security changes

Describe the bug
When attempting to install to AWS the installation fails with the following error
level=error msg=Error: error creating S3 bucket ACL for os-test-sblb7-bootstrap: AccessControlListNotSupported: The bucket does not allow ACLs
I believe this behavior is due to this change made by Amazon
https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/
It appears that any new buckets are created with ACL's disabled by default and I'm guessing the install process is expecting for them to be enabled.
Version
4.12.0-0.okd-2023-03-05-022504 on AWS with IPI
How reproducible
100%
Log bundle
level=info msg=Creating infrastructure resources...
level=error
level=error msg=Error: error creating S3 bucket ACL for os-test-sblb7-bootstrap: AccessControlListNotSupported: The bucket does not allow ACLs
level=error msg=	status code: 400, request id: KBN08SQ3BG33QBZ5, host id: joxoxwso57JUd6g5XLQC/Zd87vyzkIAQHPOuL2GA/YuS2T9gMCxft4iUW1p7UKLGDzxvlbWqscI=
level=error
level=error msg=  with aws_s3_bucket_acl.ignition,
level=error msg=  on main.tf line 62, in resource "aws_s3_bucket_acl" "ignition":
level=error msg=  62: resource "aws_s3_bucket_acl" ignition {
level=error
level=error msg=failed to fetch Cluster: failed to generate asset "Cluster": failure applying terraform for "bootstrap" stage: failed to create cluster: failed to apply Terraform: exit status 1-->

Never mind this. I just tried with the latest installer from a couple of days ago, 4.12.0-0.okd-2023-04-16-041331, and that installer worked without issues. Sorry for not trying the latest first.

OCP bug: https://issues.redhat.com/browse/OCPBUGS-11636


Use TSL to generate TSL strings?

One drawback of exposing an API accepting a pseudo-SQL query strings (parsed by TSL) is that it's tricky for clients to generate those strings with correct value quoting...  We have some ad-hoc string-building code and I'm looking at more principled generation from something like an AST.  In Go.

I first looked at squirrel but turns out it can't generate a self-contained SQL string.  It only emits ? placeholders, and returns a separte array of values, assuming you have a DB interface that safely takes separate template + args.
This is good design but our API doesn't support that :grin:, it takes a single TSL string.

So my next idea was using TSL itself to generate a TSL string! :bulb:
Ironically, currently sql walker uses squirrel as well, emitting ? and separate values :grin:

Is this something you'd like like TSL to support — round trip from AST to a TSL string that parses to same AST? :tanabata_tree: -> :abc: -> :tanabata_tree:

Note that for sending SQL queries to actual databases, it may still be best to emit placeholders + separate values.  Emphasis on plural databases — one of the reasons Go stdlib haven't implemented string quoting is that quoting rules differ by database :facepalm:
This probably means having separate SQL and TSL walkers. Maybe some clever polymorphism with Sqlizer interface is possible, not sure how.

Interesting :+1:
are you suggesting a builder that will help building tsl-tree from code, instead of parsing tsl-phrases ?
e.g. something to automate this ?
right := Node{Func: StringOp, Left: "Moki"}
left := Node{Func: StringOp, Left: "Not Moki"}

tslTreeRoot := Node(Func: EqOp, Right: right, Left: left}

I'm suggesting a walker [or a flag on existing sql walker] that from the example you give above, would build the self-contained string "Moki" = "Not Moki".
My understading is that currently it builds ? = ? plus the args "Moki", "Not Moki", right?

My understading is that currently it builds ? = ? plus the args "Moki", "Not Moki", right?

yes,
so filing in the args in a string with '?' place holders sounds like for each arg do strings.Replace of ?   ?

Interestingly, squirrel.Expr may provide the infrastructure to "smuggle" literals into squirrel:
https://github.com/Masterminds/squirrel/blob/master/expr.go#L31-L82
If any of the args supports .ToSql(), it inlines the result in place of the ?.

sql walker return Sqlizer so it should supports .ToSql() out of the box ... !?

OTOH, I don't understand how this now works:
	case tsl.StringOp:
		s = sq.Expr(n.Left.(string))

Isn't sq.Expr() supposed to take an SQL fragment (with possible placeholders)?  Here you're feeding it the string as-is?
Playing with the tests, but I'm not managing to break it the way I expected :+1:, so I guess it's time to call it a night :)


Hopefully final fixes to get master working again...

I think this covers the rest of the fixes needed to get master working again:

Reorganized example host vars file.
Fixed ansible problems with formgrade role.
Other minor bugs.

Merging and iterating...


bug: Slidebox Gets Messed Up After Opening a Popover

Type: bug
Platform: android 4.4 webview
Hello Ionic Team.  I have found a bug.  if you have a slidebox, and than go to a page that has a popover, and you open the popover, and than go back to the page with the slidebox, you will see that the slidebox gets messed up.  strangely, if i change the orientation of the phone to landscape and than back to portrait it fixed it, but this is definitely a bug.
Please fix this for next update, and in any case you can't see it let me know and i will upload you a folder with the problem.
Thanks for your time,
Shaul.

Greetings @shaulhadar!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

You could update the slidebox when entering the view again like this:
$scope.$on('$ionicView.beforeEnter', function() {
    $ionicSlideBoxDelegate.$getByHandle('you-swipe-handle').update();
});

Don't forget to add the delegate handle
<ion-slide-box delegate-handle="'you-swipe-handle">

Hi and thanks. I will check it out ;)

This issue had persisted since beta 14 or so, for some reason opening a popover in a different view resets the width of the div.slider-slides to 0 such that returning to the view with the slidebox is distorted.
I resorted to doing something similar to what @Elvistelefon suggested above:
$scope.$on('$ionicView.beforeEnter', function() {
    ionic.trigger('resize', {target:window});
  })

But I think it maybe something for the Ionic Team to look at.

I am facing the exact same problem using rc-1. Just wanted to emphasize that this is not related to any specific platform. It can be reproduced on desktop chrome as well.
Resizing the window fixes it, though.

Yeah, I did some more tests and it is quite a nasty bug.   It actually consists of two parts, the first part is that the width or height gets messed up, and the second problem is that the slider doesn't start from the begining when opening the page, after you saw the slider....
I checked a number of frameworks that have sliders, and this doesn't happen in none of them... so I assume that this is a bug that the ionic team is aware of and that they are going to push a fix in one of the next rc version :) at least, I really hope so ...

Yup, I'm seeing the same issue: http://i.imgur.com/6kMzCy2.png
I have 2 canvases inside 2 slide boxes, when I navigate to a popup and back to my main dashboard view, the canvases are on top of each other.
I can confirm that @tolu360's workaround works for me:
$scope.$on('$ionicView.beforeEnter', function() {
    ionic.trigger('resize', {target:window});
  })

Hey, guys so I had this issue and it seems to be opening the popup triggers the resize on sliderbox even if it's in a cached view. I've written a pull request for the ionic team to fix the issue and I'm waiting for it to be accepted. If there's any way to up vote the pull request that would be cool.

I believe this was fixed in RC3. Can you please confirm this?

Hey Mike,
I am afraid I am still facing this issue.
Please, see this Codepen.

This is fixed in master, I don't know which version it was pushed into though. The fix is on line 46 of this file https://github.com/driftyco/ionic/blob/master/js/views/sliderView.js
But those lines definitely aren't there on codepen.

@weases I may have been mistaken about the version number, it is fixed in the nightly builds.
http://codepen.io/mhartington/pen/RPbRPX

I'm glad to know that. Thank you Ionic team!

aaah, I see. Thanks for the clarification, Mike.


Added support for string values

This is great.  Would you mind changing the message returned (right below the 'else if' you added) if it's not a string or json object and update the readme as well?  Right now if says it only supports a json object.
Thanks!

Let me know if those changes work.
Thanks

Thanks @davearata


Daylight savings time changed on wrong day

We are running several clickhouse instances on servers with system timezone IRST/IRDT.
The switch from  from IRDT (daylight savings time) to IRST (no daylight savings) happens in the night from 2018/09/21 to 2018/09/22, and our servers switched system time correctly.
Clickhouse, however, switched in the night from 2018/09/20 to 2018/09/21, which is one day too early.

Fixed in master.


Negative Positioning When Using Non-Integer Grid Units

[x] Bug (or documentation error)
[ ] Feature Request
[ ] Question

There's a potential bug or documentation error with the positioning of the grid items.
According to the Grid Layout Props, layout is an array of objects with this format:
// Layout is an array of object with the format:
// {x: number, y: number, w: number, h: number}

Seeing that there's nowhere in the usage docs that specifically mention to use integer values, I started using non-integer values with positioning and heights.
The bug I ran into happens when the y value is between 0 and 1. In the compactItem function inside utils.js we can see the following code:
// Move the element up as far as it can go without colliding.
while (l.y > 0 && !getFirstCollision(compareWith, l)) {
    l.y--;
}

This can actually cause the y value to dip below 0 and cause the grid item to break out of the grid layout area.
A possible solution I see here is either do a l.y = Math.max(l.y, 0) check after this line or update the usage docs to specifically mention using integer values for grid layout.
Thanks for your time and making this layout system!

I noticed this was happening to me too. A simple Math.round() on any heights I was using solved it, but good to know.

Any update on this please. Even I am facing the same issue. The item is getting positioned with negative y value.


fix chatglm

Description
The shape of chatglm's hidden_states is [seq_len, batch_size, hidden_size], which is different from other models' [batch_size, seq_len, hidden_size].
When 2 <= seq_len <= 8, it will use quantize kv in first token, and not use quantize kv in rest token, which causes this error, so fix it.
https://github.com/intel-analytics/ipex-llm/issues/10515

@JinBridger has conducted some tests on Arc A770, and the bug has been resolved. :)


An assembly specified in the application dependencies manifest (....deps.js on) was not found

This is my first time using a raspberry pi and I'm trying to get a Discord bot using discord.net to work on said pi. I've followed a few tutorials and got a quick "Hello World!" working using .net core. However, upon trying the same thing: Writing the app in visual studio, sharing the netcoreapp2.0 using ssh I'm getting this errror;
dotnet dc_bot.dll

Error:
  An assembly specified in the application dependencies manifest (dc_bot.deps.js on) was not found:
    package: 'Discord.Net.Commands', version: '1.0.2'
    path: 'lib/netstandard1.1/Discord.Net.Commands.dll'

This sounds fairly logical as I've installed a nuget package containing discord.net. However, I have no idea how to fix this; I'm sorry if this isn't the right place to ask this but I have no clue where else to post it...
Thanks for taking your time reading through this.

I figured out that you have to install nuget yourself. After I installed nuget and attempted to download Discord.NET I got this error:
sudo nuget install Discord.NET

Attempting to resolve dependency 'Discord.Net.Core (≥ 1.0.2)'.
'Discord.Net.Core' already has a dependency defined for 'NETStandard.Library'.

No clue what's wrong..

@rrelyea any idea where to route it?

Generally, this is how this kind of thing works:
Put a packagereference in you csproj
Dotnet build
This will do an implicit restore, and put any packagereference sand their transitive dependencies into the global package folder on the dev box. This also builds a deps.json file in the bin dir.
Dotnet publish
This is probably necessary to take all the binaries from the dev machine and create a directory full of the entire set of files that need to be copied to the other computer (the pi?)
Then run the app.
You should never need to do a nuget install or restore on the execution computer...just the dev box.
Given that info, once they try that, or give reasons why that may not make sense, maybe we’ll know where to route.

Right, so all I had to do was publish it; that indeed fixed it. Sorry for that; thanks for your time!


Add "how to contribute to these guidelines"

link to source code / issue tracker

Major points have been resolved with #58 - resolving accordingly.


Make window.stripePaymentForm more abstract

fixes #472

When you're done addressing changes, please make sure to press the "Re-request review" button, otherwise it may not get noticed. Luckily I bumped into this PR again, but it's not guaranteed to happen.


Wink accessory not showing up in homekit app

Neels-MacBook-Pro-2:~ NeelPatel$ homebridge
[10/23/2016, 11:55:45 AM] Loaded plugin: homebridge-liftmaster
[10/23/2016, 11:55:45 AM] Registering accessory 'homebridge-liftmaster.LiftMaster'
[10/23/2016, 11:55:45 AM] ---
[10/23/2016, 11:55:45 AM] Loaded plugin: homebridge-lockitron
[10/23/2016, 11:55:45 AM] Registering accessory 'homebridge-lockitron.Lockitron'
[10/23/2016, 11:55:45 AM] ---
[10/23/2016, 11:55:46 AM] Loaded plugin: homebridge-myq
[10/23/2016, 11:55:46 AM] Registering platform 'homebridge-myq.MyQ'
[10/23/2016, 11:55:46 AM] ---
[10/23/2016, 11:55:46 AM] Loaded plugin: homebridge-nest
[10/23/2016, 11:55:46 AM] Registering platform 'homebridge-nest.Nest'
[10/23/2016, 11:55:46 AM] ---
[10/23/2016, 11:55:46 AM] Loaded plugin: homebridge-wink
[10/23/2016, 11:55:46 AM] Registering platform 'homebridge-wink.Wink'
[10/23/2016, 11:55:46 AM] ---
[10/23/2016, 11:55:46 AM] Loaded config.json with 0 accessories and 1 platforms.
[10/23/2016, 11:55:46 AM] ---
[10/23/2016, 11:55:46 AM] Loading 1 platforms...
[10/23/2016, 11:55:46 AM] [Wink] Initializing Wink platform...
[10/23/2016, 11:55:46 AM] [Wink] Fetching Wink devices.
[10/23/2016, 11:55:46 AM] Loading 0 accessories...
[10/23/2016, 11:55:47 AM] [Wink] Device Added - Group thermostats, ID 122791, Name Home Cary Upstairs Thermostat
[10/23/2016, 11:55:47 AM] [Wink] Device Added - Group thermostats, ID 122792, Name Home Cary Downstairs Thermostat
[10/23/2016, 11:55:47 AM] [Wink] Device Added - Group smoke_detectors, ID 65003, Name Home Cary Upstairs Nest Protect
[10/23/2016, 11:55:47 AM] [Wink] Device Added - Group garage_doors, ID 44508, Name Garage Door Opener myQ
[10/23/2016, 11:55:47 AM] [Wink] Device Ignored Not In HomeKit - Group hubs, ID 374955, Name Hub
[10/23/2016, 11:55:47 AM] [Wink] Device Added - Group locks, ID 72229, Name Front Door
[10/23/2016, 11:55:47 AM] [Wink] Initializing platform accessory 'Home Cary Upstairs Thermostat'...
[10/23/2016, 11:55:47 AM] [Wink] Initializing platform accessory 'Home Cary Downstairs Thermostat'...
[10/23/2016, 11:55:47 AM] [Wink] Initializing platform accessory 'Home Cary Upstairs Nest Protect'...
[10/23/2016, 11:55:47 AM] [Wink] Initializing platform accessory 'Garage Door Opener myQ'...
[10/23/2016, 11:55:47 AM] [Wink] Initializing platform accessory 'Front Door'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘

[10/23/2016, 11:55:47 AM] Homebridge is running on port 51826.
That is my terminal.
This is my config.json file
{
"bridge": {
"name": "Homebridge",
"username": "AC:BC:32:CF:27:6D",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with all supported devices. You can use this as a   template for creating your own configuration file containing devices you actually own.",

"platforms": [{
    "platform": "Wink",
    "name": "Wink",
    "client_id": "***********",
    "client_secret": "************",
    "username": "*******",
    "password": "****"
}],

"accessories": []

}

What am I going wrong?

It give me this error

This is happening to a lot of people and I don't think anyone really understands why. If they do, they haven't really explained it or provided a solid 100% "this is what you need to do" answer. I wish they would, as my whole system isn't working.

When this happened to me I deleted the house from my iOS device, deleted the persist and accessories folders and changed the name (mac address toking thing) within the config file. Started Homebridge and all was good.. Let me know if this works for you….
On 21 Nov 2016, at 19:02, Eric Shepherd <notifications<EMAIL_ADDRESS>wrote:
This is happening to a lot of people and I don't think anyone really understands why. If they do, they haven't really explained it or provided a solid 100% "this is what you need to do" answer. I wish they would, as my whole system isn't working.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nfarina/homebridge/issues/868#issuecomment-262033987, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAG0qrtGcFlLeTjwEITMV_SbUzNdNks5rAerJgaJpZM4KeKwV.

Unfortunately, I tried that, several times, and it didn't help. Cleared out homekit setup on my iPhone, then deleted the persist and accessories folders and changed the MAC address in the username field in the config file. No change.

When this happened to me I deleted the house from my iOS device, deleted the persist and accessories folders and changed the name (mac address toking thing) within the config file. Started Homebridge and all was good.. Let me know if this works for you….

@a2sheppy any luck? happened to me as well...

I still could not get it to connect.

Same here, deleted the persist and accessories folders and changed the MAC address in the username in the config file, nothing works. Home won't let me add homebridge, same error message.

There are 2 possibilities here, 1 is that the way Homebridge exposes the accessories to your version of IOS is incompatible due to any changes of the Homekit protocol. The  second more likely explanation is that the Homebridge-Wink plugin has stability issues and has been causing problem. Can you please update to the latest Homebridge-Wink3 plugin as well update Homebridge. If the problem still persists we can go ahead and reopen the issue and see what is occurring to cause the issue.

Thanks @simonrb2000, solved my problem.


Fix formatting

Docs Build status updates of commit 6d22f5e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

Odata-docs/webapi/model-builder-abstract.md
:warning:Warning
View
Details

Odata-docs/webapi/model-builder-abstract.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Power up

Good day!
Is there plans to add a modern power to regex engine? Such as:

assertions
backtracking verbs
partial matching

Thanks a lot

Nope.


Failed start this project in my local environment.

The index_data directory is empty.

Did you do an initial ˋnpm run update-indexˋ as stated in the README?

Yes, it is also failed for the same reason.

can you run only node scripts/extract-indices.mjs and see what the output is?
I never tried building the project on Windows, so maybe it's a Windows filesystem / process spawning thing?

You might need to reduce the problem within this script.. maybe i am not using platform independent path separators or something similar.

Yes. just because the __dirname is not exists in ES module scope, and then it is created by URL, the path it presents is wrong on windows.

I have fixed it by this.

But got the another problem.

I have fixed it all by replace every __dirname with this anoymous function...... Now it is running normally.

The __dirname above is not correct, i add a platform check for windows.


Messenger API #1200 OAuthExeption.

The error is Temporary send message failure. Please try again later.
How can I fix this?

Facebook Messenger Platform is down. We have to wait Facebook fix this.
https://developers.facebook.com/status/issues/109151043206199/

Thank you! :clap:

Facebook says it's been fixed, closing.


error 500 after creating a repo in a team/organization which has "_" or Upper characters

I can push, pull but I cannot click on it
So if I share it, others members cannot push/pull/fetch (wrong url, maybe related with upper characters)
Gogs Application Version: <IP_ADDRESS>1 Beta

suppose you create a team with only lower case char and without "_"
when you invite some members, they receive an email with wrong url: gogs@www.blabla.org:user/repo.git
whereas it should be : gogs@www.blabal.org:team/repo.git

Thanks your feedback!
What is the exact error for 500?

NetworkError: 500 Internal Server Error
nothing more

Please check on your log file, normally in path/to/gogs/log/gogs.log.

2015/09/04 07:16, 无闻:

Please check on your log file, normally in path/to/gogs/log/gogs.log.

2015/09/04 07:19:22 [...s/middleware/repo.go:256 func·009()] [E]
GetUserByName: user does not exist: [uid: 0, name: admin]
2015/09/04 10:48:02 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 10:48:16 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 10:50:50 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 10:50:57 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 10:52:51 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 15:30:47 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 15:37:10 [...ters/repo/setting.go:162 SettingsPost()] [E]
DeleteRepository: RepoPath: user does not exist: [uid: 12, name: ]
2015/09/04 15:40:00 [...ters/repo/setting.go:162 SettingsPost()] [E]
DeleteRepository: RepoPath: user does not exist: [uid: 12, name: ]
2015/09/04 15:51:47 [...s/middleware/repo.go:269 func·009()] [E]
GetRepositoryByName: repository does not exist [id: 0, uid: 12, name:
gargantext]
2015/09/04 16:11:40 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 16:11:56 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1
2015/09/04 16:13:15 [...s/middleware/repo.go:373 func·009()] [E]
GetBranches: exit status 1

Cheers,
Alexandre

Thanks, can you post what exact steps you do to reproduce this problem?
Because it is not possible to create a user with name admin.

2015/09/04 07:45, 无闻:

Thanks, can you post what exact steps you do to reproduce this problem?

Sure.

Because it is not possible to create a user with name admin.

Let me some time to be make a good report (I have to reproduce it).
--
Alexandre Delanoë

:wink: no problem

I cannot reproduce the previous error... :)
So Everything is fine, I keep an eye on it.

Thanks your confirmation!


Error doing synthesis

After about 2 years of training I got up to 3000 epochs on my old 1060. But I get this error

. Not sure if I should continue 'training' if it cant or wont sync. Also during training did you 'have to' use the alignment text? Because I never did. I dont know if the dev is still around but thought I would post it up. I mean this app came out before the AI voice services but I wanted to use this to keep it private in a way.

I just discovered errors in the text, I didnt managed the clips either. This might be two years of training down the drain lol oh well live and learn. I'm gonna try training smaller texts so it doesnt take so long. :(


change default template engine

Should we change the default to something other than jade? Something like hbs will let users use html out of the box versus learning a new language.
Just an observation from some feedback on getting a new user going with express.

hbs +1

I'm for keeping the default templating engine as Jade. Jade is simple (at least in my opinion), though it does have a bigger learning curve than just HTML alone. However, given how popular Jade is, how much it boosts productivity, and how fast and flexible it is, I think it's reasonable to encourage new users to use it. The --ejs option is still there if they aren't comfortable with Jade.

I am closing this. We don't see to care enough and it probably doesn't matter enough.

:+1: I think it could help to simply add an extra note to the readme about how --ejs might be easier for beginners if they don't want to use a fancier templating language.


feat: copy bssid in wifi scan if set

Wifi scans on the Esp32 did not seem to contain any BSSID's, this should fix that

@sonofviking, you still need to update your Name and email. Check this errors:
author email (sonofviking<EMAIL_ADDRESS>needs to match one of the signed-off-by entries.
author email (sonofviking<EMAIL_ADDRESS>does not follow the syntax: First Last <email>.

@sonofviking would you squash both commits in a single one? btw, thanks for the PR, we did miss adding this.

Thanks for the PR! Unfortunately we do not accept anonymous contributions. See docs.zephyrproject.org/latest/contribute/guidelines.html#dco-sign-off

@carlescufi  In the future I think you shouldn't actually -1 the PR: since it's not compliant anyway, CI will take care of blocking it. Having someone actually block the PR instead of will just delay the merge with no "technical" reason, hence why I had to just dismiss your review just now. Thanks!


On IOS if i don't allow push notification my app is not going on

On IOS the old plugin push "cordova plugin add phonegap-plugin-push" I can add UIBackgroundModes and my app can going on if I don't allow push notification.
But this plugin on IOS I have problem if I don't allow push notification my app is not going on. How I solve this problem.
I already add this key on info
UIBackgroundModes

remote-notification

Thank you.
------ My resource -------
MacOS 12.1
XCODE 13.2.1
IOS 15.3
Cordova 11.0
nom 8.1.2
IOS 6.2.0
@havesource/cordova-plugin-push 3.0.0 "Cordova Push Plugin"
cordova-plugin-app-version 0.1.12 "AppVersion"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-geolocation 4.1.0 "Geolocation"
cordova-plugin-network-information 3.0.0 "Network Information"

Closing this ticket as stale and unable to reproduce the issue.
Since the creation of this ticket, several releases and changes have been made. I recommend upgrading to the latest version of the plugin (v5.0.0) to ensure you're using the most up-to-date code.
To upgrade, run the following commands:
cordova plugin rm @havesource/cordova-plugin-push
cordova plugin add @havesource/cordova-plugin-push@latest

Additionally, make sure to update your platform and CLI to meet the minimum requirements, especially if you're using an older version.
This plugin automatically sets the UIBackgroundModes with remote-notification, so no manual configuration should be required.
If the issue persists after the update, please create a new ticket with the updated information, including any relevant log output. If possible, provide a simple reproduction repository to help us investigate further.
Thank you!


How to prevent - Target net20 not found - on Win 10 with .net 3.5 Feature enabled

hi
i try to execute for an old solution but i can not find a way to get it run -
ThirdPartyLibraries update -appName Test -source . -repository c:\temp_repo
Target net20 not found in .NETFramework,Version=v2.0, .NETFramework,Version=v2.0/win, .NETFramework,Version=v2.0/win-x64, .NETFramework,Version=v2.0/win-x86.
System.InvalidOperationException: Target net20 not found in .NETFramework,Version=v2.0, .NETFramework,Version=v2.0/win, .NETFramework,Version=v2.0/win-x64, .NETFramework,Version=v2.0/win-x86.
at ThirdPartyLibraries.NuGet.ProjectAssetsParser.ParseTarget(String frameworkName) in C:...\ThirdPartyLibraries\Sources\ThirdPartyLibraries.NuGet\ProjectAssetsParser.cs:line 200
at ThirdPartyLibraries.NuGet.ProjectAssetsParser.GetReferences(String targetFramework) in C:...\ThirdPartyLibraries\Sources\ThirdPartyLibraries.NuGet\ProjectAssetsParser.cs:line 74
any suggestion/hint what i am doing wrong here?

hi,
could you share your .csproj file(s)?

hi @DrNightmareDev,
please try latest version 3.1.1.
If does not work then i need your .csproj file example (only sections with TargetFrameworks, SupportedOSPlatformVersion etc and few PackageReferences)

the issue occures because the old targetfragemwork is "net20" but on my maschine, even with the 3.5 feature enabled, there is no net20 but ".NETFramework,Version=v2.0".
So i have added
''
if (target == null && frameworkName.EqualsIgnoreCase("net20"))
{
target = (JObject)targets.GetValue(".NETFramework,Version=v2.0", StringComparison.OrdinalIgnoreCase);
}
''
This fixes one issue.
the next is that it is possible that a devdependencie in my npm project looks like ''"google-something" : "",'' (no version number) therefore i had to remove the AssertNotNull in some cases and the handle all of the subsequent issues (mostly nullpointer,...)

' if (target == null && frameworkName.EqualsIgnoreCase("net20")) { target = (JObject)targets.GetValue(".NETFramework,Version=v2.0", StringComparison.OrdinalIgnoreCase); }

version 3.1.1 should handle this out of the box

npm project looks like ''"google-something" : "",'' (no version number)

i will check, thanks

hi @DrNightmareDev,

'' ... the next is that it is possible that a devdependencie in my npm project looks like ''"google-something" : "",'' (no version number) therefore i had to remove the AssertNotNull in some cases and the handle all of the subsequent issues (mostly nullpointer,...)

The fix is released in version 3.1.2, see also #33 "npm ArgumentNullException".
I am closing this issue. If this in error, let me know with a comment.


🔺VᏋrifiᏋd✅✕ Call Girls IN Dehradun ❇🟰(( ♣ 863O4IO335 ♣ ))🟰❇✕ Hιɠԋ-Pɾσϝιʅҽ Dehradun ƈall Girls Service 🔻

🔺VᏋrifiᏋd✅✕ Call Girls IN Dehradun ❇🟰(( ♣ 863O4IO335 ♣ ))🟰❇✕ Hιɠԋ-Pɾσϝιʅҽ Dehradun ƈall Girls Service 🔻
We are the most trusted call girls In Dehradun providing agency from 2001.
Dehradun Escorts service  is a perfect option for those who are looking for some fun and adventure at the hill station The
Independent **Escorts In Dehradun  are highly professional and experienced in their job Chandrabani Chowk
They provide a wide range of erotic service to the clients, depending on their specific needs and preferences Whether 💓863O4IO335 you are looking for companionship, intimacy or just plain pleasure, the [Dehradun Escort Service can provide you with everything you need The young escorts are available for both in call and outcall services They can help you explore the city, take you to the best restaurants, bars, and clubs, and even take you on trips and adventures The Jakhan Dehradun escort girls are well-trained and educated, and they know how to give their clients the best experience possible They will make sure that all your needs are met and that you have a great time So if you are looking for some enjoyable time in Dehradun, then the beautiful escort service Dehradun is the best way to go at v our very best Escorts In DEhradun.

Our Wonderful Dehradun Call Girls are proficient to fulfill you Zoya💓863O4IO335 _Best Quality Dehradun Escorts.
It would change into a flat out satisfaction for the clients to stay related with any of our sweethearts. You truly need to assign these ladies which should be possible through the online systems for associations. These dears would be particularly ready to pass on their best degrees of associations that even inside the financial plans which won't actually check out at a capability for the clients. Thusly, in case one is from the exclusive class of society or even the unassumingly developed parties would select any of these dears for a decisive strategy for benefits of Call Girls In Dehradun At Prem Nagar,
**What are you searching for in a Dehradun Call Girls
We don't ensure what we can't fulfill, so anything that you read on this page is the hard truth! We have been in the Dehradun Call Girl Service business for up to 12 years, so we know the prerequisites of our clients like the focal point of our hands. Why have we dependably remained significant in this industry, making worth and tending to needs? It is fundamental - we are client driven! Our clients start things out evaluated, and our female Call Girls know that too. Thus, they work with an open attitude and persistently ready to get into the musicality of our clients By Clement Town**

🔺VᏋrifiᏋd✅✕ Call Girls IN Dehradun ❇🟰(( ♣ 863O4IO335 ♣ ))🟰❇✕ Hιɠԋ-Pɾσϝιʅҽ Dehradun ƈall Girls Service 🔻
We are the most trusted call girls In Dehradun providing agency from 2001.
Dehradun Escorts service  is a perfect option for those who are looking for some fun and adventure at the hill station The
Independent **Escorts In Dehradun  are highly professional and experienced in their job Chandrabani Chowk
They provide a wide range of erotic service to the clients, depending on their specific needs and preferences Whether 💓863O4IO335 you are looking for companionship, intimacy or just plain pleasure, the [Dehradun Escort Service can provide you with everything you need The young escorts are available for both in call and outcall services They can help you explore the city, take you to the best restaurants, bars, and clubs, and even take you on trips and adventures The Jakhan Dehradun escort girls are well-trained and educated, and they know how to give their clients the best experience possible They will make sure that all your needs are met and that you have a great time So if you are looking for some enjoyable time in Dehradun, then the beautiful escort service Dehradun is the best way to go at v our very best Escorts In DEhradun.

Our Wonderful Dehradun Call Girls are proficient to fulfill you Zoya💓863O4IO335 _Best Quality Dehradun Escorts.
It would change into a flat out satisfaction for the clients to stay related with any of our sweethearts. You truly need to assign these ladies which should be possible through the online systems for associations. These dears would be particularly ready to pass on their best degrees of associations that even inside the financial plans which won't actually check out at a capability for the clients. Thusly, in case one is from the exclusive class of society or even the unassumingly developed parties would select any of these dears for a decisive strategy for benefits of Call Girls In Dehradun At Prem Nagar,
**What are you searching for in a Dehradun Call Girls
We don't ensure what we can't fulfill, so anything that you read on this page is the hard truth! We have been in the Dehradun Call Girl Service business for up to 12 years, so we know the prerequisites of our clients like the focal point of our hands. Why have we dependably remained significant in this industry, making worth and tending to needs? It is fundamental - we are client driven! Our clients start things out evaluated, and our female Call Girls know that too. Thus, they work with an open attitude and persistently ready to get into the musicality of our clients By Clement Town**


Audio is working fine on MacOS safari/Chorme but not in iOS safari/chrome

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
I'm using the latest version of audioplayers: ^5.2.1
Audio is working fine on MacOS safari/Chorme but not in iOS safari/chrome
Expected behaviour
It should also work on iOS safari and chrome
Steps to reproduce

Execute flutter run on the code sample
...
...

Code sample

Code sample
void main() {
}

Affected platforms
iOS
Platform details
No response
AudioPlayers Version
5.2.1
Build mode
No response
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs

my relevant logs

Full Logs

my full logs or a link to a gist

Flutter doctor:
Output of: flutter doctor -v

Related issues / more information
No response
Working on PR
yeah

We are happy for contributions ;D Maybe these issue can help you: https://github.com/bluefireteam/audioplayers/labels/platform-web-safari


B-20531-INT part 2: revising rules for TOO

Agility ticket
INT PR 1
Summary
New understanding of rules as it relates to assignment of work in TOO queues. See previous PR for rules for SC.
RULES:
Services Counselor
-all users should be able to self assign to any move that is not assigned
-all users should see a read only value for an assigned move that is not counseled by their counseling office
-non supervisors should see a read only value for any move that they're assigned to
-supervisors should be able to assign their workers to moves that are counseled by the transportation office the supervisor works at
TOO
-all users should be able to self assign to any move that is not assigned
-non supervisors should see a read only value for any move that they're assigned to
-supervisors should be able to freely assign any TOO who works at their office to any move in their queue
TEST:
Ensure those rules apply to the queues where assignment is currently implemented (services counselor move queue, TOO queue)

Test coverage on client failed.
Last run: Mon 21 Oct 2024 04:56:05 PM UTC
Refer to this report to see coverage details for the client app.
Documentation for test coverage can be found at this link.


Demo Server

Hi guys,
your link to demo server doesn't work. Did you move your application on another node?
otherwise you can write a very short guide how can we start your application.
Thank you for your time
Saeed

Migrated from CloudBees to Heroku.


Submissions Group 90: 2352259_2353214_2353174

This pull request presents two simple heuristic-based algorithm to address the 2D Cutting Stock Problem, Skyline Packing Algorithm (Policy_1) and Level Packing Algorithm (Policy_2), developed by Team 90—Nguyễn Phúc Điền, Nguyễn Minh Triết, Đinh Tiến.
TEAM MEMBERS

No.
Full Name
Student ID

1
Nguyễn Phúc Điền
2352259

2
Nguyễn Minh Triết
2353214

3
Đinh Tiến
2353174

Skyline Packing Algorithm
The Skyline Packing policy utilizes a skyline heuristic to efficiently place products onto stocks. It dynamically maintains a skyline profile for each stock, tracking the highest point at each horizontal position to optimize placement and minimize wasted space.
The Skyline Packing algorithm follows these steps:

Initialization:
Maintain a skyline profile for each stock, indicating the current highest point at each horizontal position.

Product Sorting:
Sort products based on their area and dimensions to prioritize larger or more demanding pieces.

Placement Search:
For each product, iterate through possible orientations and find the best position along the skyline where the product can fit.

Score Calculation:
Evaluate potential placements using a scoring function that considers waste area, contact points, and height balance.

Placement Selection:
Choose the placement with the highest score and update the skyline accordingly.

Level Packing Algorithm
The Level Packing policy adopts a level-based strategy, organizing products into horizontal levels within each stock. It prioritizes placing larger products first and fills each level as compactly as possible before moving to the next, aiming to maximize space utilization per level.
The Level Packing algorithm follows these steps:

Initialization:
Divide each stock sheet into horizontal levels based on the tallest piece in each level.

Product Sorting:
Order products to place larger pieces first to optimize space utilization.

Sequential Placement:
Place each product into the first available level where it fits, scanning from left to right.

Level Management:
Create a new level when the current one cannot accommodate a new product.

Termination:
Continue until all products are placed or no further placements are possible.

Within the custom Gym environment, CuttingStockEnv(https://github.com/martinakaduc/gym-cutting-stock), we developed a Python script to initialize the environment and execute two distinct algorithms: Skyline Packing and Level Packing. The script was run across 100 different seeds (ranging from 0 to 99). The table below presents the average values of key performance metrics for each algorithm.
TEST RESULT

Algorithm
Filled Ratio
Trim Loss

Skyline Packing
0.1957 ± 0.1007
0.1998 ± 0.0983

Level Packing
0.1904 ± 0.0983
0.1787 ± 0.1064

Please revise the PR in Dec 16. Otherwise, your group will get 0 score for code.


Build module with tsc

Instead of using tsc for type checking and babel for transpilation to releasable module, this uses tsc for both.

Using ES6 modules in src
Exposing type definitions in the NoFlo package

If we want, we can improve the type defs via JsDoc

@trustmaster this way you could use the src without any transpilation if your platform supported ES Modules


BitmapImage.SetSource from MemoryStream of byte[] issue?

Discussion: BitmapImage.SetSource from MemoryStream of byte[] issue?
I'll be frank - I'm an intermediate C# developer and am just starting to play with WinUI. If I have an image stored in a blob column in a database, my understanding is that I could use a ValueConverter to take those bytes and convert them to a BitmapImage to use as the source in an image control ala:
public object? Convert(object value, Type targetType, object parameter, string language)
{
    if (value is null)
        return null;

    byte[] imageData = (byte[])value;
    BitmapImage bi = new BitmapImage();
    MemoryStream ms = new MemoryStream();
    ms.Write(imageData, 0, imageData.Length);
    bi.SetSource(ms.AsRandomAccessStream());
    return bi;
}

However, when I do this, the BitmapImage has PixelHeight/PixelWidth values of 0. It appears that the BitmapImage isn't processing the stream, but the stream is a valid byte array of all file bytes.

The end result is that the Image control on the page doesn't show anything. Maybe something I'm overlooking, but given how new WinUI is, there doesn't seem to be anyone documenting similar issues. Hoping someone here can assist.

using Microsoft.UI.Xaml.Media.Imaging;

#nullable enable

namespace Converters;

public class BytesToBitmapImageConverter : BaseConverter<byte[], ImageSource?>
{
    public static ImageSource? Convert(byte[] value)
    {
        value = value ?? throw new ArgumentNullException(nameof(value));

        if (!value.Any())
        {
            return null;
        }

        using var stream = new MemoryStream();
        stream.Write(value, 0, value.Length);
        stream.Seek(0, SeekOrigin.Begin);

        var image = new BitmapImage();
        image.SetSource(stream.AsRandomAccessStream());

        return image;
    }

    public BytesToBitmapImageConverter()
        : base(Convert)
    {
    }
}

Gah, that was it - the missing Seek() method... many thanks!


Fix for Opsworks 11.10 branch, restarting delayed_job ourselves

Hello @joeyAghion. What is the status on this please? We just moved a production app to OpsWorks and discovered that our workers are not restarting on deploy. Thank you.

@daniel-nelson sorry for the delay. We are on Chef 11.4 and use deploy hooks so this change is unsafe. I suggest using @robamaton's fork if his changes work for you. I'm open to creating a 11.10 branch on this fork if it helps, but won't be able to maintain it since we haven't yet upgraded.

We only have before_restart and before_migrate deploy hooks, so I'll use @robamaton's solution. Thank you @joeyAghion.

@loganathan-s We've been using this without issue for some time, but just today noticed that our background jobs hadn't restarted. Perhaps something changed in OpsWorks that breaks @robamaton's fix?

I'm still getting confirmation in my deploy logs like this:
INFO: execute[restart delayed_job] ran successfully
Are you getting this, but they aren't restarting? Or is it not getting called at all?

@daniel-nelson @loganathan-s

@robamaton We are seeing execute[restart delayed_job] ran successfully in our logs. I don't know how to explain it then, but post-multiple-deployments, our background workers were running with an outdated version of a gem that we had updated in Gemfile.lock (a custom C gem used by the background worker). After shutting down that background worker and launching a new one, the results from the background worker started reflecting the updated gem. I should have checked more carefully to see how long monit reported the workers to be running rather than assuming they hadn't been restarted before replacing the instances.

@daniel-nelson Just tested in my staging environment and things are still working for me. It's possible that AWS is now deploying updated cookbooks for Chef 11.10 and my instances don't have it yet. I tested it on an m3.medium with Ubuntu 14.04 which has been running for quite a while. I can try spinning up fresh ones which might make for a better test. I'll let you know how that turns out.

It's been long enough that I'm comfortable adding a warning about this behavior now. Next version should include this.


Add SourceCache.Create method similar to Observable.Create

Encapsulate the creation of SourceCache by following a pattern similar to Observable.Create.  You could have a SourceCache.Create method that passes in a Func and you can return a single IDisposable or an IEnumerable from within that method. The SourceCache.Create method itself would return an IObservableCache<> instead of a SourceCache<>.

I love this idea and have immediate begun to consider what the api should look like.
For the observable list it will be easy to make an api almost identical to Observable.Create.  Here are some examples
IObservable<IChangeSet<int>> ocs1 = ObservableChangeSet.Create<int>(list =>
    {
        list.AddRange(Enumerable.Range(1,100));
        return () => { };
    });

IObservable<IChangeSet<int>> ocs2 = ObservableChangeSet.Create<int>(list =>
    {
        list.AddRange(Enumerable.Range(1, 100));
        return new CompositeDisposable();
    });

IObservable<IChangeSet<int>> ocs3 = ObservableChangeSet.Create<int>(async list =>
    {
        var value = await Create<int>();
        list.Add(value);

        return () => { };
    });

//would include all Observable.Create overloads which rx has

What is immediately clear is I would also have to make the data source subject like i.e. it would have to be able handle OnError and OnComplete. So rather than dealing with an observable list or cache I would introduce a new data source subject.
And similarly for a cache
IObservable<IChangeSet<Person, string>> ocs1 = ObservableChangeSet.Create<Person,string>(dataSource =>
    {

        return () => { };
    });

IObservable<IChangeSet<Person, string>> ocs2 = ObservableChangeSet.Create<Person, string>(async dataSource =>
    {
        var value = await Create<Person>();
        dataSource.AddOrUpdate(value);

        return () => { };
    });

The only thing which I am unsure about is how can I get the key  selector into the about function.  Any ideas?

Actually it's easy
IObservable<IChangeSet<Person, string>> ocs3 = ObservableChangeSet.Create<Person, string>(dataSource =>
{
	return new CompositeDisposable();
}, p => p.Name);

I have introduced a new static class ObservableChangeSet which can be used for create observable caches and observable lists.  I have implemented the same overloads which exist for Observable.Create.
To create from observables
IObservable<IEnumerable<Person>> LoadPeople() =>Observable.Return(Enumerable.Empty<Person>());
IObservable<IEnumerable<Person>> SubscribePeople() => Observable.Return(Enumerable.Empty<Person>());

IObservable<IChangeSet<Person>> listFromObservable = ObservableChangeSet.Create<Person>(list =>
        {
            var peopleLoader = LoadPeople().Subscribe(list.AddRange, list.OnError);
            var peopleSubscriber = SubscribePeople().Subscribe(list.AddRange, list.OnError);
            return new CompositeDisposable(peopleLoader, peopleSubscriber);
        });

IObservable<IChangeSet<Person, string>> cacheFromObservable = ObservableChangeSet.Create<Person, string>(cache =>
        {
            var peopleLoader = LoadPeople().Subscribe(cache.AddOrUpdate, cache.OnError);
            var peopleSubscriber = SubscribePeople().Subscribe(cache.AddOrUpdate, cache.OnError);

            return new CompositeDisposable(peopleLoader, peopleSubscriber);
        }, p=>p.Name);

To create from tasks
Task<IEnumerable<Person>> LoadPeopleAsync() => Task.FromResult(Enumerable.Empty<Person>());

IObservable<IChangeSet<Person>> listFromTask = ObservableChangeSet.Create<Person>(async list =>
        {
            var people =await LoadPeopleAsync();
            list.AddRange(people);
        });

IObservable<IChangeSet<Person, string>> cacheFromTask = ObservableChangeSet.Create<Person, string>(async cache =>
        {
            var people = await LoadPeopleAsync();
            cache.AddOrUpdate(people);
        }, p => p.Name);

The resulting changes sets can be converted to a cache or list by calling ToObservableCache() or ToObservableList() respectively.
The great advantage of doing it this way is the result is a first class Rx citizen in that repeat and retry ogic can be easily implemented - I will create some examples at a later date of doing so.
The API will be released soon,
The API has not yet been released but hopefully

Implemented and deployed


[#1407] feat(rust): support metrics about disk and topN data size

What changes were proposed in this pull request?

feat(rust): add more metrics about local disk and reading
feat(rust): support topN app data size

Why are the changes needed?
Fix: #1407
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (882cc20) 54.24% compared to head (a6d0262) 54.80%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1488      +/-   ##
============================================
+ Coverage     54.24%   54.80%   +0.56%
+ Complexity     2804     2272     -532
============================================
  Files           427      350      -77
  Lines         24347    15749    -8598
  Branches       2075     1445     -630
============================================
- Hits          13207     8632    -4575
+ Misses        10310     6624    -3686
+ Partials        830      493     -337

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


Publish C++ server and clients to vcpkg

C++ server and clients should be available through vcpkg

Will wait for #58 to be implemented first

See #99 . I won't support vcpkg anymore.


sqloquent.tools.make_migration_from_model should take just the model class as a parameter

Is your feature request related to a problem? Please describe.
Currently, the sqloquent.tools.make_migration_from_model function takes a name and file path.
Describe the solution you'd like
This tool would be more useful for use in other libraries/packages if it took just the model itself as a parameter and let the tool user import the model.
Describe alternatives you've considered
Retaining the existing function will make using it more difficult for library authors.
Additional context
There is a function in sqloquent.tools called _make_migration_from_model with the correct functionality. The leading underscore can be removed and the original function with that name have "_path" appended to its name.

Done


download binstall in tmp and fix binstall fmt

fix: download binstall to /tmp to avoid additional untracked files
fix: binstall now wants stuff with a capital

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Custom Repository extending EntityRepository

Hi guys,
Disclaimer: I'm trying this on my version of Laravel 5 (yes I know it's not even beta). Please can someone confirm if this is or isn't the case on L4?
I have an Entity with a custom Repository. That custom repository class is extending the default Doctrine\ORM\EntityRepository.
When trying to use the entity in my app I immediately get the following error:
Unresolvable dependency resolving [Parameter #0 [  $em ]] in class Doctrine\ORM\EntityRepository
The cause seems to be that the $em argument in the EntityRepository constructor is not type hinted. Fixing this first case only leads to further unresolvable dependency issues with other non type-hinted params throughout the initialisation of EntityRepository so not workable (plus I'm hacking at the core Doctrine code).
Now, how best to get around this problem? Is my only option to manually bind each custom repository in the IOC?
Thanks

Unless you bind a repository interface through the IoC container and in the binding use the Entity Manager to get the repository it's not going to work. You can simply inject the custom repository class, since it needs dependencies. I do this:
interface UserRepository {

    public function getAll();
}

class DoctrineUserRepository extends EntityRepository implements UserRepository {

    // stuff...
}

Now create a service provider in which you bind the interface:

$this->app->bind(UserRepository::class, function($app) {
    $entityManager = $app[EntityManagerInterface::class];
    return $entityManager->getRepository('User');
});

Now you can typehint the interface in your classes.

I don't know if is the best approach.
/** base repository */
use App\Interfaces\RepositoryInterface;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\EntityRepository;
use Doctrine\ORM\Mapping\ClassMetadata;

abstract class Repository extends EntityRepository implements RepositoryInterface
{
    public function __construct(EntityManager $entityManager)
    {
        $metadata = new ClassMetadata($this->entity());
        parent::__construct($entityManager, $metadata);
    }

    abstract function entity();

    public function createEntity(array $data)
    {
        $entity = new $this->_entityName;
        foreach ($data as $field => $value) {
            $methodName = 'set' . ucfirst($field);
            if (!method_exists($entity, $methodName)) {
                throw new RepositoryException('worng!');
            }
            $entity->$methodName($value);
        }
        $this->save($entity);

        return $entity;
    }

    protected function save($entity) {

        $this->_em->persist($entity);
        $this->_em->flush();
    }
}

/** subclass repo */

use App\Repositories\Repository;

class UserRepository extends Repository
{
    function entity() {
        return 'App\Entities\User';
    }
}

/** controller */
use App\Http\Controllers\Controller;
use App\Http\Requests\Auth\PostRegisterRequest;
use App\Repositories\UserRepository;

class RegisterController extends Controller
{
    public function index()
    {
        return view('auth.register');
    }

    public function store(PostRegisterRequest $request, UserRepository $userRepo)
    {
        if ($userRepo->createEntity($request->except('password_confirmation')))
            return  redirect('login');
    }
}

This worked for me. Hope it helps!

@Mircea-Ciuchea thanks for your solution, I like it. But it is annoying to implement getEntity in each sub-repository class. I use convention that repository is in /repo/ folder and entity in /entity/ folder, for example
/repo/UserRepo.php
/entity/User.php
So I implemented getEntity in the base repository like this:
public function entity() {
$className = get_class($this);
$splitted = explode('\', $className);
$splitted[count($splitted) - 2] = "Entity";
$splitted[count($splitted) - 1] = str_replace("Repo", "", $splitted[count($splitted) - 1]);
return join('\', $splitted);
}