ng update fails behind proxy but npm works

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[X] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
ng update behind my corporate proxy gives a 407 Authorized only error, but npm works correctly.  I have configured npm with both proxy and https-proxy values
🔬 Minimal Reproduction
ng update on my computer
🔥 Exception or Error

An unhandled exception occurred: 407 AuthorizedOnly - GET http://registry.npmjs.org/@angular%2fcli
See "C:\Users\#####\AppData\Local\Temp\ng-PrTzqR\angular-errors.log" for further details.

🌍 Your Environment

Angular CLI: 11.2.6
Node: 14.16.0
OS: win32 x64

Angular: 11.2.7
... animations, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1102.6
@angular-devkit/build-angular   0.1102.6
@angular-devkit/core            11.2.6
@angular-devkit/schematics      11.2.6
@angular/cli                    11.2.6
@schematics/angular             11.2.6
@schematics/update              0.1102.6
rxjs                            6.6.6
typescript                      4.1.5

Anything else relevant?
Output of log file mentioned in error:

[error] Error: 407 AuthorizedOnly - GET http://registry.npmjs.org/@angular%2fcli
    at C:\Users\#####\source\repos\ClientApp\node_modules\npm-registry-fetch\check-response.js:123:15
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async Object.fetchPackageManifest (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\utilities\package-metadata.js:166:22)
    at async UpdateCommand.checkCLILatestVersion (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\commands\update-impl.js:609:35)
    at async UpdateCommand.run (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\commands\update-impl.js:195:37)
    at async UpdateCommand.validateAndRun (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\models\command.js:139:28)
    at async Object.runCommand (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\models\command-runner.js:204:24)
    at async default_1 (C:\Users\#####\source\repos\ClientApp\node_modules\@angular\cli\lib\cli\index.js:80:31)

Output of npm config list:

; cli configs
metrics-registry = "http://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.14.11 node/v14.16.0 win32 x64"

; userconfig C:\Users\#####\.npmrc
@fortawesome:registry = ""
cache = "c:\\Users\\#####\\npm-cache"
https-proxy = "http://#####@#####:8080/"
prefix = "c:\\Users\\#####\\npm"
proxy = "http://#####@#####:8080/"
registry = "http://registry.npmjs.org/"
strict-ssl = false

; globalconfig c:\Users\#####\npm\etc\npmrc
cache = "c:\\Users\\#####\\npm-cache"
https-proxy = "http://#####@#####:8080/"
prefix = "c:\\Users\\#####\\npm"
proxy = "http://#####@#####:8080/"
registry = "http://registry.npmjs.org/"

; builtin config undefined

; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\#####\source\repos\ClientApp
; HOME = C:\Users\#####
; "npm config ls -l" to show all defaults.

Can you try to run ng update with the --verbose argument please and provide the output?

Can you try to run ng update with the --verbose argument please and provide the output?

ng update --verbose
Locating potential npmrc files:
Trying 'C:\Program Files\nodejs\etc\npmrc'...not found.
Trying 'C:\Users\#####\.npmrc'...found.
Trying 'C:\Users\.npmrc'...not found.
Trying 'C:\Users\#####\.npmrc'...found.
Trying 'C:\Users\#####\source\.npmrc'...not found.
Trying 'C:\Users\#####\source\repos\.npmrc'...not found.
Trying 'C:\Users\#####\source\repos\ClientApp\.npmrc'...not found.
An unhandled exception occurred: 407 AuthorizedOnly - GET http://registry.npmjs.org/@angular%2fcli
See "C:\Users\#####\AppData\Local\Temp\ng-tSkvW8\angular-errors.log" for further details.

@alan-agius4 is there anything else I can provide on this?

@plecos, that should be enough. Will let you know if we need further information.

Can you try to add always-auth: true in your .npmrc?

@plecos is this still a problem in v12?

Following up, I was able to rename my .npmrc and do the upgrade with the connection to normal npm registry. I opened a ticket with the team in charge of artifactory at my company because previously I was able to do upgrades with no issue.

Following up, I was able to rename my .npmrc and do the upgrade with the connection to normal npm registry. I opened a ticket with the team in charge of artifactory at my company because previously I was able to do upgrades with no issue.

I do face a similar issue
we use artifactory as well, all npm installation is good where as ng update is failing

@amarth1982, which version of Angular CLI are you using?

@amarth1982, which version of Angular CLI are you using?

using ng8 now, trying to upgrade it to ng12 as recommended by ng angular update guide.
Thanks

Unfortunately, version 8 doesn’t download the latest version of the Angular CLI to perform the update. Therefore, you cannot avail it any fixes that have been done since version 8 in the update process.


Use onedrive api to get user accountName(email address)

Hi, I am using the Onedrvie API to get user account info. Is it possible to get user account email address according the API?
In the old liveClient API, I can get the eamil address by get user info "me".

The OneDrive API does not support getting user information. However, if you're accessing OneDrive via Graph it does have the capability you're after. Have a read of this documentation.


Add /clear

This PR closes #140.
Adds a /clear command with multiple arguments to narrow down which messages should be deleted. Only one is required though - either count to specify the number of messages to delete, or upto to specify a message to delete "up to" (not including that message!). All others are optional.
Some arguments, like humansonly (delete only messages sent by humans) and botsonly (delete only messages sent by bots) are obviously not compatible with each other, and the bot will return an error message if they are used together. This also applies to using count and upto together, as you should specify either a number of messages to delete OR a message to delete up to (the count doesn't matter here, all messages up to that one are deleted) - they don't work together. Same for imagesonly and linksonly.

Can I do funny LINQ things with this after its done

Can I do funny LINQ things with this after its done

What did you have in mind? 😨


ResourceExhaustedError

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Custom adaptation of tensorflow doc example
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.11.3 El Capitan
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v1.1.0-rc0-61-g1ec6ed5 1.1.0 / python 3.5.2
Bazel version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: No CUDA-compliant GPU on Mac Book Pro
Exact command to reproduce:  see full code below

Describe the problem
The gist below fails reproducibly with the following error both from a jupyter notebook or the command line :
ResourceExhaustedError (see above for traceback): ./models/m9-6/model.ckpt-826.data-00000-of-00001
	 [[Node: save/RestoreV2_6 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2_6/tensor_names, save/RestoreV2_6/shape_and_slices)]]

I added some explict del and explicit garbage collection but that doesn't seem to change anything. I'm not sure if this is an OOM per se or if it is a different kind of resource exhaustion. In any case I wasn't expecting fitting a fresh model m repeatedly in a loop to be an issue so I'm reporting this in case it happens to be a TF issue.
Source code / logs
https://gist.github.com/lelayf/f81b078a197b30490d6d52ba3f02f0a4

This is really more of a StackOverflow question so please follow up with further questions there. I think the issue is that you are adding operations to the graph within your loop, so it's getting bigger and bigger and eventually running out of resources. You should probably create a new session for each experiment in order to properly garbage-collect the state in between experiments.


Please update Education page to be more inclusive

Need to update the main Education page (https://idigbees.org/idigbees-education/) to include education goals and projects other than just SmartBee and FLAAR things...

I updated the general education page - there are now links to the main projects we are collaborating on and we don't blast people with youtube first thing. Also hid the pesticide section which is beyond the scope of the project and was not bee focussed.


Refactoring KeyVisual

Refactored KeyVisual so it's easier to maintain going forward. It's not using Styles which allows for more customization and drives visual alignment.
Replaced the ListView on the KBM page with an ItemsControl so the disabled state is now visually the same as regular SettingsCards

Disabled state for KBM

There's just one thing about the compact visual, that I personally feel. The large style makes it very clear that keys are separate things. The compact style looks like it represents one thing. I think even a subtle separator line would be nice to have.

The Edit icon is missing

@niels9001, i look at this and what made me really like the old style is it was clear the key combo due to the visual break.
Maybe another view point could be what i sent over in teams.


microsoft-purview is not a valid taxonomy tag.

Please remove the 'microsoft-purview' value from the products. It is not in the taxonomy and is blocking all samples from being published. I have remove it from your live publish but the next time you update this sample, it will add it back and cause all builds to fail. Email me - smmark if you have questions. Thank you!

Taxonomy tag has been added.


[web]: Pass in flavor in webframeworks deploy

Describe your issue and include the command you're running (see below), flutter_web version 3.22.2, browser version chrome 127.0.6533.99
Commands:
firebase experiments:enable webframeworks
firebase init hosting
firebase deploy --only hosting
OR firebase serve --only hosting
then point hosting to my existing flutter web app
Inside the app, I am using appFlavor for dev and prod environments / firebase projects.
I am able to get this working correctly using flutter run web --flavor dev and flutter build web --dart-define FLUTTER_APP_FLAVOR=prod
However, when using web frameworks and calling firebase deploy ... or firebase serve ..., it calls flutter build web with no arguments and effectively overwrites.
Can flavor or (at least additional args) be passed into firebase deploy and firebase serve?
Another related question - does firebase serve build a debug version rather than release?

This is an issue with the Firebase CLI tool. You will need to file an issue on their repo so that this can be properly addressed.
Closing from here.
Thank you

Yes, sorry put this in the wrong project


cloud9 IDE requires third party cookies in browser

update - this is for the twitch.tv "building a serverless app" 30-minute presentation at https://www.twitch.tv/videos/249589422
Didn't work in Safari (current) on Macbook Air as a result.
Why would you need cookies to run a IDE ?
What are you guys tracking and why ?

i have to use this IDE for  java class, and im wondering why they need them too.  I dont think they need them, they just require them cuz they can.


[BUG] Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.

Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to different model, for example gemini-1.5-flash.

Even I faced this issue today. Which model should be used now instead?

I'm looking for a solution too..someone knows ?


The bencher should have a tool-friendly output format

 Issue by mzabaluev
Sunday Feb 22, 2015 at 19:17 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/22683
This issue was labelled with:  in the Rust repository

The logfiles produced by bench runs have a format that is not very friendly to simple tools like join: the type of test/result and the test path do not have stable positions if the lines are broken up into space-separated fields.
It would be nice if the test driver could produce tool-friendly output where each test produces a line of regular space-separated fields with optional freeform information:
type path result freeform
Here, type can be test, bench, or ignored. path is the crate path of the test function. result is a single token depending on the type (time/iter for benchmarks, ok|failed|etc. for tests, not present for ignored tests).

 Comment by steveklabnik
Sunday Feb 22, 2015 at 19:40 GMT

We recently removed the JSON output of the benching tool, actually. And it's not to say that it's not a thing that's useful, but in an effort to stabilize, we're only committing to the minimum.
We're tracking feature requests for things like this over in the RFCs repo now, so I'm going to move it over there. Thanks!

IMO, the output is tool-friendly enough. And, in particular, the output is more tool-friendly than JSON for many tools/languages, including Rust.

How is the current format more tool-friendly for Rust, given that rustc-serialize and serde both exist?

How is the current format more tool-friendly for Rust, given that rustc-serialize and serde both exist?

It is much easier to use a regex to parse the current output, than it is to even figure out how to get rustc-serialize or serde to parse JSON, particularly if you need to support stable Rust. Check out the README.md for serde: https://github.com/serde-rs/serde to see how complicated it is.

There's no requirement to take any of those routes, e.g.
let v = serde_json::from_str::<serde_json::Value>(&s).unwrap();

let number = v.find("foo").unwrap().as_i64().unwrap();
let string = v.find("bar").unwrap().as_string().unwrap();

(I imagine some judicious Index impls could help too, if serde wanted to take that route.)
Also, it would take just one library to define the right structs with the appropriate macro invocation/build script/deserializer to be able to reuse it, e.g.
extern crate bench_tools;
/* includes
struct BenchJson {
    benches: Vec<Bench>
}
struct Bench {
    name: String,
    ns_per_iter: u64
}
*/

let data = serde_json::from_str::<bench_tools::BenchJson>(&s).unwrap();

for bench in &data.benches {
     println!("{} took {}", bench.name, bench.ns_per_iter);
}

(Of course, the current line-based plain text format is nice for processing shell scripts, but it's not great for more structured/"permanent" processing.)

Oh, haha, I sometimes forget people endure the stable channel. :sweat_smile:
(However I do take issue with the claim that parsing that regexes are "easy", and that today's output is particularly regex-friendly. In particular, large numbers get commas.)


Contact Name Function

Hello @Rhymen .
I'm getting the contact name using the code:

getName, _: = wac.Store.Contacts [jid]

Could you implement a function, similar to getting the contact pic?

getPic, _: = GetProfilePicThumb (jid)

Eg:

getPic, _: = GetProfileName (jid)

I know this is limited because it depends on whether the user has a conversation or the number saved in the contact list. But I think it would help, even if it returned empty in some cases
greetings, thank you
your project has opened many opportunities for me 😃

can you tell me handler to print contacts?

getName, _ :=<EMAIL_ADDRESS>fmt.Println(getName)

I think this is what you looking for
`func Getthumb(wac *whatsapp.Conn, RemoteJID string) string {
// RemoteJID is the sender ID the one who send the text or the media message or basically the WhatsappID just pass it here
profilePicThumb, _ := wac.GetProfilePicThumb(RemoteJID)
profilePic := <- profilePicThumb
thumbnail := ThumbUrl{}
err := json.Unmarshal([]byte(profilePic), &thumbnail)
if err != nil {
fmt.Println("errr while getting thumbnail", err)
return ""
}
fmt.Println("getting thumbnail ", thumbnail.Status)
//    return ""
// meaning thumbnail is not available because the person has no profile pic so what i did is return empty string
// Basically the EURL is what holds the profile picture of the person
return get_image( thumbnail.EURL)
}
type ThumbUrl struct {
EURL string 'json:"eurl"'
Tag string 'json:"tag"'
Status int64 'json:"status"'
}`


Can this library be used in ES without webpack?

I don't see any export keyword in the figlet.js. I wonder if you can make a change so we can use it in native ES code? Thanks.

There is in node-figlet (https://github.com/patorjk/figlet.js/blob/master/lib/node-figlet.js). That's what package.json points to (for the "main" prop). Also, at the bottom of the figlet file, there is an export statement.
What kind of changes are you thinking of? What would be the use case? I'm all for updating the package if it makes it easier for something, as long as it maintains its backward compatibility.

@patorjk close, but it's an exports statement, as opposed to export.
The story is like this, when nodejs was born, the browsers did not have a module system yet. And suddenly npm created a big ecosystem that potentially could benefit the web dev 10 years ago. However, at the time, in order for browsers to use a 3rd party library, the library has to inject itself into the window scope. Because of this need, webpack and rollup were born. This duo was great 10 years ago, but is bad today. Because back then they enabled npm packages for web devs. But today they allowed fake ES syntax for many npm packages and effectively they hindered the modern browsers from natively loading 3rd party modules, like your package. The root cause is ES doesn't support module.exports syntax, and even worse, webpack allowed to use ES import syntax to load npm packages. This is effectively making webpack a dependency of most of today's web apps, which shouldn't be necessary at all.
The good part of webpack is help to bundle a web app, but the evil part webpack is to hinder the incentive of migrating the old node package system to ES module system, like yours. So that's why you could see lodash and lodash-es co-exist. Good thing is node has started to support ES syntax so that's the start of the death of the require syntax.
So I think it may make sense to create a new file called figlet-es.js which will be usable in modern browsers natively.

Is there a workaround for this? I can't seem to import figlet in my es project

Yes. The work around is stop using Node and start using Deno. You can reverse engineer this entire library with ChatGPT in 4 hours and somehow, people are still using God Forsaken Webpack.


Add ERC721ASplitMint extension

Automatically split mints into batches to save gas on subsequent transfers

The idea follows this comment
https://github.com/chiru-labs/ERC721A/issues/83#issuecomment-1125686598
Batched mints are the way to configure default behavior for ERC721A so that it's future-proof against people who gonna launch collections of size of billions of tokens.
I would even say splitMint should be the default one, and safeMint should be renamed to unboundedSafeMint, but that's up for discussion.
Another two decisions where I would like feedback is:

If you import ERC721ASplitMint extension, should splitMint override safeMint automatically? I would say yes, but in this implementation I left it optional just in case
Should we provide default value for _mintBatchSize or user should be required to type it in?

Right now, it seems like OpenSea's Rinkeby version cannot handle 10k NFTs being minted in a single transaction.
Let me know if this extension can help alleviate the NFTs getting stucked.
Imo, most if not all collections currently impose a reasonable limit of the quantity of NFTs that can be publicly minted in a single tx.


Render videos in doc

In this PR I add a function to get the video in the rendering module and I use it to display videos in the documentation using an example of gridworld and acrobot. I think this is a good thing to have for a RL library.
PRO: Visually nice
CON: It takes a long time to compile which is not nice for readthedocs and maybe if we continue to add such examples we will not be able to construct the doc anymore (readthedoc is free and we have a time limit on runs).
Maybe the solution would be to plot only very simple environments or to construct the documentation offline and uploading the mp4 videos using github lfs for instance ? Or maybe there are some things I can optimize to reduce training time as well as conversion time (the time for ffmpeg to render the gif is rather long).
If someone has a better idea, please share it.

Update : acrobot is too long to run in readthedocs. I guess we will have to generate the video offline, I will look into it.

Update : now it works. I tried to use lfs because it would be cleaner but readthedocs does not support lfs.

I simplified the process I included some doc on how to do this:

Have an example python file formatted using the template given in the doc
use make video to generate video and thumbnail
push all of this on github

and you are good to go.
Because I use this makefile I think this should work on any OS.


[YUNIKORN-2786] Improve convert2Namespace funtion's test coverage

What is this PR for?
Improve convert2Namespace funtion's test coverage
What type of PR is it?

[x] -Test

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2786

Thanks for the patch, overall lgtm, just some nits.

Thanks for your review!
I have fixed it


Docker Run / Login command missing image name

Hi , thanks so much for putting this together. I followed the instructions to build and run the container image. However, I feel that the command to start the container and run the login command should read
docker run -v /home/<USERNAME>/.local/share/mudslide:/usr/src/app/cache mudslide login

The image name, i.e. mudslide, appears to be missing in the Readme.
Cheers

Hi @BobbieERay 👋
You are right, I've updated the Readme, thanks!
KR, Rob


Updates required in the Azure NetApp Files section

There are a few updates required in the Azure NetApp Files section:
NetApp Files ->
Azure NetApp Files (this is the official name of the service)
Rich NetApp ONTAP management capability such as SnapMirror in cloud. ->
Rich ONTAP management capability such as snapshots, backup, cross-region replication and cross-zone replication.
Up to 460,000 IOPS, up to 36 Gib/s throughput. ->
Up to 460,000 IOPS, up to 4.500 MiB/s throughput per regular volume, up to 10,240 MiB/s throughput per large volume.
Up to 100 TiB for a single volume. ->
Up to 100 TiB for a single regular volume, up to 500 TiB for a large volume.
Under available protocols, add:
Dual protocol (SMB and NFSv3, SMB and NFSv4.1)
In the entire document (following the RFCs for NFS):
NFS 3.0 -> NFSv3
NFS 4.1 -> NFSv4.1

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

ID: 6eb5973c-6e10-15d6-b5e9-57a0d39f52b4
Version Independent ID: fa34be5d-5dc4-639a-0d5b-6dae2d27367b
Content: Compare NFS access to Azure Files, Blob Storage, and Azure NetApp Files
Content Source: articles/storage/common/nfs-comparison.md
Service: storage
GitHub Login: @roygara
Microsoft Alias: rogarana

@gvanteylingen
Thanks for your feedback! We will investigate and update as appropriate.

@roygara
Could you look into these and add your inputs..

@khdownie
Can you add your comments on the above query.

@gvanteylingen
Thanks for your feedback! We will investigate and update as appropriate.

@gvanteylingen these updates are now live: https://learn.microsoft.com/en-us/azure/storage/common/nfs-comparison

#please-close


Better chapter title handling

I'm a bit concerned about the possibility that items labeled as h1 h2 h3 could be non section title. However, it's not a big issue, and if there is indeed a problem, we can fix it later.

Originally posted by @p0n1 in https://github.com/p0n1/epub_to_audiobook/pull/30#discussion_r1448832503
I ran into a book with single numbers in h1 tag. So, the chapter titles would be just something like 01, 02... I prefer to keep more context/strings in title so I can know more about each chapter audio file.

in my case chapters are in 2 lines, would be possible to parse both lines
not just "DVA" ?

also in my case Audio-bookshelf detect correct order of chapters but, conversion container i scrambling the order.
For example upper mentioned book is scrambled in order
0 chaper 1
2 prolong chapter 0
2 chapter 5
Could this be due to script not parsing full chapter names ?

also in my case Audio-bookshelf detect correct order of chapters but, conversion container i scrambling the order. For example upper mentioned book is scrambled in order
0 chaper 1 2 prolong chapter 0 2 chapter 5
Could this be due to script not parsing full chapter names ?

posibbly bound exactly same error
https://github.com/aerkalov/ebooklib/issues/149
self.book.get_items_of_type(ebooklib.ITEM_DOCUMENT)] do not return chapters in correct order thy need to be sorted somehow

@p0n1  Sorry for the ping but would be possible to add some preview of chaperd in order thy will be generated ? i dont know if it affect only my language but every time i generate book in my language chapters are in incorrect order

@p0n1  Sorry for the ping but would be possible to add some preview of chaperd in order thy will be generated ? i dont know if it affect only my language but every time i generate book in my language chapters are in incorrect order.
it is probably also connected to this: https://github.com/p0n1/epub_to_audiobook/issues/57

Any news on better handling of chapter order most of book I converted, need to be sorted manually after generation and come of them have more than 30 files, sorting order of books by spine part of EPUB would be good addition, not just for me but for everyone:)


image pull and  enter CTRL+C

What happened:

sealer pull registry.cn-qingdao.aliyuncs.com/seadent/cloudrootfs:v1.16.9-alpha.7
sealer images found 1 images
rm -rf /var/lib/seadent/
sealer pull  registry.cn-qingdao.aliyuncs.com/seadent/cloudrootfs:v1.16.9-alpha.7
wait downlad  ex 12.09MiB and enter CTRL+C  abort it
again  sealer pull registry.cn-qingdao.aliyuncs.com/seadent/dashboard:latest
logger is sucess
but image layers is miss some files

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

We take dir exitension as layer exitension, which result this problem. I will handle this issue


Language Working Group

This PR proposes the formation of a "Language Working Group" to develop and maintain day-to-day project management for the OpenTracing codebases.
Language Working Group
The Language Working Group manages the OpenTracing APIs and ecosystem. In order to handle the growing volume of contributions, this working groups is tasked with developing the protocols for proposing and submitting changes to the OpenTracing language APIs and instrumentation ecosystem. In addition, members of this Working Group triage the API and contrib backlogs, to ensure PRs and Issues are resolved in a timely manner.
Any number of working group members are allowed; preferably two or more experts per language. Maintainers with overlapping responsibilities divide the work amongst themselves. PR and Issue standards are developed in a cross-language fashion.
Responsibilities

Schedule and attend Language Working Group sessions.
Manage backlogs for OT and OT-contrib repositories.
Develop protocols for proposing and resolving Issues and Pull Requests.
Write activity summaries and versioning announcements.
Triage API and contrib backlogs.
Actively participate in PR reviews.
Work with contrib maintainers to ensure instrumentations are not abandoned, have tags applied uniformly, and are well tested.
Ensure that APIs do not drift away from each other, or the core specification.

Initial agenda for Working Group sessions

Develop Issue/PR templates
Brainstorm backlog triage procedure
Initial repo assignments

Notes

This group is not tasked with creating Pull Requests or Issues, though individual members are welcome to do this, just like any other community member. Instead, this group sets up and maintains enough project structure to ensure that changes are managed smoothly.
The intention is to start with a single group for managing all APIs and contrib projects. If this proves unwieldy, we will subdivide into smaller working groups.

Initial Membership
If you are interested in joining this Working Group, please let @tedsuo know or reply below.

🎊
I'd be very happy to help out with the Go library. I think it's of utmost importance for the OpenTracing libraries to respect language idioms and standards in order for them to become adopted by the community.
In the same manner, I think contribution guidelines predominant to the Go community will help ease the workflow of potential contributors that may already be used to them from contributing to the language itself or other renowned projects using these.
Please consider counting me in.

Add me to Java also.

I'm interested in Ruby.

I'm interested in Java.

I'm interested in C# and Java

I'm between jobs so I'm not sure yet how much time I'll have in my next job but I'd be happy to help with the C# / .NET efforts.

I'm interested in golang

I am interested in Java and C#. Maybe I can't provide too many actual coding works, since your guys know, I am in the middle of too many open source trace-related project. But SkyWalking intends to provide C# agent, maybe can provide feedbacks about Java and C# APIs.
Glad to share.

I am interested in joining Ruby's team. However, I don't know how much time I could put here. Let's see :)

Given that C# is a 99% port of Java, I don't think that there should generally be separate meetings for these languages.
Sure, there will be C#/.NET specific stuff but most of this will be in opentracing-contrib regarding instrumenting popular frameworks/libraries etc. and meetings for that (should they be necessary) could always be scheduled separately.

Thanks all! Based on feedback, II've renamed this the "Cross-Language Working Group" to clarify that the focus is about creating and implementing project-wide standards.
Obviously, there are language-specific aspects of backlog maintenance that will require some amount of specialization, and language-specific subgroups which can manage those issues. But the main focus is ensuring that cross-language concerns are applied uniformly, and no particular language API is being ignored or diverging accidentally from the rest.

+1

Is the list of maintainer going to be published somewhere? Is there going to be GH team?

I prefer to provide a separated maintainer lists rather than in this org file. Otherwise, this will become a big file.

@wu-sheng @pavolloffay I agree the list should be separate. The first working group agenda item should be to write down who is in the working group. :)
Joking aside, I believe that maintaining lists of who to contact and assign issues to will be an important part of what this group does. GH groups will be useful for applying these permissions.

I've merged this PR, and the working group is now created! I've invited everyone who responded in this issue to the working group gitter channel, and created a document for brainstorming an agenda. We will discuss meeting formats on gitter and schedule an initial working group session.
Gitter Channel:
https://gitter.im/opentracing/cross-language
Agenda Proposals:
https://docs.google.com/document/d/1smZEGqt7rQVdg1f5m2AWpWhQDbvrcRKvrfmBomEpofg/
Cheers,
@tedsuo


SearXNG service: "Special Queries" preferences page is blank

Describe the bug
The user's Special Queries preferences page is blank.
Steps To Reproduce

Enable the searx service:

let
  port = 8999;
in
{
services.searx = {
  enable = true;
  settings = {
    server.port = port;
    server.secretkey = "notsosecretkey";
  }
};
}

Expected behavior
The Special Queries page should be filled in.

Screenshots
The empty Special Queries preferences page.

Additional context
While investigating this problem I noticed that the lib/python3.11/site-packages/searx/answerers directory is blank (save for __init__.py and __pycache__) while this directory should have something in the same upstream commit. I'm not sure if this is related.
Notify maintainers
@SuperSandro2000 @999eagle @rnhmjoj
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.26, NixOS, 24.11 (Vicuña), 24.11pre636273.051f920625ab`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - channels(REDACTED): `"home-manager"`
 - channels(sean): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

While investigating this problem I noticed that the lib/python3.11/site-packages/searx/answerers directory is blank (save for __init__.py and __pycache__) while this directory should have something in the same upstream commit. I'm not sure if this is related.

Good catch! I think they are missing the init.py. Let me test that out.


docs: add coverage badge on README

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

v1.0.0
GitHub release

Your semantic-release bot :package::rocket:


task: update datasets

Research on more datasets and models that can be used for the project to make it as accessible and functional as possible

done


How to collapse list automatically?

Hi
I have a problem with md-list-expand, i have a code

        <md-list md-theme="none">
          <md-list-item>

{{menu.titulo}}

            <md-list-expand>
              <md-list>
                <md-list-item class="md-button" v-for="item in menu.items" :key="item.id" @click.native="goTo($event, `/${menu.path}/${item.path}`)">{{item.name}}</md-list-item>
              </md-list>
            </md-list-expand>
          </md-list-item>
        </md-list>

It is part of the code of a menu, then when the app init, the menu is not shown, but when click in menu button the menu is shown. The error is that when you open the menu all md-list-expand are expanded and I need that all md-list-expand be  collapsed.
I wrote a code that worked when you clicked in button menu, but I need that always all md-list-expand be collapsed. So I need your help to solve this problem.
How to collapsed all md-list-expand when close menu?
Code, when you clicked in botton menu
let elements = document.querySelectorAll('.md-list-item.md-list-item-expand > button.md-button.md-button-ghost.md-theme-none')
elements.forEach((el) => {
  this.$helpers.eventFire(el, 'click')
})
setTimeout(() => {
   elements.forEach((el) => {
      this.$helpers.eventFire(el, 'click')
   })
}, 50)

The function eventFire trigger a event in the element given

Hi @fortil - Sorry I am a little unclear what it is you want to happen.
Do you mean you only ever want one menu to expand at a time, so when you click on a menu title, the other menus close?
If so you can achieve this my making each menu a list item. Currently you have it creating a new menu each time, so they act independently of each other.
http://codepen.io/stramec/pen/bqevEW
Again sorry if I've misunderstood, perhaps you could put up an example or fork the codepen?

Hi @stramec I'm sorry for the long time.
I have two question, really.
1-) I need a function that close all menus, because I have a current menu whitout sidenav so the menu is not display, then when it is display, all menus (li) are expand.
2-) My custom menu cover all screen like as then I need each menus in horizontal position but I can't get it, so I separate each one but I lose the automatic expandable and collapsible.

I try
for (let i in this.$refs) {
    this.$refs[i][0].toggleExpandList()
}

but not work.

Work it!!
      for (let i in this.$refs) {
        this.$refs[i][0].$children[0].toggleExpandList()
        this.$refs[i][0].$children[0].toggleExpandList()
      }

But, I believe that should it have .close() and .open(). It is a suggest.
Thanks!!

Closing this issue as our focus is on the new 1.0.0 version.


Change name of leaves introduced for checking to 'flat_leaves'

@soneryaldiz Renamed the 'leaves' dictionary entry for each module to 'flat_leaves' as this is very different that the top level 'leaves' entry to verilog_json_d. I also make a copy of 'verilog_json_d' and use the copy in the checker routine so that these entries (which can be large) are not propagated to the down stream flows (like PnR.)
We might what to add a simple dictionary on the side to keep this information so we don't have to do the copy, but this seems to work now.

I had done this is a previous PR that never got merged, but I think this part is important.

@soneryaldiz I removed the copying by changing the code so it didn't add anything to the original verilog_json_d data structure. The computed values are now only produced as results. Maybe this isn't right, but it is closer to what I want.

This is probably doing the right thing. It computes a leaf cell for each instance in the design. It gives it a funny name: instance_name/instance_name/.../instance_name/concrete_template_name'. Do we need the final concrete_template_name` for anything.


Add historic sites to the map

As requested by Gerry, who will also provide direction as to where the sites are placed (under attractions or in a new layer - historic sites).

Closing this issue, as I have not received a list of historic sites and don't think time will allow for an update before the conference.


Set authorization header

is it possible to set the authorization header? I use a bearer token and the server needs the following header: "Authorization" "Bearer [token]"
Thank you!

In apihandler.js file, I add this:
$http.defaults.headers.common['Authorization'] = 'Bearer ' + token;

I can think of two ways to handle this.
You can either write a $http interceptor or add default headers as @morteza-gho pointed out, but rather in your code.
Or you can proxy the requests through some endpoint on the same domain so you could use cookies.


Accessories Disapeared from UI/X

Describe The Bug:
Accessories disappeared from accessories pane in UI/X. Errors showing in logs.
To Reproduce:
Occurring consistently without any action taken.
Expected behavior:
Accessories to be available and function normally.
Logs:
[12/01/2023, 15:58:01] [homebridge-pentair-intellicenter] Sending fire and forget command to IntelliCenter: {"command":"GetQuery","queryName":"GetHardwareDefinition","arguments":"CIRCUITS","messageID":"be3a8c6e-97e6-42b0-842b-39525018274c"}
[12/01/2023, 15:58:01] [homebridge-pentair-intellicenter] IntelliCenter socket has been closed. Waiting 30 seconds and attempting to reconnect...
[12/01/2023, 15:58:01] [homebridge-pentair-intellicenter] Caught error in sendCommandNoWait for command {
"command": "GetQuery",
"queryName": "GetHardwareDefinition",
"arguments": "CIRCUITS",
"messageID": "be3a8c6e-97e6-42b0-842b-39525018274c"
} Error: socket not writable
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:264:16
at Promise._execute (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/debuggability.js:384:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:518:18)
at new Promise (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:103:10)
at Telnet.send (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:216:12)
at PentairPlatform.sendCommandNoWait (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:397:21)
at PentairPlatform.discoverDeviceType (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:269:10)
at PentairPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:258:10)
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:151:18
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] Finished waiting. Attempting reconnect...
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] IntelliCenter socket error has been detected. Socket will be closed. Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] Connection to IntelliCenter failed. Check config: {
"host": "xxx.xxx.x.xx",
"port": xxxx,
"negotiationMandatory": false,
"timeout": 1500,
"debug": true,
"username": "x",
"password": "x"
} Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
at internalConnect (node:net:931:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:465:18)
at node:net:1022:9
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
errno: -101,
code: 'ENETUNREACH',
syscall: 'connect',
address: 'xxx.xxx.x.xx',
port: xxxx
}
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] Sending fire and forget command to IntelliCenter: {"command":"GetQuery","queryName":"GetHardwareDefinition","arguments":"CIRCUITS","messageID":"8b8e5b64-cd13-401a-9b7d-773629f9e139"}
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] IntelliCenter socket has been closed. Waiting 30 seconds and attempting to reconnect...
[12/01/2023, 15:58:31] [homebridge-pentair-intellicenter] Caught error in sendCommandNoWait for command {
"command": "GetQuery",
"queryName": "GetHardwareDefinition",
"arguments": "CIRCUITS",
"messageID": "8b8e5b64-cd13-401a-9b7d-773629f9e139"
} Error: socket not writable
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:264:16
at Promise._execute (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/debuggability.js:384:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:518:18)
at new Promise (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:103:10)
at Telnet.send (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:216:12)
at PentairPlatform.sendCommandNoWait (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:397:21)
at PentairPlatform.discoverDeviceType (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:269:10)
at PentairPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:258:10)
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:151:18
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] Finished waiting. Attempting reconnect...
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] IntelliCenter socket error has been detected. Socket will be closed. Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] Connection to IntelliCenter failed. Check config: {
"host": "xxx.xxx.x.xx",
"port": xxxx,
"negotiationMandatory": false,
"timeout": 1500,
"debug": true,
"username": "x",
"password": "x"
} Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
at internalConnect (node:net:931:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:465:18)
at node:net:1022:9
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
errno: -101,
code: 'ENETUNREACH',
syscall: 'connect',
address: 'xxx.xxx.x.xx',
port: xxxx
}
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] Sending fire and forget command to IntelliCenter: {"command":"GetQuery","queryName":"GetHardwareDefinition","arguments":"CIRCUITS","messageID":"2b5fd352-25b0-4413-9a89-94df506a8f71"}
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] IntelliCenter socket has been closed. Waiting 30 seconds and attempting to reconnect...
[12/01/2023, 15:59:01] [homebridge-pentair-intellicenter] Caught error in sendCommandNoWait for command {
"command": "GetQuery",
"queryName": "GetHardwareDefinition",
"arguments": "CIRCUITS",
"messageID": "2b5fd352-25b0-4413-9a89-94df506a8f71"
} Error: socket not writable
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:264:16
at Promise._execute (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/debuggability.js:384:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:518:18)
at new Promise (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:103:10)
at Telnet.send (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:216:12)
at PentairPlatform.sendCommandNoWait (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:397:21)
at PentairPlatform.discoverDeviceType (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:269:10)
at PentairPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:258:10)
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:151:18
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] Finished waiting. Attempting reconnect...
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] IntelliCenter socket error has been detected. Socket will be closed. Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] Connection to IntelliCenter failed. Check config: {
"host": "xxx.xxx.x.xx",
"port": xxxx,
"negotiationMandatory": false,
"timeout": 1500,
"debug": true,
"username": "x",
"password": "x"
} Error: connect ENETUNREACH xxx.xxx.x.xx:xxxx - Local (<IP_ADDRESS>:0)
at internalConnect (node:net:931:16)
at defaultTriggerAsyncIdScope (node:internal/async_hooks:465:18)
at node:net:1022:9
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
errno: -101,
code: 'ENETUNREACH',
syscall: 'connect',
address: 'xxx.xxx.x.xx',
port: xxxx
}
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] Sending fire and forget command to IntelliCenter: {"command":"GetQuery","queryName":"GetHardwareDefinition","arguments":"CIRCUITS","messageID":"1217c854-f417-469c-b454-eded494c28f4"}
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] IntelliCenter socket has been closed. Waiting 30 seconds and attempting to reconnect...
[12/01/2023, 15:59:31] [homebridge-pentair-intellicenter] Caught error in sendCommandNoWait for command {
"command": "GetQuery",
"queryName": "GetHardwareDefinition",
"arguments": "CIRCUITS",
"messageID": "1217c854-f417-469c-b454-eded494c28f4"
} Error: socket not writable
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:264:16
at Promise._execute (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/debuggability.js:384:9)
at Promise._resolveFromExecutor (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:518:18)
at new Promise (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/bluebird/js/release/promise.js:103:10)
at Telnet.send (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/node_modules/telnet-client/lib/index.js:216:12)
at PentairPlatform.sendCommandNoWait (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:397:21)
at PentairPlatform.discoverDeviceType (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:269:10)
at PentairPlatform.discoverDevices (/usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:258:10)
at /usr/local/lib/node_modules/homebridge-pentair-intellicenter/src/platform.ts:151:18
Plugin Config:
{
"bridge": {
"name": "Homebridge 7470",
"username": "x",
"port": x,
"pin": "x"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": x,
"auth": "form",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"ipAddress": "xxx.xxx.x.xx",
"username": "x",
"password": "x",
"temperatureUnits": "F",
"minimumTemperature": 35,
"maximumTemperature": 105,
"_bridge": {
"username": "x",
"port": x
},
"platform": "PentairIntelliCenter"
},
{
"name": "Home Alarm",
"cameras": false,
"sensorRefresh": 15,
"persistAccessories": true,
"cameraOptions": {
"enableHwaccelRpi": false
},
"platform": "homebridge-simplisafe3.SimpliSafe 3"
}
]
}
Screenshots:
Environment:

Plugin Version: v2.0.11
Homebridge Version: HB Version v1.6.0 UI/X version v4.50.2
Node.js Version: v16.14.0
NPM Version: 8.3.1
Operating System:  Raspbian GNU/Linux Buster

This issue suddenly resolved last night and it’s working again. Not sure what changed. Going to close this issue.


Maxing-out protobuf recursion depth

It appears that creating very large trees is causing transactions to fail. Originally I assumed this was due to GRPC message size limits, but even after @brian-weir increased this, we're still getting crashes.
It's been suggested that this is due to recursion limits in protobuf. See below forum post:
https://discuss.daml.com/t/sandbox-grpc-exception-failed-to-parse-submission/2595/7
Several suggestions have been discussed.

The least effort approach would be to 'flatten' And nodes, by redefining them as | And [Claim]. This doesn't fully solve the problem, but it does mitigate the depth, based on empirical cases. The other downside of this is that we're moving away from the original representation given in the papers, and while it's isomorphic to that representation, there may be unknowns we're currently not conscious of.
Redefine Serialized.Claim to be a template; this would mean that instead of having a single contract holding a tree of claims, you would have one contract per node; the fixed-point would then be via a ContractId _, and this would break the recursion limit. The downside of this is that we lose generality of the asset parameter, a, until we get truly generic templates in the language. It also makes it difficult to work with [de]serialize as this will no longer be a pure function, but an Update [co]Kleisli.
A further disadvantage is that passing claims across the API would be very complicated: a client program would have to fetch each node of the tree individually and then reconstruct it off-ledger. Because nodes are recursively defined, in the worst-case, fetching an instrument would take O(n) whit n being the RTT.

Could one define an AndN that takes a "repeat" parameter. When we lifecycle if N = 1 then we have the same case as regular And, but if N > 1 then a lifecycle would just consume the left hand side and replace with an AndN (N-1) ?
I know that this is less general than storing a list of potentially variable payments (or at leastpush that determination into the contained Observation?) but I think that supports the more general case.

Not sure I get this. Let's explore a bit more. How would you for example define a series of monthly payments using this AndN?
The example in the current guide is something like :
When (time == date 2021 15 05) (Scale coupon (One "USD")) `And` When (time == date 2021 15 06) (Scale coupon (One "USD")) `And` _ -- repeat other coupons here

You're right, if you have something inside of the lhs of an And that changes, AndN does not help you.


Add some basic HNSW graph checks to CheckIndex

Description
This is a first pass on #13724 - I've added the following checks:

verify neighbor list is in order
verify no duplicate neighbors

The code was adapted from KnnGraphTester in luceneutil.
Here's some test results from an index containing the cohere-wikipedia-docs-768d dataset:
    test: open reader.........OK [took 0.010 sec]
    test: check integrity.....OK [took 2.207 sec]
    test: check live docs.....OK [took 0.000 sec]
    test: field infos.........OK [2 fields] [took 0.000 sec]
    test: field norms.........OK [0 fields] [took 0.000 sec]
    test: terms, freq, prox...    test: stored fields.......OK [1500000 total field count; avg 1.0 fields per doc] [took 0.398 sec]
    test: term vectors........OK [0 total term vector count; avg 0.0 term/freq vector fields per doc] [took 0.000 sec]
    test: docvalues...........OK [0 docvalues fields; 0 BINARY; 0 NUMERIC; 0 SORTED; 0 SORTED_NUMERIC; 0 SORTED_SET; 0 SKIPPING INDEX] [took 0.000 sec]
    test: points..............OK [0 fields, 0 points] [took 0.000 sec]
    test: vectors.............OK [1 fields, 1500000 vectors] [took 0.497 sec]
    test: hnsw graph..........OK [4 levels, 1547684 nodes (over all levels)] [took 0.485 sec]

No problems were detected with this index.

I manually corrupted some neighbors lists in order to check the failure cases:
    test: open reader.........OK [took 0.012 sec]
    test: check integrity.....OK [took 3.633 sec]
    test: check live docs.....OK [took 0.000 sec]
    test: field infos.........OK [2 fields] [took 0.000 sec]
    test: field norms.........OK [0 fields] [took 0.000 sec]
    test: terms, freq, prox...    test: stored fields.......OK [1500000 total field count; avg 1.0 fields per doc] [took 0.393 sec]
    test: term vectors........OK [0 total term vector count; avg 0.0 term/freq vector fields per doc] [took 0.000 sec]
    test: docvalues...........OK [0 docvalues fields; 0 BINARY; 0 NUMERIC; 0 SORTED; 0 SORTED_NUMERIC; 0 SORTED_SET; 0 SKIPPING INDEX] [took 0.000 sec]
    test: points..............OK [0 fields, 0 points] [took 0.000 sec]
    test: vectors.............OK [1 fields, 1500000 vectors] [took 0.504 sec]
    test: hnsw graph..........ERROR: org.apache.lucene.index.CheckIndex$CheckIndexException: Neighbors out of order for node 31142: 839445<1326517 1st=33190
org.apache.lucene.index.CheckIndex$CheckIndexException: Neighbors out of order for node 31142: 839445<1326517 1st=33190
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.testHnswGraph(CheckIndex.java:2798)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.testSegment(CheckIndex.java:1109)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:806)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:576)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.doCheck(CheckIndex.java:4479)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.doMain(CheckIndex.java:4316)
	at org.apache.lucene.core@11.0.0-SNAPSHOT/org.apache.lucene.index.CheckIndex.main(CheckIndex.java:4248)

I intend to dig into the HNSW creation and think about more checks that would be useful here, but I wanted to start small with these neighbor checks only.

this might also check for graph connectivity, see #12627

this might also check for graph connectivity, see #12627

+1 -- this is a tricky thing about these HNSW graphs (that they are not necessarily born connected but rather must be stitched up somehow afterwards).
But maybe do this separately?  I'd love to just get this initial coverage in first...

Actually, CheckIndex does have some coverage for vectors and KNN graph (it confirms it can enumerate all vectors, and also runs some searches on it if it's not just flat vectors (checkByte/FloatVectorValues) , so it's not completely blind :)

> Doesn't (neighbors are in order) and (neighbors are not repeated) verify uniqueness?

duh, yes :)
> Also, why wouldn't we assert neighbors are on this level for level 0?

yes, we should, it's just that for level 0 this is the same as node in [0, size) wheras other levels are sparse - they have the same max = size-1, but not every node is included

I've added @msokolov's node-in-range check + neighbor-on-same-level check, and @tteofili's connectivity check. I chose not to throw an exception for disconnectedness, as I've found there's often a couple disconnected nodes at level 0 (at least in my indices). Maybe we could throw if connectivity is below some threshold?
So overall, exceptions are thrown if:

A node is not in the range [0, graphSize - 1]
A node's neighbor is not on the same level as the node
A node's neighbors are out of order
A node's neighbors contain duplicates

I implemented a more detailed report in the logs: node counts and connectivity are printed for each level of the graph, e.g.
test: open reader.........OK [took 0.012 sec]
test: check integrity.....OK [took 0.489 sec]
test: check live docs.....OK [took 0.000 sec]
test: field infos.........OK [2 fields] [took 0.000 sec]
test: field norms.........OK [0 fields] [took 0.000 sec]
test: terms, freq, prox...    test: stored fields.......OK [200000 total field count; avg 1.0 fields per doc] [took 0.055 sec]
test: term vectors........OK [0 total term vector count; avg 0.0 term/freq vector fields per doc] [took 0.000 sec]
test: docvalues...........OK [0 docvalues fields; 0 BINARY; 0 NUMERIC; 0 SORTED; 0 SORTED_NUMERIC; 0 SORTED_SET; 0 SKIPPING INDEX] [took 0.000 sec]
test: points..............OK [0 fields, 0 points] [took 0.000 sec]
test: vectors.............OK [1 fields, 200000 vectors] [took 0.111 sec]
test: hnsw graphs.........OK [1 fields] [took 0.317 sec]
  hnsw field name: knn
    level 3: 11 nodes, 11/11 connected
    level 2: 141 nodes, 141/141 connected
    level 1: 6022 nodes, 6022/6022 connected
    level 0: 200000 nodes, 199999/200000 connected


Go over to trivy-server in the trivy-operator

When https://github.com/aquasecurity/trivy-operator/pull/979 gets merged we should be able to go over to trivy-server from the trivy-operator. Thus we can remove one helm chart from our terraform solution.

Also waiting for https://github.com/aquasecurity/trivy-operator/pull/982


autoconf+gnuplot fixes

Let autoconf perl #! replacement match without '-w' parameter on perl.
Update gnuplot ver to 5.4.2 (which matches known SHAs).
Remove errant @ in packages.yaml

Looks fine to me


Technology Mapping

When generating a Verilog netlist using e/Teak you should expect a popup window (if you're using the GUI, if not try --help in command line) which asks you to select a technology library. e/Teak's technology mapper automatically generates the gates within modules based on the provided library (see the generated verilog files). In your case "example.v" file which contains the timing information for every gate is the default library and is useful when you simulate the design and aim to estimate the execution time of your circuit or approximate the critical path (in synchronous designs).
If you install other technology libraries, such as UMC Faradey 130nm, e/Teak recognises the path to the library and maps the circuit based on the available gates in the package. If you don't have access to UMC Faradey 130nm then you can use NanGate 45nm library: http://www.nangate.com/?page_id=22
But why do you need Tech. mapping? By Tech mapping a design Synopsys can provide you with more accurate timing estimations. Bear in mind that e/Teak doesn't generate RTL, instead it generates gate level netlist. When you have gate-level netlist in hand you don't really need to rely on the elaboration phase of Design Compiler (DC) and you can easily skip it. The only renaming phase is Tech. mapping the design if you want to use area estimator from Synopsys. For power estimations a vcd file can be generated from the simulator and fed it into Synopsys PowerTime for power and timing estimations.
For the asynchronous designs Tech. mapper replaces C elements with Dlatches from the library. When estimating the area DC will throw some warnings saying that it has detected timing loops which could be ignored as you don't really want DC to touch/optimise your design at all!
If you need DC to optimise your design we recommend taking look at the re-synthesis paper in the Documentation folder: https://github.com/balangs/Documentation/tree/master/Peer-reviewed_Publications

Do we able to select a handshake protocol in eTeak(For implementation in technology mapping)? For example, make our design base on the 4-phase dual-rail protocol or 2-phase dual-rail protocol or... ?
If yes, how should I do it?

@imanazari70 unlike the Balsa synthesis system, the only handshake protocol supported in eTeak is 4-phase dual-rail only. The synchronous elastic backend is identical to the 4-phase bundled data (SELF) protocol in which delay matching particularly for the operators is done by the global clock signal. However it's feasible to remove the global clock signal from the design and insert delays for every operator individually. @analava

I recently tried to map a simple component of your examples to make a gate-level netlist using other technology file mapping like nanGate 45 nm as you mentioned before, but the problem that I've faced is that the eTeak can not recognize some symbols in *.v of the library like (NangateOpenCellLibrary.v):
Error: "expecting an identifier (at `(ZN, A1'...)"
I think maybe the eTeak just recognizes some specific gates like "AND2 I0" (I have not seen before in tech files) instead of regular gates like "and, or, not". How could I use these tech files

@roopia The *-mapping.v files are provided in the following folder: https://github.com/balangs/eTeak/tree/master/tech
If you wish to use a different technology node such as nanGate 45nm library you'd need to make sure to include a mapping file in this directory with a proper naming for the primitive set (e.g. and, or, etc.). For instance, for and2 the associated name in the UMC130F library is AN2EHD whilst it is HS65_LS_AND2X4 in ST 65nm Library. I just checked the nanGate 45nm library, depending on the cell strength the name could be AND2_X1, AND2_X2, or AND2_X4.
The alternative approach is to use the example library to generate a generic netlist, then you could pass it to DC to technology map the generic gates for you. If you have asynchronous gates, such as C elements (which I believe you have), you better make sure that they're replaced with latches before passing the netlist to DC as I think it wouldn't recognise the custom elements of the asynchronous design.


Error returned to AcceptStream is of a type defined in internal package on closing the session

When the session is closed, the peer gets an error of type qerr.QuicError from AcceptStream function. Am I just supposed to parse the error string if I want to handle this error, like for example if I want to ignore it if the error code is 0x0?

Duplicate of https://github.com/lucas-clemente/quic-go/issues/2441.


docs: Add docs for Corellium modules

Fixes #1951
Added or updated README.md files:

:corellium
:corellium:adapter
:corellium:api
:corellium:apk
:corellium:cli
:corellium:client
:corellium:domain
:corellium:instrument
:corellium:instrument:command
:corellium:instrument:log
:corellium:junit
:corellium:sandbox
:corellium:shard

Additionally, this PR is fixing instrument log parsing to match the specification.

Small fixes :)

Great, thanks!!! 👍


Packaging conflict between powershell-7.3.0-1.rh.x86_64 and dotnet-apphost-pack-7.0-7.0.0-1.x86_64 on Fedora/RHEL

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I am on Fedora 36 using official Microsoft repo.
I've installed dotnet-sdk-7.0 (which installes dotnet-apphost-pack as a dependency), but when I try to upgrade powershell (or install it for the first time), I get transaction check error
Error: Transaction test error:
  file /usr/lib/.build-id/3a/e57b4bedbff101146eb11e0260bd44b922bb46 from install of powershell-7.3.0-1.rh.x86_64 conflicts with file from package dotnet-apphost-pack-7.0-7.0.0-1.x86_64

Considering this belongs to dotnet runtime, I think this is powershell packaging issue specifically.
Expected behavior
You can install both dotnet-sdk-7.0 and powershell-7.3.0 at the same time

Actual behavior
Both packages try to install the same file, failing transaction test, so I can either install dotnet 7.0 or powershell 7.3.0

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Linux 6.0.5-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 26 15:55:21 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Symlink from powershell-7.3.0:
lrwxrwxrwx. 1 root root 43 Nov  8 03:25 e57b4bedbff101146eb11e0260bd44b922bb46 -> ../../../../opt/microsoft/powershell/7/pwsh

Symlink from dotnet-apphost-pack-7.0:
lrwxrwxrwx. 1 root root 111 Oct 18 21:54 e57b4bedbff101146eb11e0260bd44b922bb46 -> ../../../../usr/share/dotnet/packs/Microsoft.NETCore.App.Host.linux-x64/7.0.0/runtimes/linux-x64/native/apphost

Suggest PowerShell should not use build-ids in the RPM packaging if repackaging identical binaries.
--define "_build_id_links none"

/cc @adityapatwardhan for information.

We are looking at it.

We need to regenerate the build-id using this tool: https://manpages.ubuntu.com/manpages/bionic/man8/debugedit.8.html

for the packaging tool we use, you would add:
--rpm-rpmbuild-define "_build_id_links none"


Sliders suddenly appear on left side after latest update

Describe The Bug
Some UI inconsistancies (sliders) have been introduced with the latest update. See screenshot. I found no way to get rid of them.
Thanks for checking

Logs
No response
Config
No response
Homebridge UI Version
4.64.0
Homebridge Version
1.8.5.
Node.js Version
22.11.0
Operating System
Official Homebridge Raspberry Pi Image
Environment Info
None
Raspberry Pi Model
None

Which platform / browser are you viewing the UI from?

Safari on iPad / Mac
Am Sa., 30. Nov. 2024 um 18:10 Uhr schrieb Ben @.***>:

Which platform / browser are you viewing the UI from?
—
Reply to this email directly, view it on GitHub
https://github.com/homebridge/homebridge-config-ui-x/issues/2261#issuecomment-2509077078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL3RQH262KVZOE7WFRXLNNL2DHWRHAVCNFSM6AAAAABSYWWMEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBZGA3TOMBXHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

which version of macOS and safari? asking because i am on the latest versions of these and I am not seeing these scroll bars

Yes, I got the latest too.  18.1.1. on iOS and 15.1.1. on MacOS.  Strange...

Just found the core of the issue:
I have an "App" created from the Safari Tab containing the homebridge link both with iOS and MacOS.  Opening homebridge in "plain" Safari creates no sliders.
I then deleted the "Safari App" and created a new one.  But again those sliders appear...
Slightly puzzled what causes this....

The issue has disooaeared with the ltest version. Whatever this was....
Thanks


Managing MPRemoteControlCenter in SRGMediaPlayerController

Hi guys,
this is more ask for help than issue.
I'm trying to setup MPRemoteControlCenter and nowPlayingInfo in my custom "mini-audio" player view which doesn't use LetterboxService but SRGMediaPlayerController and other SRG components.
I have successfully setup nowPlayingInfo and MPRemote actions but it doesn't work properly: on Lock Screen all buttons are disabled and in control center it usually stops working after first action.
Is there some way how to enable MPRemoteControlCenter events easily for SRGMediaPlayerController? Or is there some trick how to setup MPRemoteControlCenter properly? I studied your code in LetterboxService and tried everything.
Thanks for any suggestion.
I'm attaching my custom view code.
MinimizedAudioPlayerView.zip

Hi!
MPRemoteControlCenter and MPNowPlayingInfo are quite tricky to implement. We even fixed issues lately in Letterbox 3.0.0.
We do not provide any helpers or direct integration for SRG Media Player, as these APIs are entirely separated from AVFoundation. So you are basically on your own. Good news is that the API is very simple, bad news is that it is extremely poorly documented, especially regarding how it must be used and which parameters have an effect or not.
Having a look at how we do it in SRGLetterboxService is a good start. I’ll have a look at your implementation to see if something obvious explains the issues you encounter. I’ll keep in touch.

I had a quick look at your implementation, which seems based on our old pre-3.0.0 implementation. This is not why your implementation does not work (ours worked but had some issues), but at least I would recommend you to have a look at how the new implementation works.
Before I investigate your code further, could you please tell me why you are avoiding Letterbox service in the first place, so that I better understand what you are trying to achieve? This is of course legitimate (we even provide an API to disable control center integration entirely), but I didn’t see in which way your implementation would differ from ours, so I was just asking myself why implementing it yourself was worth the trouble.
Thanks in advance for the clarifications.

Thanks for answer.
I will study most recent sources.
Regarding why I'm doing it this way: I need to achieve this:

So I don't need video player: I just need controlls to play audio. Idea behind this is to use less space when there is no video anyway.
If my problem could be somehow solved by using LetterboxService directly it would be great.

Hi,

I will study most recent sources. I have github "SRGSSR/srgletterbox-apple" "4.0.0" in my Cartfile.resolved. Where I can get most recent sources?

I thought you got your inspiration from an older version since, as of version 3.0.0, fake command actions are only kept for compatibility with iOS 11 and below, which is not really the case in the code you sent us.
To answer your question, all Letterbox code is publicly available on GitHub, so the latest stable version can always be seen on master.

I need to achieve this:

Great, that means you can (and should) use SRGLetterboxService. SRGLetterboxController can be used without any SRGLetterboxView. We do not provide any standard player bar, though: Since applications will want to have their own look and feel, we don't provide any standard such component at the moment.
To implement your own control bar, you need to listen to the playback and media metadata change notifications (SRGLetterboxMetadataDidChangeNotification and SRGLetterboxPlaybackStateDidChangeNotification)  and register for periodic time updates for the slider (-addPeriodicTimeObserverForInterval:queue:block). Then update your UI accordingly, based on playback state and metadata information available from the Letterbox controller.
We have a player bar in Play SRG, you can look at its source code for an example. Our player bar does a bit more since we support background video playback and interaction with Google Cast, so it might be better for you to start with a smaller implementation. I also see that we are still cheating by accessing Letterbox internals. You should not have to do that (and neither should we; I'll write a GitHub issue to remove this bit of sorcery).
This way you avoid having to integrate with the control center and can benefit from further Letterbox updates regarding control center support directly (e.g. we recently added the ability to seek directly from the control center).
Just get in touch with us if you need more help in implementing this feature.
Best regards.

Got it.
Just one more question: is there any way I can connect SRG controls (like SRGTimeSlider) to LetterboxControler? Rather then implementing them myself from scratch?

Sadly, not with an official public way.
We have a private property mediaPlayerController on SRGLetterboxController, we do not expose for the reason we documented "Do not alter properties of this player controller, this could lead to undefined behavior. Only use in a readonly way or to register observers".
From what you want, you would like to do like SRGLetterboxView: use the SRGTimeSlider from SRGMediaPlayer, and just connect to the mediaPlayerController property.
All is internal today. We should investigate with @defagos to add a SRGLetterboxTimeSlider (inherits SRGTimeSlider with a property to connect to the SRGLetterboxController. It would be more safe for you, that working with private letterbox property.
First time a SRG application is asking to do a custom player with the seek bar. Thank you.

Thanks for considering it :-)

Hi guys, last question.
If you decide to make SRGLetterboxSlider and playButton, do you have any timeframe when you will be able to do it.
I need to finish my mini-audio player this week, so if you will not have time to make it I will make my own.
Thanks.

Sorry for the late answer, we were quite busy working on our products.
You must do it on your own, sorry. This requires further API discussions from us, and we clearly didn't have the time this week with all the work expected from us.
I'll discuss this with our PO so that we can free some time to work on it next sprint. In the meantime, the easiest for you is to cheat like we do in Play, by accessing the mediaPlayerController private property, and connecting a slider and playback button to it.
Exposing this property publicly would be an option (this would avoid us having to create similar public Letterbox components), and while I might like the idea, I prefer evaluating the risks and rewards with @pyby first.

OK, no problem, thanks for info.

I gave some more thought about this issue. I think we should expose the underlying MP controller. This would make KVO registrations possible for many values which should now be KV-observed for changes (e.g. timeRange or live properties). Same for notifications. Having the same mechanisms for Letterbox is redundant and can lead to some events being lost (see #181).
Of course this needs to be properly documented so that people only use the controller for intended purposes. But I don't see API risks, at least not in the same way I saw them in the past. It is clear that if you are using LB all playback methods are on the controller anyway.
It is also likely we should then remove LB notifications (e.g. SRGLetterboxPlaybackStateDidChangeNotification). This chpotange would be breaking, but it is probably clearer and safer than keeping both MP- and LB-level notifications. This must be investigated and discussed further.


added Scott Kosman

Added my own "rejected by Apple" story.

Realized my bio was way longer than others, closing this one to edit and will submit another.


Flyout is not showing on the pointer location correctly

Describe the bug
Flyout is not showing on the pointer location on mobile platforms.
To Reproduce

Create a Flyout
Set the Content
Call the ShowAt method setting the placement target and showAtPointer = true
See error

Expected behavior
The Flyout should appear on the right location and this is appearing on the top left side of the screen.
Desktop (please complete the following information):

OS: Mac
Version 11.0.4

I will close this issue, as it's a duplicate of https://github.com/AvaloniaUI/Avalonia/issues/12693
Internally, there is no difference in popup placement between these controls, so it works the same


MangaFire

Source name
MangaFire
Source language
Multi
Source link
Mangafire.to
Other details
Website upgraded to v2
Please update extension
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

Manga extensions aren't managed here. They go to the tachiyomi-extensions repo, but since there's already an issue for it, just wait until someone decides to fix it.


Satisfied Parameters for Diaper Issue #15

Changed "Fulfilled" to "New Distribution for this Request"
Added "Started" to Statuses in request.
Co-Authored-By: ryanbla<EMAIL_ADDRESS>Co-Authored-By: Joey Ruzevich<EMAIL_ADDRESS>

@Maddiefayee Congrats on submitting your first time PR!!
will review this soon -- I have to merge a few others in ahead of you.


HA support for stram webservice filter.

HA support for webservice filter. Removed dependencies in filter to hadoop classes with private audience as their interface has changed from Hadoop 2.2 to 2.6. Doc updates.

Addressed comments


Add json.Number support, fix #153

Add support for json.Number by falling back to encoding/json. This is done for the proper checking of the number using isValidNumber(). JSON numbers can be bigger than uint64.
To speed things up we could copy isValidNumber to our own source and handle it like a string. If you want me to make this change please let me know.

LGTM :+1:

Thank you!


Check in a few sample datasets?

That would make it easier to bootstrap new clients.

Yes! Also benchmarking could be then common across implementations.
And perhaps there could be equivalent CSVs (with some type information in the header, e.g. colname (float64))? Or do you think the roundtrip tests are sufficient? I'm just thinking that the format may evolve and it would be helpful to have something human readable at hand.
I still don't have feather on my Mac (issue already reported), so I could certainly use some reference data.
Thanks.

I think it would be best to add a data generation script for benchmarking purposes. We can also host sample feather files outside of the git repo.


Comment check regular expressions for quick actions use unescaped comment indicators

While using VS Code eslint plugin to check JSON files with eslint-plugin-jsonc, I found out the quick actions to not work, even thought reporting and formatting worked just fine. In the output of the ESLint extension I could see the following error:
[Error - 20:46:34] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Invalid regular expression: //** eslint-disable-next-line/: Nothing to repeat
  Code: -32603

The error comes from createDisableLineTextEdit here:
https://github.com/microsoft/vscode-eslint/blob/560df864580a9381d84b2f1e408f46f6600fda48/server/src/eslintServer.ts#L700
It tries to see if the previous line already has a eslint-disable comment. For that is composes a regular expression with the result of getBlockComment here:
https://github.com/microsoft/vscode-eslint/blob/560df864580a9381d84b2f1e408f46f6600fda48/server/src/languageDefaults.ts#L32
Because the language JSON is not in the languageId2Config in the same file. It falls back to /**. The resulting regular expession is thus:
new RegExp(`/** eslint-disable-next-line`)

This is not a valid regular expression, since /* already means "as many / as you like" but then another * follows which has nothing to match on.
For most other languages the start of the block comment is defined as /*, which is actually a valid regular expression, but does not match the start of a block comment correctly. So if you happen to write code like this (highly unlikely, I know) the line with foo is recognized as comment line:
    const foo = ' eslint-disable-next-line ';
    const bar: any = 'baz';

The quick action to add an eslint disable comment on top of the second line (e.g. for no-explicit-any or the unused variable) will just fail with the error:
[Error - 20:55:41] Failed to apply command: eslint.applyDisableLine

It would be cool to replace any special regex characters in the comment indicators when constructing the regular expression. I created a PR with one way to solve it at https://github.com/microsoft/vscode-eslint/pull/1611.

I also saw this issue on wildwebdeveloper: https://github.com/eclipse/wildwebdeveloper/issues/1122

Is there a workaround for this? It seems pretty debilitating, no?

Is there a workaround for this? It seems pretty debilitating, no?

A PR that fixes the issue is available, and it should be merged soon. In the meantime, it seems like this issue is exclusive to the *s in block comments, so I think that this shouldn't happen if you set eslint.codeAction.disableRuleComment.commentStyle: line in your VS Code settings.


Add html form for easy submission

Added a html form for convenience.
Test: https://skip.henrock.net

Thank you!


[cPP CHANGE] Further clarify for virtualized or containerized applications

On behalf of CCCS
cPP Section 1.2 page 9 includes 4 categories of applications, including "4. Virtualized and Containerized applications (e.g. running in a Docker container)".
cPP Section 1.3 page 10 includes the following description: "Containerized applications are particularly challenging since their installation packages contain all the support software needed to execute the application. For the purposes of this cPP this support software is considered to be not within the TOE boundary."
This is insufficiently informative explanation of virtualized or containerized applications to inform the reader on how to define the TOE boundary.
Specifically, cPP v0.58 does not address the question of user space/kernel space (as demonstrated in Figure 1 and Figure 2) for cases of virtualized and containerized applications. This omission results in ambiguity that leaves a number of TOE boundary questions unaddressed. For example, must a virtualized application include (or even specify) Operating System? Another example, could a virtualized application also include an embedded Operating System in the scope?
To contrast, NDcPP Section 1.2 includes a lengthy explanation of what that cPP considers an acceptable vND, addresses questions of tenancy, and provides specific examples. This allows a greater level of confidence in determining applicability of NDcPP to specific virtualized product types.

Addressed with additional language for containers and virtualized applications in section 1. We realize this may not be perfect, but the topic is difficult to address and the ITC is open for further discussion if additional clarification is required.


Testing issue [Symbol.iterator] is not a function while trying to inject an array as select result in a saga

I'm using redux saga 0.13.0 and I'm trying to test a saga which executes as expected :
export function* mygen(id) {
  let selectedItems = yield select(myselector) //return an array of integer
  for(let item of selectedItems) {
    const {response, error} = yield call(asynFunc, id, item)
    if (response) {
      yield put({type: ACTION_SUCCESS, data: response.data})
    }
    else {
     yield put({type: ACTION_FAILURE, error: error.response.data.error})
    }
  }
}

Here is my test :
it("myTest", () => {
    const gen = mygen()
    expect(gen.next().value).to.deep.equal(select(myselector))

    expect(gen.next({selectedItems: [1], item:1, id:1})).to.deep.equal(call(asynFunc, 1, 1))
})

I'm having this error :
 TypeError: selectedItems[Symbol.iterator] is not a function

which is weird because selectedItems is an array
and when I console log selected Item I have  { selectedItems: [ 1 ], item: 1, id: 1 } which should be [1]
do you have any idea of how to test it ?
thanks in advance

Frow what I see you are injecting {selectedItems: [1], item:1, id:1} as const selectedItems and its an object, not an array.
You might have wanted to write let { selectedItems } = yield select(myselector), but then you wont be able to reference those id and item in your yield call(asynFunc, id, item).
You must restructure your looping and this injected/selected structure.

Thank you for your quick answer, I'll restructure my loop and let you know when I  have an acceptable structure

Im closing the issue for now, if you have any questions regarding the issuse (or any other) just answer here Im gonna receive email notification and reply. Cheers!


Add numeric constraint to type parameter of mapped types with name type and array constraints (take 2)

fixes #55762
this was already approved by @gabritto and @weswigham and got merged here: https://github.com/microsoft/TypeScript/pull/55774 . It was reverted not because it was decided that the change is bad but because it conflicted with another work that was merged before it ( https://github.com/microsoft/TypeScript/pull/56727 ) - so it was only reverted because it was merged more recently to main than the other one. Later on that other PR was also reverted (it in fact was the one that was incorrect out of the two) and the issues that it was addressing were fixed by other PRs.

In the midst of fixing some of the problems with mapped types and arrays/tuples that we had, I think we decided that we'd only do the "actually, only iterate through the array/tuple element keys" special behavior for mapped types only if the modifier type is array-like and there's no as clause.
IIUC, that's because that's the scenario where we can be confident the output of the mapped type should be array-like. https://github.com/microsoft/TypeScript/pull/57122 improved the first aspect of that (detecting when the modifier type is array-like), and https://github.com/microsoft/TypeScript/pull/57093 fixed a problem in the second aspect of that ([K in keyof SomeArray as SomeType]: OtherType<K> no longer considers K constrained by ${number} in the template type).
Note that https://github.com/microsoft/TypeScript/pull/57093 means the following has an additional error on the template type side now:
type StructTypeFor<Descriptor extends StructDescriptor> = {
    [K in keyof Descriptor as Descriptor[K][0]]: ValueTypeOf<Descriptor[K][1]>;
};

I don't know, I feel like this PR in particular is sort of like type inference changes: it does what you want in some cases but maybe not what you want in others?

@gabritto I agree. This doesn't feel good right now with the recent changes. I mostly re-opened this to get clarity that this is not something that is meant to work. What about the corresponding issue? I think it might be worth closing it now.

@gabritto I agree. This doesn't feel good right now with the recent changes. I mostly re-opened this to get clarity that this is not something that is meant to work. What about the corresponding issue? I think it might be worth closing it now.

Issue's been updated. Thanks for pointing that out.


gsagh-223 load tracking

Review https://github.com/arup-group/GSA-Grasshopper/pull/312/commits/3978bffa093b190ccea140690a566cd9312c0150 the rest is just consistent formatting


Buttons not responsive in AG Grid

Summary of the bug
When buttons are used in an AG Grid and the column width is made smaller than that of the buttons, they just get cropped and do not resize.
🪜 How to reproduce

Create an AG Grid (see AG Grid Getting Started docs).
Add some buttons into one of the columns.
Make the column width smaller than the width of the buttons (drag the column divider in the UI).
See that the buttons don't resize at all and are just cropped.

📸 Screenshots or code
https://github.com/user-attachments/assets/a16095db-7b4c-455b-8642-5a5af2022952
🧐 Expected behaviour
The buttons should resize to match the size of the column. Considering what has been implemented as part of #2130 (see chip AG Grid story), it would probably be best for the label to be truncated with an ellipsis (but only when in an AG Grid, e.g. using the new isElInAGGrid helper function).
Using an ellipsis matches how other component in an AG Grid behave (e.g. try expanding the AG Grid cell components example). If you would like to understand more about the solution used for chips and typography, please see the comment on #2130.
📝 Acceptance Criteria
Given that I am using an AG Grid and add buttons to the columns
When I resize those columns to have a smaller width than the buttons
Then the buttons resize to match the width
And the text should be truncated with an ellipsis.

Putting into Design-to-do. Questions raised at triage:

Is truncating a button best practice? Should the text wrap instead? (see AG Grid Cell Components example above, nothing happens to buttons)  If we truncate buttons they'd probably need a tooltip
Should design have a think about this first?


Update ADOT e2e log comparison message

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.16


Use different subdomains for different snippets

Now the snippet can use localStorage or Workers, that can be shared in the same origin pages. This can be a security risk, I don't have a strong opinion so far though.

In general as long as the playground doesn't automatically run untrusted code it doesn't bother me much, but I think the interface should make clear it's user generated code, and terms of use and a privacy policy are in order, and in theory there should be an abuse point of contact.


feat: limit the generated names of the $refs

If we use a generator to produce a Ruby client, and then try to build that gem, it's possible for the RubyGems build process to fail with: ERROR: While executing gem ... (Gem::Package::TooLongFileName) This can happen if the $ref ids we are using are too long.
This PR makes 3 changes which are applied during the generation of ids only if they too long:

error responses that can be "one of" many, will now no longer use all of the error names to generate the id
nested partial responses will no longer use all of the parent field names in the id generation
endpoint ids will resort to using the initials of the full path, when the id has a clash and the path is too long (this will be super rare).

this is a breaking change, but we're on 0.1.1 and not actually using any generated clients yet. So I'm not marking it as such.
closes: #46

If we continue to have problems with the length of $ref ids and corresponding filenames that are generated. Then more involved solution would be adapt Apia so that some kind of "short_id" could be defined on the endpoint itself. Then our schema generator could use this instead of relying on the path of the endpoint. This would give the user the control to apply acronyms or simply leave out words as appropriate.


Cannot import distance function

SyntaxError: The requested module 'color-2-name' does not provide an export named 'distance'
I'm getting this error. It's weird because I don't remember changing anything and it was working a few days ago.
The relevant code:
import { closest, distance } from "color-2-name";

Running in NodeJS v18.17.0 directly with no bundler on Windows 10 LTSC

Thank you, @L1lith, for the report.
I believe there was an issue with the module export in the previous version of package.json.
👇 Here is a playground for you to try out. Please let me know if you still encounter any problems. Thanks again!
https://stackblitz.com/edit/vitejs-vite-t88xtq?file=index.html


[FAB-17374] Integration test for Chaincode as an External Service

Type of change
Test update
Details
Fixes the issues reported in PR for Chaincode as External Service. The original PR with comments is here:
https://github.com/hyperledger/fabric/pull/552
The test is in integration/e2e/chaincode_service_test.go file

Thank you for reviving this.
There's still a lot of extra boilerplate and customization that should not be necessary. I'm also very keen on isolating the changes to the nwo package to what is necessary and reusable. In particular, the addition of DeployWithoutInitialization isn't necessary because we can simply pass the chaincode struct to DeployChaincode after disabling InitRequired.
When it comes to error checking within tests, we do want assertions on errors to make sure things go as expected. There are a lot of places where that checking is missing. These need to be addressed.
Before merging this, we should also get the duration marshaling bug fixed.
I'll be on the lookout for changes.

@sykesm Thanks for reviewing and your feedback. I will update the with required changes in a day or two.

@psingh-io Two small things.

Looks like there's a problem highlighted by the linter.
We'd prefer to see pull requests without merge commits.

Can you please address the problem and rebase on top of master instead of merging master?

Thanks for reviewing. I will make these updates today.
Pancham
On Mon, Jul 6, 2020 at 1:57 PM Matthew Sykes<EMAIL_ADDRESS>wrote:

@psingh-io https://github.com/psingh-io Two small things.

Looks like there's a problem highlighted by the linter.
We'd prefer to see pull requests without merge commits.

Can you please address the problem and rebase on top of master instead of
merging master?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/fabric/pull/1510#issuecomment-654409782,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQB2SF6MBERU64ZZRUGHN5DR2INCRANCNFSM4OM7UDDQ
.

@psingh-io May I fixup your commits and push so I can merge this in sort order?

Yes, please.
I did rebase and cleaned up commit history by squashing in one. But, there
were 2 commits still showing. When I tried to squash the last two, I was
getting merges in commit history and hence had reverted.
Thanks for your help.
Pancham
On Wed, Jul 8, 2020, 9:54 AM Matthew Sykes<EMAIL_ADDRESS>wrote:

@psingh-io https://github.com/psingh-io May I fixup your commits and
push so I can merge this in sort order?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperledger/fabric/pull/1510#issuecomment-655570360,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQB2SFYMJ7VQF3UYGVWIX3TR2SCDPANCNFSM4OM7UDDQ
.


Move nodes positions without drag but by button

Is your feature request related to a problem? Please describe.
It's possible de change positions of nodes after Graph component did mount by button click ? I'v made a method to move nodes to reset user's modif . In my method, i change the state which is part of Graphprops .... but nothing change :/
This is my method with Graph component :
async restorePositionsNodesGraph() {
    const { data, andNodesDoesntAppear } = this.state;

    // Recover saved positions
    const graphNodesPositions = await this.getGraphNodesPositionsByRootProjectId(this.state.project.rootProjectId);
    this.deleteGraphNodesPositions(graphNodesPositions[0].graph_node_position_id);

    // Rebuild hierarchy tree and have new positions
    const nodesWithNewPositions = this.generateHierarchyTreeOfNodesGraph([], data, andNodesDoesntAppear );

    this.setState({
      data: {
        nodes: nodesWithNewPositions,
        links: data.links
      }

    });
  }

{...}

 render() {

    const { onClickNode, onDoubleClickNode, onRightClickNode, onClickGraph, classes } = this.props;
    const { fullWidth, data, isNeedSave, isSaving, openConfirmationAbort, linkTo, saveKeep} = this.state;

    const graphProps = {
      id: 'treeDiagram',
      data,
      config: this.state.config,
      onClickNode,
      onDoubleClickNode,
      onRightClickNode,
      onClickGraph,
      onNodePositionChange: this.handlePositionChange.bind(this)
    };

    {...}

    <Graph {...graphProps} />
 }

In my state, i've got the new positions, but in Graph State... nothing change :/ Can you help me ?
Describe the solution you'd like
You can see this gif and image to untersand what I want :

On GIF, what i want it's node move at position show on image when button pressed...
Describe your use case
Move nodes by click action and node drag

Hey @StevenHeven
I think you can implement that on your application. Have you tried to update the y coordinate value for that node whenever a click event is triggered?

Hi @danielcaldas ,
I found solution since I made this issue, and it was little tricky because even I update node positions and this setState, nothing happen and there is no re-render of graph even if state updated.
So I did like that :
 /**
   * Method to restore node positions
   */
  async restorePositionsNodesGraph() {
    const { data } = this.state;
    const dataCopy = _.cloneDeep(data);
    let nodeWithDifferentPositions = false;

    // We're gonna recover saved positions & generate graph with optimize positions
    const graphNodesPositions = await this.getGraphNodesPositionsByRootProjectId(this.state.project.rootProjectId);
    const nodesWithNewPositions = await this.generateHierarchyTreeUsingViz([], dataCopy);

    // Just check if positions nodes have been changed or not
    data.nodes.forEach(node => {
      const nodeWithNewPositionsCorresponding = nodesWithNewPositions.find(nodeToFound => nodeToFound.id === node.id);

      if (node.x !== nodeWithNewPositionsCorresponding.x || node.y !== nodeWithNewPositionsCorresponding.y) {
        nodeWithDifferentPositions = true;
        return nodeWithDifferentPositions;
      }
    });

    // If there are differences, we're gonna delete saved positions and put new ones
    if (nodeWithDifferentPositions) {
      try {

      // HERE THE TRICK
        this.setState({
          data: {}
        });

        if (graphNodesPositions.length !== 0) {
          this.deleteGraphNodesPositions(graphNodesPositions[0].graph_node_position_id);
        }

        this.setState({
          data: {
            nodes: nodesWithNewPositions,
            links: data.links
          }
        });

        EventManager.prototype.save();
        toast.success(<FormattedMessage id="container.resultGraph.notification.success.positionsNodesReset"/>);
      } catch (e) {
        log.error('Trouble during nodes positions reset. Reason : ', e);
        toast.error(<FormattedMessage id="container.resultGraph.notification.error.troubleDuringNodesPositionsReset"/>);
      }
    }
  }

I've got a save positions feature on my app, and to re-render graph, I need to put empty object for data to restore good positions :)
Maybe it will be usefull for someone ;)

Thanks for always coming back to us and sharing @StevenHeven! 👍