refuse to work if bash version is < 4.2

By using -n -v we have hidden requirement for bash 4.2
I think it's better to have it in place.
And yes, the check will work incorrect on 4.05, it's not existing version as far as I know, but however.
Any suggestions are welcome.

https://github.com/transcode-open/apt-cyg/issues/71

Oh YES
Thanks for your time :D

@Lucas-C you are now blocked, gg

asdfasfd

I am now locking this because @Lucas-C is a douche


chore(docs-app): add code directive to prevent unwanted compilation

@wardbell this should solve the problem with demonic interpolated code blocks.

Looks promising. Will try tomorrow.  Any reluctance to merge it on your part?

Nope


set-output Deprecation Warning

The action gives a warning:
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This has been fixed in v2.0.1.
Related to https://github.com/wearerequired/slack-messaging-action/pull/162.


eks cluster not working

i just installed headlamp from flatpak store
i created a locak k0s cluster and it's working ok
however, when i configure my eks cluster it fails to access it

cluster was added with aws eks update-kubeconfig
Any guidance is welcome.

Hey @sombriks I think this might be an issue with the kubeconfig. Not found for cluster is generally when the server that headlamp is trying to access is inaccessible. Are you able to access the eks cluster via kubectl command line?

Hello @knrt10 !
Yes i was, kubectl for this works.
my better guess is the fact i was trying to use headlamp from flatpak; i did the in-cluster installation and everything worked as expected.
i don't have that environment available right now but i will try non-flatpak desktop version and see if it works.

@sombriks , if your kubeconfig's user needs to run an external command for the authentication, that's something headlamp doesn support. See #1582.

@sombriks , if your kubeconfig's user needs to run an external command for the authentication, that's something headlamp doesn support. See #1582.

Yes, that was exactly my scenario!
Thankfully in-cluster headlamp is working like a charm!


webpack plugin documentation lacks configuration info

I was looking how to configure caching of a CDN resource with the webpack plugin
First looked at webpack get started but no clues how do it
Than looked at CDN How To but the info seems to be for an outdated library version
After digging a bit i found the plugin reference which hints that the options is the same passed to workbox-build
Finally in workbox-build reference i found the runtimeCaching option, so i could simple do:
new WorkboxPlugin({
      globDirectory: DIST_DIR,
      globPatterns: ['**/*.{html,js,css}'],
      swDest: path.join(DIST_DIR, 'sw.js'),
      runtimeCaching: [{
        urlPattern: /^https:\/\/fonts.googleapis.com/,
        handler: 'cacheFirst'
      }]
    })

I hope this report helps improving the docs for new users.

I'd like to second this.  There appears to be very little documentation on the API for the workbox webpack plugin.  Is there a page somewhere in the docs that provides details of the API?  I've been so far going off this blog post:
https://zhirzh.github.io/2017/06/25/switching-to-workbox/
And also reading the source here:
https://github.com/GoogleChrome/workbox/blob/master/packages/workbox-build/src/index.js
Is there an API page on the workbox docs somewhere?  An http://api.jquery.com/ for workbox is kind of what I'm after...

Apologies for the amount of digging that's necessary.
@kaycebasques has just revamped the "Getting started with webpack" tutorial in this PR: https://github.com/google/WebFundamentals/pull/5238#issuecomment-340856323
It's not yet deployed, but I'd imagine that will go live on developers.google.com sometime today. It includes information on caching third-party URLs at runtime. (You can see a staged version of it at https://pr-5238-dot-web-central.appspot.com/web/tools/workbox/get-started/webpack)
That material is geared towards the v2 codebase, but our focus lately has been on a revamped webpack plugin as part of the Workbox v3 release. As part of that new interface, we'll release a new set of core documentation for various configuration options to supplement the "Getting started" guides.
I'm closing this issue given the new "Getting started" material for v2, and the fact that upcoming v3 webpack plugin documentation is already being tracked.

https://developers.google.com/web/tools/workbox/get-started/webpack has now been updated.

That's awesome - thanks so much and I'll look out for it!


feat: reference hide actions prop [DANTE-488]

Add a prop hideActions to MultipleEntryReferenceEditor to be able to hide the actions menu completely.
This is to fix a bug when a user without editing permissions could still open the actions menu in the web app.

Hey @YvesRijckaert, can we avoid adding this complexity? Looking at the code it seems like the menu item shouldn't be rendered if onRemove is not passed to the editor, would that acheive the same result as this new flag?

@denkristoffer I made the changes that we discussed. Removed the general hasActions prop and exposed these two props instead: hasRemoveActions and hasMoveActions


Fixed typo, added contributor

Fixed typo in the code example. (I think it was a typo.)
Added defunctzombie as a contributor. (It says he's a contributor on github.)

typo sure, contributor, I don't care all that much :)

lgtm.


CI Pipeline

Enforces:

Style
Tests

Actions:

Style Check
Run Tests
Upload to PyPI

Was released in latest version


Open database from bytes on memory.

I'm in a situation where my database file is already in memory. I would like to read directly from those bytes when creating my connection and not deal with the file system writing the content into a file to read it later from the connection. Ideally, I would expect something like the following to exist:
Connection::open_in_memory_from_bytes(data: &[u8])

Is it something possible? If it is, how can I archive that?
Thanks so much!

See #1341

Great! Thanks.
I close this issue then


set dataset-format-select to native type

Automatically set the format field to match the native format for the selected dataset in the "Save or download data" form.

LGTM


No way to assign value to GfHalf (FTV-655)

As far as I can tell there is no way to assign a value to a GfHalf variable.

Sorry this didn't make it into the 18.09.0 release! I want to do this right, but also wanted to get a release out for USD 18.09 before SIGGRAPH.

Similar issue to #195 - hoping to (finally) get this fixed along with the next big USD update (20.08)


1.19.2 support?

Hi, is it possible to update this mod to support versions higher than 1.19? I am trying to use it on a 1.19.2 server, but it complains that the required version is 1.19.
Thank you!

Updated to 1.19.2


ROX-11053: Enable sac for multikey resources

Description
Enable SAC for multikey resources.
Testing Performed
CI

Current dependencies on/for this PR:

tj/add_search_tag_for_pk

PR #1917   👈

This comment was auto-generated by Graphite.

We could remove the extra PKs if we mark the needed columns searchable so that it shows up as top-level. I remember seeing a PR that marked those cols as searchable. If that PR has been closed, let me know, and I can TAL.

@md2119 it's this PR :)
So we need to decide which way we should go FK or search tags as we can't have both

@md2119 it's this PR :) So we need to decide which way we should go FK or search tags as we can't have both

Decision:
Keep multiple pks and not add search tags to those.
Background:
Upon further investigation, I realized that adding search tags on the graph paths breaks current searching in dackbox.


Fix wrong since version

@beikov Please check.

6.5 is correct, see https://github.com/hibernate/hibernate-orm/blob/6.5/hibernate-core/src/main/java/org/hibernate/type/SqlTypes.java#L657


Deployment failed: failing invoking action 'provision', error deploying infrastructure

Facing the following issue while deployment:

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'documentintelligence' is not valid according to the validation procedure. The tracking id is 'bbe1e9e4-bf7b-4e56-9ddd-c858f1ab9e3a'. See inner errors for details.
FlagMustBeSetForRestore: An existing resource with ID '/subscriptions/2b2693f8-51ff-4951-a594-2a739ed684ab/resourceGroups/rg-aipediatrician/providers/Microsoft.CognitiveServices/accounts/cog-di-syuqxbl6qxqnc' has been soft-deleted. To restore the resource, you must specify 'restore' to be 'true' in the property. If you don't want to restore existing resource, please purge it first.
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '03f975b5-67e5-4da9-ab59-7056ad74431f'. See inner errors for details.
InsufficientQuota: Insufficient quota. Cannot create/update/move resource 'cog-syuqxbl6qxqnc'.
DeploymentActive: Unable to edit or replace deployment 'appserviceplan': previous deployment from '3/3/2024 7:01:23 AM' is still active (expiration time is '3/10/2024 6:43:58 AM'). Please see https://aka.ms/arm-deploy-resources for usage details.
TraceID: 9e66d850324a1cf4659bc80cc0075607
ERROR: error executing step command 'provision': deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'documentintelligence' is not valid according to the validation procedure. The tracking id is 'bbe1e9e4-bf7b-4e56-9ddd-c858f1ab9e3a'. See inner errors for details.
FlagMustBeSetForRestore: An existing resource with ID '/subscriptions/2b2693f8-51ff-4951-a594-2a739ed684ab/resourceGroups/rg-aipediatrician/providers/Microsoft.CognitiveServices/accounts/cog-di-syuqxbl6qxqnc' has been soft-deleted. To restore the resource, you must specify 'restore' to be 'true' in the property. If you don't want to restore existing resource, please purge it first.
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '03f975b5-67e5-4da9-ab59-7056ad74431f'. See inner errors for details.
InsufficientQuota: Insufficient quota. Cannot create/update/move resource 'cog-syuqxbl6qxqnc'.
DeploymentActive: Unable to edit or replace deployment 'appserviceplan': previous deployment from '3/3/2024 7:01:23 AM' is still active (expiration time is '3/10/2024 6:43:58 AM'). Please see https://aka.ms/arm-deploy-resources for usage details.

This issue is for a: (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

step to reproduce
azd up

OS and Version
Linux - Ubuntu 22.04
azd version

1.6.1

Looks like you need to purge your document intelligence before running "azd up". This will delete/purge your last document intelligence. Log into portal as per screenshot and purge the service.

Facing the following Error
ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'd67c7410-62c1-4982-9ed7-3c70c3dacddf'. See inner errors for details.
InsufficientQuota: Insufficient quota. Cannot create/update/move resource 'cog-v3zxsfhx557qe'.
TraceID: 42a95a93280b6dda92bdcd33295ceee6
ERROR: error executing step command 'provision': deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'd67c7410-62c1-4982-9ed7-3c70c3dacddf'. See inner errors for details.
InsufficientQuota: Insufficient quota. Cannot create/update/move resource 'cog-v3zxsfhx557qe'.
TraceID: 42a95a93280b6dda92bdcd33295ceee6

Your error indicates you do not have enough quota to provision the service. This could be due to a few things but usually happens when you run the deploy script multiple times in a day and/or share an OpenAI subscription with other processes. You can check your quota for your subscription in Azure AI Studio.


[Help Wanted] Having an issue setting up Raylib and C++

The title is pretty self explanatory, but I'm trying to use clay_renderer_raylib.c with C++, and whenever I compile, I get a bunch of errors which read
Error	C4576	a parenthesized type followed by an initializer list is a non-standard explicit type conversion syntax
They're all pointing to different lines in clay_render_raylib.c. I'm not sure if I need to define or flag something to stop this from being an issue, but I can't figure it out. I have my project configured to ISO C++ 20, and ISO C17 for C++ and C respectively.
If you need more info, let me know.

I'm reasonably certain I know what the issue is here. Designated initializer syntax is slightly different between C99 and C++20. In the clay.h file we use the CLAY__INIT macro to solve this:
// C99 Style
(Rectangle) { .width = 5, .height = 5 };
// C++20 Style
Rectangle { .width = 5, .height = 5 };
// CLAY__INIT compatibility layer
CLAY__INIT(Rectangle) { .width = 5, .height = 5 };

You can see that there are a number of C99 style designated inits in the raylib renderer that aren't wrapped in CLAY__INIT. It's just a matter of getting those fixed up 🙂


ZCX_ABAPGIT_EXCEPTION source code position

Usually, when an exception is raised, method CX_ROOT->GET_SOURCE_POSITION() returns the source code of the calling program. When using methods ZCX_ABAPGIT_EXCEPTION=>RAISE(_T100), the source code position within ZCX_ABAPGIT_EXCEPTION is returned and not where the method call happens.
I'll prepare a PR for this issue...

Related: #1998

#1998 is merged. @mfsap What do you think, can we close this?

yes, this issue can be closed now. thanks


Failure to build .NET 8 preview 4 from source

Describe the Bug
I tried building .NET 8 preview 4 from source by cloning the dotnet/dotnet repository and checking out the tag v8.0.0-preview.4.23259.5.
The first time, I tried building using the command: VERBOSE=1 ./build.sh --clean-while-building --with-sdk ./previously-built-dotnet -- /v:n /p:SkipPortableRuntimeBuild=true /p:LogVerbosity=n /p:MinimalConsoleLogOutput=false /p:ContinueOnPrebuiltBaselineError=true
Which resulted in:
...
                  Build FAILED.

                         "/home/ubuntu/dn8/dotnet8-preview4/artifacts/source-built-sdks/Microsoft.DotNet.Arcade.Sdk/tools/Build.proj" (default target) (1) ->
                         "/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf" (Restore target) (8) ->
                         (Restore target) ->
                           /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 7.0.2) [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 5 version(s) in previously-source-built [ Nearest version: 8.0.0-preview.3.23174.8 ] [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 5 version(s) in reference-packages [ Nearest version: 7.0.0 ] [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 0 version(s) in source-built [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                           /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 7.0.2) [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 4 version(s) in previously-source-built [ Nearest version: 8.0.0-preview.3.23177.8 ] [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 3 version(s) in reference-packages [ Nearest version: 7.0.0 ] [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 0 version(s) in source-built [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]
                         /home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/src/Shared/Microsoft.AspNetCore.Razor.Utilities.Shared/Microsoft.AspNetCore.Razor.Utilities.Shared.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/home/ubuntu/dn8/dotnet8-preview4/src/razor/artifacts/source-build/self/src/Razor.Slim.slnf]

                      0 Warning(s)
                      2 Error(s)
...

Full log file: https://drive.google.com/file/d/1CpGIlq1bDBVHr1onCCrpKCDPasZn3RBW/view?usp=sharing
Then, on a clean clone of the same repo and tag, I tried adding the --online flag to the same command as above, which resulted in a failed build a bit later in the process:
...
         Build FAILED.

         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.ubuntu.23.10-x64 with version (= 7.0.2) [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 1 version(s) in source-built [ Nearest version: 8.0.0-preview.4.23259.5 ] [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 8.0.0-preview.3.23174.8 ] [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 0 version(s) in reference-packages [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 0 version(s) in dotnet-eng [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 0 version(s) in dotnet-public [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Found 0 version(s) in myget-legacy@Local [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Versions from nuget-build were not considered [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.Build.Tasks.Console/NuGet.Build.Tasks.Console.csproj : error NU1102:   - Versions from vside were not considered [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.ubuntu.23.10-x64 with version (= 7.0.2) [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 1 version(s) in source-built [ Nearest version: 8.0.0-preview.4.23259.5 ] [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 1 version(s) in previously-source-built [ Nearest version: 8.0.0-preview.3.23174.8 ] [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 0 version(s) in prebuilt [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 0 version(s) in reference-packages [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 0 version(s) in dotnet-eng [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 0 version(s) in dotnet-public [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Found 0 version(s) in myget-legacy@Local [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Versions from nuget-build were not considered [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
         /home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj : error NU1102:   - Versions from vside were not considered [/home/ubuntu/dn8/dotnet8-preview4-online/src/nuget-client/build/restorehelper.targets]
             0 Warning(s)
             2 Error(s)
...

Full log file: https://drive.google.com/file/d/1XPrtvpec-eI8uj8oJ3J2V6Qjj_BS7Pzi/view?usp=sharing
Steps to Reproduce

Launch a clean Ubuntu 23.10 LXD container with lxc launch ubuntu:23.10
Install the .NET build prerequisites for Linux as documented
Add this PPA to the apt sources
Run sudo apt update && sudo apt upgrade
Run sudo apt install dotnet-sdk-8.0 dotnet-sdk-8.0-source-built-artifacts
git clone https://github.com/dotnet/dotnet && cd dotnet
git checkout v8.0.0-preview.4.23259.5
Run ln -s /usr/lib/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.8.0.100.ubuntu.23.10-x64.tar.gz ./prereqs/packages/archive/ from the repo root
Run cp -RLp /usr/lib/dotnet/ ./previously-built-dotnet from the repo root
Run either of the ./build.sh commands described above

Other Information

The dotnet-sdk-8.0-source-built-artifacts includes the pre-built binaries from the bootstrap package, which are placed under /usr/lib/dotnet/source-built-artifacts/Private.SourceBuilt.Artifacts.8.0.100.ubuntu.23.10-x64.tar.gz

cc @MichaelSimons

There are a few packages (such as Microsoft.NETCore.App.Ref) that are not part of previously-source-built (aka Private.SourceBuilt.Artifacts), but are still currently needed to build .NET 8. In an online source build, they are placed at Private.SourceBuilt.Prebuilts*-x64.tar.gz
$  tar tf ./prereqs/packages/archive/Private.SourceBuilt.Prebuilts.0.1.0-8.0.100-25.centos.8-x64.tar.gz
Microsoft.CodeCoverage.IO.17.7.1-beta.23213.1.nupkg
Microsoft.NETCore.App.Host.centos.8-x<IP_ADDRESS>.nupkg
Microsoft.NETCore.App.Host.centos.8-x<IP_ADDRESS>.nupkg
Microsoft.NETCore.App.Host.fedora.36-x<IP_ADDRESS>.nupkg
Microsoft.NETCore.App.Host.fedora.36-x<IP_ADDRESS>.nupkg
microsoft.aspnetcore.app.ref.7.0.2.nupkg
microsoft.aspnetcore.app.ref.7.0.5.nupkg
microsoft.internal.testplatform.remote.17.6.33617.297.nupkg
microsoft.netcore.app.host.linux-arm<IP_ADDRESS>.nupkg
microsoft.netcore.app.host.linux-arm<IP_ADDRESS>.nupkg
microsoft.netcore.app.host.linux-x<IP_ADDRESS>.nupkg
microsoft.netcore.app.host.linux-x<IP_ADDRESS>.nupkg
microsoft.netcore.app.ref.7.0.2.nupkg
microsoft.netcore.app.ref.7.0.5.nupkg

In your reproducer steps, you don't run ./prep.sh and don't link the prebuilts package to ./prereqs/packages/archive/, so that archive is missing and the build fails.
I don't yet understand the failure with --online, though.

Can you try the --online steps on any older Ubuntu version? The 23.10 RID is not present in https://github.com/dotnet/dotnet/blob/release/8.0.1xx-preview4/src/runtime/src/libraries/Microsoft.NETCore.Platforms/src/runtime.json which makes me wonder if it's just NuGet having trouble trying to figure out that Microsoft.NETCore.App.Host.ubuntu.23.10-x64 can be substituted by Microsoft.NETCore.App.Host.linux-x64?

To reiterate @omajid's comments and add a little...
To build offline you will need a set of prebuilts (we are working on removing these) which can be mostly be obtained via running prep.sh --no-sdk --no-artifacts.  The exception is the rid specific apphost package which is what you are seeing in your online build.  This is a 7.0 rid specific prebuilt that MSFT cannot provide for all RIDs.  Since Ubuntu source-builds 7.0, you can retrieve it from your own 7.0 artifacts.


Build platform specific thread code when threads are configured

Current crypto/thread/build.info builds platform specific thread code only when thread-pool or quic are enabled, which doesn't seem correct. We should be building it whenever threads are enabled, regargless of the status of thread-pool or quic.  Fix that up
Fixes #25337

CI is relevant

I think we really need to decide now if its worth a large refactor here to pull this code into the threads_[pthread|win|none] code as @t8m suggests

closing this in favor of https://github.com/openssl/openssl/pull/25378


Crash in Code Insiders MacOS on launch

Latest downloaded insiders build crashes immediately.

VSCode Version: 1.29.0-insider
OS Version: MacOs Mojave 10.14 (18A391)

Steps to Reproduce:

Install vscode 1.29.0-insider
Attempt to open

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

❯ ci --disable-extensions --verbose
[55091:1105/144446.881663:WARNING:dns_config_service_posix.cc(156)] dns_config has unhandled options!
[main 2:44:47 PM] Sending env to running instance...
[main 2:44:47 PM] Sent env to running instance. Terminating...
[main 2:44:47 PM] Lifecycle#kill()

@zackkrida pls have a look at #60041.

/needsMoreInfo

@kieferrm #60041 took care of it—thank you.


Better version detection of Payara Server

Currently Jolokia will detect Payara Server's version, but will still supply the product name as glassfish and the vendor name as Oracle. My proposed change separates the patterns out so that Payara Server is detected better.
The detector will check first for Glassfish and then for Payara Server.

@rhuss looks good to me

Thanks !


callback was not declared in this scope

Hi,
i copy paste your code and change the mqtt and ssid and password info. however when i try to compile with the latest arduino ide i get the following error althoug it is on the code:
mqtt:25: error: 'callback' was not declared in this scope
 PubSubClient client(MQTT_SERVER, 1883, callback, wifiClient);
                                        ^
exit status 1
'callback' was not declared in this scope

You need to add the "callback function header" before the line that first calls it. I copied the header along with surrounding code for you to see. This information is in the example code for the pubsubclient library.
char* lightTopic = "/test/light1";
// Callback function header
void callback(char* topic, byte* payload, unsigned int length);
WiFiClient wifiClient;
PubSubClient client(MQTT_SERVER, 1883, callback, wifiClient);
void setup() {

Thanks..
that worked

Estou com esse problema na ide callback not declaret script ,,
Oque devo fazer


Fix typo in docs (extension name is incorrect)

THanks @sherpc. Do you mind fillng out http://druid.io/community/cla.html?

👍

ping @sherpc

Moving milestone as author has not responded

Fixed by https://github.com/druid-io/druid/pull/3430


Support query parameters in routes

I would be willing to take a look at this.

Go ahead!

will make a pr

@lukechu10 can i rewrite the url segment (parsing, matching) code to work more like proc_macros (tokenstreams, syn/parsing, quote/in this case matching) instead of doing weird string splitting that is hard to get right and has many edge cases

@lukechu10 can i rewrite the url segment (parsing, matching) code to work more like proc_macros (tokenstreams, syn/parsing, quote/in this case matching) instead of doing weird string splitting that is hard to get right and has many edge cases

Are you talking about for supporting query parameters? To be honest, I haven’t even really thought about how I would want the API to look. However, I don’t think putting this into the process-macro would be a good idea since in that case you should be using dynamic route paths/segments anyways.
I was thinking of something more along the lines of SolidJS useSearchParams: https://docs.solidjs.com/solid-router/reference/primitives/use-search-params
what do you think?

i was starting to work on an implementation that would handle this:
#[to("/existing/<param>?query=val&match=<capture>&every=<all..>#<frag>")]

but simply getting the query and frag from a function in a component would also be fine i guess, it might not be very ssr friendly but once there are first-party server integrations it should be fine


Pass API validate pointer to handlers via context

Currently there is a global variable var validate *validator.Validate in the API. This should be created locally in main and then passed to the handlers via context. References:

https://go.dev/blog/context
https://github.com/julienschmidt/httprouter/issues/198

After some research I've decided to not treat this as a bug. The documentation on validator.New states:

Validate is designed to be thread-safe and used as a singleton instance.

It doesn't seem appropriate to use a context for this. There's also this helpful answer which states:

It is acceptable to have global variables and specially database objects.

Thinking about that for #45 was what led me down this path.


[firebase_admob] using firebase_admob crashes the app on iOS/Android

I have uploaded my test app to help reproduce the error:
https://www.vdex.com/test17.zip
To Reproduce
The app should run on IOS as is, but if you go and turn on any of these packages in pubspec.yaml, the app will crash.
cloud_firestore: ^0.13.5
firebase_storage: ^3.1.5
firebase_core: ^0.4.4+3
firebase_admob: ^0.9.3
Expected behavior
I didn't experience this in 1.12.13. The problems seem to be around FireStore issues.
Flutter doctor
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.4 19E287, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.45.0)
[!] Connected device
Paste output here
If I turn on one of the bad packages here is the output:
Configuring the default Firebase app...
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23e39f0e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50ad79b2 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23e39d4c +[NSException raise:format:] + 188
	3   Runner                              0x000000010869e452 +[FIRApp configure] + 130
	4   Runner                              0x0000000108bf08b9 -[FLTCloudFirestorePlugin init] + 217
	5   Runner                              0x0000000108bf06c6 +[FLTCloudFirestorePlugin registerWithRegistrar:] + 262
	6   Runner                              0x0000000108699736 +[GeneratedPluginRegistrant registerWithRegistry:] + 118
	7   Runner                        <…>
This is taking longer than expected...

Issue is reproducible but no issue firebase_admob
Can you please confirm same for you by removing firebase_admob?
  firebase_core: ^0.4.4+3
  cloud_firestore: ^0.13.5
  firebase_storage: ^3.1.5
  firebase_admob: ^0.9.3+2

Launching lib/main.dart on iPhone 11 in debug mode...
Running pod install...                                             16.3s
Xcode build done.                                           189.3s
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23e39f0e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50ad79b2 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23e39ad9 -[NSException raise] + 9
	3   Runner                              0x000000010495127b GADApplicationVerifyPublisherInitializedAnalyticsCorrectly + 414
	4   Runner                              0x00000001048ff8e2 GADEnvironmentIsSupported + 766
	5   libdispatch.dylib                   0x00007fff51911951 _dispatch_call_block_and_rele<…>
This is taking longer than expected...

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.4 19E287, locale en-GB)
    • Flutter version 1.17.0 at /Users/tahatesser/Code/flutter_stable
    • Framework revision e6b34c2b5c (6 days ago), 2020-05-02 11:39:18 -0700
    • Engine revision 540786dd51
    • Dart version 2.8.1

[✓] Android toolchain - develop for Android devices (Android SDK version
    29.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.45.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.10.1

[✓] Connected device (1 available)
    • iPhone 11 • B00B6F4E-B1CE-44F3-B81E-3EC6D639B008 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)

• No issues found!

Related #1282 #2458

Same thing here, It works fine even when I run flutter run --release but when I deploy to Google Store the app crashes.

 I assume you will contact the plugin author and tell them of the issue. I'm sure this problem will surface again in the future.

@jerryhamby it was flutter_ijkplayer I have opened an issue in the repo, but it seems that the plugin is no longer supported. I just used another plugin. Try to look every plugin that uses platform specific calls remove one by one build the app (flutter build apk --release) test it on device to see. for my case the app ran normally on device when I use flutter run but when I build and deploy it crashes

@yiss I only use Visual Studio Code to launch (simulator and real device). I'm not a fan of the terminal.  I have no clue what "flutter_ijkplayer" might be, It's not listed in pubspec.yaml. I have an upcoming presentation very soon and I'm hoping to get this issue solved. Thanks for your help.

@jerryhamby try to remove the folders ios and android and type flutter create . this will recreate any missing file. also check if you have
	<key>GADApplicationIdentifier</key>
	<string>ca-app-pub-################~##########</string>
</dict>``
in the Info.plist for iOS and

```
in your AndroidManifest.xml

It seems to be in the info.plist twice:
GADApplicationIdentifier
[com.vdex.vdex]
GADApplicationIdentifier
ca-app-pub-4831684350653461~4390046584
In Android:
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true"
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-4831684350653461~4390046584"
FYI: I'm trying to get IOS going first before turning to Android, but any help you can give on that side is welcomed.

Also FYI: these iOS and Android settings are for my original project (vdex), not for the test app that you are working with. I haven't made any changes to the test app at all. Do I need to?

@yiss I've been testing a little more and I'm experiencing something interesting:
I have 2 apps,  vdex( my original app) and test17 (the app you guys downloaded)
1- vdex (for whatever reason) seems to be working with the FireStore packages.
2- test17 is not working with these packages
3- vdex was created a while back with a much older version of Flutter  (packages are working)
4- test17 was create with 1.17 (packages are not working)
I'm noticing that on opening up older Flutter apps with the newer 1.17, I'm see the following:
Upgrading project pbxproj
Legacy build system detected
Could this have anything to do with the issues we are seeing?

@jerryhamby thanks for the bug report. Would you mind signing the CLA on https://cla.developers.google.com/clas, so we can take a look at the attachment?

@blasten  I think I signed it, it did say I had already signed one earlier.
Anything wrong let me know.

On Android, the problem seems to be that you need to follow the steps on https://googlemobileadssdk.page.link/admob-android-update-manifest:
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * The Google Mobile Ads SDK was initialized incorrectly. AdMob publishers    *
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * should follow the instructions here:                                       *
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * https://googlemobileadssdk.page.link/admob-android-update-manifest         *
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * to add a valid App ID inside the AndroidManifest.                          *
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * Google Ad Manager publishers should follow instructions here:              *
05-12 13:50:36.360 13736 13736 E AndroidRuntime: * https://googlemobileadssdk.page.link/ad-manager-android-update-manifest.   *

Similarly, on iOS, you need a valid GoogleService-Info.plist:
*** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'

Let me know if addressing these two issues fixes the problem.
As a side note, I agree that the errors you are seeing are hard to trace back to original problem. - We will follow up on that.

@jmagman Do you know if we are skipping logs?
In Xcode, I see:
2020-05-12 14:07:51.211015-0700 Runner[10949:1781122] *** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23c9b27e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff516b6b20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23c9b0bc +[NSException raise:format:] + 188
	3   Runner

When I run flutter run:
Xcode build done.                                           29.0s
Configuring the default Firebase app...
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23c9b27e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff516b6b20 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff23c9b0bc +[NSException raise:format:] + 188
	3   Runner                              0x000000010b42c71b +[FIRApp configure] + 555
	4   Runner                              0x000000010b60fc02 -[FLTFirebaseAdMobPlugin init] + 258
	5   Runner                              0x000000010b60f956 +[FLTFirebaseAdMobPlugin registerWithRegistrar:] + 70
	6   Runner                              0x000000010b428b80 +[GeneratedPluginRegistrant registerWithRegistry:] + 112
	7   Runner                           <…>

I wonder if it's possible to print the error messages as Xcode does.

@jmagman Do you know if we are skipping logs?

Yes. https://github.com/flutter/flutter/issues/22536

Please follow the documentation https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_admob


Smack user in a face with release notes after update

Description of the new feature/enhancement
Smack user in a face with release notes dialog/view/whatever you feel like appropriate after each update. It should be rather opt in feature as I can imagine not everybody wishes to see those.
It should solve (to some extent) situations like #5458 where breaking changes had limited visibility until user got hit with fallout. And those which run on Windows Store version (like I do) and don't hold their hand on the pulse of latest upcoming changes (just like me) were pretty surprised by it.

Proposed technical implementation details (optional)
In perfect world I would love to see it 1-to-1 like VS Code does. Love how they did release notes and call me pervert but I read them from cover to cover every single time. You simply get smacked with new tab with clear and well organized release notes in every time you get updated. I imagine that built in dedicated view like in VS Code may be not quite feasible in reasonable time/budget but opening browser window pointing to release notes will do the job too.

Yeah, we definitely need a better on-upgrade story. I think it'd be really cool if we popped it up in an actual terminal tab. Like, using the terminal renderer and stuff.

@Rosefield:

It would be cool if when the terminal upgrades it showed you the changes in the new version(s). This would help with feature discovery since many users would not know/think to look at the blog posts or github release notes.
With #11308 there will be some precedence for showing non-terminal content in the terminal, and that infrastructure could potentially be used to show a modal/textbox with the release notes.
With the ApplicationState it can also store the last used version, so that a diff between old ~ new could be showed.


Docker command in Medium article has an error?

Hi. This section in your article:

appears to have a typo? Here is what I get when I run it.
$ docker run - rm -it breph/ha-google-home_get-token
docker: invalid reference format.
See 'docker run --help'.
$

I am a docker newbie, so I'm not sure what you are suggesting here...

Hey, you are right, the command should be:
docker run --rm -it breph/ha-google-home_get-token

Great!  I don't think that a docker script is really needed to just run a python program, but if it helps some people, that's great.
Unfortunately, I wasn't able to get the token script to work. It's not clear to me why. Perhaps Google changed something.

You must run the docker to get a master token and use it in the Python script.
I don't think they changed something as I'm using it now..
If you share more details about your error, I would help you with that (:

All the docker container does is run a different python script!
The error I was getting was that the authorization was invalid. I tried it with an account protected by two-factor, with an application password on that account, and with another account that is not protected by two factor.  However, I was able to steal the OAuth token out of a browser, so I am now able to access the JPEGs. It would be nice to get this properly working with OAuth, however, which is well within my skillset if you would find that useful.
I've been playing with https://nest-rtsp.jak.guru/ and haven't been able to get it to work — I keep getting a different kind of error. However, if I just download JPEGs, I can make my own rstp stream with ffmpeg.  Alternatively, I can build a video archiving system entirely based on JPEGs, although I won't get good full-motion video for events.  Looking at your code, it's not clear how you get full-motion video other than just downloading JPEGs and stringing them together.


Pension module not showing up in the API codes

It's listed in the TOC, but the pensions.rst file wasn't committed in PR #946.

Resolved in PR #963


[nginx] Ingress statuses not being updated

Hi all,
We are using the NGINX Ingress Controller image gcr.io/google_containers/nginx-ingress-controller:0.9.0-beta.3 on two clusters.
On one cluster, the status of the ingresses with class of nginx are not updated unless all controller instances are killed and restarted.
After exactly 60 seconds after the new leader is started, the statuses of the ingresses are updated:
I0406 17:40:21.227222       6 status.go:271] updating Ingress sfdemo-ingress-config-ssl-use-front-wildcard/webtest status to [{xx.yy.zz.xx }]

$ kubectl --namespace=our-custom-namespace get pods
NAME                                        READY     STATUS    RESTARTS   AGE
default-http-backend-2423214957-vldcb       1/1       Running   0          6h
nginx-ingress-controller-2701036938-7x8vm   1/1       Running   0          1m
nginx-ingress-controller-2701036938-r89d5   1/1       Running   0          1m

We are seeing that the leader election is happening as an ongoing process by taking a look at the annotation of the ingress-controller-leader endpoint:
apiVersion: v1
kind: Endpoints
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"nginx-ingress-controller-3421871313-79znc","leaseDurationSeconds":30,"acquireTime":"2017-04-07T08:00:24Z","renewTime":"2017-04-07T09:02:35Z","leaderTransitions":0}'
  creationTimestamp: 2017-04-07T08:00:24Z
  ...

However, this doesn't seem to be triggering status updates on the ingress after the initial burst of activity, but from the looks of status.go, it should carry on:
E  I0407 08:00:24.123193      10 status.go:155] new leader elected (nginx-ingress-controller-3421871313-79znc)
E  I0407 08:00:24.123204      10 status.go:157] I am the new status update leader
E  I0407 08:00:54.112922      10 status.go:271] updating Ingress sfdemo-master/web status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.113298      10 status.go:271] updating Ingress sfdemo-testing-very-long-feature-branch-name-for-the-8e57b28533/webtest status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.113395      10 status.go:271] updating Ingress sfdemo-ingress-config-ssl/webtest status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.112905      10 status.go:271] updating Ingress sfdemo-ingress-config-ssl-use-front-wildcard/webtest status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.114007      10 status.go:271] updating Ingress sfdemo-feature-ingress-config-ssl-use-front-wildcard-95bac83fe4/webtest status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.114421      10 status.go:271] updating Ingress sfdemo-feature-ingress-config-ssl-test/webtest status to [{xx.yy.zz.xx }]
E  I0407 08:00:54.114845      10 status.go:271] updating Ingress sfdemo-ingress-config-ssl-test2/web status to [{xx.yy.zz.xx }]

Steps to debug so far but none have had any effect on the long term running of the controller:

1-3 replicas of the controller
Removed the "--publish-service" flag that we wish to use
Set a different "--election-id" flag

We are running with --v=3 to aide debugging.
The second cluster is performing as expected.
Any ideas or further debugging tips?
Thanks,
Kieren

@kierenevans tomorrow I will check this.
This is related to #533

@kierenevans please check if the image quay.io/aledbf/nginx-ingress-controller:0.85 solves this issue

@aledbf Working perfectly with your image on both of our clusters. Thank you!

Any idea when this will be released as a beta 4 ? Any help needed?

@sroze next weekend

@kierenevans awesome.
Closing. Current master contains the fix.


Unable to pull prometheus image over domestic network when installing cost analysis tools

Environment

Walrus version:  main 34837e37921bbcf7fdd76c92765ff5aa9eee9543
UI version: dev-4810199

Steps to reproduce

Create a domestic Kubernetes cluster.
Add the cluster as a connector to walrus and enable FinOps.
Check the connector status.

Result

Failed to install cost analysis tools.

View the logs on the cluster.

 ~/.kube/ k get pod
NAME                                                    READY   STATUS             RESTARTS   AGE
walrus-opencost-7c5c9f6f9f-pz6gp                        1/1     Running            0          95s
walrus-prometheus-kube-state-metrics-7cbb476bd7-grjnx   0/1     ImagePullBackOff   0          64s
walrus-prometheus-prometheus-node-exporter-8pm7r        0/1     Pending            0          64s
walrus-prometheus-prometheus-node-exporter-zqbd5        0/1     Pending            0          64s
walrus-prometheus-server-cdd94955-fj7l2                 1/2     Running            0          64s

 ~/.kube/ k describe pod walrus-prometheus-kube-state-metrics-7cbb476bd7-grjnx
...
Events:
  Type     Reason          Age                   From               Message
  ----     ------          ----                  ----               -------
  Normal   Scheduled       14m                   default-scheduler  Successfully assigned walrus-system/walrus-prometheus-kube-state-metrics-7cbb476bd7-grjnx to cn-shenzhen.<IP_ADDRESS>
  Normal   AllocIPSucceed  14m                   terway-daemon      Alloc IP <IP_ADDRESS>/20
  Warning  Failed          13m                   kubelet            Failed to pull image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to resolve reference "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to do request: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-state-metrics/kube-state-metrics/manifests/v2.9.2": dial tcp <IP_ADDRESS>:443: i/o timeout
  Warning  Failed          13m                   kubelet            Failed to pull image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to resolve reference "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to do request: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-state-metrics/kube-state-metrics/manifests/v2.9.2": dial tcp <IP_ADDRESS>:443: i/o timeout
  Normal   Pulling         11m (x4 over 14m)     kubelet            Pulling image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2"
  Warning  Failed          10m (x4 over 13m)     kubelet            Error: ErrImagePull
  Warning  Failed          10m (x6 over 13m)     kubelet            Error: ImagePullBackOff
  Warning  Failed          8m54s (x3 over 12m)   kubelet            Failed to pull image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": rpc error: code = DeadlineExceeded desc = failed to pull and unpack image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to resolve reference "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2": failed to do request: Head "https://us-west2-docker.pkg.dev/v2/k8s-artifacts-prod/images/kube-state-metrics/kube-state-metrics/manifests/v2.9.2": dial tcp <IP_ADDRESS>:443: i/o timeout
  Normal   BackOff         4m11s (x28 over 13m)  kubelet            Back-off pulling image "registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.9.2"

Expected behavior

Install cost analysis tools for domestic Kubernetes cluster successfully.

Environment

Walrus version: main 7c753a44166934745fe27656a6df6744edfa3473
UI version: dev-d735146

Test Result: pass

Events:
  Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  11m    default-scheduler  no nodes available to schedule pods
  Warning  FailedScheduling  6m13s  default-scheduler  no nodes available to schedule pods
  Normal   Scheduled         36s    default-scheduler  Successfully assigned walrus-system/walrus-prometheus-kube-state-metrics-66cd4ff5d9-jt5f2 to cn-hangzhou.<IP_ADDRESS>
  Normal   Pulling           37s    kubelet            Pulling image "docker.io/sealio/mirrored-kube-state-metrics:v2.9.2"
  Normal   Pulled            13s    kubelet            Successfully pulled image "docker.io/sealio/mirrored-kube-state-metrics:v2.9.2" in 24.254831236s (24.254838994s including waiting)
  Normal   Created           13s    kubelet            Created container kube-state-metrics
  Normal   Started           13s    kubelet            Started container kube-state-metrics


Add Vue.js (2.0) plugin

cc @dcramer @mattrobenolt @macqueen

This change is

Gonna confirm with @mitsuhiko, but I think we can change contexts to allow rich types for arbitrary data. If we do that we can move this out of extra and have it be its own context.

Sure, but part of me would prefer to put it in extra rather than have another interface block in the UI that takes up only 2-3 rows.

Reviewed 2 of 3 files at r1.
Review status: 2 of 3 files reviewed at latest revision, 1 unresolved discussion.

docs/integrations/vue.rst, line 29 [r2] (raw file):
Previously, benvinegar (Ben Vinegar) wrote…
> Oops

haha

Comments from Reviewable


Security: add a WAF or similar

On my server according to traefik, I get thousands of requests from strangers/bots.
To block all unwanted traffic it would be nice to have some sort of WAF (or Web application firewall) to allow only the wanted traffic.
I did a little research and could not find a WAF that natively integrates with traefik.
But maybe this https://modsecurity.org/ could work...!?
Has anybody else experience or thought about this?
If this approach is from the wrong angle, please tell me. (e.g. instead of a WAF you might use a pfsense firewall in your network or so)

This is why I would never expose my Ansible-NAS services to internet.
A more secure approach (which I use) would be to:

run an OpenVPN server (which I do on my OPNsense firewall, but you could easily do this on your Ansible-NAS box as long as you configure port forwarding)
don't expose your domains to the internet but only in your local network (see https://github.com/davestephens/ansible-nas/issues/128 about how I do this)

You have to connect to your VPN then every time you want to access your services at home from outside. If you secure your VPN connection with a password and optionally a client certificate and/or a one-time password (which you can all easily configure in OPNsense), you can't get more secure than that: there will be no unwanted traffic except some brute-force attempts at your OpenVPN server.

That is an option for sure!
Yet I think the risk is not too high if I could restrict access by a firewall, especially if combined with another layer of security like discussed in #125
Also it is unpractical as my family and friends would have to use a VPN (and by that get access to my entire home network)

In your case you could indeed mitigate the risks by a combination of a web application firewall, Traefik authentication and user management (to selectively give access to specific services to specific users).
But I would probably do the firewall (partially) in the router to block malicious traffic as soon as possible. Also have a look at Fail2ban to block brute-force attacks.

I guess my main question would be "what problem are you trying to solve?"
By exposing any service on the internet, a side effect you have to accept is that it'll constantly get hit by bots for any number of different attack attempts. Forced login, URL vulnerabilities etc etc.
Modsecurity could be set up in proxy mode in front of Traefik, but I would imagine it'd be pretty painful to configure in a way that you'd want so it'd actually be useful. Would the effort outweigh the gain? Probably not.
I'd like to include Pritunl or OpeVPN at some point, which as mentioned above is the best way to ensure proper security without exposing everything to the internet. Fail2ban would also help brute force attempts from single IP addresses.

What I want is essentially protection against SQL injection, XSS and LFI as well as to automatically block traffic from known malicious IP addresses.
I think the last one could be kind of done with Fail2ban
Any Idea for the other three?

For which application? Every app will have its own vulnerabilities, so
blanket saying "this is what I want" is not really realistic without being
more specific.
On Wed, 16 Oct 2019, 12:38 FPMilan<EMAIL_ADDRESS>wrote:

What I want is essentially protection against SQL injection, XSS and LFI
as well as to automatically block traffic from known malicious IP addresses.
I think the last one could be kind of done with Fail2ban
Any Idea for the other three?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/davestephens/ansible-nas/issues/155?email_source=notifications&email_token=AAFDGMGL4YY5QKC555RDWSLQO34LHA5CNFSM4JBH265KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBMFC4A#issuecomment-542658928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFDGMC3SXR7EPMDA3D5KKLQO34LHANCNFSM4JBH265A
.

Did I get it wrong? I thought that a WAF on layer 7 would not need to be specifically configured for every application as it blocks the incoming traffic before it reaches the app.
If this is not how a WAF works I completely got it wrong :D

A valid request for certain app can be an attack vector for another one.
The firewall approach is more efficient imho, banning certain countries works very well.
PS. Not trying to attack anybody but China, Russia and Turkey have a lot of bots, source: I'm a sysadmin at an ISP.

If also thought about adding a (virtualized) pfsense firewall to my setup and route the traffic through to block stuff und potentially be able to use a vpn when needed.
Slightly off topic but does anybody here has experience with virtualization on home servers and knows some does and dont's?

If it was me, I wouldn't virtualize the thing that all of the traffic in my
house needed to run through. I want my internet to "just work" so I don't
have to do home IT support when my overly-complex infra craps out!
Just my £0.02 though! :-)
If you are interested in virtualization and your CPU supports it, check out
KVM.
On Wed, 16 Oct 2019, 19:30 FPMilan<EMAIL_ADDRESS>wrote:

If also thought about adding a (virtualized) pfsense firewall to my setup
and route the traffic through to block stuff und potentially be able to use
a vpn when needed.
Slightly off topic but does anybody here has experience with
virtualization on home servers and knows some does and dont's?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/davestephens/ansible-nas/issues/155?email_source=notifications&email_token=AAFDGMGLFGWIYNFSVXHAFZDQO5MVHA5CNFSM4JBH265KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBNPUHA#issuecomment-542833180,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFDGMDPRTJ23JK6M4CSXW3QO5MVHANCNFSM4JBH265A
.

@davestephens not all traffic would need to go through the virtualized firewall, only the internet facing nas traffic.
KVM looks very promising, I will give it a try ( lets see how much is automatizable with ansible )

I wanted to toss in my opinon here and explain how I am handling security and remote connections.
One rule I have is that all of my exposed services are read-only. I have restricted all admin accounts to only be accessible locally. The only exception to this rule is Nextcloud, which supports MFA (and Guacamole, see below).
I was using pritunl (a great vpn btw) for a while, but realized that Guacamole is a better option since I can literally use it anywhere. I replaced the version of Guacamole available in this project with this one which supports MFA: https://hub.docker.com/r/oznu/guacamole
That said, I only expose very few of my services online anyway. Everything runs behind my very basic router which blocks traffic from the web on all ports except 80 and 443 which are forwarded to traefik.
It's not perfect, but it does strike the correct balance (for me) between being secure and also being usable.

Closing due to inactivity/not an issue.

Closing due to inactivity/not an issue.


Keyboard reference should get some UI love

I find our keybinding PDF a bit boring, especially hard to distinguish a keybinding from a command. In the end we want people to print this out and put it over their desk or even print T-Shirts with it.
Inspirations:

Atom cheat sheet http://d2wy8f7a9ursnm.cloudfront.net/atom-editor-cheat-sheet.pdf
Sublime cheat sheet https://www.cheatography.com/martinprins/cheat-sheets/sublime-text-3-osx/

Ours:

Atom:

Sublime:

Maybe this is yet a placeholder? I also see only Windows keybindings when I am on Mac.
/cc @isidorn

@bpasero when I am on a mac I am correctly directed to this page
http://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
What page gets opened for you?

@isidorn the same but all keys are Ctrl keys and not Cmd

@bpasero then it should be fixed by @waderyan or @gregvanl who are in charge of the content of that document

@gregvanl made what you are seeing as placeholders. Stay tuned for the awesome work from @bgashler1

Ah ok cool :)

Updated as of Friday

Very nice 👍


[release/0.8] Revert containerd dep to 1.4.9

Due to some unfortunate deps in the root go.mod in containerd + some k8s staging
directory behavior, containerd 1.5 errors out when trying to get vendored into
kubernetes/kubernetes. Because we depend on ctrd 1.5, if hcsshim tries to
get bumped it will ask that we also bump their dep of containerd to 1.5
and things will fail also. This reverts our containerd dep for the release/0.8
branch to 1.4 so we're able to circumvent this, at least temporarily. We can't revert
in master as we actually rely on some fields that are only in 1.5+
Signed-off-by: Daniel Canter<EMAIL_ADDRESS>

It would be helpful to link any issues tracking the overall fix for this problem, as well as any test pass results for the testing you did on this.

Don't have any tests to link as I ran them locally. Let me see if the e2e tests that Mark had ran have a link or log file. I can add some issues though, not sure if there's one central "Fixing X". They're kind of scattered around on others discovering the same problem

We think this is something that needs to be resolved centrally in kubernetes, right? So we should try to make sure there is a single primary tracking issue from that perspective.

I've made an issue on our end to look into getting rid of the ctrd dep in our root go.mod, but yes. We were going to reach out to some folks to inquire on this. Want some people more familiar with the background of why the staging directory is the way it is to open an issue, incase this is just par for the course ( I hope not..). Will do on Tuesday.

@kevpar Anything else needed to get this in? The advice we've been given is just to trim deps in projects that need to get vendored into k8s/k8s by the way :/ https://github.com/microsoft/hcsshim/issues/1148#issuecomment-915160554

@kevpar Anything else needed to get this in? The advice we've been given is just to trim deps in projects that need to get vendored into k8s/k8s by the way :/ #1148 (comment)

I'd like to have the commit message updated with the issue link and latest context/plan (k8s does not allow circular dependencies, so this is a temporary fix, and long term we need to remove the dependency loop in some way).

@kevpar Sure, will update. Gonna do another pseudo-vendor run again to make sure nothing changed in the last week in k8s also.

@kevpar Updated the commit message, ptal

https://github.com/kubernetes/kubernetes/pull/104880#issuecomment-916437615 Running the k8s test that get run on a pr right now (just the windows/linux containerd tests left) against a branch I made on here with this work.

Only other thing that would be nice to see is a description of what testing was done (so we can review if this breaks something down the line). Otherwise LGTM.

Ok, I will add to the commit desc. All the k8s tests just came back green.

Our integration tests came back alright (minus the tests that I can't actually run on my machine e.g. the device ones). Going to check this in.

Perhaps on the hcsshim side, it would make sense to make cmd/ (or each binary under cmd/) separate go modules. That way the "library code" provided by hcshhim, and "binary code" would be separated.
I was working on something similar for https://github.com/containerd/imgcrypt - https://github.com/containerd/imgcrypt/pull/50 (haven't found time to continue that work yet)


Can't use parameters with user.top_artists()

Regardless of what parameters you set for user.top_artists(), such as:
**user.top_artists(limit=50,offset=0, time_range="long_term")**
You'll still get the default limit, offset and time range regardless of what you set the params to.
I managed to fix it locally by fiddling around with the library. I believe the problem is that the payload in the function top_artists_or_tracks(), is not sent the HTTP request.
I fixed it by changing line 854 in http.py from
return self.request(route)
to
return self.request(route, params=payload)
I'd make a pull request but I'm new at this stuff.

@drowe4 Thanks for reporting this¬ I can reproduce and will be pushing a fix soon to both Github and PyPI :)

Fixed by: https://github.com/mental32/spotify.py/commit/adee6d2a3c1403ff3185269cc5b4058f16e78fe4


Added PayIn Extended View endpoint support

Looks good to me. Could you squash your commits together to a single commit?


[Clil] 'table' segfaults when given a list of dictionaries with integers as column names

This is the error:
$ liltr
  d: (3,4,5) dict 4,5,6
{3:4,4:5,5:6}
  table list d
rlwrap: warning: lilt crashed, killed by SIGSEGV (core dumped).
rlwrap itself has not crashed, but for transparency,
it will now kill itself with the same signal

warnings can be silenced by the --no-warnings (-n) option
Segmentation fault (core dumped)

table 3 take list d also segfaults.
However, these cases are still fine:
$ liltr
  d: "abc" dict 4,5,6
{"a":4,"b":5,"c":6}
  table list d
+---+---+---+
| a | b | c |
+---+---+---+
| 4 | 5 | 6 |
+---+---+---+
  d: 1 dict 4
{1:4}
  table d
+---+
| 1 |
+---+
| 4 |
+---+
  table (3,4) dict 4
+---+---+
| 3 | 4 |
+---+---+
| 4 | 0 |
+---+---+

Lil table keys are always strings. The crash was caused by a simple missing cast, but it revealed several other inconsistencies; The Lil table primitive applied to list-of-dict will now coalesce together keys that are identical when cast to strings, preferring the first-encountered definition.

Cool, this is resolved.


Add Lion optimizer

Adds the Lion optimizer from https://arxiv.org/pdf/2302.06675.pdf
I had to set the number of iterations for the test rather high cause it had problems with Beale, perhaps there is a smarter hyperparameter setting.

Thanks!


DW1000Ranging_TAG nothing recieve

Hi everybody!
We have Decawave TREK1000 (3 Anchors and 1 Tag). Tag has connected to Arduino Uno through SPI connection.
 S2(ARM chip) has been set on off position.

Report an issue.

Describe the problem
Not receive any needed information.
Describe your environment

Arduino IDE version or Toolchain: 1.8.4
dw1000 Library version: 0.6
Arduino device: Uno
Used adapter board: None

Affected file(s) or example(s):
DW1000Ranging_Tag
Observed Results:
device address: 7D:00:22:EA:82:60:3B:9C
TAG
Expected Results:
from:
Range:   m
RX power:   dBm
Relevant Code:
/**
 *
 * @todo
 *  - move strings to flash (less RAM consumption)
 *  - fix deprecated convertation form string to char* startAsTag
 *  - give example description
 */
#include <SPI.h>
#include "DW1000Ranging.h"

// connection pins
const uint8_t PIN_RST = 9; // reset pin
const uint8_t PIN_IRQ = 2; // irq pin
const uint8_t PIN_SS = SS; // spi select pin

void setup() {
  Serial.begin(115200);
  delay(1000);
  //init the configuration
  DW1000Ranging.initCommunication(PIN_RST, PIN_SS, PIN_IRQ); //Reset, CS, IRQ pin
  //define the sketch as anchor. It will be great to dynamically change the type of module
  DW1000Ranging.attachNewRange(newRange);
  DW1000Ranging.attachNewDevice(newDevice);
  DW1000Ranging.attachInactiveDevice(inactiveDevice);
  //Enable the filter to smooth the distance
  //DW1000Ranging.useRangeFilter(true);

  //we start the module as a tag
  DW1000Ranging.startAsTag("7D:00:22:EA:82:60:3B:9C", DW1000.MODE_LONGDATA_RANGE_ACCURACY);
}

void loop() {
  DW1000Ranging.loop();
}

void newRange() {
  Serial.print("from: "); Serial.print(DW1000Ranging.getDistantDevice()->getShortAddress(), HEX);
  Serial.print("\t Range: "); Serial.print(DW1000Ranging.getDistantDevice()->getRange()); Serial.print(" m");
  Serial.print("\t RX power: "); Serial.print(DW1000Ranging.getDistantDevice()->getRXPower()); Serial.println(" dBm");
}

void newDevice(DW1000Device* device) {
  Serial.print("ranging init; 1 device added ! -> ");
  Serial.print(" short:");
  Serial.println(device->getShortAddress(), HEX);
}

void inactiveDevice(DW1000Device* device) {
  Serial.print("delete inactive device: ");
  Serial.println(device->getShortAddress(), HEX);
}
  // TODO(you): code here to reproduce the problem

I have an issue the follow notification occurs. Any suggestion about it?

I:\NEW PROJECT\MYCODE\arduino-dw1000-master\examples\DW1000Ranging_TAG\DW1000Ranging_TAG.ino: In function 'void setup()':
I:\NEW PROJECT\MYCODE\arduino-dw1000-master\examples\DW1000Ranging_TAG\DW1000Ranging_TAG.ino:29:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
DW1000Ranging.startAsTag("7D:00:22:EA:82:60:3B:9C", DW1000.MODE_LONGDATA_RANGE_ACCURACY);


feat(*): allow using a development build image

To support testing plugins with an image built during CI runs, pongo needs to be able to use artifacts from an arbitrary local directory.  This change makes pongo accept a local path in KONG_VERSION which is then used to determine the version number and to copy the artifact files which would normally be taken from the kong-versions/ directory.
The idea is to build a temporary docker image in CI using:
make package-kong build-test-container KONG_SOURCE_LOCATION=$HOME/kong-ee
and then run pongo to test plugins like this:
KONG_IMAGE=kong/kong:amd64-<IP_ADDRESS>-ubuntu KONG_VERSION=$HOME/kong-ee pongo run

Already if the docker container has the proper label (commit id) Kong will use the Kong-EE repo to do this.
The problem is more around the binary artifacts, when would be needed from the local CI build


Copy assembly information from the original exe to generated exe

Idea description
Copy assembly information from the original executable file to generated executable. The attached executable should have all assembly information filled.
Example.zip

@Systemcluster Hey man, did you stopped developing this tool?

@ALIENQuake Hey, I started a new job recently so I didn't have a lot of time to work on my open source projects. I didn't stop developing wrappe per se! 😄 This feature in particular is quite a bit of work, I have had something in-progress for it but it might take a while until I finish it, sorry!

@Systemcluster No problem, I just wanted to know if there is a chance for this feature. If this is a lot of work and you are busy, no worries, take your time.

It's been way too long, and you probably don't need it anymore, but all resources from the command executable are now copied to the runner in the new release.

It's been way too long, and you probably don't need it anymore, but all resources from the command executable are now copied to the runner in the new release. Thanks again for the idea!

I still needed it and, this is wonderful! Thank you!


Automated cherry pick of #4650: fix: 避免创建rds account, database后未设置exteranl_id

Cherry pick of #4650 on release/2.13.
#4650: fix: 避免创建rds account, database后未设置exteranl_id

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@6ddd8c0). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #4653   +/-   ##
==============================================
  Coverage                ?   6.87%
==============================================
  Files                   ?     523
  Lines                   ?   88961
  Branches                ?       0
==============================================
  Hits                    ?    6118
  Misses                  ?   82337
  Partials                ?     506

Flag
Coverage Δ

#aFlag
6.87% <ø> (?)

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 6ddd8c0...3e7cf49. Read the comment docs.

/lgtm

/approve


Support initContainerStatuses

When I run kubetop I get an error 'initContainerStatuses' are not among the specified fields for v1.PodStatus
Here is the full output
➜  ~ kubetop
Traceback (most recent call last):
Failure: twisted.internet.defer.FirstError: FirstError[#1, [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.defer.FirstError'>: FirstError[#1, [Failure instance: Traceback: <type 'exceptions.AttributeError'>: 'initContainerStatuses' are not among the specified fields for v1.PodStatus
/usr/local/lib/python2.7/site-packages/twisted/web/_newclient.py:1210:_bodyDataFinished_CONNECTED
/usr/local/lib/python2.7/site-packages/twisted/web/client.py:2144:connectionLost
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:459:callback
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:567:_startRunCallbacks
--- <exception caught here> ---
/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py:653:_runCallbacks
/usr/local/lib/python2.7/site-packages/eliot/twisted.py:82:callbackWithContext
/usr/local/lib/python2.7/site-packages/eliot/_action.py:389:run
/usr/local/lib/python2.7/site-packages/txkube/_network.py:271:<lambda>
/usr/local/lib/python2.7/site-packages/pyrsistent/_helpers.py:80:inner_f
/usr/local/lib/python2.7/site-packages/txkube/_model.py:379:iobject_from_raw
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/txkube/_model.py:256:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/pyrsistent/_checked_types.py:200:_checked_type_create
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:52:__new__
/usr/local/lib/python2.7/site-packages/txkube/_swagger.py:255:optional
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:113:create
/usr/local/lib/python2.7/site-packages/pyrsistent/_pclass.py:67:__new__
]]
]]```

Thanks for the report!  What version of Kubernetes are you using?  This sounds like it's probably another manifestation of txkube's limited range of Kubernetes version compatibility.
Related https://github.com/LeastAuthority/kubetop/issues/33 and https://github.com/LeastAuthority/txkube/issues/121

version 1.6.2

Yea ... Basically, Kubernetes 1.6 incompatibility.


Added solution for day01 2022

Codecov Report
Base: 0.00% // Head: 21.21% // Increases project coverage by +21.21% :tada:

Coverage data is based on head (6652ea9) compared to base (fd876fe).
Patch coverage: 80.76% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #2       +/-   ##
===========================================
+ Coverage    0.00%   21.21%   +21.21%
===========================================
  Files           4        7        +3
  Lines          72       99       +27
===========================================
+ Hits            0       21       +21
- Misses         72       78        +6

Impacted Files
Coverage Δ

2022/day01/src/lib.rs
0.00% <0.00%> (ø)

2022/day01/src/types.rs
50.00% <50.00%> (ø)

2022/day01/src/solution.rs
100.00% <100.00%> (ø)

common/src/parsing.rs
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Use ponyup to install pony tools in macOS environments

As of ponyc 0.34.0 we are no longer maintaining the homebrew ponyc
formula so it will get out of date. By using ponyup, we can stay
up-to-date with the latest releases.
Closes #102

@Theodus I have another commit that fixes the Linux bootstrapping. Can we merge this to fix macOS bootstrap testing?

@Theodus I've rebased this against master so it should pass CI now.


yarn: 1.5.1 -> 1.6.0

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: yarn
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/libexec  /nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/bin
patching script interpreter paths in /nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0
/nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/libexec/yarn/lib/cli.js: interpreter directive changed from "/usr/bin/env node" to "/nix/store/9g0ikfgk29hpv7am00jccq604876cbwg-nodejs-6.14.1/bin/node"
/nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/libexec/yarn/bin/yarn: interpreter directive changed from "/bin/sh" to "/nix/store/adw9jx59wnrh5659wz43nbjya3m4b3gl-bash-4.4-p19/bin/sh"
/nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/libexec/yarn/bin/yarnpkg: interpreter directive changed from "/usr/bin/env node" to "/nix/store/9g0ikfgk29hpv7am00jccq604876cbwg-nodejs-6.14.1/bin/node"
/nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0/libexec/yarn/bin/yarn.js: interpreter directive changed from "/usr/bin/env node" to "/nix/store/9g0ikfgk29hpv7am00jccq604876cbwg-nodejs-6.14.1/bin/node"
checking for references to /build in /nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0...
/nix/store/78c9vkragzkghh7w1kvlh5gz22yar41y-yarn-1.6.0

Success on x86_64-linux (full log)
Attempted: yarn
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/libexec  /nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/bin
patching script interpreter paths in /nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0
/nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/libexec/yarn/lib/cli.js: interpreter directive changed from "/usr/bin/env node" to "/nix/store/gkcz8nnk0phqq8fmnyjjmkg7ds7qwd74-nodejs-6.14.1/bin/node"
/nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/libexec/yarn/bin/yarn.js: interpreter directive changed from "/usr/bin/env node" to "/nix/store/gkcz8nnk0phqq8fmnyjjmkg7ds7qwd74-nodejs-6.14.1/bin/node"
/nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/libexec/yarn/bin/yarnpkg: interpreter directive changed from "/usr/bin/env node" to "/nix/store/gkcz8nnk0phqq8fmnyjjmkg7ds7qwd74-nodejs-6.14.1/bin/node"
/nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0/libexec/yarn/bin/yarn: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0...
/nix/store/fsc96x8i83g6w8m2my2fbqy051y8axlf-yarn-1.6.0


./cpp-capture  example error(UVCIOC_CTRL_QUERY:UVC_SET_CUR error 2, No such file or directory)

Required Info

Camera Model
R200

Firmware Version

Operating System & Version
Ubuntu 14.04.4 LTS

Kernel Version (Linux Only)
4.4.0-040400-generic

Build System
Makefile

when I tried to run the following cpp-capture  example realsense R200,
it results in following error
(Ubuntu 14.04.4 LTS)
(Hardware Intel  #NUC5i5RYK)
http://www.mouser.com/pdfdocs/nuckitnuc5i5rykbrief.PDF
Actuall I did the installation guides as stated in following link
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md
wkyooun@wkyooun-desktop:~/librealsense/bin$ uname -r
4.4.0-040400-generic

I found intel realsense working in my notebook(LG - 15Z960-GA70K)
, so I did the same procedure to run the cpp-capture example in librealsense/bin folder.
Would anyone of you please let me know how to fix the problem?
wkyooun@wkyooun-desktop:~/librealsense/bin$ ./cpp-capture
RealSense error calling rs_create_context(api_version:4):
UVCIOC_CTRL_QUERY:UVC_SET_CUR error 2, No such file or directory

wkyooun@wkyooun-desktop:~/librealsense/bin$ sudo dmesg | tail -n 50
[ 2390.833367] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2390.833370] usb 2-4: Product: Intel RealSense 3D Camera R200
[ 2390.833372] usb 2-4: Manufacturer: Intel Corp
[ 2390.833374] usb 2-4: SerialNumber: SN_2211007225
[ 2390.835716] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 2390.835721] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 2390.835727] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2390.839242] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 2390.839247] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2390.840741] uvcvideo: Unable to create debugfs 2-5 directory.
[ 2390.840898] input: Intel RealSense 3D Camera R200     as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.2/input/input30
[ 2390.842805] uvcvideo: Unknown video format 30315752-0000-0010-8000-00aa00389b71
[ 2390.842810] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2390.844306] uvcvideo: Unable to create debugfs 2-5 directory.
[ 2390.844468] input: Intel RealSense 3D Camera R200     as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.4/input/input31
[ 2398.252953] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2398.252961] uvcvideo 2-4:1.1: resume error -5
[ 2398.255105] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2398.255112] uvcvideo 2-4:1.3: resume error -5
[ 2398.255933] uvcvideo: Failed to query (GET_LEN) UVC control 1 on unit 2: -32 (exp. 2).
[ 2406.688847] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[ 2406.688862] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[ 2410.675864] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2410.675875] uvcvideo 2-4:1.1: resume error -5
[ 2410.678003] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2410.678011] uvcvideo 2-4:1.3: resume error -5
[ 2410.678768] uvcvideo: Failed to query (GET_LEN) UVC control 1 on unit 2: -32 (exp. 2).
[ 2414.361374] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2414.361382] uvcvideo 2-4:1.1: resume error -5
[ 2414.363520] uvcvideo: Failed to set UVC commit control : -32 (exp. 34).
[ 2414.363529] uvcvideo 2-4:1.3: resume error -5
[ 2414.364314] uvcvideo: Failed to query (GET_LEN) UVC control 1 on unit 2: -32 (exp. 2).
[ 2440.270559] usb 2-4: USB disconnect, device number 5
[ 2442.891433] usb 2-4: new SuperSpeed USB device number 6 using xhci_hcd
[ 2442.910109] usb 2-4: New USB device found, idVendor=8086, idProduct=0a80
[ 2442.910113] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2442.910116] usb 2-4: Product: Intel RealSense 3D Camera R200
[ 2442.910117] usb 2-4: Manufacturer: Intel Corp
[ 2442.910119] usb 2-4: SerialNumber: SN_2211007225
[ 2442.912492] uvcvideo: Unknown video format 49323159-0000-0010-8000-00aa00389b71
[ 2442.912497] uvcvideo: Unknown video format 20493859-0000-0010-8000-00aa00389b71
[ 2442.912502] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2442.915950] uvcvideo: Unknown video format 2036315a-0000-0010-8000-00aa00389b71
[ 2442.915954] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2442.917363] uvcvideo: Unable to create debugfs 2-6 directory.
[ 2442.917552] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.2/input/input32
[ 2442.919492] uvcvideo: Unknown video format 30315752-0000-0010-8000-00aa00389b71
[ 2442.919497] uvcvideo: Found UVC 1.10 device Intel RealSense 3D Camera R200 (8086:0a80)
[ 2442.920970] uvcvideo: Unable to create debugfs 2-6 directory.
[ 2442.921093] input: Intel RealSense 3D Camera R200 as /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4:1.4/input/input33

Hi @won13y - this is a duplicate of an issue you opened a few days ago (#181) where I described the solution. Please refer to my comment: https://github.com/IntelRealSense/librealsense/issues/181#issuecomment-228097173


Update to new play-publisher plugin

Lots of changes - https://github.com/Triple-T/gradle-play-publisher/releases/tag/2.0.0-beta1

Done!


[Explore]popover should follow the query field as user scrolls page

That may be really hard - I'd suggest time boxing this, wouldn't spend more than a few hours on this.