The request body is too large and exceeds the maximum permissible limit

Which version of the SDK was used?
git sha 8a1deeeabe0a24f918d29630ede0da2a1c8f3b2f
Which platform are you using? (ex: Windows, Linux, Debian)
Linux
What problem was encountered?
Getting "The request body is too large and exceeds the maximum permissible limit." when trying to upload a file that is 406MB. I assumed the SDK will use the block API when Upload is called.
Could this be due to thread safety
redacted error here:
to azure: -> go/src/vendor/github.com/Azure/azure-storage-blob-go/azblob.newStorageError, go/src/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=RequestBodyTooLarge) =====
Description=The request body is too large and exceeds the maximum permissible limit.
RequestId:374d3b8a-701e-0070-0182-3df29e000000
Time:2019-07-18T16:04:56.4325117Z, Details:
Code: RequestBodyTooLarge
MaxLimit: 268435456
PUT https://REDACTED.blob.core.windows.net/REDACTED.json.gz?timeout=61
Authorization: REDACTED
Content-Length: [406877941]
User-Agent: [Azure-Storage/0.6 (go1.12.4; linux)]
X-Ms-Blob-Cache-Control: []
X-Ms-Blob-Content-Disposition: []
X-Ms-Blob-Content-Encoding: []
X-Ms-Blob-Content-Language: []
X-Ms-Blob-Content-Type: [application/json]
X-Ms-Blob-Type: [BlockBlob]
X-Ms-Client-Request-Id: [e8209b14-8f12-40fe-4cdd-3ff10503bb7c]
X-Ms-Meta-Compression: [true]
X-Ms-Version: [2018-11-09]
RESPONSE Status: 413 The request body is too large and exceeds the maximum permissible limit.
Content-Length: [290]
Content-Type: [application/xml]
Date: [Thu, 18 Jul 2019 16:04:56 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [RequestBodyTooLarge]
X-Ms-Request-Id: [374d3b8a-701e-0070-0182-3df29e000000]
X-Ms-Version: [2018-11-09]
How can we reproduce the problem in the simplest way?
Here is a snippet from where the error happens:
`p := azblob.NewPipeline(azc, azblob.PipelineOptions{})
u, _ := url.Parse("https://REDACTED.blob.core.windows.net")
serviceURL := azblob.NewServiceURL(*u, p)
containerURL := serviceURL.NewContainerURL("REDACTED")
ctx := context.Background()
eg, gCtx := errgroup.WithContext(ctx)
// iterate over a slice of SeekReader
for _, file := range files {
eg.Go(func()error{
select {
case <-gCtx.Done():
return gCtx.Err()
default:
f.Seek(0, os.SEEK_SET)
blobURL := containerURL.NewBlockBlobURL("REDACTED.json.gz")
resp, err := blobURL.Upload(gCtx, f, azblob.BlobHTTPHeaders{ContentType: "application/json"}, azblob.Metadata{"Compression": "true"}, azblob.BlobAccessConditions{})
if err != nil || resp == nil {
return err
}
return nil
}
})
}
if err := eg.Wait(); err != nil {
log.Fatal(err.Error())
}
`
Have you found a mitigation/solution?
no

Hi @dagger, thanks for reaching out and sorry for the confusion.
The Upload method is actually calling the put-blob API, which has a limit of 256MB. I'll update the doc to make it clearer.
For your use case, please try one of the convenience methods here.

Thanks for the clear response. I will give it a whirl and let you know how things go.

I switched the logic within the goroutine to be more like the following and use streaming:
`src, err := s.Reader(gCtx)
if err != nil {
return obserr.Annotate(err, "creating source reader")
}
                      blobURL := containerURL.NewBlockBlobURL(d.ObjectKey())
                      o := azblob.UploadStreamToBlockBlobOptions{
                          BufferSize: 16 * 1024 * 1024,
                          MaxBuffers: 8,
                          BlobHTTPHeaders: azblob.BlobHTTPHeaders{
                              ContentType: "application/json",
                          },
                          Metadata: azblob.Metadata{"Compression": "true"},
                      }
                      resp, err := azblob.UploadStreamToBlockBlob(gCtx, src, blobURL, o)`

Now I am getting errors about invalid blob content:
`go/src/vendor/github.com/Azure/azure-storage-blob-go/azblob.newStorageError, go/src/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=InvalidBlobOrBlock) =====
Description=The specified blob or block content is invalid.
RequestId:fd9bedde-601e-0081-6c43-3e230d000000
Time:2019-07-19T15:02:56.6885556Z, Details:
Code: InvalidBlobOrBlock
PUT https://REDACTED.blob.core.windows.net/REDACTED.json.gz?blockid=URG7uBHvRZZFboJt7TAQPwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%3D%3D&comp=block&timeout=61
Authorization: REDACTED
Content-Length: [16777216]
User-Agent: [Azure-Storage/0.6 (go1.12.4; linux)]
X-Ms-Client-Request-Id: [9659d695-a402-420f-48ae-bcdedca8350c]
X-Ms-Version: [2018-11-09]
RESPONSE Status: 400 The specified blob or block content is invalid.
Content-Length: [234]
Content-Type: [application/xml]
Date: [Fri, 19 Jul 2019 15:02:55 GMT]
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
X-Ms-Error-Code: [InvalidBlobOrBlock]
X-Ms-Request-Id: [fd9bedde-601e-0081-6c43-3e230d000000]
X-Ms-Version: [2018-11-09]`
Can you help point out if I am doing something wrong? Especially with the values in the options struct.

Common issue that the server has some pending blocks left, when the application exit. Remove the file and try again.

Yeah looks like retries eventually succeed.

@dagger please let us know if you have any other question or concern.


MAINT: pip-pre failures

All PRs are failing pip-pre with for example:
https://github.com/mne-tools/mne-python/actions/runs/7562092509/job/20668202667?pr=12237
Looks like there is a lot of stuff to fix here including some invalid value and linalg stuff. :(
I'll try to look Monday

Yet More CI failures! 🤠  Looks like Pandas is warning of an additional upcoming hard dependency, causing a lot of MNE tests to fail, For example see https://github.com/mne-tools/mne-python/actions/runs/7618003617/job/20748304122?pr=12237
and https://github.com/pandas-dev/pandas/issues/54466
Wasn't sure if this one was on your radar yet.

Wasn't sure if this one was on your radar yet.

Thanks for reporting. It showed up in the weekly CI job overnight, but I haven't done anything about it yet 😞

Yep fixes for that are in https://github.com/mne-tools/mne-python/pull/12377


Create feedback process for non-devs

Is your feature request related to a problem? Please describe.
As people use the tool, they should be able to provide feedback, so that the tool can be its best! GitHub issues are a great way to provide feedback, but not everyone is GitHub-fluent. Can we support a more accessible process for providing feedback?
Describe the solution you'd like
Some ideas

maybe a slack or discord community would be good enough...?
could just have a simple UI where you can submit a message... would be nice if there could be back-and-forth though

Whatever the solution is, there should be a button in the UI to either submit feedback or go to the tool where you can submit feedback
UX idea:

Additional context

Closed by #143

There's no UI for submitting a message, but there's an email address that can be emailed, and I think that's decent enough.


TraceX - Print and Download functionality for Alerts and Investigations

Description

Impact

Additional information

[ ] I'm willing to contribute to this feature

Closed by NSC because no progress. Please reopen and assign an upcoming release if needed.


(Bug) user isnt detected as delete after deleting account

trying to log in with same google account doesnt lead to signup flow after deleting account

verify that profile is deleted on gundb as it used to check if user already exists

Verified as done.
Checked on the Dev env. v0.18.1-2
Devices:
Redmi Go // Android 8.1.0


HTTP timeout in ProminenceClient fixed at 10

Noticed that the timeout was hardwired to 10, and the value of HTTP_TIMEOUT (40) was not being used.

Closing this as the code has changed significantly since this problem was noticed


Double InputHidden rendering

Form:
class ContactForm(ModelForm):
    scope_prefix = 'contact_data'
    form_name = 'contact_form'

    layout = Layout(
        Row('name', 'function'),
        Row('primary', 'user_pwd')
    )

    class Meta:
        model = Contact
        fields = ('name', 'function','primary', 'user_pwd')

    def __init__(self, *args, **kwargs):
        super(ContactForm, self).__init__(*args, **kwargs)

        if self.instance.pk:
            self.fields["user_pwd"].disabled = True
            if self.initial.get("primary"):
                self.fields["primary"].disabled = True
        else:
            # self.fields["user_pwd"].widget = forms.HiddenInput()
            self.fields["user_pwd"].widget.attrs["type"] = "hidden"
            self.fields["user_pwd"].label = ""

Output:

Mm, yep, if field is present in the layout, it rendered in the desired by layout place, and the hidden form fields rendered separately.
I'm not sure should it be fixed or not. You can make the layout as dynamic @property to overcome this

Mm, yep, if field is present in the layout, it rendered in the desired by layout place, and the hidden form fields rendered separately.
I'm not sure should it be fixed or not. You can make the layout as dynamic @property to overcome this

Ok, @property is a great solution. Ok, I didn't think about it at all.
Thanks.


Issue: No option for "Unknown" language results in limited results

If you do not select every single language option, you end up excluding results with "unknown" languages that are typically English.

https://github.com/g0ldyy/comet/commit/6f7c79f91dffabd28bcce667be6c72837711414b


const ns should be FQDN

const ns should be FQDN, otherwise the listener does not know how to construct the endpoint address - here's what i mean:
const ns = "mynamespace";
Result:
$ node listener.js
listening
errorError: getaddrinfo ENOTFOUND relayhc relayhc:443
errorError: getaddrinfo ENOTFOUND relayhc relayhc:443
errorError: getaddrinfo ENOTFOUND relayhc relayhc:443

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@snobu : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@jtaubensee Please review these proposed changes. Thanks.


Update apps to use CN registry

Task
Update applications to use China registry for the following applications:

image: gsoci.azurecr.io/giantswarm/vpa-admission-controller:1.1.2
image: gsoci.azurecr.io/giantswarm/vpa-recommender:1.1.2
image: gsoci.azurecr.io/giantswarm/vpa-updater:1.1.2

The registry  value is provided by the app catalog - https://github.com/giantswarm/giantswarm-management-clusters/blob/main/management-clusters/galaxy/catalogs/patches/appcatalog-default-patch.yaml#L15-L18 .
Links

Original Github issue;
Investigation.

The upstream VPA chart uses global.imageRegistry (as kube-prometheus-stack, or all charts based on bitnami common templates).
We need to add global.imageRegistry to the appcatalog MC configuration, as before.
This was already fixed for galaxy by Quentin with this PR.


Pandas-style stack/unstack

From Johann
Is there an equivalent of stack/unstack out there? While looking at data, I often want to reshape things around, like:
f = pd.DataFrame({'X': [1, 2, 3, 4], 'Y': [5, 6, 7, 8]}, index=pd.MultiIndex.from_tuples([('A', 'a'), ('A', 'b'), ('B', 'a'), ('B', 'b')]))
     X  Y
A a  1  5
  b  2  6
B a  3  7
  b  4  8

f.stack()
A  a  X    1
      Y    5
   b  X    2
      Y    6
B  a  X    3
      Y    7
   b  X    4
      Y    8

f.unstack()
   X     Y
   a  b  a  b
A  1  2  5  6
B  3  4  7  8

f.unstack().reorder_levels([1,0], axis=1)
   a  b  a  b
   X  X  Y  Y
A  1  2  5  6
B  3  4  7  8

f.unstack().reorder_levels([1,0], axis=1).sort_index(axis=1)
   a     b
   X  Y  X  Y
A  1  5  2  6
B  3  7  4  8

Acton
reorder_levels can probably be done fairly easily using mapRowKeys/mapColKeys
For Pandas  stack/unstack, we should add something like that. The biggest problem is probably naming :-) (we are using stack/unstack for operations that convert between a frame and a de-noramlized frame with "Row", "Column", "Value" columns).
Any naming suggestions? The operations look to me like they are "rotating" the index (stack turns last level of row index to the last level of col index and unstack is the other way round), so perhaps rotate?

Hi - Just wanted to ask whether you are still planning to implement this. I wasn't able to find it in the documentation on https://fslab.org/Deedle.


Issue with "visible" / "visible-once" variant

Description:
When using the Vueuse/Motion library, I have encountered an issue with the "visible" / "visible-once" variant. Normally, the element should be immediately visible when it is within the viewport. However, the problem occurs where the element is only displayed when I scroll over the viewport.
Steps to reproduce:
Open the relevant page where the element with the "visible" / "visible-once" variant is used.
Ensure that the viewport directly shows the element without the need for scrolling.
Expected behavior:
The element should be immediately visible when it is within the viewport.
Current behavior:
The element is only displayed when scrolling over the viewport. It appears that the "visible" / "visible-once" variant is not functioning as expected.
Additional information:
Used version of Vueuse/Motion library: 2.0.0
Browser and version used: Brave [Version 1.52.130] (Chromium)
Operating system: Windows 10
Notes:
This issue affects the user experience as the element is not immediately visible when the viewport contains it. It would be desirable for the element to be correctly displayed according to the "visible" / "visible-once" variant, without the need for scrolling.

Hey @Rene-Roscher,
I have the same issue, I initially thought it was a user error but it seems like people are also experiencing this.
This issue dates back to September of 2021: https://github.com/vueuse/motion/issues/29
It is unfortunate that it hasn't yet been addressed. It is definitely killing this package for me.

@Tahul I found that this issue is found in chromium based browsers (tested in Google Chrome, Microsoft Edge) but not in Firefox.

Also waiting a fix for this...

Yes I would love a fix for this as the rest of the package is so good!

I have the same problem, this bring me to not use this library.

I have the same problem, this bring me to not use this library.

can you tell me which library you are using instead of this one?

Does anyone have a temporary solution for this? This is very unfortunate lol.. 😭

Facing the same issue here. Works fine on Firefox and Safari, broken on all Chromium-based browsers. Happens when navigating back to any previously visited page. Makes the library virtually useless for me... would be great if anyone has a fix or alternative

Hey everyone! I've found a temporary solution for this.. Its not ideal, but it works. Let me first post how this should work if the v-motion module behaved as expected:
How its suppose to work
The following animation should work when the item(s) are in the viewport. However, it does not. Here I have an animation function I simply pass into my project array (v-for loop) using v-motion.
Note this only works with enter, but not visible or visibleOnce
const animation = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 50 * i
    }
  }
})

// template code

Temporary solution
After a lot messing around, I found that you can use Vue Motion's apply function to provide the visible or 'visibleOnce' variant key to trigger the animation. Oh, and the only way this works if it is in a onMounted hook lol. Its ridiculous, but its the only thing that has worked for me. Now my animation triggers on initial page load (if it is shown in the viewport) and is triggered if it leaves and then come back into the viewport again (if I am using visible for example)
const animation = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 50 * i
    }
  }
})

onMounted(() => {
  const mediaItems = document.querySelectorAll('.media-item')

  mediaItems.forEach((mediaItem, i) => {
    const motion = useMotion(mediaItem, animation(i))
    motion.apply('visibleOnce')
  })
})

// template code

Maybe @Tahul you can take a look at this? This is really the only issue that is stopping this library from being perfect :)

Hey everyone! I've found a temporary solution for this.. Its not ideal, but it works. Let me first post how this should work if the v-motion module behaved as expected:
How its suppose to work
The following animation should work when the item(s) are in the initial viewport view. However, it does not. Here I have an animation function I simply pass into my project array (v-for loop) using v-motion.
Note this only works with enter, but not visible or visibleOnce
const animation = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 50 * i
    }
  }
})

// template code

Temporary solution
After a lot messing around, I found that you can use the useMotion composable within an onMounted hook. There might be another way, but so far its the only thing that has worked for me. Now my animation triggers on the initial viewport view and is triggered if it leaves and then come back into the viewport again (if I am using visible)
const animation = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 50 * i
    }
  }
})

onMounted(() => {
  const mediaItems = document.querySelectorAll('.media-item')

  mediaItems.forEach((mediaItem, i) => {
    useMotion(mediaItem, animation(i))
  })
})

// template code

Maybe @Tahul you can take a look at this? This is really the only issue that is stopping this library from being perfect :)
Also, @fabienbergerat is correct in that it seems the first solution (how its suppose to work) works fine in Safari and Firefox, but not Chrome. Seems to be a Chrome issue for whatever reason...

Thanks for this man! You saved my day

@Tahul Will there be a fix for this or should people just drop this package for others that are maintained?
I see this particular issue coming up again and again.
If you know where to point me to in order to fix this, i will gladly have a look myself but this issue is a dealbreaker.

i can confirm this, got same problem here

Yep i can confirm it too. Same problem.

Same issue.

Same problem...

+1 also finding this problematic especially when trying to get animations that work equally well in all screen sizes.

const animation = (i) => ({
initial: {
y: 30,
opacity: 0
},
visibleOnce: {
y: 0,
opacity: 1,
transition: {
type: 'spring',
delay: 50 * i
}
}
})

Here's a slightly more vue-esque variation of your solution @rylanharper
    const statEls = [];
    const setEl = (el) => {
        statEls.push(el);
    }
    const animate = (el, i) => useMotion(el, {
        initial: {
            y: 30,
            opacity: 0
        },
        visibleOnce: {
            y: 0,
            opacity: 1,
            transition: {
                type: 'spring',
                delay: 100 * i
            }
        }
    })
    onMounted(() => {
        statEls.forEach(animate);
    });

// template code

Thanks for the fix!

Another option would be to use the onVnodeMounted hook. Maybe not the best idea as that hook is undocumented, but useful if you want to attach the animation to items that are added to the list after the parent component has been mounted (as the onMounted hook is only called once).
const animation = (i) => ({
  initial: {
    y: 30,
    opacity: 0
  },
  visibleOnce: {
    y: 0,
    opacity: 1,
    transition: {
      type: 'spring',
      delay: 50 * i
    }
  }
})

// template code

 useMotion(node.el, animation(i))" >

Yeah, came from framer motion, this works ok at first page load, but if you push router and come back, it doesnt work in chrome. Any more elegant solutions? Because at this point if we need to use a non-declaritve way, i rather use gsap all together :p Im not sure where the issue is either, but let us know if PRs are accepted to fix this?

This should be resolved by #171, I have tested it locally in some small test projects and it seems to work as expected. Can someone else check to see if it works in existing projects? Curious to hear if it's a complete fix 😅.


Combobox input does not get the name passed in properties

The input name passed in the properties to the component doesn't get set in the input.

I need this name to be filled as I serialize the form it is in.

Fixed in v0.52.0


Sharing state across multiple Authenticator instances

Attempting to share authentication state in a react native app between multiple Authenticator components that wrap only a selected few of my react-navigation tabs. Currently, I store both authState and authData in my redux store. Everything works fine until I attempt to log out. If I try simply nullifying authState and authData in my redux store the Authenticator component re logs my user back in when it is shown. If i try to first call Auth.logout I receive the warning [WARN] Hub - error dispatching auth event to noname and my user is re-logged in when the Authenticator component is shown.

The recommended way is to call Auth.currentAuthenticatedUser to get auth state. issue 31 had some discussion about this.
Auth.currentAuthenticatedUser()
    .then(user => console.log(user))
    .catch(err => console.log(err));

For the Hub error could you share the aws-amplify-react-native version you are using?
Thanks,
Richard

@richardzcode my comment here is relevant to this issue: https://github.com/aws/aws-amplify/issues/51#issuecomment-350796237


cue/interpreter/embed: support embed attribute appearing multiple times missing?

What version of CUE are you using (cue version)?

$ cue version
cue version v0.0.0-20240712164527-719893f23850

go version go1.22.3
      -buildmode exe
       -compiler gc
  DefaultGODEBUG httplaxcontentlength=1,httpmuxgo121=1,tls10server=1,tlsrsakex=1,tlsunsafeekm=1
     CGO_ENABLED 1
          GOARCH arm64
            GOOS linux
             vcs git
    vcs.revision 719893f23850172d224720e6d1257586179ac895
        vcs.time 2024-07-12T16:45:27Z
    vcs.modified false
cue.lang.version v0.10.0

Does this issue reproduce with the latest release?
Yes
What did you do?
env CUE_EXPERIMENT=embed
exec cue export x.cue
cmp stdout stdout.golden

-- x.cue --
@extern(embed)

package x

f: _ @embed(glob=*.json) @embed(glob=*.yaml)

-- x.json --
5

-- x.yaml --
test

-- stdout.golden --
{
    "f": {
        "x.json": 5,
        "x.yaml": "test"
    }
}

What did you expect to see?
Passing test, at least based on the conversations we had regarding #3264 that I recall.
What did you see instead?
> env CUE_EXPERIMENT=embed
> exec cue export x.cue
[stderr]
duplicate @embed attributes:
    ./x.cue:5:26
[exit status 1]
FAIL: /tmp/testscript174121000/repro.txtar/script.txtar:2: unexpected command failure

The workaround for now is to declare the field multiple times:
env CUE_EXPERIMENT=embed
exec cue export x.cue
cmp stdout stdout.golden

-- x.cue --
@extern(embed)

package x

f: _ @embed(glob=*.json)
f: _ @embed(glob=*.yaml)

-- x.json --
5

-- x.yaml --
test

-- stdout.golden --
{
    "f": {
        "x.json": 5,
        "x.yaml": "test"
    }
}


Can't set cookies in request, although in the code they are set successfully.

Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
Hi. We use cookies for authentication. According logs, I see that cookies have been set successfully, but in IE Developer tool, requests have no cookies at all and I get Error 401 (Unauthorized). When I send request manually (not using TestCafe), authentication is successfully, get cookies in DevTool.
What is the expected behavior?
I expect to see request with cookies in IE DevTool
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
const setCookie = ClientFunction(() => {
document.cookie = "App=1_a6281148-e57f-4d2d-9495-cedc9ec43d8f; path=/"
}).with({boundTestRun: testController});
const getCookie = ClientFunction(() => {
return document.cookie;
}).with({boundTestRun: testController});
await setCookie()
console.log('Lets see cookies----------')
console.log(await getCookie());
await testController.navigateTo(url)
.maximizeWindow();
Result of the running in console:
Running tests in:

IE 11.0.0 / Windows 10.0.0

fixture
.Lets see cookies----------
App=1_a6281148-e57f-4d2d-9495-cedc9ec43d8f
.F--------------------..
Tested page URL:
Test code

Specify your

operating system: Win 10
testcafe version: 0.20.5
node.js version:8.9.4

Hi @Aniku2009, if your login page performs authentication request while it is loading, you can't set cookies in a test body or hooks, because they are executed after the page loading is finished. Try to set cookies in a Role, and then use it in your tests.

Thank you, Andrey, for the answer.
I did this but result is the same :(
const pmUserRole = Role(url, async t => {
await t
const setCookie = ClientFunction(() => {
document.cookie = "OApp=1_f6b4ec8b-84b8-4804-9fc5-2a746f4a3c3f"
}).with({boundTestRun: testController});
const getCookie = ClientFunction(() => {
return document.cookie;
}).with({boundTestRun: testController});
await setCookie()
console.log('Lets see cookies----------')
console.log(await getCookie());
});
await testController.useRole(pmUserRole)
.maximizeWindow();

Try to log the cookie header on your server. You can't see the cookie request header in DevTools, because request shown in DevTools aren't processed directly by your server, but go to the testcafe-hammerhead proxy server, which stores cookies independently and sends them to your server.
I'm afraid I can't help you much without access to your server and full test suite code. Simplified basic scenario works fine on my machine:
server.js
const http = require('http');

const COOKIE = 'blabla=foobar';

const render = ({ authorized } = {}) => `
<!DOCTYPE html>

    <title>Test</title>

${authorized ? 'Authorized' : 'Not authorized'}

        <button id="addCookie">Add Cookie</button>
        <button id="removeCookie">Remove Cookie</button>

`;

const server = http.createServer((req, res) => {
    console.log(req.headers.cookie)
    const hasCookie = req.headers.cookie && req.headers.cookie.includes(COOKIE);

    res.writeHead(200);
    res.end(render({ authorized: hasCookie }));
});

server.listen(7777);

test,js
import { Selector, ClientFunction, Role } from 'testcafe';

const setCookie = ClientFunction(() => {
    document.cookie = "blabla=foobar"
});

const getCookie = ClientFunction(() => {
    return document.cookie;
});

const pmUserRole = Role('localhost:7777', async t => {
    await setCookie.with({ boundTestRun: t })();

    await t.debug();
    console.log('Lets see cookies----------')
    console.log(await getCookie.with({ boundTestRun: t })());
});

fixture `cookies`
    .page`localhost:7777`
    .beforeEach(t => t.useRole(pmUserRole))

test
    (`cookie`, async t => {
        await t.expect(Selector('h2').textContent).match(/^Authorized/).wait(100000);
    })

Thank you Andrey for support.
Unfortunately, we could not solve the issue and applied workaround to disable authentication on server.
Good luck.


Make gitlab ci linters do not fail fast

What does this PR do?
This executes linters and then exit if one of them fail, all linters are always executed
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Wake up action works inconsistently

Description
Sometimes when you wake up, your character still sleeps. Action will be removed and impossible to add making player PERMANENTLY sleeping till someone or something else wakes them up. Sleeping in medbay for triple healing never been scarier.
Now that I think about it, I do not think I had it ever happen on stasis/normal/web bed, but of course it could be coincidence as sleeping on medibed will be most common occurence for most players.
Reproduction

Sleep
Wake up
Repeat if works as intended

sleep paralysis update dropped

It seems to happen a lot when you are injected with syringe or treated with topicals. You "wake up" and get non-sleep vision, and actions removed but your character is still asleep.

if you go to the action bar you'll see a sideways image of your character with the wakeup action in the corner if you click it you'll wake up

Ahem:

Action will be removed and impossible to add making player PERMANENTLY


Pre-commit throwing error

Hi - I'm trying to install this in my personal repo.
I specified my .pre-commit-config.yaml as below:
repos:
  - repo: https://github.com/dustinsand/pre-commit-jvm
    rev: v0.2.0
    hooks:
      - id: google-java-formatter-jdk8
        args: [--replace, --set-exit-if-changed]

Running pre-commit install works fine
but runningpre-commit run gives this error:
[INFO] Installing environment for https://github.com/dustinsand/pre-commit-jvm.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
An unexpected error has occurred: CalledProcessError: command: ('cs', 'install', '--default-channels=false', '--channel=/Users/alex/.cache/pre-commit/repoi6zmif03/.pre-commit-channel', 'google-java-format-jdk8', '--dir=/Users/alex/.cache/pre-commit/repoi6zmif03/coursier-default')
return code: 1
expected return code: 0
stdout:
    Executable `cs` not found
stderr: (none)

didn't install Coursier plugin!


docs: export with optional fields specified

Hi, this is a fairly unique approach I take.
I am using a CUE file as a schema to validate a YAML config, but I am also using the same schema to generate a YAML file with the required fields already made concrete.
However, the values for the required fields are coming from other users and are specified via a GitHub Issue. They never see the schema.
So, upon exporting, I would also like the exported YAML to also have the optional fields, so that users can see possible options without opening the schema.
Example:
//schema.cue
field1: string tag(field1)
optional_field?: string

cue export schema.cue yaml -t field1=<input from github issue>
//current result
field1: <input from github issue>

//wished for result
field1: <input from github issue>
optional_field: string

Is there a CLI flag?
Do you think this is even a good idea or is there a workaround?
The generated YAML is not going to be valid so you might not intend to even have this functionality.
Many  thanks!

I don't believe there's a way to achieve this with just your current inputs, and the cue command. I suspect it'd be possible through the Go API, but that's not my area of expertise!
You could achieve it by adding some (potentially conditionally-included) files, like this:
exec cue export --out yaml -t field1='some value' -t optional
cmp stdout golden.yaml
-- schema.cue --
package p

field1: string @tag(field1)
optional_field?: string

-- optionalFields.cue --
@if(optional)
package p

optional_field: "string"
-- golden.yaml --
field1: some value
optional_field: string

If your source CUE is simple enough, I could see it being possible to hackily create the conditional files with sed/etc, but that's of course sub-optimal. Alternatively, you could maintain the two files in parallel, depending on how complex your schema is.
It's perhaps worth noting that your final line:

The generated YAML is not going to be valid so you might not intend to even have this functionality.

... isn't actually the case, because YAML doesn't require quotes around strings. In my example, golden.yaml is valid YAML -- or cue wouldn't have created it!

Ok, many thanks anyway!
I will close this issue then


Downloading multiple torrents

Could you please make an update to be able to download multiple torrents like WebTorrent ?

There's nothing wrong with calling torrentStream("magnet-link") multiple times.

yes but the needed way should be engine.add("torrent"). Like webtorrent

Are there any technical problems regarding having around 300-500 torrents running?
Will there be 500+ connections open? And what about peerlists?

Also interested in this. Is it viable to use torrent stream for managing (down- and uploading) a large amount of torrents? i.e. use it as the core torrent component for a base torrent manager?

I'm using it in https://github.com/asapach/peerflix-server with multiple instances sharing the same DHT

Good to hear. Thanks @asapach!


Add in load model button

Create a feature to load previous models that were saved locally.

Added feature


change map field default names to follow the parquet format spec

Which issue does this PR close?

Closes #6213  .
Rationale for this change
The MapBuilder uses the nonstandardized default names, which results in #6213 . Changing to parquet spec helps reduce confusion and provides users with a more standardized naming guide.
According to the parquet-format spec, the outer-most level should be a group that contains a single field named key_value for Map type:

The outer-most level must be a group annotated with MAP that contains a single field named key_value. The repetition of this level must be either optional or required and determines whether the map is nullable.
The middle level, named key_value, must be a repeated group with a key field for map keys and, optionally, a value field for map values. It must not contain any other values.

Changing the default map field names to match it not only complies with the parquet spec, but also aligns with pyarrow.

What changes are included in this PR?
Default value of the MapFieldNames

Are there any user-facing changes?
No(I think)

Can you confirm pyarrow does follow this convention, the arrow spec has different guidance
https://github.com/apache/arrow-rs/blob/main/format%2FSchema.fbs#L133
I'm also rather wary of making this change as it will be highly disruptive, and for relatively limited benefit


Update access-modern-charts-properties.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Access-VBA/articles/access-modern-charts-properties.md
:white_check_mark:Succeeded

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Access-VBA/articles/access-modern-charts-properties.md
:white_check_mark:Succeeded

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


Manually install pip in GH actions

Attempt to fix the failing CI

Evidently pip no longer comes with conda on the GH cloud.


Missing Required Controller

After including the module and writing this PUG:
mdt-table(selectable-rows="true")
    mdt-header-row
        mdt-column(align-rule="left") Question's Text
    mdt-row(ng-repeat="question in questions" table-row-id="question.id")
        mdt-cell {{question.text}}

I got in console this error:
Error: $compile:ctreq Missing Required Controller
Controller 'mdtTable', required by directive 'mdtHeaderRow', can't be found!

Any way I can fix it?
Thank you,
Leonardo

Ok I got it: this issue was already notified. Solution is the same as the solution of issue #24 .


in_udp buffer size issue

td-agent version is:
root@kibanaes:~# dpkg -l | grep td-age
ii  td-agent                            2.3.2-0                             amd64        Treasure Agent: A data collector for Treasure Data
Ubuntu 14.04.
I have some issues with in_udp plugin.
We got a service which sends json messages over udp. And sometimes it sends about 500 000 messages in 10 secs. And just 5 000 of messages are delivered to kibana and local files.
I've checked configuration and found that issue is related to input udp buffer:
root@td-agent# netstat -su
IcmpMsg:
    OutType3: 817
Udp:
    2328648 packets received
    122718 packets to unknown port received.
    9310516 packet receive errors
    566 packets sent
    RcvbufErrors: 9310516

So, i've increased udp kernel parameters like this:
net.ipv4.udp_rmem_min =<PHONE_NUMBER>
net.ipv4.udp_wmem_min =<PHONE_NUMBER>
net.core.netdev_max_backlog=500000
net.core.rmem_max =<PHONE_NUMBER>

But i still get a lot of RcvbufErrors. I think it's related to socket creation inside fluentd. Maybe there is some options to increase input buffer size to socket?
Configuration:
<source>
  @type udp
  format json
  tag udp-input
  time_key date
  time_format %Y-%m-%dT%H:%M:%S
  port 24226
  @label @json_udp
  body_size_limit 5MB
</source>

Thanks!

I think it's related to socket creation inside fluentd.

How to check this?

@repeatedly I thought about increasing SO_RCVBUF in socket options.. But seems that this value is taken from net.core.rmem_default by default.
But it also didn't help.

@repeatedly i've checked linux udp stack using iperf:
[  3]  0.0-10.0 sec   488 MBytes   409 Mbits/sec   0.056 ms  480/348832 (0.14%)

No RcvbufErrors were seen. Average incoming rate was about 40 000 udp packet per sec.
Seems that fluentd can't handle such traf. Maybe i can debug it somehow?
Also i was checking fluentd using moniroring plugin and it didn't show me buffer_queue_len on elasticsearch output. So i think the problem is between kernel and fluent's socket. Any ideas?

@repeatedly ok, i've fixed that issue. Sorry for your time.
Seems that fluent doesn't have input buffer or smth like that. So if fluent can't accept new event - kernel drops it.
I've splitted configuration for udp input into 3 configs with different ports. And installed multiprocess plugin to run multiple instances. So configuration looks like this.
td-agent.conf:
.... skipped ...
<source>
  @type multiprocess

  <process>
    cmdline -c /etc/td-agent/td-agent-udp-1.conf --log /var/log/td-agent/td-agent-udp-1.log
    sleep_before_start 1s
    sleep_before_shutdown 5s
  </process>
  <process>
    cmdline -c /etc/td-agent/td-agent-udp-2.conf --log /var/log/td-agent/td-agent-udp-2.log
    sleep_before_start 1s
    sleep_before_shutdown 5s
  </process>
  <process>
    cmdline -c /etc/td-agent/td-agent-udp-3.conf --log /var/log/td-agent/td-agent-udp-3.log
    sleep_before_start 1s
    sleep_before_shutdown 5s
  </process>
</source>

... skipped ...

td-agent-udp-1.conf:
<source>
  @type udp
  format json
  tag udp-input
  time_key date
  time_format %Y-%m-%dT%H:%M:%S
  port 24236
  body_size_limit 5MB
</source>

... skipped ...

td-agent-udp-2/3.conf are the same except port setting: 24237 and 24238 are used.
Then i've configured iptables as load balancer for udp input. Just because i didn't want to reconfigure services which sends logs to fluent. Configuration is like this:
-A PREROUTING -d x.x.x.x/32 -p udp -m udp --dport 24226 -m state --state NEW -m statistic --mode nth --every 3 --packet 0 -j DNAT --to-destination x.x.x.x:24236
-A PREROUTING -d x.x.x.x/32 -p udp -m udp --dport 24226 -m state --state NEW -m statistic --mode nth --every 3 --packet 1 -j DNAT --to-destination x.x.x.x:24237
-A PREROUTING -d x.x.x.x/32 -p udp -m udp --dport 24226 -m state --state NEW -m statistic --mode nth --every 3 --packet 2 -j DNAT --to-destination x.x.x.x:24238

Where:

x.x.x.x - ip address of machine which is running fluentd
24226 - port which is used in client configs to send logs

Thats it. Just after that host was able to handle about 2000-4000 udp packets per second. And no packets were lost (rcvbuffererros counter was 0).
Also seems that iptables buffer packets somehow - because application has sent all logs in 10 seconds, but td-agent was receiving it during 2 minutes or smth like that.
So i think iptables will help with one agent too.

Thanks for the investigation.
I will link this issue from in_udp document.

Add note for this case: https://github.com/fluent/fluentd-docs/commit/1f41acf6c46e4d8be4661e3f69cf1e212cd580ff
Closed.

@repeatedly sorry for reopening the issue, but seems that iptables solution didn't work properly. UDP buffer filled up in some hours and everything goes down again.
So i've created a small golang service which acts like udp proxy. It's not great solution i think, but it works. Best way seems to move to some storage like kafka and pull logs from it.
So, here the code goes:
`package main
import (
"net"
"fmt"
"encoding/json"
"time"
"github.com/fluent/fluent-logger-golang/fluent"
)
const layout string = "2006-01-02T15:04:05"
var logger *fluent.Fluent
func handlePacket(buf []byte, rlen int) {
var msg interface{}
tag := "unknown"
var date string
log_json := buf[0:rlen]

err := json.Unmarshal(log_json, &msg)
if err != nil {
    fmt.Println(err)
}

entry := msg.(map[string]interface{})

if val, ok := entry["tag"]; ok {
  tag = val.(string)
}

if val, ok := entry["date"]; ok {
  date = val.(string)
}
loc, _ := time.LoadLocation("Local")
ts,err := time.ParseInLocation(layout, date, loc)
if err != nil {
  ts = time.Now()
}

err = logger.EncodeAndPostData(tag, ts.Local(), msg)
if err != nil {
    fmt.Println(err)
}

}
func main() {
logger, _ = fluent.New(fluent.Config{FluentPort: 24227, FluentHost: "<IP_ADDRESS>", BufferLimit:<PHONE_NUMBER>})
defer logger.Close()
addr, _ := net.ResolveUDPAddr("udp", ":24226")
sock, _ := net.ListenUDP("udp", addr)
sock.SetReadBuffer(6410241024)
for {
buf := make([]byte, 65536)
rlen, _, _ := sock.ReadFromUDP(buf)
go handlePacket(buf, rlen)
}
}`
We are getting tags from json. Also as a date. But date field is optional. So anyone could use that proxy to get logs by udp.
Thanks.


Library resolution failed. Cause: java.lang.RuntimeException: javax.mail:mail download failed.

Not sure why this is happening.  Trying to install com.microsoft.azure:msal4j:1.5.0 via Databricks sourced from Maven Central and consistently getting this error trying to install this dependency.  I'm running Databricks Runtime 6.5 ML. Thanks
Library resolution failed. Cause: java.lang.RuntimeException: javax.mail:mail download failed.
at com.databricks.libraries.server.MavenInstaller.$anonfun$resolveDependencyPaths$5(MavenLibraryResolver.scala:253)
at scala.collection.MapLike.getOrElse(MapLike.scala:131)
at scala.collection.MapLike.getOrElse$(MapLike.scala:129)
at scala.collection.AbstractMap.getOrElse(Map.scala:63)
at com.databricks.libraries.server.MavenInstaller.$anonfun$resolveDependencyPaths$4(MavenLibraryResolver.scala:253)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)
at scala.collection.mutable.ArraySeq.foreach(ArraySeq.scala:75)
at scala.collection.TraversableLike.map(TraversableLike.scala:238)
at scala.collection.TraversableLike.map$(TraversableLike.scala:231)
at scala.collection.AbstractTraversable.map(Traversable.scala:108)
at com.databricks.libraries.server.MavenInstaller.resolveDependencyPaths(MavenLibraryResolver.scala:249)
at com.databricks.libraries.server.MavenInstaller.doDownloadMavenPackages(MavenLibraryResolver.scala:455)
at com.databricks.libraries.server.MavenInstaller.$anonfun$downloadMavenPackages$2(MavenLibraryResolver.scala:381)
at com.databricks.backend.common.util.FileUtils$.withTemporaryDirectory(FileUtils.scala:448)
at com.databricks.libraries.server.MavenInstaller.$anonfun$downloadMavenPackages$1(MavenLibraryResolver.scala:380)
at com.databricks.logging.UsageLogging.$anonfun$recordOperation$4(UsageLogging.scala:430)
at com.databricks.logging.UsageLogging.$anonfun$withAttributionContext$1(UsageLogging.scala:238)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.databricks.logging.UsageLogging.withAttributionContext(UsageLogging.scala:233)
at com.databricks.logging.UsageLogging.withAttributionContext$(UsageLogging.scala:230)
at com.databricks.libraries.server.MavenInstaller.withAttributionContext(MavenLibraryResolver.scala:57)
at com.databricks.logging.UsageLogging.withAttributionTags(UsageLogging.scala:275)
at com.databricks.logging.UsageLogging.withAttributionTags$(UsageLogging.scala:268)
at com.databricks.libraries.server.MavenInstaller.withAttributionTags(MavenLibraryResolver.scala:57)
at com.databricks.logging.UsageLogging.recordOperation(UsageLogging.scala:411)
at com.databricks.logging.UsageLogging.recordOperation$(UsageLogging.scala:337)
at com.databricks.libraries.server.MavenInstaller.recordOperation(MavenLibraryResolver.scala:57)
at com.databricks.libraries.server.MavenInstaller.downloadMavenPackages(MavenLibraryResolver.scala:379)
at com.databricks.libraries.server.MavenInstaller.downloadMavenPackagesWithRetry(MavenLibraryResolver.scala:137)
at com.databricks.libraries.server.MavenInstaller.resolveMavenPackages(MavenLibraryResolver.scala:113)
at com.databricks.libraries.server.MavenLibraryResolver.resolve(MavenLibraryResolver.scala:44)
at com.databricks.libraries.server.ManagedLibraryManager$GenericManagedLibraryResolver.resolve(ManagedLibraryManager.scala:260)
at com.databricks.libraries.server.ManagedLibraryManagerImpl.$anonfun$resolvePrimitives$1(ManagedLibraryManagerImpl.scala:187)
at com.databricks.libraries.server.ManagedLibraryManagerImpl.$anonfun$resolvePrimitives$1$adapted(ManagedLibraryManagerImpl.scala:182)
at scala.collection.Iterator.foreach(Iterator.scala:941)
at scala.collection.Iterator.foreach$(Iterator.scala:941)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
at scala.collection.IterableLike.foreach(IterableLike.scala:74)
at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
at com.databricks.libraries.server.ManagedLibraryManagerImpl.resolvePrimitives(ManagedLibraryManagerImpl.scala:182)
at com.databricks.libraries.server.ManagedLibraryManagerImpl$ClusterStatus.installLibs(ManagedLibraryManagerImpl.scala:766)
at com.databricks.libraries.server.ManagedLibraryManagerImpl$InstallLibTask$1.run(ManagedLibraryManagerImpl.scala:467)
at com.databricks.threading.NamedExecutor$$anon$2.$anonfun$run$1(NamedExecutor.scala:335)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
at com.databricks.logging.UsageLogging.$anonfun$withAttributionContext$1(UsageLogging.scala:238)
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
at com.databricks.logging.UsageLogging.withAttributionContext(UsageLogging.scala:233)
at com.databricks.logging.UsageLogging.withAttributionContext$(UsageLogging.scala:230)
at com.databricks.threading.NamedExecutor.withAttributionContext(NamedExecutor.scala:265)
at com.databricks.threading.NamedExecutor$$anon$2.run(NamedExecutor.scala:335)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

@sebcruz This should be reported to the databricks team, looks like they are running into an issue when downloading "javax.mail:mail". Nothing we can do on our end.

Got it, thanks!

From: Santiago Gonzalez<EMAIL_ADDRESS>Sent: Wednesday, May 20, 2020 9:55 AM
To: AzureAD/microsoft-authentication-library-for-java<EMAIL_ADDRESS>Cc: sebcruz<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [AzureAD/microsoft-authentication-library-for-java] Library resolution failed. Cause: java.lang.RuntimeException: javax.mail:mail download failed. (#239)
@sebcruzhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsebcruz&data=02|01||8c33e8c9ebe04000520808d7fcde9ff3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637255905399258593&sdata=Q8yFw8lxtyIVsuYS4upKUl70sVBvVWWTRvyG8iKaXnQ%3D&reserved=0 This should be reported to the databricks team, looks like they are running into an issue when downloading "javax.mail:mail". Nothing we can do on our end.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzureAD%2Fmicrosoft-authentication-library-for-java%2Fissues%2F239%23issuecomment-631599004&data=02|01||8c33e8c9ebe04000520808d7fcde9ff3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637255905399268586&sdata=CAWOYHBM%2B5mYRNtGHXMI80BFf8DpSBYhkx%2Bgwm3JXR4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABXF3WKO5R3E4FJLHGW5CZ3RSQDQXANCNFSM4NFP7IKA&data=02|01||8c33e8c9ebe04000520808d7fcde9ff3|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637255905399268586&sdata=q%2F9aZhW%2B8zkFWsOoga%2F99LPaEnQumGOWCgK3SCN6vGI%3D&reserved=0.


[bug] Updated update user function and remove od friends function

Coverage remained the same at 61.446% when pulling 50841ecb78fb92edf0651d05bf0f302f6560172a on bug-debug into 0c3f3857d74333213086d5cb114653697ab248f1 on master.


CI test

Trying to find out why two of the CI test suites are failing:

Test / RSpec (jruby, gemfiles/rails_6.1.gemfile, active_record, mysql2, sprockets) (pull_request)
Test / RSpec (jruby, gemfiles/rails_6.1.gemfile, mongoid, sqlite3, sprockets) (pull_request)

for this pull request: https://github.com/railsadminteam/rails_admin/pull/3571

@mshibuya
Hi Shibuya-san 👋 Would you know why the two test suites are failing here? They seem to pass on master on the most recent commits. Maybe we need to clear some caches in Actions?

a hunch: jruby 9.4 was released recently which upgrades to mri 3.1 compatibility. need to either update to support jruby 9.4 or lock the workflow file to the prior version

Locked JRuby version to 9.3 for now.
https://github.com/railsadminteam/rails_admin/commit/6d2eece3e3fb9bb1291a53fa29579b62716636c5


How can I use Grovvy Scripts in Pinot while in Web Application

I just tried a post request

http://<IP_ADDRESS>:9000/schemas/validate

{
  "schemaName": "flights",
  "enableColumnBasedNullHandling": false,
  "dateTimeFieldSpecs": [
    {
      "name": "flights",
      "transformFunction": "Groovy({new File('/tmp/success').createNewFile()})",
      "dataType": "STRING",
      "format": "SIMPLE_DATE_FORMAT|yyyy-MM-dd",
      "granularity": "1:DAYS"
    }
  ]
}

but not triggered successfully, how can I trigger it successfully?

I think it is triggered successfully. The request is to validate the schema, and it does return the validated schema.

But actually that Grovvy scripts not triggered, and as a result, i can not get any info from logs

Hmm.. It doesn't work this way, and actually you are trying to attack the system because the system shouldn't allow accessing local files through table creation or query.

all right I know it lol


Document debugging integration tests

Per @jgiannuzzi

Run this in the terminal:
mc mb local/bucket1
mc mb local/bucket2
FML_DATABASE_URI=sqlite:///tmp/fasttrackml.db make run
add integration to go.buildTags in .vscode/settings.json
click on the "play" button in the Test explorer to run all the tests (unit and integration)

even better, change the settings for "Launch server (sqlite file)" in .vscode/launch.json to point to sqlite:///tmp/fasttrackml.db and run the server in the debugger, then execute the tests again
and another alternative is to add this to your .vscode/settings.json, launch the "Launch server (postgres)" instance in the debugger, and run the tests:
"go.testEnvVars": {
"FML_DATABASE_URI": "postgres://postgres:postgres@localhost/postgres"
},

Fixed by #561


MatDialog not displaying correct / not as dialog

Bug, feature request, or proposal:
The dialog is displayed "under" the button, not above or over it.
What is the expected behavior?
Dialog "over" the button.
What is the current behavior?
Dialog under the button

Closing this issue as it does not follow the issue template. Please file a new issue that follows the template, which gives the team the information needed to investigate.


datauri doesn't work for me: "ValueError: Cannot determine url..."

I have the strange issue that I can't use datauri:
Traceback (most recent call last):
  File "process.py", line 66, in <module>
	print(bundle.urls())
  File "~/.local/lib/python3.3/site-packages/webassets/bundle.py", line 787, in urls
	urls.extend(bundle._urls(new_ctx, extra_filters, *args, **kwargs))
  File "~/.local/lib/python3.3/site-packages/webassets/bundle.py", line 746, in _urls
	*args, **kwargs)
  File "~/.local/lib/python3.3/site-packages/webassets/bundle.py", line 600, in _build
	force, disable_cache=disable_cache, extra_filters=extra_filters)
  File "~/.local/lib/python3.3/site-packages/webassets/bundle.py", line 485, in _merge_and_apply
	filters_to_pass_down, disable_cache=disable_cache)
  File "~/.local/lib/python3.3/site-packages/webassets/bundle.py", line 524, in _merge_and_apply
	kwargs=item_data)
  File "~/.local/lib/python3.3/site-packages/webassets/merge.py", line 277, in apply
	return self._wrap_cache(key, func)
  File "~/.local/lib/python3.3/site-packages/webassets/merge.py", line 219, in _wrap_cache
	content = func().getvalue()
  File "~/.local/lib/python3.3/site-packages/webassets/merge.py", line 252, in func
	getattr(filter, type)(data, out, **kwargs_final)
  File "~/.local/lib/python3.3/site-packages/webassets/filter/cssrewrite/base.py", line 78, in input
	self.ctx, source_path, source)
  File "~/.local/lib/python3.3/site-packages/webassets/env.py", line 272, in resolve_source_to_url
	return self.query_url_mapping(ctx, filepath)
  File "~/.local/lib/python3.3/site-packages/webassets/env.py", line 210, in query_url_mapping
	raise ValueError('Cannot determine url for %s' % filepath)
ValueError: Cannot determine url for ../bower_components/fontawesome/css/font-awesome.min.css

I added some debug output to the resolve_source_to_url() function:
Needle: ../bower_components/fontawesome/css/font-awesome.min.css
Candidate: /var/www/virtual/myuser/apps/five/public/builds
URL: builds/

Why is datauri making webassets run the cssrewrite filter?
Thanks in advance!

The cssrewrite module has a base class for replacing stuff in CSS files that is used by datauri.
This base class tries to determine the url of each source url for use in subclasses. Indeed it appears that that this is unnecessary here, since the datauri filter doesn't really need it.
A fix might be to change CSSUrlRewriter and make source_url, output_url properties that calculate this on demand.
As for why it cannot find a url for your file, I'm not sure, but you may have misconfigured the environment.
For example, adding directories to load_path makes webassets not know the url to these files, unless you also add it to url_mapping, or use the append_path method to begin with.

I have this issue. Without knowing too much about it I assume that my urls cannot be found because I bundle certain files using absolute paths outside the actual source directory.
I worked around the issue by basically implementing this in my own version of the filter:

A fix might be to change CSSUrlRewriter and make source_url, output_url properties that calculate this on demand.

So the datauri filter does indeed not need to know the url. Since this might be beneficial to others: Is there any demand in implementing this? I wouldn't mind sending a PR to fix this problem in Webassets.


fix: 🐛 setFieldValue now updates inputValue on SQFormAutocomple

setFieldValue was only updating the initialValue of SQFormAutocomplete
so the visible TextField would not reflect the change. Now that we also set the inputValue, the set option will display.
Loom showing fixed example: https://www.loom.com/share/59e0d88fe6aa470cb01ddf8f9261a5e1
✅ Closes: #144

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update basic-deploy.sh

Change generation of App ID if running on a Mac.
On mac the /proc/sys/kernel/random/uuid does not exist by default.
So therefore run the /usr/bin/uuidgen to have the same result if the os type matches MacOS.

Hi!
Thanks for the pull request.
We don't recommend running the install script on your local machine, mainly because it a good chance you're missing dependencies that we know for sure exists in an Cloud Shell environment.
Did you get everything to run smoothly after you did this change?

yes it worked fine. the deployment succeed without any issues

Good to hear! I ran into a lot of problems with missing dependencies.
We had a discussion on if we should to check for local dependencies or not, and decided to just warn the user that the script is meant to run in a cloud shell. That PR was approved yesterday.
I think using a warning is a good choice. Then it could work for users like you that have all dependencies installed yourself, but also make it more obvious why it does not work for others.

Ah understood just saw the PR. Bringing a warning is always a good idea.
We came up with the idea because we are following the Microsoft TransactLab sessions in the Netherlands. They encourage to use and modify mona to your needs. and for that i tink a lot of users at least from those session will also try to execute it locally after updating some pages atleast


Adding Samples for Printing Bucket ACLs and Printing Bucket ACL for a specific user.

Internal issue #215600897

Owlbot is a bit aggressive and is going to clobber any changes you make to the templates. In order to allow us to change the template, we'll need to add an ignore similar to this one https://github.com/googleapis/java-storage/blob/923ea5b3b86712a10f5185a08410f3503dc144c1/owlbot.py#L33

The yoshi team has a job config that specifies which environment variables we are allowed to declare, USER_EMAIL was not one of them. I have changed it to the preferred naming which is IT_SERVICE_ACCOUNT_EMAIL which I think is not as clear but fine.


Feature: Implement Firebase Web Notifications for Meal Reminders 📲

Objective: Add a new feature that integrates Firebase web notifications to notify users about the meal menu (breakfast, lunch, snacks, and dinner) 30 minutes before each mealtime.
Description:
We want to enhance the user experience by implementing Firebase Web Notifications that will automatically notify users about what’s on the menu for breakfast, lunch, snacks, and dinner 30 minutes before the scheduled mealtime. This feature will help users plan their meals in advance and ensure that they don’t miss any important updates.
Feature Requirements:

Firebase Setup:

Integrate Firebase Cloud Messaging (FCM) to handle sending notifications to users’ devices.
Ensure proper subscription to the notifications when the user visits the website.

Notification Content:

Send a notification containing the specific menu details (e.g., "Today's Breakfast: Pancakes and Juice").
Notifications should include details for:

Breakfast: Notify 30 minutes before the scheduled breakfast time.
Lunch: Notify 30 minutes before the scheduled lunch time.
Snacks: Notify 30 minutes before the scheduled snacks time.
Dinner: Notify 30 minutes before the scheduled dinner time.

Scheduling:

Create a scheduling system that triggers the notifications automatically at the designated times.
Ensure the notifications are only sent for today's menu.

Edge Cases:

If a user subscribes after a notification has already been sent for a particular meal, handle this scenario gracefully (e.g., no retroactive notifications).
Ensure notifications don’t get duplicated or sent multiple times.

Testing:

Test the notifications across various browsers and devices to ensure they are working seamlessly.
Confirm that notifications are sent at the correct time (30 minutes before each meal).
Handle subscription management (subscribe/unsubscribe).

Priority: High
By adding this feature, we aim to make the user experience more interactive and helpful by providing timely notifications for each meal of the day.
If interested, first let me know. Then after I will assign you, after onwards you can work on it.

I am interested to work on this issue

I am interested to work on this issue

@Atheke are you familiar with firebase web push notifications?

@Mohd-FaiZ-Jr  I want to work on the issue and I am familiar with firebase web push notifications and there is doubt you have not mentioned any timing of the meal in the website so try to add the timings in the website

@Mohd-FaiZ-Jr  I want to work on the issue and I am familiar with firebase web push notifications and there is doubt you have not mentioned any timing of the meal in the website so try to add the timings in the website

Sure.

yes i am familiar with web push notifications

@Mohd-FaiZ-Jr  there is doubt you have mentioned 30 minutes before a meal but you have not mentioned at what time does the meal starts


Unbundle babel-standalone

Currently, babel-standalone is a dependency of catalog which means it will always be bundled, even if it's not needed. The CLI splits it into a separate chunk but it will probably end up in the main bundle when using another build setup.
Its only purpose is to transpile JSX code in Markdown, which became less relevant when we introduced the markdown template literal (which allows you to mix real code with Markdown).
So I think we should remove the dependency and leave it to the user to install it when needed. The question remains how the configuration should look like. Maybe something like this:
import Babel from 'babel-standalone';
import {Catalog} from 'catalog';

<Catalog jsxTransformer={Babel.transform} /> // could also be `buble.transform`!

Related: #316


Use set instead of set_and_check

set_and_check can't work with lists and regular check should be used instead (see CMake issue). Partially fixes #3269.

PACKAGE_INCLUDE_DIR is singular. Why does it contain a list?

PACKAGE_INCLUDE_DIR is singular. Why does it contain a list?

@egorpugin, I do not know thy it have this name, but it really a list:
https://github.com/tesseract-ocr/tesseract/blob/c6539e21a04aa2a9e89c91e48f67f7dc28d0a44f/CMakeLists.txt#L364

@egorpugin, I do not know thy it have this name, but it really a list:
https://github.com/tesseract-ocr/tesseract/blob/c6539e21a04aa2a9e89c91e48f67f7dc28d0a44f/CMakeLists.txt#L364

Second include is wrong.

Second include is wrong.

Agree, fixed.

Agree, fixed.


KTX tools module

An equivalent to gdx-tools that could automate some KTX-related operations. Potential candidates:

Conversion of .properties files to type-safe i18n enums from ktx-i18n.
Conversion of skin .json definition to type-safe builders from ktx-style.
Generating type-safe ktx-style builders from an existing Skin instance.
Extraction of texture region names from .atlas files, which could be saved as a type-safe enum. Useful for both ktx-style builders and general TextureAtlas usage.

Could be implemented as standalone library or Gradle plugin. Or both. The first approach seems the most flexible.
@kotcrab

fyi so there's no duplication, consider me working on the "Extraction of texture region names from .atlas files, which could be saved as a type-safe enum. ".
i'm currently waiting on someone else's very recent work, for me to generate the code..i'll see what i can whip up for my own project and go from there. it should be able to generate type-safe enums from all asset types (fonts/images/atlas etc). i'm sick of plain strings :)

That's great! I'll create a separate branch and setup Gradle submodule for you.

There. Try checking out feature/ktx-tools branch.

think i'm running into an issue with the gradle scripts for ktx (in general, unrelated to ktx-tools).
resources aren't getting stored in the jar..i'm thinking this is because the top-level one ends up overriding the default behavior (gradle defaults to copy the resources as expected).
you can try adding a src/main/resources/blah.txt to anything and see it not get copied. looks like the resourceDirs get wiped somehow?

@sreich How are you building the jar? I added src/main/resources folder in one of the modules, put a text file there and it was present in the generated jar when using gradle build command. Maybe this is specific to Gradle plugin jars - have you checked if they are allowed to have classpath resources? I don't see a reason why they wouldn't, but still.

guess it's been a long day, silly mistake...i was putting them into src/resources, and since the resource is how gradle finds the plugin in the first place..that is why it couldn't find it. now the plugin works great. so i'll continue working on it and the generator

It's OK. Might I ask why do you need classpath resources in the plugin in the first place?

from my understanding of gradle, it is required for the plugin to get picked up by gradle (the implementation-class)
https://docs.gradle.org/current/userguide/custom_plugins.html#sec:custom_plugins_standalone_project

Oh, I see. I completely forgot about the meta-data thing. Carry on.

@czyzby I would be happy to help with that task. The feature/ktx-tools branch is quite behind develop now, is it still the branch that should be used?

@DavidPartouche Feel free to fork the current develop branch. You can check the last 2 commints on the feature/ktx-tools branch if you need any help with adding a new Gradle module. Also, you might want to look into @sreich fork here. I have to admit I didn't go through his code, but it might still prove useful.

Could be implemented as standalone library or Gradle plugin. Or both. The first approach seems the most flexible.

You can do a standalone library that can be invoked from a gradle plugin. Best of two worlds!

Conversion of .properties files to type-safe i18n enums from ktx-i18n

For your info, I'm doing this kind of things (it's more a PoC actually): generating an object with all filenames as fields. So I don't have any filename in my code. So If I'm renaming an accept, the error will occur at the compile time and not the runtime.
https://github.com/dwursteisen/libgdx-addons/blob/master/assets-gradle-plugin/src/main/kotlin/com/github/dwursteisen/libgdx/assets/AssetsTask.kt


Very large (creating entire rings) proposals

So, I just tried a very large proposal of transforming erlotinib into gefitinib. A couple things:

While it didn't die in dynamics (1000 steps of verlet at 300K, no NCMC), the potential did get much larger (~1e12 kJ/mol)

The aromatic ring is really messed up, presumably due to the need for impropers.

The non-aromatic ring is somewhat less messed up, though could definitely use a bit of help.

For viewing pleasure, the results are available here. The configuration after dynamics looks pretty messed up, and may be on its way to NaNdyland.

+1 for naming this file "gefitini".  This will definitely be a drink on Friday's menu.

Ring creation will definitely need some TLC.  We may need to do more than just consider impropers.

+1 for naming this file "gefitini".

I wish I had done that on purpose...

Ring creation will definitely need some TLC. We may need to do more than just consider impropers.

Yeah, you're probably right about that.

The big question here: If we add impropers, are there still multiple ways the bonds around the ring could go so that the ring doesn't close properly, or is there only one maximum in the torsion p(phi) after the first bond of the ring is placed?

The best model system to start to test on is probably benzene to biphenyl, since it involves the creation of a phenyl ring onto another phenyl ring.

Without adding in improper torsions, I did a quick test of benzene to biphenyl using test_run_geometry_engine() from perses/tests/test_geometry_engine.py, and found that it clearly generated three distinct behaviors:

For a six-membered planar ring, our proposal scheme has several ways it could go wrong.  I believe that creating a properly fused six-membered planar ring requires the random torsion selection make two essentially equiprobable decisions a particular way, resulting in a success rate of maybe 25%.

I think we might benefit from looking into ensemble chain-growth or Rosenbluth-type methods for growing a good proposal configuration.
Here's a review of pruned-enriched Rosenbluth methods: http://arxiv.org/abs/1107.1214
The difficulty would be once we start using ensemble-growth and/or pruning-type methods, it may be difficult to compute the Hastings proposal ratio for the Metropolis-Hastings acceptance criteria.  Some of these methods track weights or an estimate of the partition function for the generated ensemble, so it is possible this could provide what we need.

Another possibility is to use parallel Monte Carlo to generate the geometry proposal before relaxing it with NCMC.  If we only used the valence potential energy for this part, we that would remove the contribution of valence energy terms from the overall NCMC + RJMC + NCMC log acceptance probability, and still allow us to use NCMC to anneal the other contributions from intermolecular interactions.

Another idea: currently, there are no potential terms to keep rings in a ring like shake because they are not needed when rings are covalently closed. We could instead introduce a guide field potential that functions solely to prevent rings from being created in a malformed geometry like two of the three examples above. It should really only kick in for the malformed cases, and should still be finite everywhere, but sufficiently large to greatly increase the yield of properly closed rings.
It might require some brainstorming and analysis of MCSS pairings to figure out the simplest way to implement this, but it would be very simple from an implementation and algorithmic point of view.

Thanks for the suggestions--a lot of interesting stuff! Going through the PERM review now, and gathering some thoughts on this...

Lots and lots of great stuff on the related configurational-bias Monte Carlo (CBMC) here:
http://towhee.sourceforge.net/algorithm/cbmc.html

Some slides with an overview of methods here: http://www.acmm.nl/molsim/molsim2011/Presentations/Lecture8.pdf

From the Towhee CBMC page:

Fixed Endpoint CBMC
Cyclic molecules are substantially more difficult to grow using CBMC because their conformational space is severely limited by the constraints of having cyclic portions of the molecule. Attempting to grow a cyclic molecule using standard CBMC methods, and just hoping it closes itself up properly, has an acceptance rate that is nearly zero. It is generally believed that an additional biasing is required during the growth procedure in order to nudge the growth into positions that will result in reasonable ring closures. There are a variety of biasing procedures in the literature. One that is notable, but not currently implemented into Towhee, is the self-adapting fixed-endpoint (SAFE) CBMC algorithm of Wick and Siepmann 2000. The problem with SAFE-CBMC is it can use a large amount of memory in order to keep track of all of the adapting fixed-endpoint biasing functions. The version implemented into Towhee uses some analytical biasing functions based upon a crude, but consistent, transformation of the distance between growth atoms and target ring atoms, into a bias function based loosely upon dihedral, bending, and vibrational energies. Considerable research is still needed in this area to determine optimal biasing strategies. The algorithm implemented into Towhee was first used, but not satisfactorily described, in Martin and Thompson 2004. A more detailed description of the biasing functions was later published in Martin and Frischknecht 2006.

This is resolved.

CBMC stuff may still be useful.  Maybe split this off into separate issue?

Oh, I agree completely that CBMC stuff is still useful. I'm personally very interested in it and would love to see where we could take it. That said, I'd rather not have a very general theory question as an issue that could hang around forever--I'd personally prefer to keep the issues to near-term goals and software problems. I'm not wedded to this view--if you think that's a bad plan and that it'd be best to have these discussions here feel free to reopen.

Or open a new issue/whatever you think is best.

This plan is fine with me.


Feature - added pipe binds to Add-PnPFile and Add-PnPFolder commands

Type

[ ] Bug Fix
[x] New Feature
[ ] Sample

Related Issues?
NA
What is in this Pull Request ?
Added Folder pipe binds for Add-PnPFile and Add-PnPFolder commands.
Also, modified it to support folder names with special chars like # and % via resource path API.

Thank you!


Multiple Search facets aren't being applied correctly.

Description
When selecting > 1 search facet, they aren't being applied correctly. e.g. when applying the following facets: https://mvp.sitecore.com/Directory?fc_personyear=2021&fc_personaward=Strategy
We are seeing results coming back for MVP's who don't have a 2021 Strategy award, but have received a strategy award in previous years.
Expected behaviour
The facts should both be applied correctly.

I can work on this one

The problem is that we split Award into two facets (Year and category) , A potential solution for this can be to have drill down like facets, for example
[ ] 2022
[ ] Technology
[ ] Strategy
[ ] Commerce
[ ] AMBASSADOR
[ ] Lifetime
[ ] 2021
[ ] Technology
[ ] Strategy
[ ] Commerce
[ ] AMBASSADOR
[ ] Lifetime
[ ] 2020
[ ] Technology
[ ] Strategy
[ ] Commerce
[ ] AMBASSADOR
[ ] Lifetime
@mrtamasvarga @robearlam  would this work?

Still see the same.
https://mvp.sitecore.com/Directory?fc_personyear=2022&fc_personaward=Technology&pg=3

@robearlam I have made a fix, backend fix, for this bug https://github.com/Sitecore/MVP-Site/pull/166
I have not altered the visual part as @ahmed-ae suggested, as that will increase quite a lot the left part that contains the area of the facets.
cc @mrtamasvarga

The PR from @sebastiantecsi has been deployed and people can now apply multiple facets.
@ahmed-ae, I dont think we need the FE changes or we would end up with too many facets to choose from
Closing this now.


Regression in implementation of mail.ParseDate(...)

What version of Go are you using (go version)?

$ go version
go version go1.15.2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/james/.cache/go-build"
GOENV="/home/james/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/james/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/james/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/james/Code/bridge/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build171979470=/tmp/go-build -gno-record-gcc-switches"

What did you do?
func TestParseDate(t *testing.T) {
	if _, err := mail.ParseDate("Tue, 21 Aug 2018 13:41:49 GMT"); err != nil {
		t.Fail()
	}
}

What did you expect to see?
I expected it to pass, as it did on go 1.13.
What did you see instead?
It fails on newer versions of go (1.14.7 and later, possibly earlier).
The go 1.15 implementation contains the following code block in ParseDate(string) (lines 110-120 of  mail/message.go, as of the time of writing):
	// RFC 5322: zone = (FWS ( "+" / "-" ) 4DIGIT) / obs-zone
	// zone length is always 5 chars unless obsolete (obs-zone)
	if ind := strings.IndexAny(p.s, "+-"); ind != -1 && len(p.s) >= ind+5 {
		date = p.s[:ind+5]
		p.s = p.s[ind+5:]
	} else if ind := strings.Index(p.s, "T"); ind != -1 && len(p.s) >= ind+1 {
		// The last letter T of the obsolete time zone is checked when no standard time zone is found.
		// If T is misplaced, the date to parse is garbage.
		date = p.s[:ind+1]
		p.s = p.s[ind+1:]
	}

When executing the above test, we enter the else case, and because the string begins with T for Tue, the variable date ends up with value "T" and p.s ends up with "ue, 21 Aug 2018 13:41:49 GMT".
The function then continues and executes the following loop (lines 124-129 of mail/message.go):
	for _, layout := range dateLayouts {
		t, err := time.Parse(layout, date)
		if err == nil {
			return t, nil
		}
	}

This should succeed, because dateLayouts does indeed contain a matching layout (namely Mon, 2 Jan 2006 15:04:05 MST), but by this point date has been reduced to just T, so it fails.
I feel that the first block of code, which checks the placement of T, shouldn't break the date string, as in the test case provided above.
Go 1.13 did not contain the above mentioned block of code that reduces date down to "T" and thus successfully parses the provided date string.

Dup of #39260?

Indeed, that's exactly the issue I describe here. Apologies for the noise! Closing.


Remove version: RoyQu.RedPanda-C++ version 2.24

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate;


Brainhack global 2022; information sharing.

This issue is meant to contain relevant links to communicate project information (there are some issues with mattermost currently)

Google doc for sharing and brainstorming ideas:
https://docs.google.com/document/d/1r9YSm6b1xpywLEiHRIDtBpHLcP_wHQUix66Kx76WWFY/edit?usp=sharing


add Matrix chat for the real-time working group

This looks good to me. I am going to merge and deal with the backport.


Either start publishing to npmjs, or have tags here, for stable releases

We use this in many of our builds now in the FeedHenry project repos (and lots of internal projects also), but we're currently using it as it is here: https://github.com/feedhenry/fh-pipeline-library/blob/master/vars/npmInstall.groovy#L12..L13
We used to use master, rather than the hardcoded commit sha1 that you see there, but when we've seen problems, it breaks our builds. If there was something more stable than master, like a release on npmjs, or here on GitHub via a git tag, that would be a great help to us.

We have tagged the current master:
https://github.com/bucharest-gold/license-reporter/tree/v0.3.0
And also published to the private repository:
$ npm install license-reporter -g --registry http://npm.skunkhenry.com

We have not published to the public npm repository yet as I want to double check that this is alright to do. @balunasj mentioned an ongoing legal inquiry which we'd like to wait for.

closing:
https://www.npmjs.com/package/license-reporter


Update Tutorial-IntegrationWithExistingApps.md

By analyzing the blame information on this pull request, we identified @JoelMarcey to be a potential reviewer.

cc @ide, @skevy, @davidaurelio

I don't think this will install compatible versions of React and React Native?
@sunnylqm What's the Test plan?
I'm looking at the CLI code but not sure how we install React, I think we changed this recently:
https://github.com/facebook/react-native/blob/master/react-native-cli/index.js

@sunnylqm Added the 'needs-revision' label, please check:
https://github.com/facebook/react-native/blob/master/PULL_REQUEST_TEMPLATE.md

Yes, it could break. Latest react@latest is not always compat with react-native@latest.

Where did we end up on this?

@sunnylqm do you have any updates for this pull request? It's been a while since the last update so wanted to check in and see if you've looked at the requested changes.


Code example doesn't work

The change made in this pull request https://github.com/albshin/go-pubg/pull/1 break my code
I'm new to go, but this is my code:
package main

import (
  "fmt"
  "github.com/albshin/go-pubg"
)

func main() {
  client := pubg.New("MYAPIKEY")
  info, _ := client.GetPlayer("Break")
  fmt.Printf("%+v\n", info)
}

And this is the error that I get:
$ go build
# github.com/pgdagenais/app
./app.go:9: multiple-value pubg.New() in single-value context

I went back to the old version of the New() function and I am able to build my app

Woops, one thing I missed before. I'll submit another PR fixing the readme.
pubg.New() now returns multiple values. This is a common pattern in Go to handle errors. You can see in the error message that pubg.new() is 'multiple value' and it's trying to be using in a single value context because you are only assigning one value to it.
Here is a solution:
client, _ := pubg.New("MYAPIKEY")

Or if you wanted to check for an error:
client, err := pubg.New("MYAPIKEY")

if err != nil {
  log.Fatal(err)
}

Awesome thank you very much !

Closing issue.


Error in seq.default(idxDEL[kk[i]] + 1, idxDEL[kk[i]] + CNVdistance -  :    'from' must be a finite number

I keep getting this message when I try to run the program in R:
Error in seq.default(idxDEL[kk[i]] + 1, idxDEL[kk[i]] + CNVdistance -  :
'from' must be a finite number
I've tried looking for a solution but I'm not too sure how to fix it. Is this a problem with my data or is the programme loading my data in the wrong format perhaps? Thank you!

Hello, thank you for trying the CNproScan.
I'll look into that. It's prolly some untreated condition. Would it be possible to somehow share the data and command used?
I tested it on my dataset and I didnt run into anything.
Robin Jugas

I've just sent an email to the email address on the paper<EMAIL_ADDRESS>with the data. If you don't use the email any more please let me know on here! Thanks.

I got the mail, will check and try what's wrong there.

Hi, so I found the error and corrected it.
Though, I have bad news - it doesnt support multiple chromosome/contigs at the moment. You will have to split it, I'll attach scripts for that here and into repo. You will need bam index too.
scripts.zip
bam_index.zip
I had succes with this:
devtools::install_github("robinjugas/CNproScan",force = TRUE,ref = "main")

library(CNproScan)

setwd("/media/rj/TOSHIBA_500GB/CNproScan error")

coverage_file<-"cluster_001_consensus.coverage"
bam_file<-"Reads_mapped.bam"
fasta_file<-"cluster_001_consensus.fasta"

DF<-CNproScanCNV(coverage_file, bam_file, fasta_file,8)

Prior to installing the package, I think it will be useful to delete the folder likely here:   /home/$USER/R/x86_64-pc-linux-gnu-library/Rversion/CNproScan
The error persisted few times even after I updated the repo, but then it worked.

It's working great now, thank you very much for the quick fix!


Archive fails to build - iOS only

After migrating my RN project from tipsi-stripe, I am unable to archive my builds for iOS. I am able to run the app in the simulator locally (iPhone 12, iOS 14.4), however the archive process always fails, both locally as well as in AppCenter, with the following error:
Undefined symbols for architecture arm64:
  "type metadata accessor for (extension in Foundation):__C.NSOperationQueue.SchedulerTimeType", referenced from:
      closure #1 (Foundation.Data?, __C.NSURLResponse?, Swift.Error?) -> () in (extension in Stripe):__C.NSURLSession.stp_performDataTask(with: Foundation.URLRequest, completionHandler: (Foundation.Data?, __C.NSURLResponse?, Swift.Error?) -> (), retryCount: Swift.Int) -> () in libStripe.a(URLSession+Retry.o)
  "protocol conformance descriptor for __C.NSOperationQueue : Combine.Scheduler in Foundation", referenced from:
      lazy protocol witness table accessor for type __C.NSOperationQueue and conformance __C.NSOperationQueue : Combine.Scheduler in Foundation in libStripe.a(URLSession+Retry.o)
  "(extension in Foundation):__C.NSScanner.scanUpToString(Swift.String) -> Swift.String?", referenced from:
      function signature specialization <Arg[2] = Dead> of static Stripe.STPPhoneNumberValidator.formattedRedactedPhoneNumber(for: Swift.String, forCountryCode: Swift.String?) -> Swift.String in libStripe.a(STPPhoneNumberValidator.o)
  "(extension in Foundation):__C.NSOperationQueue.SchedulerTimeType.init(Foundation.Date) -> (extension in Foundation):__C.NSOperationQueue.SchedulerTimeType", referenced from:
      closure #1 (Foundation.Data?, __C.NSURLResponse?, Swift.Error?) -> () in (extension in Stripe):__C.NSURLSession.stp_performDataTask(with: Foundation.URLRequest, completionHandler: (Foundation.Data?, __C.NSURLResponse?, Swift.Error?) -> (), retryCount: Swift.Int) -> () in libStripe.a(URLSession+Retry.o)
  "_swift_getOpaqueTypeConformance", referenced from:
      merged associated type witness table accessor for Body : SwiftUI.View in Stripe.PaymentSheet.PaymentButton<A> : SwiftUI.View in Stripe in libStripe.a(PaymentSheet+SwiftUI.o)
      associated type witness table accessor for SwiftUI.ViewModifier.Body : SwiftUI.View in Stripe.PaymentSheet.PaymentSheetFlowControllerPresentationModifier : SwiftUI.ViewModifier in Stripe in libStripe.a(PaymentSheet+SwiftUI.o)
      associated type witness table accessor for SwiftUI.ViewModifier.Body : SwiftUI.View in Stripe.PaymentSheet.PaymentSheetPresentationModifier : SwiftUI.ViewModifier in Stripe in libStripe.a(PaymentSheet+SwiftUI.o)
      associated type witness table accessor for Body : SwiftUI.View in Stripe.ConfirmPaymentPresentationModifier<A, B> : SwiftUI.ViewModifier in Stripe in libStripe.a(STPPaymentConfirmation+SwiftUI.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Versions
stripe-react-native 0.2.0
XCode 12.4
react-native 0.63.2

Was able to resolve this error by deleting all entries from LIBRARY_SEARCH_PATHS in the Project configuration. See this issue from tipsi-stripe

It is also described in the README under troubleshooting section


Add optional solid/filled (triangle mesh) rendering to Boxes3D and Ellipsoids.

What
With these changes, Boxes3D and Ellipsoids can now be viewed as solid objects. This is part of the work on #1361 and the mechanisms added here will generalize to other shapes.

Add new component type SolidColor. This is identical to Color except that, on shapes where it applies, it sets the color of surfaces instead of lines. Whether its color is transparent controls whether the surfaces are drawn at all.
Add SolidColor to the Boxes3D and Ellipsoids archetypes.
Add support for solid colors to those archetypes’ visualizers.
Add proc_mesh::SolidCache to cache the calculation of triangle meshes.
Add proc_mesh::ProcMeshKey::Cube to allow the cached mech mechanism to generate solid cubes.

Future work (things this PR doesn't do):

Viewer UI needs a version of the color picker that lets you pick "fully transparent".
The line renderer does not play well with adjacent faces, causing line width to be halved some of the time. This could be fixed with something like #6508, simple depth offsets, or something else.
Getting naming and semantics right:

Should the colors of Boxes3D be renamed line_colors, or something like that? I think so, but that would be a breaking change, so I didn't in this PR.
Should Color be renamed?
Should there be all 3 of SolidColor, LineColor, and Color` with some override policy between them?
Should SolidColor be called SurfaceColor instead?
How should SolidColor interact with annotation contexts?

Figure out whether instanced meshes are the right choice for performance.

Checklist

[X] I have read and agree to Contributor Guide and the Code of Conduct
[X] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[X] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[X] If applicable, add a new check to the release checklist!
[X] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

The Ellipsoids archetype has a renamed field but that isn't released yet, so doesn't need noting.

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

Spent some time talking through this with @Wumpf and @nikolausWest this morning.
Unfortunately the consensus is that introducing support for separable line vs solid colors leads down a complexity pathway we would like to avoid until we have:

Implemented tagged components
Refactored how we handle annotation context.

I think the best compromise solution on the complexity scale is to, instead, introduce a new enum value:
enum FillMode {
  Wireframe,
  Solid
}

Regardless of choice, the single Color component would still get used. This gives us a nice single value toggleable enum in the UI to switch the moves without needing to worry about disabling/enabling the two separately.

Regardless of choice, the single Color component would still get used.

I see a problem with this schema: it prevents drawing solid and lines simultaneously with different colors (e.g. one might use the solid color for "object type" and the lines for "state"). I suppose “use two entities or instances" is a reasonable interim way to achieve that, though. I'll update this PR as you propose.

it prevents drawing solid and lines simultaneously with different colors

Yeah, definitely acknowledged as a shortcoming. But I think it's one we can improve in the future with https://github.com/rerun-io/rerun/issues/6889

Apologies on the back and forth on this one @kpreid. I realize we sent you in the other direction initially

I've now pushed the requested changes. There is now no SolidColor component, and instead a FillMode component. This is, overall, a lot simpler. I also discovered, and fixed, issue #6973, because fixing it was easier and keeps the visualizer code parallel.
(Perhaps someday — or now — it would make the most sense to have Boxes3DVisualizer, EllipsoidsVisualizer, and other shape archetype visualizers build on a shared ProcMeshVisualizer.)
You may wish to note that the history of this PR branch now includes a dummy merge commit. This is because I found it easiest to re-develop the new design off of main rather than undoing all the SolidColor changes, but for the sake of preserving GitHub's code review comment linkages I wanted to keep the old commits present.

New screenshots (without the line+surface rendering that is no longer supported):

pried a bit into contributor ci issues, but will have to take this separately


Add Memgraph support

I added Memgraph support by extending Neo4jGraph class. In order to do that, I had to mark schema and structuredSchema as protected instead of private, so I was wondering if that's okay. Other than that, I mostly followed what we did in LangChain Python and I plan to fix a couple of things there to better align with this integration.
@tomasonjo we spoke recently about Python integration so tagged you for awareness here.
I plan to add docs and example, but first wanted to see if this is okay to start with and if I have to first fix something in this contribution.

Hi @bracesproul, thank you for the review. I will update the PR in a couple of days when I am back from the trip 😄


pallet-utility: use new pallet attribute macro for tests

Signed-off-by: koushiro<EMAIL_ADDRESS>

@koushiro I would like to tip you for your work helping us migrate all these macro stuff.
Please choose if you want a tip with KSM or DOT, and provide the appropriate address.
Thanks!

@koushiro I would like to tip you for your work helping us migrate all these macro stuff.
Please choose if you want a tip with KSM or DOT, and provide the appropriate address.

Thanks for your tip.
My DOT address: 15XuanNimo5951s3RjFTPX1AvYVnCwfr3SDhb3AV4fQF3LpK (or 11Fix)

bot merge


Ability to join groups with moderation

You can find the issue of the feature here : https://github.com/oaeproject/Hilary/issues/1402

This change is

Closed by https://github.com/oaeproject/Hilary/pull/1699


Kusama archive sync fail at block #8138863

While syncing (archive node, Full) on Kusama, the client cannot continue after block #8138863. I used kamilsa/kagome:affcdc0c to avoid problems with non-full sync (recommended in chat by kamil).
 I can look for other messages if needed.
More information about the docker setup: https://github.com/AltOrder/notes-kagome/wiki/docker
Snapshot until failed block is available: https://github.com/AltOrder/notes-kagome/wiki/Snapshots

Thanks for reporting!
It is a known issue with Binaryen. We are fixing it now. If you need to proceed you can add flag --wasm-execution Compiled to switch to WAVM. Problem should be solved. Also latest master should be more stable than your current version. You may use soramitsu/kagome:latest

Thanks for the suggested fix.
However, when I launch a new full sync with soramitsu/kagome:latest (with imageid adfe8ef92bdd), I get this error :
23.08.04 13:31:59.131625  kagome           Info      WAVM Module  Compiling WebAssembly module for Runtime (going to take a few dozens of seconds)
23.08.04 13:32:13.090449  kagome           Info      MiscExtension  utf8: Hash not equal
23.08.04 13:32:13.090464  kagome           Info      MiscExtension  hex: b066d7861660249fd76cc66a4d882855065a0effeab647c58f334d256e6ec685
23.08.04 13:32:13.090467  kagome           Info      MiscExtension  hex: 951b4fc2a50452368f383f510f26b2c02559c7159a909c0c3a6cde422ecb36df
23.08.04 13:32:13.090769  kagome           Error     ModuleInstance  wavm.reachedUnreachable
Call stack:
  host!kagome+30663564
  wasm!runtime_module!rust_begin_unwind+47
  wasm!runtime_module!core::panicking::panic_fmt::h3b4870a21b320c52+18
  wasm!runtime_module!core::panicking::panic::h50ca182b1b584b5d+24
  wasm!runtime_module!Core_execute_block+0
  thnk!C to WASM thunk!(i32, i32)->i64+0
  host!kagome+30665726
  host!kagome+30489907
  host!kagome+30590419
  host!kagome+30049731
  <2 redundant frames omitted>
  host!kagome+30329838
  host!kagome+80376828
  host!kagome+81669055
  host!kagome+149533180
  host!kagome+115599685
  host!kagome+115600695
  host!kagome+205606712
  host!kagome+205608102
  host!kagome+205610041
  host!kagome+205596438
  host!kagome+10617055
  host!/usr/lib/x86_64-linux-gnu/libstdc++.so.6+902258
  host!/lib/x86_64-linux-gnu/libc.so.6+558059
  host!/lib/x86_64-linux-gnu/libc.so.6+63

23.08.04 13:32:13.097866  kagome           Warning   Synchronizer  Block #1375086 (0x4768…4420) and 126 others have been discarded: An error occurred during wasm call execution; Check the logs for more information
23.08.04 13:32:13.097994  kagome           Warning   ConsistencyKeeper  Rolling back of block #1375086 (0x4768…4420) is failed: the target block is not a leaf

To followup, with a more recent docker image ee37916df033 , it still fails:
23.09.05 07:39:27.915040  kagome           Warning   ConsistencyKeeper  Rolling back of block #8138863 (0x1c0b…d913) is failed: the target block is not a leaf
23.09.05 07:39:28.389082  kagome           Error     RuntimeExternalInterface  Trap: final > memory:<PHONE_NUMBER>3625917312 > 67107380
23.09.05 07:39:28.389420  kagome           Warning   Synchronizer  Block #8138863 (0x1c0b…d913) and 126 others have been discarded: An error occurred during an export call execution

This is without WASM compilation since that fails on a earlier block; see https://github.com/soramitsu/kagome/issues/1758


Toughness armor talent doesn't calculate extra armor

https://wowsims.github.io/sod/enhancement_shaman/#
Putting points in toughness in enhance doesn't increase armor

Thanks for calling this out! The sim was originally not set up to tank and this talent got missed


Having back button re-render the page when going back

I can't seem to figure out if there is any event or easy way to this. I have a page that represents an object, and a button to a page that allows you to modify something on that page. If I make the submit button just goBack, it doesn't register the changes. If I make it open a new copy of the previous page, then there are two copies of the page on the stack. Is there a way to manually pop something from the stack? (maybe not even popping because it would be removing something thats not on the top)

@manoharank posted one possible solution to this here: https://github.com/react-community/react-navigation/issues/922#issuecomment-304827787
(I have the same issue)

Could you add some code examples to this? A running example demonstrating the current behavior with a description of how you would like it to work would be even better. Thanks!

Closing since OP hasn't replied to Spencer.
(duplicate of https://github.com/react-community/react-navigation/issues/922 & https://github.com/react-community/react-navigation/issues/1617)


After doing a "Try" the form data gets resetted.

Is there a way to keep the form data after doing a rest call?

Running into this as well. Looks to me like a bug introduced in 8.2.0. My workaround has been using the previous version (8.1.2) instead.
I also found that the form clears itself not only when you click the "try" button, it also does so when you switch between the "model" and "example" tabs.

This behavior has been added as a part of #281
it was necessary to reset the form to indicate our underlying reactive framework to trigger reactivity.
We are waiting on for our main frameworks lit-html and lit-element for an upgrade to address this issue properly.

lit-html and lit-element are getting ready for a major upgrade and we have our eyes on them

Hi,
Any update on the timeline for this fix?
Thanks!

This would be great to have implemented, are there any workarounds for now that anyone can suggest?

@mrin9 did it get fixed?

Ah, I see the commit. Nice. Waiting eagerly for the release.

let me know if it worked for your use case ... you can pick the latest build from dist/rapidoc-min.js to test it

It works great for regular fields, but array fields still reset.  In addition, there are some odd bugs in trying to set a default for array fields with multiple values.  For one, the fields are smushed together.  I may have my specification wrong:
        - name: my_param
          in: path
          required: true
          schema:
            type: array
            items:
              type: string
              default:
                - whiz
                - bang
                - foo
                - bar

I'm happy to create a new issue, if that helps.

@BradHolmes please create a new issue, we do not get notification on closed issues.
Some of the things you described are being worked on, but do provide your version of issues.
it helps us to distribute work if you create one issue for one bug, also a complete (not partial) but minimal spec that highlights the problem gets a better chance to be picked up

@BradHolmes was it solved ? I am asking but I still have that behaviour with the latest release
I looked but could not find any other issue opened or closed related to this.

Yes, sorry I didn't post back here with the new issue.  It is https://github.com/mrin9/RapiDoc/issues/353


Heart favorite

Branch with code from #785 🙇
Meant to reconcile a few things before merging into main
Will close #763 ⚡

😅  there was lots to clean up but the feature is working great 🚀
Thank you @Sooyoung98, @sunnyliang6, @anitacheng19, and @joshHuang02 for your contribution to the app ❤
Take a glance at the final PR code changes -- there were lots of things I was able to consolidate (put all the repeated toggleHeart() functionality into a service, put all the scss into one file rather than duplicate, etc).
Cheers 🤝