Refactor and reorganize the handling of even-odd mutual recursion

Currently, pirouette can only handle even-odd mutual recursion. The previous sorting and organization of term dependencies grew a little too complex from many organic modifications. I decided it was time to refactor and re-organize some of that.
The previous processDecls function has been split in multiple parts:

sortDeps is now at Pirtla.Monad (here)
resolving the mutual recursion within dependency classes is now in a new module, Pirtla.Transformations
The term transformations that we want to apply to the definitions required by the transition function will be applied separately from resolving mutual dependencies

There's something else off too!
This is the resulting AddSignature action from the multisig contract:
ActionAddSignature(pk1110) ==
  /\ st.cons = "State1"
  /\ LET ds1101 ==
           st.arg0
         ds1102 ==
           st.arg1
      IN /\ ds1101.cons = "CollectingSignatures"
         /\ LET pmt1107 ==
                  ds1101.arg0
                pks1108 ==
                  ds1101.arg1
             IN /\ Bool_match(Params_match(param,
                                           LAMBDA sigs957,ds958 : foldr0
                                                                  (LAMBDA a,
                                                                          b : Bool_match
                                                                              (IF pk1110 = a
                                                                               THEN True
                                                                               ELSE False,
                                                                               True,
                                                                               b),
                                                                   False,
                                                                   sigs957)),
                              Bool_match(foldr0(LAMBDA a,b : Bool_match
                                                             (IF a = pk1110
                                                              THEN True
                                                              ELSE False,
                                                              True,
                                                              b),
                                                False,
                                                pks1108),
                                         False,
                                         True),
                              False)
                /\ LET res ==
                         Tuple21(TxConstraints1(Cons(MustBeSignedBy(Unit1), \* <--- HERE! Should be pk1110 not Unit1 !!
                                                     Nil),
                                                Nil,
                                                Nil),
                                 State1(CollectingSignatures(pmt1107,
                                                             Cons(pk1110,
                                                                  pks1108)),
                                        ds1102))
                    IN st' = res[2] /\ txConstr' = res[1]


Gossips Cluster unit test failed

Thanos, Prometheus and Golang version used
Thanos master head - 7a83cda50c8ad0f2bd95f960103a3bc0ac14a33c

What happened
Here is the CI link
The cluster peers could not get the updated metadata, outdated metadata error would be thrown.
How to reproduce it (as minimally and precisely as possible):
Not always happended, it is a small probability event. But the CI test would be failed.

IMO we should burn gossip tests with fire and get rid of it :fire:

@povilasv Agree with you. But at this moment, we have not totally removed the gossip cluster feature.

Same test error here. https://github.com/improbable-eng/thanos/blob/7a83cda50c8ad0f2bd95f960103a3bc0ac14a33c/pkg/cluster/cluster_test.go#L129

You mean flaky test?

gossip code was removed.


Pre-render task.json

Please check our current Issues to see if someone already reported this https://github.com/Microsoft/azure-pipelines-task-lib/issues
Environment
azure-pipelines-task-lib version: 2.8.0
Issue Description
This is a question/request for help, is there any way to render the task.json? I want to be able to check how the task I'm creating looks like before uploading it to AZ Devops
Expected behaviour
Actual behaviour
Steps to reproduce

Logs

Not sure I understand the question - are you saying you want to see how the task.json will show up in the visual editor?

Yep, exactly that

Just trying to understand your use case a little better

Closing since we don't currently have plans to do this - happy to reopen/continue the conversation if you have more thoughts


[BUG] Broken link at https://microshift.io/docs/operations/usage/example-usage/

https://microshift.io/docs/deployment-modes/quickstart-local/ has a side menu for 'Microshift Basic usage' that leads to https://microshift.io/docs/operations/usage/example-usage/ which is non existing

@iranzo is this still there after the latest merge?

Now, both URL's fail 😂

Change in the url's, closing issue


performance problem, cors-anywhere doesn't use outbound HTTP keep-alive

In evaluating the performance of this nodeJS package, vs rewriting in Cloudflare Workers/Deno Deploy or Deno/Bun/perl/C if Im desperate. Cloudflare workers as a CORS proxy is unusable for my very unique use case, my target content origin is also CF based, its webmaster decided to block CF's IPs.
I noticed CORS-A inherits a performance degradation from https://github.com/http-party/node-http-proxy . node-http-proxy does NOT implement keep-alive, therefore cors-anywhere doesn't either. All outbound connections to a content server, are "Connection: close". That means HTTPS TLS negotiation every single time for all requests. I mean, its 1-2 ms ping, on a same city DC to DC fiber link, but those extra 3-6ms will add up and add up, if a UA page load has 2-5 CORS proxy requests before drawing content to eyeball.
CORS-A and node-http-proxy are starting to show their age. Lack of H2 and H2C (most cloud providers now offer H2 clear, from their edge proxy, TLS-removed, to your process) incoming, and no HTTP/S 1.1 keep-alive, and no H2 outbound.
PS. OT JSONP support would be nice, for some ancient Win2K embedded "adtech" screens I have, but I switch to a cloudflare worker for that and efficiency reasons, (99% of content servers doesn't block CF IPs), plus JSONP and IE 5, maybe IE 6, have performance problems, doing a 2nd string eval() on 800KB-1.4MB of JS-code (really JSON) on P2/P3 machines. So I break the typical convention of JSONP proxies returning {"status": 200; "content-type": "application/json"; "content": "{\"foo\":true}"} and just inline the content server JSON into JSONP, mild security problems if content server is NOT TRUSTED and returns malicious/malformed JSON, to avoid 2 rounds through the JS parser in ancient IE.
fetch("https://cors-anywhere.herokuapp.com/http://scooterlabs.com/echo")

Simple webservice echo test: make a request to this endpoint to return the HTTP request parameters and headers. Results available in plain text, JSON, or XML formats. See http://www.cantoni.org/2012/01/08/simple-webservice-echo-test for more details, or https://github.com/bcantoni/echotest for source code.

Array
(
    [method] => GET
    [headers] => Array
        (
            [Host] => scooterlabs.com
            [Connection] => close
            [Sec-Ch-Ua] => "(Not(A:Brand";v="8", "Chromium";v="98"
            [Sec-Ch-Ua-Mobile] => ?0
            [User-Agent] => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
            [Sec-Ch-Ua-Platform] => "Windows"
            [Accept] => */*
            [Origin] => https://example.org
            [Sec-Fetch-Site] => cross-site
            [Sec-Fetch-Mode] => cors
            [Sec-Fetch-Dest] => empty
            [Referer] => https://example.org/
            [Accept-Encoding] => gzip, deflate, br
            [Accept-Language] => en-US,en;q=0.9
            [X-Forwarded-For] => 72.229.170.XXX
            [X-Forwarded-Proto] => https
            [X-Forwarded-Port] => 443
        )

    [request] => Array
        (
        )

    [client_ip] => 72.229.170.XXX
    [time_utc] => 2023-06-16T23:24:10+0000
    [info] => Echo service from Scooterlabs (http://www.scooterlabs.com)
)

For the scenario of repeatedly connecting to the same server, closing the connection is indeed suboptimal.
CORS Anywhere, as the name implies (and the functionality shows) is designed to connect to arbitrary destinations on behalf of different users. Keeping open connections around is wasteful from this perspective.
Another potential concern of keeping connections open is reusing the same connection for different clients. This is a lesser concern though, because by design CORS anywhere is meant for accessing public resources only.


feat: total_expenses in trip serializer

Type of change

[x] New feature
[ ] Bug Fix
[x] Test
[ ] Refactor/Style

Description
Relevant User Story(s):
Brief summary of the change(s) included in this pull request
Add total_expense to JSON return of trips endpoints
This description closes #
Check the correct boxes

[x] This broke nothing
[ ] This broke some stuff
[ ] This broke everything

Testing Changes

[ ] No Tests have been changed
[x] Some Tests have been changed
[ ] All of the Tests have been changed

Please describe what in the world happened if tests are broken
Checklist:

[x] My code has no unused/commented out code
[x] I have reviewed my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have fully tested my code

Fun fact or favorite .gif:
Canada is south of Detroit (just look at a map). 🤯

Also, thanks for fixing the spacing!!! :D


MINIFI-137 Adding option to RPGs to transmit via HTTP. Also corrected…

… a typo that had RPGs as 'Remote Processing Groups' instead of 'Remote Process Groups' (extra 'ing').

Reviewing

+1 conditional on above comments (testing nitpicks) being addressed and/or discussed.
Tested http and raw rpg after transforming InvokeHttpMiNiFiTemplateTest
Ran through all templates in my testkit
Tried malforming the RPG field a few ways and validating/upgrading the config.yml.

@brosander just pushed out a new commit addressing your concerns. I couldn't add a v1 version of "ProcessGroupsAndRemoteProcessGroups" since it uses Process Groups and a v1 config would not be able to represent it. I did add another test flow that is a simple TailFile to RPG which has a v1 version.

+1, merging


Build:1.8.6

Motivation and Context

Fixes + UI bump to 1.9.2
Implementation Description

Any new dependencies Introduced

How Has This Been Tested?

PR Checklist:

[x] I have implemented all requirements? (see JIRA, project documentation).
[x] I am not affecting someone else's work, If I am, they are included as a reviewer.
[x] I have added relevant tests (unit, integration or regression).
[ ] I have added comments to all the bits that are hard to follow.
[ ] I have added/updated Documentation.
[ ] I have updated the appropriate changelog with a line for my changes.

Screenshots (if appropriate):

Looks like tests failed because React released 18.3.0 and 18.3.1 and styled-components resolved to multiple versions with different React deps. Not sure why, since everywhere we just specify ^18.2.0. Trying to fix by rebuilding the lockfile, seems to not have duplicates anymore


Update Plex.Plex to <IP_ADDRESS>1

Microsoft Reviewers: Open in CodeFlow

may just be a bad return code

See plexinc/plex-media-player#992 (they haven't fixed it but know about it)


Clicking "Save" has no visible action

When you click save on the profile creation window, the profile is saved in the background but there's no visible action taken (i.e. window close)

Yeah, that is a good catch. Also, the Cmd-S shortcut should be able to be used to save, haven't added that as an issue i think.
I didn't think of it as save & close when adding that, but it should show something that it was successful. Also, it might be more useful with a save & close. I'll test and see how that works, or if there is a setting or another way to get both behaviours if needed.

Hi. After thinking about this, I've decided to remove the save button entirely and instead connect the File -> Save… menu item to the save feature.
The idea is that each profile is like document, think pages etc.. and it should be possible to try settings without committing to them, therefore not saving all changes. And the save button is not a standard interface anymore and instead it will ask when closing, or the user can choose save from the file menu or Cmd-S to save the current state and keep the window open.


OpenBLAS fails at build in MacPorts

Hi,
MacPorts upgrading is failing for OpenBLAS with the following error message:
:info:build  FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!
...
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.3.2" && /usr/bin/make -j8 -w all AR=/usr/bin/ar RANLIB=/usr/bin/ranlib
I am not sure if this is a MacPorts issue or if something to with new changes in OpenBLAS itself. Thought it will be better to run it by you before reporting to MacPorts. Sorry if this is already reported, but I did not find any myself.

Thank you for pointing me to it. I am notifying MacPorts regarding it.

This is now resolved. Here is the link to the MacPorts ticket that solved this issue:
https://trac.macports.org/ticket/56919
Cheers


XM8 More Page Icons

If I exit the XM8 ON the More page, without going back first, the next time I open my XM8 it opens directly to the More page but all the ExAd icons are gone.
I have to hit, "go back" first then "more" and they'll be back!
An Init issue?

for me the same. yes it is an issue ;)


Usage Metrics - Daily Performance

In the documents here : https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-modern-usage-metrics
It is mentioned
Daily performance      The performance for 10%, 50%, and 90% of the open report actions calculated for each individual day.
seven-day performance            The performance for 10%, 50%, and 90% of the open report actions calculated across the past seven days for each date.
Though my usage report is displaying 25%, 50% and 75% of report actions. Is the documentation old or not up-to-date ?

Hi, @mittaltripti -- Good point! Yes, the docs are out of date. Updating now, change will be live Mon afternoon Jan 10, Pacific time.


name 'spark' is not defined

Downloaded and installed everything. When I'm running the # check PySpark is running spark command. I get this:

NameError                                 Traceback (most recent call last)
 in ()
2 from IPython.display import Image, HTML, display
3 # check PySpark is running
----> 4 spark
NameError: name 'spark' is not defined

My commands:
SET PYSPARK_DRIVER_PYTHON=C:\Program Files (x86)\Python36-32\Scripts\jupyter.exe
SET PYSPARK_DRIVER_PYTHON_OPTS=notebook --no-browser
..\spark-2.2.0-bin-hadoop2.7\bin\pyspark --driver-memory 4g --driver-class-path ..\elasticsearch-hadoop-5.3.0\dist\elasticsearch-hadoop-5.3.0.jar

Hi there - I'm afraid I don't have any experience with launching PySpark on Windows. Are you able to launch PySpark with juptyter console?

Have you tried pyspark.cmd instead of pyspark?


[BUG] Upgrading from Microsoft.AspNetCore.DataProtection unable to load existing keys

Query/Question
Based on this breaking change I'm working through upgrading to newer Azure.Extensions.* components to be used for DataProtection.
We were previously using the following pacakges
      <PackageReference Include="Microsoft.AspNetCore.DataProtection.AzureStorage" Version="3.1.7" />
      <PackageReference Include="Microsoft.AspNetCore.DataProtection.AzureKeyVault" Version="3.1.7" />

And we're now testing with
      <PackageReference Include="Azure.Extensions.AspNetCore.DataProtection.Blobs" Version="1.0.1" />
      <PackageReference Include="Azure.Extensions.AspNetCore.DataProtection.Keys" Version="1.0.1" />
      <PackageReference Include="Azure.Identity" Version="1.2.2" />

I worked through the differences in the APIs and have the data protection registration successfully working with this service registration code
     services.AddDataProtection()
                .SetApplicationName("shared")
                .PersistKeysToAzureBlobStorage(blobStorageConnectionString, containerName, "data-protection-keys.xml")
                .ProtectKeysWithAzureKeyVault(dataProtectionKeyUri, credentials);

In a new environment where there are no pre-existing keys in a key ring, it's working as expected.
The problem is that when I roll this code out to an environment with an existing key ring, it's unable to read existing keys.
At first, the exception was
[11:50:24 ERR] An exception occurred while processing the key element '<key id="b2f42ac4-a1c4-4f49-adba-ed6a14fcade9" version="1" />'.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.DataProtection.AzureKeyVault, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
File name: 'Microsoft.AspNetCore.DataProtection.AzureKeyVault, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMarkHandle stackMark, ObjectHandleOnStack assemblyLoadContext, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive)
   at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, Boolean loadTypeFromPartialName)
   at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, StackCrawlMark& stackMark)
   at System.Type.GetType(String typeName, Boolean throwOnError)
   at Microsoft.AspNetCore.DataProtection.SimpleActivator.CreateInstance(Type expectedBaseType, String implementationTypeName)
   at Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.CreateInstance(Type expectedBaseType, String originalTypeName, Boolean& forwarded)
   at Microsoft.AspNetCore.DataProtection.TypeForwardingActivator.CreateInstance(Type expectedBaseType, String originalTypeName)
   at Microsoft.AspNetCore.DataProtection.ActivatorExtensions.CreateInstance[T](IActivator activator, String implementationTypeName)
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.DecryptElement(XElement element, IActivator activator)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)

Which makes sense given that I had removed the reference to the old Microsoft.AspNetCore.DataProtection.* packages.  My first thought was to add those references back in again so the internals could read the existing keys and we could run for a period of time until new keys were rolled with the new Azure.Extensions.AspNetCore.DataProtection.* packages.  After I made that change, I started getting this exception though.
[11:55:12 ERR] An exception occurred while processing the key element '<key id="b2f42ac4-a1c4-4f49-adba-ed6a14fcade9" version="1" />'.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.AspNetCore.DataProtection.AzureKeyVault.AzureKeyVaultXmlDecryptor.DecryptAsync(XElement encryptedElement)
   at Microsoft.AspNetCore.DataProtection.AzureKeyVault.AzureKeyVaultXmlDecryptor.Decrypt(XElement encryptedElement)
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.DecryptElement(XElement element, IActivator activator)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)

In the key ring XML, the following XML node is the culprit
<encryptedSecret decryptorType="Microsoft.AspNetCore.DataProtection.AzureKeyVault.AzureKeyVaultXmlDecryptor, Microsoft.AspNetCore.DataProtection.AzureKeyVault, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60" xmlns="http://schemas.asp.net/2015/03/dataProtection">

If I manually update the decryptorType attribute on existing keys to the newer decryption class, it's able to read existing keys.
<encryptedSecret decryptorType="Azure.Extensions.AspNetCore.DataProtection.Keys.AzureKeyVaultXmlDecryptor, Azure.Extensions.AspNetCore.DataProtection.Keys, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=92742159e12e44c8" xmlns="http://schemas.asp.net/2015/03/dataProtection">

I'm wondering if

I missed a configuration that should allow for this scenario to be handled
There is a better path to upgrade that doesn't involve losing all existing keys, or manually modifying every key ring to have the newer decryptorType attribute.

Thank you

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I missed a configuration that should allow for this scenario to be handled

Nope, there is no such option.

There is a better path to upgrade that doesn't involve losing all existing keys, or manually modifying every key ring to have the newer decryptorType attribute.

Yeah, this is a bug, migration is supposed to be completely drop-in.
I'll provide you with a temporary workaround and then ship it as a feature ASAP.

@RickBlouch can you please try grabbing this file: https://github.com/pakrym/azure-sdk-for-net/blob/pakrym/support-reading-existing-keys/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/src/DecryptorTypeForwardingActivator.cs
and adding this line to your configure services method:
            services.AddSingleton<IActivator, DecryptorTypeForwardingActivator>();

@pakrym The change works as expected, thank you.
What's the best way to track when this will be live so that I can back out this workaround?

The release would happen at the end of this week or beginning of the next.


Expose PR labels

I'd be nice to have a custom variable in DSL to get the PR labels. Probably not super important, since you should be able to get that from env.request_source.pr_json.

I think we should probably make these things DSL attributes, given that it shouldn't just be for GitHub ideally


:arrow_up: ra_vfs

Fix a critical bug where \r\n line endings would accidentally sneak in
after in-memory overlay removal.
bors r+
🤖

bors r+


Unable to create child management group as of version 2.27.1

Describe the bug
$ az account management-group create --name "test123" --parent "MyTestMG"

In version 2.27.0, creating a child management group. As of 2.27.1, the same command is failing with the error message:

(AuthorizationFailed) The client '<spn id>' with object id '<spn id>' does not have authorization to perform action 'Microsoft.Management/register/action' over scope '/subscriptions/<subscription id>' or the scope is invalid. If access was recently granted, please refresh your credentials.

To Reproduce
To recreate this issue, you'll need the following:

A management group, for example named "MyTestMG".
A subscription (does not need to be a member of the above management group).
A SPN with the following roles assigned:

Reader at the subscription scope.
Management Group Contributor at the "MyTestMG" management group scope.

An AzureCLI (version >=2.27.1) shell logged in as your SPN.
An Azure PowerShell instance logged in as your SPN.

Running the following will fail with an error message.
$ az account management-group create --name "test123" --parent "MyTestMG"

(AuthorizationFailed) The client '<spn id>' with object id '<spn id>' does not have authorization to perform action 'Microsoft.Management/register/action' over scope '/subscriptions/<subscription id>' or the scope is invalid. If access was recently granted, please refresh your credentials.

In Azure PowerShell (I tested with version <IP_ADDRESS>709), the equivalent command with the same SPN and assigned roles will complete successfully and create the child management group.
$parentGroup = Get-AzManagementGroup -GroupName MyTestMG
New-AzManagementGroup -GroupName 'test123' -ParentId $parentGroup.id

Expected behavior
With both AzureCLI and Azure PowerShell, I would expect them to behave the same way and create the child management group with the same roles/permissions assigned to the SPN.
Environment summary
AzureCLI >=2.27.1
Azure PowerShell <IP_ADDRESS>709
Azure environment:

A management group, for example named "MyTestMG".
A subscription (does not need to be a member of the above management group).
A SPN with the following roles assigned:

Reader at the subscription scope.
Management Group Contributor at the "MyTestMG" management group scope.

management group

This is a known issue, the addition of _register_rp() operation is caused by the history issue of service: tenant-level resources and subscription-level resources cannot support automatic RP registration on server side
Historical discussions: https://github.com/Azure/azure-cli-extensions/pull/62#discussion_r168619781
@wwendyc Could you help to look at the following questions? Or do you know who can look it?
May I ask has the service solved the problem of automatic RP registration? If so, CLI can remove the _register_rp() operation, right?

@zhoxing-ms I'm seeing the fix is merged to dev branch. When does this fix go GA so I could update Az CLI?

@azsec Hi, please use az upgrade --yes to update CLI to the latest version, and then have a try


SUP-1293 Generate docs from code

PR checklist:

[x] docs/ updated

[x] add import examples
[x] update examples with comments to explain them

[x] tests added
[x] an example added to examples/ (useful to demo new field/resource)
[x] CHANGELOG.md updated with pending release information

Honestly, there isnt much point reviewing this! 😰

Ive created this registry off of this branch https://registry.terraform.io/providers/jradtilbrook/greatest/latest (I forked the repo).
So we can view the docs there and review things from the rendered output.
I also tested the semver stuff. The registry shows the latest release docs but installing it is not possible unless you specify the exact version. Eg 2.0.0-beta will install, but ~> 2.0 will not. And that is what we want for the v1 release


Add  groupId and artifactId attributes for @NativeImageHint

Now hint processor uses package name from classes as groupId, and hint as artifactId  for META-INF/native-image/.  It's ok for  native image app, such as command line app.  I have an sdk/library and I want use  hint processor to generate native-image configuration json files,   and other normal java apps or native-image apps can use this library both.
Now groupId and artifactId generated by processor are not fixed, and could be changed  by new classes with hint annotations:

Is it possible to add groupId and artifactId for @NativeImageHint?  and processor can use them for native-image configuration files generation.
@NativeImageHint(groupId="com.example", artifactId="my-sdk-hint")

Yeah, I actually pointed to use that this will be the change, so in example above previous behavior would be:
org.mvnsearch.demo.domain and model for group and artifact respectfully, now it is org.mvnsearch.demo.domain.model and hint, so basically nothing really changed, besides some readability in my opinion.
But what is the problem for you?
GraalVM will look for all configs and hints, doesn't matter is this old or new format, so not sure why is it bothers you, can you please elaborate?

Also you can actually already pass artifactId and groupId if you pass graalvm.hint.group and graalvm.hint.artifact to java annotation processor, but it is not that "trivial", but could be done.
Syntax is like -Akey where key is graalvm.hint.group
More here doc

Got.  yes, it works.  I should take a look at the code first :)
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.10.1</version>
                <configuration>
                    <parameters>true</parameters>
                    <compilerArgs>
                        <compilerArg>-Agraalvm.hint.group=org.mvnsearch.demo</compilerArg>
                        <compilerArg>-Agraalvm.hint.artifact=demo-hint</compilerArg>
                    </compilerArgs>
                </configuration>
            </plugin>

Great!
Will leave here Gradle config in case anyone need it and will update documentation with both examples for Gradle and Maven
    compileJava {
        options.compilerArgs += [
                '-Agraalvm.hint.group=my.group',
                '-Agraalvm.hint.artifact=myartifact',
        ]
    }


Enable all stacked toasts to be closed

Currently you can stack toasts in toaster, but there is no way of accessing opened up toast as far as I know.
Please include API to close all toasts!
Thank you.

or even a way to close a toast programmatically.. how do I even keep track of opened toasts? and mutate what's already been rendered?

Here is how I solved this problem despite of core ui not having this functionality.
save ref to an array... and when user clear all, then loop through array and give display "none" to each element. Please provide in house functionality for this.


IOS always returns 0.0

Listening to ambientLightStream always returns 0.0 on IOS devices.
Tested on real ios devices Iphone 8 and Iphone 12 Pro Max

Have you granted the required permissions ?
and what about info.plist changes ?


KeyError: 'eyebrow_decomposer'

Hi,
I have successfully used Anaconda to launch your app. I was able to Load the images with no problem.
Then I tried to connect with the iFacialMocap desktop app.

When does this message happen?
And the Loaded image is not moving, only the green parameter below is moving.
The green bar is moving, so the connection itself should be working, but I am wondering why the image is not moving.
I am using a gaming laptop with Windows 11 and RTX2080 Super.
Traceback (most recent call last):
  File "tha2/app/ifacialmocap_puppeteer.py", line 406, in update_result_image_bitmap
    output_image = self.poser.pose(self.torch_source_image, pose, output_index)[0].detach().cpu()
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\general_poser_02.py", line 54, in pose
    output_list = self.get_posing_outputs(image, pose)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\general_poser_02.py", line 69, in get_posing_outputs
    return self.output_list_func(modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 57, in func
    output = self.get_output(KEY_ALL_OUTPUT, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 114, in compute_output
    combiner_output = self.get_output(KEY_COMBINER_OUTPUT, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 102, in compute_output
    face_rotater_output = self.get_output(KEY_FACE_ROTATER_OUTPUT, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 92, in compute_output
    face_morpher_output = self.get_output(KEY_FACE_MORPHER_OUTPUT, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 81, in compute_output
    eyebrow_morphing_combiner_output = self.get_output(
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 71, in compute_output
    eyebrow_decomposer_output = self.get_output(KEY_EYEBROW_DECOMPOSER_OUTPUT, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\compute\cached_computation_protocol.py", line 19, in get_output
    output = self.compute_output(key, modules, batch, outputs)
  File "C:\Users\emoto\Documents\talking-head-anime-2-demo-main\tha2\poser\modes\mode_20.py", line 69, in compute_output
    return modules[KEY_EYEBROW_DECOMPOSER].forward_from_batch([input_image])
KeyError: 'eyebrow_decomposer'

Have you loaded and unzip the models in the right directory?

Thanks for the reply.
I had overlooked that step.
Problem solved and it worked correctly in my environment.
Great software!


Feature/plugin structure

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Outlier Detection Success Rate Ejection Threshold Setting

Title: Add a threshold field for Outlier Detection Success Rate to eject if it's outlier and also below certain defined threshold
Description:
I noticed when using outlier detection, many pods have host_success_rate of 99 and are ejected. I have tried setting up success_rate_stdev_factor from 1900, 3000, to 5000 to mitigate it. It did decrease the behavior of ejection at data:  99 (cluster_average_success_rate), 99 (cluster_success_rate_ejection_threshold), 99 (host_success_rate). Yet this event is still very common. 160 / 638 pods have been ejected over one week with the local_origin_success_rate type and have host success rate of 99.
I want to set up a extra parameter here to define only when it's outlier and the host success rate is below x (assume 90), then ejection.
[optional Relevant Links:]
I saw similar issue opening before: https://github.com/envoyproxy/envoy/issues/18752. I have read and tried out the suggestions. They have not worked for me so far.

Any extra documentation required to understand the issue.

cc @alyssawilk who may know who this request should be routed to

cc @cpakulski is the active dev with this most history here (though it's been a while and may be swapped out =P) and @Pawan-Bishnoi has touched it most recently

@MengyingLiDD Would you mind giving example of a config which includes proposed new parameter?
Thanks.

@cpakulski  Of course. I've also updated the description a bit. I want to have an extra parameter like success_rate_minimal_ejection_threshold (name subject to discussion).
Here's an example:
    outlier_detection:
      interval: 60s
      base_ejection_time: 120s
      max_ejection_percent: 10
      max_ejection_time: 300s
      max_ejection_time_jitter: 1s
      split_external_local_origin_errors: True
      enforcing_consecutive_gateway_failure: 0
      enforcing_consecutive_local_origin_failure: 0
      enforcing_consecutive_5xx: 0
      enforcing_success_rate: 0
      enforcing_local_origin_success_rate: 100
      enforcing_failure_percentage: 100
      enforcing_failure_percentage_local_origin: 0
      success_rate_minimum_hosts: 6
      success_rate_request_volume: 10
      success_rate_stdev_factor: 5000
      success_rate_minimal_ejection_threshold: 90 # this is the new parameter I would like to have where it only eject in success rate mode when the threshold is below 90.
      failure_percentage_minimum_hosts: 6
      failure_percentage_request_volume: 10
      failure_percentage_threshold: 99
      consecutive_gateway_failure: 1000000
      consecutive_local_origin_failure: 100000
      consecutive_5xx: 100000


Error in vendored acme package

Hello,
it seems that you have following errors in your vendored acme package:
rsc/letsencrypt/lets.go:674: not enough arguments in call to c.ObtainCertificate
rsc/letsencrypt/lets.go:731: undefined: acme.TLSSNI01ChallengeCertDomain
rsc/letsencrypt/lets.go:744: undefined: acme.TLSSNI01ChallengeCertDomain

Do you know which commit of acme should i use so this does not occur?

The copy vendored in this repo is the one to use. It does not correspond to a commit in the standard acme package. See #15/#18. Sorry for the confusion.


Update Podspec

Hi
i saw you made some changes to the framework 2 weeks ago but the podspec was updated the last time 6 months ago.
Could you update it so i can get the lastest version using pods?
Thanks
Chris

I honestly have no idea how to do that, since I've never used CocoaPods before. Someone else added and maintains that. You'd have to either track them down or update it yourself and submit a pull request.

i think it is as easy as updating the
https://github.com/BradLarson/GPUImage/blob/master/GPUImage.podspec
file and updating the version!
i have never done a pull request but i guess i could try it or if you have a chance just update it?
thanks

here is the new pull request
https://github.com/BradLarson/GPUImage/pull/1937

Hi! Any update on this branch? Can this PR be merged at some point?


Best splits are not correct

at time splits the distance seams to be correct, but the speed is too low.
at distance splits each time is approximately 10 s too short, so the speed is too high (the fastest km is faster than max speed of the whole activity and also faster than fastest minute - which makes no sense.
I found this problem on each activity.
Here the example from above: https://www.strava.com/activities/433205779

I'll have a look Thomas

@Langlaeufer when you hover the coursor over any value, you will see on what exactly split length it was computed. For example (from the activity you pointed) split 1min, distance is 0.75km but it was found on split 1:07. It's because there is no interpolation to divide the activity GPS track to exact 1min segments so the precision depends on GPS log interval.

i noticed, but the correct (because consistent) result would be
1 km - 1:23 min = 43.4 km/h  (not 1:14 and 49 km/h)
1:02 min - 0.75 km = 43.6 km/h (not 40 km/h)

My patch is using a ratio split length/measured length.
Example : 1min split, if you done 1.2km in 1:12, it will display 1km (1.2 * 1:00/1:12)

@glandais This would help. For me it is not clear why the longest distance and the highest speed over 1:00 is based on different segment length (1:07 / 1:03)

746.4m is the best value it sees, without looking the duration of it (1:07), with an average of 40.1km/h
703.7m for 1:03 gives an average of 40.21km/h, and it doesn't see any better average.
With my patch, it displays 0.67km, that's the best distance done in 1:00 (based on the 703.7m done in 1:03)

your function said my best 1:03 min was 40 km/h
at the same time it said my best 1.01 km takes 1:14 min = 49 km/h
so these 1:14 min are faster (it contains a faster minute). therefore 1:03 for 704 m refers  not to the fastest minute.

@Langlaeufer Will will find here a build with latest patches:
https://dl.dropboxusercontent.com/u/2268286/StravistiX_v2.0.1_Tue_Nov_24_2015_11_58_58 PM.zip

Open new tab and type chrome://extensions then enter
Tick Developer Mode checkbox
Click Load Unpacked Extension button, then choose hook/extension/ folder (this is where you have manifest.json file)

Disable official extension from chrome store during testing.

Thanks for all contributing in !
Tom

thanks. I tried. Now It looks as distance, time and speed value of each line is consistent but the main issue is not solved. I may later have a look at the code for myself.
I*m not sure, if you understand what is my point.
The fastest 1 minute has to be faster than the fastest 1 km (in case when speed is less than 60 km/h because than you take more time for 1 km as 1 minute)
In the example:
The fastest 1 minute should be found at the beginning of the first round.
The fastest 1 km you found at the correct place, but the time value is too short therefore you calculate a speed higher than maximum speed. (this is clearly not possible)

This is very strange, I don't understand why right now.
I tried to add a split of 0.703m, and I get 45s and 55.9km/h!
Can you please provide the GPX?
Issue still open!

@glandais  How can I do this? Im still not familar with github.

Drag&drop file in the text area!
Anyway, found the error, time/distance used for splits were just wrong (not same begin and end for both!)
Looking to match your values

GPX as txt
Peiner Triathlon.txt

Values computed with #155

Thanks to all !
@Langlaeufer  build here:
https://dl.dropboxusercontent.com/u/2268286/StravistiX_v2.0.1_Wed_Nov_25_2015_09_36_07.zip
With #155 pull request merged from @glandais
Thanks !

looks good now
Thomas Champagne<EMAIL_ADDRESS>schrieb am Mi., 25. Nov. 2015
um 09:39 Uhr:

Thanks to all !
@Langlaeufer https://github.com/Langlaeufer build here:
https://dl.dropboxusercontent.com/u/2268286/StravistiX_v2.0.1_Wed_Nov_25_2015_09_36_07.zip
With #155 https://github.com/thomaschampagne/stravistix/pull/155 pull
request merged from @glandais https://github.com/glandais
Thanks !
—
Reply to this email directly or view it on GitHub
https://github.com/thomaschampagne/stravistix/issues/152#issuecomment-159534872
.

Fixed in PR #155 via commit https://github.com/glandais/StravaPlus/commit/ee2ccc8799ecb0b1bd00472b010affc466dec02a


How can I calculate expected-ngram-count?

When I run bff to deduplicate text dataset like
cargo run --release bff \
   --inputs /data/inputs \
   --output-directory /data/outputs \
   --expected-ngram-count <EXPECTED NGRAM COUNT> \
   --fp-rate 0.01 \
   --min-ngram-size 13 \
   --max-ngram-size 13 \
   --filtering-threshold 0.8 \
   --remove-type naive-both

How should I set my EXPECTED NGRAM COUNT?
Do I have to calculate total ngram count from text datasets in my input directory?
For example, if my text datasets contain 100 documents
and number of words that appear when all text is splited with blank spaces is like 1000000,
does EXPECTED NGRAM COUNT should become 76923 (1000000 / 13)?
Just want to know proper formula to get expected-ngram-count

Hi,
So the expected ngram count should be upper bounded by total number of words in your corpus. In your specific question, then, this would be 1000000. (If you were doing document-level dedup only, this would be #tokens - ngram_size*#documents; for paragraphs this would be #tokens - ngram_size*#paragraphs).
But all that really matters here is that you overshoot expected tokens by a little bit to make sure the false positive rate guarantees are met. To calculate ngrams, you can either extrapolate by counting words on a few documents and then scaling up, or using wimbd stat from this package here: https://github.com/allenai/wimbd
Also note, there's been a snafu with the documentation regarding the --remove-type flag (see this PR: https://github.com/mlfoundations/dclm/pull/84). To emulate the results from the paper you want to use --remove-type old-both.


mommy: 1.2.4 -> 1.2.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/mommy/versions.
meta.description for mommy is: mommy's here to support you, in any shell, on any system~ ❤
meta.homepage for mommy is: https://github.com/FWDekker/mommy
meta.changelog for mommy is: https://github.com/FWDekker/mommy/blob/v1.2.6/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.6 with grep in /nix/store/5fsniwawlbkfn2paj7nlbfp05dmzqskp-mommy-1.2.6
found 1.2.6 in filename of file in /nix/store/5fsniwawlbkfn2paj7nlbfp05dmzqskp-mommy-1.2.6

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
mommy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5fsniwawlbkfn2paj7nlbfp05dmzqskp-mommy-1.2.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mommy https://github.com/r-ryantm/nixpkgs/archive/0397816476b11816dcfebcda57d8278bf9133efc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0397816476b11816dcfebcda57d8278bf9133efc#mommy

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5fsniwawlbkfn2paj7nlbfp05dmzqskp-mommy-1.2.6
ls -la /nix/store/5fsniwawlbkfn2paj7nlbfp05dmzqskp-mommy-1.2.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

mommy

Maintainer pings
cc @ckiee for testing.

@FWDekker it does work :3

yippee!


Empty default value in cli options

--globals <names>                       allow the given comma-delimited global [names] (default: )

If default value is an empty list([]), it shows as (default: ). It is confusing to users. No default or (default: []) is better.

If commander fix it and then a new version released, we can fix this.

Hey, they finally released the fix in v2.19.0.


Newsletter Mailing List Subscription

In the footer of nearly every cd.foundation page there's a "sign up for our community mailing list" button. I understand that the community mailing list is different from the newsletter mailing list, but right now the button links to the newsletter subscription page.
Here's what I propose:

Change the current button link to direct to Community Mailing List
Disable or replace this button with "Subscribe to the monthly newsletter" (linking to https://cd.foundation/stay-connected/) for all newsletters pages /stay-connected/.

Update button with 'Sign up for newsletter & CDF updates' for now

ticket submitted to creative services

this has been updated


Clear /cluster counters

Title: Clear "/cluster" counters
Description:

Is there any way to clear /cluster(rq_error, rq_total ...etc) counters without restart.

There is /reset_counters.
There is not a way (currently) to reset only a subset of the counters.


Cognito "RESET_REQUIRED"  is not Working for ios SDK

Describe the bug

using Amplify iOS SDK, Cognito console  "Reset Password" is not working as expected
There is no way of reading Cognito "Account Status" using Amplify iOS SDK

Steps To Reproduce
- Go to Cognito Console
- Click on"Reset password" Button for a User
- The "Account Status" then will be changed to "RESET_REQUIRED"
- Then try signing-In to the same account using existing password thru  Amplify iOS API and it will let you in with nothing to notify you to reset the password first

Expected behavior

the sign-In API call should fail with notification to Reset existing password first
There should be away to read Cognito "Account Status" using Amplify iOS SDK

Amplify Framework Version
1.19.1
Amplify Categories
API, Auth
Dependency manager
Swift PM
Swift version
5.3
CLI version
7.6.13
Xcode version
13.2.1
Relevant log output
No response
Is this a regression?
No
Regression additional context
No response
Device
iPad & iPhone
iOS Version
15.2
Specific to simulators
No response
Additional context
No response

Hi @eyadmask, thanks for opening this issue. I was able to reproduce this issue.
Interestingly, these steps will result in a passwordResetRequired error:

Sign in
Set RESET_REQUIRED in Cognito User Pool
Sign out

We'll take a closer look at this and update the issue.

Hi @eyadmask!
I followed the steps to reproduce and while it's true that the signIn API returns a Success result, its associated value is a AuthSignInResult object consisting of an isSignedIn flag and a nextStep enum.
On this particular case, this was the response I got:
▿ result: Amplify.AuthSignInResult
  - isSignedIn: false
  ▿ nextStep: Amplify.AuthSignInStep.resetPassword
    - resetPassword: nil

Could you please confirm if you are getting a different result on your use case? You can use something like this to quickly check:
Amplify.Auth.signIn(username: username, password: password) { result in
    switch result {
    case .success(let signInResult):
        dump(signInResult.isSignedIn, name: "isSignedIn")
        dump(signInResult.nextStep, name: "nextStep")
    case .failure(let error):
        dump(error, name: "Error")
    }
}

More detailed information about the sign in steps is available here.

I've created a separate issue for the situation described by @atierian above, as it's not directly related to the one being discussed here:  https://github.com/aws-amplify/amplify-ios/issues/1633


Replace DeveloperError with Check in Matrix4.js

Part of #4794

Nice work @shehzan10. Even though you're added to the contributors list in https://github.com/AnalyticalGraphicsInc/cesium/pull/4831, may as well merge this now.


User/anzaches/fix deinitialization of static fields

Overview
WindowsMixedRealityDeviceManager keeps gesture recognizers as static fields. When running tests, the manager itself is recreated, but static fields maintain their values. Need to manually reset them to null, when disabling the manager.

/azp run mrtk_PR


Feature: GSSAPI (Kerberos) support

Description
Fixed #1608
Type of change

[x] New feature (a non-breaking change that adds functionality)

Checklist

[x] My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
[x] I have conducted a self-review of my own code
[x] I have made the necessary changes to the documentation
[x] My changes do not generate any new warnings
[x] I have added tests to validate the effectiveness of my fix or the functionality of my new feature
[x] Both new and existing unit tests pass successfully on my local environment by running scripts/test-cov.sh
[x] I have ensured that static analysis tests are passing by running scripts/static-analysis.sh
[x] I have included code examples to illustrate the modifications

I would like to clarify one point: aiokafka with sasl_mechanism == GSSAPI requires the gssapi library (here). This library is optional in aiokafka (here).
What to do here? Add the gssapi library as optional? Are additional checks needed?

@Lancetnik This PR added Kerberos support only for aiokafka broker, not for confluent broker.
I have created a separate issue for it - https://github.com/airtai/faststream/issues/1669. I will create a PR for it in few mins.


Ensure gulp tests return Promises

Fixes a couple of instances where Jest test functions were creating Promises without returning them, so the test runner would get confused about which test was failing.

I looked to see if there were any other cases where we were creating a Promise and not returning it with git grep '^\s*Promise', got not results.


21:9 support

I wanted to know if the shader provides support for non-linear upscale. 2560x1080 is 33% bigger than 1920x1080, and the "no-keepaspect" mpv's command allow to stretch the image. Thin and dark lines already provides a nice upgrade, but I was wondering about the upscale itself, as it is not activated automatically while playing a video.
Thanks in advance.

In each shader stage there is this line of code:
//!WHEN OUTPUT.w NATIVE.w / 1.200 > OUTPUT.h NATIVE.h / 1.200 > *
If you remove them, the shader will always run.
I would suggest simply using notepad or any other text editor, and use the replace function to quickly remove all the lines.

I tried with "Anime4K_Upscale_CNN_L_x2", but ended up with a green screen, doesn't matter if it was v0.31 or v0.32. Also, I was thinking, is it possible to use your shader on normal 1920x1080 displays to do supersampling? Even if the improvement is minimal, it would be usable for more people

Are you sure the replacement was done correctly? I've tried on my end and it works. Note that there are multiple shader stages per file, and you have to remove all !WHEN expressions, not just the first one.
Here's the modified version I used:
Anime4K_Upscale_CNN_L_x2_Ignore.zip
Also, since the pure upscale shaders are only doing an inverse of a downsampling function, they would have no effect if downsampled afterwards by supersampling. However, Upscale+Deblur and Upscale+Denoise will have noticeable effects, as they do more than just upscaling.

Yeah, it was probably my fault, now it's working.

Also, since the pure upscale shaders are only doing an inverse of a downsampling function, they would have no effect if downsampled afterwards by supersampling. However, Upscale+Deblur and Upscale+Denoise will have noticeable effects, as they do more than just upscaling.

I see


Set up sitemaps

Set up sitemaps generation on a cronjob to a bucket.
The bucket is served via the load balancer on paths prefixed by /sitemap_
This PR contains:

New bucket for prod and test
New bucket backend for serving assets
Load balancer config to redirect requests to the bucket backend when appropriate
Cron config for prod and test

I've just noticed that the cron job doesn't actually upload the sitemaps to the gcp bucket :slightly_smiling_face:


Update testing.md

@absheik : Thanks for your contribution! The author(s) have been notified to review your proposed change.


⚠ Samsung has degraded performance

In 9d8cb38, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2098 ms

Resolved: Samsung performance has improved in 2423ca6.


Changing View on existing PostType

Hi Håkan,
version 2.2.4 "Web Pages"
How do i change the default route of an specific post type "NewsPost"?
I want it to be "/news/newstitle" where there is a page on "/news"
Regards.

There's currently no built-in support to change the routing of posts. Furthermore, if a page would be present with the permalink /news requests for /news/newstitle would be routed to the page to enable routing of different actions to the pages.
However, the blogging & archive support in the current version is rather rudimentary so there are thoughts on improving this. If this were implemented it would most likely be:

Your post type News would have the slug News
Requests to /news would be routed to the archive page for News.
Posts of the type News would have the permalink /news/post-slug.

Regards

ok, is there a way of hooking up on the save post event? and then change permalink on the post slug? then it would be working I asume.
Best Regards


Adding discrete diffusion that is constant in alphabet size

For some applications, like language models, the alphabet size can be massive. This should scale well with that. Please check/fix type promotion issues.

Two general suggestions before reviewing details:

The name DiscreteDiffusion sounds too general for this specific type of diffusion process. I'd suggest to rename it to a more informative one like UniformDiscreteDiffusion.
Parameterizing the number of states with T2 seems to be excessive generality. Just typing it with Int would be enough here. Casting Ints to say UInt8s has very low cost, so this change will not cause any detectable performance issue even if the user keeps the random states with arrays of UInt8s.


feature: du shared extents reflink

Addresses #3906:
On copy-on-write filesystems it is possible to copy files without really copying the contents. The contents are copied when modified.
This pullrequests introduces a new feature for "du --shared-extents" that consideres the shared extents of the files, not counting it double.

@sylvestre please approve the workflows. I'd like to see how my changes are accepted on the other systems.

As said in the ticket, i don't want to add new features that GNU doesn't have until we are at parity. Sorry.

I see. So what do we want to do with this pull request? I've seen you started commented already. Thanks for this :-) . But if its not gona be merged, we should stop working on it. Whats your plan?

no activity for a while, closing


getAttribute of Undefined : Parser.js:276

trying to use to generate a gexf file from graphology serialized json, please take a look below
Error: Cannot read property 'getAttribute' of undefined
https://stackblitz.com/edit/typescript-gplyyf?file=index.ts

wrong issue


Indirect new calls

We have indirect regular calls but not with new yet. Blocks various test262 tests.

Done in 0564424f433683fef9afd9257ad06f2f211ee082


Yeah, it's a little slow. It takes about a day to run with 6 workers.

出错 pre_process (line 58)
poolobj = parpool(6);
You requested a minimum of 6 workers, but the cluster "local" has the NumWorkers property set to allow a maximum of 4 workers. To run a communicating job on more workers than this (up to a maximum of 512 for the Local cluster), increase the value of the NumWorkers property for the cluster. The default value of NumWorkers for a Local cluster is the number of cores on the local machine.
How can I solve this question?

How long will it take to run with 4 workers?

How do you set the workers for a Matlab script?

I used a regular laptop released in 2021 and the total time taken was about half an hour.


Warning: Pagination(...): React component classes must extend React.Component.

Hello, I wanted to try your paginator but I got this error, I'm running on React 0.14.3 if this can help and that's how I'm using it:
<Pagination
  activePage={1}
  totalItemsCount={50}
  itemsCountPerPage={10}
  onChange={this.onPageClick.bind(this)}
/>

Hi, let me check, not sure that 0.14 React is supported, but it should be
quick to fix
On Wed, Dec 2, 2015 at 1:13 PM, Emanuele Ingrosso<EMAIL_ADDRESS>wrote:

Hello, I wanted to try your paginator but I got this error, I'm running on
React 0.14.3 if this can help and that's how I'm using it:

—
Reply to this email directly or view it on GitHub
https://github.com/vayser/react-js-pagination/issues/1.

Done
If you are using npm v2, just update react-js-pagination module, if it's v3 - update module and install peerDependencies manually

Thanks for the fast fix, now it working! :)


feat: implement [text_blobs]

This implements support for [text_blobs] as defined by https://github.com/cloudflare/wrangler/pull/1677.
Text blobs can be defined in service-worker format with configuration in wrangler.toml as -
[text_blobs]
MYTEXT = "./path/to/my-text.file"

The content of the file will then be available as the global MYTEXT inside your code. Note that this ONLY makes sense in service-worker format workers (for now).
Workers Sites now uses [text_blobs] internally. Previously, we were inlining the asset manifest into the worker itself, but we now attach the asset manifest to the uploaded worker. I also added an additional example of Workers Sites with a modules format worker.

The code for these codepaths isn't too hairy at the moment, but is starting to look a bit verbose. I'll try to do a cleanup when I implement [build.upload.rules].

Weird test failure, I'll look into it in a bit.

I think it is actually a flake. I saw something like this before. I have re-run the jobs...

I re-ran this 3 times and it's still failing. Extremely annoying. Not even sure how to start resolving this, but I'll think about it...

(But don't let that stop you from reviewing!)

Ok, for some reason, moving the [wasm_modules] tests before the [text_blobs] tests made it pass on windows. 🤷♂

Ok, for some reason, moving the [wasm_modules] tests before the [text_blobs] tests made it pass on windows. 🤷♂

That is not a good sign. It means that we are leaking state between these tests...


Add clearFields to export

Codecov Report

Merging #3626 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #3626   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          70      70
  Lines        1571    1572    +1
======================================
+ Hits         1571    1572    +1

Impacted Files
Coverage Δ

src/actions.js
100% <ø> (ø)
:arrow_up:

src/index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Published in v7.2.0.


Python 3: Convert Post install scripts

Convert the python scripts used to setup a VistA instance after importing the Globals and Routines.

Closed after merge of pull request: https://github.com/OSEHRA/VistA/pull/139


Fix v6 CI error, replace rootfs_uri with image_resource

Original error example https://ci.starkandwayne.com/teams/main/pipelines/shield-boshrelease/jobs/testflight-6.x/builds/7
Working https://ci.starkandwayne.com/teams/main/pipelines/shield-boshrelease/jobs/testflight-6.x/builds/10

Thanks!


Images fail intermittently on aws

A student anecdotally reported that they would loose connection with their cloudsim image periodically.   Until today, I had not seen this behavior - and it will be hard to debug since it sounds like it is infrequent and we don't yet have any suspicions for causes or correlations.
Something similar may have happened to me.  The image was running for a few hours and now I cannot connect via novnc.
Here is the output of the REST status call...
curl -X GET -H "Private-Token: ${TOKEN}" https://staging-cloudsim-nps.ignitionrobotics.org/1.0/simulations/${GROUPID}
{"created_at":"0001-01-01T00:00:00Z","owner":"","name":"npstest","groupid":"6038eff4-95e0-4f06-8d41-e6809f904da6","status":"Removing instance.","image":"tfoote/test_novnc:main","args":"","uri" REMOVED"}

I'll leave the machine running for a bit in case some one would like to debug and can look more deeply at the status of the machine.

More evidence that might help with debugging.
For a couple of hours, the reported status remained  "Removing instance."
I think issued a stop command using the REST API.  The status goes to "Stopping" and then "Removing docker image (pod)."
This seems to suggest that the image was in a state were it was still running, to some extent, but was inaccessible via novnc.


Added derivative and Hessian for Goldstein-Price test function

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

Comparison is base (d8e9b71) 90.81% compared to head (3a8bc2c) 90.91%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #440      +/-   ##
==========================================
+ Coverage   90.81%   90.91%   +0.10%
==========================================
  Files         162      162
  Lines       19979    20170     +191
==========================================
+ Hits        18143    18337     +194
+ Misses       1836     1833       -3

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


CI 2.2 - form_validation required bugs

There is a bug in the form_validationlibrary in CI 2.2.
When you validate a data wich is an integer with the value 0 the requiredmethod fails.
Line 337
if (isset($_POST[$field]) AND $_POST[$field] != "") // return false with 0 true with "0"

We should have to test the type too
if (isset($_POST[$field]) AND $_POST[$field] !== "") // return true with 0 return true with "0"

The 2.x version tree now only gets security fixes, so this one is a "won't fix", sorry.


[New Feature]: update bach-api dependencies

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
No response
Describe the feature request
I need or want newer dependencies

https://github.com/nasa/opera-sds-bach-api/pull/55


Added container-quickstarts as an 'examples' submodule. This contains…

This contains the updated mongodb statefulset quickstart example from the red hat COP repository. It looks like it might have been copied from there originally.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This PR looks good to me. Linked container-quickstart contains new information IMPOV.
@jbornemann Is it possible to get commit right into this repository?
Also removed README contained some info about scaling replicaset. Mainly about scaling down and absence of removing members from mongodb configuration. So after big scale down replicaset could be unreachable.

Is it possible to get commit right into this repository?

Sorry, not sure what you mean. Do you mean embed the example directly in this repository? Part of the reasoning behind having it be a submodule was to reduce duplication of work. The RH Container COP actively maintains those examples. Let me know if I misunderstand.

Also removed README contained some info about scaling replicaset. Mainly about scaling down and absence of removing members from mongodb configuration. So after big scale down replicaset could be unreachable.

We could certainly add part/all of the document back.

Sorry, not sure what you mean. Do you mean embed the example directly in this repository? Part of the reasoning behind having it be a submodule was to reduce duplication of work. The RH Container COP actively maintains those examples. Let me know if I misunderstand.

I understand. I thought about whats a process of contributing into that repo. And if it would be possible to be added as collaborator to that repo to be able to participate in maintaing of this example...

We could certainly add part/all of the document back.

Thanks.

I understand. I thought about whats a process of contributing into that repo. And if it would be possible to be added as collaborator to that repo to be able to participate in maintaing of this example...

You could ask. I believe Eric Sauer, and Andrew Block are the owners of that repository. You will probably have to create a fork, and submit PRs from your fork.

Thanks @jbornemann, that is very interesting. I'm thinking whether including such a repo as a submodule is the best way here, since the repository includes much more than just mongodb examples. Wouldn't a link from README.md to the remote directory be better? If we want to use the remote templates for testing, we can always download latest template and run it, it doesn't need to be a submodule..

Sure, that's fine by me. I've updated

Can one of the admins verify this patch?

Can one of the admins verify this patch?

mongodb container is not maintained any more in this org. closing.


Ideas for better Notion Loader: Add optional Filter to load only specific documents

I have a huge Notion Database for my Second Brain, and I think others do as well. To extract only specific pages from a database, it would be nice to add a filter parameter (only optional).
I can do it, if you want.

@MarkusOdenthal that would be amazing if you wanted to contribute a PR!


Make it clear to users that downloaded data is under a CC-BY license

Add a reference to the "Creative Commons Attribution 4.0" license to the "Export Data" dialog.
Maybe link to https://data.humancellatlas.org/about/data-use-agreement

From @lauraclarke :
A paper which might be useful in considering solutions https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0213090
And a blog post https://nlmdirector.nlm.nih.gov/2019/06/11/socio-legal-barriers-to-data-reuse/

Proposing the following text to be added the various places above:
@lauraclarke will how does the text below look? We would put this on the bottom of every download dialog (like the ones listed above).
"Data downloaded from the HCA DCP is governed by the HCA Data Release Policy and licensed under the  Creative Commons Attribution 4.0 International License (CC BY 4.0).  For more information please see our Data Use Agreement"

Looks good to me


NumberPicker does not call onChanged when value == initialValue

If you are using the NumberPicker to let the user select a value and during the selection, you want to synchronize with another Widget (e.g. Text), there is no call to onChanged when the user gets back to the initialValue.
I think an extra option would be nice (e.g. bool forceOnChanged - default false) which would allow the developer to decide whether he wants to be notified in all circumstances.

Yes, indeed.  As this is not an official Flutter Widget, please discard this ticket.


xComputer - Set KMS & Activate Windows

Is there a Dsc Resource which allows me to set a KMS and activate a Server from it?

Doesn’t seem to be one in this repository, and the only one I could find with a quick search was https://github.com/mkht/DSCR_MSLicense, maybe it can help you?

Basically you need a resource that can set the correct KMS Client key for a KMS client, if not using a media that is pre-pidded with the key already?
Labeling this as help wanted so someone in the community can run with this.


Schedule tab stage 4: run status

@briandennis I'm just teeing up this issue for when Stage 3 is done... Stage 4 is basically all the stuff that's in your mock that's not in Stage 3, such as "last run time and status (Success/num-rows or failure)" and tags and so on.

The aim with stage 4 is strictly to add in the ability to associate a name with queries. Note, our last scope adjusted mocks did not include the concepts of last run time, status, or tags.

Ah ok we can rename this issue “stage 5” then :)
On Thu, Jul 19, 2018 at 17:32 Brian Dennis<EMAIL_ADDRESS>wrote:

The aim with stage 4 is strictly to add in the ability to associate a name
with queries. Note, our last scope adjusted mocks
https://github.com/plotly/falcon-sql-client/issues/425#issuecomment-400813333
did not include the concepts of last run time, status, or tags.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/plotly/falcon-sql-client/issues/492#issuecomment-406421025,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMbA3dSH3i6yWwyDT2o2MyyJzCtUz9Qks5uIPrrgaJpZM4VXCiK
.


GraphQLClient errorPolicy: "all" does not work

Description
According to the README, using the client with errorPolicy set to "all" and calling rawRequest should return the whole response object and not throw an error.
Reproduction Steps/Repo Link

Have a query someQuery throw an error.
Initialize client

const client = new GraphQLClient(url, {
  method: "POST",
  errorPolicy: "all",
});

Make request

const result = await client.rawRequest({
  query: gql`
    query SomeQuery {
      someQuery {
        someField
      }
    }
  `
});

An error is thrown instead of result containing an empty data field and an errors array

Experiencing similar behaviour, with { errorPolicy: 'ignore'} & request function call

Also seeing this issue but oddly it is not consistent; sometimes it returns properly and other times it throws.

This appears to be working on trunk per the test. If someone can prove the bug with a PR with a failing test, that would be helpful. Thanks! https://github.com/jasonkuhrt/graphql-request/blob/fff4731cdc4892adead49ebf3b1b6422257cc151/tests/errorPolicy.test.ts#L31

+1, this is still an issue on all versions 5-7 that I have tried. No matter what error policy is set through, the client is throwing an error

Any update guys? im having same issue in v7.0.1

@andikhadev Can you please open a new issue. Thanks!


Implement an EditTextPreference counterpart

androidx.preference provides EditTextPreference as a way to accept arbitrary text input from users, which has no parallel in ModernAndroidPreference as of now.
It'd also be great to be able to have an optional validator method that would be called when the user attempts to save the value, and possibly a way to provide inputType flags for the underlying EditText so we can enforce things like numeric input without needing the validator or inconveniencing the user.

Shipped in 1.2.0-alpha1 so probably okay to close now

Yep, closing this now.


UI: add a footer, similar to Rancher

Don't need the two right most items.
We can put a websocket status icon to the right corner though.
Also need to find a way for UI to build with a certain version number. Better without modify the UI code.

Also we can add a websocket connectivity state at the bottom right corner. Then we can know if the fix for https://github.com/rancher/longhorn/issues/145 works.

https://github.com/rancher/longhorn-ui/pull/68

Fixed.


buildah: 0.11 -> 0.12

Semi-automatic update. These checks were performed:

built on NixOS
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah -h got 0 exit code
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah --help got 0 exit code
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah help got 0 exit code
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah -v and found version 0.12
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah --version and found version 0.12
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah -h and found version 0.12
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah --help and found version 0.12
ran /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin/bin/buildah help and found version 0.12
found 0.12 with grep in /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin
found 0.12 in filename of file in /nix/store/1by5s8x42fdb4xfz61h8a48dfw9vbdkp-buildah-0.12-bin

@GrahamcOfBorg build buildah

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘lvm2-2.02.177’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/os-specific/linux/lvm2/default.nix:81 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/test_runner.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/test_buildah_build_rpm.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/examples/all-the-things.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -x"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/examples/copy.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -x"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/examples/lighttpd.sh: interpreter directive changed from "/bin/bash -x" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash -x"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/libdm_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/ostree_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
/nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12/share/go/src/github.com/projectatomic/buildah/.papr.sh: interpreter directive changed from "/bin/bash" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/bash"
checking for references to /tmp/nix-build-buildah-0.12.drv-0 in /nix/store/9zq2zbd7i8mgjsqiwdllxh4p1iaylhwx-buildah-0.12...
/nix/store/lf2wh1pgn8a1pbs80l99vcnh3jx9y4fl-buildah-0.12-bin

Success on aarch64-linux (full log)
Partial log (click to expand)
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/ostree_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/selinux_tag.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/test_buildah_build_rpm.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/test_runner.sh: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/validate/git-validation.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/validate/gofmt.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/validate/gometalinter.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
/nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12/share/go/src/github.com/projectatomic/buildah/tests/validate/govet.sh: interpreter directive changed from "/bin/bash" to "/nix/store/lnws52qanbi5vz8qg24v4ym57nznfndg-bash-4.4-p12/bin/bash"
checking for references to /build in /nix/store/wjypvzsmkb9q5vfg69kwzpa0m407ql62-buildah-0.12...
/nix/store/mn3y00mpm4acykf5gan4qdjxlvm0r4yn-buildah-0.12-bin


Improve Windows compatibility

Summary
This PR makes a few small changes to greatly improve Windows compatibility.
These changes include:

Using platform-independent command alternatives in npm scripts
Using cross-spawn instead of child_process
Bumping ethereum-waffle to 2.0.15 to get the fix for EthWorks/Waffle#92

Checklist

[x] Change is small and easy to review (please split big changes into multiple PRs)
[x] Change is consistent with architecture
[x] Change is consistent with test architecture
[x] Change is consistent with naming conventions

❤ Good work! Huge fun of it. @yaram make Waffle & Universal Login work on windows since Jan 2019 :)


Line errors are totally off with portable pdbs on mono

Not sure who's fault this is by the information we're using to show the line number is way off.

/cc @tmat

Mono bug


Fix twitter meta tags

Fixes #107
This PR overwrites the default Twitter specific meta tags for blog posts so they show up in links shared on Twitter

For some reason when I tweet this out, the url preview doesn't show up. However, I think this is due to the staging URL. I think your PR is correct.

Running an experiment to check something. I think the preview fails to load because the meta tags aren't using https. Checking to see what happens when I force them to use https

That's not it. Twitter has an (out of date) card validator online, but I checked the staging URL and came back with this


Added a word-error-rate script

This adds a word error rate script.
Next: include it as part of net3-recognizer.py.

Will upload an improved version.


npx RNtailwindcss error on 1.11.1

i am getting this error everytime i try to run npx RNtailwindcss
cp: ../react-native-tailwindcss/stubs/defaultConfig.stub.js: No such file or directory

Getting this same error unfortunately.


[BUG] Octave Doubling Down Produces Error

Whenever I run Octave Doubling Down I get the following error. (What a great script btw.)

Should be resolved with the most recent push.


Update logback-classic, logback-core to 1.2.8

Updates

ch.qos.logback:logback-classic
ch.qos.logback:logback-core

from 1.2.3 to 1.2.8.
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback" } ]

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

Superseded by #294.


Connect to Local Visual Studio Code

Github Codespaces has a feature where you can connect a codespace to a local installation of Visual Studio Code. Could there be a similar feature for code server (an extension maybe)?

Does that functionality just use the remote VS Code extensions? We have
an issue for implementing our own version of those extensions:
https://github.com/cdr/code-server/issues/2549

Does that functionality just use the remote VS Code extensions? We have
an issue for implementing our own version of those extensions:
https://github.com/cdr/code-server/issues/2549

That's what I was looking for. Duplicate of #1315.

That's what I was looking for. Duplicate of #1315.


GDrive MCP server won't find credentials when used via npx

Hi All,
The mcp tools seem to be working fine on Windows now but i am having issues with the mcp gdrive server.
Specifically:
this is my set up":
"gdrive": {
"command": "C:\Program Files\nodejs\node.exe",
"args": [
"C:\Users\shont\AppData\Roaming\npm\node_modules\https://github.com/modelcontextprotocol\server-gdrive\dist\index.js"
]
}
Error: Cannot find module 'C:\C:\Users\shont\AppData\Roaming\npm\node_modules\gcp-oauth.keys.json'
Require stack:
C:\Users\shont\AppData\Roaming\npm\node_modules<EMAIL_ADDRESS>at Function._resolveFilename (node:internal/modules/cjs/loader:1239:15)
at Function._load (node:internal/modules/cjs/loader:1064:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Module.require (node:internal/modules/cjs/loader:1325:12)
at require (node:internal/modules/helpers:136:16)
at authenticate (C:\Users\shont\AppData\Roaming\npm\node_modules@modelcontextprotocol\server-gdrive\node_modules@google-cloud\local-auth\build\src\index.js:49:21)
at authenticateAndSaveCredentials (file:///C:/Users/shont/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-gdrive/dist/index.js:150:24)
at file:///C:/Users/shont/AppData/Roaming/npm/node_modules/@modelcontextprotocol/server-gdrive/dist/index.js:171:5
at ModuleJob.run (node:internal/modules/esm/module_job:271:25) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\Users\shont\AppData\Roaming\npm\node_modules\https://github.com/modelcontextprotocol\server-gdrive\node_modules\https://github.com/Google-Cloud\local-auth\build\src\index.js'
]
}
(node:22640) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
this is the error i get when i try to auth -> ive saved the json key at:
C:\Users\shont\AppData\Roaming\npm\node_modules@modelcontextprotocol\server-gdrive
help/advice on fixing, please?

Your args look incorrect here:
C:\Users\shont\AppData\Roaming\npm\node_modules\https://github.com/modelcontextprotocol\server-gdrive\dist\index.js
The URL shouldn't be embedded in there.
Can you try changing it to use npx now that https://github.com/modelcontextprotocol/servers/issues/40 is fixed on Windows?

I followed and completed all the steps but gdrive still isn't showing up as a tool

I still have the same problem -- all the other tools working well except for gdrive.  :-(

Ah, I suppose the issue here is that this server isn't going to be compatible with npx while it looks for local credentials on disk. 🫤
A workaround for now would be to clone the repo and npm link or npm install the server locally. Sorry about the trouble.

Thanks for reporting this issue. I also encountered the same problem and found a workaround.

### Current Issue
The server incorrectly tries to find the OAuth key file with a duplicated drive letter prefix:
```javascript
// Current problematic code tries this path:
'C:\C:\Users\...\gcp-oauth.keys.json'

Workaround Steps

First build the server:

cd C:\Users\[YourUsername]\AppData\Roaming\npm\node_modules\@modelcontextprotocol\server-gdrive
npm run build

Place the OAuth key file directly in the server's directory:

copy [YOUR_KEY_PATH]\gcp-oauth.keys.json<EMAIL_ADDRESS>

Set the environment variable and run the authentication:

set<EMAIL_ADDRESS>node dist/index.js auth

Long-term Solution Suggestion
The current code:
keyfilePath: path.join(path.dirname(new URL(import.meta.url).pathname), "../../../gcp-oauth.keys.json")

Could be improved to handle Windows paths better by using:
const keyfilePath = path.resolve(process.cwd(), 'gcp-oauth.keys.json');

This would provide a more robust solution across different platforms.
Note
As @jspahrsummers mentioned, this is related to npx compatibility issues. Until a proper fix is implemented, the above workaround should get the server working on Windows systems.

Let me create a detailed issue report in English about the GDrive MCP server authentication issue.
GDrive MCP server won't find credentials when used via npx #203
Thanks for reporting this issue. I also encountered the same problem and found a workaround.
Current Issue
The server incorrectly tries to find the OAuth key file with a duplicated drive letter prefix:
// Current problematic code tries this path:
'C:\C:\Users\...\gcp-oauth.keys.json'

Workaround Steps

First build the server:

cd C:\Users\[YourUsername]\AppData\Roaming\npm\node_modules\@modelcontextprotocol\server-gdrive
npm run build

Place the OAuth key file directly in the server's directory:

copy [YOUR_KEY_PATH]\gcp-oauth.keys.json<EMAIL_ADDRESS>

Modify the source code (index.ts) to fix path resolution:

// Old code
const credentialsPath = path.join(
  path.dirname(new URL(import.meta.url).pathname),
  "../../../.gdrive-server-credentials.json"
);

// New code
const credentialsPath = path.resolve(process.cwd(), ".gdrive-server-credentials.json");

// Also modify the authentication function
async function authenticateAndSaveCredentials() {
  console.log("Launching auth flow…");
  const auth = await authenticate({
    keyfilePath: path.resolve(process.cwd(), "gcp-oauth.keys.json"),
    scopes: ["https://www.googleapis.com/auth/drive.readonly"]
  });
  fs.writeFileSync(credentialsPath, JSON.stringify(auth.credentials));
  console.log("Credentials saved. You can now run the server.");
}

Run the authentication:

node dist/index.js auth

Configuration for Claude Desktop
Update your claude_desktop_config.json:
{
  "mcpServers": {
    "gdrive": {
      "command": "node",
      "args": [
<EMAIL_ADDRESS>      ]
    }
  }
}

Long-term Solution Suggestion
The current code:
keyfilePath: path.join(path.dirname(new URL(import.meta.url).pathname), "../../../gcp-oauth.keys.json")

Could be improved to handle Windows paths better by using:
const keyfilePath = path.resolve(process.cwd(), 'gcp-oauth.keys.json');

This provides a more robust solution across different platforms.
Note

This issue is related to Windows path resolution and npx compatibility
The workaround avoids path resolution issues by using absolute paths
The solution ensures the credentials file is found correctly regardless of how the server is launched
Using node directly instead of npx provides more stable operation on Windows

File Structure After Fix
C:\Users\[YourUsername]\AppData\Roaming\npm\node_modules\@modelcontextprotocol\server-gdrive\
├── dist\
│   └── index.js
├── gcp-oauth.keys.json
└── .gdrive-server-credentials.json  # Generated after authentication

Please note that this is a temporary workaround until a proper fix is implemented in the upstream package. The long-term solution would involve improving the path resolution logic in the core package.
#!/usr/bin/env node
import { authenticate } from "@google-cloud/local-auth";
import { Server } from<EMAIL_ADDRESS>import { StdioServerTransport } from<EMAIL_ADDRESS>import { CallToolRequestSchema, ListResourcesRequestSchema, ListToolsRequestSchema, ReadResourceRequestSchema } from<EMAIL_ADDRESS>import fs from "fs";
import { google } from "googleapis";
import path from "path";
const drive = google.drive("v3");
const server = new Server({
name: "example-servers/gdrive",
version: "0.1.0",
}, {
capabilities: {
resources: {},
tools: {},
},
});
// List Resources
server.setRequestHandler(ListResourcesRequestSchema, async (request) => {
const pageSize = 10;
const params = {
pageSize,
fields: "nextPageToken, files(id, name, mimeType)",
};
if (request.params?.cursor) {
params.pageToken = request.params.cursor;
}
const res = await drive.files.list(params);
const files = res.data.files;
return {
resources: files.map((file) => ({
uri: gdrive:///${file.id},
mimeType: file.mimeType,
name: file.name,
})),
nextCursor: res.data.nextPageToken,
};
});
// Read Resource
server.setRequestHandler(ReadResourceRequestSchema, async (request) => {
const fileId = request.params.uri.replace("gdrive:///", "");
const file = await drive.files.get({
fileId,
fields: "mimeType",
});
if (file.data.mimeType?.startsWith("application/vnd.google-apps")) {
let exportMimeType;
switch (file.data.mimeType) {
case "application/vnd.google-apps.document":
exportMimeType = "text/markdown";
break;
case "application/vnd.google-apps.spreadsheet":
exportMimeType = "text/csv";
break;
case "application/vnd.google-apps.presentation":
exportMimeType = "text/plain";
break;
case "application/vnd.google-apps.drawing":
exportMimeType = "image/png";
break;
default:
exportMimeType = "text/plain";
}
const res = await drive.files.export({ fileId, mimeType: exportMimeType }, { responseType: "text" });
return {
contents: [
{
uri: request.params.uri,
mimeType: exportMimeType,
text: res.data,
},
],
};
}
const res = await drive.files.get({ fileId, alt: "media" }, { responseType: "arraybuffer" });
const mimeType = file.data.mimeType || "application/octet-stream";
if (mimeType.startsWith("text/") || mimeType === "application/json") {
return {
contents: [
{
uri: request.params.uri,
mimeType: mimeType,
text: Buffer.from(res.data).toString("utf-8"),
},
],
};
} else {
return {
contents: [
{
uri: request.params.uri,
mimeType: mimeType,
blob: Buffer.from(res.data).toString("base64"),
},
],
};
}
});
// Tools
server.setRequestHandler(ListToolsRequestSchema, async () => {
return {
tools: [
{
name: "search",
description: "Search for files in Google Drive",
inputSchema: {
type: "object",
properties: {
query: {
type: "string",
description: "Search query",
},
},
required: ["query"],
},
},
],
};
});
server.setRequestHandler(CallToolRequestSchema, async (request) => {
if (request.params.name === "search") {
const userQuery = request.params.arguments?.query;
const escapedQuery = userQuery.replace(/\/g, "\\").replace(/'/g, "\'");
const formattedQuery = fullText contains '${escapedQuery}';
const res = await drive.files.list({
q: formattedQuery,
pageSize: 10,
fields: "files(id, name, mimeType, modifiedTime, size)",
});
const fileList = res.data.files
?.map((file) => ${file.name} (${file.mimeType}))
.join("\n");
return {
content: [
{
type: "text",
text: Found ${res.data.files?.length ?? 0} files:\n${fileList},
},
],
isError: false,
};
}
throw new Error("Tool not found");
});
const credentialsPath = path.resolve(process.cwd(), ".gdrive-server-credentials.json");
async function authenticateAndSaveCredentials() {
console.log("Launching auth flow…");
const auth = await authenticate({
keyfilePath: path.resolve(process.cwd(), "gcp-oauth.keys.json"),
scopes: ["https://www.googleapis.com/auth/drive"],
});
fs.writeFileSync(credentialsPath, JSON.stringify(auth.credentials));
console.log("Credentials saved. You can now run the server.");
}
async function loadCredentialsAndRunServer() {
if (!fs.existsSync(credentialsPath)) {
console.error("Credentials not found. Please run with 'auth' argument first.");
process.exit(1);
}
const credentials = JSON.parse(fs.readFileSync(credentialsPath, "utf-8"));
const auth = new google.auth.OAuth2();
auth.setCredentials(credentials);
google.options({ auth });
console.log("Credentials loaded. Starting server.");
const transport = new StdioServerTransport();
await server.connect(transport);
}
if (process.argv[2] === "auth") {
authenticateAndSaveCredentials().catch(console.error);
} else {
loadCredentialsAndRunServer().catch(console.error);
}