PC screen skipping FPS but fps monitor in cmd shows 58-60 fps consistent

Environment
OS: [Windows10]
scrcpy version: [2.5]
installation method: [e.g. manual build]
device model: Poco F6/Redmi Turbo 3
Android version: [14]
Describe the bug
Hi. Just bought a new phone, the Poco F6/ Redmi Turbo 3, which has SD 8s Gen 3. I tried casting my games using scrcpy 2.5 but experienced frame skipping in my PC screen. Before buying this phone, I use Samsung A52s which runs smoothly with scrcpy 2.0. I tried everything, even lowering bitrate and resolution but still, output is not as smooth as my Samsung A52s which is kind of odd because SD 8s Gen 3's supposed to be more capable than my previous phone.
Is this due to the chipset being new or poco/redmi phones are not capable of smooth casting in scrcpy? Or maybe I'm  doing something wrong with my settings.
Please help. Thanks

If you record (scrcpy --record=file.mp4), is the resulting file "smooth"?

I tried recording and it's smoother than what I see on scrcpy screencast, finally!!!! I'm having hopes again now :') If you don't mind, what could be the problem and solution for this?

Is it smoother if you add buffering (at the cost of latency)?
https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#buffering

I tried adding display and audio buffer by 75ms and it's buttery smooth now! I also tried applying v4l2 buffer but it seems to not run (I'm also not familiar what is this for). Thank you so much!!

I tried adding display and audio buffer by 75ms and it's buttery smooth now!

Ok, so the source of the non-smoothness was encoder/network/decoder jitter. Do you use scrcpy over USB or wifi?

was using it through USB


plutus-tx: represent newtypes as their underyling type

Fixes #967.
Turns out my slightly awkward support for aliases in PIR is very useful
here.
The code for Lift is pretty awkward, but that module is horribly
awkward to begin with.
The motivation for this approach is included in a note, but I've
realised that we really need to do something like this, because GHC is
likely to start throwing away the content of coercions in the
not-too-distant future, which would thorougly break our old approach.
As a bonus, this is more efficient.

Also, this makes us robust to running the simplifier, because the simplifier makes more complicated coercions that this allows us to ignore. I need to run the simplifier to get all unfoldings in place, see https://gitlab.haskell.org/ghc/ghc/issues/16615.

I restarted the failed build and it succeeded (it was a timeout on the darwin machines), merging.


openisns: 0.97 -> 0.98

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsadm -h got 0 exit code
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsadm --help got 0 exit code
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsd -h got 0 exit code
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsd --help got 0 exit code
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsdd -h got 0 exit code
ran /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin/isnsdd --help got 0 exit code
found 0.98 with grep in /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98
directory tree listing: https://gist.github.com/1ad3d6e680af4f1462bda181b2cdc43e

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: openisns
No partial log is available.

Success on x86_64-linux (full log)
Attempted: openisns
Partial log (click to expand)
patching script interpreter paths in /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98
checking for references to /build in /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98...
moving /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/sbin/* to /nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/68wif2hzkxkydx224jcn1df5w04z0zrl-open-isns-0.98-lib
shrinking /nix/store/68wif2hzkxkydx224jcn1df5w04z0zrl-open-isns-0.98-lib/lib/libisns.so.0
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/68wif2hzkxkydx224jcn1df5w04z0zrl-open-isns-0.98-lib/lib
patching script interpreter paths in /nix/store/68wif2hzkxkydx224jcn1df5w04z0zrl-open-isns-0.98-lib
checking for references to /build in /nix/store/68wif2hzkxkydx224jcn1df5w04z0zrl-open-isns-0.98-lib...
/nix/store/fabx95vlf0nyw2dvsq2zjsv8j2vdqs12-open-isns-0.98

Success on aarch64-linux (full log)
Attempted: openisns
Partial log (click to expand)
patching script interpreter paths in /nix/store/88jx6wnyqsqiqff67z5q5gqjp9ic9lgx-open-isns-0.98
checking for references to /build in /nix/store/88jx6wnyqsqiqff67z5q5gqjp9ic9lgx-open-isns-0.98...
moving /nix/store/88jx6wnyqsqiqff67z5q5gqjp9ic9lgx-open-isns-0.98/sbin/* to /nix/store/88jx6wnyqsqiqff67z5q5gqjp9ic9lgx-open-isns-0.98/bin
shrinking RPATHs of ELF executables and libraries in /nix/store/s2y5k1c75wlbkqv87rjy62f79sd8lczc-open-isns-0.98-lib
shrinking /nix/store/s2y5k1c75wlbkqv87rjy62f79sd8lczc-open-isns-0.98-lib/lib/libisns.so.0
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/s2y5k1c75wlbkqv87rjy62f79sd8lczc-open-isns-0.98-lib/lib
patching script interpreter paths in /nix/store/s2y5k1c75wlbkqv87rjy62f79sd8lczc-open-isns-0.98-lib
checking for references to /build in /nix/store/s2y5k1c75wlbkqv87rjy62f79sd8lczc-open-isns-0.98-lib...
/nix/store/88jx6wnyqsqiqff67z5q5gqjp9ic9lgx-open-isns-0.98


Slow things down

[ ] You've read the Contributor Guide and Code of Conduct.
[ ] You've included unit or integration tests for your change, where applicable.
[ ] You've included inline docs for your change, where applicable.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

PR Title
Summary of the changes (Less than 80 chars)
PR Description
Detail 1
Detail 2
Fixes #bugnumber (in this specific format)

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test

/benchmark test


Admin Notes [unbanned] and [last edit] doesn't use standad dates

Description

[unbanned] and [last edit] text doesn't use the standard yyyy-mm-dd format. There are possibly more occurrences that haven't been discorvered
Screenshots

Additional context

Bonus issue: ISO 8601 / RFC 3339 don't use AM and PM, it uses 24 hour time.


How to add a custom session in .net core?

I created a CustomDistributedSession that implements ISession.
How to do I tell my web application to use my version instead of the default DistributedSession class?
Thanks!

Did you register it in DI?
https://github.com/aspnet/Session/blob/c01b50fa0c79daf72509e4a917022d12b4fc7e21/src/Microsoft.AspNetCore.Session/SessionServiceCollectionExtensions.cs#L28
Out of curiosity, what did you customize?

Thanks, @Tratcher , I was able to find that.
I had a question from one dev regarding adding object to session state. I was trying to create a custom one that allows that, so that the consumer won't have to worry about converting object to json everytime.
Also they have existing application (asp.net 4) that was taking advantage of the reference type:
 Session["student"] = student;
 student.Grade = "90";

Because of the reference type, my session Student will have the updated grade. I don't have to do a JsonConvert to update the student. In the default session State middleware, I will have to call Session set() twice

@Tratcher, I got your point, but in this case everything stored in the session from the legacy application was serializable. Using the default option will require additional refactor. Thanks!


GHOST_DATABASE_CONNECTION_PASSWORD cannot be only Numeric

Issue Summary
Docker .env File GHOST_DATABASE_CONNECTION_PASSWORD cannot be only Numeric.
Mysql accept it and Login is possible, but Ghost don't.
Steps to Reproduce
set the ghost database connection password to 123456
Ghost Version
5.72.2
Node.js Version
18.18.2
How did you install Ghost?
Docker Image
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
[2023-11-13 16:57:30] WARN Ghost is shutting down
[2023-11-13 16:57:30] WARN Ghost has shut down
[2023-11-13 16:57:30] WARN Your site is now offline
[2023-11-13 16:57:30] WARN Ghost was running for a few seconds
[2023-11-13 16:57:34] INFO Ghost is running in production...
[2023-11-13 16:57:34] INFO Your site is now available on https://example.com/
[2023-11-13 16:57:34] INFO Ctrl+C to shut down
[2023-11-13 16:57:34] INFO Ghost server started in 2.405s
[2023-11-13 16:57:35] ERROR The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received ty
pe number (123456)

The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (123456)

"Unknown database error"

Error ID:
   500

Error Code:
   ERR_INVALID_ARG_TYPE

----------------------------------------

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Recei
ved type number (8066)
   at /var/lib/ghost/versions/5.72.2/node_modules/knex-migrator/lib/database.js:57:19
   at new NodeError (node:internal/errors:405:5)
   at Hash.update (node:internal/crypto/hash:107:11)
   at sha1 (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/auth_41.js:31:8)
   at Object.token [as calculateToken] (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/auth_41.js:57:18)
   at new HandshakeResponse (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/packets/handshake_response.js:28:26)
   at ClientHandshake.sendCredentials (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/commands/client_handshake.js:71:31)
   at ClientHandshake.handshakeInit (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/commands/client_handshake.js:162:12)
   at ClientHandshake.execute (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/commands/command.js:45:22)
   at Connection.handlePacket (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/connection.js:478:34)
   at PacketParser.onPacket (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/connection.js:97:12)
   at PacketParser.executeStart (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/packet_parser.js:75:16)
   at Socket.<anonymous> (/var/lib/ghost/versions/5.72.2/node_modules/mysql2/lib/connection.js:104:25)
   at Socket.emit (node:events:517:28)
   at addChunk (node:internal/streams/readable:335:12)
   at readableAddChunk (node:internal/streams/readable:308:9)
   at Readable.push (node:internal/streams/readable:245:10)

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

This is the same as https://github.com/TryGhost/Ghost/issues/16918, but unfortunately the issue went stale without a PR. A PR would still be welcome 🙂

I tried reproduce the error in ghost local installation. But can't reproduce the error. The mysql connects fine. here is my database section of the config.development.json file:
 "database": {
    "client": "mysql",
    "connection": {
      "host": "<IP_ADDRESS>",
      "port": 3306,
      "user": "root",
      "password": "123456",
      "database": "ghost"
    }

Another related question, how do I config db connection if I build ghost from source?

@alst-ovh Stupid question: Why would you choose a numeric password instead of an alphanumeric one?


escaping character issues

This is a sub set of the #36
This change is needed to work properly with inventory 0.3.0, otherwise the discovery is stopped after first failure that happens because of the way how agent escapes the slashes... it was changed in the 0.3.0, (no more '\/').

I just manually merged this


Http2FrameCodecTest use of spy for mocking

Using spy() from mocking can cause exceptions to be thrown while stepping through an debugging a test. This can prevent from debugging and create a makings distinguishing between real issues and mocking framework issues difficult. We should consider not using spy() or work with the mocking folks to identify the root cause.
https://github.com/netty/netty/pull/5996#discussion_r87312045

@buchgr @normanmaurer /cc

@Scottmitch I will take a crack on this....


Use new GHC artifact for Travis CI.

Previously validate-x86_64-linux-deb8 was used which no longer exists on
gitlab. Switch to validate-x86_64-linux-deb9-hadrian.

Oh bother, looks like we'll have to tweak the ./configure command to have the right linker defaults. Thanks for picking this up though!

Yes, seems like this isn't enough. But it's a step in the right direction so consider merging this first.

Looks like this PR was superseeded by #1089, right? Feel free to close.

Hah! I never realized this was targeting ghc-8.8, I thought it was for ghc-head (where CI is still broken for the reasons this tries to fix).
You can either close this or re-target it to ghc-head then. Now that GHC runs the Haddock testsuite as part of its own CI, I'm less concerned about CI on the ghc-head branch here.


Add svgo to devDependencies and avoid removing viewBox

I thought this would help per the instructions in CONTRIBUTING.md. Note I didn't add svgo-viewbox because whenever I used it with an Inkscape image it would botch the size / viewBox. Instead, adding removeViewBox: false as an override of svgo via the svgo.config.mjs file (long complaint thread here) appears to work well.

Thanks for the pull request. I am against merging it now since it just adds the dev dependency and I don't think many submitters actually clone the repo.
I plan to add a better pipeline that will process uploaded icons consistently removing also illustrator classes (there are a few offenders among the current icons).

I guess I don't know how your current or proposed processing pipeline is/will be implemented, but having svgo as a devDependency (along with the config file that prevents removal of the viewBox) would open up options to use it within a GitHub Actions workflow.


Facing some issue with Netbox sync with vCenter

I'm trying to run the netbox sync but I'm facing this error
2023-12-29 05:31:57,147 - ERROR: NetBox returned: POST /api/ipam/ip-addresses/ Bad Request
2023-12-29 05:31:57,147 - ERROR: NetBox returned body: {'assigned_object_id': ['This field cannot be null.']}
2023-12-29 05:31:57,147 - ERROR: Request Failed for IP address.
could you please help me with it. Am I missing out on something

Hi @bb-Ricardo ,
Could you please help me with this?

Hi @AnuragYewale15,
Did you get any other error messages during your run? Can you post them here please?
Thank you

Hi @bb-Ricardo ,
This is the first error which I encounter which is repeated multiple times after that. Before that I got this in DEBUG
DEBUG: Unable to find a PTR record for ...: Domain name not found
and after few minute I got this
INFO: Creating new NetBox 'IP address' object '.../' with data: {'tags': [{'name': 'NetBox-synced'}, {'name': 'Source: vcenter-dallas'}], 'address': '.../', 'assigned_object_type': 'virtualization.vminterface', 'dns_name': '*********'}
2024-01-04 07:25:36,991 - ERROR: NetBox returned: POST /api/virtualization/interfaces/ Bad Request
2024-01-04 07:25:36,991 - ERROR: NetBox returned body: {'virtual_machine': ['This field is required.']}
2024-01-04 07:25:36,991 - ERROR: Request Failed for virtual machine interface.

Hi @bb-Ricardo ,
Any update on this?

Sorry, forgot to answer you. I would need the full log output with -l DEBUG2 in order to be able to debug it. Can you please send it over?

Hi @bb-Ricardo ,
2024-01-16 09:32:37,544 - DEBUG2: Received HTTP Status 400.
2024-01-16 09:32:37,544 - ERROR: NetBox returned: POST /api/ipam/ip-addresses/ Bad Request
2024-01-16 09:32:37,544 - ERROR: NetBox returned body: {'assigned_object_id': ['This field cannot be null.']}
2024-01-16 09:32:37,544 - ERROR: Request Failed for IP address. Used data: {'tags': [{'name': 'NetBox-synced'}, {'name': 'Source: vcenter-dallas'}], 'address': '.../', 'assigned_object_type': 'virtualization.vminterface', 'dns_name': '***************'}
Due to confidentiality reason I can't share the full logs .Is there any other way to mask the logs and then provide it to you?

Hi @AnuragYewale15,
Nope. It's very difficult to work with only a few lines of log data in order to figure put the issue.
But I might have an idea where the issue could stem from.
Question: is the IP which causes this issue assigned to more then one interface?

Hi @bb-Ricardo ,
No in our environment we have one IP dedicate to one interface.

Hi @bb-Ricardo ,
Any update??

Hi,
Currently time is very tight with family and everything. This is a hobby project and I get to it once I have some spare time.

Hey @AnuragYewale15
I just pushed a new commit to the development branch. Can you test it out and see if the error still occures?

Sure , I will check

Hi @bb-Ricardo ,
I check and I'm still facing the same error

Sorry, then I'm not able to help. Without logs this is impossible to debug.

I finally have seen this issue. Seems a dependency issue while adding IP addresses

Hey @AnuragYewale15,
I pushed another commit to the development branch. Can you please have a look?

Hi @bb-Ricardo ,
Now the IP address issue has been fixed I'm now able see the IPs in the UI, but now exactly same issue I'm facing with the virtual machine
INFO: Creating new NetBox 'virtual machine' object '' with data: {'tags': [{'name': 'NetBox-synced'}, {'name': 'Source: dallas'}], 'name': '', 'cluster': 3, 'status': 'active', 'memory': 4096, 'vcpus': 2, 'site': 1, 'device': 1, 'platform': 2}
2024-02-02 07:27:49,885 - ERROR: NetBox returned: POST /api/virtualization/virtual-machines/ Bad Request
2024-02-02 07:27:49,885 - ERROR: NetBox returned body: {'device': ['The selected device (.com (IBM SoftLayer)) is not assigned to this cluster (Non-Production).']}
2024-02-02 07:27:49,885 - ERROR: Request Failed for virtual machine. Used data: {'tags': [{'name': 'NetBox-synced'}, {'name': 'Source: dallas'}], 'name': '', 'cluster': 3, 'status': 'active', 'memory': 4096, 'vcpus': 2, 'site': 1, 'device': 1, 'platform': 2}

Sorr, but I can't further assist without any substantial log files.

Hi @bb-Ricardo ,
I tried switching off track_vm_host and it work for 1 datacenter with few VMs still missing and for other datacenters I'm getting no site relation error with is further leading to missing of VMs and other data from the remaining datacenter . Are there any other changes in settings.ini which I'm missing ?
Thanks

Also @bb-Ricardo  what is the format to add cluster_site_relation variable.
For example my settings.ini consist
[source/vcenter-PQR]
enabled = True
type = vmware
host_fqdn = ******
validate_tls_certs = False
username = ******
password =******
permitted_subnets = <IP_ADDRESS>/0
collect_hardware_asset_tag = True
skip_vm_templates = True
skip_vm_comments = False
track_vm_host = False
sync_vm_interface_mtu = True
dns_name_lookup = True
custom_dns_servers = ..,, , .,,,
set_primary_ip = always
ip_tenant_inheritance_order = device, prefix
disable_vlan_sync = False
cluster_site_relation = vcenter-PQR.* = PQR
[source/vcenter-ABC]
enabled = True
type = vmware
host_fqdn =******
validate_tls_certs = False
username = ******
password =******
permitted_subnets = <IP_ADDRESS>/0
collect_hardware_asset_tag = True
skip_vm_templates = True
skip_vm_comments = False
track_vm_host = False
sync_vm_interface_mtu = True
dns_name_lookup = True
custom_dns_servers = .,,, .,,,
set_primary_ip = always
ip_tenant_inheritance_order = device, prefix
disable_vlan_sync = False
cluster_site_relation = vcenter-ABC.* = ABC

Hi @bb-Ricardo
Any update you can help me with?

closing this issue as the original issue has been solved.


[feature] add a checksum file to help updater validate the download content

FYI Github have removed the md5 signature header. Ref: https://github.com/orgs/community/discussions/23512#discussioncomment-10013377
So, we should upload a checksum file, .sha256 etc, to make the integrity of file checkable.
For example, we can do it in ci:
- name: Calc the archive signature
        shell: pwsh
        run: Get-FileHash nyanpasu-service-${{ matrix.profile.target }}.zip -Algorithm SHA256 | Format-List > nyanpasu-service-${{ matrix.profile.target }}.zip.sha256

 - name: Calc the archive signature
        run: sha256sum nyanpasu-service-${{ matrix.profile.target }}.tar.gz > nyanpasu-service-${{ matrix.profile.target }}.tar.gz.sha256

Ref: https://github.com/libnyanpasu/nyanpasu-service/blob/main/.github/workflows/build.yml
Maybe I can draft a pr to solve it later.

There would be a sha256sum.txt , possibly.
It looks like
162b0b32f02482d5aca0a7c93dd03ceac3acd7e410a5f18f3fb990fc958ae0df6f32233b91831eaf99ca581a8c4ddf9c8ba315ac482db6d4ea01cc7884a635be  file1
46f93691eef6d2e005b4d847f779740f181ca7facf3136f0bc095e543372b14e997d47e52257d90284758ac80fa2ba4ef68bab751deb03f96746f877847b3251  file2


[Feature Request] Other shapes than circles

First of all thanks for providing such a great package :smile:.
At this point in time the package seems to only support circles as outlines.
This creates a visually unpleasing experience when trying to wrap non round elements, see image attached.
It might be a great addition to support other Shapes/ and/or support a wrapping of the element.

Hi, thank you for you kind words.
That's a great suggestion.
Will look to add some prebuilt shapes factories and maybe let you do one.
Would this fit your needs ?

I think the default flutter shapes do a great job already.
So this would be more than sufficient (namely RoundedRectangleBorder)
As an inspiration, onboarding_overlay solved this quite good.

Yes,
point is that we are drawing them directly using canvas so we don't use these.
(Our circle is drawing a hole and animating with 2 shadowed circles...).
onboarding_overlay draws a shape directly.

good to know, then I'd say the package would need to support a shape which can be wider than taller / taller than wider.
Something which a circle just can not support, so smth. like a Rectangle (preferably with rounded borders for esthetics) would be great.

Yep that's great idea,
Basically, we could try doing the exact same animation but with rectangle on the exact bounds of the anchor.

Just played a little making this.
Also had to refactor some code on the plugin.
What do you think? @jlnrrg
https://user-images.githubusercontent.com/48241546/145228482-89488753-19ff-46a1-8f13-4f8034b03e96.mp4

I assume your child's padding is only vertical, then it makes sense.
Additionally it would require the possibility for rounded corners, but this already looks awesome :+1:

The padding comes from the bounds of the widgets.
Flutter makes a larger touch area for buttons than it's drawn. As we use the bounds of the widget we got this little padding.
Rounded corners can be great too yes
Also you can create your own painter factory to make custom drawing


Goodreads dataset no "title" column

Hi there,
When I executed the worker.py on the tokenized Goodreads dataset, I checked the meta.data.json and found that there's no column named "title". So when the part of the depot.get_vocab in the file embedding_hub.py is called, it shows "KeyError: title", but I didn't find anywhere I could modify the default columns name. Could you please give me some instructions? Thank you so much.

Hi
You can use command ‘unitok /path/to/goodreads/book’ to check prepared columns. The correct column name may be ‘name’ rather than ‘title’ for this dataset.

Hi, you can use the title-bert or title-llama in this case.


I reimplement your model (Teacher: R101, Student: R50, Detection head: Foveabox) and got RuntimeError: shape '[-1, 68]' is invalid for input of size 115200

Hello, here I try to replace the detection head used with Foveabox. I use R50 as a student and R101 as a teacher to distill. But I can't manage to train it due to the above error. Is there any advices in changing the detection head of your model that you can give me? Thanks

Have you modified the head to use general distribution? Like what I did in atss_gfl_head.py

Can you tell me where I can view the atss_gfl_head.py?

Can you tell me where to view the .py file you mentioned?

https://github.com/HikariTJU/LD/blob/main/mmdet/models/dense_heads/atss_gfl_head.py

you need to change network from 4-d ltrb to 4x17 distribution (refer to GFocal)
https://github.com/HikariTJU/LD/blob/bc60bbcd48e9305e61e32a0d2c981621e2ae0d05/mmdet/models/dense_heads/atss_gfl_head.py#L120
when calculate bbox loss use integral to transform 4x17 distribution back to 4-d ltrb
https://github.com/HikariTJU/LD/blob/bc60bbcd48e9305e61e32a0d2c981621e2ae0d05/mmdet/models/dense_heads/atss_gfl_head.py#L252

Sorry but I just don't get the "4-d ltrb" point, what is it actually?

ltrb is introduced in FCOS to replace xywh, I know a little about FoveaBox, maybe you should change xywh to ltrb at first


fix incorrect coverage values in the compare test coverage workflow

fetch development and pull request branches to separate folders
set working-directory during get coverage steps
forge build before forge coverage to be able to access JSON ABI facet contracts

Resolves: #826

I tested multiple times on my fork and just added deleting development branch folder after calculating coverage to really make sure that coveralls does not read anything from it. Should not happen, but adding this step increases safety.
New QA: https://coveralls.io/jobs/130726799
I propose to review and close this pull request 'as is' as it fixes the bug and open a new edge case issue only when it appears.
It is additionally possible to set pull request alerts on coveralls side if needed, e.g. if 70% or any arbitrary coverage is considered 'green' and anything below should be marked as 'red' in the badge @pavlovcik @rndquu @molecula451 .

@gitcoindev Could you provide a QA CI run when the "Compare Test Coverage" fails on decreased test coverage?

@rndquu sure.
Step 1 - I synchronized my ubiquity-dollar fork development branch 1:1 to match upstream.
Step 2 - I opened a pull request https://github.com/gitcoindev/ubiquity-dollar/pull/7 which is a mirror of this pull request, but directed towards my forked repository.
Step 3 - I did QA of my mirror pull request here https://github.com/gitcoindev/ubiquity-dollar/actions/runs/6651769749 . I received a comment that proves that coverage percentage was fixed https://github.com/gitcoindev/ubiquity-dollar/pull/7#issuecomment-1780707064
Step 4 - I merged my mirror pull request to simulate merging this one.
Step 5 - I removed  test cases to reduce coverage and opened an another pull request to my fork https://github.com/gitcoindev/ubiquity-dollar/pull/8
Result: coverage decreased and job is failing. QA: https://github.com/gitcoindev/ubiquity-dollar/actions/runs/6652771962/job/18077404702

@molecula451 I applied required changes, and would be grateful if you had a look again at the pr.

the improvement looks good, but, lets test it a bit more, I have re-ran rndqnuu PR's action with the old workflow and it seems to be greening now, any thoughts on why? https://github.com/ubiquity/ubiquity-dollar/actions/runs/6627359435/workflow you can check #attempt 2

the improvement looks good, but, lets test it a bit more, I have re-ran rndqnuu PR's action with the old workflow and it seems to be greening now, any thoughts on why? https://github.com/ubiquity/ubiquity-dollar/actions/runs/6627359435/workflow you can check #attempt 2

@molecula451  yes, it is greenish but my thoughts are: it is broken.
Development branch coverage: 10.1
PR branch coverage: 10.1
Should be > 60%. The job is green and passing only because it does not show coverage degradation, but the calculated coverage value itself is wrong. Please have a look at the compared coverage values.

Current correct values:
Development branch coverage: 69.1
PR branch coverage: 69.1

Thank you for approvals and merging!


Banner component in 9.0.0-alpha.15 has incorrect css for inline action items.

The screenshots below show an issue with the version 9 beta of the SDK.  Inline elments of the action attribute are not afforded appropriate space, and (minor issue) links do not have the appropriate color.
Banner component in 9.0.0-alpha.15

Banner component in 8.9.1:

Code sample:
<Banner
  type="critical"
  title="Invalid API Key"
  description="You must enter a PRODUCTION API Key from EasyPost.  You'll still be able to print test labels in Parcelcraft with a Production API Key."
  actions={ <Link href="https://www.easypost.com/signup?utm_source=Parcelcraft" target="_blank" external>Get my free API Key</Link> }
 />

Thanks for reporting @bensontrent! A fix has been rolled out for the Banner action prop width. The color of the link is intended to match the Banner in version 9.


Use some more direct conversions for HWB, HSL, and HSV

Currently, especially for HWB, many of the conversions go indirectly through sRGB and then back to their target space. But some conversions would be much more accurate. For instance, taking HWB to directly too and from HSV. It may make more sense than to take HWB through HSV to get to HSL or sRGB as well. We need to evaluate what makes the most sense, but we should optimize conversions to be the cleanest. It was noticed that Colorjs.io does this, most likely to give the most accurate conversion possible.

Fixed in https://github.com/facelessuser/coloraide/commit/943ec40acd7fc04f94ee6126e7b3e559b49f8b87


Improve the auto detection feature.

Auto detection now searches in subfolders too to determine if the opened project should show specific icons.

I've tested it and it's working now! 👍


Should 'Box2D' be add to requirement.txt?

"Box2D" is needed for Maze_Car.
I noticed "Box2D-py" is in the requirement.txt of Paia-Desktop, but it may be too old to install.
Just "Box2D" is enough.

Thanks for your comment.
There is different box2d package for Windows , Linux and MacOS.
For Linux and MacOS
box2d-py==2.3.8

For Windows
Box2D==2.3.10

And the best way to install box2d in Win10 is that download whl file directly and install.
Please refer to  https://www.lfd.uci.edu/~gohlke/pythonlibs/ and download what you need.
Now our project has been independent to games , so it will not inclued box2d in requirements.txt anymore.
Games could choose which library or version they need.


Remove LazyRegex and secondary constructor of Entity

Remove more deprecated code from the api

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 50edf6dc74c94bea64c3f850e1a5d97d9e529c21

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 50edf6dc74c94bea64c3f850e1a5d97d9e529c21


Add sqlsig SQLCLR function for auto-parameterizing TextData from SQL Profiler Trace

This code is from Itzik Ben-Gan's book on query tuning, and is largely unknown to those who have never read the book.

This is copyright material: https://www.amazon.com/Inside-Microsoft®-SQL-Server®-2008/dp/0735626030
I don't think you can just add this.

What if we were to write a better one?
In my recollection, his version is not complete-complete.  It's usually "good enough" for a first pass.
Things I do to spruce up the logic:

Call an inline table-valued function helper called dbo.TrimChars, which returns a column called FixedString that gives you a cleaned up version of TextData that has no TAB (NCHAR(9)), CR (NCHAR(13)), LF (NCHAR(10)) or SPACE (NCHAR(32)):

UPDATE tdt
SET
	TextData = itvf.FixedString
FROM dbo.TraceDataTable tdt
	CROSS APPLY dbo.TrimChars(
		TextData,
		NCHAR(9) /* TAB */ + NCHAR(13) /* CR */ + NCHAR(10) /* LF */ + NCHAR(32)
	) itvf

Reference: https://www.cs.cmu.edu/~pattis/15-1XX/common/handouts/ascii.html

What sqlsig does is nothing remarkable. It simply looks for known operators that signal an expression of the form lexpr op rexpr. In fact, it assumes if it sees a valid op rexpr where rexpr is a character sequence, binary number, precise number, imprecise number, or integer. It replaces rexpr with #

@jzabroski if you want create PR and add this code to this repo - you are welcome but first you need solve all copyright questions with Itzik Ben-Gan.


use the universal-darwin version directly for gem installation

Motivation

Mac gem builds are failing because #7292 was not quite complete: we needed to modify the installation bit a little farther down the script.
Test plan

Merge it to master and 🤞

Sorry about that

No worries, we don't test Mac CI on PRs, only on master, and I didn't do a good job of reviewing!


Update .wordlist.txt

🚀 Deployed on https://664386e1cee04e4aa5ee277f--cozy-fox-0defec.netlify.app


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1990

Questions ?
Please refer to the Backport tool documentation


TypeError: init() got an unexpected keyword argument 'task_decomposition'

hello，when i try your Try it out，
i met this problem， do you know why？

there is something wrong with this code：
File "C:/shiyan/pybullet_multigoal_gym-master/pybullet_multigoal_gym/test/multigoal/gym_image_obs_test.py", line 41, in
num_goals_to_generate=90)

Hi, thanks for the report! This is caused by a small bug in the release version, I have fixed it previously. If you clone and install the newest version, the problem should go away :)
git clone https://github.com/IanYangChina/pybullet_multigoal_gym
cd pybullet_multigoal_gym
python -m pip install
python test/multigoal/gym_image_obs_test.py

If you are using PyCharm, it's also convenient to simply run the gym_image_obs_test.py script from the IDE, after you install the package with pip.
It works for me, hope it works for you :)

Also, you can simply download and install the v1.1 release :)

Also, you can simply download and install the v1.1 release :)

hello，i still met this problem ：Traceback (most recent call last):
File "C:/shiyan/pybullet_multigoal_gym-1.1/pybullet_multigoal_gym/test/multigoal/gym_image_obs_test.py", line 41, in
num_goals_to_generate=90)
and this problem when i ran hierarchical_gym_test.py： File "C:/shiyan/pybullet_multigoal_gym-1.1/pybullet_multigoal_gym/test/multigoal/hierarchical_gym_test.py", line 7, in
env = pmg.make('KukaParallelGripHierPickAndPlaceSparseImageObsEnv-v0')
other test ran well.
by the way ,i use the pycharm and have pip install  related packages.

Also, you can simply download and install the v1.1 release :)

hello，i still met this problem ：Traceback (most recent call last):
File "C:/shiyan/pybullet_multigoal_gym-1.1/pybullet_multigoal_gym/test/multigoal/gym_image_obs_test.py", line 41, in
num_goals_to_generate=90)
and this problem when i ran hierarchical_gym_test.py： File "C:/shiyan/pybullet_multigoal_gym-1.1/pybullet_multigoal_gym/test/multigoal/hierarchical_gym_test.py", line 7, in
env = pmg.make('KukaParallelGripHierPickAndPlaceSparseImageObsEnv-v0')
other test ran well.
by the way ,i use the pycharm and have pip install related packages.

Hi, thanks for the report.
The hierarchical tasks are not ready to run at the moment cuz I don't have enough time to deal with them.
You can play with non-hierarchical tasks as you like :)
I may have time to test and fix the hierarchical tasks next month, so you may need to wait for it if you specifically want to use it.


Error checking video and audio formats on YouTube video

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://www.youtube.com/watch?v=5TnDBjR9r7w', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: ffmpeg 5.1.2-full_build-www.gyan.dev, ffprobe 5.1.2-full_build-www.gyan.dev
[debug] Proxy map: {}
[youtube] 5TnDBjR9r7w: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I ran this command youtube-dl -F "https://www.youtube.com/watch?v=5TnDBjR9r7w" --verbose and got the output posted above.

✔ I've searched the bugtracker for similar bug reports including closed ones

Have you?
Read #30839.

Also

[x] I've read bugs section in FAQ

Use the knowledge.


Pydantic gives ValidationError for built-in CrewAI variable 'expected_output'

I suspect this is a pydantic bug, and not a primary crewai issue; however since crewai is tightly-bound to pydantic it is worth discussing here.
My bug report to Pydantic comes from code in a type-checking tutorial, not from any AI code:  https://github.com/pydantic/pydantic/issues/9928
The error with crewai (below) and the error in my bug report are very similar.
This traceback is from the 'markdown-validation' crewai tutorial. The area of interest is in bold, at the bottom of the traceback:
Traceback (most recent call last):
File "/home/ra/Documents/webCourses/TDD/crew_ai/crew_ai4/crew-ai-local-llm-main/crewai-simple-example/main.py", line 92, in
processed_document = process_markdown_document(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ra/Documents/webCourses/TDD/crew_ai/crew_ai4/crew-ai-local-llm-main/crewai-simple-example/main.py", line 58, in process_markdown_document
syntax_review_task = Task(description=f"""
^^^^^^^^^^^^^^^^^^^^^
File "/home/ra/.cache/pypoetry/virtualenvs/markdown-validation-crew-Jb9dOYKQ-py3.11/lib/python3.11/site-packages/crewai/task.py", line 117, in init
super().init(**config, **data)
File "/home/ra/.cache/pypoetry/virtualenvs/markdown-validation-crew-Jb9dOYKQ-py3.11/lib/python3.11/site-packages/pydantic/main.py", line 196, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Task
expected_output
Field required [type=missing, input_value={'description': '\n\t\t\t... and actionable tasks.)}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.8/v/missing
The type for 'expected_output' is defined by crewai  here, in the poetry virtual environment:
/home/ra/.cache/pypoetry/virtualenvs/markdown-validation-crew-Jb9dOYKQ-py3.11/lib/python3.11/site-packages/crewai/task.py
...
    expected_output: str = Field(
        description="Clear definition of expected output for the task."
    )
...

Pydantic seems to have developed an issue with two Field attributes: 'alias' and 'validation_alias'. 'serialization_alias' is okay.
My particulars (pyproject.toml with dependencies):
[tool.poetry]
name = "markdown-validation-crew"
version = "0.1.0"
description = ""
authors = [""]

[tool.poetry.dependencies]
python = ">=3.10.0,<3.12"
crewai = ">=0.11.0"
python-dotenv = "1.0.0"
markdown = "3.4.3"
pymarkdownlnt = "0.9.15"
mdurl = "^0.1.2"
langchain-community = "^0.2.9"
crewai-tools = "^0.4.26"

[tool.pyright]
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md
useLibraryCodeForTypes = true
exclude = [".cache",".venv",".vscode", "site-packages"]

[tool.ruff]
# https://beta.ruff.rs/docs/configuration/
select = ['E', 'W', 'F', 'I', 'B', 'C4', 'ARG', 'SIM']
ignore = ['W291', 'W292', 'W293']
exclude = [".cache",".venv",".vscode", "site-packages"]

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

My system:
Debian 12 Linux "bookworm"
VS Code
package manager: poetry 1.8.3
Is 'expected_output' used as an alias, and is anyone else experiencing this?

Those examples are old and do not reflect how to properly setup Crewai, and are in the process of being updated
The issue is that the Task creation in the example  is missing the expected_output parameter which is a requirement and is why you see this error message.
See below for how to add the parameter
syntax_review_task = Task(
    description=f"""
    Use the markdown_validation_tool to review
    the file(s) at this path: {filename}

    Be sure to pass only the file path to the markdown_validation_tool.
    Use the following format to call the markdown_validation_tool:
    Do I need to use a tool? Yes
    Action: markdown_validation_tool
    Action Input: {filename}
    Get the validation results from the tool
    and then summarize it into a list of changes
    the developer should make to the document.
    DO NOT recommend ways to update the document.
    DO NOT change any of the content of the document or
    add content to it. It is critical to your task to
    only respond with a list of changes.

    If you already know the answer or if you do not need
    to use a tool, return it as your Final Answer.""",
    expected_output="""A detailed list of changes the developer should make to the document based on the markdown validation results. The list should be actionable and specific, without recommending ways to update the document or changing its content.""",
    agent=general_agent
)

@theCyberTech, Thank you for the prompt reply.
should this line of code (which now gives an error):
updated_markdown = syntax_review_task.execute()
now be changed to this:
updated_markdown = syntax_review_task.execute_sync()
... or something else.

I have corrected and re-factored the code, and added a feature, for main.py for the 'markdown-validator' example.  A pull request on the entire crewAi-examples repository seems like overkill for a single small file from one small example. I will post my code in the Issues section of the crewAi-examples repository; it can be reviewed and critiqued there.


Android cert verifier: first import from chromium/net

Initial import of the chromium/net classes that act as a bridge between
the C++ layer and the Android framework calls.
This code calls into framework code, so we will need to setup emulator
tests. For the time being these are being succeffully compiled within
//library/java/org/chromium/net:net.
Signed-off-by: Stefano Duo<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

@carloseltuerto I've removed the headers and marked classes as final.

#1575


No Steam

-nosteam shows up in the server name, it is pulling from the code in the CS, I tried to remove it and just use -log but the server wouldn't start.
So when I add -SteamServerName"survival gaming club"  on the server list it displays
Survival Gaming Club -nosteam
Everything works fine, it is just ugly looking and not accurate.
Thanks

Yeah its a quoting issue I believe. Need to find some time to fix

Im guessing you saw the second issue, I already fixed the code you just need to copy paste. I couldn't figure out how to do it.


[ACR] Add future dependency to enable backward-compatibility

Address: https://github.com/Azure/azure-cli/issues/7343

Not my preferable solution. @djyou feels free to advice an alternative.

Is the import here needed? https://github.com/Azure/azure-cli/blob/d5467e4fdd4916f8c1249ca1ee030d3ff509d999/src/command_modules/azure-cli-acr/azure/cli/command_modules/acr/_archive_utils.py#L10
I thought builtin functions (__builtin__ for p2) can be used without import.

I have the same question. Could you just try use the builtin open?


Missing class: CompleteRequestSettings

Describe the bug
Class CompleteRequestSettings is not included in NuGet release, thus the quick start example is broken.
To Reproduce
Steps to reproduce the behavior:

Replicate quick start
See error

Platform

OS: Windows
IDE: Jetbrains Rider 2023.2.2
Language: C#
Source: MyIA.SemanticKernel.Connectors.AI.Oobabooga 0.33.9

Additional context
I find it strange that there were deprecation annotations committed to the official Semantic Kernel Oobabooga connector in favor of this when there are multiple fatal issues in the NuGet release making it totally unusable.

Latest Nuget package should have fixed pending issues


[Bug]: install command skips download even if binary does not exist

Minimal, reproducible example
n/a

Error string
[0-0] Error: spawn /var/folders/6m/29f5wwbn1898q0mtxxnry4qm0000gn/T/chromedriver/mac_arm-120.0.6099.109/chromedriver-mac-arm64/chromedriver ENOENT
Bug behavior

[ ] Flaky
[ ] PDF

Background
WebdriverIO uses @puppeteer/browsers to setup Firefox and Chrome driver and browser binaries. By default we are storing them in a temporary directory. It seems that sometimes, the setup function skips downloading the driver binary even though the executable is not existing, resulting in an error like shown above.
If I remove the chromedriver directory and re-run, the download happens as expected.
Reported issues:

https://github.com/webdriverio/webdriverio/issues/12028#event-11502370201
https://github.com/webdriverio/webdriverio/issues/12038

Expectation
I would expect the package not only to check whether the download directory exist but also whether the binary is available.
Reality
It seems like the program only checks if the directory is in place, e.g. /var/folders/6m/29f5wwbn1898q0mtxxnry4qm0000gn/T/chromedriver/mac_arm-120.0.6099.109/chromedriver-mac-arm64/ but doesn't actually verify if it contains a binary.
Puppeteer configuration file (if used)
n/a

Puppeteer version
21.7.0
Node version
20.10.0
Package manager
npm
Package manager version
10.2.3
Operating system
macOS

Btw there is a dedicate template for @puppeteer/browsers https://github.com/puppeteer/puppeteer/issues/new?assignees=&labels=bug%2C%40puppeteer%2Fbrowsers&projects=&template=issue-browsers.yml&title=[Bug]%3A+

Thanks @OrKoN 🙏


wiki story include angular material updated

docs(@angular/cli): change wiki documentation for Angular Material
change in documentation for integrating Angular Material with @angular/cli without errors.
Closes #6274

@StefanNieuwenhuis Please fix the commit message.

@StefanNieuwenhuis is this PR up to date with the official instructions provided by Angular Material?

 Can you please help me?

 You can do that by rebasing, or by making a new PR with a single commit.

Material has a better guide on how to integrate with CLI.


update requirements

Codecov Report

Merging #33 (1964984) into master (5e74c1a) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   95.62%   95.44%   -0.18%
==========================================
  Files          81       81
  Lines        1736     1736
  Branches      182      178       -4
==========================================
- Hits         1660     1657       -3
- Misses         67       69       +2
- Partials        9       10       +1

Impacted Files
Coverage Δ

jj/mock/_history/_history_item.py
75.00% <0.00%> (-25.00%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e74c1a...1964984. Read the comment docs.


issue with nesting

Challenge Turn an Image into a Link has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

Thanks for the report. The issue tracker is for reporting bugs only.
Please use the chat rooms:

HTML/CSS help chat room
JavaScript help chat room
Other Official Rooms

or try looking through our forum for help with a specific challenge.
Happy Coding!


UX changing account

I don't know if it's normal, but to switch accounts, I have to click inside the circle. Should not be on the card ?

@RaphOb Thank you for reporting the issue.
Short answer: Yes, the behavior you observed is normal, but we are considering enhancements to the UI.
Initially, the functionality to click on the card was implemented. However, we later introduced features allowing users to select and copy information directly from the card, such as project id and Account email. Consequently, we removed the click functionality and instead added a radio input at the top right of the card.
Why a radio input? It's because only one card should be selectable at a time, and the radio button aligns with this requirement. It's a standard design element commonly used in user interfaces. For a reference, you can see an example here: Select User Type - Dribbble.

@RaphOb
We've successfully enhanced the solution for the reported issue. Please check the updated functionality and let us know if it meets your expectations

@RaphOb
We've successfully enhanced the solution for the reported issue. Please check the updated functionality and let us know if it meets your expectations


Update Stack resolver to lts-18.13

This also updates to the compiler to GHC 8.10.7.

I think you can achieve this like here, so you can use a more recent version of cabal-install-parsers:
https://github.com/dfithian/prune-juice/pull/12/files#diff-0de01f189d384bfbe69e806ef70b1a425b27394dbe2a9d0e62ffd010dda86c03R5
If you make this change I'll merge it in!

Alright I did this here: https://github.com/dfithian/prune-juice/commit/44a9ad8a6334fbfa439f71f8588d7462c38970e5
Let me know if you still have issues, and I'll remove the wontfix label.


how to train my dataset

if my dataset is not mentioned in your code，how to train it?

Please refer files in reid-strong-baseline/data/datasets/. You can write a .py file for your own dataset.

**RuntimeError: Invalid index in scatter at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:151**
I want to train the network on the RAP dataset. I have created a rap.py as to below. I tried to mimic the market1501.py. When the training starts, it runs to a RunTimeError. I debugged the code, and I think everything goes on exactly like market1501.py, but I don't know the reason for this error. The error comes from forward function in triplet_loss.py, where we have: targets = torch.zeros(log_probs.size()).scatter_(1, targets.unsqueeze(1).data.cpu(), 1)
I debugged and realized that the size of inputs is [8, 1295] and the size of targets is [8], (when I debug the code for market1501, these sizes are [8, 751] and [8], respectively). I should add that, batch size is 8, number of ids in RAP and market1501 are 1295 and 751 respectively. Changing the images' size and batch size do not help.
The code for rap dataset (rap.py ) is as follows:
import re
import os
from .bases import BaseImageDataset
import mat4py

class RAP (BaseImageDataset):

    dataset_dir = '/media/ehsan/48BE4782BE476810/AA_GITHUP/Anchor_Level_Paper/RAP_resized_imgs'
    RAP_reid_mat_file_path = '/media/ehsan/48BE4782BE476810/AA_GITHUP/Anchor_Level_Paper/rap_annotations/RAP_ReId_information.mat'

    def __init__(self, verbose=True, **kwargs):
        super(RAP, self).__init__()
        self._check_before_run()

        train, query, gallery = self._process_dir(self.RAP_reid_mat_file_path, self.dataset_dir)

        self.train = train
        self.query = query
        self.gallery = gallery

        if verbose:
            print("=> RAP is loaded")
            self.print_dataset_statistics(train, query, gallery)

        self.num_train_pids, self.num_train_imgs, self.num_train_cams = self.get_imagedata_info(self.train)
        self.num_query_pids, self.num_query_imgs, self.num_query_cams = self.get_imagedata_info(self.query)
        self.num_gallery_pids, self.num_gallery_imgs, self.num_gallery_cams = self.get_imagedata_info(self.gallery)

    def _check_before_run(self):
        """Check if all files are available before going deeper"""
        if not os.path.exists(self.dataset_dir):
            raise RuntimeError("'{}' is not available".format(self.dataset_dir))
        if not os.path.exists(self.RAP_reid_mat_file_path):
            raise RuntimeError("'{}' is not available".format(self.RAP_reid_mat_file_path))

    def _process_dir(self, mat_dir_path, data_dir):
        RAP_reid_information = mat4py.loadmat(filename=mat_dir_path)
        RAP_reid_information__ = mat4py.loadmat(filename="/media/ehsan/48BE4782BE476810/AA_GITHUP/Anchor_Level_Paper/rap_annotations/RAP_annotation.mat")
        image_names_ = RAP_reid_information["image_name"]
        image_names__ = RAP_reid_information__["RAP_annotation"]["name"]
        image_names_star = [subsub for sub in image_names__ for subsub in sub]
        image_names = [subsub for sub in image_names_ for subsub in sub]
        pids = RAP_reid_information["person_id"]
        # cams = RAP_reid_information["person_cam"]
        # train_ids = RAP_reid_information["train_identity"]
        # test_ids = RAP_reid_information["test_identity"]
        train_indices_ = RAP_reid_information["train_index"]
        train_indices = [subsub for sub in train_indices_ for subsub in sub]
        gallery_indices_ = RAP_reid_information["test_index"]
        gallery_indices = [subsub for sub in gallery_indices_ for subsub in sub]
        query_indices = RAP_reid_information["query_index"]

        train = []
        for i, IMG_index in enumerate(train_indices):
            img_name = image_names[IMG_index-1]
            img_full_path = os.path.join(data_dir, img_name)
            person_id = pids[IMG_index-1][0]
            camera_id = img_name.split("-")[0] # e.g. ['CAM01', '2014', '02', '15', '20140215161032', '20140215162620', 'tarid0', 'frame218', 'line1.png']
            train.append((img_full_path, person_id , int(re.findall('\d+',camera_id)[0])))

        train_star = []
        for i, IMG_index in enumerate(train_indices):
            img_name = image_names_star[IMG_index-1]
            img_full_path = os.path.join(data_dir, img_name)
            person_id = pids[IMG_index-1][0]
            camera_id = img_name.split("-")[0] # e.g. ['CAM01', '2014', '02', '15', '20140215161032', '20140215162620', 'tarid0', 'frame218', 'line1.png']
            train_star.append((img_full_path, person_id , int(re.findall('\d+',camera_id)[0])))

        query = []
        for i, IMG_index in enumerate(query_indices):
            img_name = image_names[IMG_index-1]
            img_full_path = os.path.join(data_dir, img_name)
            person_id = pids[IMG_index-1][0]
            camera_id = img_name.split("-")[0]
            query.append((img_full_path, person_id , int(re.findall('\d+',camera_id)[0])))

        gallery = []
        for i, IMG_index in enumerate(gallery_indices):
            img_name = image_names[IMG_index-1]
            img_full_path = os.path.join(data_dir, img_name)
            person_id = pids[IMG_index-1][0]
            camera_id = img_name.split("-")[0]
            gallery.append((img_full_path, person_id , int(re.findall('\d+',camera_id)[0])))

        return  train, query, gallery

ERROR tracebak:
Traceback (most recent call last):
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/tools/train.py", line 154, in <module>
    main()
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/tools/train.py", line 150, in main
    train(cfg)
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/tools/train.py", line 68, in train
    start_epoch     # add for using self trained model
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/engine/trainer.py", line 208, in do_train
    trainer.run(train_loader, max_epochs=epochs)
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 326, in run
    self._handle_exception(e)
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 291, in _handle_exception
    raise e
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 313, in run
    hours, mins, secs = self._run_once_on_dataset()
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 280, in _run_once_on_dataset
    self._handle_exception(e)
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 291, in _handle_exception
    raise e
  File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 272, in _run_once_on_dataset
    self.state.output = self._process_function(self, batch)
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/engine/trainer.py", line 47, in _update
    loss = loss_fn(score, feat, target)
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/layers/__init__.py", line 35, in loss_func
    return xent(score, target) + triplet(feat, target)[0]
  File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 541, in __call__
    result = self.forward(*input, **kwargs)
  File "/media/ehsan/48BE4782BE476810/AA_GITHUP/forked_reid_baseline/layers/triplet_loss.py", line 154, in forward
    targets = torch.zeros(log_probs.size()).scatter_(1, targets.unsqueeze(1).data.cpu(), 1)
RuntimeError: Invalid index in scatter at /pytorch/aten/src/TH/generic/THTensorEvenMoreMath.cpp:151

Logs/initialization:
2019-12-04 10:01:26,619 reid_baseline INFO: Using 1 GPUS
2019-12-04 10:01:26,619 reid_baseline INFO: Namespace(config_file='../configs/softmax_triplet.yml', opts=[])
2019-12-04 10:01:26,619 reid_baseline INFO: Loaded configuration file ../configs/softmax_triplet.yml
2019-12-04 10:01:26,619 reid_baseline INFO:
MODEL:
  PRETRAIN_CHOICE: 'imagenet'
  PRETRAIN_PATH: '/home/eshan/.torch/models/resnet50-19c8e357.pth'
  METRIC_LOSS_TYPE: 'triplet'
  IF_LABELSMOOTH: 'on'
  IF_WITH_CENTER: 'no'

INPUT:
  SIZE_TRAIN: [128, 128]  # SIZE_TRAIN: [256, 128]
  SIZE_TEST: [128, 128]   # SIZE_TEST: [256, 128]

  PROB: 0.5 # random horizontal flip
  RE_PROB: 0.5 # random erasing
  PADDING: 10

DATASETS:
  NAMES: ('RAP') # NAMES: ('market1501')

DATALOADER:
  SAMPLER: 'softmax_triplet'
  NUM_INSTANCE: 4
  NUM_WORKERS: 8

SOLVER:
  OPTIMIZER_NAME: 'Adam'
  MAX_EPOCHS: 120
  BASE_LR: 0.00035

  CLUSTER_MARGIN: 0.3

  CENTER_LR: 0.5
  CENTER_LOSS_WEIGHT: 0.0005

  RANGE_K: 2
  RANGE_MARGIN: 0.3
  RANGE_ALPHA: 0
  RANGE_BETA: 1
  RANGE_LOSS_WEIGHT: 1

  BIAS_LR_FACTOR: 1
  WEIGHT_DECAY: 0.0005
  WEIGHT_DECAY_BIAS: 0.0005
  IMS_PER_BATCH: 8

  STEPS: [40, 70]
  GAMMA: 0.1

  WARMUP_FACTOR: 0.01
  WARMUP_ITERS: 10
  WARMUP_METHOD: 'linear'

  CHECKPOINT_PERIOD: 40
  LOG_PERIOD: 20
  EVAL_PERIOD: 40

TEST:
  IMS_PER_BATCH: 128
  RE_RANKING: 'no'
  WEIGHT: "path"
  NECK_FEAT: 'after'
  FEAT_NORM: 'yes'

OUTPUT_DIR: "/media/ehsan/HDD2TB/PersonReIdentification/reid-strong-baseline/reid_on_RAP_RESULTS"

2019-12-04 10:01:26,619 reid_baseline INFO: Running with config:
DATALOADER:
  NUM_INSTANCE: 4
  NUM_WORKERS: 8
  SAMPLER: softmax_triplet
DATASETS:
  NAMES: RAP
  ROOT_DIR: /media/ehsan/HDD2TB/PersonReIdentification/DATASET_Person_Reidentification
INPUT:
  PADDING: 10
  PIXEL_MEAN: [0.485, 0.456, 0.406]
  PIXEL_STD: [0.229, 0.224, 0.225]
  PROB: 0.5
  RE_PROB: 0.5
  SIZE_TEST: [128, 128]
  SIZE_TRAIN: [128, 128]
MODEL:
  DEVICE: cuda
  DEVICE_ID: 0
  IF_LABELSMOOTH: on
  IF_WITH_CENTER: no
  LAST_STRIDE: 1
  METRIC_LOSS_TYPE: triplet
  NAME: resnet50
  NECK: bnneck
  PRETRAIN_CHOICE: imagenet
  PRETRAIN_PATH: /home/eshan/.torch/models/resnet50-19c8e357.pth
OUTPUT_DIR: /media/ehsan/HDD2TB/PersonReIdentification/reid-strong-baseline/reid_on_RAP_RESULTS
SOLVER:
  BASE_LR: 0.00035
  BIAS_LR_FACTOR: 1
  CENTER_LOSS_WEIGHT: 0.0005
  CENTER_LR: 0.5
  CHECKPOINT_PERIOD: 40
  CLUSTER_MARGIN: 0.3
  EVAL_PERIOD: 40
  GAMMA: 0.1
  IMS_PER_BATCH: 8
  LOG_PERIOD: 20
  MARGIN: 0.3
  MAX_EPOCHS: 120
  MOMENTUM: 0.9
  OPTIMIZER_NAME: Adam
  RANGE_ALPHA: 0
  RANGE_BETA: 1
  RANGE_K: 2
  RANGE_LOSS_WEIGHT: 1
  RANGE_MARGIN: 0.3
  STEPS: (40, 70)
  WARMUP_FACTOR: 0.01
  WARMUP_ITERS: 10
  WARMUP_METHOD: linear
  WEIGHT_DECAY: 0.0005
  WEIGHT_DECAY_BIAS: 0.0005
TEST:
  FEAT_NORM: yes
  IMS_PER_BATCH: 128
  NECK_FEAT: after
  RE_RANKING: no
  WEIGHT: path
=> RAP is loaded
Dataset statistics:
  ----------------------------------------
  subset   | # ids | # images | # cameras
  ----------------------------------------
  train    |  1295 |    13178 |        23
  query    |  1294 |     7202 |        23
  gallery  |  1295 |    28407 |        23
  ----------------------------------------
Loading pretrained ImageNet model......
Train without center loss, the loss type is triplet
label smooth on, numclasses: 1295
2019-12-04 10:01:32,222 reid_baseline.train INFO: Start training


remove examples/stamps testing for now

[x] Is it mergeable?
[ ] Did it pass the tests?
[x] If it introduces new functionality in scripts/ is it tested?
Check for code coverage with make clean diff-cover
[x] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[x] Did it change the command-line interface? Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[x] Is it documented in the ChangeLog?
http://en.wikipedia.org/wiki/Changelog#Format
[x] Was a spellchecker run on the source code and documentation after
changes were made?

Jenkins, test this please

Jenkins, test this please

@ctb @luizirber @camillescott This needs review and merging pronto to fix the long Jenkins build times

Thanks @luizirber!


python-pip has been renamed to python2-pip on el7 epel repo

I found this week that the python-pip package is not available anymore for el7 on epel anymore, it has been replaced by python2-pip. That makes the module fail trying to check if it's installed as puppet does not really handle well the 'obsoletes' and similar rpm headers.

It seems python2-pip was renamed back to python-pip.

I can confirm that it was renamed back to python-pip

Sounds like this is no longer an issue since it was solved by the EPEL folks renaming the package. Please re-open if this is not the case. Thanks everyone!


Consolidate usage of Renderer.material(s) with MaterialInstance.

Describe the bug
A cleanup pass should be done to remove usage of Render.material(s) and replace it with the MaterialInstance behavior from https://github.com/microsoft/MixedRealityToolkit-Unity/pull/6165/. This will reduce accidental leakage of materials. See the note from the Unity Render.material(s) docs:

Note:
This function automatically instantiates the materials and makes them unique to this renderer. It is your responsibility to destroy the materials when the game object is being destroyed. Resources.UnloadUnusedAssets also destroys the materials but it is usually only called when loading a new level.

To reproduce
Steps to reproduce the behavior:

Play a scene
Invoke a script which calls Render.material(s)
Open the Unity Profiler Memory Panel
Take a detailed memory snapshot
Look under Scene Memory/Materials
Note the material count
Delete the game object which invoked Render.material(s)
Note the material count remains the same

Expected behavior
Scene materials are removed with the object which instantiates them.
Screenshots
If applicable, add screenshots to help explain your problem.

Target Platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
OpenVR

Needs to be consolidated with UIMaterialInstantiator from PR #6049

@wiwei this is probably something that should still be addressed to avoid materials leaks.

@Cameron-Micka ; closing this here, if this is still relevant for MRGT make sure to copy it over.


Texture loading outside of res:// does nothing. Is it a bug?

Godot version:
3.1 alpha
Mac OS X
Issue description:
Cannot load a texture outside of the res:// root folder.
Setup a button and add icon from a folder not part of res:// (E.g. res://Users/userx/agodotproj/freeknight/png). When you select the png file, the Load file dialog does nothing. Just sits there. You can only cancel or navigate back to the res:// root folder.

I'm pretty sure this is intended. You can't access any files you want on the system, only those that are located in the project root directory. If you want to access something else you will have to use folders accessible via user:// You should read this: http://docs.godotengine.org/en/3.0/tutorials/io/data_paths.html?highlight=user%3A%2F%2F

You can't use ResourceLoader::load() for resources outside project path because Godot import resource and keep internal versions of it. But you can can can create a texture from image:
var img = Image.new()
img.load("/path/to/image.png")
var tex = ImageTexture.new()
tex.create_from_image(img)

It seems File.open() will honor paths anywhere on the system without user://.
	var new_file = File.new();
	var err=new_file.open("/Users/user/agodotproj/out.json", new_file.READ);
	if err != 0:
		print(err)
	print(new_file.get_len())
	var data=new_file.get_as_text();
	print(data.length())
	err=new_file.close();

Closing as a duplicate of #17848


Fix styling of search list suggestion

What does this PR?
Fix the rendering of search suggestion component. Sometime after writing any query in the search box, it do not shows any searched result.
Shows the searched result in the such format that shows Tags , Users and then communities and "more results" button at the bottom of the list.
Steps to reproduce
1.Type anything in the search bar like shadow , game and whatever of your own choice. If there will be any tags, users and communities corresponding to that word, it will show just 2 tags, user and communities.
2. You can take guideline from the attached vide.
Issue number
fixes #1269
Screenshot / Video
https://user-images.githubusercontent.com/106739598/226357718-0145d0fd-62e0-4b87-ab2a-558cfe928285.mp4

@MTSaeed Looking good, only let's add test for search-suggester component and always consider checking if test exist on components or if they can be converted to functional from class based.

Hi @feruzm
I have added the test for this component.


Add update notifier

Global npm scripts can often be forgotten to be updated, so this PR adds the same update notification module that nodemon uses, simple-update-notifier, and lets it check npm for an update once per day.
Waiting for https://github.com/alexbrazier/simple-update-notifier/pull/16 before merging.

Closing in favor of #9 for now


Added Lightline theme

Used the main palette for the base colors. The directory structure is needed for Lightline to detect the colorscheme as usual.

Probably I should try to use the existing palettes from lua/melange/palettes. Sorry about this PR, I will reopen once it's more elegant.

Hey @Nandax00, Thanks for working on this.
You're right, it's probably better to use lua/melange/palettes. That'd make it easier to switch colors according to the background (dark/light).
Since Melange only supports Neovim, the dictionary could probably be defined in a lua-heredoc.
Also, please remember to add a link to the plugin repo in our README.


Not exported interfaces with same name will be overwritten based on file name

Search terms
wrong type, wrong interface
Expected Behavior
When referencing a non-exported interface, it should use the interface from the file.
Actual Behavior
When referencing a non-exported interface, it might, depending on the file name, use interfaces of the same name from other files that are also not exported.
Steps to reproduce the bug
Minimal Repository
Packages:
"typedoc": "0.19.2",
"typescript": "4.0.3",
"ts-node": "9.0.0"
"@types/node": "14.11.5"

Environment

Typedoc version: 0.19.2
TypeScript version: 4.0.3
Node.js version: 14.11.5
OS: Windows 10

Thanks for the reproduction!
This one goes back to the same problem as it always seems to be with references... TypeDoc tries to do its own handling instead of relying on the compiler api. It works properly with exported symbols at least...
This probably won't be fixed... Documenting non-exported members is a non-goal of library mode, which is where all my time is going right now.


Breaks if trying to render a file in a subdirectory.

For sanity, I tried to keep the custom js2flowchart subfolder, which is a little a pain already, concise by rendering from the root of my project:
~/https/github.com/xyz (gh-pages) $ cd scripts
~/https/github.com/xyz/scripts (gh-pages) $ js2flowchart map.js
SVG file was created: ./js2flowchart/map.js.svg
~/https/github.com/xyz/scripts (gh-pages*) $ cd ..
~/https/github.com/xyz (gh-pages*) $ js2flowchart scripts/map.js
{ Error: ENOENT: no such file or directory, open './js2flowchart/scripts/map.js.svg'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: './js2flowchart/scripts/map.js.svg' }

Apparently this is just not possible, as the script seems to reuse the JS file's path completely for the SVG, including path fragments and not relying on mkdir -p-like behaviour.

Hi @almereyda, thanks for a good finding. Indeed, I don't like that extra dir as well now 😺 . I've removed it and actually it fixes the issue with subdirectory as well. Pushed the fix, closing the issue.

Many thanks!
On 18 December 2017 at 20:36, Bohdan Liashenko<EMAIL_ADDRESS>wrote:

Closed #18
https://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart/issues/18.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Bogdan-Lyashenko/js-code-to-svg-flowchart/issues/18#event-1392797721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABka_NYzAE9lFFXTsdGY7aJktj-clX7Lks5tBr6zgaJpZM4Qz-F3
.


Display "0 projects blocking..." message w/ flair

Add a little flair when projects are Python 3 compatible.

Because who couldn't use a bit more flair?

Thanks for the PR, but I would rather not add an optional dependency on an external project for something like this. It's just asking to break accidentally otherwise.


Add Replicate demo and API

Hi @haodong2000 ,
Great work on Lotus!
This pull request makes it possible to run Lotus on Replicate (https://replicate.com/chenxwh/lotus) and via API (https://replicate.com/chenxwh/lotus/api). Also we'd like to transfer the demo page to EnVision-Research so you can make modifications easily, and happy to help maintain/integrate the upcoming changes and improving the demo :)

Hi @chenxwh ,
So excited to see your replicate demo and API!
But I've added your replicate link to Github README and the project page:

I deeply appreciate your interest, have a good day!
Thanks,


Fix missing to_a to convert to Rails array

Fixes #583.
This was due to the unsafe RuboCop rule in #566: Style/ArrayIntersect.

Safety: This cop cannot guarantee that array1 and array2 are actually arrays while method intersect? is for arrays only.

That was the case here.

[x] Checked locally that repro given in #583 is not applicable anymore in localhost.
[x] I also searched for other occurrences of intersect? but this was the only one in our codebase.

I'd say we deploy this to main directly as a hotfix, ok?


Dispatched Actions from Effects getting not emitted though "customActionsStream"

Which @ngneat/effects-* package(s) are the source of the bug?
effects-ng
Is this a regression?
No
Description
During writing jest tests for effects I've encountered the problem, that actions, which are dispatched by effects are not getting emitted inside customActionsStream. During runtime and regular use (without customActionsStream),  this problem does not exist.
The simple test example below illustrates the problem: loadTodos gets dispached and dispatches after completion loadTodos2.
The test fails, because loadTodos2 never apprears inside customActionsStream$.
How I've encountered this problem? / Use Case
I want to test effects, which are performing store updates. To ensure, that the update process triggered by the effect is properly performed, the effect dispatches a "completion" action. When the completion action is dispatched, I'm able to verify, that the performed state mutations/ async side-effects are properly done.
Reproduction example:
import { TestBed } from '@angular/core/testing';
import { Actions, createAction, createEffect, ofType } from '@ngneat/effects';
import { provideEffects, provideEffectsManager } from '@ngneat/effects-ng';
import { map } from 'rxjs/operators';
import { Injectable } from '@angular/core';

const loadTodos = createAction('[Todos] Load Todos');
const loadTodos2 = createAction('[Todos] Load Todos2');

@Injectable()
class EffectsOne {
  loadTodos$ = createEffect(
    (actions$) =>
      actions$.pipe(
        ofType(loadTodos),
        map(() => loadTodos2()),
      ),
    { dispatch: true },
  );
}

it('should emit loadTodos2 action', (done) => {
  const customActionsStream$ = new Actions();

  TestBed.configureTestingModule({
    providers: [
      provideEffects(EffectsOne),
      // eslint-disable-next-line rxjs/finnish
      provideEffectsManager({ customActionsStream: customActionsStream$, dispatchByDefault: true }),
    ],
  });

  customActionsStream$.pipe(ofType(loadTodos2)).subscribe((todos) => {
    expect(todos).toBeDefined();
    done();
  });
  customActionsStream$.dispatch(loadTodos());
});

Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Error: thrown: "Exceeded timeout of 5000 ms for a test while waiting for `done()` to be called.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."

Please provide the environment you discovered this bug in
jest 29.5.0
@ngneat/effects 2.1.1
@ngneat/effects-ng 3.1.2

Anything else?
No response
Do you want to create a pull request?
No

Hi. You have a typo in your test. You are listening to loadTodos2 action but dispatching loadTodos so done is not being called. And I suggest injecting customActionsStream as Actions and checking the instance.
class CastomActions extends Actions {}

const actions = TestBed.inject(Actions);

expect(actions).toBeInstanceOf(CustomActions);

I checked a code. There's a bug when we return an action to dispatch in effect. You're welcome to make a pr. We need to change a little subscribeEffect and check for customActionsStream not only in effect.sourceFn but also while dispatching in the subscribe.

@TobbiAR please update to the latest version. I made a little fix so it should work fine now.

I'll test this feature as soon I'm able to migrate my project to angular v16. Thank you!


Exclusion of not used images/blobs while Garbage Collection

Hello,
we are running the registry-container image in our Kubernetes environment via the https://artifacthub.io/packages/helm/twuni/docker-registry Helm Chart in the Version 2.2.2 with the image-tag "3.0.0-beta.1".
However the Garbage-collection always runs into an error "failed to garbage collect: failed to mark: filesystem: Path not found: /docker/registry/v2/repositories/snyk/kubernetes-monitor/_layers/ " as this is not in our object storage.
I tried putting a simple file and/or another artifact from our object storage into the missing directory, however none of this worked.
Does there exist a possibility to exclude this and other artifacts that are not used by our registry?

Closing. This is the wrong repo to report this issue on. Please open a new issue in https://github.com/distribution/distribution


SIGSEGV crash after opening Steam

Experienced a crash after Steam finished updating and tried to open the main Steam client. On latest hyprland-git commit from AUR
hyprland.log last 44 lines
[LOG] Registered signal for owner 8ca20e10: 8ca22888 -> 8ca20e78 (owner: XWayland Window)
[LOG] Registered signal for owner 8ca20e10: 8ca22898 -> 8ca20ee0 (owner: XWayland Window)
[LOG] Registered signal for owner 8ca20e10: 8ca22808 -> 8ca20f48 (owner: XWayland Window)
[LOG] Registered signal for owner 8c9ecae0: 8c9d85f0 -> 8c9ed0f8 (owner: Toplevel)
[LOG] Registered signal for owner 8c9ecae0: 8c9d8600 -> 8c9ed160 (owner: Toplevel)
[LOG] Registered signal for owner 8c9ecae0: 8c9d8610 -> 8c9ed090 (owner: Toplevel)
[LOG] Searching for matching rules for Steam (title: Steam)
[LOG] OPENINGON: 8c9c9d50, Workspace: 1, Monitor: 1
[LOG] Set keyboard focus to surface 8ca22e80, with window name: Steam
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 8c9ecae0: 8c9ec9b8 -> 8c9ecd50 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8c9ecae0: 8c9ec9c8 -> 8c9ecfc0 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8c9ecae0: 8c9ec968 -> 8c9ed028 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8c9ecae0: 8c9ec9f8 -> 8c9ecc80 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8c9b49a0: 8ca23150 -> 8c9b49a8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 8c9b49a0: 8ca23140 -> 8c9b4a10 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 8c9b49a0: 8ca23160 -> 8c9b4a78 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 8c9ecae0)
[LOG] Map request dispatched, monitor DP-2, xywh: 12.000000 12.000000 5096.000000 1356.000000
[LOG] Window 8c9d6510 destroyed, queueing. (class unmanaged X11)
[LOG] XWayland class raw: (null)
[LOG] Callback 8c9d65a0 -> 8c9d6598, XWayland Window removed.
[LOG] Callback 8c9d6608 -> 8c9d6600, XWayland Window removed.
[LOG] Callback 8c9d6670 -> 8c9d6668, XWayland Window removed.
[ERR] onWindowRemovedTiling node null?
[LOG] Window 8c9d5780 destroyed, queueing. (class unmanaged X11)
[LOG] XWayland class raw: Steam
[LOG] Callback 8c9d5810 -> 8c9d5808, XWayland Window removed.
[LOG] Callback 8c9d5878 -> 8c9d5870, XWayland Window removed.
[LOG] Callback 8c9d58e0 -> 8c9d58d8, XWayland Window removed.
[LOG] Cleanup: destroyed a window
[LOG] Searching for matching rules for Steam (title: )
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 8ca20e10: 8ca22868 -> 8ca21080 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8ca20e10: 8ca22878 -> 8ca212f0 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8ca20e10: 8ca22818 -> 8ca21358 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8ca20e10: 8ca228a8 -> 8ca20fb0 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8ca20e10: 8ca22948 -> 8ca21018 (owner: XWayland Window Late)
[LOG] Registered signal for owner 8c6d7d10: 8ca26850 -> 8c6d7d18 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 8c6d7d10: 8ca26840 -> 8c6d7d80 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 8c6d7d10: 8ca26860 -> 8c6d7de8 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 8ca20e10)
[LOG] Map request dispatched, monitor DP-2, xywh: 4880.000000 1538.000000 240.000000 74.000000
[LOG] Unmanaged window 8ca20e10 requests geometry update to 4880 1444 240 74

Core dump info:
https://pastebin.com/RbwjJFmK

Reopening Steam did not cause hyprland to crash, might be a non-issue but thought I'd drop some logs in case there's something there worth looking at

Just encountered the same thing as you, so it's not just a one-person issue it seems

check with f2d84a7e3a323875c2e298094106a55ec21a3947

No crashes so far, will reopen if it happens again. Thanks king


No license file

I wanted to implement https://github.com/jjclark1982/bitburner-scripts/blob/main/hacking/batch-view.js into my bitburner scripts; but given they're synced via github I'd have to redistribute; since you have no license file in your repo I can't legally do that. (since you own exclusive rights to any program you write)
In the spirit of open source, could you add a license to your repository? GitHub has a tool to help you with that!

Thanks. I have added a permissive license.


9.27 例行上线

9.27 例行上线

Pull Request Test Coverage Report for Build 493

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 93.611%

Totals

Change from base Build 472:
0.005%

Covered Lines:
3098

Relevant Lines:
3232

💛  - Coveralls


Add Config

Describe the feature/addition!
Add Config
Can select the path to the language file and the default language
Why would like to see this feature/addition?
For people with other languages, the default English will be very bad.

English is the default localization language of Minecraft. If translations are missing, it will always fall back to English. You can provide translations for other languages via datapacks which is really easy with KubeJS. Just use the localization keys from kubejs/assets/ponderjs_generated/lang/en_us.json.


Sharing Doesn't Copy

I updated earlier this morning with the latest tag and sharing seems to have stopped working. Clicking the Share button after completing it no longer copies anything to the clipboard.
I saw in the other issue you referenced https://reactle.vercel.app/ so I tried to reproduce it, but sharing copies the results as expected there.
Thank you for your work on this!
EDIT:
I've confirmed this on Android Chrome, Windows Chrome, and Linux Chrome

No worries!
What I'm looking to do, is recreate the entire project from scratch and recreating the image from upstream.
Might take until the weekend depending how work goes, but bear with me and I'll get on it!
In the meantime, there's a legacy tag which is the old version that's unmodified.

Just an update, it looks like the upstream may also be having this issue.
I've submitted an issue and hopefully we'll get it resolved relatively quickly.
Good to know it wasn't (just) something I did! :P

@josolanes Turns out this is an intentional functionality from browsers when a site isn't hosted via https.
https://github.com/cwackerfuss/react-wordle/issues/331#issuecomment-1073155476
If you host it via https instead of local, the functionality works as intended.
This is how I tested:
  wordle:
    image: modem7/wordle
    container_name: Wordle
    ports:
      - 80:8080
    networks:
      pihole:
    labels:
      # - backup
      - autoheal=true
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.wordletest-rtr.entrypoints=https"
      - "traefik.http.routers.wordletest-rtr.rule=Host(`wordletest.$DOMAINNAME`)"
      - "traefik.http.routers.wordletest-rtr.tls=true"
      ## Middlewares
      - "traefik.http.routers.wordletest-rtr.middlewares=chain-no-auth@file"
      ## HTTP Services
      - "traefik.http.routers.wordletest-rtr.service=wordletest-svc"
      - "traefik.http.services.wordletest-svc.loadbalancer.server.port=8080"

Ah! That's likely it, mine is http not https
I'll try to move it over to https later and will let you know. Thank you so much for looking into it and finding this!

Ah! That's likely it, mine is http not https
I'll try to move it over to https later and will let you know. Thank you so much for looking into it and finding this!

No worries! I'm glad it got found out by another user!
I'll keep this open until you tested and hopefully it all works as intended!

Hi @modem7 I feel like due to intricacies in my system (hosting several sites, some in VM, some in docker) that I'm unable to make wordle use https. I'm also not super strong with networking and setup, but have enough knowledge to setup some things
Consequently, I'm working on moving over to the legacy tag but that keeps giving me a 500 when trying to create it (using portainer as a docker UI). I can't seem to figure out how to get additional details except a 500 occurs. I am able to pull the image, but unable to create the container with basic setup (80:80 port is basically it)

Hi @modem7 I feel like due to intricacies in my system (hosting several sites, some in VM, some in docker) that I'm unable to make wordle use https. I'm also not super strong with networking and setup, but have enough knowledge to setup some things
Consequently, I'm working on moving over to the legacy tag but that keeps giving me a 500 when trying to create it (using portainer as a docker UI). I can't seem to figure out how to get additional details except a 500 occurs. I am able to pull the image, but unable to create the container with basic setup (80:80 port is basically it)

Heya,
I'm just sorting some stuff out, but are you able to give me a shout on discord at modem7#1136 and we'll see if we can get things resolved for you.

Resolved via discussion on discord and recreating container using a different external port.

Just as an FYI for anyone looking at this issue.
Sharing has been resolved. The issue was due to not hosting as HTTPS as per https://github.com/modem7/react-wordle/issues/14#issuecomment-1073261043.


Add api to test lazy lists

@Vacxe when it will be in release? we need it =)

@Vacxe when it will be in release? we need it =)

I see the solution. Try to release asap

@AJIEKCX @J-Vegas hey mates, I terribly sorry for the late response just have a busiest days in my life. Happy to create a new release after those PRs will be merged.

Really sorry guys, I wanted to improve the current API but didn't have enough time to do so because I had different working tasks. I've fixed all code review discussions for now, but it's not perfect solution and we should improve it later.


API Review

Timex has undergone a great deal of change over the past few months. Before we can start thinking about the possibility of merging it into the standard library, I think it's important to take a step back and think about the API, and make sure it meets the following requirements:

[x] User guide/intro documentation
[ ] Fully documented (@moduledoc, @doc, @spec)
[ ] Fully tested (a good suite of tests for each API function)
[ ] Consistency (is there uniformity to the order of arguments, can pipelines be used when chaining date/time manipulations together, is naming consistent, are modules namespaced consistently, etc).
[ ] Dialyzer gods are pleased.

These are all "ideal" items to be checked off before a potential merge into the standard library can be considered. These aren't strictly tasks, so much as they are a confirmation that these items have been reviewed, and are deemed satisfactory.

@bitwalker are you thinking in moving to R18 new time API?

@mr-bt I've actually already implemented this in the Time module. If you look at the definitions for now/1 or measure/3 you can see where I'm checking a cached value for the current OTP release, and using the new Time API if it's available (i.e. OTP 18+). The Date module does not use the Time API (it really only deals with the Erlang calendar module.
I'm thinking of refactoring the way I'm handling whether to use the new Time API or not, because I really don't like having to check a cached value, but it was the only way I could think of to handle the case where you might compile on a different version than you run in prod. I'll probably change it to bake in one or the other at compile time, and if you deploy to an older version of OTP, then it will explode, but that should probably be expected anyway.


fix: guild and role methods

Codecov Report

Merging #2751 (de2f8a2) into node-migration-clean (38802b1) will increase coverage by 3.65%.
The diff coverage is 89.97%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                   Coverage Diff                    @@
##           node-migration-clean    #2751      +/-   ##
========================================================
+ Coverage                 22.92%   26.57%   +3.65%
========================================================
  Files                        73       69       -4
  Lines                     23233    22593     -640
  Branches                    169      180      +11
========================================================
+ Hits                       5327     6005     +678
+ Misses                    17900    16583    -1317
+ Partials                      6        5       -1

Flag
Coverage Δ

*Carryforward flag

client-unit
0.00% <ø> (ø)

discordeno-unit
0.00% <ø> (ø)

gateway-unit
?

rest-e2e
84.68% <85.86%> (ø)

Carriedforward from 38802b1

rest-unit
78.75% <84.06%> (+0.37%)
:arrow_up:

utils-unit
29.30% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

packages/rest/src/manager.ts
91.50% <89.97%> (+6.36%)
:arrow_up:

packages/gateway/src/Shard.ts

packages/gateway/src/index.ts

packages/gateway/src/types.ts

packages/gateway/src/manager.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Render Error : opencv can not read the input image

Dear hongsukchoi,
File "evaluate.py", line 261, in
orig_height, orig_width = img.shape[:2]
AttributeError: 'NoneType' object has no attribute 'shape'
Thank you a lot.

Hi @leilimaster,
It obviously seems that cv2.imread() has not read an image from the image path.
I recommend you to check whether the image is located in the image path.


Menus missing with MacOS Catalina

Upgraded to MacOS Catalina and menus disappeared in VS Code and cannot get them to display properly.

VSCode Version: 1.39.2
OS Version: MacOS Catalina

Steps to Reproduce:

Upgrade MacOS to Catalina with system that already has VS Code installed

Uninstalled and reinstalled, after getting around the Apple has not verified the app error, and menu is still missing.

Does this issue occur when all extensions are disabled?: Yes/No

@nukdcbear can you share a screenshot of the menu to which you are referring?

Please close this ticket. Figured out what was missing and where it is.


Feature/sof 316/multienvironment

If the user wants to use another URL to "attack" the public API, only has to define the enviroment variables QUANTUM_SERVICE_URL, [AUDIENCE_URL]


[Feature] cgroupv2fix: enable by default and move to nodestart

This PR enables the custom not-so-experimental-anymore entrypoint script for servers/agents if k3d detects that the runtime is on CgroupsV2.
This can be disabled by setting the environment variable K3D_FIX_CGROUPV2=false.
Additionally, the fix is now active also for k3d node create, not only for k3d cluster create.
Fixes #599

Why is this the default? Isn't this fixed in k3s upstream with https://github.com/k3s-io/k3s/pull/4086?
Reason: to get NFS to work with k3d we have to use both a custom k3s image as well as a custom entrypoint (https://github.com/k3d-io/k3d/issues/1109#issuecomment-1613922061). The custom entrypoint cannot be applied because K3D_FIX_CGROUPV2 overrides it. Maybe you have a better way?

@jlian , the reason is in the comment of the issue you linked: https://github.com/k3s-io/k3s/pull/4086#issuecomment-931639392
... but we need the init process as per https://github.com/k3d-io/k3d/pull/129


No progress information during in-cluster copy/move

Required information

Distribution: Ubuntu
Distribution version: 20.04
The summary output of "lxc info":

  driver: lxc
  driver_version: 4.0.4
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 5.4.0-29-generic
  os_name: Ubuntu
  os_version: "20.04"
  project: default
  server: lxd
  server_clustered: true
  server_name: ijssel
  server_pid: 968857
  server_version: "4.6"
  storage: lvm
  storage_version: 2.02.176(2) (2017-11-03) / 1.02.145 (2017-11-03) / 4.41.0

Issue description
Using --verbose with lxc move or lxc copy does not give progress information as it used to.
Steps to reproduce
Just create a new container and copy or move it to a different node on the cluster (or any other remote)
lxc init ubuntu:18.04 c1
lxc copy --verbose c1 c2 --target luts

Are you sure you were getting progress information when copying within a cluster instead of between remotes?

In any case, it's something that we should report progress for, I'm just trying to figure out if it's an actual regression rather than just a case where progress details were not added.

I don't know about within a cluster. We started using the cluster just recently.
So, you're saying with remotes you get verbose, but not within a cluster. If that is so, then it is not intuitive.

Yeah, in some cases we should be able to provide the progress data here.
lxc copy a b --target blah in a cluster is using the same code path as a local lxc copy a b which also does not provide you with progress details.

Whereas a lxc copy remote1:a remote2:b uses a different API (migration) with the client talking to both servers and getting progress data from both sides. (In the other cases, the client only talks to a single server)

Hi, I'm a student at UT Austin working with some other students looking for issues to contribute to. If possible, could my group claim this issue to work on for our virtualization class? Thanks!

Done, assigned it to you!

Hey @stgraber, I'm having a little trouble getting started on this issue, if you have some time, some guidance would be greatly appreciated. Thanks!

An in-cluster copy is initiated through POST /1.0/instances/NAME which hits instance_post.go.
You then hit the targetNode != "" of containerPost which eventually gets you onto the migration logic with two possible outcomes:

containerPostClusteringMigrateWithCeph
containerPostClusteringMigrate

Looking at that latter, it sets up a function called run which performs an API move (copy+delete).
It has access to the operation (op variable) but never updates its metadata so the client never gets any progress during such an operation.
To do this, you'd want that run() function to use dest.GetEvents() to get access to the event stream, filter those events to only get those you care about for the dest.CopyInstance call (similar to what we do in lxc/copy.go) but instead of printing those events to the user on the command line, you'll instead put them into op using op.UpdateMetadata, effectively relaying them to the user.
The containerPostClusteringMigrateWithCeph case is trivially solved with this tiny patch:
diff --git a/lxd/instance_post.go b/lxd/instance_post.go
index 218602a6b..3b2a05035 100644
--- a/lxd/instance_post.go
+++ b/lxd/instance_post.go
@@ -430,7 +430,7 @@ func containerPostClusteringMigrate(d *Daemon, c instance.Instance, oldName, new

 // Special case migrating a container backed by ceph across two cluster nodes.
 func containerPostClusteringMigrateWithCeph(d *Daemon, c instance.Instance, projectName, oldName, newName, newNode string, instanceType instancetype.Type) response.Response {
-       run := func(*operations.Operation) error {
+       run := func(op *operations.Operation) error {
                // If source node is online (i.e. we're serving the request on
                // it, and c != nil), let's unmap the RBD volume locally
                logger.Debugf(`Renaming RBD storage volume for source container "%s" from "%s" to "%s"`, c.Name(), c.Name(), newName)
@@ -453,7 +453,7 @@ func containerPostClusteringMigrateWithCeph(d *Daemon, c instance.Instance, proj
                }

                // Trigger a rename in the Ceph driver.
-               err = pool.MigrateInstance(c, nil, &args, nil)
+               err = pool.MigrateInstance(c, nil, &args, op)
                if err != nil {
                        return errors.Wrap(err, "Failed to rename ceph RBD volume")
                }

Thanks so much for the help @stgraber! I've been trying to figure out how to filter the events for the CopyInstance call by looking at lxc/copy.go and other files which use dest.getEvents() but I'm still not really sure how I would go about filtering the events from a listener object returned by dest.getEvents(). I see some code regarding a ProgressRenderer but I'm not entirely sure how to use this.
Also, when would the metadata of op need to be updated in run(), after everything (including copying, deleting, and renaming, and restoring the original value of volatile.apply_template), or just after CopyInstance() (since we're filtering for events only concerning CopyInstance)?

GetEvents() gets you an EventListener, you call AddHandler on that to record a handler for the type you care about (in this case operation).
You then have the function you passed to that handler get called every time an operation is updated, you then need to match that with the operation id you got from the CopyInstance call, if they match, you then get the Metadata of that operation and use it to update your own operation with op.UpdateMetadata, effectively forwarding the Metadata change.

@gzhang1218 Do you still intend to work on this or should we un-assign so someone else can have a go at it?

@gzhang1218 Do you still intend to work on this or should we un-assign so someone else can have a go at it?