Objective-C object constants can crash on startup

This is an issue we've seen in the Dropbox apps causing occasional crashes.  C++ global static initializers run early enough that the Objective-C run-time isn't guaranteed to be ready, so creating most kinds of ObjC objects is unsafe.  Due to this, in pure ObjC (not ObjC++) initializers are only allowed to be compile-time constants of primitive type, or @"string" literals.  (Not even @1 or @[] or @{} are allowed.)  Djinni violates this with the initializers for constants of non-primitive types.
I'm posting this here to get feedback before implementing a fix, since the fix is likely to be compatibility-breaking.  I thin the right pattern is to switch from global constant variables to class methods.  So if you have a record my_record with a constant my_constant, today you use a variable like PFXMyRecordMyConstant, and instead you'd use a call like [PFXMyRecord myConstant].  +myConstant would be a class method which does lazy initialization using a function-scoped static.  I think that can be made to work even with extensible records, where the class method would be implemented on the PFXMyRecordBase class, but inherited by the user-supplied PFXMyRecord class.
I'm wondering what existing users think of the usability of that.  I'm also considering whether to duplicate the constants in both forms cases which are safe (primitives and strings), since the overhead of an ObjC method call seems like overkill when the constant is just an int.

Well that's interesting.
I guess having class methods is the solution then. The nice thing is that a method +foo can be accessed like a property MyClass.foo. And if we override +initialize we don't have to worry about lazy initialization per variable which has its own problems.
I'm not sure about the duplication thing. It makes sense for primitives but it's also very good at confusing users why there are two options and when to use which. Change the type of a constant may result in changing code everywhere.

I think my vote would be to change the generated code for constants only where necessary (i.e. leave strings and non-optional numbers as-is). This means we'll generate different code for different types of constants, but:

The only code broken by the change will be by necessity
There's already precedent for similar stuff (this reminds me of the interface vs. protocol distinction)
Use of extern constants of primitive type is definitely idiomatic in ObjC. (An example I remember seeing a while back: the  NSURLSessionTaskPriority constants in NSURLSession.h)


Fix slave name typo

r? @metajack
(though you actually did it )

@bors-servo r+

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks pending.

Comments from the review on Reviewable.io

:pushpin: Commit d4c3d5b has been approved by metajack

:hourglass: Testing commit d4c3d5b with merge c161d0e...

:sunny: Test successful - travis


hideExpression in wrapper

[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request
I need to add a hideExpression in wrapper. It is very important for me. Example:
https://stackblitz.com/edit/angular-kk8uww?file=app/app.component.ts
Thanks

see https://github.com/formly-js/ngx-formly/issues/704#issuecomment-364661614

The wrapper type could accept a boolean expression or a string expression instead of a function? I need to access to the model with a string expression.

yes, see https://stackblitz.com/edit/angular-b7r5yx

also ensure to pass form and options input

But, I would be great if I could access to the model like the input "surname" in the example demo, because I don't have the main-model saved in the options.formstate.

then wrap the address within a fieldGroup without key, see https://stackblitz.com/edit/angular-b7r5yx?file=app%2Fapp.component.ts
    {
      hideExpression: '!model.firstName',
      fieldGroup: [
        {
          key: 'address',
          wrappers: ['panelEdit'],
          templateOptions: { label: 'Address' },
          fieldGroup: [{
            key: 'town',
            type: 'input',
            templateOptions: {
              required: true,
              type: 'text',
              label: 'Town',
            },
          }],
        },
      ],
    }

Thanks, you are a genius :)


Make smoke tests use functional test user

In migrating to the new jenkins machine the users used by the smoke tests and functional tests have been rationalised and both the smoke tests and the functional tests use the same supplier user now. As a consequence this test is failing because the supplier name is different.

:+1:


Direct Involvement for Specific Security Topics

Description: The content of the README.md redirects the point of contact to Sebastian.
Similar Issue: Current open issue that relates is issue #40
To-Do:

Edit the contact person from the README.md and provide a link to create an issue for the support of security team.
Assign handlers (for Contributors only) under issues to look into the security advisories.

Solved under: Pull #48


Geoserver + flatGeobuff + OpenLayers running example

Hi Bjorn,
is there any working example of Openlayers querying geoserver flatgeobuff features ?
I tried to create a vector layer in openlayer using the following code :
const vectorSource = new VectorSource({
//strategy: allStrategy,
strategy: bboxStrategy,
loader: async function(extent) {
const baseUrl = 'http://localhost:8080/geoserver/topp/ows'
const baseParams = 'service=WFS&version=1.0.0&request=GetFeature'
const typeNameParam = 'typeName=' + 'cite%3Aznet_mv_network'
const bboxParam = 'bbox=' + extent.join(',')
const outputFormatParam = 'outputFormat=application/flatgeobuf'
const url = ${baseUrl}?${baseParams}&${typeNameParam}&${bboxParam}&${outputFormatParam}
const response = await fetch(url)
//const response = await fetch('http://localhost:8080/geoserver/topp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=topp%3Astates&outputFormat=application%2Fflatgeobuf')
let asyncIterator = flatgeobuf.deserializeStream(response.body, ol)
this.clear()
for await (let feature of asyncIterator)
this.addFeature(feature)
}
});
It looks like the "fbs" coming from geoserver are not correctly received or creted in geoserver.
Thanks
Regards

Hi @LucaGalvagno, I'm looking into this now to see if I can reproduce your problem.

@LucaGalvagno I can't reproduce your issue, I can successfully consume output from GeoServer 2.17.2 with the FlatGeobuf extension and with FlatGeobuf 3.5.2 OpenLayers reference implementation (https://unpkg.com/flatgeobuf/dist/flatgeobuf-ol.min.js).
Your code example indicates you are using FlatGeobuf reference implementation for OpenLayers older than 3.1.x, please try with the latest version and observe that the API has changed somewhat (there is no longer a deserializeStream, only a deserialize method and it does not require an ol object.
I cannot provide a running GeoServer and specific example but the example at https://bjornharrtell.github.io/flatgeobuf/examples/openlayers/ demonstrates the current API usage and a fetch call that would be similar as when used with GeoServer as the source.


[QUERY] Is there a roadmap for when Azure.Communication.Email will reach GA?

Library name and version
Azure.Communication.Email 1.0.0-beta1
Query/Question
Is there a roadmap for when Azure.Communication.Email will reach GA? This library fully meets our needs, and we would like to deploy this to production once it reaches GA. Any sort of time range (even if its very rough, like "Q1 2023" etc) would be great to know. Thanks!
Environment
No response

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Communication:0.2852443,Azure.Core:0.1145469,Service Bus:0.06403417'

@memoryhash We have routed this query to the concerning team to share more insights.

@PramodValavala-MSFT Is there any update on this?

@memoryhash Email has reached GA in March/April 2023 and the C# SDK lib is now at stable 1.0.0.
Announcement blog: https://techcommunity.microsoft.com/t5/azure-communication-services/simpler-faster-azure-communication-services-email-now-generally/ba-p/3788541


start wechaty gateway error

docker compose
version: '3'
services:
  wechaty-https:
    image: wechaty/wechaty:latest
    container_name: wechaty-https
    restart: always
    ports:
      - 9001:9001
    environment:
      - TZ=Asia/Shanghai
      - WECHATY_LOG=verbose
      - WECHATY_PUPPET=wechaty-puppet-service
      - WECHATY_PUPPET_SERVICE_TOKEN=XXXX
      - WECHATY_PUPPET_SERVER_PORT=9001
      - WECHATY_TOKEN=XXX
      - WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT=true

Error Info:
11:31:53 ERR IoClient start() exception: Wechaty Puppet Service requires a SNI as prefix of the token from version 0.30 and later.
You can add the "insecure_" prefix to your token
like: "insecure_XXXX"
and try again.

What is said in the error message is very clear: your DIY token needs a prefix which is required in the Wechaty v1.x system.
The best way is to use wechaty-token utility to generate one for you:
$ npm install -g wechaty-token
$ wechaty-token generate --type insecure
insecure_1fab726b-e3d3-40ce-8b7b-d3bd8c9fd280

BTW: if you need a token gateway for PadLocal/SimplePad, then you need to use the v0.x wechaty docker image like wechaty/wechaty:0.68 instead of latest.
Because we are still waiting for the PadLocal/SimplePad to be adapted to Wechaty v1.x API.

wechaty-token  command error
OS: ubuntu

root@nas:/# npm  --version
6.14.4

root@nas:/# node -v
v10.19.0

root@nas:/# wechaty-token generate --type insecure
/usr/local/lib/node_modules/wechaty-token/dist/esm/bin/cli.js:14
import { binary, run, subcommands, } from 'cmd-ts';
       ^

SyntaxError: Unexpected token {
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
root@nas:/#

but it's good  in docker wechaty gateway

Node.js v16+ is required.


fix: code copy functionality

fixes the bug  reported in #89.
CC: @certik @Shaikh-Ubaid

Yes, I have known this bug. I have been hoping to fix it for some long time. The fix you sent is very helpful. Thank you so much @henilp105! We appreciate it.

I merging this PR. I will closely follow the CI and ensure the changes work fine at https://dev.lfortran.org/.

Thanks!


Descriptions not extracted or saved during scraping

Wonder if there is a flag to include GMP descriptions during scraping? During testing, I see there is a column for description in results.csv that is exported but there are no descriptions being saved.

Will look into that

@jmarsil by description you mean the text: Family-owned restaurant, established in 1893, known for regional cuisine including mussels & fries. in the attached screenshot ?
This is captured.


when I run my model in gpudelegate in android , it build crash

here is my bug message:
TfLiteGpuDelegate Prepare: Suitable node shader is not found: Output size is less than input size.Node number 129 (TfLiteGpuDelegate) failed to prepare.
my aar is tensorflow-lite-0.0.0-gpu-experimental.aar

@sunzhe09 This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!

@sunzhe09
Please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Along with the template, please provide as many details as possible to find the root cause of the issue. It would be great if you can provide a small code to reproduce the error. Thanks!


improve realm time transactions

Questions: I have some code takes forever (3sec) to execute and I m fairly sure this is because I don't use realm transaction properly
Code Sample
let aRealmObject = MassiveFunction() // last 3 sec See below
.....
MassiveFunction(firstObject,secondObject)-> aRealmObject {
let  theFutureaRealmObject = aRealmObject()
theFutureaRealmObject.propertyOne = secondObject.property
....
 firstFunc(theFutureaRealmObject) //  add  the object to realm, which takes a sec
 secondFunc(firstObject,theFutureaRealmObject) //     append the object to another realm object, which takes a sec
 thirdFunc(theFutureaRealmObject) //append the object to another realm object, we retrieve through a realm query, , which takes a sec

return theFutureaRealmObject
}

in firstFunc, secondFun and, thirdFunc, I proceed to a try.write  in each of them. with this snippet each time
//Prevent realm multiple transaction          while realm.isInWriteTransaction {             continue         }
What should I do ? can I have only one transaction?  Should I resort to background threads?
Version of Realm and Tooling

Realm framework version: 'RealmSwift','~> 2.10.1'
Realm Object Server version: ?
Xcode version: 9.1
iOS/OSX version: 11
Dependency manager + version: ?

Please provide an actual code sample. The pseudocode you provided doesn't give us enough information to help you out.
Generally speaking, loops should be contained within write transactions (rather than the other way around), so that all changes take place in one write transaction rather than incurring the overhead of beginning and committing many write transactions in a row. Write transactions should also not contain code that takes a long while to run, as keeping a write transaction open blocks other queues or threads trying to make write transactions.

That actually was the info I needed, know back to less than 0.3 sec


decouple commit data from graph data

store them separately so they can be fetched separately if needed

fixed in master


"Copied icon to Clipboard" dialog box gets partially hidden under the navbar

Description
Reproduce The Error

Go to - https://linkfree.eddiehub.io/icons
Search for an icon and then click on the IconCard
The "Copied icon to Clipboard" dialog box gets hidden under the navbar.

Screenshots
Issue
https://user-images.githubusercontent.com/116095538/218293677-478ab8f8-a9b5-450f-95e3-036fb74f046d.mp4
Additional information
No response

Can I work on this issue?

z-index 30 of the navbar is causing this issue, should I set the z-index of IconCard to 40?

I've already made the changes, let me know if I should proceed with a pull request after getting assigned.

Go ahead @GauravBurande ✅ Don't need assignment, also- I don't think we should just change the z-index, maybe fix the overflow problem?

Go ahead @GauravBurande ✅ Don't need assignment, also- I don't think we should just change the z-index, maybe fix the overflow problem?

I checked the code, I think it's not overflow problem,

I've already made the changes, let me know if I should proceed with a pull request after getting assigned.

thank you, I have now assigned it to you 👍 this avoids multiple people working on the same issue

I've already made the changes, let me know if I should proceed with a pull request after getting assigned.

thank you, I have now assigned it to you 👍 this avoids multiple people working on the same issue

I just need your opinion on this.
Should I set the Alert's zindex to 40 which displays it over Navbar, covers version and login only for 1.5sec and keep it at its old position or as @swagataroy30 suggested to move the Alert's position to bottom center, which is same position as in mobile view.

I'd keep it in its old place, instead of placing it at the bottom center.

I closed the recent pr and created changes in the new pr to avoid the whole confusion.

I think over the navbar is fine and the default position 👍

formatting changes are made in pr #4771 and this issue is solved in pr #4777


New PR to test SignCLA at 2019-05-01 17:34:58.359662522 -0700 PDT m=+3.471034035

Body of PR

indiv-pass-fork-staging: test succeeded


Color Changing Rectangle Doesn't Change Color

It throws no errors, but the rectangle doesn't actually change color
I've defined a function, but it still doesn't change

Fixed, had to use global keyword


"Most recent first" option

It would be nice if the app had an option where the most recently used entry would be shown first the next time the app was launched. That way, the entries I use more often would be shown at the top, and the ones I rarely use would slowly drop to the bottom.

For that I would have to save the time an Entry is used. Without the tap-to-reveal option enabled this is not really doable (no way to tell which entry you are using if you just read the token and type it manually on another device).
I will think about it, but for now you could always use drag-and-drop to put your often used entries to the top.

You'd have to, yes. It could be a new sorting mode that is only available when tap to reveal is enabled. That seems a reasonable use to me.


Vector.mo: provide additive fromIter, fromArray

Provide "additive" versions of the two, i.e. ones that append instead of creating a new vector.

Closing as not currently needed. Can be re-opened later if the feature is desired.


Finding a standard of code for Python

To describe our own standard of code for Python based on best practices, e.g.,
https://gist.github.com/sloria/7001839
https://www.python.org/dev/peps/pep-0008/

Added some useful links to the README file on the dev branch. Most probably, it'll make sense to use Anaconda for Python that provides a possibility to set up the same environment on any pc when developing the same code base. Moreover, for development it can be useful to use Jupyter Notebook. There is a need to take some more time for investigating it.

By now I think a good solution can be to stick to an editor VS Code (its very light and powerful) along with extension Python and pylint library.


Possible O(n) query on the upload view

When investigating https://github.com/pypi/warehouse/pull/16025 I noticed that the upload view was executing several queries like this:
SELECT releases.description_id AS releases_description_id
FROM releases
WHERE releases.id = %(pk_1)s::UUID

and
SELECT release_descriptions.content_type AS release_descriptions_content_type, release_descriptions.raw AS release_descriptions_raw, release_descriptions.html AS release_descriptions_html, release_descriptions.rendered_by AS release_descriptions_rendered_by, release_descriptions.id AS release_descriptions_id
FROM release_descriptions
WHERE release_descriptions.id = %(pk_1)s::UUID

It appeared to be one set of two queries for every release that existed on the project I was uploading, and the very next query was
UPDATE releases SET _pypi_ordering=%(_pypi_ordering)s::INTEGER WHERE releases.id = %(releases_id)s::UUID

So I suspect this bit of code:
https://github.com/pypi/warehouse/blob/eabc81dd0cd18145a44de4f116f65031a73c345e/warehouse/forklift/legacy.py#L801-L815

Fixed in #16448.


[docs] Fix the Autocomplete Highlighting example

[x] I have followed (at least) the PR section of the contributing guide.

I fixed https://github.com/mui/material-ui/issues/33973
Like this.
https://user-images.githubusercontent.com/15213369/188258227-8051db1b-03e8-453f-9b98-47390a4bb0cd.mov

@danilo-leal
This is a simple fix and if you have time, please review it 🙇🏻.


x/tools/gopls: formatting resets cursor after save with CRLF line endings

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

$ go version
go version go1.12.5 windows/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\[redacted]\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\[redacted]\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\[redacted]\AppData\Local\Temp\go-build065388570=/tmp/go-build -gno-record-gcc-switches

What did you do?

Saved a .go file
What did you expect to see?
My cursor should stay in the same place after formatting
What did you see instead?
My cursor is reset to the beginning of the file. I have tried toggling the [go] > editor.codeActionsOnSave and go.lintOnSave settings to false and it still occurs.
VSCode Settings
Go extension: 0.10.2

{
    "git.autofetch": true,
    "files.associations": {
        "*.tmpl": "gotemplate"
    },
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
            "diagnostics": true // for diagnostics as you type
    },
    "[go]": {
        "editor.snippetSuggestions": "none",
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
    },
    "gopls": {
        "usePlaceholders": true, // add parameter placeholders when completing a function
        "enhancedHover": true,   // experimental to improve quality of hover (will be on by default soon)
    },
    "go.lintOnSave": "off"
}

Does this happen often or just a single time? Do you have a case that could reproduce it?

It happens every time, a condition I have found is that it must be in a Go module. I have not tested with gopath yet, but when editing Go files that are not in Go modules, the editor does nothing on save and the cursor isn't affected.
I haven't gotten around to testing it more yet. It appeared that it formatted the code even when I had turned "format on save" off. It happens on my work computer, I haven't tested on my home computer yet but I'll get back when I do.

My initial guess is that it has something to do with your configurations with gopls and other formatting tools. gopls intentionally returns diffs rather than a full file replacement to avoid this issue, so I wonder if you are also somehow running gofmt or goimports instead of gopls.
You could try explicitly turning off formatting and import organization through gopls to see if it still happens:
"go.languageServerExperimentalFeatures": {
            "format": false
},
"[go]": {
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
},

It looks like if either go.languageServerExperimentalFeatures > format or [go] > editor.codeActionsOnSave > source.organizeImports are enabled that my cursor is reset.
When both are set to false, the file still gets formatted, but the cursor is not reset.
My configuration where it is "working"

{
    "git.autofetch": true,
    "files.associations": {
        "*.tmpl": "gotemplate",
        "*.html.tmpl": "gohtml",
    },
    "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
        "format": false,
        "diagnostics": true // for diagnostics as you type
    },
    "[go]": {
        "editor.codeActionsOnSave": {
            "source.organizeImports": false
        },
    },
    "gopls": {
        "usePlaceholders": true, // add parameter placeholders when completing a function
        "enhancedHover": true, // experimental to improve quality of hover (will be on by default soon)
    },
    "go.lintOnSave": "off",
    "editor.formatOnSave": true
}

I should have asked earlier - when was the last time you updated gopls? My best guess is that you are using an old version. Can you update to the latest and confirm if the issue still happens (go get -u golang.org/x/tools/cmd/gopls)?

I ran the command and it looks like nothing has changed

Thanks for letting me know. My next guess is that perhaps it has something to do with the fact that you are on Windows? Can you try switching to Unix line endings by adding "files.eol": "\n" to your VSCode settings?

Well that changed something - the cursor now resets to the beginning of the line rather than the beginning  of the file.

Hm, that is so strange. I've never heard of anyone experiencing this kind of behavior on Windows. I will try to reproduce this and see if I can come up with a fix.

Yeah, it's strange for sure. Doesn't happen on my home machine which really confuses me.

Scratch that - it's happening on my home machine too now.
Conditions to reproduce for me:

Either go.languageServerExperimentalFeatures > format or (inclusive) [go] > editor.codeActionsOnSave > source.organizeImports must be true
go.useLanguageServer must be true

(i've commented out all of my other settings other than these 3 in settings.json and it is still occurring)

Weird behaviors:

Using CRLF linebreaks, the cursor resets to the beginning of the file.

Exception: If you save while your cursor is placed after the very last character of the file, it stays at the end of the file.

Using LF linebreaks, the cursor resets to the beginning of the line.
If both editor.codeActionsOnSave > source.organizeImports and [go] > editor.codeActionsOnSave > source.organizeImports are both false are false, the cursor works as intended and the file still gets formatted, and imports still get organized, even though both should in theory be disabled.

So the reason I think that this happens even though the settings are set to false is that VSCode-Go will fall back to its own formatting mechanism, so it's just running goimports by default. That might be worth opening a VSCode-Go issue for. (For the record, I am not able to reproduce that behavior.)
I was actually able to reproduce the jumping to the beginning of the line behavior on my own Windows machine, as well as on my Mac in some cases. I will investigate further, but I'm starting to think this might not be a gopls issue. When we send formatting results, we send them as a diff that VSCode applies, and it has to determine where to place the cursor. We never send column positions -- only line numbers. However, after formatting it might be difficult for VSCode to understand where your cursor was relative to the changed line.
Can you give an example of a case where you would expect the cursor to stay put, but it instead gets moved to the beginning of the line?

Ok, I have been able to repro the cursor resetting to the start of the file behavior. It has to do with CRLF line endings -  I will investigate this further now that I have a solid repro.

I'm glad you could reproduce and that I'm not just crazy haha. Some more information:

With LF, the cursor only resets to the beginning of the line if the line had changed during formatting.
With CRLF, the cursor resets on every save, including when you press Ctrl+S after no changes occurred.

It seems that this is a VSCode issue. gofmt only ever uses LF line endings, so when you have CRLF line endings, we return a replacement for the entire file. VSCode does not attempt to replace the cursor at its original position when the diff is that large, and it just moves it to the top of the file. We cannot preserve line endings (see https://github.com/golang/go/issues/16355), so we don't really have another alternative other than to file an upstream VSCode issue: https://github.com/microsoft/vscode-languageserver-node/issues/493.
For now, the correct workaround is to add "files.eol": "\n" to your VSCode settings.

That makes sense. Were you ever able to reproduce the line reset bug with LF line endings?

Yes, I think the line reset is another consequence of this behavior. Since the diffs are line by line, we just delete a line and replace it, so if VSCode doesn't understand how to replace the cursor, it just puts it back to the beginning of the line.

+1   I have the same problem

+1

There is a temporary workaround for this issue (setting "files.eol": "\n" in your VSCode settings). We are investigating this issue and will hopefully be able to resolve it by fixing https://github.com/golang/go/issues/32586.
Also, a reminder to please not comment +1 on issues, but rather to use Github's upvoting mechanism: https://groups.google.com/forum/#!topic/golang-dev/OirJxPzfgug.

I having issue when save, the cursor goes to start of the line on a ubuntu machine
Below is my setting, what is the correct workaround
{
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
            "diagnostics": true // for diagnostics as you type
    },
    "[go]": {
        "editor.snippetSuggestions": "none",
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
    },
    "files.eol": "\n",
}

@tweakmy For now there seems to be no workaround to the line resetting other than disabling the language server

FTR:
{
    "go.formatTool": "goimports", // or whatever you like
    "[go]": {
        "editor.formatOnSave": true,
        "editor.codeActionsOnSave": {
            "source.organizeImports": false
        },
    },
    "go.languageServerExperimentalFeatures": {
        "format": false // other fields can be true
    }
}

disables formatting through gopls for the time being, but keeps the other language server features intact. I use this as workaround since "files.eol": "\n" didn't work for me on Windows, either.

Setting "files.eol": "\n" doesn't reformat all of your files until you edit and format them. Additionally, at the bottom right corner of your VSCode window, there should be a toggle for "LF" and "CRLF", and you may need to set that too. You may also need to configure your git settings to check out repos with the correct line endings - see https://github.com/microsoft/vscode-go/issues/2501#issuecomment-502390384.

I am actually seeing the opposite effect.  On windows when I save the cursor goes to the top of the file.  Its a very odd behavior for sure.  Disabling formatting via gopls as @Xjs suggested removes this problem; so it must be related.  Just an fyi, when I say it moves the cursor to the top of the file, I mean it moves it right to the left of the p in package.

@tensor-programming that is not the opposite effect, that is exactly what this bug is describing

I just want to throw in there's another, not so drastic, workaround: Using EditorConfig
Create a file named .editorconfig in your project root and paste this into that file:
root = true

[*.go]
end_of_line = lf

And install the EditorConfig extension.
What this does is automatically setting the EOL to LF for every .go file in the project.
(root = true marks the current file as the root file, otherwise it look for more in every parent folder until it reaches the root folder of your file system)
I've tested it and it works (once your file uses LF). The cursor still jumps to the beginning of a line if it's inside a line that gets formatted, but it's better than nothing. Otherwise it stays just where it is.
If you don't know what EditorConfig is: Using EditorConfig is actually pretty common in web development (HTML/CSS/JS). Some editors even have built-in support for it (including Visual Studio).

It is not clear what the status of this bug is.  The external references seem to all be closed, and only this one remains that I can find reporting this bug (which is still present):
https://github.com/golang/go/issues/32586  (this is closed)
https://github.com/golang/go/issues/16355 (this is closed)
https://github.com/microsoft/vscode-languageserver-node/issues/493 (this is closed)

This bug can be closed as well, I believe. The next version of gopls will use the go-diff library for diff generation, which allows us to in-line edits and thereby fix the issue with VSCode. You can try it out now by building gopls at master and adding the "go-diff": true config. The next gopls version will include this fix.


View a single story on a single page

Summary
Following a comment at the May meet up (Google doc here):
Would it be possible, when you click “read the story”, will it remain on the page or go onto another page - if there’s one immediately after, it may be too much, and having it separate would be easier to share.

Another page might make it easy to copy and paste content and share a link with others/bookmark a story that you want to come back to

Can the default be the infinite scroll on the expanded story be an option to “open in a new page”

Adding a button of “open in a new page”

“Continue reading?” button/option after a certain cut off so that you are not bound on continuing

Having all on one page might clutter the experiences page

Reactive to screen width - we can alter text display based on size of screen

There is a minimum recommended font size - make sure it doesn’t drop below that font size.
(see issue #490)

Deadline
June 2023
What needs to be done?

[ ] Make template for single story page
[ ] Add "read as standalone" button to accordion (? once opened or when closed ?)
[ ] Add a views function to send contents of story with given uuid to the template

Who can help?

Updates

Add "read as standalone" button to accordion (? once opened or when closed ?)

I would say after the accordion is opened. I think the following format could work well for the opened accordion

EXPERIENCE TITLE
First X characters of experience/recommendation as discussed to fit into screen size comfortably
<button: open full experience>


Document Graph API call for >5 roles

React to https://github.com/dotnet/aspnetcore/issues/22197.

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

ID: 3eee559d-d5e8-4fba-273d-246146eca40a
Version Independent ID: 09fe3d2b-f380-e8d3-89d6-5471a2a019ff
Content: ASP.NET Core Blazor WebAssembly with Azure Active Directory groups and roles
Content Source: aspnetcore/security/blazor/webassembly/azure-active-directory-groups-and-roles.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @guardrex
Microsoft Alias: riande

@mkArtakMSFT ... We've received another ask on this issue to document an implementation of the Graph API call for users that have more than five security groups for the Blazor WASM AD security topic. I'll move the priority up to P1, and I hope to work it Monday (7/27). Let me know if you prefer a different priority/time for this.

UPDATE: I'm in a good spot to work this today (Monday, 7/27), so I'll go ahead with it.


Update m365-lighthouse-requirements.md

Line 29 - Ensuring clarification that partners could manage customer tenants outside of CSP.

@scgitdev - Thanks for helping us to improve the article! I reviewed your change with a member of the Lighthouse product team and they requested that we add this as a note instead. We also rewrote it a bit to make sure it's very clear. The updated article should go live this afternoon.


[docs/example] Human in loop workflow example

Description
Adds a new notebook for how to implement a human in the loop workflow:

workflow that builds a story with a human
cycle through llm generation of story segment, and human deciding on the adventure/action to take
human input is implemented as a step

Type of Change
Please delete options that are not relevant.

[x] New docs example
[x] This change requires a documentation update

Super cool! Can you also link to this in module_guides/querying/workflow/index.md ? (That might be the wrong path lol)

Sure! Would python docs/prepare_for_build.py take care of this?

Yea the prepare script only updates mkdocs.yml so that it shows up in the examples tab
Other places are too complicated to update 👍


Wrong weather forecast case

It's not that every time the weather predictions are accurate.
In order to increase the accuracy I would like to add a update request page so that the user can send the accurate weather readings which will be updated after verifying it with some other weather forecasts too.

Kindly assign this issue to me


suggestions for graceTime improvement

graceTime is a great new property, but I think the docs above hint at a better name: gracePeriod is more clear to me.
Also, may be good to expose that property on HUD as well.

I totally agree with you.

Hi @randomstep, please have a look to #168


Optimize JavaScript tasks

Hey guys,
I've been using FP with a slightly modified configuration, similar to the proposed, which offers up some pretty significant optimizations:
-An exclusion added for "node_modules" to the Webpack config to avoid needless transforming on that folder during dev. Small speed bump here.
-JavaScript task broken down into separate build and watch functions. The purpose of this is two fold:

Being able to use Webpack's native watcher function (as opposed to watching JS with Gulp). During dev, JS updates are MUCH faster - basically instant.

Webpack's native source mapping, I've found, is markedly more useable and speedier than the maps generated by gulp-sourcemap.

The reason behind splitting out the JS watch from the main watch() function is so that they can be run in parallel. Otherwise, the Webpack watcher "blocks" changes to other assets (you can see this happen by adding {watch: true} to the webpackConfig object in a fresh FP install).
Give it a shot and let me know what you think!

@conorbarclay thanks for doing this, I definitely see a difference in speed. I think we also want error handling. As recommended in https://github.com/shama/webpack-stream/issues/34#issuecomment-191282535, I changed the return statement to:
return gulp.src(PATHS.entries)
  .pipe(named())
  .pipe(
    webpackStream(webpackConfig, webpack2, webpackChangeHandler)
    .on('error', (err) => {
      gutil.log('WEBPACK ERROR', err);
    })
  )
  .pipe(gulp.dest(PATHS.dist + '/assets/js'));

It breaks on syntax errors if the error is present prior to running npm start. If you start error free, it resumes the watch process and does not break if you introduce a syntax error. Is that something we can fix? If not, no big deal.

@colin-marshall I think that would be acceptable...if anything, I appreciate my watch not being broken on errors during dev -- as long as I can see that there's an error, being able to fix it and then have the watch carry-on is ideal.

@conorbarclay sounds good. Please add a commit with the error reporter from my previous post. Thanks!

@conorbarclay the watch breaks on syntax errors in the commit you just added:
[10:51:00] webpack is watching for changes
[10:51:28] 'webpack:watch' errored after 30 s
[10:51:28] Error in plugin 'webpack-stream'
Message:
    ./src/assets/js/app.js
Module parse failed: /Users/colinmarshall/Projects/Forks/FoundationPress/src/assets/js/app.js Unexpected token (11:9)
You may need an appropriate loader to handle this file type.
| //import './lib/foundation-explicit-pieces';
|
| dsimport './lib/demosite';
|
| $(document).foundation();
 @ multi ./src/assets/js/app.js
Details:
    domain: [object Object]
    domainThrown: true
[10:51:28] 'default' errored after 31 s
[10:51:28] The following tasks did not complete: watch
[10:51:28] Did you forget to signal async completion?
>>> elapsed time 33s

Is there a reason you chose to do it differently than the way I suggested?

My bad, will revise. Was simply moving the error logging to the callback function to keep it organized.

No problem! Thanks @conorbarclay.
Sorry to be a pain but can you reset your branch to https://github.com/olefredrik/FoundationPress/pull/1169/commits/7d6237e021f1ead616b351e4b5ae7dd8079f98f2 and then add the error handling? You'll have to force the changes with -f when you push them to your fork. My apologies for not stating this in my previous post.
As you can see in #1162 and https://github.com/olefredrik/FoundationPress/issues/1123#issuecomment-341810747 we are trying to make commits more clear to our users and so we should also revert to make corrections like this instead of committing on top of them.

@colin-marshall @conorbarclay Do you condsider this pull request ready for merge into master?

@colin-marshall @olefredrik I'd say it's ready to fly!

@olefredrik if you have tested and think it's ok, then go ahead and merge.


Kousa: ws data sanitization

[ ] level 0: basic ws input/reply sanitization
[ ] level 1: advanced ws input/output sanitization (details hidden due to security considerations, leave comment if you want to help)
[ ] level 2: eliminate usage of naked websocket pushes from the interior of the codebase
[ ] level 3: document how to add new websocket content
[ ] level 4: catalog all websocket communications into a formalized contract
[ ] level 5: work on versioning strategy for moving from BE "0.1" to BE "0.2" and further.

current work on ws input/reply sanitization here:  https://github.com/dark-elixir-shibe/dogehouse/tree/kousa/isaac/ws-validation

general technique:  use Ecto embedded schemas to provide simple declarative interfaces for validation:  https://www.youtube.com/watch?v=k_xDi7zAcNM

@benawad this one's for you to review

completed


[KARAF-5904] Use the asciidoctor-maven-plugin and custom ASF theme fo…

…r the manual generation

retest this please


Updating kafka-bridge image

Updating strimzi-kafka-bridge image as it has changed in the upstream strimzi-kafka github repository : https://github.com/strimzi/strimzi-kafka-operator/blob/main/packaging/install/cluster-operator/060-Deployment-strimzi-cluster-operator.yaml#L85
Signed-off-by: root<EMAIL_ADDRESS>

After updating the image, strimzi-kafka-bridge pod is in a Running state.
[root@rdr-ocs47-syd05-bastion-0 ~]# oc get pods -n myproject
NAME                                          READY   STATUS      RESTARTS   AGE
kafdrop-1-77r55                               1/1     Running     2          9m25s
kafdrop-1-deploy                              0/1     Completed   0          9m28s
my-bridge-bridge-65894f5b7-8rqxk              1/1     Running     0          10m
my-cluster-entity-operator-7845c4d999-47662   3/3     Running     0          11m
my-cluster-kafka-0                            1/1     Running     0          11m
my-cluster-kafka-1                            1/1     Running     0          11m
my-cluster-kafka-2                            1/1     Running     0          11m
my-cluster-zookeeper-0                        1/1     Running     0          12m
my-cluster-zookeeper-1                        1/1     Running     0          12m
my-cluster-zookeeper-2                        1/1     Running     0          12m
my-connect-cluster-connect-78dfd8c988-f8zmq   1/1     Running     0          10m
strimzi-cluster-operator-864b4d94bd-fdh87     1/1     Running     0          13m


Expand and prettify README.md

Reuses flutter.io homepage content to give README.md an upgrade, since this file will be the shop window of Flutter to a large part of newcomers.
The downside is that we now have duplicate content that should be updated in unison with the main site but which cannot be easily copy-pasted, due to constraints of github's Markdown renderer.

lgtm thanks!

Generally looks good, but it has a few issues (mostly rendering).

Thank you both so much!  <3 @filiph @kwalrath

Looks great! (I've never run into this kind of preview problem in github before... but then you're trying to do more with this doc than I usually do with plain .md.)


playing video from inputStream

can i play video directly from inputStream?

can not play video without protocol？
you can use hls or rtsp protocol

But how?
On Nov 2, 2017 5:48 PM, "Nathen"<EMAIL_ADDRESS>wrote:

can not play video without protocol？
you can use hls or rtsp protocol
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lipangit/JiaoZiVideoPlayer/issues/1337#issuecomment-341403644,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APejQQbqvKkWYr2lqxhbRPrwYHlE1E3lks5sybMlgaJpZM4QPYPl
.

you should make server first


Update local deployment

I hereby agree to the terms of the CLA available at: [placeholder]
Changelog category (leave one):

Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Local deployment uses docker images with pre-installed fdb
Fix some config

Detailed description / Documentation draft:
...
If you are doing this for the first time, it's recommended to read the lightweight Contributing to ByConity Documentation guide first.

Merge for an urgent need of some optimizer guy


Using DI with Razor Components lead to holding on to resources for long times

If I understand the way DI is used in Razor Components, Scoped services have a lifetime of the connection.
Wouldn't this, especially in the case of DbContexts, leave a lot of resources alive for long times and result in resource, such as SQL connections, or memory starvation if there are MANY concurrent requests?

Thanks for contacting us, @matthewDDennis.
@rynowak, can you please answer this question? Thanks!

Seems related: https://github.com/aspnet/AspNetCore/issues/5496

@matthewDDennis, you're right about scoped services to use resources throughout the lifetime of the connection, so it's important to be mindful about the usage of those resources.
Also, we plan to implement a mechanism to evict idle connections so resources aren't wasted. We track that work as part of #6358.

Related: https://github.com/aspnet/Blazor.Docs/issues/400
In some cases Scoped is really wanted, for example to keep AppState objects to hold the state of the UI for the entire scope of the connection. However for EF etc, I wouldn't advise to use a Scoped DbContext but rather use a transient one.

@matthewDDennis as @vertonghenb has already written you should use transient scope. As long as your business logic is within single function it is probably not a problem. Otherwise you have to get your context in one place and then pass it as a parameter to other functions or constructors.
Warning: you should get your context in a function and assign it to local variable in that function. Don't use automatic constructor injection and don't assign transient context to the field in a class. In Razor Components your class will be life at least as long as user interacts with current page. I don't use Razor Components, but I'm almost sure that I'm right here.


gui-wm/river: depend on either dev-lang/zig or dev-lang/zig-bin

Signed-off-by: Eric Joldasov<EMAIL_ADDRESS>

Thanks!


derive: remove once_map dependency

This change removes 14 (transitive) dependencies:

ahash, getrandom, hashbrown, lock_api, once_map, parking_lot, parking_lot_core, redox_syscall, scopeguard, smallvec, stable_deref_trait, wasi, zerocopy, zerocopy_derive

The new implementation is less generic, but on the other hand it's only 30 non-empty lines of code.
The benchmarks are just about unchanged.

Thanks for the improvement. Please merge once CI is happy. :)


[Compatibility] Just Enough Dimensions

Mod Version: <IP_ADDRESS>
Forge Version: 2611
Description: your custom thunder and rain effects don't happen in custom (JED) dimensions when using separate dimension worldinfo; sky goes dark, but the effects don't trigger.
I reported the issue to JED since you have a hook to trigger the storms, but maybe you could check for the mod and if so look for the per-world worldinfo file?
hopefully then both mods can work together

It depends on how they handle their dimensions.  If they do something different than Minecraft it probably won't work.  I will take a look at mod compat and see if there is anything possible to do.  Thanks!

https://github.com/maruohon/justenoughdimensions/issues/21

How does Dynamic Surroundings handle the weather stuff, ie. how does it decide where to render the effects? I tried to look through your code back when that issue was posted for JED, but couldn't quite find what I was looking for (and then forgot to comment back on that issue >_>). So does DS check for the DimensionType, or which WorldProvider is in use (does it need to extend the vanilla Surface provider maybe?), or something else?

First, the hooks:

DS uses the Forge hook for render weather.  On world load DS executes some code to hook it.  If another mod has already made a hook it does not - it assumes a non-cosmetic mod needs the hook.
The actual rendering for Overworld occurs here.  It is very similar to how Minecraft does rendering, but has enhancements for dust, different precipitation strengths, optimizations for performance, etc.
For rain splash particles and sound DS uses ASM to intercept the call and redirects to this method.

From a default standpoint DS assumes that a dimension does not have weather effects.  It relies on configuration data to determine if weather actually occurs within a dimension.
The reason DS assumes no weather for a dimension is because most of the modded dimensions that it runs into are either space related (like Galacticraft), have some weird properties (RFTools and Mystcraft), or has their own needs for controlling weather (like Twilight Forest progression).  Personally I would like to see a properties on dimensions similar to that on Biomes where a mod author can indicate things like weather, space, air, etc.

Yes, a pack author has the ability to configure DS behavior using external JSON config files, including turning on weather for a dimension.


Address data of Contact and Company is missing while exporting data.

Address data of Contact and Company is missing while exporting data

Removed Primary Filter from Export,
Earlier it was set to return address only if address is primary.
additional-
setting address as primary if importing from excel and no address present for company or contact.

Filtered contacts where address is not empty. And in that query still it displays few contacts whose address is missing.


Support for nested data types

While reading a parquet file using arrow rust, I ran into an issue
ArrowError("reading List(GroupType ... into arrow not supported yet")

Any timeline for supporting nested structures would be of great help.
Thanks!

@kyogesha can you add the actual type definition that is involved in this exception?

@kesavkolla Here are two parquet-files that cannot be read by arrow-rs :
https://github.com/Igosuki/arrow2/blob/main/part-00000-b4749aa1-94e4-4ddb-bab2-954c4d3a290f.c000.snappy.parquet
https://github.com/chauhanVritul/sampleparquet/blob/main/part-00000-8e5acb24-eb4e-491c-8c85-88799f25d1f0-c000.snappy.parquet


BUG: REST API now spawned in conda env correctly

@jakereps @Kleptobismol can you review?

Fixes #34

👍  Job execution still working on OS X after this fix.

Awesome!


[BUG]: ArchLinux: Fail to move files into workspace: Error: Failed to fetch

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?

OS: Arch linux amd64
kernel: 6.3.6-arch1-1
LLM: LocalLLM but an online api provider
Embedding Provider: AnythingLLM Embedder (LocalLLM with an online api have tried, but also failed)
DataBase: LanceDB
It seems not an IP error. I have tried many IPs, but none of them work. And I have tried English txt and Chinese txt, both failed (Perhaps not an error on the embedding provider, because LocalLLM with an online api have tried. By the way, does AnythingLLM Embedder supports Chinese?)
When I moved a file to workspace, the console didn't print anything. But when start it threw an error, followings are the complete console output:
"""
Updating location Prisma binaries for linux builds.
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:/home/CharSaMa/.config/anythingllm-desktop/storage/anythingllm.db"
Already in sync, no schema change or pending migration was found.
EROFS: read-only file system, unlink '/tmp/.mount_AnythibuCKka/resources/backend/node_modules/.prisma/client/index.js'
Prisma schema loaded from prisma/schema.prisma
Error:
EROFS: read-only file system, unlink '/tmp/.mount_AnythibuCKka/resources/backend/node_modules/.prisma/client/index.js'
"""
Are there known steps to reproduce?
No response

In ~/.config/anythingllm-desktop (or where Arch writes AppImage data) there should be a storage/models/Xenova folder. Does that exist for you? Could be related to https://github.com/Mintplex-Labs/anything-llm/issues/821, but we added a fallback URL to prevent this. However, it is possible you cannot reach either URL for downloading the embedder model to run locally.
If there is no error to the terminal when moving the document over, that would indicate that the frontend is failing to even reach the backend. The boot messages shown do not seem to indicate that it crashed or was otherwise unable to boot.
You can check to see if the server is running by curl HTTP://localhost:3001/api/ping

I am using clash as proxy. When I turn off proxy, it responds normally "{"online":true}", but when I turn on it, it doesn't have any response(though maybe it's not the cause of my problem). I will try different IP later.

I have followed the #821 and tried to create the folder".config/anythingllm-desktop/storage/models/Xenova/all-MiniLM-L6-v2/", but didn't work either.
What's worse, I tried to conduct a chat, but failed, the same problem as #946 .
I previously used docker to set up anything-llm, and I just apply the same setting into the desktop application. So I am puzzled now.

At this point, with the influx of issues across the multitude of Linux distros we may just drop the desktop appimage and just point to use docker since that consistently works as making sure the correct binaries exist for not only the OS, but also its version, is causing so many issues that are frankly impossible to debug remotely.
The only solution for the appimage, which does work is unpacking it, running npm install, and running the image unpacked.
https://github.com/Mintplex-Labs/anything-llm/issues/1077#issuecomment-2048481246

Wow... so I'd be appreciate if you can add embed feature in the docker version

@ChaRoSaMa you already can embed with the built-in embedded on Docker. The only thing the Docker app does not have that desktop does is the built-in LLM.

soooorry.. I just misspoke. I mean the document uploading feature...
But by the way thanks for awesome application you built


Fixed Camera rotates slower with devtools open

Nature of the bug: The devtools augmented significantly the number of calls to onMouseMove() per second (~50 -> ~450), which led to mouse deltas to get smaller. My guess is that it made the update of the mouse position in the model throttle.
Here's what I did:

Edited mouse.ts to add a limit to how many calls per second (max 25/s)

Ran npm audit fix to update some of the dependencies

Wow, yeah you're right, onMouseMove() is being called multiple times before getMouseDelta() is read. It looks like when devtools is closed all mouse events are coalesced into one event but when it is open then each event is emitted separately.
I think a better fix would be simply to remove line this.prevMouse = this.currMouse; from onMouseMove(), that way the previous mouse position will stay as the last position a delta was calculated from.
If you wanna update the PR with the change above I'll approve and get this merged. Thanks for pointing out what was wrong, I've taken a stab at this issue a few times and it stumped me so massive thanks.

No problem 👍 this repo is useful so I might continue to either tackle issues or make improvements.
Was a pain to get git to understand where I wanted to push but here you go, the changes are done :)

Fixes #95


Making feature section more creative

Is your feature request related to a problem? Please describe.
I just want to add the border and line breaks for each category and the font style for features section.
Describe the solution you'd like
I can add the visually appealing border and good font for features, also to add hover to the images in features section
Additional context
Please assign this me under GSSoC'24.

@MuraliDharan7
This issue is currently being addressed in #232. You can follow the progress and participate in the discussion there.
To keep our issue tracker organized, I will be closing this issue.


Implemented the 'channel:manage:broadcast' scope

Type: Improvement
Fixes: #323
As issue #323 states, Twitch updated their API documentation a year ago to state that the "user:edit:broadcast" scope was replaced with the "channel:manage:broadcast". This PR aims at providing the possibility of passing an argument to the ApiClient to use it.
This adds a useNewBroadcastScope boolean to the ApiConfig object that is used in that constructor, which alters the behaviour of the 3 relevant methods (updateChannelInfo, createStreamMarker and replaceStreamTags).

Superseded by #343.


SPFX Solution Deployment in SharePoint online tenant level app catalog throws error - The package contains too many parts. Maximum: '1000'

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version -  94.0.4606.81 (Official Build) (64-bit)
SPFx version - 1.11.0
Node.js version - v10.22.0
gulp - 4.0.2
yo - 3.1.1

Describe the bug / error
I have an spfx solution with 53 web parts and 1 extension. When I did some changes in the code level, then I tried to redeploy the solution but unfortunately, the solution is not published successfully on the app catalog. It is showing the error like
The package contains too many parts. Maximum: '1000'. Actual: '1002'.

Steps to reproduce

Deploy big solution file in sharepoint tenant-level app catalog
SharePoint

Expected behavior
The expected behavior is no errors and successful deployment.

OK, that seems a bit strange.  If you look in the sharepoint/debug folder after running package-solution, how many guid-named folders exist in the solution/yoursolution.zip/ directory?  Also - if you clean then build, does the error still happen?

Also, unfortunately the word 'parts' in that error text is misleading.  Each relationship in the clientsideassets.xml.rels file counts towards that number, and each file referenced counts towards that limit.
You might be running into an actual limit.  Is there a requirement to have 40-50+ parts in a single solution?


Regression in datetime handling in plots

#5794 (ea2886136dec7047186d) introduced a regression in whether or not pandas datetime converters are loaded or Matplotlib's.  This leads to basic Matplotlib-native plotting failing https://github.com/matplotlib/matplotlib/issues/22023  Previously matplotlib's converters were loaded, now pandas are being loaded, despite the downstream user not ever using xarray's plotting utilities.
test code
import matplotlib.pyplot as plt
import numpy as np
import xarray as xr

import matplotlib.units as munits
print(munits.registry)
ds = xr.Dataset({"time": [np.datetime64('2000-01-01'), np.datetime64('2000-01-02')],
                     "sir": [0, 1]})

fig, ax = plt.subplots()
# crashes:
ax.scatter(ds['time'], ds['sir'])
plt.show()

Previously:
{...
<class 'numpy.datetime64'>: <matplotlib.dates._SwitchableDateConverter object at 0x106434ac0>,
<class 'datetime.date'>: <matplotlib.dates._SwitchableDateConverter object at 0x106434ac0>,
<class 'datetime.datetime'>: <matplotlib.dates._SwitchableDateConverter object at 0x106434ac0>}

Now:
{... <class 'numpy.datetime64'>: <pandas.plotting._matplotlib.converter.DatetimeConverter object at 0x17f288160>,
<class 'datetime.date'>: <pandas.plotting._matplotlib.converter.DatetimeConverter object at 0x17f182250>,
<class 'datetime.datetime'>: <pandas.plotting._matplotlib.converter.DatetimeConverter object at 0x17f1821c0>,
<class 'pandas._libs.tslibs.timestamps.Timestamp'>: <pandas.plotting._matplotlib.converter.DatetimeConverter object at 0x17f16ff40>,
<class 'pandas._libs.tslibs.period.Period'>: <pandas.plotting._matplotlib.converter.PeriodConverter object at 0x17f16ffa0>,
<class 'datetime.time'>: <pandas.plotting._matplotlib.converter.TimeConverter object at 0x17f288130>}

As you can see, the pandas converters have been loaded without any use of pandas nor xarray plotting utilities.
Suggestion
Of course if xarray plotting is loaded, you should use and register what date converters you would like (I'd suggest matplotlib.dates.ConciseConverter, but your mileage may vary).  But I think if the user is just trying to use xarray to load a data set, they should not have decisions made for them about the converter (or any other plotting functions), and to prevent confusion they should get the default matplotlib converter since it handles datetime64 just fine.
I think it could also be argued that this is a pandas issue, in that just importing pandas should not automatically register their converters unless their plotting is used.  ping @TomAugspurger because I thought that was the plan, but apparently things changed.  And it indeed appears their converter has a bug in it for matplotlib scatter.
Thanks!

The registration happens here, added in #1669 in 2017:
https://github.com/pydata/xarray/blob/5e8de55321171f95ed9684c33aa47112bb2519ac/xarray/plot/utils.py#L34-L39
Is the registration even needed anymore I wonder? Matplotlib started supporting datetime64 in 2018: https://github.com/matplotlib/matplotlib/releases/tag/v2.2.0

Hi @Illviljan that is correct.  However after https://github.com/pydata/xarray/pull/5794 xarray is more aggressively making the pandas choice for the user.
I'll play with it a bit to see if just removing your explicit registration fixes the problem.  However changing the datetime converter would be a breaking change (to your plotting) that I'm not sure you want.
This is a tricky problem that I'm not sure matplotlib has handled properly (full disclosure, I'm on the mpl dev team and usually handle datetime issues, though I didn't design our units registry).  Having a registry that users can change is very flexible. However when downstream libraries like xarray or pandas affect user plotting just by importing the package, it leads to considerable confusion as users don't necessarily know this has happened or how to get back to the Matplotlib default.  Particularly if they are not using the package's plotting utilities, but just the other features and/or data types (for instance I love xarray and use it all the time in my data analysis, but I rarely use the plotting convenience functions)

There's a pr for reverting, #6064, for a separate reason that we probably should merge soon.
I simply don't understand what that registration does, it might well be just a quick fix in a time when mpl didn't support datetimes and it might be good idea to simplify and remove it in a future pr.

So is #6109 enough to permanently fix this?

As I'm away from a computer for a few days so can't double check,  but I did bisect the problem to the pr that was reverted.
However you could keep this open for a more fulsome discussion of date handling and whether xarray wants to use the pandas or matplotlib converters.  I would actually be pretty happy if pandas also just used matplotlibs converters - we already jump through some hoops to make data frames work.

whether xarray wants to use the pandas or matplotlib converters.

IMO matplotlib is fine
This code is from before matplotlib  supported datetime64.

I checked the code from above, and it has the Matplotlib unit handlers rather than the pandas

I checked the code from above, and it has the Matplotlib unit handlers rather than the pandas

BTW, maybe you could/should add a test for this behaviour?

BTW, maybe you could/should add a test for this behaviour?

Do you have an easy test in mind?

Do you have an easy test in mind?

Sure see https://github.com/pydata/xarray/pull/6128

Sure see https://github.com/pydata/xarray/pull/6128


RichTextBlock theme bug

https://github.com/HppZ/RichTextBlockThemeBug
The pointerover color of HyperLink in RichTextBlock is not correct. it is correct once you switch RequestedTheme to Light and back to Dark.

@aqibbanday please help.

can you update the sample project.

update what?

The repro project can't work?

The solution file is not present

just open App6.csproj file with Visual Studio.

is it a bug?

 <RichTextBlock             x:Name="RichTextBlock1"             HorizontalAlignment="Center"             VerticalAlignment="Center"             FontSize="60">             <Paragraph>                 <Hyperlink UnderlineStyle="None">                     <Hyperlink.Inlines>                         <Run Text="One" />                     </Hyperlink.Inlines>                 </Hyperlink>             </Paragraph>         </RichTextBlock>

use RichTextBlock directly is ok. but if I put RichTextBlock in a templated control, it does not work anymore.

why RichTextBlock can't be in a templated control?

its a sealed class.

I use it as the root element of my custom control. I think this is ok.

This should work. Try creating UserControls.

did you run my repro project? https://github.com/HppZ/RichTextBlockThemeBug

This should work. Try creating UserControls.

why templated control don't work with RichTextBlock

Yes, and wht do you mean by templated control? You cannot inherit RTBlock because the class is sealed.

I mean this:

RichText is a templated control.

RichText exists in my repro project.

public sealed class RichTextBlock

public sealed class RichTextBlock

I don't inherit RichTextBlock, I inherit Control and use RichTextBlock as the template root element. then my templated control does not work.

am I missing something?

``

 <Style TargetType="local:RichText">         <Setter Property="Template">             <Setter.Value>                 <ControlTemplate TargetType="local:RichText">                     <RichTextBlock x:Name="RichTextBlock_Part">                         <Paragraph />                     </RichTextBlock>                 </ControlTemplate>             </Setter.Value>         </Setter>     </Style>

Allow me to commit the changes.

put <Paragraph /> in RichTextBlock fixed the bug, but why?

Allow me to commit the changes.

invited.

put <Paragraph /> in RichTextBlock fixed the bug, but why?

Not sure.

thanks.
ok, i will keep this issue open.

@codendone thoughts?


Catch missing /sys/class/hidraw

If you had not hidraw devices attached sinced boot, the directory /sys/class/hidraw may be missing. The fido2 library complains with
  File "/home/nicolas/.local/lib/python3.7/site-packages/solo/cli/__init__.py", line 129, in ls
    solos = solo.client.find_all()
  File "/home/nicolas/.local/lib/python3.7/site-packages/solo/client.py", line 52, in find_all
    hid_devices = list(CtapHidDevice.list_devices())
  File "/usr/lib/python3.7/site-packages/fido2/hid.py", line 136, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/usr/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 183, in Enumerate
    for hidraw in os.listdir('/sys/class/hidraw'):
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/hidraw

We should catch this.

Happened to me too.

If you had not hidraw devices attached sinced boot, the directory /sys/class/hidraw may be missing. The fido2 library complains with
  File "/home/nicolas/.local/lib/python3.7/site-packages/solo/cli/__init__.py", line 129, in ls
    solos = solo.client.find_all()
  File "/home/nicolas/.local/lib/python3.7/site-packages/solo/client.py", line 52, in find_all
    hid_devices = list(CtapHidDevice.list_devices())
  File "/usr/lib/python3.7/site-packages/fido2/hid.py", line 136, in list_devices
    for d in hidtransport.hid.Enumerate():
  File "/usr/lib/python3.7/site-packages/fido2/_pyu2f/linux.py", line 183, in Enumerate
    for hidraw in os.listdir('/sys/class/hidraw'):
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/hidraw

We should catch this.


Feature/gh 182

Fixes #182

This pull request is an initial attempt at fixing the Class Copy issue when a Class has metadata and at least one of its Elements has metadata. The metadata is not saved after the copy, and the validation fails for the parent catalogue item id.
Change to the BootstrapModels was to add metadata at the class and element level for the Class: 'parent'. This causes the test 'C01 : test copying (as writer to both DataModels)' in uk.ac.ox.softeng.maurodatamapper.testing.functional.datamodel.item.DataClassFunctionalSpec to fail with  the validation error.

Ready for re-review. I've implemented the changes to the Bootstrap data setup and also to the DataClassService. I made an addition, where the DataElements are saved without validation before the Data Class save with validation is called.

@olliefreeman I've removed the unneeded saveElements method and called the service save method. Ready for re-review.


Syntax Highlighting Updates

Not sure what's intended as opposed to what might just be overlooked tokens, so I'll just post everything that stuck out to me, along with the TextMate updates I made.

It seems strange to me that an inherited class has the same color as strings do, as opposed to the same color as the class that's extending.

Example:
// myClass is yellow, while someOtherClass and strings are green
class myClass extends someOtherClass {}

I'm also getting the same green string color for some variables that are used inside template strings.

Example:

// process and env are string colored
const path = `${process.env.staticPath}icons`;

In React JSX, the assignment operator is the same color as the attributes. I would suggest that they be separate colors (same as HTML).

Example:
// screen and = are the same colors
<FullScreenModal screen="search" />

In HTML and JSX, character entities are appearing as multi-colored, because of the punctuation colors.

Example:
<div>
  <!-- & and ; are blue, while amp is red -->
  Wit & Wisdom
</div>

HTML text colors inside JSX being white and matching things like imports/exports/variables seemed like it needed some color separation.

Below are the rules I added to address all of the above.
"textMateRules": [
        {
          "scope": [
            "punctuation.definition.entity",
          ],
          "settings": {
            "foreground": "#F78C6C"
          }
        },
        {
          "scope": "entity.other.inherited-class",
          "settings": {
            "foreground": "#ffcb6bff"
          },
        },
        {
          "scope": [
            "support.variable",
            "variable",
            "variable.other.constant",
          ],
          "settings": {
            "foreground": "#ffffff"
          }
        },
        {
          "scope": [
            "keyword.operator.assignment",

          ],
          "settings": {
            "foreground": "#89ddffff"
          }
        },
{
          "scope": [
            "meta.jsx.children",
            "text.html.derivative",
          ],
          "settings": {
            "foreground": "#b2ccd6ff"
          }
        },
    ]

I'm also getting the same green string color for variables inside template variables, which I modified by using the support.variable scope.

Another suggestion: in React JSX, use different colors for the attributes and assignment operator.

To correct highlight JSX and advanced js syntaxes you have to use an extension since the basic vscode highlight system doesn't cover all the syntax scopes.
Can you try with this extension installed?
https://github.com/michaelgmcd/vscode-language-babel

@equinusocio That did appear to solve my first two suggestions where the green string colors were showing, thanks!
The other 3 issues mentioned still exist.

Hi, @equinusocio, thanks for pointing out that we need the Babel extension to properly correct JSX and advanced JS syntaxes.
However, I still ran into the issues that the key-value inside an object scopes are not properly set even after installing the extension. I wonder if this is a overlooked token in Material Theme or should I post this to Babel?

Ran into another issue. After downloading the extension that was suggested, while some syntax highlighting began working, others began breaking in JavaScript (e.g. console in console.log).

@jabacchetta What do you mean with "began breaking". Can you add a screenshot of the changes?

@equinusocio
Here's with the Babel extension disabled. The colors match TypeScript. And note that the italics are working as expected.

And here's with Babel extension enabled. Italics not working (as I declared in my settings). Colors seem to be broken?

Can you check the assigned scopes with the scope inspector? Probabily these extensions assign different scopes.


Try out mmap to speed up osrm-routed

Refer to suggestion: https://github.com/Project-OSRM/osrm-backend/issues/5503#issuecomment-516116176, we're going to have a try with --mmap to shorten the initialization time by osrm-routed.

osrm-routed initialization time reduced from 130s to 57s after enable --mmap, totally 73 seconds saved.
See details in: https://github.com/Project-OSRM/osrm-backend/issues/5503#issuecomment-517858635

Inspite the osrm-routed time reduction, the --mmap may still not enough to us since it will lose performance on querying.
The osrm-datastore may more valuable to have a try. Let's turn to the osrm-datastore and close this issue then.


Adds support for structs

@tsahyt - feel free to close this PR if you're not interested in mainlining your branch, but I figured it would be a nice way for me to keep up to date with this great work you're doing. Thanks!

Partially addresses #5

I thought about submitting a PR eventually, so I'm okay with this. Currently I'm just adding whatever I need ad-hoc while I'm exploring shader programming, e.g. there's currently also a branch for arrays. Some of the functions I've added might not be strongly typed enough compared to the existing ones.
The structs related code here has so far been working well for me though, so I'm getting somewhat confident that it's a reasonable solution, although there are some rough edges. On the CPU side I'm currently working with overloaded labels to address the struct fields when passing uniforms. Primarily this makes the syntax a bit nicer, e.g. one could use field light #position rather than having to pass proxies with type applications or similar. I think it would make some sense to introduce this here as well.


fix "com.google.appengine.repackaged.com.google.common.base.Strings" …

this commit will solve problem when we build this project then encounter "com.google.appengine.repackaged.com.google.common.base.Strings" issue.

I signed it!

I signed it!

I have change my CLA info.


Document how to test that code-generation is up-to-date

TL;DR, promote build_verify

Closing in favor of https://github.com/rrousselGit/riverpod/issues/2631


fix: articles/notification-hubs/notification-hubs-ios-push-notifications-swift-apps-get-started.md

Escape elments swallowed as HTML

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


[Chore] Bump thirdweb-dashboard to version 3.0.0

#3398  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


Only compute the bounding box of the visible objects for the reflength

Please update Galata references

please update snapshots

Galata please update snapshots


add: macos support

fix: sed error - macos

Thanks for the contribution to this, it has been merged.

I've fixed that compatibility issue in a simpler way, without additional dependencies.
So I roll back your changes.

Thanks for the contribution to this, it has been merged.

np


Restarting once video has ended

Hi,
is there currently a possibility to restart the video / audio, once it has finished? I can't see anything about it in the example / docs.
Thanks :)
Philipp

Setting the repeat property of your Video to true should do that.

Should be fixed by @isair in #62!


Discover Page - Selection Appearance During Zoom Changes

Zooming in or out on the map removes the selection fill for a box.  Is this desired behavior?  It seems as though a selection should persist through zoom in and out.
171025_WDC1129_test-env.txt
X5-video-log.zip

Issue resolved as a part of the Discover redesign


小说推文AgentExample

Features

小说转视频Agent工作步骤
1、获取小说（示例中直接贴小说到代码里，可外接数据库Or从文档获取）
2、改写
3、分段/分镜
4、生成SD提示词
5、TTS语言合成
6、SD文生图
7、合成视频
Feature Docs

Influence

Result

Other

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

Project coverage is 81.19%. Comparing base (06d7269) to head (b47a668).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #935   +/-   ##
=======================================
  Coverage   81.19%   81.19%
=======================================
  Files         226      226
  Lines       12477    12477
=======================================
  Hits        10131    10131
  Misses       2346     2346

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

This PR has been closed because it took too long, feel free to reopen it.


[nanoflann] Update to 1.5.5

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Just go straight to 1.5.5. If their versioning is reasonable, every patch version is better than the previous one for the same minor version.

Just go straight to 1.5.5. If their versioning is reasonable, every patch version is better than the previous one for the same minor version.

Pinging @SunBlack for response.

Please fix the CI pipeline error by modifying the following code in portfile.cmake:
vcpkg_cmake_config_fixup(CONFIG_PATH "share/${PORT}/cmake")

Changed to:
vcpkg_cmake_config_fixup(CONFIG_PATH "share/cmake/${PORT}")

Thanks for the update!


Version 2.2.9 is not available on PyPI

It has been 2 days since the release was published on Github, so I assume it would already be on PyPI if everything was working right.
https://pypi.org/project/mqtt-io/#history
Apparently the "Publish to PyPI" action was skipped: https://github.com/flyte/mqtt-io/actions/runs/5530576216

Any joy here? Would like to upgrade!

Hey, it's sonerhing with the tag variable in the pipeline. I'll try to fix it today. Next three days I'm going to be on a workshop and won't be available...

@ondras12345 @lloydbayley
2.2.9 should be availabe on pypi.org now. May you please have a look at it and verify if it is working?
Thanks!
Benni

@ondras12345 @lloydbayley 2.2.9 should be availabe on pypi.org now. May you please have a look at it and verify if it is working?
Thanks! Benni

It is indeed there! Thank you very much!
Always nice when you can say "It VERKS!" :)


Sendqueue CI pipeline

For whatever reason https://github.com/rust-pcap/pcap/pull/237 didn't trigger the pipeline. This is a branch with clippy lints fixed to check if CI is okay.

It passes


Unable to download JSON metadata: HTTP Error 404

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.26. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.09.26

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', 'https://www.vrt.be/vrtnu/a-z/w817/3/w817-d20160613-sseizoen-3a2/', '--verbose', 'flag']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2018.09.26
[debug] Python version 3.7.0 (CPython) - Windows-10-10.0.17134-SP0
[debug] exe versions: ffmpeg N-92058-gefb65abedf, ffprobe N-92058-gefb65abedf, phantomjs 2.1.1, rtmpdump 2.3
[debug] Proxy map: {}
[VrtNU] Logging in
[VrtNU] Requesting a token
[VrtNU] w817-d20160613-sseizoen-3a2: Downloading webpage
[VrtNU] w817-d20160613-sseizoen-3a2: Downloading JSON metadata
[Canvas] pbs-pub-0d0240d1-ac29-471a-aa7e-dfdeb3cdc1e7$vid-60d0e52c-a602-4289-8a97-1d15cbae25b3: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "c:\python3.7\lib\site-packages\youtube_dl\extractor\common.py", line 604, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\python3.7\lib\site-packages\youtube_dl\YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "c:\python3.7\lib\urllib\request.py", line 531, in open
    response = meth(req, response)
  File "c:\python3.7\lib\urllib\request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "c:\python3.7\lib\urllib\request.py", line 569, in error
    return self._call_chain(*args)
  File "c:\python3.7\lib\urllib\request.py", line 503, in _call_chain
    result = func(*args)
  File "c:\python3.7\lib\urllib\request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description of your issue, suggested solution and other information
First off I tried to download a couple of links with --batch-file "listOfLinks.txt" (All from the same website)... The first video's worked, downloaded perfectly normal. Then stumbled upon this problem. I tried with this link only, but still the same error... The video can be played on the website itself (after logging in ofcourse) and all other videos can be downloaded of the same website, just this one won't...  I don't really know what to look for next...

Just chiming in to let you guys know I'm running into the same issue.
Works perfectly fine;
https://www.vrt.be/vrtnu/a-z/kamp-waes/1/kamp-waes-s1a1/
https://www.vrt.be/vrtnu/a-z/kamp-waes/1/kamp-waes-s1a2/
https://www.vrt.be/vrtnu/a-z/kamp-waes/1/kamp-waes-s1a3/
https://www.vrt.be/vrtnu/a-z/kamp-waes/1/kamp-waes-s1a4/
Gives the error as described above;
https://www.vrt.be/vrtnu/a-z/kamp-waes/1/kamp-waes-s1a5/
Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File<EMAIL_ADDRESS>line 435, in open
    response = meth(req, response)
  File<EMAIL_ADDRESS>line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File<EMAIL_ADDRESS>line 473, in error
    return self._call_chain(*args)
  File<EMAIL_ADDRESS>line 407, in _call_chain
    result = func(*args)
  File<EMAIL_ADDRESS>line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)


feat(jar): Adds :scm-url option to jar

Fixes #1

Given that tools.build already has that ability and I'm hoping to sunset depstar in favor of tools.build as soon as the latter's uber task has parity with depstar's merging functionality, I'm not going to add this.

I think the better option would be to just let users pass the whole :scm structure through. I implemented :tag because that was all my current projects use, so this needs a more holistic approach.

I think the better option would be to just let users pass the whole :scm structure through. I implemented :tag because that was all my current projects use, so this needs a more holistic approach.

Fair enough! Thanks for taking a look.

For the historical record, this was implemented in v0.1.1 d096192


Fix attribution generation for Flux projects and CAPI

These project-specific targets were removed so the script needs to be modified to support the change.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna, jaxesn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna,jaxesn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


doc_test

An automated preview of the documentation is available at http://1.static_string.prtest.logchart.com/libs/static_string/doc/html/index.html


Blacklight - Upgrade to latest

BL is currently pinned to release v7.11.1. Instances of BL after v7.11.1 might work here, but v7.11.1 is the one that currently renders the advanced search page without any 500 errors.

Need to debug why latest BL v7.16.0 would error here? Stack trace is not helpful (looping error)
What previous BL versions can run the advanced search plugin without errors? (determine breaking release)

Closing via #88


[ci] Add debugging option in weekly-dep-report - (35)

Motivation
Add set -xv in weekly-dep-report.sh to enable debugging when it fails. The debug output is sent to stderr so the slack message is not modified by this.
Also forced git checkout as it may be the most probable step to face a failure if crag-guppy or any other command is generating new files.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
The changes are here to test.

/land


Specifying port for feature registry is broken

Features that come from registries with explicit port numbers are sometimes ignored, with only the last one remaining. For example, if  devcontainer.json contains
"features": {
    "localhost:5000/name/repo/feature1:1": {},
    "localhost:5000/name/repo/feature2:1": {}
}

only feature2 will be installed. This happens because at some places in the CLI code the features are indexed by "whatever is before the first : character" (running grep -rn "split(':')\[0\]" on the repo shows multiple locations where this happens)

Thanks for this report. I'll comment on your PR.


switch_to_blog() in TimberPost extension.

Expected behavior
On the homepage of my multi site I want to see a list of posts from other sites. I'd like to be able to  call switch_to_blog() once then get the posts and their respective links then restore_current_blog(). The only way I can get this working is if I call switch_to_blog() in multiple places. See below code for my attempting at switching only once.
Actual behavior
PHP runs into a fatal error:

Fatal error: Call to a member function set_blog_id() on a non-object in wp-includes/ms-blogs.php on line 713

Steps to reproduce behavior
Here's my current code:
class MySitePost extends TimberPost
{
    function __construct($pid = null) {
        switch_to_blog(42);
        parent::__construct($pid);
    }
    function __destruct() {
        restore_current_blog();
    }
}

$context['associate_news'] = Timber::get_posts('post_type=post&numberposts=6', 'MySitePost');

What version of WordPress, PHP and Timber are you using?
WordPress 4.5.3, PHP 5.3, Timber 1.1.8
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Installed and updated via WP CLI

@ColeWelsome just a stab, but try wrapping the code with is_multisite()?

Thanks for the reply jarednova,
Unfortunately, that didn't work. This is a multisite I'm developing on. I tried debugging restore_current_blog() in ms-blogs.php but I didn't get far.
This is the code I currently have and it works but I'm new to Timber so I keep thinking there's a better way:
`// Fixes issue where the timber post object trys to get the link from the current blog
class fix_link extends TimberPost
{
public function link($blog_id)
{
switch_to_blog($blog_id);
$link = parent::link();
restore_current_blog();
    return $link;
}

}
// TODO Not ideal
switch_to_blog(42);
$context['associate_news'] = Timber::get_posts('post_type=post&numberposts=6', 'fix_link');
restore_current_blog();
And then in the twig file:    {% if associate_news %}
Associate News

{% for post in associate_news %}
{{post.title}}
{% endfor %}

More Associate News
Submit Your News
{% endif %}
`

I'm closing out old issues. Please open a fresh issue if this is still a live issue that we should investigate — thank you!


Integrate sampling for uniform bounds

See branch development.
Adjust convention: [0.9, 1.1] (1 centered) --> [-0.1, 0.1]

This will be resolved with the switch to configspace, right @benjamc ?

Resolved with ConfigSpace sampling (e.g. use a normal distribution context feature)


Remove protoc-gen-gogoctrd

protoc-gen-gogoctrd is used to transform proto's "id" field to
"ID" (not "Id") in Go. Sadly Google's official proto toolchain
doesn't allow such customization.
Signed-off-by: Kazuyoshi Kato<EMAIL_ADDRESS>

Closing. Moving from protoc-gen-gogoctrd to protoc-gen-gogottrpc may not make sense much, even as an intermediate step.


Half-broken link

The second link on the top-level wiki page, "Github-flavored Markdown info page", is half broken. It redirects to a more abstract and top level page, "Writing on GitHub". It is not at all clear how deep down the interesting information is buried.
(It should also be "GitHub", not "Github", throughout.)

VIP Dubai Escort Girls escortsdubai.co
Call Girls in Dubai Dubai Call Girls
Dubai Escorts Services mydubaiescorts.com
Dubai Escorts Agency dubaiescorts.agency
Pakistani Escorts in Dubai pakistaniescortsindubai.com
Indian Escorts in Dubai indianescortsindubai.website
Dubai Escorts Girls dubaiescorts.services
Islamabad Escorts islamabadescorts.co
Escorts in Islamabad escortsinislamabad.club
Murree Islamabad Escorts murreeislamabadescorts.com
Call Girls in Islamabad Pakistan Call Girls in Islamabad
Call Girls in Islamabad PK Islamabad Escorts
Islamabad Escorts in Pakistan Islamabad Escorts Pakistan
Call Girls in Dubai Call Girls in Dubai


Add wrapper/Rustic interface for multiple monitors in GDI

Getting a handle and device context for the first monitor is relatively easy:
let h_wnd_screen = GetDesktopWindow();
let h_dc_screen = GetDC(h_wnd_screen);
// do stuff
ReleaseDC(h_wnd_screen, h_dc_screen);

Getting a handle and device context for the second monitor is worse than death:

struct monitor_enum_proc_data {
...
}
fn monitor_enum_proc(...) -> BOOL {
...
}
let data = monitor_enum_proc_data {
...
};
EnumDisplayMonitors(h_dc, lprc_clip, monitor_enum_proc, &data as LPARAM);
// call GetMonitorInfo() somewhere
// no end in sight

A simple helper function in gdi.rs, like Dc::get_monitor_window(usize) -> Dc, would go a long way.

At the very least, this should work for one monitor:
// Primary monitor
let screen_num = 0;

let h_dc_screen = Dc::get_screen(screen_num);
let width, height = h_dc_screen.get_size();
let h_dc = MemoryDc::new(h_dc_screen).unwrap();
let h_bmp = h_dc.create_compatible_bitmap(width, height);
h_dc.select_object(h_bmp);
h_dc.bit_blt((0, 0), (width, height), h_dc_screen, (0, 0), SRCCOPY);

let bitmap: Vec<u8> = h_bmp.get_di_bits();


Test view sizes of Create and Active PR views

Refs: https://github.com/microsoft/vscode-pull-request-github/issues/3227

[x] anyOS @sbatten
[ ] anyOS @karrtikr

Complexity: 3
Create Issue

You will need the builds of VS Code and GitHub Pull Requests and Issues from 26 July or later.

Start VS Code with a fresh --user-data-dir. (from your terminal, code-insiders --user-data-dir path_to_the_folder_you_want_to_use).
Open a folder with a GitHub repository.
Checkout a topic branch and make a commit.
Run the "Create Pull Request" command.
A view container with 2 views will show: Create Pull Request and Compare Changes. Verify that the Create Pull Request view is two times the size of the Compare Changes view.
Finish creating the pull request, or checkout an existing pull request.
Open the "GitHub Pull Request" view container from the activity bar. There will be 2 views: a tree view on top and a webview on the bottom. Verify that the view that contains the tree takes up 2/3 of the view container and that the webview takes up 1/3 of the view container.

Run the "Create Pull Request" command.

I don't see such a command:


multipart/form-data

Larry Masinter in IETF would appreciate our feedback

Discussed in NYC; ongoing, no driver yet, but we'll get there.

Discussed  in SF; overtaken by events, as is in RFC Editor queue.
http://www.ietf.org/proceedings/88/slides/slides-88-appsawg-8.pdf
http://datatracker.ietf.org/doc/draft-ietf-appsawg-multipart-form-data/


How to determine "best" model

After training, we are left with ~80 models saved at each 1k iteration. What is your rule for selecting the "best" model to then keep and do further evaluations with? I am especially wondering because I have noticed that when I train a model with FGSM adversary only, if I simply select the model with the greatest robustness to FGSM adversary, the clean data accuracy may not be that great. Essentially, how do you determine tradeoff between robustness to the adversary you trained against vs clean data accuracy?
I will also specifically reference Table 5 in your paper (i.e. robustness to whitebox adversary). What was your criteria for choosing the models reported in this table?

We don't perform any model selection and just keep the last model for all evaluations.
Just a word of caution about training with FGSM adversaries only. Models tend to overfit to adversarial examples against such weak adversaries and get lower standard accuracy than adversarial accuracy. This is not great. These models are not really robust or useful in any way.

Sweet, thank you. I am familiar with this issue about overfitting the adversary, I was just using it as an example to better explain my question about model selection.
So all models in Table 5 of paper are simply the last model from training?

Yes, exactly.

Thank for fast reply.


[Log manager] Access Log Manager through Pylon

Please add user test cases.
Such as http passed, https passed. PAI with/without pylon passed

@wangdian @Binyang2014
For Http/Https with pylon:
You can just access 16bed: http link and https link.

For Http w/o pylon:
Method 1:
Compare the containerLog secion between link1 and link2. Link1 is not through pylon. And you can access the containerLog URI to check if it can work w/o pylon.
Mathod2:
You can also use paictl to stop pylon in 16bed and check.

For Https w/o pylon:
Will not work since rest-server doesn't support Https.


Add refint support to user rename.

When refint is enabled on an LDAP server, it will rename all references
to an entity if its DN is modified. If this happens, the member
renames will not be needed, and will also return an error.
This PR does the following:

Detects the attribute error, and don't return an error.
Log that the server has been misconfigured.
Add config value that skips renaming if set.

I can confirm- changing onPremisesSamAccountName without 500 error


Cannot open a workspace when there is a empty folder entry

Testing #33278

Have the following folders in a workspace configuration file

"folders": [
		{
			"path": "gotypes"
		},
		{},
		{
			"path": "outyet"
		},
		{
			"path": "stringutil"
		}
	],

Open workspace on the above file

No workspace is opened. Instead, file is opened

Also fixed via https://github.com/Microsoft/vscode/commit/b2cd2e0b16f91638ce3ac6e14c777e362e616711