Resolve CVEs for all components

Bug description
Currently every image in Istio has many CVEs. There are currently no critical CVEs, but there are a number of medium and low ones. There are also alot (i.e. almost 400 CVEs) in the coredns plugin.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ X ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
When I scan istio images, they return clean
Steps to reproduce the bug
Scan the images with your choice of container vulnerability scanners.
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.5
How was Istio installed?
Istio Controller, standalone
Environment where bug was observed (cloud vendor, OS, etc)
Any

you may be interested in https://istio.io/docs/ops/configuration/security/harden-docker-images/

Those look like they solve the issue for some of the CVEs, but the istio/coredns-plugin:0.2-istio-1.1 image has almost 400 CVEs and I dont see a distroless image for that one.

@whitleykeith you are absolutely correct distroless is the path forward.
Some features of Kubernetes are not yet available in beta form for Istio to consume. Ephemeral containers are needed for some aspects of Istio's correct operation including UX operations via istioctl as well as in some cases correct operation of the sidecar proxy when using distroless. Unfortunately, this feature is currently Alpha and Istio does not take a hard dependency on any alpha feature.
We have talked about adding Ephemeral container support to Istio's distroless implementation. Then operators could run with these containers if they chose. Such a change is fairly challenging to move through all of Istio in a coherent way when we are not certain that Ephemeral containers will make beta, or that the API won't change.
Therefore, distroless is alpha in Istio, and we can't make an Alpha feature the default.
As for the coredns-plugin:0.2-istio-1.1 image, you have a very fair point that this plugin is in need of integration into the Istio code base so that it follows the standard CVE procedures.
Cheers
-steve

@sdake istioctl works with distroless. Ephemeral containers are just needed if you want to run additional debug tools like netstat, tpcdump, etc. We do not have a direct dependency on ephemeral containers

@howardjohn - istioctl debug commands use kubectl exec internally.

kubectl exec works with distroless, as long as you are using binaries that are present in the image. We are not using curl (at least, at some point we were not) or anything else, so it should be fine

@howardjohn ok - well it's hard to keep track of what UX is using. The last conversation I had with @esnible had me thinking istioctl was using kubectl exec- hence the desire to expose a debug interface with a strong security model as per recent community conversations.
One other corner case people seem to run into is the desire to run LUA in the proxy. The Proxy is a full image. It could be made as a distroless image, but iirc, it isn't at the moment (unless things have changed), but proxy will continue to be a weak link in our distroless technology model until ephemeral containers are beta.
Cheers
-steve

@howardjohn I re-read what you wrote, and I agree, kubectl exec always works with distroless. I thought this was a more advanced discussion around our roadmap and future work, not whether basic functionality such as kubectl exec is directly impaired by distroless. Distroless, as you know, should work with nearly all or any kubectl commands, (including as you point out exec. I am a huge proponent of distroless fwiw - I convinced our friends in SAP to do the initial implementation work, and understand distroless' power in removing CVEs.

It's good to know that distroless is the end goal.
In regards to the coreDNS plugin image, what exactly is Istio's coredns component used for in terms of istio features? From my reading, it seems it's primarily used for exposing remote services to the mesh via ServiceEntries. Is there anything else it's used for?


Change "Visual Enterprise" (no such thing)

Changed to "Visual Studio Enterprise subscriber"

@AlanMcBee Thank you for for fixing this. I am merging this PR and it should be live soon.


work item listener does not recover from client disconnections

the client work item listener does not have any retry logic to recover from errors when the stream closes or when the client looses the connection to the server
https://github.com/microsoft/durabletask-go/blob/main/client/worker_grpc.go#L36
the EOF error typically requires to create a brand new grpc connection, which is something that cant currently be done inside of the function StartWorkItemListener, additionally, it doesn't expose any means for users to detect that the streamed connection stopped, so users can handle the reconnection or retries...
I can't propose a solution, but IMO this definitely needs some refactor. I'm happy to contribute the improvements once a decision on how to address it is made

this has been implemented


Tiny-mce -  add toolbar button wrapping

Description

This PR wraps the buttons in the tiny-mce toolbar row. The interaction currently requires scrolling along the x-axis to reveal additional buttons. Some browsers can be configured to not reveal scrollbars unless the user interaction with the active area. This will reduce the cognitive load the user.
When the buttons wrap, there will be undesirable borders for the buttons. This is intentional as it mirrors the old tiny-mce editor. Until we are able to update tiny-mce to the latest stable release, the result is the compromise
Screenshots

Before
After

Test notes

Turn on the link and check the pages listed in the Estimate Impact
Verify that the editor's buttons wrap when there is overflow in the toolbar
Estimated impact

(MEDIUM) Reduce size of the tiny-mce editor buttons. Also allows the buttons to wrap to multiple lines.

[ ] Coaching session edit form
[ ] Podcast episode edit form
[ ] Product post page
[ ] Offer edit form

Related

BUILD-1025

Closes #426


Cannot resolve '../../lib/codemirror'

Describe the bug
I'm adding<EMAIL_ADDRESS>to my React project, which uses Webpack 5. However, I'm encountering the following error message during the build process. I don't see codemirror listed as a dependency of @statoscope/webpack-plugin. Am I missing something?
Error
ERR! ERROR in ../../.store/@statoscope-webpack-ui<EMAIL_ADDRESS>ERR! Module not found: Error: Can't resolve '../../lib/codemirror' in '/workspaces/aaa/.store/@statoscope-webpack-ui@5.28.2-eb85fc486b36e4d6c72e/node_modules/@statoscope/webpack-ui/dist'
ERR! resolve '../../lib/codemirror' in '/workspaces/aaa/.store/@statoscope-webpack-ui@5.28.2-eb85fc486b36e4d6c72e/node_modules/@statoscope/webpack-ui/dist'
ERR!   using description file: /workspaces/aaa/.store/@statoscope-webpack-ui<EMAIL_ADDRESS>(relative path: ./dist)
ERR!     using description file: /workspaces/aaa/package.json (relative path: ./.store/@statoscope-webpack-ui@5.28.2-eb85fc486b36e4d6c72e/node_modules/@statoscope/lib/codemirror)
ERR!       no extension
ERR!         /workspaces/aaa/.store/@statoscope-webpack-ui@5.28.2-eb85fc486b36e4d6c72e/node_modules/@statoscope/lib/codemirror doesn't exist
ERR!       .js
ERR!         /workspaces/aaa/.store/@statoscope-webpack-ui<EMAIL_ADDRESS>doesn't exist
ERR!       .json
ERR!         /workspaces/aaa/.store/@statoscope-webpack-ui<EMAIL_ADDRESS>doesn't exist
ERR!       .wasm
ERR!         /workspaces/aaa/.store/@statoscope-webpack-ui<EMAIL_ADDRESS>doesn't exist
ERR!       as directory
ERR!         /workspaces/aaa/.store/@statoscope-webpack-ui@5.28.2-eb85fc486b36e4d6c72e/node_modules/@statoscope/lib/codemirror doesn't exist
ERR!  @ ../../.store/@statoscope-webpack-plugin<EMAIL_ADDRESS>153:48-89
ERR!  @ ./lib/webpack/webpackConfig.js 19:0-65 140:28-51
ERR!
ERR! webpack 5.91.0 compiled with 1 error and 2 warnings in 1760 ms
Versions:

Node (for non-browser bug): 18.15.0
Browser (for browser-bug):
Webpack: 5.91.0
Statoscope: 5.28.2

HI! Cold you provide some minimal repository to reproduce the issue?
Can't reproduce it


Feature-Wish: batching-option just for updating cache.db

I would like to have an option, where it is possible to start newsbeuter just to update the database, and then right after it, to end execution.
I would like to use that to update the database, without the need to interact with newsbeuter.
With "--refresh-on-start" it would need me to end newsbeuter by hand.
This is interactivity, which I want to avoid.
In case you don't know what that feature is needed for: I would like to update the database via cron-job, because some feeds only have small number of entries in the RSS-feed and update often, so that I would miss items, if I use newsbeuter not often enough.

I believe -x reload does just that. See "Commandline commands" section of the documentation.

@klartext, did -x reload fit your needs?

I could not test them, when the errors with the newsbeuter-directories (~./newsbeuter vs. CPATH-stuff) were present. (I found them out that way, trying the reload-stuff).
After fixing them, I forgot the batching-issue. Good that you reminded me. :)
Just tested it.
Works fine now, so I can close the issue.


Add support for newlines_in_values to CsvOptions

Is your feature request related to a problem or challenge?
I'm trying to read CSVs that include newlines in (quoted) values.
Describe the solution you'd like
Some googling revealed that this isn't supported currently by the arrow-csv crate, whereas that functionality does exist in the C++ (ParseOptions::newlines_in_values) and Python (ParseOptions.newlines_in_values) implementations.
Ideally, a newlines_in_values field could be added to datafusion::common::config::CsvOptions to support this functionality.
Note that the Python docs call out the performance implications of this:

Setting this to True reduces the performance of multi-threaded CSV reading.

I haven't dug into the implementation, but I imagine it becomes harder to find the right split point for multi-threaded reading (though, it seems not dissimilar to finding the prev/next linebreak, so perhaps not insurmountable...).
Describe alternatives you've considered
The only alternative I can see would be to preprocess the CSV before feeding it into DF. I haven't explored this option as I imagine it would take a lot of DF plumbing, and it seems valuable to have parity with other arrow CSV packages (C++ and Python, at least).
Additional context
I was originally planning to report this against the arrow-rs repository, but since my use-case is with datafusion I decided to report it here. Let me know if this issue would be more appropriate there and I can move/copy it.

I haven't dug into the implementation, but I imagine it becomes harder to find the right split point for multi-threaded reading

That is correct, DataFusion parallel CSV scan does:

For example it gets a 1000B CSV file and wants to read in 2 threads.
File is split into [0, 500), [500, 1000) two ranges, then probe the actual line boundary and adjust the range
Let arrow-rs handle reading a valid file byte range.

So I think the first step will be to add arrow support

I see, so an approach could be to:

Add newlines_in_values: bool to arrow_csv::reader::Format. The implementation could use this to consume terminators within quotes.

Add newlines_in_values: bool to datafusion::config::CsvOptions (and datafusion::datasource::file_format::csv::CsvFormat). The implementation could use this in two ways:

Pass the newlines_in_values flag on to csv-arrow.
Disable parallelism in CSV scanning (I don't think it would be possible to reliably determine if you're inside a quoted string without seeing the whole file).

Turns out arrow-csv does correctly parse newlines in quoted values, so the issue comes from reading CSVs in parallel. Limiting the target number of partitions to 1 solves the issue.
For example, if I add this to my code before I run ctx.sql("SELECT * FROM <csv including linebreaks>") then the query executed successfully (without it there are errors about wrong numbers of columns):
ctx.state_weak_ref()
    .upgrade()
    .unwrap()
    .write_arc()
    .config_mut()
    .options_mut()
    .execution
    .target_partitions = 1;

From a UX perspective, this setting is quite disconnected from the intent. It also required changing the session-level target_partitions setting, which (I assume, untested) would adversely affect reads of CSVs that might not be expected to contain linebreaks. A per-CSV newlines_in_values setting would help to signpost this situation and allow more efficient plans when only some executed CSVs have this requirement.

Turns out arrow-csv does correctly parse newlines in quoted values, so the issue comes from reading CSVs in parallel. Limiting the target number of partitions to 1 solves the issue.

Thank you for the investigation, if that's the case, setting datafusion.optimizer.repartition_file_scans to false might help: https://datafusion.apache.org/user-guide/configs.html
IIRC this option will only limit file scan to one thread, other parts of the plan will still be parallelized using target_partitions

Thanks for the pointer! That would certainly be better than disabling parallelization throughout.
Do you think it would still be desirable to be able to turn off file-level partioning for CSVs only (and/or to vary it on a per-type basis)?
I'm not familiar enough with Parquet to understand if there would be a functional reason to disable it for that format?

Furthermore, I think there could be value in controlling this on a per-file basis. E.g. if you're working with multiple CSVs, one of which you know contains newlines in values and others that you know do not (and so can benefit from parallelisation).

Do you think it would still be desirable to be able to turn off file-level partioning for CSVs only (and/or to vary it on a per-type basis)?
I'm not familiar enough with Parquet to understand if there would be a functional reason to disable it for that format?

Yes, using the global option is only a quick fix.
I think it's a good idea to add an extra option field for individual files, and later the planner can make better decisions based on per file's newlines_in_values property (like for now disable parallel execution)
And it can be CSV-specific, parquet seems not relevant here.


apx: 1.7.0-1 -> 1.8.2

Description of changes
Closes #234776.
I tried testing it, but it reported the following:
2023/05/31 06:31:51 Unsupported setup detected, set a default distro and package manager in the config file

I'm unsure if that's an issue or if I don't know how to use it, but I tried 1.7.0-1, and it reported the same.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 235126 run on x86_64-linux 1

1 package built:

apx


Add logger implementation in test scope to avoid slf4j warnings and t…

…o see the logs when running tests

Basic information

nrich version:
1.1.1
Module:
Project

Additional information

Description
Currently in test only a Slf4j warning is logged, no logs are present.
Summary
Added logback as logger implementation in test scope.
Details
Added logback as logger implementation in test scope.
Related issue
https://github.com/croz-ltd/nrich/issues/20
Types of changes

Enhancement (non-breaking change which enhances existing functionality)

Checklist

[x] I have read the project's CONTRIBUTING document
[x] I have checked my code with the project's static analysis tooling
[x] I have formatted my code with the project's IDEA code-style configuration
[x] I have checked my code for misspellings
[x] I have organized my changes in easy-to-follow commits
My change requires a change to the documentation
I have updated the documentation accordingly
I have added tests to cover my changes
[x] All new and existing tests pass.

Maybe simplify commit message to Add logger implementation in test scope to avoid slf4j warnings.

Are you sure about this, it is not about just avoiding the warning?

Maybe simplify commit message to Add logger implementation in test scope to avoid slf4j warnings.

Are you sure about this, it is not about just avoiding the warning?

The rest of the message seems obvious to me but if you think it is not we can keep it.

Maybe simplify commit message to Add logger implementation in test scope to avoid slf4j warnings.

Are you sure about this, it is not about just avoiding the warning?

The rest of the message seems obvious to me but if you think it is not we can keep it.

I would prefer to keep it, just so it is clearer.


how to upload multiple files ?

With this script i can't upload multiple files.
I added input like this:
<input id="file" type="file" name="file" multiple/>
but even if i choose multiple files, the preview shows me only one and in php i get only one file with $_FILES['file']
Maybe i don't understand the script or i miss something. Please, help me.

I am having a similar issue. I see multiple files in preview, but only one file is sent in post data.

Any suggestions for this issue?

Hello, boys,
I solved it this way!
First step - Replace HTML:
<input id="file" type="file" name="file" />
to
<input id="file" type="file" name="file" multiple="multiple" />
Second step - Replace JS (pekeUpload.js v2.0):
Line 103:
//pekeUpload.checkFile(pekeUpload.obj[0].files[0]);
make a comment out
And new Line 103:
for (var i = 0; i < pekeUpload.obj[0].files.length; i++) {
    pekeUpload.checkFile(pekeUpload.obj[0].files[i]);
}

And that's it
It works with both:
dragMode: false OR true
also in the dragarea or button
Lots of fun
Ron

But v2.1.1 version, I replace the line 60

a.checkFile(a.obj[0].files[0])

by

for (var i = 0; i < a.obj[0].files.length; i++) {
a.checkFile(a.obj[0].files[i]);
}

Thanks @ronjordan


Email validation is not proper

This name@com should throw an error.

I'm not sure I understand your question, could you please clarify and provide an example?

Valid Email format<EMAIL_ADDRESS>Invalid Email formats:
jouzalol@com
jouzalol@gmail
jouzalolgmailcom
jouzalolgmailcom

But this returns jouzalol@com as a valid format. Should throw an error.

It seems like your issue might be related to ajv itself, please open an issue there. Closing this for now, if it turns out it's related to this middleware, I'll reopen.

I have the same issue. @anistark, did you find the solution ?

@titib Been a while but If I remember, I ended up writing my own validator function 😛

I found the solution : use the last beta version as mentioned in the issue #58

@titib I'm curious to understand your issue a little better. Are you using ajv-formats to add support for the email format to Ajv?

@simonplend Yes, to solve the issue, I used ajv-formats.

Great, that's the official way to do validation of properties with the email format in Ajv v8.


Computing P(alive) Using the BG/NBD Model

I found that for all one-time buyers, the P(alive)==1.0, which is rather strange.
And later I find in the paper http://www.brucehardie.com/notes/021/palive_for_BGNBD.pdf that it's the shortcoming of the mathematical formula being used since the model assume that death
occurs after a purchase and that customers are alive at the beginning of the
observation period. The paper also introduced a variant of the basic BG/NBD model which also estimate the number of dead at the beginning of observation period. It would be nice if that variant will be included in the library. I'm not yet able to figure out how to find the parameters of the likelihood function, may spend some time on it but not sure if I can make it since I don't have experience in solving likelihood function.

Hi @jackyckma, derivations for the Modified MG/NBD model are included in this paper http://research.sabanciuniv.edu/20/1/stvkaf01939.doc
I implemented the changes for this model locally, and it seems to work as promised in that one-time buys have an exponentially decaying P(alive). I've been meaning to put it into a PR, and now since there is some explicit interest, I'll try to put it together in the next couple days.
The only thing I'm trying to think through is that since the implementation is mostly modification of the BG/NBD model, whether it makes sense to almost duplicate most of the existing BG/NBD code with some modified coefficients, or to refactor some of the model class to make it as DRY as possible...

Take a look at the branch for #45 which has an implementation of this model.


Regarding the setting of sphere parameters

Hello,
I have a question regarding the setting of sphere parameters.
I wanted to use Mujoco to simulate the pouring of marbles from a cup as shown in the first movie,
and I have created the simulation shown below with a lot of help....!
https://user-images.githubusercontent.com/63595993/192478534-9feb97ac-95ee-47cb-9a39-6e3216c84c70.mp4
https://user-images.githubusercontent.com/63595993/192479910-049820dd-bd61-44f0-a736-1cec58d316cb.mov
Thanks to your many instructions, I was able to complete a rough simulation, but I think I still need to make minor tweaks.
Specifically, the problem is the difference that the simulation shows a smooth outflow from the lower part of the marble, while in reality the structure of the marble collapses and outflow occurs from the upper part of the marble.
I thought that the friction coefficients of the marbles and cups had something to do with this fine-tuning.
So I have changed the values of friction in geom, but there is no improvement.
I know this is a very detailed question, but I would like to know if there are other parameters that might be involved...!
Also, I read on this site that the values of sliding, torsional, and rolling friction can be changed friction of "geom", but is it possible to set the static friction coefficient?
Furthermore, I would like to adjust the value of the surface hardness of the marble, which seems to be related to it.
If there are any other values that I can change by myself, I would appreciate it if you could let me know.
Thank you in advance.

There is a bigger issue here.
 Until you do that adding friction will give you strange behaviour, as the balls cannot rotate.
Really this should be an option of the particle composite, and will be easy to implement.
I'll make an internal feature request for this. If you like you can open a new feature-request issue on GitHub which I will leave open until it is implemented.

Hello, @yuvaltassa
Thank you very much for taking the time to reply.
I am not sure if I am replying to the right question as this issue is currently closed, but I would like to confirm two points.
(1) I have currently defined type="sphere" and set freejoint as shown in the image below, but I am still not able to rotate it?
I did it so because I was not sure if it is possible to specify the position of each individual particle when it is defined as particles or not.

(2) Thank you for considering it as an option for Particle composite. However, I did not understand your response to the message,

If you like you can open a new feature-request issue on GitHub which I will leave open until it is implemented.

Is it sufficient if I just tell you that I would like you to consider it?
Thank you in advance.

Ah hold on, how did you make that <freejoint>?
Yes that is exactly what I meant, but did you do it by saving an XML with a composite and replacing the sliders with a freejoint or did you not use the composite at all and just build your model from scratch?
In the case that you already have freejoints then your question totally makes sense.
Please attach the model that you are using and we will continue the discussion from there.

Hi, @yuvaltassa
Thank you for contacting me.
I don't use "composite"
because I thought that composite cannot specify the position of each individual particle.
However, if it is possible, I'd like to know how to do it.
I just set up freejoint based on this site.

I attached is the XML file.
particle.zip
I am afraid I am a beginner and don't understand a lot of points, but I would appreciate it if you could check it for me.
Thank you very much in advance.

Hi,
Just tried to take a look. Your model is not loadable. It says <include file="Cup_rotate_0722.xml"/>, but you did not include this file or its dependents. Please attach a loadable model and I will look again.

Hi, thank you for checking the file and I'm sorry for the error.
I attached my file again.
particle.zip
Thank you.


What api token permission is required to use cloudflare_total_tls

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
Using latest terraform
Affected resource(s)
cloudflare_total_tls
Terraform configuration files
resource "cloudflare_total_tls" "this" {
  zone_id = var.cloudflare_dns_zone_id
  enabled               = true
  certificate_authority = "lets_encrypt"
}

Link to debug output
none
Panic output
│ Error: error creating updating total TLS: Authentication error (10000)
Expected output
The resource works
│ Error: error creating updating total TLS: Authentication error (10000)
Actual output
│ Error: error creating updating total TLS: Authentication error (10000)
Steps to reproduce
│ Error: error creating updating total TLS: Authentication error (10000)
Additional factoids
What specific api token permission is required to be able to use this?
References
No response

as this isn't a Terraform issue, your best bet is to open a Cloudflare support ticket. you can also have a look at the API docs on api.cloudflare.com and see if the permissions listed under Total TLS are working here.


Echo show directive video

Added video directive for echo show skill:
	"directives": [
	 {
	     "type": "VideoApp.Launch",
		 "videoItem":
		 {
		     "source": "https://www.example.com/video/sample-video-1.mp4",
		    "metadata": {
			     "title": "Title for Sample Video",
			     "subtitle": "Secondary Title for Sample Video"
			}
		 }
    } ]

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Jasc01:x: Marcus BraunMarcus Braun seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Looks great! I'm going to merge it to my PR to support other directive types if you don't mind.

Yes please do so. To prevent further fragmentation of this project a new "main" fork is probably needed as the original one is starting to fall behind. The current "official" nuget package is pretty much obsolete by now. Your PR #53 is a good start and from what I see, the most complete implementation of the directives.


About descendant finder in flutter_driver

https://github.com/truongsinh/appium-flutter-driver/blob/914cef350656f6281a8328b7450ab89e83b642bd/finder/python/appium_flutter_finder/flutter_finder.py#L81
If used in python3, base64.b64decode(serialized_finder) returns a byte string? And finder seems to be expected a dict, and json dumps return a string?
After modified local flutter finder code, I get the command output with following:
{"command":"get_text","finderType":"Descendant","matchRoot":false,"of_finderType":"ByValueKey","of_keyValueString":"video_name_skip","of_keyValueType":"String","matching_finderType":"ByValueKey","matching_keyValueString":"txt_skip","matching_keyValueType":"String"}
But I failed to get the target. However, I can get the element by_value_key 'video_name_skip', 'txt_skip' seperately.
How can I get the descendant element with python? Thanks.

Thanks for the report. Could you try out https://github.com/truongsinh/appium-flutter-driver/pull/163 ? (It is available as 0.1.4)

Thanks for reply. I have a question. If element layer of flutter as following:
layer1(ByValueKey "video_name_skip")
-- layer2(ByValueKey "txt_skip_padding")
-- layer3(ByValueKey "txt_skip")
I try to use:
finder = FlutterFinder()
key_finder = finder.by_value_key("video_name_skip")
sub_key_finder = finder.by_value_key("txt_skip")
final_finder = finder.by_descendant(key_finder, sub_key_finder)
ele=FlutterElement(driver, final_finder)
print(ele.text)
output:
[debug] [FlutterDriver] Executing Flutter driver command 'getText'
[debug] [FlutterDriver] >>> {"command":"get_text","finderType":"Descendant","matchRoot":false,"of_finderType":"ByValueKey","of_keyValueString":"video_name_skip","of_keyValueType":"String","matching_finderType":"ByValueKey","matching_keyValueString":"txt_skip","matching_keyValueType":"String"}
[debug] [FlutterDriver] <<< {"isError":true,"response":"Uncaught extension error while executing get_text: Null check operator used on a null value\n#0      Descendant.deserialize (package:flutter_driver/src/common/find.dart:310:55)\n#1      DeserializeFinderFactory.deserializeFinder (package:flutter_driver/src/common/deserialization_factory.dart:32:44)\n#2      FlutterDriverExtension.deserializeFinder (package:flutter_driver/src/extension/extension.dart:405:18)\n#3      new CommandWithTarget.deserialize (package:flutter_driver/src/common/find.dart:32:30)\n#4      new GetText.deserialize (package:flutter_driver/src/common/text.dart:15:97)\n#5      DeserializeCommandFactory.deserializeCommand (package:flutter_driver/src/common/deserialization_factory.dart:49:39)\n#6      FlutterDriverExtension.deserializeCommand (package:flutter_driver/src/extension/extension.dart:425:18)\n#7      FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:371:31)\n#8      BindingBase.registerServiceExtension. (package:flutter/src/foundation/binding.dart:597:32)\n\n","type":"_extensionType","method":"ext.flutter.driver"} | previous command get_text
[debug] [MJSONWP (ae86ce36)] Encountered internal error running command: Error: Cannot execute command get_text, server reponse {
[debug] [MJSONWP (ae86ce36)]   "isError": true,
[debug] [MJSONWP (ae86ce36)]   "response": "Uncaught extension error while executing get_text: Null check operator used on a null value\n#0      Descendant.deserialize (package:flutter_driver/src/common/find.dart:310:55)\n#1      DeserializeFinderFactory.deserializeFinder (package:flutter_driver/src/common/deserialization_factory.dart:32:44)\n#2      FlutterDriverExtension.deserializeFinder (package:flutter_driver/src/extension/extension.dart:405:18)\n#3      new CommandWithTarget.deserialize (package:flutter_driver/src/common/find.dart:32:30)\n#4      new GetText.deserialize (package:flutter_driver/src/common/text.dart:15:97)\n#5      DeserializeCommandFactory.deserializeCommand (package:flutter_driver/src/common/deserialization_factory.dart:49:39)\n#6      FlutterDriverExtension.deserializeCommand (package:flutter_driver/src/extension/extension.dart:425:18)\n#7      FlutterDriverExtension.call (package:flutter_driver/src/extension/extension.dart:371:31)\n#8      BindingBase.registerServiceExtension. (package:flutter/src/foundation/binding.dart:597:32)\n\n",
[debug] [MJSONWP (ae86ce36)]   "type": "_extensionType",
[debug] [MJSONWP (ae86ce36)]   "method": "ext.flutter.driver"
[debug] [MJSONWP (ae86ce36)] }
[debug] [MJSONWP (ae86ce36)]     at FlutterDriver.exports.executeElementCommand (/usr/local/lib/node_modules/appium/node_modules/appium-flutter-driver/lib/sessions/observatory.ts:126:11)
[debug] [MJSONWP (ae86ce36)]     at processTicksAndRejections (internal/process/task_queues.js:97:5)
[debug] [MJSONWP (ae86ce36)]     at FlutterDriver.exports.getText (/usr/local/lib/node_modules/appium/node_modules/appium-flutter-driver/lib/commands/element.ts:4:20)
I could't find the root cause. What's wrong with my code? Thanks a lot!

I guess it tried to return null...
https://api.flutter.dev/flutter/flutter_driver/flutter_driver-library.html
For example, the element should be null safety, but it had no value.


Remove \s from [:space:] and [:blank:]

This patch fixes definitions and updates the tests.
Close #1.

sorry for the delay!

tagged and published as 0.1.2, thanks!


Model - Character States - two more fields

Add two more field to the Character State model:

name for the automatic description
name for the interactive key
The issue is related to the previous one.

Closing this.  We'll add another issue to discuss where to add the fields in the interface(s).


Fix subscriber input variable handler

what
Adds a valid key of type string for sns subscriber handler
why
A recent commit adds defaults to subscriber input but also breaks any input on map key type:

Proposed fix tested with following input, pulled from cloudposse/terraform-aws-sns-topic:
locals {
  subscribers = {
    opsgenie = {
      protocol = "https"
      endpoint = "https://api.example.com/v1/"
      endpoint_auto_confirms = true
    }
  }
}

module "test" {
  source = "../terraform-aws-config"
  # Cloud Posse recommends pinning every module to a specific version
  # version     = "x.x.x"

  create_sns_topic = true
  create_iam_role  = true

  subscribers = local.subscribers
}

thanks
Thank you for these modules! ❤

James and I found this PR is valid. Could you please re-open the PR?


Update Usage commands

Right now executing commands from Usage section will cause an error. Either git clone should clone repo to Kind dir or cd Kind/base should become cd kind/base.

Thanks!


Turn off coverage gathering for simulation-only initial blocks

Checklist

[x] Did you write out a description of the feature you want to see?
[x] Did you look around for any related features?
[x] Did you specify relevant external information? -- Not aware of any

Feature Description

During code emission, it would be nice to turn off (optionally) coverage for the random initialization code initial blocks. These constitute a large portion of lines of code and are difficult to cover since they are randomly initialized.
For certain tool flows it can be turned off by wrapping the  initial block with // VCS coverage off and // VCS coverage on
Similar to the addition of ifndef SYNTHESIS:
https://github.com/freechipsproject/firrtl/blob/5c0c0018d812d57270035a9d3bd82e2289acf4ec/src/main/scala/firrtl/Emitter.scala#L717
If done as requested, it would look like the following:
`ifndef SYNTHESIS
// VCS coverage off
initial begin
...

end // initial
// VCS coverage on
`endif // SYNTHESIS

Or, it could be done in a vendor-agnostic way with a define like:
`COVERAGE_ON

`COVERAGE_OFF

where users could define these macros as they see fit
Type of Feature

Related Features

Similar to the code for `ifndef SYNTHESIS added here:
https://github.com/freechipsproject/firrtl/blob/5c0c0018d812d57270035a9d3bd82e2289acf4ec/src/main/scala/firrtl/Emitter.scala#L717
External Information

perhaps this should be expanded for generic BEFORE_INITIAL and AFTER_INITIAL macros which can be populated with a variety of macros by the final verilog user

@mwachs5 can this be closed, since #1550 has been merged?

Closed by #1550 🎉


How can I log info in the chrome devtoll when start nodejs with --inspect

I know in node environment log use this log function
function log(...args) {
	return process.stderr.write(util.format(...args) + '\n');
}

Messages shown in the terminal is correct.
But In my app which is build by electron, I want to know log messages only use --inspect to start app, but message will never be shown in the chrome://inspect devtool.
So, is there a way to do that?

You'll have to ask the Electron team, sorry. I don't know enough about the inspector protocol with Electron to know.


Doesn't confirm that the constructor is a function

I have a plain JS object that is failing the check because it has an attribute called "constructor". But it is defined as a string. This should still be considered a plain JS object.
const myPlainObj = {"code":"invalid_user_password","constructor":"Object","extras":{},"message":"invalid_user_password"};
if (isPlainObject(myPlainObj)) console.log('It is Plain');
else console.log(":(");

https://github.com/jonschlinkert/is-plain-object/blob/master/is-plain-object.js#L17-L19 would likely need to change.
I can create a PR if you'd like.

Okay, I see you have specifically checking for this since pretty much the beginning, and I'm guessing because there are potentially other implications of setting a field called constructor in JSON. Feel free to close this if you'd like. In my use case where I thought I needed this, I have to ignore it anyway because it messes with something else in my framework if you do this.


Question: Access buffer

I want to manipulate a buffer on the pixel level. Is there a library that allows me to access and write (to) a Buffer (x, y, channel) correctly, depending on given sharp metadata?
An API like:
PixelAccess a = new PixelAccess(metadata, buffer)
var value = a.read(x, y, channel)
a.write(x, y, channel, newValue)

This question makes no sense as long as I cannot access the raw buffer. ( https://github.com/lovell/sharp/issues/1454 )

Closing in favour of #1454


docker run : linux on 5000 not working

After
--> docker run -it --rm -p 5000:80 --name aspnetcore_sample aspnetapp
-->http://localhost:5000 does not work.
To make it work had to perform below steps:
-> Get the container IP using --> docker inspect [container id]
-> In my case http://<IP_ADDRESS>/ -->Done

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

ID: 3653642e-61ef-717b-5436-9bd0a3c4e6f4
Version Independent ID: 80c1ce51-46fb-0693-525a-7cad37150c7b
Content: Docker images for ASP.NET Core
Content Source: aspnetcore/host-and-deploy/docker/building-net-docker-images.md
Product: aspnet-core
Technology: aspnetcore-hostdeploy
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@amitdixit I tried it with Ubuntu 18.04 and can't replicate the error.  What distro/version are you using?

Closing the issue for now. Will reopen when information is available that makes it possible to repro the error.


cmake: Findedit.cmake -> Findlibedit.cmake

Resolves the following warning:
The package name passed to find_package_handle_standard_args (libedit)
does not match the name of the calling package (edit).  This can lead to
problems in calling code that expects find_package result variables
(e.g., _FOUND) to follow a certain pattern.
Signed-off-by: Tim Whisonant<EMAIL_ADDRESS>

Coverage remained the same at 65.501% when pulling 045af0537f6deafdb23df89d4f737675b7489dd4 on tswhison/libedit into 8a3eb86592df2241ec1b6e42077e8eacb7342216 on master.


tweaks

I think it's ready to release 1.0.0 now. Anyone against? You have 30 seconds to object :D

1.0.0

@mathiask88 I think you should add yourself to contributors in package.json :)

@ralphtheninja #7 :)


Deletable BF?

There is in "Counting Bloom Filter" you wrote:
"See Deletable Bloom Filter for an alternative which avoids false negatives."
but there is no DBF description.

Maybe he meant the CuckooBloomFilter?


[DO NOT MERGE] Upgrade to rails 4 2

This just so happens to be mergeable.. But master isn't deployable at the moment.

👍


CI pipelines broken

The recent update of the image cytopia/phpcs:3 broke our CI pipeline in GitLab:
ERROR: Job failed (system failure): Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/ash": stat /bin/ash: no such file or directory: unknown (exec.go:57:0s)
Seems like it not based on Alpine Linux anymore.
This used to be the job in GitLab:
codesniffer:
  stage: test
  cache: {}
  image:
    name: cytopia/phpcs:3
    entrypoint: [ "/bin/ash", "-c" ]
  before_script:
    - phpcs --version
  script:
    - phpcs

But now we have to find another way to check the code style.

Can you try:
codesniffer:
  stage: test
  cache: {}
  image:
    name: cytopia/phpcs:3
    entrypoint: [ "/bin/sh", "-c" ]
  before_script:
    - phpcs --version
  script:
    - phpcs

(/bin/sh instead of /bin/ash)

Different error now: sh: 3: set: Illegal option -o pipefail
I wonder how this image is intended to be used now.

There is actually no functional change in the Dockerfile. It just didn't build and push updates for a very long time. I will do some invest and see that ash can be re-added

Hi, I'm having a similar issue. My .gitlab-ci.yml looks like:
phpcs:
  stage: quality
  image:
    name: cytopia/phpcs
    entrypoint: ["/bin/sh", "-c"]
  script:
    - phpcs --error-severity=1 --warning-severity=8 --report=junit > report-phpcs.xml
  artifacts:
    reports:
      junit: report-phpcs.xml

@oliworx @thiagobraga
Images are finally pushed and should be fixed now.
I would suggest to stick to "Point in time releases" as they are not going to change. Once updates come in, simply pick a new git tag and try if it works for you.
Let me know what other docker images you are using I will then prioritize fixing them first.

Hi @cytopia. Some developers informed me that the pipeline is working again. I also checked in Gitlab CI and it is normal. I will make a commit soon to lock the version. Thanks.

Hi @cytopia I can confirm that cytopia/phpcs:3-php7.4 is working well for us now.


docs: adjust golang version in readme

When using go version 1.22 I received this error on building v0.13.0
make build
--> Building Celestia
...
# github.com/pyroscope-io/godeltaprof/internal/pprof
../go/pkg/mod/github.com/pyroscope-io/godeltaprof@v0.1.2/internal/pprof/delta_mutex.go:25:20: undefined: runtime_cyclesPerSecond
../go/pkg/mod/github.com/pyroscope-io/godeltaprof@v0.1.2/internal/pprof/proto.go:400:8: undefined: runtime_expandFinalInlineFrame
make: *** [Makefile:38: build] Error 1

Reverting to go v1.21.7 builds fine.
Propose restricting the go version in the readme to v1.21.X until v1.22 is tested and verified.

Likely to be fixed by the new pyroscope client version. I would better bump it, if available, instead of limiting 1.22

The issue is fixed long time ago in godeltaprof. Need to bump pyroscope in node and in core:
go mod why github.com/pyroscope-io/godeltaprof
# github.com/pyroscope-io/godeltaprof
github.com/celestiaorg/celestia-node/core
github.com/celestiaorg/celestia-app/test/util/testnode
github.com/tendermint/tendermint/node
github.com/pyroscope-io/client/pyroscope
github.com/pyroscope-io/godeltaprof

closing, we'll fix this in https://github.com/celestiaorg/celestia-node/issues/3178 imminently


!"[-𝐯𝐢𝐫𝐚𝐥!𝐜𝐥𝐢𝐩𝐬-]~ Atul subhash case Video Original Video Link Telegram Atul subhash case Video Viral On Social Media X Trending Now 4594

29 seconds ago
L𝚎aked Video Atul subhash case Original Video Viral Video L𝚎aked on X Twitter Telegram
[-wATCH-]— Atul subhash case Video Original Video Link Atul subhash case Video Viral On Social Media X Trending Now
[-wATCH-]— Atul subhash case ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Atul subhash case ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Atul subhash case Video Original Video Link Atul subhash case Video Viral On Social Media X Trending Now
Atul subhash case Original Video video took the internet by storm and amazed viewers on various social media platforms. Atul subhash case, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Atul subhash case Original Video Viral Video L𝚎aked on X Twitter
Atul subhash case Original Video video oficial twitter
L𝚎aked Video Atul subhash case Original Video Viral Video L𝚎aked on X Twitter..yjhgrdafassf
Khulna
.

2

BOL Entertainmen Muskan Viral Video Tutorial Original Video video took the internet by storm and amazed viewers on various social media platforms. Tutorial, a young and talented digital creator, recently became famous thanks to this interesting video


macOS window issues

There are a few things that make Tauri windows a little weird on macOS:

The position of the window is not in the center by default, and it's not remembered. Every time Tauri starts, the window shows up in the bottom left corner
No window title
No border around the windows (especially noticeable in dark mode)
There's no drop shadow behind the windows, but this should be fixed already (https://github.com/tauri-apps/tauri/issues/1033)

Are you using the dev branch? If so, please reopen this issue.

Assumed these still existed because I couldn't find any issues mentioning them, but looks like they are fixed 👌


Send ScriptErrorEvent when load fails.

Love this project. Using it to make a little game programming environment for my eight year old. In this PR I merely closed the loop to ensure either a ScriptLoadedEvent was fired or a ScriptErrorEvent was fired.

This makes sense to me, and that's an amazing project 😃 Thanks for the PR!


Cast to PiP

Is there a way to cast to PiP? I would like to be able to cast my front door camera to a Picture In Picture screen while I'm watching TV so the camera feed doesn't take over the whole TV screen.
Cheers for your work on this Addon..

Any progress on this?


feature add mobile verfication

Description of Changes
Purpose

[ ] Adding a new file
[ ] Changing an existing file

Affected Files
List the files that are being added or changed:

path/to/file1
path/to/file2

Proposed Changes
Provide a brief description of the changes you are proposing:
Screenshots (if applicable)
Please attach any screenshots that will help explain your changes:

@toxic-candy @Rtarun3606k I would love to work on this using free api services to complete the verification process

@toxic-candy @Rtarun3606k I would love to work on this using free api services to complete the verification process

Sure proceed but mention what services you are using


feat: port CategoryTheory.Monad.Kleisli

I mentioned this in class so I thought it appropriate.

Thanks!
bors r+


Uncaught TypeError: Cannot read property 'split' of null

Thanks in advance for your bug report!

[X] Have you reproduced issue in safe mode?
[X] Have you used the debugging guide to try to resolve the issue?
[X] Have you checked our FAQs to make sure your question isn't answered there?
[X] Have you checked to make sure your issue does not already exist?
[X] Have you checked you are on the latest release of Pulsar?

What happened?
Description
I checked the diffs before committing and then committed the changes, leaving the diffs tab open. After committing, that tab was empty. The next morning, I found the following error.
Versions
Pulsar: 1.106.0 x64
Electron: 12.2.3
OS: Ubuntu 22.04.2
Thrown From: github package 0.36.16
Stack Trace
Uncaught TypeError: Cannot read property 'split' of null
At /opt/Pulsar/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1323

TypeError: Cannot read property 'split' of null
    at Diff.lineDiff.tokenize (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/line.js:22:32)
    at Diff.diff (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/base.js:36:39)
    at Object.diffLines (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/line.js:47:19)
    at /app.asar/node_modules/text-buffer/lib/text-buffer.js:805:29
    at TextBuffer.transact (/app.asar/node_modules/text-buffer/lib/text-buffer.js:1320:16)
    at TextBuffer.setTextViaDiff (/app.asar/node_modules/text-buffer/lib/text-buffer.js:800:10)
    at CommitController.componentDidUpdate (/app.asar/node_modules/github/lib/controllers/commit-controller.js:106:30)
    at commitLifeCycles (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:22117:22)
    at commitLayoutEffects (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:25344:7)
    at HTMLUnknownElement.callCallback (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:336:14)
    at Object.invokeGuardedCallbackDev (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:385:16)
    at invokeGuardedCallback (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:440:31)
    at commitRootImpl (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:25082:9)
    at unstable_runWithPriority (/app.asar/node_modules/scheduler/cjs/scheduler.development.js:697:12)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12149:10)
    at commitRoot (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24922:3)
    at finishSyncRender (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24329:3)
    at performSyncWorkOnRoot (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24307:9)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12199:24
    at unstable_runWithPriority (/app.asar/node_modules/scheduler/cjs/scheduler.development.js:697:12)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12149:10)
    at flushSyncCallbackQueueImpl (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:12194:7)
    at flushSyncCallbackQueue (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:12182:3)
    at scheduleUpdateOnFiber (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:23709:9)
    at Object.enqueueSetState (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:13994:5)
    at ObserveModel.Component.setState (/app.asar/node_modules/react/cjs/react.development.js:325:16)
    at ModelObserver.didUpdate (/app.asar/node_modules/github/lib/views/observe-model.js:21:14)
    at ModelObserver._refreshModelData (/app.asar/node_modules/github/lib/models/model-observer.js:58:14)

Non-Core Packages
atom-beautify 0.33.4
atom-clock 0.1.18
atom-ide-base 3.4.0
atom-ide-code-format 1.0.3
atom-ide-datatip 0.25.0
atom-ide-definitions 0.4.2
atom-ide-hyperclick 1.0.11
atom-ide-markdown-service 2.1.0
atom-ide-outline 3.2.0
atom-ide-signature-help 0.16.0
busy-signal 2.0.1
choose-pane 0.8.0
clang-format 2.0.8
dark-one-dark-syntax 2.3.0
easy-motion-redux 1.3.3
file-icons 2.1.47
git-blame 1.8.0
hey-pane 1.2.0
ide-ccls 0.3.0
intentions 2.1.1
linter 3.4.0
linter-ui-default 3.4.1
move-tab-or-split 1.1.1
pristine-ui 1.1.11
project-manager 3.3.8
rainbow-csv 1.4.0
split-diff 1.6.1
todo-show 2.3.2

Pulsar version
1.106.0
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
Ubuntu 22.04.2
Which CPU architecture are you running this on?
64-bit(x86_64)
What steps are needed to reproduce this?
Not reproducible.
Additional Information:
No response

Thanks a ton for reporting this!

It seems that the error appears every time I do (some kind of?) rebase with the directory open in the editor. I will try to reproduce the error.

Also hitting this issue
Versions
Pulsar: 1.114.0 arm64
Electron: 12.2.3
OS: macOS 14.3.1
Thrown From: github package 0.36.20
Stack Trace
Uncaught TypeError: Cannot read property 'split' of null
At /Applications/Pulsar.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1323

TypeError: Cannot read property 'split' of null
    at Diff.lineDiff.tokenize (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/line.js:22:32)
    at Diff.diff (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/base.js:36:39)
    at Object.diffLines (/app.asar/node_modules/text-buffer/node_modules/diff/lib/diff/line.js:47:19)
    at /app.asar/node_modules/text-buffer/lib/text-buffer.js:805:29
    at TextBuffer.transact (/app.asar/node_modules/text-buffer/lib/text-buffer.js:1320:16)
    at TextBuffer.setTextViaDiff (/app.asar/node_modules/text-buffer/lib/text-buffer.js:800:10)
    at CommitController.componentDidUpdate (/app.asar/node_modules/github/lib/controllers/commit-controller.js:106:30)
    at commitLifeCycles (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:22117:22)
    at commitLayoutEffects (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:25344:7)
    at HTMLUnknownElement.callCallback (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:336:14)
    at Object.invokeGuardedCallbackDev (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:385:16)
    at invokeGuardedCallback (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:440:31)
    at commitRootImpl (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:25082:9)
    at unstable_runWithPriority (/app.asar/node_modules/scheduler/cjs/scheduler.development.js:697:12)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12149:10)
    at commitRoot (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24922:3)
    at finishSyncRender (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24329:3)
    at performSyncWorkOnRoot (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:24307:9)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12199:24
    at unstable_runWithPriority (/app.asar/node_modules/scheduler/cjs/scheduler.development.js:697:12)
    at /app.asar/node_modules/react-dom/cjs/react-dom.development.js:12149:10)
    at flushSyncCallbackQueueImpl (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:12194:7)
    at flushSyncCallbackQueue (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:12182:3)
    at scheduleUpdateOnFiber (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:23709:9)
    at Object.enqueueSetState (/app.asar/node_modules/react-dom/cjs/react-dom.development.js:13994:5)
    at ObserveModel.Component.setState (/app.asar/node_modules/react/cjs/react.development.js:325:16)
    at ModelObserver.didUpdate (/app.asar/node_modules/github/lib/views/observe-model.js:21:14)
    at ModelObserver._refreshModelData (/app.asar/node_modules/github/lib/models/model-observer.js:58:14)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Commands
     -1:06.4.0 intentions:highlight (input.hidden-input)
     -1:06.4.0 find-and-replace:show (input.hidden-input)
     -1:04.8.0 core:confirm (input.hidden-input)
     -0:50.4.0 intentions:highlight (input.hidden-input)
  2x -0:48 core:move-right (input.hidden-input)
  2x -0:47.4.0 core:backspace (input.hidden-input)
 10x -0:46.3.0 core:move-left (input.hidden-input)
     -0:44.6.0 core:backspace (input.hidden-input)
     -0:43.4.0 intentions:highlight (input.hidden-input)
     -0:42.6.0 editor:select-to-end-of-word (input.hidden-input)
     -0:40.4.0 intentions:highlight (input.hidden-input)
     -0:40.2.0 core:save (input.hidden-input)
     -0:37.2.0 core:backspace (input.hidden-input)
     -0:36.6.0 intentions:highlight (input.hidden-input)
     -0:36.6.0 github:commit (input.hidden-input)
     -0:22.9.0 github:pull (span.)

Non-Core Packages
atom-clock 0.1.18
atom-inline-blame 0.0.10
busy-signal 2.0.1
intentions 2.1.1
language-cmake-2 1.1.1
language-jenkinsfile 0.1.1
linter 3.4.0
linter-flake8 2.4.0
linter-pylint 2.1.1
linter-ui-default 3.4.1
multi-cursor 3.0.0


Inference API: Pinning models doesn't seem to work

We've pinned models (both using the API call and using the dashboard at https://api-inference.huggingface.co/dashboard/pinned_models), but still get "currently loading" errors when we try to make inference API calls.
One example: model https://huggingface.co/redwoodresearch/redwood_deberta-v3-sift_82b19d290a74410caa804fa47e94a80b (private but we can make it public if that would help). It's currently (supposedly) pinned but still requires a minute of warmup after a period of inactivity.

I am unsure how exactly this relates to the Accelerate library. I think you opened an issue in the wrong place.

Yep, sorry, followed the wrong series of links.


Question: Performance on Android ~13 fps vs ~30fps on Unity Editor, how to optimize performance

Hi @keijiro, thank you for the great project. I've run the project on Android and I'm getting much lower FPS vs Unity Editor. Could I ask for any advice to tune the performance for Android? This project uses computeshader and much of the advice for optimizing Barracuda is for creating and running tensors.
I've tested the Google mediapipe demo and the performance is closer to that of unity editor demo, so it seems like its possible to reach that level optimization on the same mobile hardware.

Hi Keijiro, yes I just did on a Samsung S22. I'm getting 40 fps in the mobile browser.

Hi Keijiro, yes I just did on a Samsung S22. I'm getting 40 fps in the mobile browser. Used my other account, apologies for the confusion

Did you try Vulkan? (Player Settings -> Graphics API)

Yes, I'm running it on Vulkan

Okay. Then I think there is almost nothing to do it. As far as I tried, Barracuda on mobile runs slower than TensorFlow Lite in some cases. I wonder if you should try other TFLite on Unity solutions instead.

Got it. Thanks for the redirect. Looking at asus4 tf-lite right now. Thank you for the redirect! :)


Mix/webpack modules unable to bind to global jQuery when objects are dynamically created

I'm able to mix/compile my spark project resources where jQuery is globally available in app.js.  The problem I'm having is some of my jQuery modules are called on an ajax success and are not dynamically binding to the global jQuery object.  I've mix/webpacked the flot chart jQuery modules into a ux-full.js, for example.  I then make an ajax call where on success I create and render this new chart like below:
$.ajax({
                type: "GET",
                contentType: 'application/json; charset=utf-8',
                dataType: 'json',
                data: {id: id},
                url: '../../getChart',
                success: function (data) {
                       ...many options set here from the return data object to populate this chart...

                       $.plot($("#sample"), data, options);
                etc..

When this page is rendered, the ajax call returns an error indicating that $.plot is not a function which make me believe that  the .plot is not binding to the global jQuery object as its being created dynamically.
My fully rendered page contains the app.js (including jQuery as a global) and ux-full.js (containing all of the mix'd flot*.js files) and assembled in the correct order as shown below:
    <!-- JavaScript -->
    <script src="/js/app.js"></script>
    <script src="/js/ux-full.js"></script>

    this script below is injected when the page is rendered because the data is always different

        <script>
        $(document).ready(function() {
            var data = [[1, 12], [2, 25], [3, 4]];
            var options = {
                series: {
                    lines: { show: true },
                    points: { show: true }
                }
            };

            $.plot($("#sample"), data, options)
            ....
       });
      </script>

I used to be able to gulp everything, including jQuery, into a single file and this worked perfectly.  However, I'm just sure I'm missing something in being able to correctly associate this object with jQuery when it's being dynamically created.

I guess I am having sort of the same problem. I am compiling my JS (which is working fine) but on top of it I am including an additional JS file for a WYSIWYG-editor that depends on jQuery but for some reason can't find it.

I used the same scenario as described above but removed all of the complexities and variables associated with using the jQuery flot charting object and tested using a simple jQueryUI component.
Then scenario and issue remains the same:

use a spark/laravel 5.4 install (or where app.js includes jQuery as global)
npm install --save jquery-ui-bundle
webpack .combine and .js as appropriate ('node_modules/jquery-ui-bundle/jquery-ui.xx')
verify that jqueryui is compiled into supporting css/js files (mine is ux-full.css/js)
assemble page resources adding app.js followed by ux-full.js
place a button (#opener) and div (#dialog) on the page
on page, make an ajax call to a controller where on success set #dialog.text('testing');

so far, so good, at least we know that jQuery is being called successfully.  Now it's time to dynamically call jQueryUI.

now that we know that jquery/ajax works, let's replace the on success test with a simple jqueryui component

 $.ajax({
                type: "GET",
                contentType: 'application/json; charset=utf-8',
                dataType: 'json',
                data: {symbol: getsymbol},
                url: '../../getCharts',
                success: function (data) {
                   //$( "#dialog" ).text('testing');
                   $( "#dialog" ).dialog({
                        autoOpen: false,
                        show: {
                            effect: "blind",
                            duration: 1000
                        },
                        hide: {
                            effect: "explode",
                            duration: 1000
                        }
                    });

                    $( "#opener" ).on( "click", function() {
                        $( "#dialog" ).dialog( "open" );
                    });
                }
            });

Notice the error messaging Uncaught TypeError: $(...).dialog is not a function which again indicates that this dynamically created component is not binding to the global jQuery object.

WFIW: the problem was simply that jquery-ui.js was not being compiled into the app.js and therefore not available globally.  Since I'm using laravel/spark/mix, the normal addition the require call to bootstrap.js was not grabbing the jquery-ui.js file.  I had to add this require to the app.js file as follows
require('spark-bootstrap');

require('./components/bootstrap');

require('../../../node_modules/jquery-ui-bundle/jquery-ui.min.js');

var app = new Vue({
    mixins: [require('spark')]
});

Now jquery-ui, and all of my other supporting jQuery modules are available for my dynamic calls.


cannot get mongodb to work

I am using MongoDB Atalas
After install the project, I changed the config in the .env file, replacing the default mongodb://localhost:27017/test with below. (password and database value applied). But I am getting below error when starting the app.js
MONGODB_URI=mongodb://yalaadmin:@cluster0-shard-00-00-nxsdd.mongodb.net:27017,cluster0-shard-00-01-nxsdd.mongodb.net:27017,cluster0-shard-00-02-nxsdd.mongodb.net:27017/?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin
MONGODB_URI=mongodb://yalaadmin:@cluster0-shard-00-00-nxsdd.mongodb.net:27017,cluster0-shard-00-01-nxsdd.mongodb.net:27017,cluster0-shard-00-02-nxsdd.mongodb.net:27017/?ssl=true&replicaSet=Cluster0-shard-0&authSource=admin
✓ App is running at http://localhost:3000 in development mode
Press CTRL-C to stop
/home/ec2-user/app/hackathon-starter-master/node_modules/mongodb/lib/mongo_client.js:338
throw err
^
MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED <IP_ADDRESS>:27017]
at Pool. (/home/ec2-user/app/hackathon-starter-master/node_modules/mongodb-core/lib/topologies/server.js:327:35)
at emitOne (events.js:96:13)
at Pool.emit (events.js:191:7)
at Connection. (/home/ec2-user/app/hackathon-starter-master/node_modules/mongodb-core/lib/connection/pool.js:274:12)
at Object.onceWrapper (events.js:293:19)
at emitTwo (events.js:106:13)
at Connection.emit (events.js:194:7)
at Socket. (/home/ec2-user/app/hackathon-starter-master/node_modules/mongodb-core/lib/connection/connection.js:177:49)
at Object.onceWrapper (events.js:293:19)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at emitErrorNT (net.js:1284:8)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Seems like the config I made in the .env file is not getting used, anyone could help me out? Many thanks in advance.

I encountered the same issue, and get passed that error by removing .env.example

Have you changed dotenv.load({ path: '.env.example' }); to dotenv.load({ path: '.env' }); in your app.js?

I have got it working now. thanks a lot for the help

Awesome! You're welcome.


Fix EventsBundle display.

Users were not able to create new events since the path to fullcalendar was not valid.
cf. https://github.com/ungdev/site-etu/blob/157fbb89119d48d7beba5c5f9be87ca787daa4c7/src/Etu/Module/EventsBundle/Resources/views/Main/index.html.twig#L24.

I think the version in Bower is not stable enough, as it worked when I used it the first time.
I merge it, but I think there is a problem with the Bower versionning.


the  task datasets is not a correct link

Yes, the task dataset is currently not publicly available. We will release the final version of the benchmark along with our refined method in early September, shortly after the camera-ready paper is published. Thanks for the reminder!

Are these planned to be released soon? Thanks for your great work!


Fix a possible memory leak in CMS_add_simple_smimecap

The return code of X509_ALGOR_set0 was not checked, and if it fails the key will be leaked.

No, master and 3.2 branches don't use X509_ALGOR_set0 here.
They seem to be fixed already in a quite different way.

This pull request is ready to merge

Merged to 3.1 and 3.0 branches.  Thanks!


Experimental: Build with meson

Try replacing setuptools_dso with meson.

Pattern match: https://github.com/scipy/scipy/pull/20321

Ok, have macos working (see https://github.com/mesonbuild/meson/issues/13554). Onto windows next :smile:

I'll squash the history before merging.
There is definitely more that can be done with meson (e.g. updating the C++ tests to use meson), but this should be sufficient for now.


RelationalMappingContext should create entities for user-types with a custom converter [DATAJDBC-375]

Mark Paluch opened DATAJDBC-375 and commented
RelationalMappingContext should maintain mapping metadata for user-types that have custom converters registered and are considered simple types by the SimpleTypeHolder.
Coming from R2DBC, one might want to register a custom converter for read/write customization but still want to use @Table annotations or NamingStrategy in the context.
Right now, we do not create a PersistentEntity hence metadata cannot be used.
We should also consider that Dialect may also contribute simple types so we should not register mapping metadata for these types

No further details from DATAJDBC-375

Closing as duplicate of #520


Proposal: Don't use a toy language

My understanding from reading the other issues is: The idea of the book is that different concepts are explored and demonstrated with a simple toy language.
I see where this is coming from, but imo it leaves out the most important step in the process: Setting real requirements. If choices between bytecode formats or garbage collection strategies are arbitrary for the provided example, it's not really an example for a meaningful choice. Also it removes the accountability that these choices where actually the right ones.
I get that we don't want to be buried in too much detail, but i think that the semantic complexity of an embeddable dynamic language build for real world usage is not that much greater than a toy language that actually shows anything interesting.
The one thing that would be vastly more complex is the "chapter" about language design itself and all the parsing stuff, at least in comparison to the proposed s-expression based language. I propose to just leave that stuff out and replace it with a textual intermediate representation that is effectively an assembler for the bytecode. A chapter about parsing a super simplified language that we actually don't want to write and that is not the focus of the book has probably not that much value anyway.

I do think you're right about not making a toy language, I agree that the end-goal should be runtime code that can host a language with real-world requirements.  The point about using an s-expression based language is that it gives minimal emphasis to syntax and parser design when the focus is on implementing a runtime, it doesn't necessarily imply a toy language.
What specific requirements would you like to see?

What specific requirements would you like to see? Edit: a lot of that discussion is on the wg issues, of course, and would best be continued there.

Basically that. Use the progress and the decisions in the wg to inform the book and use the book to document the stuff we build in the wg.

The point about using an s-expression based language is that it gives minimal emphasis to syntax and parser design when the focus is on implementing a runtime, it doesn't necessarily imply a toy language.

I'm totally on board with de-emphasise the surface level design. But even when that part is simplified it is a distraction from the rest and does not provide much value in itself. Imo, leaving it out completely would be a better solution.


Profiler incurs significant overhead

Using the SIRIUS-enabled QE and running hp.x
After the hp.x run is finished, the SIRIUS profiler incurs a significant overhead.
Number reported below are from the attached file: slurm-stdout.txt
Time reported after the last q-point converges: Total CPU time :  2105.4 s (35m 05s)
Time reported by SIRIUS profiler (1st line): sirius          1       2.13 ks ....
Time reported by QE, just before exiting: HP           :      7h15m CPU      1h21m WALL (4860 sec)
So the generation of the profiling information takes around 46 minutes!
By disabling the profiler, however, information on the execution time of the cg-solver is lost because this part is executed by SIRIUS.
For the attached run, I used 2 nodes on Piz Daint, 1 MPI rank per node, 12 threads per MPI rank.
For the same run, distributed over 16 nodes, 1 MPI rank per node, 12 threads per MPI rank, the overhead of the profiler is just 22 seconds

The profile can be turned off in the production run. My guess is that we measure some very small and frequent functions that we don't need to mesure individually.

The output also contains a warning:
rt_graph WARNING: Start / stop time stamps do not match for "HP"!
This suggests that there may also be a bug when using the profiler, where a profiling stop call is not always used after a start call. When processing the timings, this can cause a performance issue, since the entire timing tree has to be checked for the missing time stamp (potentially many times). Although there is quite a large number of profiler calls in general, so calling the timer functions too frequently may also be a problem.

@AdhocMan indeed, this warning appears in all my hp.x runs but this significant overhead is not consistent...
It seems to be happening only when a single node is used with many threads per MPI rank.
This could give some direction as to where the bug is.
For the 1-node run (as reported above), the hp.x runs for 35 mins and the overhead is 46 mins.
For the 16-nodes run, hp.x runs for 5m 32s and profiler's overhead is 22 sec.

The warning is fixed on a commit on the q-e-sirius side: https://github.com/electronic-structure/q-e-sirius/commit/4a90fc06e651387d58f7ef79bb64480641c5fe02
SIRIUS was printing timer information before the hp run was properly finalized

Let's monitor the performance and then close the issue.


making it built-in vim

hi i love your contributions to vim eco system recently like comment and nohlsearch. My wish is can you make this plugin built-in to vim instead of netrw because netrw in windows copy is broken. it gives error and does not have a good UI/UX. However yours has so nice ui like emacs one. Can you make it built-in pls :)

It is not that easy :).
You will need to persuade vim core contributors to have additional file manager bundled with vim. And then other vocal vim users who might not like that idea.


pub.dartlang.org is case-sensitive for uploader usernames.

This issue was originally filed by<EMAIL_ADDRESS>
I'm trying to upload mongo_dart, using pub lish.
On first run I believe I choose right google account<EMAIL_ADDRESS>- I have two google account).
Now pub lish ends with error:
You are not uploader to package 'mongo_dart' (stack trace from --verbose pub lish is in attached file)
mongo_dart pubspec.yaml have authors tag with two authors. Maybe that's the problem.

Attachment:
error.txt (18.61 KB)

This issue has been moved to dart-lang/pub#382.


Support for zod superRefine in schema

Hi everyone 🤗. First of all, I'd like to thank you for developing this library. I just started using it, and it's pretty awesome!!! I love how fast you can come up with forms! Like seriously! Thanks 🤩!
I wanted to give a heads-up that I reached a small hiccup while working on dynamic forms. There's no support for zod objects that end with a superRefine! Since zod wraps them in a ZodEffects class its typing changes and it won't pass the TypeScript validation.
I ended up digging for a couple of hours to see how we could fix this issue, and it shouldn't be that problematic (AFAIK, I didn't study remix-forms much).
The solution seems to extract the schema from ZodEffects, like:
const _schema = schema._def.typeName === 'ZodEffects' ? schema._def.schema : schema;

I created a small monkey patch directly to the index.js files which solved this issue. Note that there are typing issues that need to be solved, which I didn't check.
Affected Version:
<EMAIL_ADDRESS>diff --git a/node_modules/remix-forms/dist/index.js b/node_modules/remix-forms/dist/index.js
index aed6004..ce4e483 100644
--- a/node_modules/remix-forms/dist/index.js
+++ b/node_modules/remix-forms/dist/index.js
@@ -528,9 +528,10 @@ function Form({
     fieldErrorsComponent,
     Error2
   ]);
+  const _schema = schema._def.typeName === 'ZodEffects' ? schema._def.schema : schema;
   React5.useEffect(() => {
     var _a2;
-    for (const stringKey in schema.shape) {
+    for (const stringKey in _schema) {
       const key = stringKey;
       if (errors && ((_a2 = errors[key]) == null ? void 0 : _a2.length)) {
         try {
@@ -542,16 +543,19 @@ function Form({
   }, [errorsProp, unparsedActionData]);
   let autoFocused = false;
   let fields = [];
-  for (const stringKey in schema.shape) {
+
+  for (const stringKey in _schema.shape) {
     const key = stringKey;
     const message = (_a = formErrors[key]) == null ? void 0 : _a.message;
-    const shape = schema.shape[stringKey];
+    const shape = _schema.shape[stringKey];
     const errorsArray = message && [message] || errors && errors[key];
     const fieldErrors = errorsArray && errorsArray.length ? errorsArray : void 0;
     const autoFocus = Boolean(fieldErrors && !autoFocused);
     if (autoFocus)
       autoFocused = true;
-    const { typeName, optional, nullable, getDefaultValue, enumValues } = shapeInfo(shape);
+
+      const { typeName, optional, nullable, getDefaultValue, enumValues } = shapeInfo(shape);
+
     const fieldType = typeName ? fieldTypes[typeName] : "string";
     const required = !(optional || nullable);
     const propOptions = options && options[key];

diff --git a/node_modules/remix-forms/dist/index.mjs b/node_modules/remix-forms/dist/index.mjs
index 4991000..bcfad61 100644
--- a/node_modules/remix-forms/dist/index.mjs
+++ b/node_modules/remix-forms/dist/index.mjs
@@ -470,6 +470,7 @@ function Form({
   const { formState } = form;
   const { errors: formErrors, isValid } = formState;
   const [disabled, setDisabled] = React5.useState(false);
+
   React5.useEffect(() => {
     const shouldDisable = mode === "onChange" || mode === "all" ? transition.state === "submitting" || !isValid : transition.state === "submitting";
     setDisabled(shouldDisable);
@@ -502,9 +503,11 @@ function Form({
     fieldErrorsComponent,
     Error
   ]);
+    const _schema = schema._def.typeName === 'ZodEffects' ? schema._def.schema : schema;
+
   React5.useEffect(() => {
     var _a2;
-    for (const stringKey in schema.shape) {
+    for (const stringKey in _schema) {
       const key = stringKey;
       if (errors && ((_a2 = errors[key]) == null ? void 0 : _a2.length)) {
         try {
@@ -516,10 +519,11 @@ function Form({
   }, [errorsProp, unparsedActionData]);
   let autoFocused = false;
   let fields = [];
-  for (const stringKey in schema.shape) {
+
+  for (const stringKey in _schema.shape) {
     const key = stringKey;
     const message = (_a = formErrors[key]) == null ? void 0 : _a.message;
-    const shape = schema.shape[stringKey];
+    const shape = _schema.shape[stringKey];
     const errorsArray = message && [message] || errors && errors[key];
     const fieldErrors = errorsArray && errorsArray.length ? errorsArray : void 0;
     const autoFocus = Boolean(fieldErrors && !autoFocused);

How to apply the patch
Note, for those lurking on this thread and who want to apply this in your package, please wait for the remix-forms team to find a fix! If by the time you're reading this and a patch hasn't happened, then you can:
yarn add patch-package

Create a patches folder at the root level and then add a remix-forms+0.18.2.patch file, as shown below

Add in your scripts object in package.json:
scripts: {
 // other scripts,
 "postinstall": "patch-package"
}

And in your Form object, convert the schema  to unknown and cast it to a typeof schema._def.schema so you can have all the TypeScript goodness:
e.g:

const schema =  z
    .object({
      planType: z.enum(["personal", "corporate"]),
      quantity: z.number().min(0),
    })
    .superRefine((arg, ctx) => {
      const isCorporate = arg.planType === "corporate";

      if (isCorporate && arg.quantity < 8) {
        ctx.addIssue({
          code: z.ZodIssueCode.too_small,
          minimum: env.corporateMin,
          message: `For corporate cards you must issue at least 8`,
          type: "number",
          inclusive: true,
          fatal: true,
          path: ["planType"],
        });
        return z.NEVER;
      }
    });

<Form
      schema={schema as unknown as typeof schema._def.schema}
    />

@superjose, thanks for the kind words and for coming up with a solution for us!
@diogob used your solution as an inspiration for #92 and we just released 0.19.0 with it 🎉 we also added examples to the site. Can you test it and let us know if it worked for you?
Thanks @diogob for the PR and @superjose for the issue!

@danielweinmann and @diogob Leeeet's gooooooooooooooooooo! I'll be trying it later on tonight! I'll post back in case I find something!
Thank you so much 🤩


is there any example for relation extraction (ubert)?

import argparse
from fengshen import UbertPiplines

total_parser = argparse.ArgumentParser("TASK NAME")
total_parser = UbertPiplines.piplines_args(total_parser)
args = total_parser.parse_args()
args.pretrained_model_path = 'IDEA-CCNL/Erlangshen-Ubert-110M-Chinese'  #预训练模型路径
test_data=[
    {
        "task_type": "抽取任务",
        "subtask_type": "关系抽取",
        "text": "姚明妻子叶莉罕见现身!39岁气质出众端庄,姚明却发福严重",
        "choices": [
            {"entity_type": "夫妻关系"}
            ],
        "id": 0}
]

model = UbertPiplines(args)
result = model.predict(test_data)
for line in result:
    print(line)

hi！@bifeng
ubert is developed for 2022AIWIN, and there is no relation extraction task in this competition. Therefore, we currently do not provide the decoding code for relation extraction. We are developing an upgraded version of ubert, which is specially developed for relation extraction tasks and will be open sourced in the near future

Hi @suolyer !
Is relation extraction open sourced now?


Collisions - nonphysical behaviours

Hi, I was trying to use Brax for simulating grasping and colliding objects. However, I could not realize my vision, since I approached several problems with Brax (starting with boxes, which did not collide, ending with pendling ball due to friction).
I gathered my examples into a collab: https://colab.research.google.com/drive/1jmEoetm0uKFT_4JiWysUWuH6lPAWYdAL?usp=sharing .
So, my question is: am I doing something wrong, or such things are just happening in Brax and would to be eliminated in the future. I was also thinking - maybe those inaccuracies are acknowledged and accepted as the cost needed to be paid in order to allow Brax to work as intended.

Hello! I took a look at your colab, and you're correct that we don't yet support box-box collisions (though this is on the horizon!).  The remaining issues seem to be an artifact of your integration step size being too large.  If you increase substeps from 4 to, say, 40, you'll find the weird behaviors will go away.

Ok :) So I am going to check it ! I am really looking forward to box-box collisions - when (roughly) can we expect that?

Ok, I applied your change - however, the ball is still running faster with time...
https://colab.research.google.com/drive/1kCSvWzesmJ2bljyoL0EO3QxFcxsWYqSx?usp=sharing

This is actually expected behavior.  Here's the ball's x-velocity as a function of time:

When a ball hits a surface with friction, it will dissipate any rotational energy that keeps the ball's rolling out of sync with the ground---that is, until the angular velocity, \omega * Radius, is the same as its linear velocity.  Once those are the same, there is no "slipping", and thus no friction force, thus the ball will keep rolling forever.
  If you absolutely need balls to stop rolling eventually, you could alternatively add a small velocity damping term.
box-box collisions will hopefully land in the next month or two :)

I'm closing this thread for now.  Feel free to reopen if you continue to see issues!


V0.0.9

Version 0.0.9
v0.0.9 of Slope-ECS.
Improvements

Major documentation style changes - see this issue.
Added a wiki.

Breaking Changes

Renamed ECSEntityManager#getAvailableEntities() to ECSEntityManager#getAvailableEntityCount() - see this commit.

Awaiting CI check before releasing on Maven Central.

The version in the build.gradle file needs to be updated to 0.0.9.

Awaiting Maven Central release before merging.

Maven Central release has finished up, so I'll do a quick sweep of the files and make sure to edit the wiki/source links to point to the main tree.

Aaaaaaaaaand now we're just waiting for maven search to update.

.......oh well, Maven Search takes too long to update. Merge anyways.

Version 0.0.9
v0.0.9 of Slope-ECS.
Improvements

Major documentation style changes - see this issue.
Added a wiki.

Breaking Changes

Renamed ECSEntityManager#getAvailableEntities() to ECSEntityManager#getAvailableEntityCount() - see this commit.


Windows Nodes: Log Rotation Stopped after the first snapshot got created

Description
We received customer tickets to GCP saying that log file size keep increasing and didn't rotate. Then we created a pod to keep logging and see what's happening. In summary, the log rotation will stopped after the first log snapshot got created. And then the log file (0.log under var/logs/container/pod) will keep increasing and never get rotated. This happens with/without log agent, and only on containerd node. (We tried docker nodes, it works fine) And this is only for Windows nodes as well.
Steps to reproduce the issue

Created a Windows containerd node pool with two Windows nodes - n1 and n2.
Disable log agent (fluentbit) on node n1.
Create pod "test4" on n1 and pod "test5" on n2 and start logging;

After some time, we see that log rotation stopped after the first snapshot got created (we expect that when 0.log file reaches 10MB,  it will rotate and generate a new snapshot log file. This is fine generating the first one, but it crushes when generate the second snapshot)
Then the log rotation won't happen at all, and the log file keeps increasing and consume a lot of memory

The log file above has reached 100Mb and didn't get rotated

Describe the results you received and expected
We expect that the log rotation will generate snapshot log file when 0.log reaches 10Mb, and the after sometime it will get deleted so log files won't consume more and more memory. But in fact, the log rotation stopped after the first snapshot got generated and log file never got deleted, keeping consuming more and more memory (some has reached 500Mb in our tests)
What version of containerd are you using?
1.5.0 - 1.6.2
What branch of the OSS repo?
Master branch
Any other relevant information
No response
Show configuration if it is related to CRI plugin.
No response

@marosset Wondering if you saw any similar issues with kubelet failing to do any further rotations (for container logs)?
Thanks @liurupeng!, can you also specify which branch on OSS you used for the above tests?

@cpuguy83 Did you look into log rotation on Windows in the past?
@dcantah / @kevpar might also have seen this?

I looked at this for Docker only.
In Docker the issue was when there are log readers we can't complete a rotate.
What we ended up doing is making sure to use FILE_SHARE_DELETE when opening the file, which partially fixed it. We recently made a change that should have fixed it the rest of the way by  renaming the file before deleting it.

On Windows, is log rotation owned by containerd? It is not on Linux.

On Windows k8s, the log rotation itself does not occur from containerd. Rather, something else (presumably the kubelet) rotates the logs, and then calls CRI's ReopenContainerLog function to tell the runtime to direct logs to the new file.
I don't know what would make this fail on Windows. Potentially this is a bug in kubelet or ReopenContainerLog is failing. @liurupeng have you looked at containerd or kubelet logs to see if there are any errors when rotation occurs (or when it should occur)?

Yeah, log rotation for container logs is handled by kubelet. What @liurupeng saw with the above case, is that rotation happens with no issues in case of docker as compared to containerd - hence it seemed that containerd is causing some kind of additional locking (for same k8s bits being utilized). @liurupeng can share more details on the tests and k8s version.

In addition to kubelet or containerd logs, another thing that may help is to collect the output of handle.exe for the log file in question when the problem occurs. This will show what has it open and what file sharing options have been set.

Hi @kevpar, we confirmed that this only happens for Windows container, and the error we saw is from this part (https://github.com/kubernetes/kubernetes/blob/bdd2e476959070b1698ba91c2f6e0cf3688338fd/pkg/kubelet/logs/container_log_manager.go#L398), "Failed to rotate log for container" err="failed to compress log "\\var\\log\\pods\\default_test4\\test5\\0.log.20220720-212745": failed to rename "\\var\\log\\pods\\default_test4\\test5\\0.log.20220720-212745.tmp" to "\\var\\log\\pods\\default_test4\\test5\\0.log.20220720-212745.gz": rename \var\log\pods\default_test4\test5\0.log.20220720-212745.tmp \var\log\pods\default_test4\test5\0.log.20220720-212745.gz: The process cannot access the file because it is being used by another process." path="\var\log\pods\default_test4\test5\0.log"

Then the log rotation will no longer happen, and the log file keeps increasing. So we are not sure why log rotation didn't happen and also why this happens on Windows OS and contanerd only.

It looks like Kubelet is taking an already rotated log file (0.log.20220720-212745), copying its contents into a gzipped temp file (0.log.20220720-212745.tmp), and then renaming the temp file to the final path (0.log.20220720-212745.gz). The final rename (0.log.20220720-212745.tmp -> 0.log.20220720-212745.gz) is what is failing, presumably because the final path already exists and something has it open.
I don't think containerd should ever have either the temp or final paths open, so it's probably not containerd that is causing the issue here.

Do you see any other errors from different parts of the log rotation process?
Are you able to get the handle.exe output and see what processes have the temp and final paths open when the node is in this state?

Thanks for the inputs @marosset!
As we discussed yesterday, it seems the error we're seeing in the compress step with the tmp file failing to be renamed might be related to the unclosed handles you pointed to in https://github.com/kubernetes/kubernetes/pull/110453/files# (they're being added there with the additional tests).
Looking now at the parent method, I guess it seems that if the compress fails (as there is some older logs), then the rotateLatestLog() won't be called? I got confused when I looked the first time and saw:
"failed to rotate log ...", but this actually comes from the original call here https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/logs/container_log_manager.go#L265. This is probably why we don't see errors with any actual further rotation. we do the rotation at the beginning, and as soon as compress start failing, no more rotation happens to this container.
As we agreed, I believe we'll need to have this fix separately, and get it back ported into 1.6. wdyt?
+@claudiubelu as well.

@kevpar I can easily reproduce this issue on AKS. Do you need any additional info? cc @marosset
kubelet.err.log
E1114 09:06:50.575711    5804 container_log_manager.go:259] "Failed to rotate log for container" err="failed to compress log \"\\\\var\\\\log\\\\pods\\\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\\\sample2\\\\0.log.20221114-082357\": failed t
o rename \"\\\\var\\\\log\\\\pods\\\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\\\sample2\\\\0.log.20221114-082357.tmp\" to \"\\\\var\\\\log\\\\pods\\\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\\\sample2\\\\0.log.
20221114-082357.gz\": rename \\var\\log\\pods\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\sample2\\0.log.20221114-082357.tmp \\var\\log\\pods\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\sample2\\0.log.20221114-0823
57.gz: The process cannot access the file because it is being used by another process." path="\\var\\log\\pods\\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\\sample2\\0.log" containerID="b7d88ec140cad01c7e6a6605df8f4f4b344e8d5b555fb9ccc8e305b457
406ea6"

Pod log files:
PS C:\var\log\pods\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\sample2>  ls

    Directory: C:\var\log\pods\default_sample2-5d8dcf6cdd-6dvgm_2b78e8b4-0e10-44f2-8d91-9fad431de117\sample2

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       11/14/2022   9:07 AM       **11773863** 0.log
-a----       11/14/2022   8:23 AM       10513833 0.log.20221114-082357

Nodes:
NAME                                STATUS   ROLES   AGE    VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE                         KERNEL-VERSION     CONTAINER-RUNTIME
aksnpwin000000                      Ready    agent   52d    v1.23.3   <IP_ADDRESS>   <none>        Windows Server 2019 Datacenter   10.0.17763.3406    containerd://1.6.6+azure

I think that we can close this since it is a bug in kubelet. I created a PR to fix it in https://github.com/kubernetes/kubernetes/pull/113970

Hi,
experiencing the same issue on a production platform, any idea when the fix will be released?


Pure Rust encoding library

Similar to #11, this will make compilation easier for some use cases. This will be more involved than decoding since intel_tex_rs uses the intel ispc compiler and is fairly complex. It may be better to make bindings to a smaller library first like https://github.com/elasota/ConvectionKernels and fuzz the Rust port against the original C++ code. It's also worth investigating the potential performance loss since intel_tex_rs makes heavy use of SIMD.

Another option for all formats except bc2 and bc6 is https://github.com/richgel999/bc7enc_rdo.


Custom target names containing bin lead to 'failed to parse the cfg from rustc --print=cfg' error

Steps to Reproduce

cargo new foo --lib and cd foo

Create file named custom-bin-target.json with the following content:
{
    "llvm-target": "x86_64-unknown-none-gnu",
    "data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
    "arch": "x86_64",
    "target-endian": "little",
    "target-pointer-width": "64",
    "target-c-int-width": "32",
    "os": "none",
    "linker-flavor": "ld.lld",
    "linker": "rust-lld",
    "executables": true,
    "panic-strategy": "abort"
}

Run cargo build --target custom-bin-target.json

The Error
The following error occurs:
error: failed to parse the cfg from `rustc --print=cfg`, got:
___
lib___.rlib
lib___.a
/home/philipp/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
debug_assertions
proc_macro
target_arch="x86_64"
target_endian="little"
target_env=""
target_has_atomic="16"
target_has_atomic="32"
target_has_atomic="64"
target_has_atomic="8"
target_has_atomic="cas"
target_has_atomic="ptr"
target_os="none"
target_pointer_width="64"
target_vendor="unknown"

Caused by:
  unexpected character in cfg `/`, expected parens, a comma, an identifier, or a string

Debugging
When renaming the target file to custom-target.json, the error disappears. Renaming to a-b-c.json and target.json works too, but anything with the substring "bin" leads to the same error (e.g. bin.json or aabinoo.json). So the problem seems to be the substring "bin", but I have now idea why.
Versions
cargo 1.39.0-nightly (9655d70af 2019-09-10)
rustc 1.39.0-nightly (ca3766e2e 2019-09-14)

This is a fairly simple parsing error caused by this line.  Any unsupported crate type in the target name will cause a problem, since it is naively scanning through the error message:

warning: dropping unsupported crate type dylib for target custom-bin-target-6482127030478907173

The solution should be to parse the error a little more tightly.

@ehuss Thanks for the pointer! I opened https://github.com/rust-lang/cargo/pull/7364 to fix this.


Added debug menu support for FW 9.03

Tested and working on my 9.03 PS4 Pro.

I have a 9.03 device and I'm going to try it now

I have a 9.03 device and I'm going to try it now

Nice, thanks!

I've just added a patch that fixes the debug settings errors

debug menu worked for me
Thanks @Simopich

debug menu worked for me
Thanks @Simopich

Np!

Also worked for me! (PS4 Pro 9.03)


Redirect Postmark

New Issue Checklist (tick off like this: [x])

[x] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)
[x] If you have a problem with a specific website: adding the domain to your no-skip-urls-list does not solve the problem
[x] The issue is not about adding entries to the default no-skip-urls-list

What is your browser?

[x] Firefox
[ ] Chrome

What is your operating system?

[ ] Linux
[x] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)
postmarkapp.com is using a shortener that has this format:
https://click.pstmrk.it/2sm/my.paddle.com%2Freceipt%2F00000000-00000000%2F00000000-aaaaa0aa000aa00-000aa00a0a/AaaAAAaA/0aA/aAAAaa0AA0/a0Aaa0AaaAA0aA0aA0AAA0AaaAA

It contains all data needed for a redirect, in this case, the page redirects to:
https://my.paddle.com/invoice/00000000-00000000/00000000-aaaaa0aa000aa00-000aa00a0a

I couldn't find in the source code if this is easy to implement, but something like this could work:
const url = "https://click.pstmrk.it/2sm/my.paddle.com%2Freceipt%2F00000000-00000000%2F00000000-aaaaa0aa000aa00-000aa00a0a/AaaAAAaA/0aA/aAAAaa0AA0/a0Aaa0AaaAA0aA0aA0AAA0AaaAA"
const matches = url.match(/https:\/\/click\.pstmrk\.it\/[a-z0-9]+\/([^/]+)/i);
const redirect = matches[1] ? "http://" + decodeURIComponent(matches[1]) : null;

These would be the places responsible for URLs that are part of the path:
https://github.com/sblask/webextension-skip-redirect/blob/main/url.js#L45
https://github.com/sblask/webextension-skip-redirect/blob/main/url.js#L25
As you can see only very general rules are supported, some protocols and www. No way to support your use case.

It's unfortunate it's not possible. But thanks for getting back to me. Appriciated.


Using ghapi

This is an experiment in using the tool ghapi instead of the GraphQL API.

closing this as the GitHub REST API doesn't give us the information that we want with a single query


import error in  "pico/sleep.h"

i had installed r pi pico sdk library but this error "pico/sleep.h"  is showing in vs code

pico/sleep.h is in pico-extras, maybe you mean this file.

What code are you trying to build?


Switch to GitHub Actions

This commit switches our CI from Travis CI + AppVeyor to GitHub Actions. There's a few minor problems still such as the Windows runners sometimes not being able to checkout the commit or upload the artifacts. This seems to be mitigated by running the Windows jobs first though. Other problems include that the currently released version of cross isn't compatible with GitHub Actions so we use a custom version in the meantime.

There's a couple of remaining issues with this:

Sometimes the network connection fails on the Windows jobs (checking out the commit or publishing a release).
You can't restart individual jobs, only the whole thing.
This uses a custom pre-release version of cross.
The 32-bit macOS build has been disabled. It doesn't seem to build. Supposedly 32-bit macOS is deprecated. Not sure if that's the problem though.
The asmjs build is disabled until the next cross version comes out.
FreeBSD is not supported anymore by cross.


Remove wrong workbench panels

These two changes are merged in develop already

Removed workbench investigation panels that are already shipped by ES
Updating jinja/response tasks files to test workbench with multiple tokens

These two changes are merged in develop already
Removed workbench investigation panels that are already shipped by ES
Updating jinja/response tasks files to test workbench with multiple tokens


Remove ipconfigMULTI_INTERFACE

Removes ipconfigMULTI_INTERFACE, which is only referenced in the tcp_utilities and one place in the Demos. If you guys disagree then no problem but it seems to me it's not worth it to further maintain compatibility between the tcp_utilities and an older version of +TCP. If somebody has a single interface version of +TCP then they'll have the old tcp_utilities that work with it as well. I can make a PR to remove that usage from the Demos if this gets approved.
Edit: I also just realized that's the purpose of ipconfigCOMPATIBLE_WITH_SINGLE anyways

/bot run formatting

/bot run formatting