Uncaught TypeError: Cannot destructure property length of 'undefined' or 'null'.

[Enter steps to reproduce:]

...
...

Atom: 1.28.0-beta2 x64
Electron: 2.0.1
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot destructure property length of 'undefined' or 'null'.
At C:\Users\Administrator\AppData\Local\atom\app-1.28.0-beta2\resources\app\src\text-mate-language-mode.js:493

TypeError: Cannot destructure property `length` of 'undefined' or 'null'.
    at TextMateLanguageMode.indentLevelForLine (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-mate-language-mode.js:493:38)
    at TextMateLanguageMode.endRowForCodeFoldAtRow (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-mate-language-mode.js:677:41)
    at TextMateLanguageMode.endRowForFoldAtRow (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-mate-language-mode.js:656:25)
    at TextMateLanguageMode.isFoldableAtRow (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-mate-language-mode.js:380:23)
    at TextEditor.isFoldableAtBufferRow (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-editor.js:4129:63)
    at TextEditorComponent.queryLineNumbersToRender (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-editor-component.js:945:40)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-editor-component.js:387:16)
    at TextEditorComponent.updateSync (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-editor-component.js:275:16)
    at etch.getScheduler.updateDocument (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/text-editor-component.js:225:46)
    at ViewRegistry.performDocumentUpdate (~/AppData/Local/atom/app-1.28.0-beta2/resources/app/src/view-registry.js:238:13)

Commands
     -0:35.6.0 core:select-all (input.hidden-input)

Non-Core Packages
angularjs 0.5.3
atom-beautify 0.32.2
color-picker 2.3.0
emmet 2.4.3
file-icons 2.1.19
language-vue 0.23.1
linter 2.2.0
minimap 4.29.8
open-in-browser 0.5.2
react 0.18.0

Thanks for the report!  Can you confirm a few things for us?

What were you doing at the time of the error?
Is the error is reproducible?
If reproducible, do you see the error in safe mode (atom --safe)?

Hey I know what caused it for me:
...document.getElementsByTagName(selector)

I get this error as well.
Typically when i try to collapse my css code (atm 780l lines), to save space.
It starts to lag a lot before it does it.
Havent tried safe mode.

https://github.com/atom/atom/issues/17643 mentions this happening when collapsing code in a javascript file in safe mode. Along with the exception reported in https://github.com/atom/atom/issues/17643

When this bug happened to me, i was collapsing JS code (the last lines in the code to be specific). Just before it happened collapsing got glitchy:
some lines where duplicated. (ghost-lines?)
I think this has to do with atom trying to read some duplicated lines, wish it is unable to do because these lines don't exesit.

Started seeing this error when I open after I updated to High Sierra 10.13.6. Might be a coincidence, but I thought it might be helpful info.
Trace:
/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:497
Hide Stack Trace
TypeError: Cannot destructure property `length` of 'undefined' or 'null'.
    at TextMateLanguageMode.indentLevelForLine (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:497:38)
    at TextMateLanguageMode.endRowForCodeFoldAtRow (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:681:41)
    at TextMateLanguageMode.endRowForFoldAtRow (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:660:25)
    at TextMateLanguageMode.isFoldableAtRow (/Applications/Atom.app/Contents/Resources/app/src/text-mate-language-mode.js:384:23)
    at TextEditor.isFoldableAtBufferRow (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:4129:63)
    at TextEditorComponent.queryLineNumbersToRender (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:934:40)
    at TextEditorComponent.updateSyncBeforeMeasuringContent (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:387:16)
    at TextEditorComponent.updateSync (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:275:16)
    at TextEditorComponent.didMouseWheel (/Applications/Atom.app/Contents/Resources/app/src/text-editor-component.js:1549:59)


Line coverage not shown in specific PR

Going to a random public PR works
Going to a specific file in the (private) repo works
Going to the Files tab in a different PR in the repo works
Going to the Files tab in the PR in the repo doesn't work (doesn't show line covererage, still shows head, patch, change) and gives:

githubPR.js:8 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'filter')
    at githubPR.js:8:3425
    at Array.map (<anonymous>)
    at githubPR.js:8:3400
    at githubPR.js:8:3563
    at Generator.next (<anonymous>)
    at i (githubPR.js:8:1197)

g.coverageReport = function(e) {
    let n = e;
    return n = n.filter((e=>e.has_diff)).map((e=>{
        const n = e.lines.filter((e=>e.added)) // `lines.filter` here
            , o = r.default.keyBy(n, (e=>e.number.head));
        return Object.assign(e, {
            lines: o
        })
    }
    )),
    n = r.default.keyBy(n, (e=>e.name.head)),
    n
}(n.files)

Which I assume is:
https://github.com/codecov/codecov-browser-extension/blob/c70e406be60a5c2ef0ae81bbee1461fbabda72b7/src/content/github/pr/main.tsx#L144
v0.2.3, both Firefox and Chromium

Can you please share a link to the PR?

As it's a private repo, can I provide an ID instead?

Not sure if I can use that to debug, but from seeing this error I believe my understanding of the expected API response might be inaccurate (for https://api.codecov.io/api/v2/{service}/{owner_username}/repos/{repo_name}/compare/)
I see the docs mention that response.files[i].lines is a required array of objects, so it's unusual that it's null for a particular PR.
cc @scott-codecov

Can confirm, one of the files has "lines": null (and none of the other files). I also can't think of anything in particular that's different about this file.

That is indeed unexpected.  @nihaals Would you be willing to share the owner username and repo name of the private repo?  The repo ID would be fine as well.  I'll go investigate what our API is returning.  If you'd prefer to not share that publicly you could email me directly at<EMAIL_ADDRESS>

@scott-codecov I just sent it. If it helps, I can avoid updating the PR for the rest of the day in case that "fixes" the issue.

@nihaals Thanks for the info.  I found the issue here - we're truncating some parts of the diff when the number of changed lines exceeds some threshold (as it does in the PR you linked).  This was previously used so that UIs could load some of the diff and then incrementally load the rest as needed.  I don't think that really applies in the case of the browser extension and since we're already fetching the full diff from GitHub I don't see any reason not to return the whole thing in this case (the response payload may grow in size a bit is all).
Feel free to continue working on your PR.  I'll get some changes into our API to resolve this and you can expect the coverage to start showing up once it's deployed sometime in the next couple days.  I'll post back here when the change is live.
Thanks for reporting the issue!

@nihaals This should be resolved now.  Please try testing again and let me know if you're still experiencing any issues.  Thanks!

It looks like it's fixed now, thanks for the quick fix!


Scaffolding problems

Could not load file or assembly 'Microsoft.EntityFrameworkCore.Design, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.<BuildCommandLine>b__6_0()
at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at Microsoft.VisualStudio.Web.CodeGeneration.ActionInvoker.Execute(String[] args)
at Microsoft.VisualStudio.Web.CodeGeneration.CodeGenCommand.Execute(String[] args)
I'm using dotnet version 2.2.103, do I have to downgrade to 2.2.0 ?

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

See the error, it's looking for Version=<IP_ADDRESS>
Install the latest 2.2 SDK.

I had version 2.2.103 when I tried to scaffold. After I installed the latest SDK (version 2.2.104) it started to work.
Thank you.


terminate called after throwing an instance of 'torch::jit::ErrorReport' terminate called recursively Aborted (core dumped)

python 3.8.19
pytorch 1.8.2

run gen_mobilenet_model.py to generate mobilenet.pt

wasmedge --dir .:. wasmedge-wasinn-example-resnet50-image.wasm mobilenet1.pt input.jpg
error : terminate called after throwing an instance of 'torch::jit::ErrorReport' terminate called recursively Aborted (core dumped)

when I use the pre-generate one at mobilenet.pt , it successfully execute.

I got confused by your command. Are you trying to run resnet50 with mobilenet?

Sorry, I forgot to change the file name. I matched the python version and model to PyTorch 1.8.2 LTS and there were no errors.

Is this issue fixed? If you want to use another version of Python/PyTorch, you may need to update the related deps files.


Add missing authorizations app for commonground-api-common

Fixes makemigrations creating a new migration for several authorization models.
Changes
The migrations that are currently generated when running makemigrations in open-klant generates a migration with models for the authorizations app because the migrations in the existing app are not recognized (as the app is not in the INSTALLED_APPS)
See https://github.com/maykinmedia/commonground-api-common/blob/1.12.1/docs/quickstart.rst?plain=1#L43.
Also see the check_migrations CI job that encountered this issue.

closing this, because we instead opted to move the middleware in commonground-api-common: https://github.com/maykinmedia/commonground-api-common/pull/36


instance variable '@object' of Box(T) was not initialized in all of the initiialize methods

This is very confusing, since my code does not mention @object at all. Code here:
module BoxProtocol
  abstract def unwrap
end

class Box(T)
  include BoxProtocol

  getter unwrap
  def initialize(@unwrap : T)
  end
end

class Example
  @value : BoxProtocol

  def initialize(@value)
  end
end

pp Example.new(Box.new(42))
pp Example.new(Box.new("hello world"))

By the way, it starts to work as expected, when I add to Box(T)'s initialize:
def initialize(@unwrap : T)
  @object = @unwrap
end

I am feeling, like that would bite me again in some next commit, since it is something undocumented.

Oh, wait. It is a name clash with built-in Box(T) :D Closing this.


docs(two-column-layout-example): add smart preview feature

This PR adds the smart preview feature to the Autocomplete two columns layout example.
Main PR: #908

The behaviour is great, but if times allows on @nana side, I'd suggest we polish a bit the look end feel on desktop when there is the preview. (i've 1-2 ideas I'd be happy to discuss)
On mobile, does that really make sense to have the smart preview? It feels to me that the answer is no, and would like to suggest to stop triggering the SmartPreview after a tap of the TapAhead icon, or potentially disable it all on mobile.


Command: prompt_open

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1197613-command-prompt_open?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

Migrated to limetext/lime-backend#52.


Switch url rewriter from js to typescipt

I pulled in a new library @aws-cdk/aws-lambda-nodejs that handles the
transformation of javascript to typescript.  Had to patch up a couple of
things which made this change a little more complex that intended.

All of the CDK components were not version locked, that meant
depending on the order of npm installs they could drift and get into a
dependancy mismatch spiral.  The version itself isn't important, its
uniformity is all that matters.

Added permissions to the lambda role for interacting with cloudfronts
distribution system, these were handled by the lambda function during
deployment, but it seems this new library while handling the js -> ts
brought some limitations and I had to manually implement the permssions see
for details https://tinyurl.com/5xy3n8zt

Need to fix some typescript compliation issues, please feel free to
re-work all of this and just keep the method signature

Signed-off-by: Peter Nied<EMAIL_ADDRESS>

This resolves https://github.com/opensearch-project/opensearch-build/pull/1569#discussion_r794084916

@tianleh I would recommend merging these PRs or implementing the changes you prefer in support-latest before doing additional work as you might run into merge conflicts.


Host seafile.example.com not found

I am trying to use this container offline, but I think the nginx .conf file is causing problems.
If I try to download a file from my instance, I get:

This site can’t be reached
seafile.example.com’s server IP address could not be found.

Similar thing happens when I use the seafile sync client.
I don't want to run the container through a reverse proxy just yet, and if I do, I'd prefer to use it through my already-existing swag container because it's using my http and https ports.
How do I make sure downloads go through the local domain and not seafile.example.com?

As you have closed the issue, I guess you solved the issue. But thank you for it. I will make the SEAFILE_SERVER_HOSTNAME mandatory for the user to change. I didn't had a problem leaving it as it is but this seems to cause problems.

As you have closed the issue, I guess you solved the issue. But thank you for it. I will make the SEAFILE_SERVER_HOSTNAME mandatory for the user to change. I didn't had a problem leaving it as it is but this seems to cause problems.

Yeah I had to change it from within the Seafile web interface to fix it.


Error when importing AWS alb

Command: terraformer import aws --resources=alb --regions=eu-west-1
output:
2024/06/11 16:36:22 aws importing region eu-west-1
2024/06/11 16:36:23 aws importing... alb
2024/06/11 16:36:23 aws done importing alb
2024/06/11 16:36:23 Number of resources for service alb: 3
2024/06/11 16:36:23 Refreshing state... aws_lb_target_group.tfer--test
2024/06/11 16:36:23 Refreshing state... aws_lb.tfer--test
2024/06/11 16:36:23 Refreshing state... aws_lb_listener.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-591217560485-003A-listener-002F-app-002F-test-002F-dcab94c91c4f6e4d-002F-5b4e04fe42683b14
2024-06-11T16:36:24.002+0200 [ERROR] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.53.0/darwin_amd64/terraform-provider-aws_v5.53.0_x5 pid=10049 error="exit status 2"
2024/06/11 16:36:24 rpc error: code = Unavailable desc = error reading from server: EOF
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Unavailable desc = error reading from server: EOF
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Unavailable desc = error reading from server: EOF
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:24 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:24 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/11 16:36:25 Fail read resource from provider, trying import command
2024/06/11 16:36:25 Fail read resource from provider, trying import command
2024/06/11 16:36:25 Fail read resource from provider, trying import command
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 rpc error: code = Canceled desc = context canceled
2024/06/11 16:36:25 ERROR: Unable to refresh resource tfer--test
2024/06/11 16:36:25 ERROR: Unable to refresh resource tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-591217560485-003A-listener-002F-app-002F-test-002F-dcab94c91c4f6e4d-002F-5b4e04fe42683b14
2024/06/11 16:36:25 ERROR: Unable to refresh resource tfer--test
2024/06/11 16:36:25 Filtered number of resources for service alb: 0
2024/06/11 16:36:25 aws Connecting....
2024/06/11 16:36:25 aws save alb
2024/06/11 16:36:25 aws save tfstate for alb

I faced the same issue while abstracting alb through terraformer.
Below are th eversions i am using:
terraformer: version v0.8.24
terraform: v1.6.0
go: go1.16.4 darwin/amd64
issue: terraformer import aws --resources=alb  --regions=eu-west-1 --profile=""
returns:
2024/06/20 11:15:15 aws importing region eu-west-1
2024/06/20 11:15:16 aws importing... alb
2024/06/20 11:15:16 aws done importing alb
2024/06/20 11:15:16 Number of resources for service alb: 5
2024/06/20 11:15:16 Refreshing state... aws_lb_target_group_attachment.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxx-003A-targetgroup-002F-xxx-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-39-002E-5
2024/06/20 11:15:16 Refreshing state... aws_lb_target_group_attachment.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxx-003A-targetgroup-002F-xxx-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-35-002E-9
2024/06/20 11:15:16 Refreshing state... aws_lb.tfer--xxx-nlb
2024/06/20 11:15:16 Refreshing state... aws_lb_listener.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxx-003A-listener-002F-net-002F-dev-pofp-nlb-002F-6bc98b94efb85469-002F-183812bd6791087e
2024/06/20 11:15:16 Refreshing state... aws_lb_target_group.tfer--xxx-target-group
2024/06/20 11:15:16 ERROR: Read resource response is null for resource aws_lb_target_group_attachment.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxx-003A-targetgroup-002F-xxx-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-35-002E-9
2024/06/20 11:15:16 ERROR: Read resource response is null for resource aws_lb_target_group_attachment.tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxx-003A-targetgroup-002F-xxx-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-39-002E-5
2024/06/20 11:15:16 rpc error: code = Unavailable desc = error reading from server: EOF
2024/06/20 11:15:16 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:16 rpc error: code = Unavailable desc = error reading from server: EOF
2024-06-20T11:15:16.708+0100 [ERROR] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.54.1/darwin_arm64/terraform-provider-aws_v5.54.1_x5 pid=12679 error="exit status 2"
2024/06/20 11:15:16 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:16 rpc error: code = Unavailable desc = error reading from server: EOF
2024/06/20 11:15:16 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:17 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:17 WARN: Fail read resource from provider, wait 300ms before retry
2024/06/20 11:15:18 Fail read resource from provider, trying import command
2024/06/20 11:15:18 Fail read resource from provider, trying import command
2024/06/20 11:15:18 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:18 Fail read resource from provider, trying import command
2024/06/20 11:15:18 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:18 rpc error: code = Canceled desc = context canceled
2024/06/20 11:15:18 ERROR: Unable to refresh resource tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxx-003A-targetgroup-002F-xxxp-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-39-002E-5
2024/06/20 11:15:18 ERROR: Unable to refresh resource tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxxx-003A-targetgroup-002F-xxx-target-group-002F-e0e8284dbded8b75-172-002E-31-002E-35-002E-9
2024/06/20 11:15:18 ERROR: Unable to refresh resource tfer--dev-pofp-nlb
2024/06/20 11:15:18 ERROR: Unable to refresh resource tfer--arn-003A-aws-003A-elasticloadbalancing-003A-eu-west-1-003A-xxxxxx-003A-listener-002F-net-002F-xxxp-nlb-002F-6bc98b94efb85469-002F-183812bd6791087e
2024/06/20 11:15:18 ERROR: Unable to refresh resource tfer--xxxp-target-group
2024/06/20 11:15:18 Filtered number of resources for service alb: 0
2024/06/20 11:15:18 aws Connecting....
2024/06/20 11:15:18 aws save alb
2024/06/20 11:15:18 aws save tfstate for alb

Downgrading the provider to 4.* is a temporary fix

@ThiagoRGoveia , please give an exact version of 4 that works for you.  I tried 4.2.1, for instance, which was not an improvement.

@jamiejackson version the aws provider version 4.67.0 worked for me

aws provider 4.67.0 and use terraform-aws-alb v8.7.0 tag

having same issue. I tried with v4.67.0 and still same error.

For me, this  error triggers if any rule in the target group is missing a Name tag. Updating all the rules with a Name tag removed the error for me.

Fixed completely by https://github.com/hashicorp/terraform-provider-aws/pull/39039

Tried with multiple plugin versions 4.* 5.* nothing worked.
Any ETA on fix.

i am facing the same issue !


keras.model.predict Generates Extra Batch and Inconsistent Number of Calls with Generator Dataset

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.14.0.dev20230703
Custom code
Yes
OS platform and distribution
Linux
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When providing a Python generator to the keras.Model.predict function with a specified number of steps (N), the generator is called N+1 times instead of N times. This behavior causes difficulties in resuming predictions and leads to an unused batch in the prediction output.
I found the same issue on the TensorFlow GitHub repository (link to issue). However, the issue was closed without a resolution, and the problem persists in my environment today. I believe this issue is worth revisiting and resolving, as it affects the predict function when using a generator dataset.
Standalone code to reproduce the issue
I managed to replicate the problem in the same gist reported before (gist for nightly)
Relevant log output
No response

Hi @arthurflor23 ,
I have replicated the reported behaviour with tf-nightly and attached gist here. It seems valid bug for me and needs to dig more.
Thanks !

Hi,
Any news on this?


Crop Image Not working in IE

Not able to crop an image in IE. It doesnt pop up a cropping area on the action.

And what version of IE would that be? It wasn't my aim to supporting IE but I can see if it's something obvious. I don't have IE or Windows to test a fix.

Not able to crop an image in IE.

@ParthPatel-DA sorry the library doesn't support IE. People have made PRs for IE stuff before so I thought it was working but I don't provide any guarantee


How to Get Started with Docker Machine

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This resolves #2841

@jumamiller , everything is set. Thanks

@vincentoriyo
Upon a quick glance this tutorial seems a bit light on substance. Lets be sure it goes beyond any documentations or other published blogs.

How to Get Started with Docker Machine #3312.pdf
👋 Good afternoon - and welcome to the EngEd program.
I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
@vincentoriyo
cc @jumamiller

@vincentoriyo ,thanks for making these edits, will be finalising review ASAP.

Plagiarism check done.

Hi @vincentoriyo
Thank you for this article. It is easy to follow through.
Also, thank you for joining the section community and we hope to see more of your amazing content.
cc: @jumamiller please check my commits for the changes. I saw the same in another article you reviewed. Please check to avoid repetition.
:rocket:


CSS is inlined and added as a blocking resource after production build

Environment

Operating System: Windows_NT
Node Version:     v21.6.1
Nuxt Version:     0.0.0
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          webpack
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-9d4aie?file=pages%2Findex.vue
Describe the bug
When building for production and inspecting page source, I get most of the CSS inlined with

same issue here. Looks like  created on components wich are reused multiple ones. But if you look closed you will see, that the component css is inlined + stylesheet created, so its duplicated..
In Nuxt2 there was a configuration to have all styles inlined or all styles extracted. There should be same config in nuxt 3..

Another idea / observation: we started seeing errors in our sentry tracking that go like Error createError(nuxt/dist/app/composables/error) Unable to preload CSS for https://www.locaverse.at/_nuxt/index.CgwrX-82.css
This also causes the app to crash in production (not in development!)
Could this be a Vite issue, @danielroe?
I tried to switch to webpack, but after installing @nuxt/webpack-builder and setting builder: 'webpack' in my config, I got the error [unhandledRejection] Identifier '__executeAsync' has already been declared (4:25) which is caused by node_modules\acorn\dist\acorn.js:651:37

The reason this is happening in the original reproduction is that layouts can be used anywhere, so we still need to emit a separate CSS file for them (ie. we can't just inline it on the server).
When this is the case, we can't omit any CSS from the file. (On the other hand, we do 'prune' CSS that is definitely inlined in the entrypoint.)
We also do need to add it as a dependency of the initial request as there are situations where there is client-side CSS we don't know about, such as if your layout imported a client-only component.
I'm not ruling out improvements here - I would love that! - but let's track in https://github.com/nuxt/nuxt/issues/21821.

@danielroe thank you very much for the answer! So, if I understand correctly, the I am doing everything right by using scoped CSS in layouts and components and the issue is not in the code but in Vite/internal implementation of CSS styles inlining?
Is there anything I can do to prevent that as a workaround until this is fixed (it seems to be a major change/improvement as I saw in the mentioned issue #21821


Looks like something transparent cover top left of WebView [android][0.39.2]

I have a button on the top left of my HTML page, but I cannot click it in WebView whatever the position of WebView is. Then I start to increase margin-left of my button in HTML, after set margin-left more than about 300px it happens to be clickable.
It is so strange, looks like something transparent cover top left of WebView.

By the way react-native 0.35.0 hasn't this bug, haven't test other version yet.

Verified 0.37.0 hasn't this bug either.

Can you provide more details? like a simple example to reproduce it?

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/looks-like-something-transparent-cover-top-left-of-webview-android0392


Fixing Dependencies in DbtRunner for Uninstalled Packages

Description:
This PR addresses issue #1039  regarding DbtRunner's behavior when required packages are not installed in the target dbt project. Currently, DbtRunner is able to run against a project without its required packages installed, leading to potential issues during execution.

Hi @elongl , I have made the changes you have mentioned in the review. Please do let me know if you further require any changes. Thanks!

Thanks a lot for this contribution!

Thank you for the opportunity!


make a proposal.md

Voting and comments are welcome

moved into https://github.com/spiral/keeper/issues/15


Default property(key,value) behavior

Once https://issues.apache.org/jira/browse/TINKERPOP3-627 is fixed, we should

remove the configuration option in Titan that configures the default behavior
eliminate 2 TODOS that reference that issue where we had to add a hack in Titan to get around this

This has been done in the upgrade to TP3M9rc1


Expose engine's screenshotting to Dart code

If we had a way to invoke PlatformViewServiceProtocol::ScreenshotGpuTask from Dart code, it would allow for the following:

sky_shell tests could be made to capture screenshots and compare against golden files
developers could insert debug code to save screenshots for later inspection when attempting to diagnose failing tests (and when they don't have the ability to run the sky_shell tests on a local device)
Apps would have an easy hook into "take a screenshot" functionality without having to go through a native plugin.  It would also allow them to capture screenshots without the native system UI overlays, which may be desirable.

@chinmaygarde

@abarth should this live in dart:ui?

My initial reaction is that we should put this in a different dart: library and have the functionality only be available in debug builds.  Maybe dart:developer would make sense?  We should chat with @johnmccutchan
/cc @Hixie

This also feels very similar to https://github.com/flutter/flutter/issues/6774.

I think we'd be better off implementing something like #6774 (which has relevance outside of testing) than spending effort on a feature that's only useful in testing.
Having said that, one thing that would be useful is if we could tell a system such as this to simplify the scene, for example removing any blurring, such that we are not sensitive to changes to things like skia algorithms for generating noise. That would make using this for golden file testing much more plausible.

Agreed, #6774 is the way to go as it appears to solve more use cases (including this one).
I am a bit nervous about the implications of developers using such an API for performance reasons (like in the linked ticket).
If we were to provide such an API, the engine wouldn't know if the images created were going to be used as a placeholder for contents that are hard to render. In such cases, we would be better off going down the async texture upload path and getting rid of the host copy. If, on the other hand, the caller wishes to modify pixel data, all this work would be unnecessary and we would need another way to efficiently handle async uploads after the modified buffer is ready for rendering (if at all). Besides, how would the developer even know what is and isn't hard to render? Even we are winging it right now! We are going to improve our heuristics here, but, the changing assumptions and capabilities of the renderer would affect how the manually optimized application would perform. I suppose we could solve this by making the returned image be an opaque object that is a stand-in for contents (like UIKit does with -[UIView snapshotViewAfterScreenUpdate:]). That way, if the user wishes to prepare the image as a performance aid, he/she can stop after preparing the snapshot (with no means of modifying the data). In that case, we keep the texture resident in GPU memory. If, on the other hand, the image is to be modified, a more expensive host copy of the snapshot can be made.

I think if we return Futures from the API it'll be clear that using it is not something you do to improve performance. I added some notes to #6774 about the proposed API.
For performance I think we're better off having bits you can set on the builders (PictureRecorder and SceneBuilder) that cause the objects to be created and used appropriately.

I'm closing this in favour of 6774, but please reopen if you disagree.


libQt5WebKit.so telescop even when in different user environments ?

Issue description
I used to install "user" packages via nix-env -i. I now have 4 machines I want to sync the config.
users.users.<username>.packages = [ pkgs.firefox pkgs.qutebrowser ]; is great but environments look flexible (basically one failed package won't prevent the system rebuild).
I have 2 environments and libQt5WebKit.so seem to telescop but I thought it wouldn't happen in a userenv ? like shouldn't each libQt5WebKit.so be visible only from its environment ?
$ nix-env -iA desktopEnv
installing ‘desktop-env’
building path(s) ‘/nix/store/hcrv15f1583wblwcca54490al32w41lv-user-environment’
Wide character in die at /nix/store/64jc9gd2rkbgdb4yjx3nrgc91bpjj5ky-buildenv.pl line 79.
collision between ‘/nix/store/qjic3lmyxhm896majw4v5m57lfw2amh1-desktop-env/lib/libQt5WebKit.so’ and ‘/nix/store/02szaqrlw7ra7701swb1b2r8kf4p64fv-dev-env/lib/libQt5WebKit.so’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
builder for ‘/nix/store/yvmdp8zggxfx59dc8bhl0zvcg8p72a92-user-environment.drv’ failed with exit code 2
error: build of ‘/nix/store/yvmdp8zggxfx59dc8bhl0zvcg8p72a92-user-environment.drv’ failed

Steps to reproduce
Add these in config.nix
      desktopEnv =  buildEnv {
        name = "desktop-env";
        paths = [
          # or xclip
          buku
          dropbox
          haskellPackages.greenclip # todo get from haskell
          libreoffice
          mendeley
          gnome3.nautilus
          gnome3.gnome_control_center
          transmission_gtk
          qtpass
          qutebrowser
          xorg.xev
          xclip
          zathura
          zotero
        ];
      };

      devEnv = with pkgs;buildEnv {
        name = "dev-env";
        paths = [
          gdb
          gitAndTools.git-extras
          mypy
          neovim
          neovim-remote
          nix-prefetch-scripts
          nix-index
          nix-locate
          python3Packages.neovim
          python3Packages.pycodestyle
          qtcreator
          pstree
          slack
          universal-ctags
          zeal
        ];
      };

then install both env:
nix-env -iA desktopEnv
nix-env -iA devEnv

Technical details
nixos-version=18.03.git.7affa52 (Impala)
nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03.git.7affa52acd"
sandboxing disabled

I've fixed the problem installing packages via home-manager so feel free to close even if the problem possibly remains.

Makes sense this isn't possible. You install packages that have the same paths in your profile. Collisions will occur. You would want to use e.g. nix-shell -p devEnv.


SP REST API returns incorrect date (timezone offset incorrect)

Category

[x] Bug

Describe the bug
When I try to get the modified date of a file the response contains a date format like this "2020-02-19T09:28:39-08:00". The correct time would be 09:28 in GMT+1 (Berlin Timezone), so the time value is correct, but not the timezone offset. When I try to make a js date with the returned value, I get a totally wrong date "Wed Feb 19 2020 18:28:39 GMT+0100", which would be 9 hours in the future for me. I could just trim the timezone offset at the end or change it to a correct value, but that would be a nasty workaround and maybe just working for my tenant.
Steps to reproduce
Write a spfx webpart and try to get file data with the client:
let fileUrl: string = webUrl + "/_api/Web/GetFileByServerRelativePath(decodedurl=%27" + this.state.documentUrl + "%27)";
let itemUrl: string = fileUrl + "/ListItemAllFields";
context.spHttpClient.get(url, SPHttpClient.configurations.v1).then((response: SPHttpClientResponse) => { 			return response.json().then((data: any) => {}); })
Expected behavior
At least a date in UTC time like the search api is returning.
Developer environment
SPFX 1.8.2
SharePoint Online
Edge Beta, Chrome
Not sure if its related to spfx at all or if the sharepoint rest api is wrong here. Any help would be nice.
best regards
diabhoil

Please add ISPHttpClientOptions to the SPHttpClient.get method.
Modify the code as below.
const httpClientOptions: ISPHttpClientOptions = {
	headers: {
		'Accept': 'application/json;odata=nometadata',
		'Content-type': 'application/json;odata=nometadata',
		'odata-version': ''
	}
};
let fileUrl: string = webUrl + "/_api/Web/GetFileByServerRelativePath(decodedurl=%27" + this.state.documentUrl + "%27)";
let itemUrl: string = fileUrl + "/ListItemAllFields";
context.spHttpClient.get(itemUrl, SPHttpClient.configurations.v1, httpClientOptions).then((response: SPHttpClientResponse) => { return response.json().then((data: any) => {}); })

Check the similar thread here: #1684
Dennis Guo
Microsoft SharePoint Community Support

Thank your for the response but I tried that already with no success. Even double checked if the header was send. I have read the related issues already and searched a lot before posting. I am getting the same results when just using the URL in the browser bar. Guessing it is not a framework issue...more a SharePoint rest problem. The SharePoint is adding a wrong timezone offset after the correct timestamp which is imo just wrong.

@Dennis-LZ that's not a good solution... you're suggesting to override from an OData v4 request => v3 (when none is specified, SP REST defaults to v3). The recommendation is to use v4, which is set by the SPHttpClient.configurations.v1.
@diabhoil Can you check the NETWORK tab on the browser, find the request, and inspect the raw response? Please share the results of the response. Also share a screenshot of the request object (with ALL the request headers).
I doubt it's an issue with SPFx's SPHttpClient object... I'm mostly certain it just returns the data it receives... that's what my request above is trying to confirm.
If that's correct, then it would be a question to the REST team...

thx for the response @andrewconnell
Here is the response (removed all unnessary parts) and sorry for not making screenshots.
{<EMAIL_ADDRESS>"https://tenant.sharepoint.com/sites/xxxxxxx/_api/$metadata#SP.ListData.Freigegebene_x0020_DokumenteItems/$entity"<EMAIL_ADDRESS>"#SP.Data.Freigegebene_x0020_DokumenteItem"<EMAIL_ADDRESS>"XXXXXX"<EMAIL_ADDRESS>"\"4\""<EMAIL_ADDRESS>"Web/Lists(guid'XXXXX')/Items(5)",     "FileSystemObjectType": 0,     "Id": 5,     "ServerRedirectedEmbedUri": null,     "ServerRedirectedEmbedUrl": "",     "ContentTypeId": "0x010100XXXXX",     "OData__ModerationComments": null,     "ComplianceAssetId": null,     "Title": "Test 19.02., 9.30",     "OData__ModerationStatus": 0,     "ID": 5,     "Created": "2020-02-19T09:28:39-08:00",     "AuthorId": 18,     "Modified": "2020-02-19T09:33:19-08:00",     "EditorId": 18,     "OData__CopySource": null,     "CheckoutUserId": null,     "OData__UIVersionString": "1.0",     "GUID": "XXXX" }
Here are the response headers:
HTTP/2 200 OK cache-control: private, max-age=0 content-type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 content-encoding: gzip expires: Thu, 06 Feb 2020 21:01:54 GMT last-modified: Fri, 21 Feb 2020 21:01:54 GMT etag: "XXXXXXXXX,4" vary: Accept-Encoding p3p: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" set-cookie: xxxx; domain=sharepoint.com; expires=Wed, 26-Feb-2020 20:55:45 GMT; path=/; SameSite=None; secure; HttpOnly set-cookie: FedAuth=xxxxxxxx; expires=Wed, 26-Feb-2020 20:55:45 GMT; path=/; SameSite=None; secure; HttpOnly x-sharepointhealthscore: 3 x-sp-serverstate: ReadOnly=0 odata-version: 4.0 spclientservicerequestduration: 129 x-aspnet-version: 4.0.30319 sprequestguid: XXXX request-id: XXX ms-cv: XXX strict-transport-security: max-age=31536000 x-frame-options: SAMEORIGIN x-powered-by: ASP.NET microsoftsharepointteamservices: <IP_ADDRESS>29 x-content-type-options: nosniff x-ms-invokeapp: 1; RequireReadOnly x-msedge-ref: Ref A: XXX Ref B: XX Ref C: 2020-02-21T21:01:54Z date: Fri, 21 Feb 2020 21:01:54 GMT X-Firefox-Spdy: h2
And here are the request headers
Host: tenant.sharepoint.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0 Accept: application/json;odata.metadata=minimal Accept-Language: de,en-US;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate, br Referer: https://tenant.sharepoint.com/sites/XXXX/SitePages/Documents.aspx?d=https://tenant.sharepoint.com/sites/XX/Freigegebene%20Dokumente/XXXX.png&i={YYY}&t=png OData-Version: 4.0 SdkVersion: SPFx/XWebPart/Y DNT: 1 Connection: keep-alive Cookie: MicrosoftApplicationsTelemetryDeviceId=X; MicrosoftApplicationsTelemetryFirstLaunchTime=2020-02-21T20:56:12.061Z; WSS_FullScreenMode=false; cucg=0; stsSyncAppName=Client; stsSyncIconPath=; FeatureOverrides_enableFeatures=; FeatureOverrides_disableFeatures=; rtFa=sdgsdg; hibext_instdsigdipv2=1; SPWorkLoadAttribution=Url=https://tenant.sharepoint.com/sites/XX/SitePages/Documents.aspx&AppTitle=RenderClientSideBasePage Pragma: no-cache Cache-Control: no-cache TE: Trailers
fyi: Request was send with firefox on win10 german lang, spfx in debug mode. Tested this behaviour on several tenants, in german/english environments (browser/os/sitecollection lang)
The creation date was 2020-02-19 09:28 AM german time (GMT+1, UTC+1)

In the future, please follow the standard GH guidance on pasting code to an issue... that was impossible to read until I edited it. More details here.
This isn't a SPFx issue, this is related to the SharePoint REST API. You can see from your raw response, you're getting "Modified": "2020-02-19T09:33:19-08:00", back from your response. According to what you're saying, the timezone offset is incorrect... agreed?

Sorry for the bad code structure and thx for correcting 👍
Yes I have seen the raw response. Tested in Browser, but was not sure if it is maybe a request problem (wrong config or something like that).
Yes the timezone offset is incorect. The time when I modified the document was 9:33 AM (UTC + 1, Berlin/German timezone). With the response of 2020-02-19T09:33:19-08:00 javascript (and me by just reading it) thinks this timestamp is 9 hours (again german time) in the future.

OK... renaming the issue to be more descriptive... need to verify on other tenants first...

I'm not sure why you are getting data back in the way it's being returned. I expect to see the format like 2020-02-22T11:48:16Z.
Just tested in 3 of my tenants and everything looks correct, both the date notation in ZULU notation returned & in the accuracy of the value. Not sure if something specific is going on with your tenant... you may need to open a support ticket via your SPO tenant admin...

@diabhoil Try this... just to be explicit on the response...
Copy the request you see in the Network tab as a fetch request:

Paste it into the Console and make sure the request headers ask for data as JSON & use the v4 format:

Execute... then look at the response in the Network tab... here's what I'm seeing... which is correct & expected:

@andrewconnell Ok. But my problem is exactly with the /listitemallfields call. All other calls returning the correct date.
This is a different tenant and browser now. Just to be 100% sure that its not just our companys tenant.

Here is the response. Modified it at 13:11 (german local time)

Which would result in

The resulting timestamp would be in the future for me.

Posting the settings for the sitecollection (same in both tenants). Maybe it is helping here

Hi all,
Is there an update on this? I'm experiencing the same issue here in the Netherlands, currently summer time (UTC+2).
Let me describe actions and results.
In the context of a SharePoint Online site I use the following JavaScript to get the created date from versions of a file:
import { sp } from "@pnp/sp/presets/all";
const item = await sp.web.lists.getByTitle("Documenten").items.getById(862).versions.select("VersionLabel", "Created").get();
console.log("item: ", item);

This results in:

However in the context of a SPFx Extensions project I experience issues with the created date.
The following dependencies are used among others:
    "@microsoft/sp-core-library": "1.9.1",
    "@microsoft/sp-dialog": "1.9.1",
    "@microsoft/sp-listview-extensibility": "1.9.1",
    "@microsoft/sp-build-web": "1.9.1",
    "@microsoft/sp-module-interfaces": "1.9.1",
    "@microsoft/sp-tslint-rules": "1.9.1",
    "@microsoft/sp-webpart-workbench": "1.9.1",

For the example I followed the steps from Andrew Connell. First I copy the request as a fetch request:

Second, I executed it in the console and created a screenshot of the results:

I have no update sorry. We changed to an other api call (/_api/Web/GetFileByServerRelativePath) to get the correct dates in our project. We had this problem only with the "listitemallfields" call.


Detection of unsupported browsers

This pull request improves the browser detection code, adds a function isBrowserSupported for determining which browsers we allow, and adds rules to pxtarget.json for a redirection policy depending on which unsupported OS or browser is being used (it uses the system introduced in https://github.com/Microsoft/pxt/pull/330).
Currently I'm enforcing the following policy:

If a browser is actually one of Edge, Safari, Chrome, or Firefox I allow it. These browsers are all frequently updated, and I have not run into any major issues using any of them with PXT. I also allow Opera, if it is one of the more recent versions that is essentially a skinned Chromium
Older versions of Opera are not allowed
IE11 is allowed (the last version of IE, which runs on Windows 7 and 8). Other versions of IE are not allowed. Due to the common-place use of IE in schools, it may be necessary to allow earlier versions (although nothing earlier than 9)
Midori, which used to be the default browser on Raspbian, is banned on all OSes. When I tested it on other OSes I found PXT crashed the browser whilst the loading animation was still playing
Epiphany (GNOME Web) running on Raspberry Pi is not supported
Mobile browsers (iOS Safari, Android Chrome) are allowed by this policy, although I've not tested them

Resolves https://github.com/Microsoft/pxt/issues/331

School system typically disable auto-update of browsers so the assumption that FF/Chrome are auto-updated is false. We need to check the version number.

@pelikhan Do you know of any specific versions of Chrome/FF that schools are likely to be restricted to using, or is the best approach going to be to just figure out what the minimum version we can support?

Could be anything based on what the it department would decide.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Thomas Denney<EMAIL_ADDRESS>Sent: Wednesday, September 14, 2016 2:30:39 AM
To: Microsoft/pxt
Cc: Peli de Halleux; Mention
Subject: Re: [Microsoft/pxt] Detection of unsupported browsers (#336)
@pelikhanhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpelikhan&data=02|01|jhalleux%40microsoft.com|5edfbacebacd402ee3de08d3dc81cb2e|72f988bf86f141af91ab2d7cd011db47|1|0|636094422421288545&sdata=SnvKB5mwX3ZUsC%2BCsz8ufbmPUGYgz1IWgvU4rtrO1hQ%3D Do you know of any specific versions of Chrome/FF that schools are likely to be restricted to using, or is the best approach going to be to just figure out what the minimum version we can support?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fpull%2F336%23issuecomment-246957282&data=02|01|jhalleux%40microsoft.com|5edfbacebacd402ee3de08d3dc81cb2e|72f988bf86f141af91ab2d7cd011db47|1|0|636094422421288545&sdata=%2Bv4eial%2BWu%2FYpsugL0f1cWj4EIOcDClyyR%2BCXVOc3Rg%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KcY6hGzeF3ed4H16yBDQ6YVrMZZ8ks5qp76_gaJpZM4J7y2c&data=02|01|jhalleux%40microsoft.com|5edfbacebacd402ee3de08d3dc81cb2e|72f988bf86f141af91ab2d7cd011db47|1|0|636094422421288545&sdata=42iLmDISmA1EofoTsUPyqs2LLCUvVTDyEOxoLWl5T9Q%3D.


Can you please clarify that this awesome code is released under MIT?

Hi, can you please clarify that this code is released under MIT licensing?
Package.json includes a mention to "license": "MIT", however there is not a tradicional license file.
tks

Added in https://github.com/skevy/graphiql-app/commit/4171e39591612027bef122c2429f5d08d16cf5aa.
Thanks!


Made a simple script to run the tutorial notebooks

I ran this and got the output:
(dcdirect) prash@air > ./test_notebooks.sh
Failed on notebook: 1_data_prep_for_gauss_hermite.ipynb

All notebooks ran successfully!

When I run the notebook 1_data_prep_for_gauss_hermite.ipynb manually however, it works (at least as far as I can see). Things to look into:

why it said the first test failed?
why it said all notebooks ran successfully after it said the first test failed?
perhaps also write out success statements per notebook, rather than just failure?

Try now; I get the following output:
Passed on notebook: 1_data_prep_for_gauss_hermite.ipynb
Failed on notebook: 2_quickstart.ipynb
Passed on notebook: 3_model_iterations_and_plots.ipynb
Passed on notebook: 4_BayesLOSVD.ipynb
Passed on notebook: 5_parameter_space.ipynb
Passed on notebook: 6_orbits_and_weights.ipynb

I now get...
(dcdirect) prash@air > ./test_notebooks.sh
Failed on notebook: 1_data_prep_for_gauss_hermite.ipynb
Passed on notebook: 2_quickstart.ipynb
Passed on notebook: 3_model_iterations_and_plots.ipynb
Passed on notebook: 4_BayesLOSVD.ipynb
Passed on notebook: 5_parameter_space.ipynb
Passed on notebook: 6_orbits_and_weights.ipynb

... but still not clear why notebook 1 fails. When I run it manually, it appears to work fine. Is there any extra output I can add to the script that could help explain...? Or something I could see directly in the notebook?

Hi there,
thanks for the script, Edward!
I think the problem above was caused by test_notebooks being branched off a rather old DYANMITE 3.0 master branch which lacked many new features, also 1_data_prep_for_gauss_hermite.ipynb was called 1_data_prep_for_gauss_hermites.ipynb, etc.
After merging the current master branch into here, deleting previous installs (rm -r ~/.local/lib/python3.9/site-packages/dynamite* or similar), and re-installing DYNAMITE, the test script works for me:
$ ./test_notebooks.sh
Passed on notebook: 1_data_prep_for_gauss_hermite.ipynb
Passed on notebook: 2_quickstart.ipynb
Passed on notebook: 3_model_iterations_and_plots.ipynb
Passed on notebook: 4_BayesLOSVD.ipynb
Passed on notebook: 5_parameter_space.ipynb
Passed on notebook: 6_orbits_and_weights.ipynb

@prashjet: please test one last time to make sure it works, then we are ready to merge.
Cheers, Thomas

Great - that solved it.
Thanks Thomas! Will merge :)


Use definition urls from service

Fixes #462
I've added the Download button in the FullDetailsView, but i'm not so happy about the placement.
This is where the button shows right now:

Any feedback on this is appreciated
This is related to https://github.com/clearlydefined/service/pull/410 so it won't work until that PR will be merged on the service.

maybe here?

Thanks, way much better

@dabutvin I've moved the button following your suggestion

@dabutvin i've updated the PR and resolved some conflicts due to the recent merge on master branch

There were some conflicts due to the recent changes on the definitions list. I've resolved those.

Yes, the service work is addressed here https://github.com/clearlydefined/service/pull/426 and it's ready as well.


Fix build failure of NuttX tools

The CI is broken after 'https://bitbucket.org/nuttx/tools/commits/164450f982b404fdc2b3233db51dc3eaa1f08b7f',
because it cannot find 'aclocal-1.15'.
Fixes #2224
JerryScript-DCO-1.0-Signed-off-by: László Langó<EMAIL_ADDRESS>

LGTM (informally)


Issue 454: Assets on a draft release can be null

Address issue #454
How to reproduce it
I can reproduce the issue when I execute the command below
grm create --milestone 2.0.1 --token [HIDDEN] --owner OWNER --repository [REPOSITORY] --assets "D:/Projects/project/Publish/xxx.2.0.1-beta.64.bin.zip", "D:/Projects/project/Publish/xxx.2.0.1-beta.64.setup.exe"

What is happening?
The problem is that when I'm getting the release, I'm trying to find a released tagged 2.0.1. Because there's no release (sic.) with tag 2.0.1, NULL is returned
https://github.com/GitTools/GitReleaseManager/blob/c0d8b8e4dd54e72c22126971b7fc2b44855c8e99/src/GitReleaseManager.Core/VcsService.cs#L136
Later, I'm trying to query the assets on a NULL collection of releases => NullReferenceException
https://github.com/GitTools/GitReleaseManager/blob/c0d8b8e4dd54e72c22126971b7fc2b44855c8e99/src/GitReleaseManager.Core/VcsService.cs#L147
Why is it happening?
When creating a release with assets, it first creates the release, and then it uploads the assets. To upload the assets, we need the release, therefore we retrieve the created release.
It seems that when we try to retrieve the freshly created release, it's not yet available and this is the root cause of the NullReferenceException
How to fix it?
Instead of retrieving the release from the wire, we can provide the created release to the method that is in charge of uploading the assets

Codecov Report

Merging #484 (f2a4088) into develop (013ea64) will increase coverage by 0.01%.
The diff coverage is 100.00%.

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

@@             Coverage Diff             @@
##           develop     #484      +/-   ##
===========================================
+ Coverage    78.84%   78.86%   +0.01%
===========================================
  Files           58       58
  Lines         1319     1320       +1
  Branches       114      115       +1
===========================================
+ Hits          1040     1041       +1
  Misses         258      258
  Partials        21       21

Files Changed
Coverage Δ

src/GitReleaseManager.Core/VcsService.cs
70.50% <100.00%> (+0.14%)
:arrow_up:

@jibedoubleve thank you very much for digging into this, and finding the solution to the problem!
Really appreciate it!


New version: LinearRegressionKit v0.7.5

Registering package: LinearRegressionKit
Repository: https://github.com/ericqu/LinearRegressionKit.jl
Created by: @ericqu
Version: v0.7.5
Commit: 4a6b8a77b426934256b04e9df37d2106a1635351
Git reference: v0.7.5
Description: Linear Regression for Julia
Release notes:

Addition of ridge regression

cancel


App Crashes when MapView.Circle center longitude is 181

Is this a bug report?
yes

Have you read the Installation Instructions?
yes
Environment
react-native: 0.48.2
react: 16.0.0-alpha.12
react-native-maps: 0.21.0

Steps to Reproduce

(Write your steps here:)

followed the installation instructions
followed the instruction(option 2) for google map in ios.
use google map in ios

Expected Behavior

show the circle in expected coordinate like when it is on apple map.
Actual Behavior

app crashes in AirGoogleMap.m not in react native dev console without any error log!
only in this coordinate and some others the app crashes. (eg: whole asia, europe,... is fine)
there is no problem when i give this coordinate to Marker but for Circle while the map is google map (not the apple map) the app crashes.
Reproducible Demo

     <MapView
            ref={ref=> {this.map = ref}}
            provider={PROVIDER_GOOGLE}
            style={Styles.map}
            initialRegion={this.getInitialState()}
            onRegionChange={this.onRegionChange.bind(this)}
            onRegionChangeComplete={ region => this.setState({region}) }
        >
            <MapView.Circle
                center={{longitude: 181,latitude: 40}}
                radius={2000 * this.state.region.longitudeDelta}
            />
        </MapView>

The valid range of latitude in degrees is -90 and +90 for the southern and northern hemisphere respectively. Longitude is in the range -180 and +180 specifying coordinates west and east of the Prime Meridian, respectively.

@jstheoriginal actually my problem is a little bit different. the longitude/latitude is received from the onRegionChange method( since i want the circle follow user movement) and when user move to this location, the ios app crashes and when i logged the amount it showed me this number.

Very old issue, closing. Please re-open if you still have it.

Still the same problem, if you create a very large radius, for example in the entire screen state a very large length, and when displaying this on iOS it crashes, the same does not happen on Android


is "app.files.com..." part of the Files program?

Also, is the image below from the same program?  I looked online to send a message to the Files team, since I didn't want to do GitHub.  I'm not that techy.
And I ran across this website, app.files.com..., and it keeps opening up a new tab in my browser, asking for my domain name.  I've never seen anything like this happen before.

I'd love to learn how to stop it, though. Thanks, Brad

That's no us. You can contact the developers also on Discord


Add ValidateFrom/Into traits for type-save validation

Motivated by suggestions on Reddit I have added 2 traits that pave the way to type-safe validation. I expect that those traits are mainly used on the aggregate level according to DDD.
The example demonstrates how to wrap entities into a newtype to distinguish unvalidated input data from validated domain entities. The unvalidated input type could be any type.
After ingesting and validating input data, consumers are free to decide if they

reject results with validation errors,
are able to handle or fix the validation errors, or
accept the result despite validation errors.

The post-validation approach (validate after conversion) introduced here should be sufficient for most use cases. It simplifies the result type, i.e. the payload/entity type is the same for both success and failure outcomes.

After some renamings I agree. Both from_validated() and into_validated() are appropriate function names: The first step is always the conversion from or into, followed by the validation. This will return the validated output value. This is wrapped into a result that indicates if the validation succeeded or failed.

@flosse Merge the final variant from_validated()/into_validated()?

@flosse Merge the final variant from_validated()/into_validated()?

I'm really happy with into_validated but I need some more seconds to think about the from_validated() ;-)

I really think about the validated_from() because I want to have a validated result from T but I don't want to have a result from a validated T.
And I think the mirroring of into_validated and validated_from() looks quite good for me :)

Back to the initial naming and rebased on master. I had to remove the intermediate commits to avoid rewriting them all.
The resulting code can be read fluently and is comprehensible. IMHO this should be the main focus when designing a public interface.


Error on compile in Ubuntu

Hello,
I am trying follow steps of https://medium.freecodecamp.com/chatscript-for-beginners-chatbots-developers-c58bb591da8#.vfee3nvi5, but to execute the step3 i see the follow error:
json.cpp:312:24: fatal error: curl/curl.h: File or directory not found
Then i changed the line #include <curl/curl.h> for #include "curl/curl.h" this has solved this problem.
Then i try again and get the follow errors:
************ LINUX VERSION ************
g++ -c -std=c++11  -Wall  -funsigned-char  -Wno-write-strings -Wno-char-subscripts -Wno-strict-aliasing  -DDISCARDSERVER=1 -DDISCARDPOSTGRES=1 -DDISCARDMONGO=1 -DDISCARDMYSQL=1 -DEVSERVER=1 -DEVSERVER_FORK=1 -Ievserver json.cpp -o json.o
json.cpp: In function ‘int factsJsonHelper(char*, jsmntok_t*, int, int, int, MEANING*, int*, bool, bool)’:
json.cpp:168:9: warning: unused variable ‘limit’ [-Wunused-variable]
   char* limit;
         ^
json.cpp: At global scope:
json.cpp:365:21: error: ‘CURL’ was not declared in this scope
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                     ^
json.cpp:365:27: error: ‘handle’ was not declared in this scope
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                           ^
json.cpp:365:35: error: ‘curl_infotype’ was not declared in this scope
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                                   ^
json.cpp:365:55: error: expected primary-expression before ‘char’
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                                                       ^
json.cpp:365:74: error: expected primary-expression before ‘size’
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                                                                          ^
json.cpp:365:80: error: expected primary-expression before ‘void’
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                                                                                ^
json.cpp:365:91: error: expression list treated as compound expression in initializer [-fpermissive]
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
                                                                                ^
json.cpp:366:1: error: expected ‘,’ or ‘;’ before ‘{’ token
 {
 ^
json.cpp:25:13: warning: ‘curl_done_init’ defined but not used [-Wunused-variable]
 static bool curl_done_init = false;
             ^
json.cpp:41:23: warning: ‘FunctionResult JSONpath(char*, char*, char*, bool, bool)’ declared ‘static’ but never defined [-Wunused-function]
 static FunctionResult JSONpath(char* buffer, char* path, char* jsonstructure,bool raw,bool nofail);
                       ^
json.cpp:42:16: warning: ‘MEANING jcopy(WORDP)’ declared ‘static’ but never defined [-Wunused-function]
 static MEANING jcopy(WORDP D);
                ^
json.cpp:44:12: warning: ‘int JSONArgs()’ defined but not used [-Wunused-function]
 static int JSONArgs()
            ^
json.cpp:323:15: warning: ‘size_t CurlWriteMemoryCallback(void*, size_t, size_t, void*)’ defined but not used [-Wunused-function]
 static size_t CurlWriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data) {
               ^
json.cpp:342:13: warning: ‘void dump(const char*, FILE*, unsigned char*, size_t)’ defined but not used [-Wunused-function]
 static void dump(const char *text, FILE *stream, unsigned char *ptr, size_t size) // libcurl  callback when verbose is on
             ^
json.cpp:365:12: warning: ‘my_trace’ defined but not used [-Wunused-variable]
 static int my_trace(CURL *handle, curl_infotype type, char *data, size_t size, void *userp)
            ^
Makefile:95: recipe for target 'json.o' failed
make: *** [json.o] Error 1

How can I solve?

Hi @oliveiradouglas
BTW, with recent CS releases, the Linux executable (LinuxChatScript64) is included in downloaded package:
$ git clone https://github.com/bwilcox-1234/ChatScript

Set LinuxChatScript64 executable:
$ chmod +x ChatScript/BINARIES/LinuxChatScript64

regards/giorgio

@solyaris  Thanks for the help, problem solved!


Account API: func createStatusesIfNeeded(articleIDs: Set, completion: DatabaseCompletionBlock? = nil)

Will create statuses with a default value.
Will not touch existing statuses.

It would make each article not starred and read.


Release v0.3.7 (and update dependencies)

Coverage remained the same at 94.355% when pulling c874d02b8c21ea04d17e78a3d6772451a34cbec2 on d00rman:rel-037 into c5568cad3c0b32f61d8730a18011dd86a161176b on wikimedia:master.

Published as v0.3.7


CMath build errors

/usr/local/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/sysroot/usr/include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace; did you mean 'sigwait'?
using ::signbit;
~~^
/usr/local/ndk/21.4.7075529/sysroot/usr/include/signal.h:129:5: note: 'sigwait' declared here
int sigwait(const sigset_t* __set, int* __signal);
I forget, how do we solve these when building with the toolchain.

Looks like the issue due the order of included headers (in header search paths).


Not working

I've followed all the instructions and it's not working. I'm getting; Error connecting to VLC Server.
I've set a password and checked Web in the interfaces. I've authorized through the Windows firewall.
Not sure what to do next. Thanks for helping me!

Hi Emulga,
are you able to use the webinterface via your browser?


Is mailgun.org still vulnerable??

Service name
mailgun.org
Proof

Documentation
I have this target that the cname is pointing to  mailgun.org and i try to taking over it, but the only verified is the SPF and MX records , the DKIM and cname was not verified, so the question is , is this still vulnerable??

No I have a similar target but while trying to register the give a response like this:
`HTTP/2 400 Bad Request
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Cache-Control: no-store
Content-Type: application/json; charset=utf-8
Date: Sat, 18 Nov 2023 16:39:03 GMT
Strict-Transport-Security: max-age=63072000; includeSubDomains
X-Mailgun-Key-Id: 1c7e8847-e517f0dd
X-Xss-Protection: 1; mode=block
Content-Length: 72
{"message":"Invalid parameter: name invalid ascii character found ' '"}
`

So it does not seem to be vulnerable in our case

thanks for that

Yes , It's MX takeover but the mail lands in spam + you can only send it to yourself and the users you have verified


test5

No description provided.

Duplicate of #

MeowFack you're absolutely right im sorry. I'm fairly new and this was actually my very first release so please excuse the ruff edges lol It will only get better from this point on i promise.

:D


Fix heatmap MAKIE recipe

The heatmap is shifted by half a pixel

where do we get the metadata on pixel definition from>

?


Create a phar using android phone

The process works great on my laptop but when I'm on the phone unable to get to a real computer... It just creates an empty phar file when I use my Galaxy S8

Hello
Which browser are you currently using?

Chrome with my Galaxy s8
Tap to get Yahoo Mail
On Thu, Feb 22, 2018 at 5:47 AM<EMAIL_ADDRESS>wrote:
Hello
Which browser are you currently using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This appears to work fine with me, can you provide the user-agent?

User-agent?Its an android s8... I'm using whatever the most resent software version...

@servantthought Go to https://developers.whatismybrowser.com/, copy the string and paste it here. It gives us sample information s about your browser (including version and OS version) so that we can know excactly which version you're runnint :)


LICENSE file

Can you add one? :)

@chrisjshull we just add a BSD 2-clause license. Hope that will work for you.


Allow chaining and persistence

Thanks for the awesome project!
Any thoughts on allow chaining similar to langchain as well as persistence?
There's a demo here that includes what I think is a pretty good approach to persistence: https://github.com/brainlid/langchain_demo
Maybe Scenarios here could pull it's settings from a scenarios database table and "conversations" saved under a "History" section?
Also related: https://github.com/dvcrn/chatgpt-ui/issues/6

Persistence is definitely needed, just wondering what the best way would be. We can store history into the session (GenServer) or localStorage but that's not very persistent


Course development: Topic 11 - Scaling up HPC workflows

Pull request and development branch for Topic 11 changes.
Closes #311

@yetulaxman this is now ready to be reviewed. Most important bits are the slides (https://a3s.fi/CSC_training/11_speed_up_jobs.html) as well as the new tutorial (tune-performance.md).


Changing color of Title and Content?

Is it possible to change the color of the text?
 .setTitleOnUpdateAvailable("Update available") .setContentOnUpdateAvailable("Check out the latest version available of my app!")
How can I change the color of, for example, these two texts?

It's not supported by the library. You should create a custom dialog by using AppUpdaterUtils instead.


Add fixture Ayra ComPar20

Fixture definition for the Ayra ComPar20

Hi, thanks !
Is this the product ?
http://www.bax-shop.nl/led-compact-par/ayra-compar-20-rgb-led-spot
I think the name should be "ComPar 20 RGB LED spot" ?

Hi,
The manual says:
AYRA
ComPar20
3-in-1 RGB LED spot
And the box it came in says:
"Ayra ComPar 20"
So wich name do we give it ;)

On 22 aug. 2015, at 19:38, Massimo Callegari<EMAIL_ADDRESS>wrote:
Hi, thanks !
Is this the product ?
http://www.bax-shop.nl/led-compact-par/ayra-compar-20-rgb-led-spot http://www.bax-shop.nl/led-compact-par/ayra-compar-20-rgb-led-spot
I think the name should be "ComPar 20 RGB LED spot" ?
—
Reply to this email directly or view it on GitHub https://github.com/mcallegari/qlcplus/pull/520#issuecomment-133730462.

"Arya ComPar 20" seems the one then :smiley:


Sync

Add an option to sync your message to a remote dwn, this will allow storage of records in a more permanent remote server as well as retrieval if you push a RecordsQuery message.

I think it makes most sense to do the following for syncing:

Message pushing - keep track of new local messages, after a debounce interval send these to the remote DWN
Implement RecordsSubscribe, which opens a long running connection to recieve messages from a remote DWN using a filter
RecordsRead will first check the local dwn, then the remote if the data or record is not found.

With this model a local DWN could contain just a subset of the full remote DWN's data, subscribing to records it needs on a case-by-case basis. Or full DWNs could keep fully synced with eachother via message pushing.
As for the APIs we will need:

A way to interact with remote DWNs (whether ours or someone else's), running Queries, Subscribes, Reads, etc
A way to specify remote DWNs to sync with

Ok a few changes and simplifcations.
We provide a sync method, which can be called by the user however they want (such as on a timer). Sync does the following:

Push - keeps track of new messages, on sync pushes them to the remote DWN
Pull - pull all local records from the remote to ensure they are up to date

Additionally when reading we will check the remote if the record is not found locally. For queries we will always check the remotes, as well as local, and combine the results.
This gives us a single API for interacting with the user's DWN, whether they have a remote connected or not. We can provide additional options, such as only reading or querying the local DWN for faster speeds, but the default behavior will be synced.


OverlayWith JPEG input, JPEG output

When OverlatWith is used on a jpeg input and the output is jpeg as well the produced image is weird:
sharp('test.jpg').overlayWith('overlay.png').jpeg().pipe(res);

When input is png and output is jpeg or when input is jpeg and the output is png or webp the result image is ok. This happens on both Windows and OSX, I haven't tested linux yet. My vips version is 8.2.2 on mac.

Hello, the forthcoming v0.14.0 will contain many improvements to the overlayWith feature, including support for 16-bit PNGs (which is what this example looks like). Are you able to test with the needle branch?
npm install lovell/sharp#needle
https://github.com/lovell/sharp/blob/needle/docs/api.md#overlaywithimage-options

See #239

Hello lovell, thank you for this great library.
I used photoshop "save for web" to create the overlay file. I tested 24bit PNG as well as 8bit png. In both case output is corrupted. This happens only when the source file is jpeg and the output is jpeg as well. I will test the needle branch now and update asap!

The needle branch works ok with the same files! thank you so much lovell. when this branch is released?

Great, glad to hear v0.14.0 will solve this problem, thanks for confirming. Please subscribe to #239 for release updates.


BUILD: align build requirements pyproject.toml/meta.yaml/tox.ini & across repos

This PR aligns build and test dependencies across repos and tox builds.
This also takes account of the need to specify min and max package requirements in pyproject.toml not only for a given package, but also for all package requirements in dependent gamma packages that will be built and tested as part of the overall build process.

I think something is wrong with the build pipeline. This PR definitely should have caused the proper build checks to run, but has not. Probably this is also because several nightly builds have failed already for some of the other projects (facet,sklearndf & pytools), having merged not fully checked PRs that touched some build config (?).

I think something is wrong with the build pipeline. This PR definitely should have caused the proper build checks to run, but has not. Probably this is also because several nightly builds have failed already for some of the other projects (facet,sklearndf & pytools), having merged not fully checked PRs that touched some build config (?).

In a nutshell:
`
Files changed since last commit: condabuild/meta.yaml
pyproject.toml
tox.ini
build config is unchanged
`
😬

In a nutshell:
`
Files changed since last commit: condabuild/meta.yaml
pyproject.toml
tox.ini
build config is unchanged
`
😬


Use enums for camera controls

Enums have been added for camera controls so we don't have to use
"magic numbers" any more.
Signed-off-by: David Plowman<EMAIL_ADDRESS>

Hi David,
I am working on some changes that I think would make it easier to navigate the controls. I don't think they should impact your addition of enums too much, but just wanted to make you aware.. I should have the PR ready by the end of the day today or tomorrow morning Pacific Time.

One of the tests here seems to be failing, but I don't think it's "real". At least, not in the sense of being related to the change in this PR. I think a libcamera update is causing it, possibly because we're "sleeping" with the event loop not running which makes it complain. Will have to put that on the list of things to investigate, but it shouldn't hold up merging this PR.


EventEmitter memory leak

(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
    at Client.EventEmitter.addListener (events.js:160:15)
    at new Channel (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/node_modules/castv2/lib/channel.js:16:12)
    at Client.createChannel (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/node_modules/castv2/lib/client.js:132:10)
    at MediaController.Controller (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/controllers/controller.js:8:25)
    at MediaController.JsonController (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/controllers/json.js:6:14)
    at MediaController.RequestResponseController (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/controllers/request-response.js:6:18)
    at new MediaController (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/controllers/media.js:6:29)
    at MediaController.fn (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/senders/sender.js:29:23)
    at construct (/home/anunez/Downloads/node_modules/iobroker/node_modules/iobroker.chromecast/node_modules/castv2-client/lib/senders/sender.js:32:10)

This happened after several client.join() calls on the same client instance. This results in the same function being registered each time:
Channel.js
this.bus.on('message', onmessage);

The root reason seems to be that the old player object is not destroyed before a new own is created. Should this be handled automatically by the client code or is it the caller responsibility to close old player?
My code currently assumes a player disconnect after it receives a client status package where there is no applications object. The player does not seem to be closed automatically when this happens. I could easily try to close the player but I wonder why this does not happen. Going though the code trying to figure out why.

This happened after several client.join() calls on the same client instance. This results in the same function being registered each time:
Channel.js
this.bus.on('message', onmessage);

The root reason seems to be that the old player object is not destroyed before a new own is created. Should this be handled automatically by the client code or is it the caller responsibility to close old player?
My code currently assumes a player disconnect after it receives a client status package where there is no applications object. The player does not seem to be closed automatically when this happens. I could easily try to close the player but I wonder why this does not happen. Going though the code trying to figure out why.

I found the following suspicious code:
node-chromecast-client/lib/controllers/controller.js
this.channel.once('close', onclose);
...
Controller.prototype.close = function() {
  this.channel.close();
};

This would explain why a close from the channel does not result on a close from the application. Should this be changed to:
Controller.prototype.close = function() {
  self.emit("close");
};

?

I found the following suspicious code:
node-chromecast-client/lib/controllers/controller.js
this.channel.once('close', onclose);
...
Controller.prototype.close = function() {
  this.channel.close();
};

This would explain why a close from the channel does not result on a close from the application. Should this be changed to:
Controller.prototype.close = function() {
  self.emit("close");
};

?

You're right in assuming it's the caller responsibility to explicitly close the objects it creates.
When you call close on a Controller, it closes its channel, the channel emits a close event on itself that is caught by the controller which then remove its listeners on the channel.
If I'm not mistaken everything should behave as expected.

You're right in assuming it's the caller responsibility to explicitly close the objects it creates.
When you call close on a Controller, it closes its channel, the channel emits a close event on itself that is caught by the controller which then remove its listeners on the channel.
If I'm not mistaken everything should behave as expected.

You are right: if the channel closes then the controller will also close itself. So here everything seems ok: maybe effects from the new year :-)
What I still see is that I get RECEIVER_STATUS packages without any applications on them and the media player object does not notice this. Therefore I assume that the Chromecast does not send a close message for the channel OR it is OK for the chromecast to send RECEIVER_STATUS packages without applications even if the application is still there.
{"volume":{"level":1,
         *            "muted":false}}

Maybe I am to paranoid by closing the player application when I get the package above...
What do you think?

You are right: if the channel closes then the controller will also close itself. So here everything seems ok: maybe effects from the new year :-)
What I still see is that I get RECEIVER_STATUS packages without any applications on them and the media player object does not notice this. Therefore I assume that the Chromecast does not send a close message for the channel OR it is OK for the chromecast to send RECEIVER_STATUS packages without applications even if the application is still there.
{"volume":{"level":1,
         *            "muted":false}}

Maybe I am to paranoid by closing the player application when I get the package above...
What do you think?


add tests and github actions

#2

Hi, you have tested if with the version 5.4 which is the default in https://github.com/symfony/mailer  works, since it supports PHP 7.
Thks,

Sorry, I used symfony/mailer version 6.0.0 right away

Hi, you tested if with the version 5.4 which is the default in https://github.com/symfony/mailer works, since it supports PHP > 7.2.5.
Thks,

Sorry, I used symfony/mailer version 6.0.0 right away

@terabytesoftw #6 php7.4 support


Update extension directives out of install cycle

This make available update the extension directives without to reinstall the extension

I'm closing this out now since it's been a year and the CLA is not signed. Feel free to open it back up if the CLA is signed.

It's very disappointed Chef choose to hide the problem of unsigned CLAs by reject the contributions instead of fix the real problem with the license


move customBuilds out of the modules folder

I don't like adding more top-level files and customBuilds is a module. I'm guessing this change is to prevent exporting customBuilds, and I actually think we should just export customBuilds. The only thing that currently makes us unable to export it is the fact that it uses config.lib.digga so we need to find a way to include a module that adds config.lib.digga for customBuilds. Or alternatively perhaps mkFlake could just include config.lib.digga in every module export.

Agreed!


[labs/router] Make router work in SSR

Should this be an RFC?

[X] This is not a substantial change

Which package is this a feature request for?
Other/unknown (please mention in description)
Description
If I use the @lit-labs/router module in SSR, I get the following error:
ReferenceError: location is not defined
    at file:///C:/Users/Lasse/Desktop/Cedgetec/Websites/urspruenglich-unverpackt/node_modules/@lit-labs/router/router.js:7:9
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Alternatives and Workarounds
There is not workaround, except not using @lit-labs/ssr for SSR.

The way we've been using the router with SSR is to set globalThis.location to the request URL, similar to this: https://github.com/webcomponents/webcomponents.org/blob/5bf9c8c97f3acbf2c0faa24c5993a3c831d53043/packages/site-server/src/lib/catalog/routes/element/element-route.ts#L133


Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is disabled

Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is disabled. When running E2E tests only (no UP), the work space already contains all the correct files, and should not be overwritten.
This is actually the script that kubernetes-soak-continuous-e2e is currently running (via a public Git Gist). Once this is checked in I'll update the job to point to Kubernetes master HEAD.
CC @quinton-hoole

LGTM

/cc @zmerlynn @ixdy

Rebased to pick up @mbforbes's changes (#8004)

Am I crazy, or is the diff GitHub is rendering way more confusing than the actual change?
Anyway, thanks for picking up my change :-)

You're right :) The change is literally 2 lines (new if statement and closing fi), everything else is a change in spacing.

This is going to need a rebase.  Then it can be merged.

Rebased. PTAL

Fun fact, if you want to see without spacing add ?w=1 to the end of the URL.  That'll turn off whitespace comparisons and you'll see just your two lines.

Ooo, neat!

That's super helpful.


Multi-label semantic segmentation using Snorkel ?

Hi all,
I'm working on weak supervision of DL network (Fully convolutional networks) for multi-label semantic segmentation task. So, the idea is to assign a label (several labels possibles) to each pixels of my images. Is it possible and/or is there some example of use of Snorkel to deal with this task ? From what I see on the tutorial repository and around the Internet, it seems there is no example of such. I found the article about Coral but it is about VQA and not semantic segmentation :/
Cheers,

Hi Grippa,
We've had success applying weak supervision to image segmentation; see this paper for our work on this problem: https://openreview.net/pdf?id=bjkX6Kzb5H
Cheers,
Fred


Improve generating module name from gem name in gem generator

I encountered the bug that the gem generator would fail on gem names containing two dashes (like a--a). I updated the module name generator to use a more robust regex based approach.

Thank you for the patch! Unfortunately we can't accept it because your change breaks the tests. Could you update this pull request so the tests pass, and add a test for the gem with two dashes in its name? Thanks.

I rewrote the regex to be 1.8 compatible and added a simple test.

The travis fail seems to be a timeout.

Thanks!


Refact gojo.deepl.loading.TorchDataset

Enhance class gojo.deepl.loading.TorchDataset so that it can be more flexible and can unify the functionality of class gojo.deepl.loading.StreamTorchDataset.

Solved in the new 0.1.0 release


Jetpack Integration for Metadata

Task Description
Splitting this out from #113:
Let's make sure Jetpack's SEO features and the like work with the Web Stories plugin. For this, we might need to submit a PR upstream.

I did a little discovery into this and was hard to test as the SEO tools have become a paid for feature. To test this we need to have the seo tools working locally.
However, once we work this membership etc, it should be simple enough.
Consider this method. It should be a matter to hook in a couple of actions.

It's probably more fruitful to integrate with Jetpack's meta tags (e.g. functions.opengraph.php) than the SEO feature directly, which as you point our are a paid feature and therefore used by fewer people.

That file, https://github.com/Automattic/jetpack/blob/master/functions.opengraph.php, has add_action( 'amp_story_head', 'jetpack_og_tags' );
Let's send them a PR to change this to use the web_stories_story_head hook. Then this should just work.

This is the original PR https://github.com/Automattic/jetpack/pull/13416
Should we remove the this code, as amp stories in the AMP plugin are not a thing anymore?
I think we need to improve Jetpack_AMP_Support. Our plugin adds in is_amp_endpoint. But what if you have jetpack, amp and web stories installed?

I don‘t think we need to change anything else beyond the filter name. But a quick test will tell us more.

I don‘t think we need to change anything else beyond the filter name. But a quick test will tell us more.
Should we keep existing action or replace it ?

We can safely replace it

I have patched jetpack to use the new action name. But was unable to test locally. Hopefully we hear back from the jetpack team.
https://github.com/Automattic/jetpack/pull/17399

Yay this got merged super quick!
Now just need to test this properly. I'll see if I can get thee plugin running loccally, or alternatively test it on my personal site.

What's the right way to test this? @swissspidy ? Is it needed for me to do UAT on this?

I can take this one @o-fernandez 👍

So while this works great, it results in duplicate Open Graph tags being printed because Jetpack does not remove existing ones.
Seems like they'd need to do this:
$instance = Google\Web_Stories\get_plugin_instance()->discovery;
\remove_action( 'web_stories_story_head', [ $instance, 'print_open_graph_metadata' ] );
\remove_action( 'web_stories_story_head', [ $instance, 'print_twitter_metadata' ] );

Not sure if they're open to do this.
Alternatively we remove those two actions if we detect Jetpack.


Add match conditions to alert handlers

This PR depends on #1209 to be merged first.
Match conditions can now be specified on any handler and it will filter down the events that the handler handles.

[ ] Rebased/mergable
[ ] Tests pass
[ ] CHANGELOG.md updated
[ ] Document how to write match conditions

This was directly incorporated in #1209


fix: all wallet flows to use ethers

Resolves #393

🐝 PR preview in Swarm
Preview URL: https://bah5acgzahcgeq5etotd53j5t3sneudfd75rodugnq245lvgukl6zeplqfdra.bzz.link
Swarm Hash: 388c48749374c7dda7b3dc9a4a0ca3ff62e1d0cd86b9d5d4d452fd923d7028e2
Commit Hash: b1bca1901951239c3edd7ae25f16992c411f4696
Commit Message: fix: remove the buggy /wallet bee call and use provider