Resource already exists

When I try to update the storage resource I created from the previous exercise it fails.
New-AzResourceGroupDeployment `

-Name addnameparameter   -ResourceGroupName myResourceGroup
-TemplateFile $templateFile `
-storageName "gmjentstore1gmj02102021"
New-AzResourceGroupDeployment : 5:58:25 PM - Error: Code=InvalidResourceLocation; Message=The resource
'gmjentstore1gmj02102021' already exists in location 'centralus' in resource group 'myResourceGroup'. A resource with
the same name cannot be created in location 'eastus'. Please select a new resource name.
At line:1 char:1

New-AzResourceGroupDeployment `

  + CategoryInfo          : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
 loymentCmdlet

New-AzResourceGroupDeployment : The deployment validation failed
At line:1 char:1

New-AzResourceGroupDeployment `

  + CategoryInfo          : CloseError: (:) [New-AzResourceGroupDeployment], InvalidOperationException
  + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
 loymentCmdlet

What am I missing? I copied and pasted the JSON file from the exercise.

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

ID: 3076c5fc-7226-9aee-40e1-e75e5d1cbeb8
Version Independent ID: 211d9b84-c796-4628-c801-f24e5c21cb68
Content: Tutorial - add parameters to template - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/template-tutorial-add-parameters.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

Nevermind I deleted the first storage resource and recreated it from the exercise JSON.

@oldagdguy Glad to know that you have self resolved and hence closed the issue. Thanks for the update.
Just FYI, this azure-docs repository deals about feedback related to particular Azure document page (like correcting doc bugs, doc enhancements, product issues related to wrong doc instructions, etc.) so going forward if you have Azure document related feedback then share such feedback here.
But if you need help in resolving a product related issue (but not the document) then I suggest you to ask the question in public forums like Microsoft Q&A, etc. but not here in this azure-docs repository. Hope this clarifies.


Switch to using ims.bentley.com

Resolved the unauthorized error due to insufficient scope and adopted the changes suggested by blog.

Closing because this change should be passed in by the connector through HubArgs.clientConfig instead.


uwsgi: build with PCRE support

Motivation for this change
Fixes #32825
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option 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/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: uwsgi
Partial log (click to expand)
total build time: 6 seconds
*** uWSGI is ready, launch it with ./uwsgi ***
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>
shrinking /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>/bin/uwsgi
strip is /nix/store/rpbg8gmqxhz8g61p1plz5d2srs84pvmv-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>/lib  /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>
checking for references to /build in /nix/store/zvf5hxqhzyd74bxr5ckknmxlkpsh2yzy-uwsgi-<IP_ADDRESS>...

Success on aarch64-linux (full log)
Attempted: uwsgi
Partial log (click to expand)
total build time: 4 seconds
*** uWSGI is ready, launch it with ./uwsgi ***
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>
shrinking /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>/bin/uwsgi
strip is /nix/store/6dpnd5aniypn8124mmy8f88s4mq2zl07-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>/lib  /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>/bin
patching script interpreter paths in /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>
checking for references to /build in /nix/store/v516j65c359788h3n121iskcfs91rffn-uwsgi-<IP_ADDRESS>...


Code doesn't save credentials

Hi there,
I run Your code, and it seems to not save credentials.
2000-01-01 00:31:14 [info     / 106kB] > GET /generate_204 (200 OK) [331ms]
Saving wifi credentials...
2000-01-01 00:31:41 [debug    / 103kB] > parsed template: ap_templates/configured.html (took 44 ms)
2000-01-01 00:31:41 [info     / 102kB] > POST /configure (200 OK) [725ms]
2000-01-01 00:31:41 [debug    /  96kB] > parsed template: ap_templates/redirect.html (took 29 ms)
2000-01-01 00:31:42 [info     /  95kB] > GET /generate_204 (200 OK) [1240ms]
Resetting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4728
load:0x40078000,len:14888
load:0x40080400,len:3368
entry 0x400805cc
Entering setup mode...
2000-01-01 00:31:44 [info     / 129kB] > starting catch all dns server on port 53
2000-01-01 00:31:44 [info     / 127kB] > starting web server on port 80

after some debugging:
try:
    print(f"Trying to connect to wifi")
    os.stat(WIFI_FILE)
    print(f"wifi file found")

    # File was found, attempt to connect to wifi...
    with open(WIFI_FILE) as f:
        print(f"wifi file loaded")
        wifi_current_attempt = 1
        wifi_credentials = json.load(f)
        print(f"wifi credentials loaded")

        while (wifi_current_attempt < WIFI_MAX_ATTEMPTS):
            ip_address = connect_to_wifi(wifi_credentials["ssid"], wifi_credentials["password"])
            print(f"I am here now")

            if is_connected_to_wifi():
                print(f"Connected to wifi, IP address {ip_address}")
                break
            else:
                wifi_current_attempt += 1

        if is_connected_to_wifi():
            application_mode()
        else:

            # Bad configuration, delete the credentials file, reboot
            # into setup mode to get new credentials from the user.
            print("Bad wifi connection!")
            print(wifi_credentials)
            os.remove(WIFI_FILE)
            machine_reset()

except Exception:
    # Either no wifi configuration file found, or something went wrong,
    # so go into setup mode.
    print(f"Something went wrong")
    setup_mode()

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4728
load:0x40078000,len:14888
load:0x40080400,len:3368
entry 0x400805cc
Trying to connect to wifi
wifi file found
wifi file loaded
wifi credentials loaded
Something went wrong
Entering setup mode...
2000-01-01 01:14:30 [info     / 128kB] > starting catch all dns server on port 53
2000-01-01 01:14:30 [info     / 126kB] > starting web server on port 80

Hi there - I'll try and investigate.  In order to reproduce I might need to know something about your credentials (please don't send me your SSID and password or post them here though!).  Does the SSID and/or password have any "special" characters in it (Other than 0-9 a-z A-Z).  Knowing this might help me reproduce.

Hey there, just following up as I loaded this onto my Pico W, connected my Pico to USB power that is not connected to my VSCode machine, and went through the Wifi setup.
After disconnecting the Pico from power and powering it back on, after a minute I was able to reconnect to the Pico using the same IP address. I believe the credentials are stored as intended @simonprickett. Agreed that it may be an issue with special characters in some instances, my SSID and password are only alphanumeric.


Is there a way to get No changes per category specified using labels?

Hi again Mike :)
I was able to get some time to present ability to automatically categorize pull requests in release notes using your tool based on labels.
We haven't been using them before (go figure) but I think this would help us a lot to automate things.
My categories section looks like this:
  "categories": [
    {
      "title": "# Release notes",
      "labels": ["enhancement", "bug", "documentation", "infrastructure", "dependency"]
    },
    {
      "title": "# REST API Changes",
      "labels": ["api-change"]
    }
  ]

If I have a pull request with api-change label, release notes look like this:
Release notes
ABC-123-[text]
TEST-123-[text]
REST API Changes
TEST-321-[text]
But if i don't, I get:
Release notes
ABC-123-[text]
TEST-123-[text]
When I would expect something like:
Release notes
ABC-123-[text]
TEST-123-[text]
REST API Changes
No changes.
Is it possible and I'm just blind and can't seem to find it in configuration?
Kind regards,
Michal

Hi @MichalWasowskiMeniga
Given that this is an open source project I develop in my free time I sadly can't give an estimate. But sooner than later :D

Please see the new per category configuration allowing you to provide an empty content. this can be controlled per category:

You are a legend Sir <3
Thank you!


fix mingw compile error

fix mingw compile error

interesting, haven't thought about that, thanks for the fix!


[REQUEST] Change icon color?

Could we be able to change the color of the icon? I'd like to change it based on Swatches from the Palette API.

I changed my icon color by creating a new vector drawable, then setting the source of the button to be that icon.
To make a vector drawable in android studios, right click on your "drawable" folder, click New>Vector Asset.  From here, you can choose from many built-in android icons.
This is what my vector file looked like.  You can see that I set the fill color to gray:

Then, to add the icon to your button, you simply need to use "android:src="@drawable/ic_touch_app"

Final result:

replace "ic_touch_app" with the name of your drawable file.


Azure.RequestFailedException: The SSL connection could not be established

I'm encountering an issue while attempting to run the kernel-memory example https://github.com/microsoft/kernel-memory/tree/main/examples/200-dotnet-nl2sql in my machine configured with OpenAI settings. The problem arises during the application startup, and it results in an Azure.RequestFailedException. Below, you'll find the stack trace of the exception.
I've attempted to address this problem by providing a custom HttpClient. Here's the code snippet I've used to configure the HttpClient. Despite these efforts, the issue still persists
  private static KernelBuilder ConfigureOpenAi(
          string apikey,
          string? modelCompletion,
          string? modelEmbedding,
          ILoggerFactory? loggerFactory)
      {

    using var handler = new HttpClientHandler();

    handler.ClientCertificateOptions = ClientCertificateOption.Manual;
    handler.CheckCertificateRevocationList = false;
    handler.ServerCertificateCustomValidationCallback = (_, cert, cetChain, _) => true;

    using var client = new HttpClient(handler);

    var builder = new KernelBuilder();

    if (loggerFactory != null)
    {
        builder.WithLoggerFactory(loggerFactory);
    }

    modelCompletion ??= DefaultChatModel;
    modelEmbedding ??= DefaultEmbedModel;

    builder
        .WithMemoryStorage(new VolatileMemoryStore())
        .WithOpenAITextEmbeddingGenerationService(modelEmbedding, apikey);

    if (!modelCompletion.StartsWith("gpt", StringComparison.OrdinalIgnoreCase))
    {
        return builder.WithOpenAITextCompletionService(modelCompletion, apikey);
    }

    return builder.WithOpenAIChatCompletionService(modelCompletion, apikey, httpClient: client);
}

Stack Trace
     Azure.RequestFailedException: The SSL connection could not be established, see inner exception.      ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.      ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: RevocationStatusUnknown        at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception)        at System.Net.Security.SslStream.CompleteHandshake(SslAuthenticationOptions sslAuthenticationOptions)        at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)        at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)        --- End of inner exception stack trace ---        at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)        at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)        at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)        at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)        at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)        at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)        at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)        at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)        at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)        --- End of inner exception stack trace ---        at Azure.Core.Pipeline.HttpClientTransport.ProcessAsync(HttpMessage message, Boolean async)        at Azure.Core.Pipeline.HttpPipelineTransportPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.ResponseBodyPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)        at Azure.Core.Pipeline.BearerTokenAuthenticationPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)
at Azure.Core.Pipeline.RedirectPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)        at Azure.Core.Pipeline.RetryPolicy.ProcessAsync(HttpMessage message, ReadOnlyMemory1 pipeline, Boolean async)
`

@crickman ^^


Allow support for "Additional printer columns" for CRDs

/kind feature
Which functionality do you think we should add?
If a CRD has "Additional printer columns" we should show those values when a user does odo service list.
Reference to "Additional printer columns" https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#additional-printer-columns.
Why is this needed?
This would allow us to provide the same information to the user as kubectl.

This would be complex to implement from UI standpoint for odo as each CRD could have different "printer columns" so we need to design a better UI to list services maybe?

/priority low


138 bug memory leaks

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


Update htmlunit to 3.9.0

About this PR
📦 Updates org.htmlunit:htmlunit from 3.8.0 to 3.9.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.htmlunit", artifactId = "htmlunit" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.htmlunit", artifactId = "htmlunit" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

@ruippeixotog we are trying to update our htmlunit version, will there be a release for this soon? TY

@SallyPerez sure, I have just published v3.1.1.


Decouple selection highlighting logic from Caret

Dependency for #1618

While I've been working on supporting multi-line textbox, I've realized the logic behind highlighting selected text after supporting multi-line made the TextBox a bit more convoluted, so I chose to abstract selection highlighting logic.
NOTE: I will implement this, just asking questions on implementation here

What should the name of the component be? I prefer Highlighter since it's a component that adds a list of highlight lines with calculated position and size.
Should the component minimally support only required features to work with TextBox? there are other features that could be added to the component like:

Allow highlighting different areas at once, something like:AddHighlight(0, 2); // highlight area from index 0 with length 2
AddHighlight(4, 2); // highlight area from index 4 with length 2 (previous area is still highlighted)
ClearHighlights(); // Clears all highlighted areas

Invalidate highlights on any change in the source container or its children from positioning and sizes.

Closing as I think such questions are better suited in a pull request rather than a dedicated issue thread.


[ja] Translate content/en/docs/tasks/tools/install-kubectl-linux.md

Fixes #45344
This pull request is for the translation of content/en/docs/tasks/tools/install-kubectl-linux.md and its dependencies.
This translation is based on the contents of the content/ja/docs/tasks/tools/install-kubectl.md (This file has already been deleted).
Preview: https://deploy-preview-46029--kubernetes-io-main-staging.netlify.app/ja/docs/tasks/tools/install-kubectl-linux/

/lgtm


i cant change the name of my program

when i change every thing it return to openbullet in the program and tasks

There are plenty of places where the name needs to be changed, for starters in the code behind of MainWindow. Also this is not an issue, this is just your not being able to see how the name is set. Closing.

It's easy to change the name, lmfao, if you want to change the name there's firstly the mainwindow for the title, then there's the confirmation boxes, etc, Which is also found in the mainwindow, the about found in main, the settings found in main, the runner manager found in main, however you still need to change the name in settings, or you will have openbullet as your process in the task manager regardless of wether you change the title name or not.
I would note if your going to sell this version after changing the name and taking credit for it, you may want to add more features or someone will be very pissed off with you when they discover what you did and will probably out you as a scammer, so I highly suggest you start learning some c# before thinking of doing this.
sidenote if you want to change the version that can be found in obVersion

Also located in globals is the default names for the settings files, database, license, config folder etc.


Empty search should return all records

Hi,
I am using the pg_search_scope feature and I was wondering if there is a way to return all results in case of a empty search string? (expect the obvious if)
Regards,

Thanks,


Remove parse() and TryFrom<&'_ str> from Timestamp, use FromStr instead

The parse() method was originally pub since it was const, but since that's no true this method doesn't have any advantage over str::parse() / FromStr::from_str.
TryFrom<&'_ str> shouldn't be implemented for FromStr types since they do the same thing.
let timestamp: Timestamp = "123213".try_into()?;
let timestamp: Timestamp = "123213".parse()?;

What is the advantage of removing implementations that work just fine?

If anything, I'd only like to remove TryFrom<&'_ str> if it's the same as FromStr as you say.

What is the advantage of removing implementations that work just fine?

Having duplicate methods is an antipattern, FromStr is more obvious than parse() and TryFrom<&'_ str>. The only thing they achieve is force users to double check that they all are the same


TP 1.2 draft Specs

TP 1.2 will be addressing the following specs:
Killing the registries
Registries are created in TP 1 during the last round of annotation processing which breaks the annotation processing model. It is also difficult to reconciliate them with annotation processing rounds as other APs can generate code using the JSR 330 annotations.
More details in #215 .
Also, registries are too central and will make TP's incremental annotation processing less efficient.
After benchmarking the Groupon app with and without registries, we found out that the registries don't bring any benefits anymore. This is due to the latest change in the registries to accomodate obfuscation.
Killing the registries in TP will also decrease significantly its complexity.
The only remaining annotation processor will easily become incremental and isolating as it generates 1 factory (and/or 1 member injector) per @Inject annotated file.
Killing the registries will also decrease the amount of overhead and boilerplate in configuration modules using TP especially for a modularized app, creating new modules was verbose.
And killing the registries will also make it easier to accomodate the dynamic delivery/features and instant apps. (Issue #313)
Finally killing the registries will make it simpler to work on a Toothpick-reflect version, which might be part of release 2.0 (Issue #310)
Support Gradle's new incremental annotation processing
Making the unique AP incremental should be easy, it will be isolating.
Release 1.2 is scheduled to be released at the beginning of 2019.

So when the registry is gone, will there be another way to use toothpick with obfuscation? Or is this going back to the pre 1.1.3 change where to add obfuscation support one had to not mix annotation and obfuscation together?


parsing problem when abbreviating LET/TITLE with backquotes (immediate mode)

I found this when trying to abbreviate the "LET/TITLE=" qualifier.  The following fails silently, without defining anything:
 	NOAA/PMEL TMAP
 	FERRET v7.52 (optimized)
 	Linux 2.6.32-754.23.1.el6.x86_64 64-bit - 12/03/19
 	11-Dec-19 17:08

yes? let/t="title" a = sst[d=`1`]
yes? sho var
 Created by DEFINE VARIABLE:

Either adding one more letter to the "/TIME=" abbreviation, or removing the immediate-mode backquotes, allows the definition to occur:
yes? let/ti="title" a = sst[d=`1`]
yes? let/t="title" a = sst[d=1]
yes? sho var
 Created by DEFINE VARIABLE:
 >>> Definitions that replace any file variable of same name:
     A = SST[D=1]
         "title"

Abbreviating other qualifiers to one letter (like "/U=" for "/UNIT=") works fine.  Is Ferret perhaps trying to interpret "t=" as a time coordinate specification?  The following suggests that axis coordinates are not part of DEFINE VARIABLE, so that "/T=" ought to be interpreted as "/TITLE=":
yes? sho com def var
 DEFINE VARIABLE/TITLE/UNITS/QUIET/DATASET/BAD/REMOTE/LIKE

This seems to be in the command parsing.   Somehow the [d=1] grave-accent evaluation is throwing things off so that the code for "define variable" never even gets executed.

It looks as though the presence of a /T= is confusing the grave-accent parsing, which isn't aware of which command is being parsed, that is it doesn't know we're getting set to do a DEFINE VARIABLE.  It just wants to get the current context in which we're evaluating whatever is enclosed by the grave-accents.  And so it's saying well what are the qualifiers on the command-line?  There's a /T= on the command-line, so apply that.  Of course /t="title" isn't a valid time specification.  The command parser knows the command but the grave-accent evaluation may involve a whole stack of expressions.
Going back to old versions of Ferret, as far back as ferret_v672 and up through ferret_v7.4 the result would have been this:
yes? let/t="title" a = sst[d=`1`]
 **ERROR: command syntax: title

which is just as confusing, but at least stops the script.  We've made changes related to RETURN= and SHOW GRID and so forth which have to do with evaluating contexts, and which I believe account for the different behavior in v7.5 and higher.
We could

During command parsing, expand LET/T= to the full LET/TITLE= in the stored command-line when qualifiers are identified, and before grave-accent expressions are evaluated.

Or, require abbreviations of 2 letters (Only when the qualifiers begin with region identifiers  I, J,... and X, Y,...  and we find a longer qualifier related to the command? )

These aren't completely explored. I'll think it through.

The real bug here was that an error message had gone missing.  In older versions of Ferret, we'd have seen this (somewhat unhelpful) message.
 yes? let/t="title" a = sst[d=`1`]
 **ERROR: command syntax: title

and we'd at least have been able to guess that there was something wrong with the /t="title".  I've found where that came in - it was in checking for iso-time date strings in a /T= specification. That is fixed.
But also, Ferret has always treated the above when parsing the command and evaluating the grave-accent expression as if it's a /T= even though DEFINE VARIABLE doesn't have a /T= referring to time.
I've changed the parsing so that if a qualifier is written with just one letter, it's replaced with 4 letters - the length that's guaranteed to identify commands and qualifiers, so this becomes
yes? let/t="title" a = sst[d=`1`]
 !-> DEFINE VARIABLE/TITL="title" a = sst[d=1]
yes? show var
 Created by DEFINE VARIABLE:
 >>> Definitions that replace any file variable of same name:
     A = SST[D=1]
         "title"

By the way if a command has both /T= and /TITLE= then the qualifier that appears first in its list of qualifiers is the one used. For instance,

yes? show command list
 LIST/I/J/K/L/M/N/X/Y/Z/T/E/F/DATASET/HEADING/NOHEAD/SINGLY/FILE/APPEND
       /ORDER/FORMAT/TITLE/PRECISIO/RIGID/ILIMITS/JLIMITS/KLIMITS/LLIMITS
       /MLIMITS/NLIMITS/XLIMITS/YLIMITS/ZLIMITS/TLIMITS/ELIMITS/FLIMITS
       /CLOBBER/QUIET/WIDTH/EDGES/BOUNDS/NOBOUNDS/NOROWLAB/KEEP_AXI/NCFORMAT
       /XCHUNK/YCHUNK/ZCHUNK/TCHUNK/ECHUNK/FCHUNK/DEFLATE/SHUFFLE/ENDIAN
       /OUTTYPE/CURVILIN/LAYERZ/ASGLOBAL/STRLEN

has /T and /TITLE and /TLIMITS and /TCHUNK.  Using /T will be interpreted as being a time specifier.


8884 Boot release service via genExec

https://github.com/Shippable/pm/issues/8884

Completed release task in booting up with genExec in RC


Fix coveralls parallel build issues

This should fix some occasional problems with coveralls not combining coverage correctly. I haven't noticed the problem in OPS as much as in other projects, but I expect we'd have the same issues.

I'll leave this up for 24 hours for review/comment. The 1.8% bump in coverage in this PR suggests to me that it is working.


exec doesn't work on MS Windows

Is the exec builtin expected to work on MS Windows? If not it probably needs a better error message:
~> exec \msys64\usr\bin\bash.exe
Exception: arity mismatch: arguments here must be 0 values, but is 1 value
[tty 9], line 1: exec \msys64\usr\bin\bash.exe
~> \msys64\usr\bin\bash.exe
krader@Windows10 MSYS ~
#

I finally took a look at how Elvish handles the exec builtin and, not too surprising, it is explicitly not supported on Windows (see pkg/eval/builtin_fn_cmd_windows.go). This issue against Go is relevant: https://github.com/golang/go/issues/30662. Using os.Exec() on Windows is probably the simplest way to resolve this. Also, it's not clear why the unix support code is using syscall.Exec() rather than os.Exec().

There is still the problem that the error message is wrong regardless of whether exec is implemented for Windows.

Gah! The documentation states: "This command always raises an exception on Windows." Not sure how I missed that but it should probably be rephrased along these lines:
// **Note:** This command only works on UNIX.

Ha, the error message is caused by the Windows version of the implementation not actually accepting any arguments. This is now fixed.

Gah! The documentation states: "This command always raises an exception on Windows." Not sure how I missed that but it should probably be rephrased along these lines:
// **Note:** This command only works on UNIX.

I avoid phrasing like "works" and "doesn't work" since it's unclear what would happen if you use something that doesn't work. Saying that this command raises an exception is better than saying that it doesn't work.

And the doc string should be in file pkg/eval/builtin_fn_cmd.go rather than pkg/eval/builtin_fn_cmd_unix.go

Since there is only an implementation for Unix, putting it in ..._unix.go keeps the elvdoc closer to the implementation.


removed the removal of the patch for the kernel BT driver.

When enabling the uart3 DT overlay, bluetooth sometimes fails to come up on reboots. The following observations were made on the Balena OS v2.89.3+rev1 for the Raspberry Pi CM4. A test program has been written that repeatedly checks the state of the bluetooth and reboots the RPi. In the following, I will note the percentage success rate and the number of reboots with N=xxx.
In the default configuration, i.e. no extra DT overlays. The bluetooth comes up 100 % of the time N=90.
When the uart3 DT overlay was added, bluetooth came up 45% of the time N=2420. We have posted about this issue on the Raspberry Pi forum. Details of the possible reasons and solutions are listed there. The main solution was to switch on the kernel BT driver via the DT param krnbt=on. This improved the success rate with BT coming up 95 % of the time N=611. However, this is not 100 %.
The kernel logs suggested that there was a missing patch file.
kern  :err   : [    5.537772] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
kern  :err   : [    5.537784] Bluetooth: hci0: BCM: 'brcm/BCM4345C0.hcd'
kern  :err   : [    5.537790] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'

After copying the BCM4345C0.hcd file in /lib/firmware/brcm, the kernel logs didn't show any errors and the bluetooth came up 100 % of the time N=659.
Interestingly, the BCM4345C0.hcd file exists in a raspberry Pi 4.
The solution
So the solution is to have this file copied in the built OS. Looking in the meta-raspberrypi and meta-balena-raspberrypi layers it seems that meta-raspberrypi installs this file in the bluez-firmware-rpidistro recipe  line 52. This recipe provides the package bluez-firmware-rpidistro-bcm4345c0-hcd which installs the BCM4345C0.hcd file. The meta-balena-raspberrypi recipe packagegroup-balena-connectivity.bbappend, doesn't not install this package for the PRi CM4 (see lines 73 and 80).
By removing line 73, the BCM4345C0.hcd was installed in the built OS.
Please let me know if there is any reason why this file was removed for the RPi CM4 build.

Can one of the admins verify this patch?

@resin-jenkins test this please

Hi @hicklin and thanks for your PR. That list of firmware files was removed for the newly added boards at that point due to space constraints, let's see if we can add it back now.
Meanwhile, can you please modify the commit message according to the commit guidelines so it can pass the versioning check? For instance:
packagegroups: Include BCM4345C0 firmware for CM4, Pi4, Pi400

Changelog-entry: packagegroups: Include BCM4345C0 firmware for CM4, Pi4, Pi400
Signed-off-by: Your Name<EMAIL_ADDRESS>

Hi @hicklin , can you please rebase this on top of master and create a single commit for this change? For now there are 4 commits and since it's just one line it can be added trough one commit that has Changelog-entry and Signed-off-by:
Commits on Feb 14, 2022

[removed the removal of the patch for the kernel BT driver.](https://github.com/balena-os/balena-raspberrypi/pull/786/commits/63bd7f51f3739a97847c3e4ea06a964e2928c3a0)
    William Hicklin committed 21 hours ago

Commits on Feb 15, 2022

[Merge branch 'master' into fix_BT_reliability_on_RPi_CM4](https://github.com/balena-os/balena-raspberrypi/pull/786/commits/fc9e9495b0a330cc1a08090b1f48dec12ef7cefc)
    @[acostach](https://github.com/hicklin/balena-raspberrypi/commits?author=acostach)
    acostach committed 4 hours ago

[packagegroups: Include BCM4345C0 firmware for CM4, Pi4, Pi400](https://github.com/balena-os/balena-raspberrypi/pull/786/commits/ed9b0ef3c23adf13ca8d72bf45a4937b3a404117)
William Hicklin committed 3 hours ago

[Merge branch 'fix_BT_reliability_on_RPi_CM4' of github.com:hicklin/ba…](https://github.com/balena-os/balena-raspberrypi/pull/786/commits/0261dcdecc07a8063972d90be15046ade2d7ade2)
William Hicklin committed 3 hours ago

You can then force push the branch in your repository and it should be automatically updated in this PR. Thanks

Hi @acostach, it should all be neatly compressed in one commit now.

@hicklin sorry, it seems that 3 more commits were added:  William Hicklin and others added 7 commits 11 minutes ago and the branch has conflicts that can't be resolved by github. Can you try updating the master branch in your forked repo so that it matches the SHA of the current master branch and then apply your commit? Alternatively you can open a new PR to replace this one.

Opened another PR with a clean commit.


chore: Change service constructor result type back (from trait to concrete class)

Description of changes:
Reverts the part of https://github.com/smithy-lang/smithy-dafny/pull/301 that changed the result type of constructing services from the concrete class type to the trait type, which turned out to be breaking in .NET as well as Dafny and was manually reverted in https://github.com/aws/aws-cryptographic-material-providers-library/pull/257. See https://github.com/aws/aws-cryptographic-material-providers-library/pull/267 for the upcoming proper fix to the MPL using this change.
As it turns out this change wasn't necessary in the first place, and the CreateSuccessOfClient/CreateFailureOfError helpers are unchanged and still use the trait type, because these helpers are only needed for services that are created by target language code, i.e. SDK-style services and --local-service-test wrapped services. Regular local services are constructed in Dafny code so they never need the helper methods.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

You need to pull that MPL into the DB-ESDK and pass tests in Dafny, Java, & .NET to prove that this addresses the breaking change.

Bring it on. :) The best solution might be to change the Daily CI in the ESDKs to pull in the latest MPL and make sure all CI passes. That will be similar (and less complicated) than the nightly CI that does that and regenerates all code to try out the latest Dafny prerelease.

Hang on, I can probably do this for you faster... one minute.


Create the 'links' table.

Why:

So we can store the links shared.

This change addresses the need by:

Creating 'up' and 'down' migrations.

🆗

🆗
You could have rebased this, and the extra merge commit would not be needed.

🆗


Scan test to ensure all with delay and limit works correctly

Coverage decreased (-82.3%) to 0.0% when pulling 8958086b47493e76d2c85beb0c640be9961469c5 on fishcharlie:scantests into d25b045050f9a54bf646fb7f89c531a6e21e16fa on automategreen:master.


[StatsMigration] Add mysql tables for partition class reports

We already migrated account stats report from helix to mysql, this PR would start the first step to migrate partition class report from helix to mysql by adding mysql tables.
This is the design doc for partition class report migration https://docs.google.com/document/d/1obzRunMrcA0BuBMLw42tw87gjzlGeZW4gpSw-4l47wI/edit#heading=h.1olkullkqvdq
A partition class report include account/container storage usage and keep them under different partition class names. A typical partition class report looks like this
{
    “max-replicas-all-datacenter”:{
        "Partition[11548]":{
            "A[1085]___C[8]":{"v":531308584},
            "A[1174]___C[8]":{"v":1443934},
            "A[1174]___C[9]":{"v":638918}
       }
    },
    “Video-31”:{
        "Partition[11657]":{
            "A[1085]___C[8]":{"v":524193383},
            "A[1174]___C[9]":{"v":1781907},
            "A[1186]___C[9]":{"v":153613},
            "A[154]___C[3]":{"v":12735027},
            "A[320]___C[8]":{"v":18379013},
            "A[320]___C[9]":{"v":1599623}
        }
    }
}

As you can see, the account/container usage data is exactly the same data as the AccountReoprt, so we can keep those storage usage data in AccountReports table. After that, we need to save partition and partition class metadata in other tables.
Partition class names like "max-replicas-all-datacenter", "video-31" would be saved in PartitionClassNames table. Partition ids would be saved in Partitions table. So to fetch the partition report for a given host:
1. select * from AccountReports where clusterName = clusterName and hostname = host; -> return all containers's usages
2. select Partitions.id, PartitionClassNames.name from Partitions INNER JOIN PartitionClassNames where Partition.partitionClassId = PartitionClassNames.id and Partitions.clusterName = PartitionClassNames.clusterName -> get all the partitions and their partition class names;
3. Separate partition ids based partition class names, and separate containers' usages based on what partition id container belongs to.

Codecov Report

Merging #1761 (72a5fb2) into master (c0051b1) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1761      +/-   ##
============================================
+ Coverage     73.58%   73.59%   +0.01%
- Complexity     9255     9257       +2
============================================
  Files           681      681
  Lines         51038    51038
  Branches       6365     6365
============================================
+ Hits          37555    37561       +6
+ Misses        11503    11497       -6
  Partials       1980     1980

Impacted Files
Coverage Δ
Complexity Δ

...hub/ambry/protocol/CatchupStatusAdminResponse.java
75.00% <0.00%> (-6.25%)
6.00% <0.00%> (-1.00%)

...a/com/github/ambry/rest/ServerSecurityHandler.java
91.66% <0.00%> (-5.56%)
8.00% <0.00%> (-1.00%)

...a/com/github/ambry/network/SSLBlockingChannel.java
75.67% <0.00%> (-5.41%)
4.00% <0.00%> (ø%)

.../com/github/ambry/network/BlockingChannelInfo.java
80.95% <0.00%> (-3.18%)
16.00% <0.00%> (ø%)

...bry/network/http2/Http2MultiplexedChannelPool.java
67.85% <0.00%> (-1.54%)
31.00% <0.00%> (-1.00%)

.../ambry/network/http2/MultiplexedChannelRecord.java
69.46% <0.00%> (-1.53%)
33.00% <0.00%> (-1.00%)

...c/main/java/com/github/ambry/network/Selector.java
78.03% <0.00%> (-0.52%)
78.00% <0.00%> (ø%)

...main/java/com/github/ambry/store/IndexSegment.java
85.35% <0.00%> (-0.32%)
140.00% <0.00%> (-2.00%)

...ava/com/github/ambry/store/BlobStoreCompactor.java
90.26% <0.00%> (-0.28%)
130.00% <0.00%> (ø%)

...java/com/github/ambry/router/GetBlobOperation.java
90.31% <0.00%> (-0.16%)
48.00% <0.00%> (-1.00%)

... and 11 more

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 c0051b1...72a5fb2. Read the comment docs.


New script to change the cs admin username/password

An example of updating both the username and password:
dan-cs-admin $ time ./change-cs-credentials.sh -u administrator -p my-super-long-password-for-administrator
INFO: Waiting for the platform-auth-idp-credentials secret to appear
NAME                            TYPE     DATA   AGE
platform-auth-idp-credentials   Opaque   2      17h
INFO: Found the secret platform-auth-idp-credentials in the namespace 'ibm-common-services'
INFO: CP_USERNAME: admin7
INFO: CP_CONSOLE: cp-console.dan-cs-admin-ec111ed5d7db435e1c5eeeb4400d693f-0000.eu-gb.containers.appdomain.cloud
INFO: Downloading cloudctl
INFO: Doing the cloudctl login
INFO: cloudctl login succeeded
INFO: Updating the admin password
INFO: Updating the admin username
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 0 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 5 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 10 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 15 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 20 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 25 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 30 seconds.
WARNING: Failed to update the admin username
INFO: Waiting up to 10 minutes to update the admin username. Waited for 35 seconds.
INFO: Updating the clusterrolebinding role-based access control (RBAC) object with the new username
clusterrolebinding.rbac.authorization.k8s.io/oidc-admin-binding replaced
clusterrolebinding.rbac.authorization.k8s.io/oidc-admin-binding replaced
INFO: Checking can cloudctl login using the new username/password
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 0 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 5 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 10 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 15 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 20 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 25 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 30 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 35 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 40 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 45 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 50 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 55 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 0 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 5 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 10 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 15 seconds.
INFO: cloudctl login succeeded

real	5m44.136s
user	0m4.111s
sys	0m3.786s

An example of just updating the password:
dan-cs-admin $ time ./change-cs-credentials.sh -u administrator -p my-super-long-password-for-administrator2
INFO: Waiting for the platform-auth-idp-credentials secret to appear
NAME                            TYPE     DATA   AGE
platform-auth-idp-credentials   Opaque   2      17h
INFO: Found the secret platform-auth-idp-credentials in the namespace 'ibm-common-services'
INFO: CP_USERNAME: administrator
INFO: CP_CONSOLE: cp-console.dan-cs-admin-ec111ed5d7db435e1c5eeeb4400d693f-0000.eu-gb.containers.appdomain.cloud
INFO: Downloading cloudctl
INFO: Doing the cloudctl login
INFO: cloudctl login succeeded
INFO: Updating the admin password
INFO: Username not changed
INFO: Checking can cloudctl login using the new username/password
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 0 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 5 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 10 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 15 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 20 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 25 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 30 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 35 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 40 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 45 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 50 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 55 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 0 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 5 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 10 seconds.
WARNING: Unable to login to the console as user 'administrator' with the given password
INFO: Waiting up to 15 minutes to login using cloudctl. Waited for 1 minutes, 15 seconds.
INFO: cloudctl login succeeded

real	3m5.834s
user	0m2.412s
sys	0m2.211s


Add GitTime by @87kangsw

[x] Project URL:
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

@87kangsw thanks!


⚠ SkipTheCommericals has degraded performance

In 5d2a5d8, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1262 ms

Resolved: SkipTheCommericals performance has improved in 203c8d6.


Added setter for contentsScale

I need this setter to be able to set right scaling factor for the layer.
There's one but: I also added the definition for the CGFloat type. However, this type is already defined in core-graphics crate. It's just a one type, but if there is more redundancy, it should be considered to depend on core-graphics, since the types from there are used quite throughly.

Oops, sorry, I was careless. contentsScale is on CALayer, not CAMetalLayer.


ssl behaviour with passphrase certs is broken

scylla-cqlsh           6.0.11
when used with ssl:
$ .local/bin/cqlsh --ssl X.X.X.X
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
Connected to XXXX at X.X.X.X:19142.
[cqlsh 6.0.11 | Scylla 2022.2.12-0.20230727.f4448d5b0265 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh> Enter PEM pass phrase:

while original 2022.2.12 cqlsh works:
$ cqlsh --ssl $HOSTNAME
Enter PEM pass phrase:
Enter PEM pass phrase:
Connected to XXXX at X.X.X.X:19142.
[cqlsh 5.0.1 | Cassandra 3.0.8 | CQL spec 3.3.1 | Native protocol v4]
Use HELP for help.
cqlsh>
cqlsh> desc schema;
...

Scylla is of course enabled with SSL and certificates,
client cqlshrc:
$ cat ~/.cassandra/cqlshrc
[cql]
version = 3.3.1
[connection]
hostname = X.X.X.X
port = 19142
#factory = cqlshlib.ssl.ssl_transport_factory
[ssl]
certfile = ~/TLS/root_ca.crt
validate = false
userkey = ~/TLS/scylla-server.key
usercert = ~/TLS/scylla-server.crt

local certificates are protected by a pass phrase

I can confirm I can see the same issue.
I think it's due the fact this now uses the shared aware driver with open more connections and might open then in parallel, which kind of break the UI which asks for the phrase.

So first we should see if disabling shared aware helps, not the best option, but maybe cqlsh can by default without shard awareness.

check if we can switch into using ssl context, so it might ask for the passphrase once before even hitting the driver


Adding Extensible enum type

Addressing https://github.com/Azure/autorest/issues/1591
Adding ExtensibleEnums type and related serialization/deserialization logic to ClientRuntime
Most of the code is derived from the solution implemented by  @brjohnstmsft

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

/cc @brjohnstmsft and @mattchr

Looks like we also have some test cases (here)[https://github.com/Azure/azure-sdk-for-net/blob/3f736b5af3851ab99bbaa98483ae537de0d48cfb/src/SDKs/Search/DataPlane/Search.Tests/Tests/ExtensibleEnumTests.cs#L10] which we may be able to leverage

@dsgouda It would be great if you could bring in the test cases too.

@brjohnstmsft I am working on the test cases will update the PR when ready

@brjohnstmsft  Addressed most of your comments and added a couple of simple tests, feel free to suggest any edge cases we can test here
Still waiting on some feedback with regards to other comments

@dsgouda What about these tests? Can you include them as well?

@azuresdkci test this please

@dsgouda whenever you are ready to merge/update this PR, please reopen this PR or create a new one.


Header corruption when text size only is increased in Firefox

Firefox has an option to zoom only the text size and not the rest of the page elements. When this is done to extremes the navigation bar does this:

This seems to be a problem with the Layout super navigation header.

It turns out we can't fix this easily through CSS changes alone. We're using JS to show/hide the Menu button and the dropdown navigation list depending on whether the browser is in "desktop" state or "mobile" state. There's a simple check in the JS that checks the current window width:
var windowSize = function () {
  return document.documentElement.clientWidth >= SETTINGS.breakpoint.desktop ? 'desktop' : 'mobile'
}

However, when Firefox is using its text-only zoom mode, this function never runs because the browser width has not changed. The browser width is only considered to have changed if the user stretches the browser, or a breakpoint is matched to the device size. In Firefox's case, this is only going to happen when text-only zoom mode is off.
I can't see any way of quickly fixing this without some significant refactoring of the entire component.
So, is a refactoring effort warranted for this edge case...? I'm not sure it is. The menu is still usable, even though it does not look ideal.
We could improve the layering problems by switching the height of the logo to use em rather than px – this would create a relationship between the size of the logo and the current text size. We can also just remove the height of the logo. Both these options successfully push the problematic menu down the page, clearing the black menu (but would need further tweaks to still look right in other browsers that don't have a text-only zoom option).
Another alternative is to move away from using pixel units entirely. Using rem and em for all measurements yields more robust interfaces that can squash and stretch with the base font size. Firefox text-only zoom would work flawlessly if our UI used this approach, and the interface would scale much more predictably in all browsers when zoomed, and on all devices.
Open to thoughts from others...

Great investigating @matthillco. Does the problem occur if a user has simply set a very high custom text size in their browser, or is it only when zooming in Firefox?

@andysellick The problem seems specific to Firefox text-only zoom. When other browsers (Safari, Chrome, Edge) are zoomed to their highest value (~500%), the breakpoints kick in and the layout displays as for phone or tablet.

I have now tested setting other browser's base font size to "large" or "very large". The header breaks in exactly the same way as reported in this issue... So, it's not just a Firefox problem.
We will need a full refactor of this component if we want to solve this problem for all possible zoom/font-size settings.


vite.js hotreload is replaced by page reloading, if I modified the App.jsx and save it.

hot-reload is not possible after integration vite-bundle. The vite dev server will trigger reloading the whole page. It can cause the problem with performance, if the page is getting complexer. It can cause the big trouble, if the page has multiple REST requests to remote APIs.
Is there any solution for it? or I made something wrong?

Hi @vikbert,
Thanks for your return,
I do not practice React, so you will guess that I had not done any tests with it...
Indeed there was a problem with this line
import RefreshRuntime from "/@react-refresh"

your browser try to resolve this url with the symfony webServer and not the vite dev server.
With this fix, depending on configuration, this line became
import RefreshRuntime from "http://localhost/build/@react-refresh"

and the hot reload is ok !
however the set only works for the moment with Symfony configured with a virtual host. If you try to use
symfony server:start

to serve your symfony dev server you will have annoying page reloads.
your advice is welcome !

@lhapaipai thx very much. I will have a try as you suggested.


[Relay] Fix match case in Python-side expr functor

As discovered by @jroesch in #3560, the Python-side expr functor was not preserving the completeness flag for match expressions.
This PR fixes that bug and adds a test case for it.
CC @soiferj @anijain2305

Thanks @MarisaKirisame @soiferj @weberlo @anijain2305


Update site for main branch and auto site build

Update links and references from the master branch to main
Add .asf.yaml with configuration to automatically stage the site
Update instructions for contributing and testing the site build
Remove post-commit hook for locally updating asf-site

This is already agreed to on the mailing list, but I wanted to post this here for a sanity check, to make sure I didn't break any links before merging, and because I updated the documentation, which hadn't yet been reviewed.


Line 1 error expected object

Hi, I know pretty much nothing about js but I keep getting this issue and I dont know how to solve it
Script: C:/Users/myname/Desktopdiscordbot/bot.js
Line: 1
Char: 1
Error: Object expected
Code: numbers
Source: Microsoft JScript runtime error

Looks like you're running this by clicking on it. Try running it by opening cmd.exe and typing cd Desktopdiscordbot && node bot.js.

I had the same issue, and when I loaded by the cmd, it says me that:
SyntaxError: C:\Users\Usuario\Desktop\jesus-bot\auth.json: Unexpected token D in JSON at position 0
at parse ()
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1106:22)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\Usuario\Desktop\jesus-bot\bot.js:3:12)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)


[openssl] Build failure due to nasm.us being down

Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
`./vcpkg install openssl`

Failure logs
Installing 80/81 openssl:x64-windows...
Building openssl:x64-windows...
-- Installing port from location: D:\a\yuzu\yuzu\externals\vcpkg\buildtrees\versioning_\versions\openssl\dc8edd2b6e1e1552688c29dc46d5cd5c9183804b
-- Downloading https://github.com/openssl/openssl/archive/openssl-3.1.1.tar.gz -> openssl-openssl-openssl-3.1.1.tar.gz...
-- Extracting source D:/a/yuzu/yuzu/externals/vcpkg/downloads/openssl-openssl-openssl-3.1.1.tar.gz
-- Applying patch disable-apps.patch
-- Applying patch disable-install-docs.patch
-- Applying patch script-prefix.patch
-- Applying patch windows/install-layout.patch
-- Applying patch windows/install-pdbs.patch
-- Applying patch unix/android-cc.patch
-- Applying patch unix/move-openssldir.patch
-- Applying patch unix/no-empty-dirs.patch
-- Applying patch unix/no-static-libs-for-shared.patch
-- Using source at D:/a/yuzu/yuzu/externals/vcpkg/buildtrees/openssl/src/nssl-3.1.1-53a8e40f57.clean
-- Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip -> nasm-2.16.01-win64.zip...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from D:\a\yuzu\yuzu\externals\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\a\yuzu\yuzu\externals\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip
warning: Download failed -- retrying after 1000ms
warning: Download failed -- retrying after 2000ms
warning: Download failed -- retrying after 4000ms
error: Failed to download from mirror set
error: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip: WinHttpSendRequest failed with exit code 12002
error: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip: WinHttpSendRequest failed with exit code 12002
error: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip: WinHttpSendRequest failed with exit code 12002
error: https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip: WinHttpSendRequest failed with exit code 12002
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(962):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 15us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 1211us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 1.5 min (91186431us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_find_acquire_program.cmake:172 (vcpkg_download_distfile)
  buildtrees/versioning_/versions/openssl/dc8edd2b6e1e1552688c29dc46d5cd5c9183804b/windows/portfile.cmake:1 (vcpkg_find_acquire_program)
  buildtrees/versioning_/versions/openssl/dc8edd2b6e1e1552688c29dc46d5cd5c9183804b/portfile.cmake:68 (include)
  scripts/ports.cmake:147 (include)

error: building openssl:x64-windows failed with: BUILD_FAILED
Elapsed time to handle openssl:x64-windows: 1.6 min
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
    https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+openssl
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?title=[openssl]+Build+error&body=Copy+issue+body+from+D%3A%2Fa%2Fyuzu%2Fyuzu%2Fbuild%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
You can also sumbit an issue by running (GitHub cli must be installed):
    gh issue create -R microsoft/vcpkg --title "[openssl] Build failure" --body-file D:/a/yuzu/yuzu/build/vcpkg_installed/vcpkg/issue_body.md
-- Running vcpkg install - failed
CMake Error at externals/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (message):
  vcpkg install failed.  See logs for more information:
  D:\a\yuzu\yuzu\build\vcpkg-manifest-install.log
Call Stack (most recent call first):
  CMakeLists.txt:149 (include)

Additional context
nasm.us is down, and no additional mirrors are provided.

I have a cached copy in my vcpkg/downloads folder, hope this helps, just drop into your vcpkg/downloads folder:
nasm-2.16.01-win64.zip

The download of nasm-2.16.01-win64.zip failed. Please check the network proxy and check whether there is a firewall or anti-virus software blocking the download.

cant open nasm web

Shouldn't there be a mirror in case the main source is down? I can't use a cached copy like StarGate-One suggested since I'm using automation.

I have a cached copy in my vcpkg/downloads folder, hope this helps, just drop into your vcpkg/downloads folder: nasm-2.16.01-win64.zip

it works, thanks~

I have a cached copy in my vcpkg/downloads folder, hope this helps, just drop into your vcpkg/downloads folder: nasm-2.16.01-win64.zip

Thanks! It works, but need to fix that

Shouldn't there be a mirror in case the main source is down?

The vcpkg team doesn't currently operate such mirrors because it involves licensing mess.

somebody has the mac zip file for this? it is still down.

They are up again so this issue can be closed.

@jimwang118  this issue seems to be back.

@jimwang118 this issue seems to be back.

Yes, the upstream website can’t be opened again, so we need to wait for the upstream website to recover.

today
https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/win64/nasm-2.16.01-win64.zip:
WinHttpSendRequest failed with exit code 12002

This is happening again...

again

Something new happened over the past 7 hours?

Maybe switch over to https://fossies.org/windows/misc/nasm-2.16.01-win64.zip ?

Why not use the mirror?

Why not use the mirror?

The content seems to be different
  "2.15.05":
    sha256: "3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f"
    url: "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz"

becoms
    sha256: "f575c516b5c1c28d5d64efdc26ed52b137ad36bfbd2d855d4782f050ca964245"
    url: "https://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-2.15.05.tar.gz"

Maybe switch over to https://fossies.org/windows/misc/nasm-2.16.01-win64.zip ?

fossies.org's Terms of Use forbid "regular automated accesses" so AFAIU it cannot be used as part of build recipes or CI.
Cf. https://fossies.org/about.html

Why not use the mirror?

vcpkg fails to download binaries (nasm-2.16.01-win64.zip). The github repo doesn't provide them AFAICS.

MSYS2 has nasm binaries, but these are independent builds.
https://packages.msys2.org/base/mingw-w64-nasm

Why not use the mirror?

The content seems to be different
  "2.15.05":
    sha256: "3caf6729c1073bf96629b57cee31eeb54f4f8129b01902c73428836550b30a3f"
    url: "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.xz"

becoms
    sha256: "f575c516b5c1c28d5d64efdc26ed52b137ad36bfbd2d855d4782f050ca964245"
    url: "https://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-2.15.05.tar.gz"

Different algorithms for compressing archives give different hashes, it looks like this

vcpkg fails to download binaries (nasm-2.16.01-win64.zip). The github repo doesn't provide them AFAICS.

Well, by tag nasm-2.16.01 i see only https://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-2.16.01.zip, non-windows-specific version
thats sad

Anyone have contact info for the nasm.us folks? If they would put the content on github we would love to add mirrors. We have historically not operated our own mirrors because licensing scary, not because we don't think it would be an improvement.

I'm keep seeing issue by trying to reach given mirror.

Anyone have contact info for the nasm.us folks?

Maybe https://lists.nasm.us/nasm-devel/<EMAIL_ADDRESS>

nasm.us is available (at the time of writing this comment).

Its down again :(

I have a cached copy in my vcpkg/downloads folder, hope this helps, just drop into your vcpkg/downloads folder: nasm-2.16.01-win64.zip

Thank you!  I was stumped until I read your solution.

So https://nasm.us is back up. Their homepage indicates that their source code is already on GitHub, at https://github.com/netwide-assembler/nasm

The source code is, but at this time vcpkg does not build nasm - it just downloads the appropriate pre-built binaries from https://nasm.us...

So https://nasm.us is back up. Their homepage indicates that their source code is already on GitHub, at https://github.com/netwide-assembler/nasm

And....... It's back down again 🙄

Is there any compelling reason not to build from source? This is becoming kind of a nuisance.

A mirror was added in commit https://github.com/microsoft/vcpkg/commit/fe1369ae9008da49a0b65e1fd26abeff2f257c71 today, so you may need to do a git pull to update scripts/cmake/vcpkg_find_acquire_program(NASM).cmake script.

This PR 32806 adds a different nasm download address, update vcpkg to get it if you need it.


macOS: Update context when window becomes the key window

Call -update when window becomes the key window
Bugsquad edit: Fixes #22689.

Thanks!

This is not sufficient for full fix.
Splash screen is not rendered correctly. And it doesn't constantly work with .app bundled project manager (console executable, projects and editor looks OK).
SDL fix (context update in NSView::updateLayer) is looks a bit more reliable for me, but window is still rendered blank during some portions of loading process.


Maps parcelation

@dallasgutauckis this is you PR + my changes
Please test it if you can. I've added sample android test project with parcelation unit tests.
Let me know what you think or if I've missed anything.

I've gotten underway on reviewing this but it's going to take me a bit more time.


[Feature] Task dispatch failed to increase failure retry

Purpose of the pull request

After the task dispatch fails, it is put into the failed retry queue.
Assign the retry interval according to the number of retries.
The retry interval is implemented by polling the delay queue.
Update dolphinscheduler_postgresql.sql.

Brief change log
#11463
replace #11464
Verify this pull request
Manually verified the change by testing locally.

Codecov Report

Merging #11640 (949140b) into dev (cf3b442) will increase coverage by 0.01%.
The diff coverage is 27.27%.

:exclamation: Current head 949140b differs from pull request most recent head e339d8b. Consider uploading reports for the commit e339d8b to get more accurate results

@@             Coverage Diff              @@
##                dev   #11640      +/-   ##
============================================
+ Coverage     39.83%   39.84%   +0.01%
- Complexity     4708     4719      +11
============================================
  Files           996      999       +3
  Lines         37760    37805      +45
  Branches       4208     4204       -4
============================================
+ Hits          15040    15063      +23
- Misses        21153    21172      +19
- Partials       1567     1570       +3

Impacted Files
Coverage Δ

...ster/consumer/TaskDispatchFailedQueueConsumer.java
0.00% <0.00%> (ø)

...ver/master/consumer/TaskPriorityQueueConsumer.java
7.05% <0.00%> (+7.05%)
:arrow_up:

.../server/master/registry/MasterWaitingStrategy.java
0.00% <0.00%> (ø)

...heduler/service/queue/TaskDispatchFailedQueue.java
0.00% <0.00%> (ø)

...scheduler/service/queue/TaskPriorityQueueImpl.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...e/dolphinscheduler/service/queue/TaskPriority.java
55.00% <60.00%> (+4.33%)
:arrow_up:

...heduler/service/queue/TaskFailedRetryPriority.java
93.33% <93.33%> (ø)

.../org/apache/dolphinscheduler/common/Constants.java
79.16% <100.00%> (+0.90%)
:arrow_up:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Can't use registry.aerokube.com

Hy,
I try to deploy moon. Where can i sign in registry.aerokube.com ?
regards

@mej933 please send your desired username to<EMAIL_ADDRESS>and we'll reply with a password.

This should be fixed.


Use single quotes in statement

Refer to https://github.com/spruceid/siwe-recap/pull/16 for the PR description.

Closing since this is now merged into upstream, and we can just pull into our main now.


consensus command

Hello,
I'm sorry, but I'm not sure I understand what the consensus command does...  Because when I tried, it takes one genome position and return a sequence of different lengt depending of the genome location.
Does it take all the reads aligned in one position, and then generate a consensus sequence of all the group of reads ?
I'm a virologist and I'm looking for a new tool (different from bcftools) that generate consensus sequence of a complete genome (and in my case less than one hundred thousand nucleotide), does alfred help me with that ?
Thank a lot.
Alexandre

Does it take all the reads aligned in one position, and then generate a consensus sequence of all the group of reads ?

Yes, it builds a multiple-sequence-alignment and then generates a consensus sequence from that. It's indeed for a "local" reference-guided assembly.

OK. Thank you for your answer.
Is there any possibility for adding an option that generate consensus sequence over the entire genome using the same process?

One could write a script that computes the consensus every ~250bp (depends on your read length) and then merges these consensus sequences. Not trivial but that could be an option.


fix(types): improve types for voiceSearch

Summary
This makes the types of the two things non-optional.

isSpeechFinal
transcript

The related discussion is here

I'm doing the change here first before React. @samouss


docs: update multi-agent tutorials to use Command

Not sure if this is all intended, but I would like to add a comment to make sure this was not a mistake:
There are only conditional edges now (the old mermaid graph used to have uninterrupted edges)
should be:
This is the descriptive representation from the tutorial (where the agent ALWAYS  reports back):

mermaid graph has changed to:
and here is the new mermaid graph that contradicts the intended behavior: it used to have uninterrupted arrows, but now it only has dotted arrows ( but the agent should always report back to the supervisor , no!?):


[Bug]: Upgrade page header is broken on smaller screens | audit-logs

Is there an existing issue for this?

[X] I have searched the existing issues

Description
The Audit log upgrade header is broken in CE

Steps To Reproduce

Pull the CE release
Open the localhost
Go to other tab and click on audit log
The header seems to be broken in smaller screens

Public Sample App
No response
Version
release

@vuiets @Debsourabh If the user screen is small, vertically, the header goes up. I guess the screen size here is 13". Do we have a fix for this in design?


Length-delimited frame encoder

A pair with #474: a ChannelOutboundHandler that receives ByteBuffer messages and sends a small ByteBuffer before them containing the length of that buffer in the appropriate fixed width integer form.

See https://github.com/netty/netty/blob/4.1/codec/src/main/java/io/netty/handler/codec/LengthFieldPrepender.java

Hi. I was thinking about picking this up. It seems like it should go next to the LengthFieldBasedFrameDecoder in apple/swift-nio-extras#17. It that correct or would you like me to send it to somewhere in this repository?

Sounds right to me

@tigerpixel Correct, that's where I'd put it too.

that's https://github.com/apple/swift-nio-extras/pull/19


Support for 24hour/12hour time format check

Feature request
In previous versions of package the was possibility to check system time format, which is not available in 5.6.1
Why it is needed
it would really nice to have this method is24Hour
Due to discussion there looks like it is possible to add it
Possible implementation
is available in discussion there

This API migrated to another package that works well, it will not return here:
https://github.com/react-native-community/react-native-device-info/wiki/V2-to-V3-Migration-Guide
BREAKING CHANGE: remove is24Hour, getTimezone, isAutoTimeZone and isAutoDateAndTime, getDeviceLocale, getDeviceCountry, getPreferredLocales
This was the result of a survey. It removes API duplication in the react-native-community modules
This is released in react-native-localize 1.2.0 - their README has the APIs to use native-localize.git and reference their new APIs usesAutoTimeZone + usesAutoDateAndTime (this should be released soon)


Wrong output language Azure Text-To-Speech

Hello everyone,
I use the javascript speech SDK of azure and I modified the speechSynthesisLanguage property to change the output language but it does not work. The output language is still english. I followed the documentation and use the demo code available on their repo.
(function() {
  // <code>
  "use strict";

  // pull in the required packages.
  var sdk = require("microsoft-cognitiveservices-speech-sdk");
  var readline = require("readline");
  const { exec } = require("child_process");

  // replace with your own subscription key,
  // service region (e.g., "westus"), and
  // the name of the file you save the synthesized audio.
  var subscriptionKey = "xxx";
  var serviceRegion = "francecentral"; // e.g., "westus"
  var filename = "test1.wav";

  // we are done with the setup

  // now create the audio-config pointing to our stream and
  // the speech config specifying the language.
  var audioConfig = sdk.AudioConfig.fromAudioFileOutput(filename);
  var speechConfig = sdk.SpeechConfig.fromSubscription(subscriptionKey, serviceRegion);

  speechConfig.setProperty('speechSynthesisLanguage', 'fr-FR')
  speechConfig.setProperty('speechSynthesisVoiceName', 'fr-FR-AlainNeural')
  console.log(speechConfig)

  //create the speech synthesizer.
  var synthesizer = new sdk.SpeechSynthesizer(speechConfig, audioConfig);

  var rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
  });

  rl.question("Test à saisir :\n", function (text) {
    rl.close();
    // start the synthesizer and wait for a result.
    synthesizer.speakTextAsync(text,
        function (result) {
      if (result.reason === sdk.ResultReason.SynthesizingAudioCompleted) {
        console.log("synthesis finished.");
      } else {
        console.error("Speech synthesis canceled, " + result.errorDetails +
            "\nDid you update the subscription info?");
      }
      synthesizer.close();
      synthesizer = undefined;
    },
        function (err) {
      console.trace("err - " + err);
      synthesizer.close();
      synthesizer = undefined;
    });
    console.log("Now synthesizing to: " + filename);
    exec(`vlc ${filename} vlc://quit`);
  });
  // </code>

}());

The output language is corretly set to fr-FR according to the doc.
console.log(speechConfig.getProperty('speechSynthesisLanguage')) //fr-FR

I tried to change the language by german or use the setServiceProperty(string, string, ServicePropertyChannel) method but it didn't work.
Do you have a solution? Thank you

Hi @Spixz - can you try setting the property directly from the config class? e.g.
speechConfig.speechSynthesisLanguage  = 'fr-FR'

Hi @Spixz - can you try setting the property directly from the config class? e.g. speechConfig.speechSynthesisLanguage = 'fr-FR'

Thanks for you answer, it was the correct solution. In the documentation the properties are called speechSynthesisLanguage and  speechSynthesisVoiceName but in fact, if you want to modify them with the setProperty() method, their names are not the same. They are respectively SpeechServiceConnection_SynthLanguage  and SpeechServiceConnection_SynthVoice. In fact, speechConfig.speechSynthesisLanguage = "en-FR" is equal to speechConfig.setProperty('SpeechServiceConnection_SynthLanguage', 'en-FR'). Thanks


Remove kubelet --allow-privileged flag for etcd HA setup with kubeadm

Ref #15045.

/assign @cstoku @smana
/lgtm

/approve

@smana please approve this pr

@Smana ping

/assign @tengqm

Can this be merged sooner? 👀

@tengqm, could you pleases assist?

@zacharysarah Can you merge this? :)

@ialidzhikov 👋 In the future, please open different PRs for each language changed. Because each language has its own set of approvers, PRs with multiple languages slow reviews down.
I opened an issue to make this clearer in the docs contribution guide: #15762.
/approve


FatalThrowableError in Facade.php line 217: Call to undefined method Laravelista\Ekko\Ekko::isAcxtiveRoute()

Hello @dameety,
Congratulations for this great work, i installed the app, when i try to login as admin it's give this error
FatalThrowableError in Facade.php line 217: Call to undefined method Laravelista\Ekko\Ekko::isAcxtiveRoute()
please considere this screenshot above.
Any idea ?
Regards

Greetings  @dukenst2006  The error us coming from the laravel ekko package. Please visit the doc on this link https://github.com/laravelista/Ekko. The package has been updated since i included it in the app so enabling it must have changed. Just follow the instructions on how to use it on the doc page and all should be fine.


Enumerations, structures, and functions all merged into one list

Comparing https://wiki.libsdl.org/CategoryVideo via the wayback machine and the new version:

Any updates on this? wiki.libsdl.org/CategoryAPI , which is essentially the single most important page of the wiki, is still broken in this manner. :/

It's worse than them being merged into one list, the links for structs and enums are just plain missing.

Well it is still happening, and it's a shame because it means users can't contribute to these pages easily.

This is resolved now, finally. The category lists are maintained automatically, so contributions to those pages would be fleshing out category documentation above the lists on the page. Like, basic rundowns of a specific subsystem, how to get started using it, etc.


Multiple Database Connection in 1 Tenant?

Hi,
Just want to ask if is it possible to do multiple database connection switching within just 1 tenant?
What are your ideas in approaching this?
Regards!

Can you elaborate on what you mean by multiple database connection switching with one tenant?
You can use multiple database connections. Make some model use a connection and it will be respected.

I mean I have this use case. In a single subdomain, eg: sub.mydomain.com
We have an option that allows us to change database connection based on the selected location which is in a  input.
<select>
<option>United States</option>
<option>United Kingdom</option>
</select>

Depending on the user's selection, I need to switch database, etc.
Basically, tenant switching is based on user's input.
Is this possible?

Basically, tenant switching is based on user's input

So you need to have a user shared between multiple tenants and let him switch between tenants?

Closing for inactivity.

Yes but instead of a full switch, I just want to switch the Database Connection. Is this possible?

Do you want to switch the database connection to some arbitrary connection, or to another tenant's connection?


[EK-49] Organize ros_utilities for release

This patch re-organizes this repository in preparation for its release to ROS 2. In particular, it:

Removes proto2ros* packages, as these will now live in their own repository.
Renames bdai_ros2_wrappers to rainbows to suit upcoming changes.

Yet bdai_ros2_wrappers is kept as an alias to rainbows.

Polishes containerization and packaging.

is it worth mentioning somewhere in the readme that the proto2ros stuff used to live here, and has now moved to another repo?

Good idea. Adding it :gear:

also looks like we just got the<EMAIL_ADDRESS>alias -- can we update that here too?

Holding this up until we've sorted out the package rename.

Moving forward


Update Desktop (1024px) Responsiveness Content

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a user
I want to view ECMPS in a responsive manner
So that it responds to the screen I an viewing it on
Acceptance Criteria
Given a user has accessed ECMPS
When it is viewed at a screen size at 1024
Then it is displayed according to the wireframes
Context
Responsive breakpoints
Testing
Test Case:
Tester:
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[ ] Is the user story ready to be deployed to the test/staging environments?

Any bugs will be resolved by a bug Ticket:
Desktop (1024px) Responsiveness Layout and Content - Bug #1791


Fix RtD silent build failure in autodoc directive

Overview
This PR fixes RtD silent build failure in autodoc directive.  The process list https://pavics-sdi.readthedocs.io/projects/raven/en/latest/processes.html is currently empty and it's not supposed to be like that.  We never got alerted because it's failing silently.
Fixed RtD build: https://pavics-sdi.readthedocs.io/projects/raven/en/test-rtd-build/processes.html and matching RtD build log https://readthedocs.org/api/v2/build/11524053.txt.
Changes:

Turn RtD warnings to build failure so they do not fail silently.

Change Travis-CI build config to also build Epub and Latex doc format to catch RtD failure on Travis-CI before PR is merged.

Various changes to remove all warnings in doc build since warnings will now fail the doc build.

Unrelated changes part of this PR (sorry !):

Refresh cookiecutter (first commit in this PR is technically not part of the intended fix of this PR).

Remove Travis-CI directive to only build master branch so all dev branch gets build on Travis-CI.  Otherwise we either have to create a PR when branch is not even ready or hardcode branch name in .travis.yml and have to remember to remove it at the end, very annoying.  See comment in https://github.com/Ouranosinc/raven/pull/292#discussion_r460044455

Additional Information
Matching cookiecutter PR https://github.com/bird-house/cookiecutter-birdhouse/pull/96
@richardarsenault You are probably not interested in the low level details in this PR.  I just want to draw your attention to the fact that I found 2 notebooks missing in the toctree (Region_selection.ipynb, Running_models_with_multiple_timeseries_files.ipynb).  I added them to the end of the toctree, wonder if you are okay with the ordering or these 2 notebooks were intended to not appear in the doc.

Fixed RtD build: https://pavics-sdi.readthedocs.io/projects/raven/en/test-rtd-build/processes.html and matching RtD build log https://readthedocs.org/api/v2/build/11524053.txt.

@tlvu Yeah that seems OK to me (the notebooks I mean). They are supposed to be there so that looks good to me. Can't really comment on the other things though!

Are most of these changes adapted from the cookiecutter?

Yes and new changes are also backported back to the cookiecutter.


Record is not support

declare type IUser = Record<'name' | 'phone', string>;

I'm seeing this too. To help in reproducing this, here is my example:
// Define a union of string literals for the keys
type StyleKeys =
  | 'labelledControl'
  | 'submitButton'
  | 'formContainer'
  | 'formFieldRow'
// more...
// Use the Record utility type to create a type with those keys, all having the same value type
type ReactStyles = Record<StyleKeys, CSS.Properties>
...
react: ReactStyles
...

Another question arises here - for a Record<> type, do we really want this extension to build the entire list of details for every property/record? That is:

I think not. If the entire node is composed entirely of properties that are all of the same complex type, I'm thinking it would be fine to have a single subnode off of the root, maybe named "_" that has all of the properties of type T ( CSS.Properties above ) and then the list of keys can just be shown as Keys (K extends string | number | symbol) without themselves being parent nodes with children (like for a simple union of literals or Boolean values) :

HTH

@bluescurry, @TonyGravagno
Thank you for your reports!
I have included this fix in the new release (v1.1.0), so please check it out!

Close.


Add If-Match and If-Not-Match headers when putting files

@PVince81 ready for review - THX

raise ticket for using official docker ?

I'm using an official docker image - the Dockerfile is a left-over ....


docs: Add guide for new host API

When applied, this commit adds a guide for the new host API.
It  also adds a sidebar node named "Guides" to the navigation tree and a guides index page.
Closes #3593
Signed-off-by: Vikram Vaswani<EMAIL_ADDRESS>

Making this draft so that it doesn't accidentally get merged since it refers to code which is not yet released


Module name not found with fqcn

Metric values are not found / counted for example include_tasks when written with fqcn.
- name: Include win_file.yml
  include_tasks: win_file.yml

from ansiblemetrics.playbook.num_included_tasks import NumIncludedTasks

with open('main.yml') as f:
   content = f.read()
print(NumIncludedTasks(content).count())

--> 1
- name: Include win_file.yml
  ansible.builtin.include_tasks: win_file.yml

--> 0

Hi, ansible.builtin.include_tasks was not implemented in this tool as back then it was not included in ansible.builtin.
Feel free to implement it and open a Pull Request 😀


Fix sw-toolbox path

I signed it!

Sorry; something went amiss in the 3.5.0 release of sw-toolbox on npm. It should be fixed in the 3.5.1. release that I just pushed out, and the old path should now be valid again.

Great, thanks


queen birthday in WA, AU is wrong

Queen birthday is on last Monday of September.
line 1911 in holidays.py

Already fixed. Closing


Update image-rs, enable avif-native feature. Bump MSRV.

Bump image dependency to 0.25.5
Enable avif-native feature for image
Bump MSRV to 1.80.1, 1.74 doesn't seem to compile anymore.

Closes #31

MSRV is wrong, reverting to draft for now until this is figured out.

Blocked by https://github.com/image-rs/image/pull/2382.

can you make avif an optional feature, it can be on by default.

Now we just need to wait for a release on the image crate.


Remove postinstall

Describe the bug
Can't install package.
To Reproduce
Steps to reproduce the behavior:
mkdir use-is-mounted-ref-bug
cd use-is-mounted-ref-bug
yarn add use-is-mounted-ref

error /Users/me/repos/use-is-mounted-ref-bug/node_modules/use-is-mounted-ref: Command failed.
Exit code: 127
Command: husky install
Arguments:
Directory: /Users/me/repos/use-is-mounted-ref-bug/node_modules/use-is-mounted-ref
Output:
/bin/sh: husky: command not found

Thanks for reporting it @xiaoxiangmoe! Already fixed at the v1.3.1.


feat: searcher calculates cluster type

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

searcher calculates cluster type.

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1729 (acee5b3) into main (86a6030) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1729      +/-   ##
==========================================
- Coverage   43.89%   43.85%   -0.04%
==========================================
  Files         128      128
  Lines       15830    15835       +5
==========================================
- Hits         6948     6944       -4
- Misses       8360     8368       +8
- Partials      522      523       +1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
43.85% <100.00%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

manager/searcher/searcher.go
87.96% <100.00%> (+0.58%)
:arrow_up:

scheduler/scheduler/evaluator/evaluator_base.go
91.83% <100.00%> (ø)

client/daemon/peer/peertask_conductor.go
56.35% <0.00%> (-0.66%)
:arrow_down:


Update opaques.md

@sjrd
Ah, I got it.
Since the bitwise operations aren't familiar to me, it was a confusion. lol.
I will close this PR.


gbc should output more structured error messages

The error messages from gbc should be more structured so that tools like Visual Studio/Emacs/whathaveyou can provide quick navigation to errors.
MSBuild and Visual Studio support this format.

This is implemented in comm (bcb36cc). Leaving this open until we get that merged into master.

bcb36cc has been merged into master.


Added missing comma to sample query

Hi @jfoshee, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@jfoshee Thanks for the contribution. I'll send this to the author for review.

Thanks Jacob!
Dene, please pull.


Call ResolveEndpointsAsync on correct authority in acquireTokenSilent

Fixes #322
Let me know if I should add tests.

@iamdavidfrancis I have reviewed and merged your PR. Thanks for fixing the issue.


Support for the Arabic language

Hello, I loved what you did with the project and I would like to contribute to it by adding Arabic translation to the documents.

Go after it. Fork the repo and open a pull request when you're ready. Many thanks!

Yess ! @yamanidev just create a pull request when you are ready.
Let me know if you need any help.
Looking forward for the translation 😃

@ParthJadhav I will haha, I have translated README.md (pushed to my fork), will start working on instructions.md very soon.

That's great @yamanidev ! Keep doing the great work 👏👏

I've created a pull request: https://github.com/ParthJadhav/Tkinter-Designer/pull/144


Inconsistent sliding speed in simple physics interaction

Godot version
4.1.2
System information
Windows 10
Issue description
Found an issue when trying to port a small game from 3 to 4.
There is an issue when a physics object such as characterbody3d or rigidbody3d slides across a surface (staticbody3d tested). When creating a simple physics interaction where an object should slide across the ground and gradually come to a stop, the actual speed of the object will be much lower than the velocity value.
The issue only seems to occur when the moving object starts airborne, or at least it is more prevalent in that case.
This behavior did not occur the project i made in godot 3, so i dont believe it is intended.
Steps to reproduce
Attached is a minimum reproduction project. Simply run the project and the example will play. The console logs the collision, the velocity and the actual speed of the moving object.
Minimal reproduction project
example.zip

This behavior did not occur the project i made in godot 3, so i dont believe it is intended.

Can you reproduce this in Godot 3 after switching the 3D physics engine to GodotPhysics in the Project Settings?

if i use GodotPhysics in the 3 version of the project the object never stops bouncing and causes a lot of other strange issues with collision


Pit Stop - Cell 00295334 - Contra & Aid Placement

Contraband_Any 0003D28B and Chem_Any 0003D28A obstructed

Details
Contraband_Any 0003D28B and Chem_Any 0003D28A are on the floor. ShipBunkStorage_05 000890D7 is sitting on top of them on the floor. This is ShipBunkStorage that does not open or have a door like a locker so it's not meant to place inside. My only guess is because the contra and aid are not in a layer and the storage is layer Room01 00089233 and they didn't have all layers loaded on placement. I just put them on top of it as there's no reflection on this cell.
I did the following:
Contra:
X: -13.5
Z: 34.6
Aid:
Z: 34.5
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Description

Fix:
SFCP_Issue_910.zip