dotnet tool restore --interactive fails to restore tools from Artifacts unless I UseDotNet@2 Core 3.1.300 via global.json

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: CmdLine or DotNetCoreCLI
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines?

If using Azure Pipelines, provide the account name, team project name, build definition name/build number: https://dev.azure.com/SIEE/IAMM/_build?definitionId=14

Agent - Hosted :

If using Hosted agent, provide agent queue name:

Agent name: 'Hosted Agent'
Agent machine name: 'fv-az674'
Current agent version: '2.169.1'
Issue Description
Auth to artifact fails when restoring tools (and a normal dotnet restore too) unless I install a newer version of core. Did something get updated in Core 3.1.300 that fixes this?
NuGet.Config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <clear />
    <add key="IAMM" value="https://pkgs.dev.azure.com/SIEE/IAMM/_packaging/IAMM/nuget/v3/index.json" />
  </packageSources>
</configuration>

Pipeline that fails.
trigger:
- master

pool:
  vmImage: 'windows-latest'

steps:

- task: NuGetAuthenticate@0

- task: CmdLine@2
  displayName: 'Execute Cake Script'
  inputs:
    script: |
     dotnet tool restore --interactive
     dotnet cake

Pipeline that works (with a global.json using 3.1.300)
- task: NuGetAuthenticate@0

- task: UseDotNet@2
  displayName: Install .NET Core
  inputs:
    useGlobalJson: true

- task: CmdLine@2
  displayName: 'Execute Cake Script'
  inputs:
    script: |
      dotnet tool restore --interactive
      dotnet cake

Task logs
2020-06-03T16:45:09.3310611Z ##[section]Starting: Execute Cake Script
2020-06-03T16:45:09.3416578Z ==============================================================================
2020-06-03T16:45:09.3416881Z Task         : Command line
2020-06-03T16:45:09.3417188Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2020-06-03T16:45:09.3417481Z Version      : 2.164.2
2020-06-03T16:45:09.3417695Z Author       : Microsoft Corporation
2020-06-03T16:45:09.3418016Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2020-06-03T16:45:09.3418368Z ==============================================================================
2020-06-03T16:45:10.4511412Z Generating script.
2020-06-03T16:45:10.4889845Z ========================== Starting Command Output ===========================
2020-06-03T16:45:10.5146856Z ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "d:\a\_temp\6e836ed0-7808-4dcb-bc58-f26f59ee34ca.cmd""
2020-06-03T16:45:16.9848633Z
2020-06-03T16:45:17.0784976Z Welcome to .NET Core 3.1!
2020-06-03T16:45:17.0785371Z ---------------------
2020-06-03T16:45:17.0785625Z SDK Version: 3.1.202
2020-06-03T16:45:17.0785759Z
2020-06-03T16:45:17.0788874Z Telemetry
2020-06-03T16:45:17.0789194Z ---------
2020-06-03T16:45:17.0792266Z The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
2020-06-03T16:45:17.0793475Z
2020-06-03T16:45:17.0793884Z Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
2020-06-03T16:45:17.0794364Z
2020-06-03T16:45:17.0794826Z ----------------
2020-06-03T16:45:17.0795058Z Explore documentation: https://aka.ms/dotnet-docs
2020-06-03T16:45:17.0795398Z Report issues and find source on GitHub: https://github.com/dotnet/core
2020-06-03T16:45:17.0796083Z Find out what's new: https://aka.ms/dotnet-whats-new
2020-06-03T16:45:17.0796668Z Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
2020-06-03T16:45:17.0797093Z Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
2020-06-03T16:45:17.0797450Z Write your first app: https://aka.ms/first-net-core-app
2020-06-03T16:45:17.0797781Z --------------------------------------------------------------------------------------
2020-06-03T16:45:38.6557290Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error : Problem starting the plugin 'C:\Users\VssAdministrator\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll'. Plugin 'CredentialProvider.Microsoft' failed within 6.361 seconds with exit code -1. [C:\Users\VssAdministrator\AppData\Local\Temp\tckqgfrc.nja\restore.csproj]
2020-06-03T16:45:38.8598216Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/SIEE/IAMM/_packaging/IAMM/nuget/v3/index.json. [C:\Users\VssAdministrator\AppData\Local\Temp\tckqgfrc.nja\restore.csproj]
2020-06-03T16:45:38.8599346Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error :   Response status code does not indicate success: 401 (Unauthorized). [C:\Users\VssAdministrator\AppData\Local\Temp\tckqgfrc.nja\restore.csproj]
2020-06-03T16:45:38.9752582Z
2020-06-03T16:45:38.9774513Z Package "cake.tool" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
2020-06-03T16:45:38.9775464Z    at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
2020-06-03T16:45:38.9776279Z    at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
2020-06-03T16:45:38.9778882Z    at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
2020-06-03T16:45:38.9779283Z
2020-06-03T16:45:38.9779624Z Restore failed.
2020-06-03T16:45:39.1789940Z Run "dotnet tool restore" to make the "dotnet-cake" command available.
2020-06-03T16:45:39.2953522Z ##[error]Cmd.exe exited with code '1'.
2020-06-03T16:45:39.3333143Z ##[section]Finishing: Execute Cake Script

Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]

Hi @VictorioBerra ,
It seems the credential provider is failing. Could you please use the NuGet installer task to ensure that you are on the latest version of nuget. Additionally, could you try to follow the advice from this comment>)
?

@apluche Thanks for the super fast reply.
I have tried with the NuGetToolInstaller task:
Using version: 5.6.0
Found tool in cache: NuGet 5.6.0 x64
Using tool path: C:\hostedtoolcache\windows\NuGet\5.6.0\x64

Looks like it pulled the latest, but same issue. The dotnet tool restore fails.
I then modified my tool install task to this:
- task: CmdLine@2
  displayName: 'Execute Cake Script'
  inputs:
    script: |
      nuget locals http-cache -clear
      setx NUGET_PLUGIN_HANDSHAKE_TIMEOUT_IN_SECONDS=20
      setx NUGET_PLUGIN_REQUEST_TIMEOUT_IN_SECONDS=20
      dotnet tool restore --interactive
      dotnet cake

For reference, -c was invalid, I needed the full -clear. Same result, the dotnet tool restore fails:
2020-06-03T21:34:58.2973776Z ##[section]Starting: Execute Cake Script
2020-06-03T21:34:58.3119390Z ==============================================================================
2020-06-03T21:34:58.3119849Z Task         : Command line
2020-06-03T21:34:58.3120153Z Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
2020-06-03T21:34:58.3120450Z Version      : 2.164.2
2020-06-03T21:34:58.3120661Z Author       : Microsoft Corporation
2020-06-03T21:34:58.3120972Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
2020-06-03T21:34:58.3121338Z ==============================================================================
2020-06-03T21:34:59.3721216Z Generating script.
2020-06-03T21:34:59.4053403Z ========================== Starting Command Output ===========================
2020-06-03T21:34:59.4483733Z ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "d:\a\_temp\d1f05d95-c1fc-4777-9d8a-3897f125c59e.cmd""
2020-06-03T21:35:01.8310765Z Clearing NuGet HTTP cache: C:\Users\VssAdministrator\AppData\Local\NuGet\v3-cache
2020-06-03T21:35:01.8329881Z Local resources cleared.
2020-06-03T21:35:01.9051180Z
2020-06-03T21:35:01.9051745Z SUCCESS: Specified value was saved.
2020-06-03T21:35:01.9281158Z
2020-06-03T21:35:01.9281622Z SUCCESS: Specified value was saved.
2020-06-03T21:35:10.4379235Z
2020-06-03T21:35:10.5629552Z Welcome to .NET Core 3.1!
2020-06-03T21:35:10.5629867Z ---------------------
2020-06-03T21:35:10.5630122Z SDK Version: 3.1.202
2020-06-03T21:35:10.5630266Z
2020-06-03T21:35:10.5632313Z Telemetry
2020-06-03T21:35:10.5632590Z ---------
2020-06-03T21:35:10.5633379Z The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
2020-06-03T21:35:10.5634038Z
2020-06-03T21:35:10.5634427Z Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
2020-06-03T21:35:10.5634772Z
2020-06-03T21:35:10.5635026Z ----------------
2020-06-03T21:35:10.5635483Z Explore documentation: https://aka.ms/dotnet-docs
2020-06-03T21:35:10.5635888Z Report issues and find source on GitHub: https://github.com/dotnet/core
2020-06-03T21:35:10.5636687Z Find out what's new: https://aka.ms/dotnet-whats-new
2020-06-03T21:35:10.5637180Z Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
2020-06-03T21:35:10.5638019Z Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
2020-06-03T21:35:10.5638459Z Write your first app: https://aka.ms/first-net-core-app
2020-06-03T21:35:10.5638767Z --------------------------------------------------------------------------------------
2020-06-03T21:35:31.8483578Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error : Problem starting the plugin 'C:\Users\VssAdministrator\.nuget\plugins\netcore\CredentialProvider.Microsoft\CredentialProvider.Microsoft.dll'. Plugin 'CredentialProvider.Microsoft' failed within 6.490 seconds with exit code -1. [C:\Users\VssAdministrator\AppData\Local\Temp\ttsmf4m0.p3q\restore.csproj]
2020-06-03T21:35:32.3074269Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/SIEE/IAMM/_packaging/IAMM/nuget/v3/index.json. [C:\Users\VssAdministrator\AppData\Local\Temp\ttsmf4m0.p3q\restore.csproj]
2020-06-03T21:35:32.3076095Z C:\Program Files\dotnet\sdk\3.1.202\NuGet.targets(124,5): error :   Response status code does not indicate success: 401 (Unauthorized). [C:\Users\VssAdministrator\AppData\Local\Temp\ttsmf4m0.p3q\restore.csproj]
2020-06-03T21:35:32.4440596Z
2020-06-03T21:35:32.4462458Z Package "cake.tool" failed to restore, due to Microsoft.DotNet.ToolPackage.ToolPackageException: The tool package could not be restored.
2020-06-03T21:35:32.4463389Z    at Microsoft.DotNet.Tools.Tool.Install.ProjectRestorer.Restore(FilePath project, PackageLocation packageLocation, String verbosity)
2020-06-03T21:35:32.4466421Z    at Microsoft.DotNet.ToolPackage.ToolPackageInstaller.InstallPackageToExternalManagedLocation(PackageLocation packageLocation, PackageId packageId, VersionRange versionRange, String targetFramework, String verbosity)
2020-06-03T21:35:32.4467172Z    at Microsoft.DotNet.Tools.Tool.Restore.ToolRestoreCommand.InstallPackages(ToolManifestPackage package, Nullable`1 configFile)
2020-06-03T21:35:32.4467559Z
2020-06-03T21:35:32.4467820Z Restore failed.
2020-06-03T21:35:32.6427401Z Run "dotnet tool restore" to make the "dotnet-cake" command available.
2020-06-03T21:35:32.7564893Z ##[error]Cmd.exe exited with code '1'.
2020-06-03T21:35:32.7963526Z ##[section]Finishing: Execute Cake Script

@VictorioBerra ,
You'll need to set the variables as environment variables in your pipeline rather than in your script. The issue I can see here is that the credentialprovider is failing to start.
Please let me know if that helps, if not, I'll keep digging

@apluche Success.

YAML
steps:

- task: NuGetToolInstaller@1

- task: NuGetAuthenticate@0

- task: CmdLine@2
  displayName: 'Execute Cake Script'
  inputs:
    script: |
      nuget locals http-cache -clear
      dotnet tool restore --interactive
      dotnet cake

Would you change anything else in the above pipeline?

@VictorioBerra ,
I'm glad to hear that you are unblocked.
You may no longer need the NuGetToolInstaller so you can probably remove it from the pipeline. I'm not 100% familiar with dotnet, however, so the pipeline may still need the tool installer. It's worth testing if you can remove it. There isn't anything else that I see in your pipeline.
On another note, the script will always clear the cache before starting the restore. In operations where you restore large amounts of packages, this may slow you down. If having that cache clear doesn't impact your pipeline significantly, it is worth leaving in there.

Thanks I have done the following:

And the pipeline is still successful.  I was curious about the NuGetToolInstall command because I did not think dotnet tool restore used NuGet.exe under the hood.

Sometimes dotnet goes to nuget under the hood (I think nuget is shipped with dotnet) so I just wanted to cover all of the possibilities. Glad to hear you were able to delete those lines without having the pipeline fail.
If you need any other help, please let me know or create a new issue. If you do end up seeing another CredentialProvider.Microsoft\CredentialProvider.Microsoft issue, you can create an issue here: https://github.com/Microsoft/artifacts-credprovider/issues

For all those that come after me:
I will be posting this response on a few issues that I frequented when troubleshooting a similar issue. This is not strictly related to this particular issue but someone may find it useful in the end.
In my case, we were having issues with intermittent packages not being restored from a nuget feed with a networking error, for example:
  Failed to download package 'System.Data.OleDb.4.7.0' from 'https://pkgs.dev.azure.com/wello-ca/af808fc2-ae7d-42da-887a-ea7a78a65e52/_packaging/7648731a-3d0b-4888-816b-d229e1e80fd4/nuget/v3/flat2/system.data.oledb/4.7.0/system.data.oledb.4.7.0.nupkg'.
  The SSL connection could not be established, see inner exception.
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host..
    An existing connection was forcibly closed by the remote host.

Multiple packages would fail, and the packages that failed would be different every time. We would also periodically see a dotnet tool restore command simply hang and never complete.
We eventually figured out that these issues only seemed to be occurring when multiple builds were happening in parallel on Azure DevOps. This led me to believe that perhaps there was some kind of rate-limiting happening against the Azure Artifacts server, because the solution in question had ~70 projects to be restored, thus making a lot of network calls.
I enabled caching of nuget packages to alleviate this, which seemed to solve the problem. Below is a template YAML that I have added for all build tasks in our pipeline, and this seems to work for us.
steps:
  - task: NuGetAuthenticate@0
    displayName: "Authenticate with NuGet"
    inputs:
      forceReinstallCredentialProvider: true

  - task: UseDotNet@2
    displayName: Install .NET Core
    inputs:
      useGlobalJson: true

  - task: Cache@2
    displayName: Cache NuGet packages
    inputs:
      key: "nuget | $(Agent.OS) | **/global.json, **/*.csproj"
      restoreKeys: "nuget | $(Agent.OS)"
      path: $(NUGET_PACKAGES)

Usage example:
jobs:
  - job: Compile
    displayName: "⚙ Compile"
    dependsOn: []
    steps:
      - template: setup-build-task.azure-pipelines.yml

      - task: CmdLine@2
        displayName: Restore, lint, and build
        inputs:
          script: "./build.cmd RestoreTools Restore Lint Compile --skip"

Godspeed.


[models] MeshTangents function crashes when used with GLTF or IQM models

I've been encountering an issue on the latest version of RayLib where the function for generating mesh tangents (MeshTangents) crashes when called. The error I get in Visual Studio is "Critical error detected c0000374" which means that something (the mesh tangents in this case) is being written beyond the allocated memory (I believe this is called a heap corruption, please correct me if I'm wrong)
I'm on Windows 10 using Visual Studio 2019.
My GPU is a GTX 1660 TI and the OpenGL version is 3.3
Setting up any sort of basic 3D app in RayLib that loads models and calling MeshTangents should give this error. I've done it in the example code and gotten the error.

@GoldenThumbs Just tried with models_animation example that loads an IQM file and it works perfectly. Please, could you provide a non-working example?

@raysan5 So I just tried it with that model... And it worked... I'm going to check the blend file and see if it's set up differently. Someone should probably still see what's going on but feel free to either change the issue name or just close it altogether. I should also supply some screenshots and the whole debug output so there's a bit more information.

@GoldenThumbs I'd need a non-working example to review it...

As far as an example can not be provided I'm closing the issue.


Added support for block groups

Modified the blocks template to allow for adding blocks by group
please see https://spectrum.chat/twill/feature-requests/create-groups-for-blocks~9afc8498-0de8-4705-b964-d0beff0ee8f8

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

Merged in https://github.com/area17/twill/commit/57bed474beea5994ec27387d3e2ffea11baaa0fe, thank you so much @Riaan-ZA!


Update vector_stores.md

I have found some minor errors in the comments while reading the documentation

Thanks for the amazing work you're doing. I'll try to contribute
Il giorno ven 10 mar 2023 alle ore 17:26 Jerry Liu @.***>
ha scritto:

@.**** approved this pull request.
thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/jerryjliu/gpt_index/pull/693#pullrequestreview-1335175168,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL2SUDDO4MBER22ZTZP7ZLW3NI25ANCNFSM6AAAAAAVWRL6SY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

Fabio Fumarola Ph.D.
https://www.linkedin.com/pub/fabio-fumarola/7/540/605
@.***


Storage.Lua:216

I have problem with DK Blood from John Metz when import, i already try without addons, only the gse.
Message: Interface\AddOns\GSE\API\Storage.lua:216: attempt to index field '?' (a nil value)
Time: Sun Sep  6 03:31:33 2020
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:216: attempt to index field '?' (a nil value)
[string "=[C]"]: ?
[string "@Interface\AddOns\GSE\API\Storage.lua"]:216: in function OOCPerformMergeAction' [string "@Interface\AddOns\GSE\API\Events.lua"]:446: in function ?'
[string "@Interface\AddOns\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...s\ElvUI\Libraries\Ace3\AceTimer-3.0\AceTimer-3.0.lua:50>
Locals:

I talk with John he said there is no problem for him

Works for me as well when I copy the macro from the WLM page.  What you have pasted here is broken it’s missing characters,
TimothyLuke

On 6 Sep 2020, at 7:05 pm, spydapablo<EMAIL_ADDRESS>wrote:

I talk with John he said there is no problem for him
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

What version of the game are you running?
TimothyLuke

On 6 Sep 2020, at 7:05 pm, spydapablo<EMAIL_ADDRESS>wrote:

I talk with John he said there is no problem for him
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Shadowlands Beta - Version: <IP_ADDRESS>789

I don’t have access to SL Beta but I can’t reproduce this on PTR.
TimothyLuke

On 7 Sep 2020, at 3:26 am, spydapablo<EMAIL_ADDRESS>wrote:

Shadowlands Beta - Version: <IP_ADDRESS>789
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

ohh okay! hope you get beta soon!

Beta and PTR are the same version - just PTR doesn't have the new SL
stuff.  Was alpha17 the first SL version you used and if not did you delete
the GSE.lua file from the WTF folder before you installed alpha17?
TimothyLuke
On Mon, 7 Sep 2020 at 14:08, spydapablo<EMAIL_ADDRESS>wrote:

ohh okay! hope you get beta soon!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/682#issuecomment-688028646,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEMCFP6VSF5YTLGOQBGKDDSERPUFANCNFSM4Q4FCQUQ
.

--
Timothy Minahan**M 0406 413 680  |  *E<EMAIL_ADDRESS>

Every addon and all was fresh install, just copying the weakauras strings from luxthos, wago, wowlazymacros. etc

I ask as I just can’t get this error to occur.
TimothyLuke

On 8 Sep 2020, at 5:05 pm, spydapablo<EMAIL_ADDRESS>wrote:

Every addon and all was fresh install, just copying the weakauras strings from luxthos, wago, wowlazymacros. etc
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

All good now, i just delete the GSE.lua and install the new version. No errors at all!


Issue running lint on windows

I cloned the latest on 2 windows machines and my mac.  Node and npm are at the latest versions on all three machines.  After executing npm install, I try to run 'npm run lint' and both windows machines fail.  Error :
C:\dev\preboot\node_modules\tslint\node_modules\glob\sync.js:29
throw new Error('must provide pattern')
^
Error: must provide pattern
at new GlobSync (C:\dev\preboot\node_modules\tslint\node_modules\glob\sync.js:29:11)
at Function.globSync [as sync] (C:\dev\preboot\node_modules\tslint\node_modules\glob\sync.js:24:10)
at Object. (C:\dev\preboot\node_modules\tslint\lib\tslint-cli.js:128:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (C:\dev\preboot\node_modules\tslint\bin\tslint:3:1)
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Programs\nodejs\node.exe" "C:\Users\Adam\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "lint"
npm ERR! node v4.4.5
npm ERR! npm  v3.9.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>lint: tslint 'src/**/*.ts'; exit 0
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint script 'tslint 'src//*.ts'; exit 0'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the app package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tslint 'src//*.ts'; exit 0
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs app
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls app
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\dev\preboot\npm-debug.log
Any suggestions?

Yes sorry, I have a fix on a PR, will merge later.


playing full length tracks

Can this code play full length tracks if the Spotify app is installed or would that require recoding from Spotify web API to iOS SDK?
I have the Spotify app installed and authenticated but SpotifyClone still plays only 30 second demos.
Do I need to authorize something in the app?
Thanks
Julian

Hello, Julian. To play full-length content you'll need to migrate to the SDK instead of using the Web API. I've chosen to use the the Web API for its simplicity and because it allows the app to run on the simulator. But, you can study the docs a bit and try to do a migration
https://developer.spotify.com/documentation/ios/#about-the-sdk
https://github.com/spotify/ios-sdk

Hi Gabriel
Thanks very much for clarifying that (and for sharing your code).


Typescript error when pulling some theme props in styled()

I've come across a few props that present the following error when trying to use them in styled() :
Object is of type 'unknown'.ts(2571)
(property) Theme.shadows?: unknown

[X] The issue is present in the latest release.
[X] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

export const MyStyledComponent = styled('div')(({ theme }) => ({
  color: theme.palette.text.primary,                          // this works
  border: `1px solid ${theme.palette.divider}`,       // this works
  textShadow: theme.shadows[2],                           // this doesn't
  zIndex: theme.zIndex.appBar,                                // this doesn't
}));

Expected Behavior 🤔

I should be able to get the textShadow or zIndex value from the theme in my styled component.
Help?

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-next), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

Here's the code sandbox of the problem: https://codesandbox.io/s/practical-shape-nfrlj?file=/src/Demo.tsx
For some reason, I can't seem to reproduce the same error I am seeing for using theme.shadows[X] but, I was successfully able to for theme.zIndex.
You'll see the type error Property 'mobileStepper' does not exist on type 'unknown'.ts(2339) when I try to use zIndex: theme.zIndex.mobileStepper and zIndex: theme.zIndex.drawer in MyStyledComponen.
Practically the identical error except I'm having issues with theme.shadows[X] locally on my text editor.

import styled from @mui/material instead of system
e.g. import { styled } from '@mui/material';
The system one is abstracted from material specific theming so you need that one to get the right type.

import styled from @mui/material instead of system
e.g. import { styled } from '@mui/material';
The system one is abstracted from material specific theming so you need that one to get the right type.

That worked, thank you!

Documentation should be updated too. They import from @mui/system.
https://mui.com/system/styled/


[SPARK-28713][BUILD] Bump checkstyle from 8.14 to 8.23

Backport to branch-2.4 of https://github.com/apache/spark/pull/25432
Fixes a vulnerability from the GitHub Security Advisory Database:
Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.
https://github.com/checkstyle/checkstyle/issues/6474
Affected versions: < 8.18
Ran checkstyle locally.
Closes #25432 from Fokko/SPARK-28713.
Authored-by: Fokko Driesprong<EMAIL_ADDRESS>Signed-off-by: Dongjoon Hyun<EMAIL_ADDRESS>(cherry picked from commit d8dd5719b4b82ea5d2294002ada7aa4040bb2856)
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review https://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I had to update the maven plugin as well:
MacBook-Pro-van-Fokko:spark fokkodriesprong$ dev/lint-java
Using `mvn` from path: /usr/local/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (default-cli) on project spark-parent_2.11: Failed during checkstyle configuration: cannot initialize module TreeWalker - Property 'cacheFile' does not exist, please check the documentation -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

More info in https://github.com/checkstyle/checkstyle/issues/2883

ok to test

cc @srowen

Test build #109054 has started for PR 25437 at commit 3247fd7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14118/
Test PASSed.

Test build #109054 has finished for PR 25437 at commit 3247fd7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109054/
Test PASSed.

My pleasure @dongjoon-hyun


Thank you

Just a thanks for making this.
Do you mind updating the readme.md for proper usage? I had to copy your example to get it to work right.
Otherwise, excellent work - it shocks me how many people push to use ncurses when it's just an x11 or glfw implementation with a ton of overhead.

I just updated the README.md, it was outdated and incomplete. I also restructured my code a little, added a make install target, added more examples and fixed a bug(pushing the result twice in l_getch_non_blocking). They are currently on the wip branch, but I'll merge it into the master branch when I have tested my changes.
And thank you for your kind feedback - I'm just glad someone can get some use out of this :P

I have merged the updated library into the master branch. I will close this issue now.


Connect-PowerBIServiceAccount picks the wrong identity even when told the right one

So I'm using Connect-PowerBIServiceAccount to connect before querying the service for dataset data.
I have two accounts on the same tenant - jsnape and jsnape01 (the latter is an admin account that is used elsewhere in Azure).
 I select the jsnape account and it always returns:
Environment : Public
TenantId    : xxxxxxx-yyyy-zzzz-a46c-00000000
UserName<EMAIL_ADDRESS>
i.e. it always uses my 01 account.
I have tried the following with no success to get it to pick the right account:

Logged out of all browers, cleaned cache and close windows
Removed the 01 account from the AD dialog before logging in
Closed PowerShell
Logout of Windows

How can I make it use the right account?

Try running powershell with "Run as a different user", this is shift + right click on the taskbar shortcut.

@jsnape did running with a different user fix your issue or are you experiencing the problem still?
I'm adding a new way to authenticate which is providing your username and password directly into Connect-PowerBIServiceAccount, I'm interested in knowing if that will fix the issue too. You would call Connect-PowerBIServiceAccount and add -Credential (Get-Credential). Note this only works on Windows OS.
The Azure Active Directory Authentication Library (ADAL) is being used by the cmdlets, there is a way to seed the library with a username but it might get confusing if there is both -Credential and -Username as parameters to the cmdlet. I'm limited beyond that in controlling what the library returns after selecting the user. I could look into upgrading the component to a newer version as there may be a bug in the version being used.

Released https://www.powershellgallery.com/packages/MicrosoftPowerBIMgmt/1.0.342, please verify if this can unblock you

I'm sorry, I am now unable to repo the original issue so I can't guarantee the fix is really a fix. I can now pick an account with the account picker and it uses that one.
I do like the idea of passing a credential though. There is already a credential parameter but it requires ServicePrincipal to be passed as well.


Custom Visuals not displaying in PowerBi Desktop after import but displays in Power Bi Web

I have created a custom visual using Visual code and tested in App.Powerbi.com. It is working fine.
Created a package and  successfully imported to power bi desktop.
After adding fields it is not showing chart in power bi desktop.
If i publish the same to web it is showing the charts.
Can you please let me what is the issue?

I do have the same experience with my visual but also with the Microsoft sample custom visual (https://github.com/Microsoft/PowerBI-visuals) - even after the step 1 of the sample visual development.
I have the free version of Power BI Desktop. Is paid Pro version required to get the private custom visuals working in the Desktop?

Hello - what API version did you use in this case - can you share a stub of the visual so we can reproduce this?

Version 1.6.
Visual was the one from the sample case I refer to in my first post.I created the visual using the pbiviz new (pbiviz version 1.6.1).
Terveisin, Pertti
  Lähettäjä: Avi Sander<EMAIL_ADDRESS>
Vastaanottaja: Microsoft/PowerBI-visuals<EMAIL_ADDRESS>Kopio: PerttiFI<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Lähetetty: maanantai 24. huhtikuuta 2017 8.54
Aihe: Re: [Microsoft/PowerBI-visuals] Custom Visuals not displaying in PowerBi Desktop after import but displays in Power Bi Web (#166)
Hello - what API version did you use in this case - can you share a stub of the visual so we can reproduce this?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I updated the Power BI Desktop. Now my custom visual is visible also in the Desktop.

SOLVED.  Please upgrade to latest PowerBi Desktop version.


changes and cleanup to Visual Studio solution/project

I've been looking into using crossguid in Kodi and for Windows we usually compile all third party libraries as static (or dynamic if necessary) libraries and link them into our main project. For that case it's simpler if there's a Visual Studio project that only builds guid.cpp without the test logic. Therefore I have split the existing CrossGuid project into CrossGuid (which now only builds guid.cpp) and CrossGuid-Test which depends on CrossGuid, builds the test code and links against the static library created by CrossGuid.
Furthermore I've removed the reference to a non-existing Readme.txt from the project and added some additional gitignore rules.

Cool. Seems like an improvement.


Optimize 0139_fulfil_orderline_token_old_id_created_at migration

I want to merge this change because it optimizes 0139_fulfil_orderline_token_old_id_created_at and 0044_fulfill_checkout_line_new_fields migrations. Local testing (100k orders, 100k order lines):
before: 12 MIN
after: 2.3s
Similiar results for the checkout mutation (0044_fulfill_checkout_line_new_fields) which basically does the same just on a different model.
Migrations uses GEN_RANDOM_UUID postgres function on flight, it activates pgcrypto extension to make it work on postgres 11.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[x] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-7142 Optimize new checkout and order lines migrations

The migrations compatibility check is failing, is it expected?


Revert "Replace - with . when specifying nix packages"

Reverts railwayapp/nixpacks#287

Fixes #322


Easter egg commands, music in the dance floor

Added music to the dance floor, which is good to go.
The major work is adding new commands for more playful interactions. The dance command is working properly (though my attempts to put it in its own file failed, I couldn't figure out how to call the dance function without hitting a 500 error).
The get/interact function had a few more to-dos left so I'm okay with holding off on the merge until those are done, but I wanted to show the direction I've taken so that if anyone does have suggestions of a tidier way to put it into its own file, I'm all ears.

That's right - the plan is to have a basket of fortune cookies in the kitchen, and potions in the bar.
The idea is then to also in the check for interactable, if you get a match on cookie, also just check user room = kitchen, as the simple way to ensure you only interact with what's in your room. Given time a more systems driven option would be better... but for now I'm doing it Nethack style, if statements for days ^_^;;;
(It is because of that though, to my point above about separate files, I'd really love if you do know how I could move the interact logic into a function I import and call since I hate to bloat index.ts and further and this one is gonna have even more branching logic

I think I understand what you're asking re: imports! Gonna word vomit for a bit here, but if this isn't what you're asking or if you have other stuff, feel free to ping me on Discord via DM or the dev server, more than happy to chat :)
What's confusing is there are a handful of different ways you can structure imports that all require slightly different JS/TS import syntax. For what we're doing, the differences don't matter, other than just making sure that the syntax of your import matches the syntax of the thing you're importing.
https://github.com/lazerwalker/azure-mud/blob/main/server/src/look.ts is a good example of a really short function that's importable like so: https://github.com/lazerwalker/azure-mud/blob/main/server/sendChatMessage/index.ts#L5. If you export a named variable or function (like look in that file), you can import it as import { theNameOfTheExportedThing } from './pathToFile'.
If you want to be able to await a function, the function just needs to have the async keyword in its declaration (like look.ts). If you want to call await from within a function, it itself needs to be async. There's some other stuff that applies with TypeScript specifically (namely, if you declare an explicit return value from an async function in the method signature, it needs to be a Promise instead of a raw value), but I suspect you can get away with not worrying about that.

For visibility, my to-do list left on this is:

Make fortune cookie message only show up for user reading it, other people see 'cracks open a fortune cookie'
Hook up polymorph potion using Em's item pickup system
Hook up potion of cancelation using the same
Add reference to fortune cookies to kitchen, with hyperlink using Em's system
Add reference to potions in bar, with hyperlinks
Add blessed and cursed fortune cookies


Adapt coverage testing to require 100% of all new code.

I would not be opposed to explicitly ignoring coverage on wire cutting and EF modules and requiring 100% of everything else implicitly. I feel that much of wire cutting will be replaced by a qpd-based approach soon, and EF was never designed for unit testing anyway. EF is tested with a variety of molecules of different complexities and tested against their known ground state energies. We know the coverage is 85% and barring a large refactor of EF, that is likely where it will always remain.

I mentioned this somewhere -- I think in a private message to you -- but another option is to measure coverage two times in the tox workflow: one for the subset of code we expect to be at 100% coverage, and a second time for everything all together.  It's probably much more honest to use the second number as the number we report in the coverage badge in the README.


bug

hello authors. I have this error while running the following code. How to solve it?
I ran it using Docker, and then i imported the data using this code in PyCharm, and there was an error.
thank you so much..
Code:
‘
import rubrix as rb
rb.init("http://localhost:6900/", api_key="<YOUR_API_KEY>")
rb.set_workspace("rubrix")
rb.log(
rb.TextClassificationRecord(inputs="my first rubrix example"),
name='example-dataset'
)
**Error:**
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
`

Hi @ddy-ddy:
If you are running the default Docker install you can skip the  rb.init("http://localhost:6900/", api_key="<YOUR_API_KEY>") and rb.set_workspace statements.
You can do the following:
import rubrix as rb
rb.log(
    rb.TextClassificationRecord(inputs="my first rubrix example"),
    name='example-dataset'
)

After that I recommend you to take a look at the cookbook for more examples:
https://docs.rubrix.ml/

import rubrix as rb
rb.log(
    rb.TextClassificationRecord(inputs="my first rubrix example"),
    name='example-dataset'
)

I did what you said. but it still made the same mistake.

Thanks, are you installing with pip install rubrix?

Yes. My version of Python is 3.6

.

Thanks so much @ddy-ddy , we'll look into this

Ok. I look forward to your solving this problem. Have a good day.

Hi @ddy-ddy , thanks for reporting the issue.
You should use at least Python 3.7. There is a compatibility problem with pydantic and python 3.6 https://github.com/samuelcolvin/pydantic/issues/1513

Hi @ddy-ddy , thanks for reporting the issue.
You should use at least Python 3.7. There is a compatibility problem with pydantic and python 3.6 samuelcolvin/pydantic#1513

Thank you so much! I resolve my problem. I saw in your tutorial that Rubrix can used in Python3.6. Maybe you should change it or add a comment.
Finally, I want to say that Rubrix is very useful.o(￣▽￣)ｄ
https://rubrix.readthedocs.io/en/stable/getting_started/setup%26installation.html


window.getSelection not implemented

Any plans to implement this function?
https://developer.mozilla.org/en/DOM/window.getSelection

closing this issue in favor of #317


Auto resize topView + bottomView when stopped scrolling

Imitate the Instagram-like behavior

Cool, looks good.


Revert "Dev docs"

Reverts wattsight/wapi-python#28

What's going on here?

I need the time zone fixes to be in an actual release, so throw away the things that aren't ready for release.

Not the way things are scheduled by Sigve.  The docs are supposed to be fixed and released...


Issue #2157: Add Synchronize Pull Requests Button to Profile

Fixes #2157

Added a sync button to the profile page
Moved the twitter button down to its own line
Edited scss to fix up the line break of the buttons
Added scss to fix up the weird line breaking issue on languages that adding a new line of buttons created. When the list of languages broke onto a new line, because of the added row of buttons in the top right, the left padding stayed up on the previous line. It does not anymore.

Brilliant, thanks @emclaughlin1215 👏


Expose if iOS keyboard is on screen

I often want to add a condition to check if the iOS keyboard is on the screen. Would it be possible to expose that information? I see it present in GREYKeyboard.

Can't you check if the "Return" key or so was visible?

That doesn't cover custom keyboards or the number keyboard, which doesn't have a return key. It looks like GREYKeyboard is already tracking open/closed properly. Is there a reason you don't want to expose that?

Not particularly. I could expose this in EarlGrey 2.0. Just a grey_keyboardVisible() matcher.

That would be great! Thank you.


Your client does not have permission to get URL #403

Hi,
I clone stetho repo, and run stetho-sample project successfully on the Android Emulator.
But when i try to inspect  the stetho-sample project from the Chrome, i get this following error:

My Info:
Ubuntu 16.10
Linux or 4.8.0-51-generic #54-Ubuntu SMP Tue Apr 25 16:32:21 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Google Chrome Version 58.0.3029.96 (64-bit)

@omidraha Set a proxy on your Google Chrome to help you change your IP address to something other than an IR related IP address! (just for the first launch)

i have the same problem but i connected with a VPN.
nothing happened/ it still shows me 403


Added mozjpeg defaults for jpeg compression

refs TryGhost/Product#4140

added mozjpeg: true for all jpeg formats to reduce file sizes
added some basic integration tests as the existing unit tests don't actually verify any file creation/compression

Codecov Report
Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (e746792) 83.06% compared to head (841f681) 83.01%.

Files
Patch %
Lines

packages/image-transform/lib/transform.js
0.00%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #484      +/-   ##
==========================================
- Coverage   83.06%   83.01%   -0.05%
==========================================
  Files          71       71
  Lines        4683     4687       +4
  Branches      599      599
==========================================
+ Hits         3890     3891       +1
- Misses        786      789       +3
  Partials        7        7

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

Good call, thanks. I was looking for something like that earlier and didn't find it. We always pass in format from ghost when calling resizeFromBuffer, but we don't pass the extension from resizeFromFilepath and it would be nice to catch those.


Serializer doesn't consider srid value when saving the object

Hi,
from a script I'm sending some data which is in srid=27700 format, for example:
{"type": "Point", "coordinates": [376969.0, 387893.0]}

Before I send the data I make sure to pass the srid information in the JSON payload, like this:
"point": {
                "type": "Point",
                "coordinates": [float(row[2]), float(row[3])],
                "crs": {"type": "name", "properties": {"name": "EPSG:27700"}}
            },

but when the API receives the data and the serializer parses it, the srid is completely ignored:
ipdb> serializer.validated_data['point'].geojson
'{"type": "Point", "coordinates": [376969.0, 387893.0]}'

Am I doing something in the wrong way? Please note that when I was manually creating the point from a local import script, I was able to specify the srid in this way:
bus_stop.point = Point(float(row[2]), float(row[3]), srid=27700)

and PostgreSQL was saving the point in srid=4326 format (which is the one I want). The points can come in different formats from the source data, that's why it's important the client can specify the srid that is sending, so it can be converted in the proper way.
In case this is not a bug but instad is the expected behaviour, what's the supposed way to specify an srid when saving a point/polygon/geometry?
Thanks

Hi everyone,
Unless I'm doing something wrong, the srid is also missing when GeoFeatureModelSerializer process the data as a response to a GET method call. In other words, I cannot see the following information as part of the geojson created by this framework:
crs: {
type: "name",
properties: {
name: "EPSG:XXXX",
}
}
Could you please let me know if this fix is part of the development roadmap for django-rest-framework-gis?
Thanks

Similarly, my GET requests all return with the coordinates in the SRID from their original shape file. Rewriting the field like so:
`     # a field which contains a geometry value and can be used as geo_field
other_mpoly = GeometrySerializerMethodField()
def get_other_mpoly(self, obj):
    return obj.mpoly.transform(4326)

class Meta:
    model = SavannahBorder
    geo_field = 'other_mpoly'
    fields = ('objectid', 'beat', 'neighbor', 'group', 'area_id', 'global_id', 'shapestare', 'shapestlen', 'other_mpoly', 'mpoly')

`
gets me this
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":null,"properties":{"objectid":205,"beat":"1-1","neighbor":"Chatham Parkway","group":"PCT1","area_id":"1X","global_id":"{86B83425-F346-4D5F-AC30-531346BA9513}","shapestare":52113568.7390137,"shapestlen":50767.4867743162,"mpoly":{"type":"MultiPolygon","coordinates":[[[[-81.1453470243278,32.07328047865747],[-81.15004190060324,32.06623197583081],
Notice the empty "geometry" -- but the transform did change the "mpoly" property to the correct lat longs.
Attempts to get "geometry" to populate correctly have not worked, what am I missing?

This feature is not supported, there's a pull request that deals with srid, but the author did not provide an explanation, nor documentation nor test for it, if you want to help to improve it the PR is here: https://github.com/djangonauts/django-rest-framework-gis/pull/113

Hi @nicholasbulka, did you solve it?

Hi!
in my case...
models.py
class MyModel(models.Model)
    geom = models.PointField(srid=32767, unique=True)
    extra = JSONField(verbose_name='JSON', null=True, blank=True, db_index=True, default=dict)

serializer.py
class MySerializer(GeoFeatureModelSerializer):
    class Meta:
        model = MyModel
        geo_field  = "geom"
        fields = ('id', 'geom', 'extra')

    def to_representation(self, instance):
        ret = super(MySerializer, self).to_representation(instance)
        ret['geometry'].update({'crs': {"type": "name", "properties": {"name": "EPSG:32767"}}})
        return ret

and result is
{
    "id": 0,
    "type": "Feature",
    "geometry": {
        "type": "Point",
        "coordinates": [
            1000,
            -1000
        ],
        "crs": {
            "type": "name",
            "properties": {
                "name": "EPSG:32767"
            }
        }
    },
    "properties": {
        "extra": {}
    }
}

Seems the latest GeoJSON specification removed the possibility of specifying a CRS: https://tools.ietf.org/html/rfc7946#section-4

Coordinate Reference System

The coordinate reference system for all GeoJSON coordinates is a
geographic coordinate reference system, using the World Geodetic
System 1984 (WGS 84) [WGS84] datum, with longitude and latitude units
of decimal degrees.  This is equivalent to the coordinate reference
system identified by the Open Geospatial Consortium (OGC) URN
urn:ogc:def:crs:OGC::CRS84.  An OPTIONAL third-position element SHALL
be the height in meters above or below the WGS 84 reference
ellipsoid.  In the absence of elevation values, applications
sensitive to height or depth SHOULD interpret positions as being at
local ground or sea level.
Note: the use of alternative coordinate reference systems was
specified in [GJ2008], but it has been removed from this version of
the specification because the use of different coordinate reference
systems -- especially in the manner specified in [GJ2008] -- has
proven to have interoperability issues.  In general, GeoJSON
processing software is not expected to have access to coordinate
reference system databases or to have network access to coordinate
reference system transformation parameters.  However, where all
involved parties have a prior arrangement, alternative coordinate
reference systems can be used without risk of data being
misinterpreted.

For that reason, I'm closing this issue, let me know if anyone thinks I got anything wrong and we'll reopen it.


Add Indexing Support for Lucene Byte Sized Vector

Description
This PR contains changes which adds indexing support to lucene byte sized vector and corresponding tests to validate it. It helps users to index vectors as byte sized vectors(which theoretically saves 75% of memory when compared to float vectors) by setting the optional data_type field as byte while creating the index. As we are not adding support for Quantization Techniques, users are expected to index vectors that are in the byte range [-128 to 127] without any decimal values. Also, right now this feature is only supported for lucene engine.
Issues Resolved
https://github.com/opensearch-project/k-NN/issues/812
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The test failures are not related to this. The CI is failing on Windows when it is trying to refresh the env after setting mingw path. Created an issue to track it.

A high level comment,
with byte size vector and Float type, the doc value serialization and de-serilization should be different. I am not seeing that code in this PR. Can you please add will it be present in follow-up PRs?

A high level comment, with byte size vector and Float type, the doc value serialization and de-serilization should be different. I am not seeing that code in this PR. Can you please add will it be present in follow-up PRs?

This is where the serialization process is done for docValues.

At the first glance I think we need BWC for this, say today index has fields and data with float32 then we need to make sure we still can read that data

Sure, will raise a separate PR for BWC Tests and any other missing tests


iOS - Error building app (module 'RecaptchaInterop' not found)

Describe the bug
building an app for iOS fails when it depends on SDK version 18.6.0. The screenshot below displays the error that occurs during the build and the xcode logs are attached.
reCAPTCHA Site Key
N/A
SDK Version (e.g. 18.0.1):
18.6.0
To Reproduce
Steps to reproduce the behavior:

Clone the example repo: https://github.com/allan-wright/expo-recaptcha-issue-repo.
Build the app for iOS.

Expected behavior
The build should succeed.
Screenshots

Xcode version for iOS (please complete the following information):

Xcode 15.4

Device (please complete the following information):
N/A
Additional context
I am building the app using EAS-CLI (https://github.com/expo/eas-cli). I have tested using both EAS's managed build service and a 'local' eas build on a hosted macos agent via Azure DevOps pipelines. I do not have physical access to a mac that can have Xcode 15.4 installed on it.
The above mentioned build process has been working fine with SDK version 18.2.2.
xcode-build.log

Thanks for the report @allan-wright, the Interop module is this one https://github.com/google/interop-ios-for-google-sdks/blob/new-recaptcha-interop/RecaptchaInterop.podspec and our podspec do make this a mandatory dependency as we can see here that the Interop is a dependency https://github.com/CocoaPods/Specs/blob/master/Specs/4/0/b/RecaptchaEnterprise/18.6.0/RecaptchaEnterprise.podspec.json. Can you check in your derived data if you have the RecaptchaInterop folder along with the RecaptchaEnterprise please?

Thank you for your reply @walterjgsp. It is a little difficult for me to be absolutely sure as I am relying on hosted builds, so I cannot directly inspect the build output on disk. However, I have searched the xcode logs and it does appear that both directories are being created and having files copied into them.
I will see if I can archive the build output and publish it as a build artifact so that I can provide more useful information to you.


Creating the API endpoint to manage the contact us form

@ankur0904
@yashpreet2707 @Vikash-8090-Yadav
please let me know if the issue is still open
i will be glad to take this issue on
Thank You : )


mat: add symmetric band types

@btracey Please take a look.

Have a look at chapter 2 of the blas book, it describes row major storage, and so does the band documentation in the blas/gonum package, which states that the bands are stored in row major.

What is the "blas book"?
I understand that this PR matches our current layout. I'm just really dreading trying to translate Lapack functions when the layouts are so different, and wondering if there's any way to save that pain. I remember the banded BLAS functions being more difficult to translate for this reason, and I can only imagine it'll get worse from there.
If the storage has to be like this, then I guess we'll deal with it.

httphttp://www.netlib.org/blas/blast-forum/://www.netlib.org/blas/http://www.netlib.org/blas/blast-forum/blasthttp://www.netlib.org/blas/blast-forum/-http://www.netlib.org/blas/blast-forum/forumhttp://www.netlib.org/blas/blast-forum//http://www.netlib.org/blas/blast-forum/

So I guess we're eating the cost later then.

That horse has well and truly bolted.

Yea, okay, I guess it has to be like this. Not going to be fun though.

Sure, I think I should revise introduction of the fortran package, and add the band a packed formats. That was the reason I wrote it.

Well, there exists another way, which is represent it in the column-major version, and then hack the netlib implementation. This is what I was originally thinking we could do.
This way does not work though, there's a good reason why the storage is the way it is. Worked partially through Dpbtf2, and now I understand why this is the correct way.

We need the band representations to agree, at the moment they do, if they don't we are opening our selves up to a world of pain on gonum-dev and issues here.

I agree. I was previously suggesting we could change the other representation. This way is better.


Simplifiy tokenization pipeline, make it work with large numbers of shards again, (re)add configuration metadata to cache

I think you need to change the toml for deepdiff

Seems to work for me!


Reaction application does not fire for players

Mismatch in logic -- hook for detection is on preCreateChatMessage (client side), but the status application must be done from the GM's account.
Either use createChatMessage, or allow players to mark their own reaction states by removing is first gm requirement.

Mismatch in logic -- hook for detection is on preCreateChatMessage (client side), but the status application must be done from the GM's account.
Either use createChatMessage, or allow players to mark their own reaction states by removing is first gm requirement.

Fixed early in 1.8.7

Fixed early in 1.8.7


Peer Review Project Milestone 1

Kudos to you guys! The major issue was fixed very soon and I was able to understand the installation directions really easily. Rest of the improvements are all minor.
Issues linked here:
#18 #17  #12  #15

Checked Issue #18 . It is fixed!

Hi Aravind,
Please review if all the issues are fixed.

Everything looks alright now! Great job!


Actions.currentScene in Tabs with tabBarComponent will get wrong scene name

Version
Tell us which versions you are using:

react-native-router-flux 4.0.6
react 16.8.6
react-native 0.60.4

Expected behaviour
Actions.currentScene should be get correct scene name.
Actual behaviour
But it get _SceneName not SceneName
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.
Reproducible Demo

App.js

            <Router>
                <Tabs key="tab" tabBarComponent={Footer}>
                    <Scene key="Home" component={Home} initial={true} />
                    <Scene key="Profile" component={Profile} />
                </Tabs>
            </Router>

Home.js & Profile.js

            <View>
                <Text>Home</Text>
            </View>

            <View>
                <Text>Profile</Text>
            </View>

Footer.js

            <View>
                <Button
                    title='Home'
                    color={Actions.currentScene === 'Home' ? '#000' : '#ccc'}
                    onPress={() => Actions.jump('Home')}>
                </Button>
                <Button
                    title='Profile'
                    color={Actions.currentScene === 'Profile' ? '#000' : '#ccc'}
                    onPress={() => Actions.jump('Profile')}>
                </Button>
            </View>

Same here

Dup https://github.com/aksonov/react-native-router-flux/issues/2802


Cluster Scaling Threshold Fails To Increment Resulting In No Scaling Operations Being Permitted

Description
In #73, a cluster scaling threshold was added that requires Replicator consecutively detect the need to perform scaling operations the specified number of times.
The checkScalingThreshold increments the counter in the state tracking information but never persists this information to Consul. During the next tick of the runner, Replicator looks for distributed state tracking information in Consul and if it finds it, refreshes its internal state tracking object with this information.
Because the incremented counter is never persisted to the distributed state tracking information, the count gets reset during each tick and simply increments from 0 to 1.
Steps to reproduce the issue:

Run Replicator version v0.0.2-alpha2 with debug logging enabled.
Produce a situation where Replicator needs to initiate a scaling operation, in our test case the operation was a scale in operation.
Observe the threshold counter always report a count of 1, never reaching the desired threshold despite the scaling metric and direction staying the same.

Describe the results you expected:
Replicator should observe the scaling metric and direction have indicated a scaling operation is required and stayed the same for the requisite number of intervals and initiate a scaling operation.
Describe the results you received:
The threshold counter resets after each tick of the runner and as a result, the threshold is never reached and scaling operations are never initiated.
Additional information you deem important (e.g. issue happens only occasionally):
Replicator version:
Replicator v0.0.2-alpha2

Additional environment details:
Replicator was running as a Docker container within a Nomad job.
Debug log outputs from replicator:
[DEBUG] client/consul: attempting to load state tracking information from Consul at location replicator/config/state
[DEBUG] client/consul: successfully loaded state tracking information from Consul, data was last updated: 2017-06-19 15:12:20.406358592 +0000 UTC
[DEBUG] core/leader: currently running as Replicator leader
[DEBUG] core/failsafe: the failsafe check passes, scaling evaluations and operations will be permitted.
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: Cluster Node Count (Min: 1, Max: 3, Fault Tolerance: 1, Current: 3)
[DEBUG] client/nomad: Cluster Scaling (Metric: Memory, Direction: In, Capacity: 1476, Utilization: 120, Max Allowed: 924)
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: max allowed cluster utilization after simulated node removal: 432 (percent utilized: 27.77777777777778)
[DEBUG] client/nomad: cluster scaling operation (scale-in) passes the safety check and will be permitted
[INFO] core/runner: no previous scaling operations have occurred, scaling operations will be permitted.
[DEBUG] core/cluster_scaling: scale in requests 1 has not been reached threshold 3

[DEBUG] client/consul: the Consul session 59fb8c86-d64d-919e-d44f-9f259a495c91 has been renewed
[DEBUG] client/consul: the Consul session 59fb8c86-d64d-919e-d44f-9f259a495c91 has been renewed
[DEBUG] client/consul: attempting to load state tracking information from Consul at location replicator/config/state
[DEBUG] client/consul: successfully loaded state tracking information from Consul, data was last updated: 2017-06-19 15:12:20.406358592 +0000 UTC
[DEBUG] core/leader: currently running as Replicator leader
[DEBUG] core/failsafe: the failsafe check passes, scaling evaluations and operations will be permitted.
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: Cluster Node Count (Min: 1, Max: 3, Fault Tolerance: 1, Current: 3)
[DEBUG] client/nomad: Cluster Scaling (Metric: Memory, Direction: In, Capacity: 1476, Utilization: 120, Max Allowed: 924)
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: max allowed cluster utilization after simulated node removal: 432 (percent utilized: 27.77777777777778)
[DEBUG] client/nomad: cluster scaling operation (scale-in) passes the safety check and will be permitted
[INFO] core/runner: no previous scaling operations have occurred, scaling operations will be permitted.
[DEBUG] core/cluster_scaling: scale in requests 1 has not been reached threshold 3

[DEBUG] client/consul: the Consul session 59fb8c86-d64d-919e-d44f-9f259a495c91 has been renewed
[DEBUG] client/consul: the Consul session 59fb8c86-d64d-919e-d44f-9f259a495c91 has been renewed
[DEBUG] client/consul: attempting to load state tracking information from Consul at location replicator/config/state
[DEBUG] client/consul: successfully loaded state tracking information from Consul, data was last updated: 2017-06-19 15:12:20.406358592 +0000 UTC
[DEBUG] core/leader: currently running as Replicator leader
[DEBUG] core/failsafe: the failsafe check passes, scaling evaluations and operations will be permitted.
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: Cluster Node Count (Min: 1, Max: 3, Fault Tolerance: 1, Current: 3)
[DEBUG] client/nomad: Cluster Scaling (Metric: Memory, Direction: In, Capacity: 1476, Utilization: 120, Max Allowed: 924)
[DEBUG] client/nomad: Cluster Capacity (CPU [MHz]: 7200, Memory [MB]: 1476)
[DEBUG] client/nomad: Cluster Utilization (Scaling Metric: Memory, CPU [MHz]: 500, Memory [MB]: 120)
[DEBUG] client/nomad: Scaling Metric (Algorithm): Memory, Average Node Capacity: 492, Job Scaling Overhead: 60
[DEBUG] client/nomad: max allowed cluster utilization after simulated node removal: 432 (percent utilized: 27.77777777777778)
[DEBUG] client/nomad: cluster scaling operation (scale-in) passes the safety check and will be permitted
[INFO] core/runner: no previous scaling operations have occurred, scaling operations will be permitted.
[DEBUG] core/cluster_scaling: scale in requests 1 has not been reached threshold 3

The simple fix is to persist the state tracking update to Consul after incrementing the threshold counter.
It might be useful to provide a helper method that wraps the update of state tracking fields with an automatic write to Consul so a separate action isn't required.


csvjoin should throw more explicit errors when column names don't match because of whitespace

I was trying to perform a csvjoin, and I was getting the following output:
Column identifier "xxx" is neither an integer, nor a existing column's name.
The thing was, that the field name contained a blank space before the name. Perhaps it could be helpful to trim all the blank spaces at the beginning and at the end of the column name.
What do you think? If you agree and give me some hints, I can do it :)
Thanks

Hi Facundo! Thanks for the suggestion. My rule of thumb for csvkit is that it should never modify the data except under very explicit circumstances (conversion, for example). I don't want it doing magic manipulation like this, because then if I implement it as part of a data pipeline it might change my data in ways I don't foresee. I know it may seem like a small thing, but I think it's best that csvkit not manipulate the data just in case, in some outside case that whitespace is significant to the original data.
That being said, I can definently see an argument for a more explicit error message, and I've updated the ticket name accordingly. Thanks again for opening the issue!

Makes sense. :+1:
Thanks

I understand the argument against "magic manipulation".  On the other hand, given a CSV file where  column names have a leading space, I'm stuck on how to extract them.
$ csvcut -n data.csv
1: sec
2:  usec
3:  RTI Frame Count
It's probably not apparent here, but there is a one space indentation for colums 2 and 3: the first line is "sec, usec, RTI Frame Count".  So this obviously fails:
$ csvcut -c usec data.csv | csvstat
Column identifier "usec" is neither an integer, nor a existing column's name.
So I try quoting:
$ csvcut -c " usec" data.csv | csvstat
Column identifier "usec" is neither an integer, nor a existing column's name.
Hmmm: somewhere in the command parsing, the leading space is stripped out.  This is cygwin and I tried a few more variations ' usec', "\ usec", and again without quotes (\ usec).  No joy.
I can use the column number, of course.  But is there any way to use the column name?  Ultimately, I want this to work with Windows command shell, which has different rules for argument parsing...
On the other hand, even if there is a way to specify a command-line argument with a leading space, it is a bit of a nuisance.  So my request would be the same as the original request on this ticket: a way to strip leading and trailing space from a column name.  I understand if you don't want to automagically do so; a command argument to enable this stripping is fine with me.

The strip call originates from 93a3f178.

I don't see what bug the stripping could potentially have solved. If people are declaring columns like -c "foo,      bar", then they are doing it wrong...


wip - Use ingress ep svc 2

test only

Codecov Report

Merging #5 (3034d76) into master (a750a8b) will decrease coverage by 0.34%.
The diff coverage is 46.15%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   87.97%   87.63%   -0.35%
==========================================
  Files         185      185
  Lines        8717     8707      -10
==========================================
- Hits         7669     7630      -39
- Misses        796      820      +24
- Partials      252      257       +5

Impacted Files
Coverage Δ

pkg/reconciler/route/route.go
74.47% <ø> (-1.05%)
:arrow_down:

pkg/reconciler/route/resources/service.go
63.88% <18.18%> (-23.76%)
:arrow_down:

pkg/reconciler/route/reconcile_resources.go
66.43% <49.01%> (-14.15%)
:arrow_down:

pkg/reconciler/route/controller.go
100.00% <100.00%> (ø)

pkg/reconciler/configuration/configuration.go
88.28% <0.00%> (+2.34%)
:arrow_up:

Continue to review full report at Codecov.

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


Rework extension and profile checkboxes

Users are finding the extension and profile checkbox in the current UI to be confusing.

The behavior of the profile checkboxes changes on different pages:

On listing pages (Categories, Classes, Objects) it filters down to items that refer to the profile
On detail pages (Object and Class pages) it adds the attributes defined by the profile

Checking a profile on one page, for example Categories, then to another, for example Objects, can unexpected lead to the second page being empty.
The filtering dropdown on the Dictionary, object, and class detail pages are conceptually the same, though with a different UX -- perhaps unnecessarily different UX.
The left gutter where these checkboxes are placed disappears when the browser window is too narrow, and it missing on mobile (specifically on the iPhone). Worse, when the gutter is missing, the functionality is unavailable.

Related issue: https://github.com/ocsf/ocsf-server/issues/44.
Solution(s) TBD.
cc: @pagbabian-splunk

A better solution would be to have a profiles dropdown with multi-select, as we have with the Class and Object details pages (.e.g that dropdown is mixed use, with line separators).
I would not add more to the mix but have a separate Profiles list box in each place:
For Categories, to the left of the Search box, when selected it filters the classes as today.
For Classes and Object listings, to the left of the Search box, it filters classes and objects that support the profile
For Class and Object detail pages, to the left of the Items Selected box, it adds the attributes defined by the profile


Auth()->User() Returning Wrong User?

Laravel Version: 9.21.5
PHP Version: 8.1.7
Database Driver & Version: MYSQL / 5.7.37

Description:
A user just tried to delete their account (they are logged in using their own username / password) but instead of deleting their account, it deleted my admin account (I was currently logged in on my own computer, in a completely different company). I believe this is a bug related to auth()->user() as another user tried to like a post but it liked it as me (the admin), even though I was never logged into their account. auth()->user() is seemingly returning the wrong user?
Steps To Reproduce:

In UserController, create a deleteAccount function:

public function deleteAccount()
  {

 $user = auth()->user();
 $user->delete();
 return redirect('/');
}

Using a form to send a post request and the user deleted should be the currently signed-in user on their own computer, and not you, the admin.

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


could not add click event to webview element

Hey, thanks for your interest 😄
I'm not sure what you're trying to do here?
If you're trying to do something inside the WebView, it might not work, because I have some other gesture recognizers working in other places.

Hey @cjwirth I also ran with same issue. I am a web developer and I helped my fellow developer to enhance the rich text editor. I updated function of inserting image little bit.
When user picks the image, I add a cross button on top left of image. When user taps on cross button the image will be removed, but the tap event is not working. You said there are some other gesture recognizers working in other places.  Can you elaborate more on this, so I can disable the gesture and make the tap event working?
Thanks!

I have the same problem. I have a element inside webview and I added click event on it but it doesn't work
Thanks


[json-rpc] generic endpoints for retrieving all resources

in JSON format (or any other format serde can produce from an account.
This PR adds a new endpoint for displaying account contents in a human-readable fashion. The endpoint leverages the existing MoveResourceViewer to automatically discover the structure of each resource using the on-chain modules and render the resource. An example probably explains best:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"get_resources","params":["0000000000000000000000000a550c18"],"id":1}' http://<IP_ADDRESS>:8080 | jq .

<snip>
  "0x1::Event::EventHandleGenerator": {
      "counter": 18,
      "addr": "0000000000000000000000000a550c18"
    },
    "0x1::Roles::RoleId": {
      "role_id": 0
    },
    "0x1::SlidingNonce::SlidingNonce": {
      "min_nonce": 0,
      "nonce_mask": 0
    },
    "0x1::XDX::Reserve": {
      "mint_cap": {
        "dummy_field": false
      },
      "burn_cap": {
        "dummy_field": false
      },
      "preburn_cap": {
        "to_burn": {
          "value": 0
        }
      }
    }

Thanks to @bmwill for helping me untangle some nasty trait-related issues to get this code compiling.

This PR may have modified JSON-RPC server code.
Breaking changes policy:

Changing JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
Adding fields is ok.
Adding a new JSON-RPC method is ok.

Please ensure you have also done the following to update the docs:

Update json-rpc/API-CHANGELOG.md.
 Think this should be good to go now.

release binaries dependency change summary:
target packages:
  A resource-viewer 0.1.0 (workspace, path 'language/tools/resource-viewer')
    * features: [none]

/land


Account for different handling of historical dates by ICU and Posix

The Gregorian calendar was introduced in much of Europe in October
1582, with 4th October followed by the 15th October.
ICU interprets historical dates based on this transition by default,
but Posix and timelib do not.

Thanks a lot.


edk2 build fails

edk2 build fails.
Here is the error log
------
 > [5/7] RUN git clone --recursive https://github.com/tianocore/edk2.git edk2  && (cd edk2 && git checkout 38c8be123aced4cc8ad5c7e0da9121a181b94251)  && make -C edk2/BaseTools/Source/C:
#8 114.2 /usr/bin/ld: /home/vscode/edk2/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:53: undefined reference to `kBrotliLog2Table'
#8 114.2 /usr/bin/ld: /home/vscode/edk2/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:53: undefined reference to `kBrotliLog2Table'
#8 114.2 /usr/bin/ld: brotli/c/enc/metablock.o:/home/vscode/edk2/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:53: more undefined references to `kBrotliLog2Table' follow
#8 114.2 /usr/bin/ld: ../bin/BrotliCompress: hidden symbol `kBrotliCopyExtra' isn't defined
#8 114.2 /usr/bin/ld: final link failed: bad value
#8 114.2 collect2: error: ld returned 1 exit status
#8 114.2 make[1]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1
#8 114.2 make[1]: Leaving directory '/home/vscode/edk2/BaseTools/Source/C/BrotliCompress'
#8 114.2 make: Leaving directory '/home/vscode/edk2/BaseTools/Source/C'
#8 114.2 make: *** [GNUmakefile:76: BrotliCompress] Error 2
------
error: failed to solve: executor failed running [/bin/sh -c git clone --recursive https://github.com/tianocore/edk2.git edk2  && (cd edk2 && git checkout 38c8be123aced4cc8ad5c7e0da9121a181b94251)  && make -C edk2/BaseTools/Source/C]: exit code: 2
Error: Process completed with exit code 1.

Thanks, I’ m looking into this.

This is fixed in #12. Thank you for reporting!

Thank you for dealing with it quickly!


The value of $value will not change when recovery occurs.

Hi
I have a confusion about the variable {{$value}} in the promethues alert rule.
When a monitoring item is restored, I always get the correct value. The value of the {{$value}} variable represents the alarm at firing time.
Environment

System information:
Linux 3.10.0-514.el7.x86_64 x86_64

Prometheus version:
prometheus, version 2.2.1 (branch: HEAD, revision:
bc6058c81272a8d938c05e75607371284236aadc)
build user:       root@149e5b3f0829
build date:       20180314-14:15:45
go version:       go1.10

Alertmanager version:
alertmanager, version 0.11.0 (branch: HEAD, revision: 30dd0426c08b6479d9a26259ea5efd63bc1ee273)
build user:       root@3e103e3fc918
build date:       20171116-17:43:56
go version:       go1.9.2

Prometheus configuration file:

Prometheus rules config
- alert: App_Close_Wait_GT_500
    expr: appstatus_appclosewait > 500
    for: 1m
    labels:
      alert_type: app
      monitor: appstatus_appclosewait
      serverity: critical
      current_value: '{{ $value }}'
    annotations:
      description: '{{$labels.instance }} of group {{ $labels.group }}'
      recovery: 'Recovery! Host {{ $labels.instance }} current value: {{ $value }} Project Name is {{ $labels.name }} CloseWait less than 500'
      summary: 'Host {{ $labels.host }} Project Name is {{ $labels.name }} CloseWait current value is: {{ $value }} more than 500'

The warning message I received is as follows.

At this point, {{$value}} is normal.
However, when recovery, the value of {{$value}} is not updated,
The recovery email is as follows

Can you tell me how to get the correct value in the alarm?
Thanks!

Resolved alerts don't have a value, because that doesn't make sense.
It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Fixed order status label issue

Issue Reference
Fixed order status label issue

@shivendra-webkul
checked and found that the translation has been added and also order status label color issue fixed.
Screenshots
https://scrsht.com/bec9c9cc
https://scrsht.com/1aca85a7
https://scrsht.com/c6a067ca


Anchor links to ontology docs should work in HTML

When I navigate to (for example): https://w3id.org/stax/ontology#flatQuadStream
I should be taken straight to the definition of stax:flatQuadStream. Currently, this is not the case, as the anchors for entities from the ontology are assigned by rdfs:label, and not IRI... yet another wise choice in pyLODE.
Anyway, I think this can be easily fixed by hacking pyLODE's output.
And while we are at it, we should also remove the pyLODE logo from the favicon, as that's just confusing:

After this and #56 are done, make release 1.1.2.

It works now, closing.


Converted samples and tests to run on netcoreapp2.0

Looks like @pranavkm beat me to it. He already converted it.


60 filter image by datetime

update startdate and enddate component to enable filter images by both date and time.
PR fixes #60
Notes:
couldn't do a very detailed test on filtering by exact time because all exifTampStamp in my dev is 0 and changes to db will lose after docker restart

@naknomum can you test this? I also have no timestamp info

@naknomum can you test this? I also have no timestamp info

yes, will test this branch with some date-stamped images today.

@TanyaStere42 now scout on QA has datetime data to test this pr, I tested and it was good, if you want to have a look you can test with 2024-12-03 15:23 and 2024-12-03 15:25, different image counts will be returned


@typescript-eslint/eslint-plugin needs updating

Current Behavior
To prevent the installation of duplicate packages in node_modules we are using PNPM with --strict-peer-dependencies. The issue is that tsdx v0.9.2 depends on "eslint": "^6.1.0" as well as "@typescript-eslint/eslint-plugin": "^1.13.0".
The issue here is that "@typescript-eslint/eslint-plugin": "^1.13.0" has a peer dependency on  "eslint": "^5.0.0"
  "peerDependencies": {
    "@typescript-eslint/parser": "^1.9.0",
    "eslint": "^5.0.0"
  }

causing the following error:
ERROR  tsdx<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but version 6.4.0 was installed.

Suggested solution(s)
Upgrade the version of @typescript-eslint/eslint-plugin to 2.3.1 or latest
Your environment

Software
Version(s)

TSDX
0.9.2

TypeScript
3.6.2

Browser
N/A

npm/Yarn
PNPM

Operating System
Windows 10

PR welcome

PR #218 created. I've added the pnpm-lock.yaml file so you can test with PNPM if you like.

hmm. is the pnpm lockfile necessary for you to operate? because we aren't likely to maintain that file

merged https://github.com/jaredpalmer/tsdx/pull/218


Consider making SDK NoopSpanProcessor/NoopSpanExporter private

Similar situation as NoopTextMapPropagator. Maybe technical reasons to expose them as well? i.e. it's not really bad if they are public, just (probably) not needed.

We use duck typing rather than inheritance for span processors. The NoopSpanProcessor is what we point at as the primary documentation for this part of the SDK's API. It is explicitly not intended to be subclassed.
I think it might be cleaner to rename this to SpanProcessor and leave it exposed. It may also be more appropriate to make it a module rather than a Singleton class.
NoopSpanExporter is similarly used to document the SpanExporter duck type. It is not actually used by the SDK, other than in tests. Here, the code is intended as a template for writing new span exporters (specifically the lifecycle of the exporter). I'm not sure what's cleanest here - possibly again just renaming it to SpanExporter but keeping it as a class and documenting that it is not intended to be subclassed.


404 Not found for all my amplify apps

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting questions.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
dibhy1xsriigv
AWS Region
eu-west-3
Amplify Hosting feature
Access logs
Question
Hello, I get 404 Not found while trying to get to my application which worked fine yesterday, I tried to redeploy it several times and to make redirect from 404 to ./index.html the app runs fine locally but I encounter this issue on aws amplify could you please help me understand what is the problem?
Thanks in advance.

Hi @tigrandivanyan 👋 , thanks for raising this!
After reviewing the configuration of your Amplify app dibhy1xsriigv, it seems that you are performing manual deployments. When using manual deployments you will need to ensure the following:

When creating the zip folder, you will need to ensure that you zip the contents of your build output and not the top level folder. For example, if your build output generates a folder named build or public, first navigate into that folder, select all of the contents, and zip it from there.
If you are storing the zip file in Amazon S3, you will need to ensure that the S3 bucket has ACLs enabled on them.

Can you verify that you followed these steps?


added ability to use quotes in include tag

if you have filenames with spaces or wish to use additional django-specific include flags, like "with foo=bar", you need to be able to surround the filename with double or single quotes.
This commit simply strips quotes from any path passed to the include or extends tags.

On the other hand, Jade itself does not require (or understand) quotes in the include or extends tags, so maybe I jumped the gun here. I kinda thought one could take this a step further to allow tags like djangos:
{% include "foo" with bar=baz" %}...
But that essentially makes it invalid jade... what do you think, should we break jade a bit?

We can already use the actual django tag with the hyphen templatetag
- include "foo" with bar=baz

so it seems to me that keeping compatibility with Jade as much as possible would be nice for the actual include tag. Using templatetags for compiler-specific stuff also avoids having to try too much polyfilling across compiler backends (jinja's include takes different optional args than django's, etc.)
This is all just my opinion, though :)


Not call gRPC Finish if Write fail.

Jenkins job mixerclient/presubmit passed

Jenkins job proxy/mixerclient-pr passed

Jenkins job mixerclient/presubmit passed

Jenkins job proxy/mixerclient-pr passed


d3 ambient version too old

after
typings install d3 --ambient
then d3-2.10.d.ts is installed,
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/836bc2fc7bb3567a621d1d1ba9c5bb827c9978b8/d3/d3-2.10.d.ts
and it's won't compile because it's using bool instead of boolean.
Any work around?
How does it decide to install this version?
I tried the npm version, which is using version 3, however, I have c3 depends on d3, and c3 won't able to find d3 if it's not ambient, since it has reference to ../d3/d3.d.ts

Why do you want to use the ambient version?  That versions is from DefinitelyTyped.

Please look at the typings install help. You can install directly from github: or http:. It decides to install that version because DefinitelyTyped versioning is missing. If the version was on the .d.ts files, it would be indexed correctly. There's a few issues like this, but it won't be fixed unless someone has a good solution on the API side - the easiest way is to correct DefinitelyTyped. Also, we do have a d3 definition too, but I'm guessing that won't work before of what ever you're using with the reference.


Bug: Single quotes are inserted as '

When clicking on "Header" in the function gallery, this happens:

I believe this issue is within the gallery "Functions"
https://github.com/kolibril13/plywood-gallery-functions/blob/main/gallery_assets/gallery_parameters.json#L73-L78

Actually, this is on purpose, as can be seen here:
https://github.com/kolibril13/plywood-gallery/blob/ab4aaf9253778aac78e7f77aff5adaf27acd297b/plywood_gallery/plywood_tools.py#L93
When I would put the single quote instead of ' the JavaScript for the website would not work here:
https://github.com/kolibril13/plywood-gallery/blob/ab4aaf9253778aac78e7f77aff5adaf27acd297b/plywood_gallery/jinja2_template/template_index.html#L40

Is there any specific reason you are using .innerHTML over .innerText?

No, there is no specific reason.
What advantage would innerText have?

No, there is no specific reason. What advantage would innerText have?

Like the name suggests, it inserts text as text and not as html. This should also be prefered because of cross site scripting and such.

For example, these will do different things
// Will insert as text (=> you will see
Hello World
)
document.body.innerText = "
Hello world!
"

// Will insert as html (=> you will see 'Hello World' as a paragraph element)
document.body.innerHTML = "
Hello world!
"

Ah nice!
Then I need document.body.innerText, I will change that!

This should be fixed now. Can you close this issue?

Yep, thanks.
Ricky.


Add overloaded_service_name and common_tags parameters to datadog plugin

Summary
These two parameters are optional and do not change the current behavior by default.
overloaded_service_name allows to force the string used in place of the service name when building  the metrics name. This is useful when several kong services actually implement the same "conceptual" service, for instance when several upstreams provide the same API. For cases like this, datadog encourages the usage of a common metric with tags to filter the subsets when required.
common_tags allows to specify a collection of tags at service level that will be used by all metrics. The common tags are added to the metrics-level tags. This is actually a sugar parameter to avoid redefining all the default metrics just to apply the same tag to all of them. This helps keep the configuration logic simple and the configuration files (when using DB-less mode) more readable.
Example of use in DB-less mode
- name: myVHost1-loginService
  plugins:
  - config:
      common_tags:
      - vhost:v1
      overloaded_service_name: loginService
    name: datadog
  routes:
  - hosts:
    - myvhost1.mydomain.com
    methods:
    - POST
    paths:
    - /login
    protocols:
    - https
  url: http://localhost:8080/login
- name: myVHost2-loginService
  plugins:
  - config:
      common_tags:
      - vhost:v2
      overloaded_service_name: loginService
    name: datadog
  routes:
  - hosts:
    - myvhost2.mydomain.com
    methods:
    - POST
    paths:
    - /login
    protocols:
    - https
  url: http://localhost:8081/login

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: locao:x: Nathan Richard:x: h3xar0nNathan Richard seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Rock and Roll Cartridge, Tank 2

While I can't find the EXACT product, my googlefu is failing me, the other tank appears to be something like this:
https://www.kiilto.com/product/f-60-ciro/#compositions
However the formulation doesn't match exactly, it has citric acid in it as well.
Dosage would be 35ml in a currently unknown amount of water.
The packaging details:
35ml/1 dose.
UFI: CM57-N0DW-W00G-D6CR
Composition: Methanesulfonic Acid

Here are the exact specifications, you can use this website to get the formulation number:
https://www.decoder-ufi.com/ufi.aspx
The two formulations are:

Tank 1: P7D7-M0JG-G00K-AG7Q, Formulation 2670
Tank 2: CM57-N0DW-W00G-D6CR, Formulation 2593
Both are from SAS SODEL, www.sodel-sa.eu

When looking at the safety documents on the website, it appears that they use this specific format:
1.1. Product identifier
Product name : DPC 600
Product code : FS CLP2593.

So, looking for "FS CLP2670 filetype:pdf" gives us this safety document.
Copy here: 2621-4273-LIQUIDE VAISSELLE LLV200-.pdf
So, the Bob Cassette Rock'N'Roll has:

Tank 1: Sodel/Exeol LLV200
Tank 2: Sodel/Exeol DPC600

And just because I can (sorry for the off topic part)
Pop Cassette:

Tank 1: Sodel/Exeol LLV300, (Copy), 9AD7-407V-T002-0TTS, bleach based
Tank 2: Not certain, however there is this specific document in the safety sheets of Daan Tech, which refers to an off the shelf Finish All in One gel product, which is enzyme based.

Coincidentally, I was watching Technological Connections, which explains that Enzymes and Bleach do not mix in gels, which is probably why the cassettes are using detergent twice, and not something like dedicated rinse-aid.

Thanks! I'll add those information to the main articles.

Great work! Really appreciated.
Are the detergent specified by @miyoyo the final conclusion on what to refill each tank of the two cassettes?
That's amazing.

@miyoyo  Thanks for the quick reply.
I just got mine yesterday. I'm inclined for refills over tabs because I used to have tabs for my full size dishwasher, so I guess it's somewhat of an overkill with this small one.
How is your experience with tabs?

You need to use different quantities depending on how hard your water is, I use a full tab myself


create notebooks collection tree view panel

with options to:

star loaded notebooks
follow notebook authors
view notebook author collections
bookmark notebook cells
...

welcome to the js notebook inspector tree view :) ...

TODO: add ⭐ 📓 /👨📚 + ⎇ / ⌗ &  🔖


build cppnanomsg on win10-64,gcc has a problem

try to build cppnanomsg in win10-64 + codeblocks + cmake/win + mingw-gcc
from: https://nuwen.net/mingw.html
nanomsg itself built well.
cmake/win success, but when i try to build cppnanomsg i get: compiler problem:
#include <nanomsg/nn.h>
the file is in: C:\nanomsg-1.1.4\src
||=== Build: all in cppnanomsg (compiler: GNU GCC Compiler) ===|
C:\cppnanomsg-master\nn.hpp|26|fatal error: nanomsg/nn.h: No such file or directory|
[CMakeFiles\binding.dir\build.make|62|CMakeFiles/binding.dir/binding.cpp.obj] Error 1|
[CMakeFiles\Makefile2|72|CMakeFiles/binding.dir/all] Error 2|
[C:\cppnanomsg-master\build\Makefile|140|all] Error 2|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

I get the same error too.
Has anyone solved this problem?
2>e:\git_me\cppnanomsg\nn.hpp(26): fatal error C1083: Cannot open include file: 'nanomsg/nn.h': No such file or directory


User defined function type check

Must check if the user-defined function is a valid lambda function.

solved


Parameterize SSH ingress rule

Why
I found it easier to connect to (and debug) the EC2 instances from the AWS console Session Manager.

How
I'd like to not have an open SSH port in that case. Maybe we could add a flag "EC2_SSH_ENABLED" to determine if the port should be open or not.

Hi krajla,
Sorry for the late reply.
Honestly I'm not sure how many security benefit it will bring by disabling SSH. But it surely will be more safer I believe (also, please let me know if there's any article/research that suggesting to disable SSH for security reason)
The only concern I'm having about this is currently our auto shut down script will also check for SSH connections in case someone is configuring the server.
So if we aren't connect it with SSH, and there's no player online, the instance will shutdown while doing player online count check. And this will add some complexity for adding this feature.
Let me know what you think though!

There are legitimate reasons to reduce the number of open ports/services: less overhead for patching and upgrading; less opportunities to miss-configure; less vectors of attack for zero-days, etc.
That being said security lives in balance with usability, and I agree the auto shut down script is a good enough reason to let this open. It's part of the stack and depends on this service so my case for making it optional is less founded.
I'll close this thank.