Update discussion of charge-changing

Proposed Change
Update "Changes in net charge can be challenging/problematic" to reflect recent work.
Proposed Authors and Reviewers
Please confirm (before the end of January) that you are happy to author/ review and state when you're available. Authors, please say roughly when you plan to contribute the changes (no later than the end of May).
Proposed author: @vgapsys and Chris Oostenbrink (unable to find GitHub handle)
Proposed reviewer: Volunteer wanted

I can review this section


plugins: plugin system

Currently, the client is going to use a pluggable architecture that allows integration from third party APIs like so:
transloadit
  .use(dropbox)
  .use(googleDrive)

There are two major use cases for the transloadit client:

Upload files to Transloadit with the help of the transloadit client UI
Upload files to Transloadit with a custom UI

What will the transloadit plugins need to provide in both of these cases?
It seems the process can be abstracted as follows:
input file -> modifications/configuration -> uploading -> server-side processing -> output

If the user is using their own UI and want to integrate with dropbox, for instance, what is the transloadit-dropbox plugin going to provide them to do this?

I think there is one more step
input file -> modifications/configuration -> uploading -> server-side processing -> output

modifications/configuration is for instance: selecting an area that the server will use as cropping coordinates. Like https://transloadit.com/example_apps/image-cropper/index.php

Updated my post to reflect that for easy reference.

If the user is using their own UI and want to integrate with dropbox, for instance, what is the transloadit-dropbox plugin going to provide them to do this?

A consistent interface I think? If dropbox' integration kit does BC-breaking changes, our plugin could compensate for that. Our plugin might also need to ask servers for auth tokens or similar.
I'm not sure of course. It's an interesting idea. We'd need to learn more

The ‘simplest’ way to figure this out: build Instagram, Dropbox and Google Drive, compare them and see if they turned out different or mostly the same. Then question this again.
Look here, it is a plugin for social share & like buttons: https://github.com/sapegin/social-likes/blob/master/src/social-likes.js#L33. Seems like they all are kind of the same, but there are minor differences and additions here and there.

The ‘simplest’ way to figure this out: build Instagram, Dropbox and Google Drive, compare them and see if they turned out different or mostly the same. Then question this again.

I'd have to agree that this is best decided by trying

My gut feeling says we'd get a messy core quickly if it had to compensate for all the different implementation details of the external libraries. Small wrappers seem cleaner and easier to update, and protect core from many changes as external libraries change
As for

input file -> modifications/configuration -> uploading -> server-side processing -> output

I think each plugin will need to 'announce' where it belongs in this chain by exposing a type.

We have settled for now on a basic system as laid in https://github.com/transloadit/transloadit-js-client/blob/f1aa1072d5159c372624a57d5a8edaad2119efa9/classes.es6#L55


Extened scope support for multiple strings, methods, wheres.

Hi @RobinBuschmann, please can you add this feature?
Thx, Mike

Codecov Report

Merging #322 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #322   +/-   ##
=======================================
  Coverage   96.66%   96.66%
=======================================
  Files         117      117
  Lines        1019     1019
  Branches      133      133
=======================================
  Hits          985      985
  Misses         15       15
  Partials       19       19

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 3309260...3480fa2. Read the comment docs.

@fl3xman thanks for contributing. Can you provide any documentation where this is defined? I couldn't find any.

Yes, here: http://docs.sequelizejs.com/manual/tutorial/scopes.html#usage
Project.scope('random', { method: ['accessLevel', 19]}).findAll();

Ah ok. Thanks for implementing :)


Use a CQRS pattern for event bus.

This will lead to a simpler and faster implementation.

I am not sure if MediatR supports loose type matching, like if the class names match then it works. In O1 and O2 currently messages (method calls) match by name and can have different arguments.
A solution like MediatR would then need to map the two types of objects, it could use some sort of serialization to do so, like Json.NET.
Or stop supporting it and have the event classes in the Abstractions modules.
As a side note, because class implementing multiple interfaces is a hard issue with ASP.NET DI, I think we should avoid having a class implement a service interface, and also an event handler. Event handler should be independent services, and request the other one or its state as needed.

how about brighter?
https://github.com/BrighterCommand/Brighter

Alternative https://github.com/dotnet-architecture/eShopOnContainers


xgboost==0.90 fails to install on Windows 10

C:\Users\Ryan\xgboostinstall>uv init
Initialized project `xgboostinstall`

C:\Users\Ryan\xgboostinstall>uv add xgboost==0.90
Using CPython 3.12.7
Creating virtual environment at: .venv
Resolved 4 packages in 14ms
error: Failed to install: xgboost-0.90-py2.py3-none-win_amd64.whl (xgboost==0.90)
  Caused by: RECORD file doesn't match wheel contents: Could not find entry for xgboost-0.90.data\data\xgboost\vcomp140.dll (C:\Users\Ryan\xgboostinstall\.venv\Lib\site-packages\xgboost-0.90.data\data\xgboost\vcomp140.dll)

C:\Users\Ryan\xgboostinstall>uv --version
uv 0.4.29 (85f9a0d0e 2024-10-30)

C:\Users\Ryan\xgboostinstall>ver
Microsoft Windows [Version 10.0.19045.5011]

This does work with pyenv.
I realize that xgboost 0.90 is from May 2019, so this might not be worthwhile. But, I want to report it in case it hints at some larger issue.
Thank you so much for uv, it is changing how we work!

I've checked and confirmed that this is a bug in the packaging of that xgboost version:
In https://inspector.pypi.io/project/xgboost/0.90/packages/5e/49/b95c037b717b4ceadc76b6e164603471225c27052d1611d5a2e832757945/xgboost-0.90-py2.py3-none-win_amd64.whl/xgboost-0.90.dist-info/RECORD#line.18, it records a xgboost-0.90.data/data/xgboost/xgboost.dll, but the package contains a ./xgboost-0.90.data/data/xgboost/vcomp140.dll (https://inspector.pypi.io/project/xgboost/0.90/packages/5e/49/b95c037b717b4ceadc76b6e164603471225c27052d1611d5a2e832757945/xgboost-0.90-py2.py3-none-win_amd64.whl/).

Thank you for explaining what is going on.
Is there a switch to tell uv to ignore extra files missing from the RECORD? I'm guessing that is what pip is doing.

As far as i know, pip is basically just ignoring the RECORD. We need the RECORD properly, since we use it for uninstalling files. I recommend upgrading to a newer xgboost version that has this bug fixed.


back to bsd 3 clause

Fixes #244

Looks good to me.

Copyright notices need to be fixed as well.  Also, buy-in is needed from the authors of contributions made when the code was licensed under the copyleft Apache v2.
I'll take care of this.


Update podspec

The latest version of RxWebKit on Cocoapods is 0.3.3 which isn't installable with RxSwift/RxCocoa 3.2.0. We're needing to reference the latest commit in our podfile to get it installing.
Could a new podspec release be done?
Same issue as RxMKMapView https://github.com/RxSwiftCommunity/RxMKMapView/issues/20

Hi @patrickbdev
podspec was updated by #8
please use version 0.3.4!
thanks!

Thanks @mokumoku, really appreciated!


More Test changes -  mostly restarts

Removing read-only tests only for appveyor seems to soothe its soul


Adds a basic length field based frame decoder class.

Adds a basic length field based frame decoder class.
Motivation:
Adding a popular type of decoder that is useful in real-world situations, particularly when dealing with protocol buffers.
Modifications:
Added the decoder class, tests and Linux test files.
Result:
The project now includes a basic length field based decoder which can be built upon.

Hi, just to let you know. I have either changed or answered all outstanding. I am happy to make further changes if you think they are required. Thanks.

p.s. ... https://forums.swift.org/t/happy-thanksgiving-a-k-a-where-are-all-the-apple-folks/18070

@swift-nio-bot test this please

@swift-nio-bot please test

@swift-nio-bot test this please


mongo 2.8 and 3.0 segfaults

docker run -it --rm --entrypoint=/bin/sh mongo:2.8
# mongod
Segmentation fault (core dumped)

 docker run -it --rm --entrypoint=/bin/sh mongo:3.0
# mongod
Segmentation fault (core dumped)

It does however work with mongo 3.2

Unable to reproduce (see below). Probably corrupt images. Try deleting them completely and pulling them again.
 My version is (on Debian):
docker version
Client:
 Version:       18.02.0-ce
 API version:   1.36
 Go version:    go1.9.3
 Git commit:    fc4de44
 Built: Wed Feb  7 21:16:24 2018
 OS/Arch:       linux/amd64
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      18.02.0-ce
  API version:  1.36 (minimum version 1.12)
  Go version:   go1.9.3
  Git commit:   fc4de44
  Built:        Wed Feb  7 21:14:54 2018
  OS/Arch:      linux/amd64
  Experimental: false

What version did you use to try it?

The 2.8 version of MongoDB was only a release candidate and was renamed to 3.0: https://github.com/docker-library/mongo/pull/19. Still not sure why you would get segfaults on 3.0. I just tested 3.0 again on docker 18.02.0-ce on my AMD64 Debian Stretch host and it worked fine. :confused: :cry:

Since this issue doesn't seem to denote any errors with the image I'm going to close, if there is something reproducible to show an issue with the image that could be changed then I'll re-open.

@yosifkit @wglambert FY: I was just googling docker mongodb 3.0 segfault and found my old thread (almost 4 years leater) :sweat_smile:
The issue still persists, at least on my machine. In the meanwhile I have a new notebook and latest Debian installed, both versions 2.8 and 3.0 still segfault on my machine. My Docker version:
$ docker --version
Docker version 20.10.14, build a224086


Remove libavif support

See https://github.com/ardaku/alloy/issues/254 for more information

Makes sense to remove if it's not working.   I don't know about rav1d -- it has 200K lines of asm.  Maybe aom-decode?

Yeah, aom-decode is another choice that may be a better option today.  Although it does currently include some C in libaom.


Add assessment to priv/repo/seeds

Can we have some seeded assessments to populate the staging servers?

Thanks!


vue with nginx

Hi I am running node+express+vue
Here is my nginx configuration
server {

  listen 443;
  server_name mydomain.com;
  ssl                  on;
  ssl_certificate      /root/mydomain.com.cert;
  ssl_certificate_key  /root/mydomain.com.key;
  ssl_session_timeout  5m;
  ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

  location / {
        proxy_pass http://localhost:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;
    }
}

With the above configuration I can access my site using https://mydomain.com but in Chrome's console there are some error appears.
GET https://localhost:8080/sockjs-node/info?t=1517580112789 net::ERR_CONNECTION_REFUSED
client?d420:175 [WDS] Disconnected!
sockjs.js?3600:1601 GET https://localhost:8080/sockjs-node/info?t=1517580112789 net::ERR_CONNECTION_REFUSED

Would you please help me why localhost:8080 is still appears? and how to fix this

This question is only indirectly related to the template and likely not bug.
I would kindly ask you to use forum.vuejs.org for way rations like these, to keep the issue tracker focused on bugs etc.


release v2.1.0-rc1

Signed-off-by: disksing<EMAIL_ADDRESS>What have you changed? (mandatory)
Add changelog and revise version strings
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
None
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
None
Does this PR affect tidb-ansible update? (mandatory)
None
Refer to a related PR or issue link (optional)
None
Benchmark result if necessary (optional)
None
Add a few positive/negative examples (optional)
None

/run-all-tests

@Connor1996 @breeswish PTAL


chore: move Geometry/Manifold/MFDeriv

To preserve most git history when splitting the file in #9565.

bors r+
Thanks!


Fix pylint errors

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3

Clones added
============
- analyzer/tests/functional/suppress/__init__.py  1
- web/server/codechecker_server/api/product_server.py  3
- web/tests/functional/suppress/__init__.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3

Clones added
============
- web/server/codechecker_server/api/product_server.py  3
- web/tests/functional/suppress/__init__.py  1
- analyzer/tests/functional/suppress/__init__.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 3

Clones added
============
- web/server/codechecker_server/api/product_server.py  3
- analyzer/tests/functional/suppress/__init__.py  1
- web/tests/functional/suppress/__init__.py  1

See the complete overview on Codacy


Add dependency checksums to quarkus caching extension

Context
This change is the last one before v1.0.
The Quarkus Maven plugin dynamically adds some dependencies to the classpath, which must be declared as additional inputs.
This change on Quarkus enables the creation of a file containing this list of dependencies.
This file is the one to add as goal input.
This dynamic classpath change is also happening for the tests (surefire / failsafe), and this PR takes care of adding the extra input based on a property addQuarkusInputs.
Changes

Dynamic dependencies added as extra input to the build and test goals
README improved with some schema to detail the flow
Clarify implementation by extracting Configuration and Utility methods in dedicated classes
Add a prefix to log message for easier runtime troubleshooting

FYI @aloubyansky @gsmet


Fix dead_code warning when returning Result with bridged type in error case

As of Rust 1.79.0, dead code warnings are emitted from enums where the compiler cannot infer that the contents are used. Since presumably the interior of the error will by used by Swift, the enum can be annotated to allow the code to be generated without warnings.
Fixes #270

Thank you for tracking this down, figuring out a fix, and submitting a PR. I appreciate you taking the time for this.
I have a few small requests to be able to land this:

Can you update your PR body with:

an example bridge module that would have left to a warning before this commit
an exampe of how the warning message looks

All PRs (PR body gets squashed into the commit message) should include an example of what they now enable/fix.

I looked at the Announcing Rust 1.79.0 post and I don't see anything about changes to dead code lints. Where did you find that it was introduced in 1.79.0?
I ask because I want to understand whether this is a regression or an intentional change in rustc.

We are running 1.79.0 in CI, yet CI is passing. Here's a run from 3 days ago.
https://github.com/chinedufn/swift-bridge/actions/runs/9532352837/job/26274367654

In CI we deny warnings: https://github.com/chinedufn/swift-bridge/blob/cc8746c98ef7d176e11a216d4acf4e9fc07397de/.github/workflows/test.yml#L27-L29
We'll want to ensure that the test suite fails without the #[allow(unused)] that was introduced in this commit.
This would make it possible for us to remove it in the future and be sure that we haven't re-introduced the warning.
We can modify the crates/swift-integration-tests/src/result.rs such that we get this warning without the #[allow(unused)].

All unusual code should be documented. If no one knows why the #[allow(unused)] was added they'll be afraid to try to remove it.
Can document it here https://github.com/chinedufn/swift-bridge/blob/58f4a40f96bb050607c746376422ab3c62e0e771/crates/swift-bridge-ir/src/bridged_type/bridgeable_result.rs#L353 .
OR can document it on/near the test case. Or mention in both places. Whatever you think makes the most sense.
A contributor should not need to click the link to get a basic understanding of the problem/solution, so any links should be supplemental.
litmus test: "could a contributor understand this documentation/explanation if they were offline".

Finally, why would the Err variant need #[allow(unused)], but not the Ok variant?
That should be made clear in:

the commit message
near the test case and/or near the implementation code

Sure thing and thanks for the feedback. All of this makes sense.
I don't 100% understand why the Err case generates a warning but the Ok does not. I'll see if I can figure out why this only started happening with 1.79.0. I definitely see issues and pull requests on other projects that have started facing this issue over the past few months, and in some cases having to #[allow(unused)] across dozens of enums across their codebases. But that still doesn't explain why it started here with 1.79.0.

I can't find the specific change that introduced this in the rust linters, but I see issues around this going back to 2021: https://github.com/rust-lang/rust/issues/88900. More recently there are https://github.com/rust-lang/rust/issues/123068 and https://github.com/rust-lang/rust/issues/123418.
My supposition is that even though the lints go back multiple years, until recently they were hidden when generated from proc macros. I'll keep looking.

Maybe it's this: https://github.com/rust-lang/rust/pull/120845/. -Z debug-macros was stabilized and enabled by default. I see in a comment here (https://github.com/rust-lang/rust/issues/100758#issuecomment-1935815625) that #[collapse_debuginfo] is not supported for procedural macros, which might be why for swift-bridge the warning is terse and just points to the definition of the bridged error struct without any information about the generated result enum.

Code generation happens before the linting pass so it's unlikely to be related to proc macros.
I took a look at some of the recent changes to the dead code lint https://github.com/rust-lang/rust/commits/master/compiler/rustc_passes/src/dead.rs?before=894f7a4ba6554d3797404bbf550d9919df060b97+35
Candidate 1
This one stands out: https://github.com/rust-lang/rust/issues/119545
Here's the commit that closes that issue https://github.com/rust-lang/rust/commit/a0fe4138ed83b9c3f6e1c85ef6e6a0846b1e542d
And here's the PR ( I haven't looked at the PR, just linking for reference https://github.com/rust-lang/rust/pull/119552 )
Note this ui test in the commit linked above:
#![deny(dead_code)]

fn main() {
    let _ = foo::S{f: false};
}

mod foo {
    pub struct S {
        pub f: bool, //~ ERROR field `f` is never read
    }
}

error: field `f` is never read
  --> $DIR/pub-field-in-priv-mod.rs:9:13
   |
LL |     pub struct S {
   |                - field in this struct
LL |         pub f: bool,
   |             ^
   |
note: the lint level is defined here
  --> $DIR/pub-field-in-priv-mod.rs:1:9
   |
LL | #![deny(dead_code)]
   |         ^^^^^^^^^

error: aborting due to 1 previous error

Same error as the one you reported in https://github.com/chinedufn/swift-bridge/issues/270

So, from a quick scan, I'm thinking:

BEFORE: pub enum inside of a private module would not get a dead code lint
AFTER: pub enum inside a private module gets a dead code lint if rustc does not think that it is used

Candidate 2
This commit makes unused tuple struct fields a warning, instead of allowed https://github.com/rust-lang/rust/commit/9fcf9c141068984ffcbb4cb00c83d891043761e8
Conclusion
Seems like the issue might potentially be a combination of Candidate 1 and Candidate 2...
Regardless, the generated enum FFI representations that this PR currently modifies all have #[repr(C)] on them, which I would expect the compiler to treat as used.
Looks like there was a recent discussion about this: https://github.com/rust-lang/rust/issues/119659#issuecomment-1879866540 https://github.com/rust-lang/rust/issues/119659#issuecomment-1885172045
Also, when you add the fact that the enum is used, this seems like a regression in rustc: https://github.com/chinedufn/swift-bridge/blob/852ece728d3f362f3ada4368e037fe9ebb2a913f/crates/swift-bridge-ir/src/codegen/codegen_tests/result_codegen_tests.rs#L412-L428
Note that the pub extern "C" fn __swift_bridge__some_function that I linked to above is making use of the pub enum ResultSomeOkTypeAndSomeErrEnum.
So I think the real fix here lies in rustc, not swift-bridge.

Heres a minimal example that generates the warning in rust 1.79.0
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3f5c81c0749130a6e46fbea14cbb055f
fn main() {}

mod private_mod {
    #[repr(C)]
    pub enum MyEnum {
        Variant(u32)
    }

    #[no_mangle]
    pub extern "C" fn some_function() -> MyEnum {
        MyEnum::Variant(5)
    }
}

   Compiling playground v0.0.1 (/playground)
warning: field `0` is never read
 --> src/main.rs:6:17
  |
6 |         Variant(u32)
  |         ------- ^^^
  |         |
  |         field in this variant
  |
  = note: `#[warn(dead_code)]` on by default
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
  |
6 |         Variant(())
  |                 ~~

warning: `playground` (bin "playground") generated 1 warning
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s
     Running `target/debug/playground`

Notice that the warning is incorrect since the enum variant is being used.
This is a regression in rustc's dead code pass ( this file -> https://github.com/rust-lang/rust/commits/master/compiler/rustc_passes/src/dead.rs?before=894f7a4ba6554d3797404bbf550d9919df060b97+35 ).

Does this mean you don't think this swift-bridge should #[allow(unused)], even pending a fix in rustc? I'm finding that when running the swift-bridge tests while removing the #![allow(dead_code)] from the result integration test, warnings are generated for both transparent enums and structs.
When I allow unused just for the Err variant, transparent structs pass through without warnings (so the Ok variant is somehow ok). When I allow unused for both Ok and Err, then the transparent enums also succeed without warnings.

I opened an issue here: https://github.com/chinedufn/swift-bridge/issues/279
Temporarily adding #[allow(unused)] is ok as long as:

we introduce a failing test case (I think you already did in a recent commit, but I haven't read it yet)

we mention and link to the issue in a way that makes it easy for a future maintainer to realize that we can delete the #[allow(unused)] when the issue is closed.

Let me know if you disagree or have another plan in mind.

Did you mean to open that on rustc? Looks like you opened it on swift-bridge.
I have a new test for transparent structs, and removed an allowance from the integration tests so that removing the #[allow(unused)] reintroduces the warning on transparent enums.
I'll work on adding a minimal bridge reproduction case to the description of this PR, and add a TODO to the code once I'm totally sure which issue to link to.
Thanks for the taking the time to look at all the commits on rust. With all the recent issues related to these sorts of warnings, I had assumed that this was an intentional change to the linter.

Please take a look again at your convenience! After understanding that the PR description gets squashed onto the merged commit, I added more context to the PR itself and made the text on the commit itself more terse.
One thing to note is that in the code I'm linking to #279 on swift-bridge, but if you were intending that to be an issue on rustc I can change it (or you can modify this PR to save time) link to a different issue.

Just fixed the link -> https://github.com/rust-lang/rust/issues/126706
Great, I'll review today or tomorrow.

Looks like you added -> Result<(), TransStruct> and we already had a codegen test for that?
So, we're good? Anything else you're waiting for?
If not I can merge this once tests pass.

Ok seems good to go! Thanks for the reviews. Also feels good to add a bit more test coverage to using transparent structs in results.

Is it possible to make a new release with this change? It doesn't seem possible to work around from user code. Thank you!

Released in 0.1.56 https://crates.io/crates/swift-bridge/0.1.56

Thanks! Can confirm it fixes the warning for my transparent enum.


User ignore UI

From Eli Fisker via Slack:

I have one more concern. A younger player who feel intimidated by another player, may not feel safe typing their name directly into the chatbox, fearing it may go public. If one could instead of right click on someones name in the chat, and get the option of muting, it would feel safer.
Also it would spare the player who is set to being ignored, the potential embarrassment. (I mean the thing will go public if some of the signs gets wrong.)

Resolved in 400bc48e


websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?
I had the same problem. https://github.com/acheong08/EdgeGPT/issues/584
Logs:
Traceback (most recent call last):   File "/Users/yehebin/work/baidu/personal-code/yehebin-tools/test/test_gpt.py", line 29, in <module>     asyncio.run(main())   File "/Users/yehebin/program/miniforge3/lib/python3.9/asyncio/runners.py", line 44, in run     return loop.run_until_complete(main)   File "/Users/yehebin/program/miniforge3/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete     return future.result()   File "/Users/yehebin/work/baidu/personal-code/yehebin-tools/test/test_gpt.py", line 11, in main     response = await bot.ask(   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/EdgeGPT/EdgeGPT.py", line 116, in ask     async for final, response in self.chat_hub.ask_stream(   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/EdgeGPT/chathub.py", line 102, in ask_stream     async with connect(   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/websockets/legacy/client.py", line 637, in __aenter__     return await self   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__     return await self.__await_impl__()   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/websockets/legacy/client.py", line 662, in __await_impl__     await protocol.handshake(   File "/Users/yehebin/program/miniforge3/lib/python3.9/site-packages/websockets/legacy/client.py", line 329, in handshake     raise InvalidStatusCode(status_code, response_headers) websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 200
Proposed workflow
Null
Additional information
I already tried EdgeGPT 0.11.0  0.12.1, can't work.
My env:
OS: mac os
I access new bing by proxy, proxy works good. I can access new bing by browser.

same problem

Do you use Clash. If you use it, you can try to install the Service Mode and then open TUN mode.

I have used Clash. When I use it in my surface8,it works.
But when I use the tun mode in my surface5,it does't work....why....

I have used Clash. When I use it in my surface8,it works. But when I use the tun mode in my surface5,it does't work....why....

Maybe you have to install the Service Mode first.

I have used Clash. When I use it in my surface8,it works. But when I use the tun mode in my surface5,it does't work....why....

Maybe you have to install the Service Mode first.

 Thanks very much

I have used Clash. When I use it in my surface8,it works. But when I use the tun mode in my surface5,it does't work....why....

Maybe you have to install the Service Mode first.

 Thanks very much

Yes, I am use Clash proxy tools. Open TUN mode does not work too.

server rejected WebSocket connection， this is what problem

Do you use Clash. If you use it, you can try to install the Service Mode and then open TUN mode.

thanks it's works for me !

Do you use Clash. If you use it, you can try to install the Service Mode and then open TUN mode.

I use clash-linux-amd64-v1.13.0 in my centos system，how can I open TUN mode? I used to solve this problem by using proxychains，but now it suddenly doesn't work for me


Image & Texture Deletion Issue and Enhancement Request in epaint 0.23.0

Dear emilk,
When using Image, it relies on Texture. However, Texture doesn't have a delete function, which makes it challenging to use. To address this, I've devised a way to input a uri and then delete the corresponding TextureID from the Texture as shown below:
pub fn r_image_delete_texture(content: &mut crate::Content, ui: &mut egui::Ui, uri: String) {

    let mut save_texture_id: egui::TextureId = Default::default();
    let tex_mngr = ui.ctx().tex_manager();

    {   // tex_mngr_read AREA
    let tex_mngr_read = tex_mngr.read();
    let textures: Vec<_> = tex_mngr_read.allocated().collect();
    for (&texture_id, meta) in textures {
        if meta.name == uri {
            save_texture_id = texture_id;
            break;
        }
    }
    }   // tex_mngr_read AREA

    if save_texture_id != egui::TextureId::Managed(0) {
        let mut tex_mngr_write = tex_mngr.write();
        egui::epaint::TextureManager::free(&mut tex_mngr_write, save_texture_id);
    }
}

However, even though the TextureID is deleted, if I try to reload an image from the file or web with the same uri, it does not display. This is despite the fact that the TextureID is removed. Checking the ctx.inspection_ui(ui) for Texture information confirms that it's been deleted. Still, I can't display an Image with the same uri.
I hope you could address this bug. It would also be great if additional functionalities, such as the delete function, could be provided in epaint's textures.rs.
Thanks, emilk.

For reference, even if you clear the TextureDelta as shown below, a URI that was previously used cannot display the IMAGE again
    if save_texture_id != egui::TextureId::Managed(0) {
        let mut tex_mngr_write = tex_mngr.write();
        egui::epaint::TextureManager::free(&mut tex_mngr_write, save_texture_id);
        tex_mngr_write.take_delta().clear();
    }

Dear emilk,
I've just now discovered that there's a feature to delete images as shown below:
    ui.ctx().forget_image(&uri);

Thank you, emilk


Detect and fire events around card expirations

It would be very helpful to detect both cards expiring and expired and fire customerCardExpiring and  customerCardExpired events respectively in order to send emails to customers to proactively keep recurring payments flowing without disruption. Some event data such as Carbon objects of expiring_at and expired_at might be nice as arguments to create emails around when communicating with customers.
Since the cards are stored with their expirations, the way this could be solved is by creating a new billing:checkcardexpirations artisan command which detects and fires the events and one could simply add a cron to run the command monthly.

It's a good suggestion. Just need to figure out how to loop through all of the customers and their cards in an efficient way. Could definitely be a problem if you have thousands or millions of customer records...

It's pretty standard practice in the ecommerce industry which decreases churn.

Sorry if this is not the proper medium for this, but I saw this blog post the other day from Stripe about ‘smarter’ expiring cards and was pretty impressed by it. Perhaps it may be something to consider when dealing with your own ‘upcoming expirations':
https://stripe.com/blog/smarter-saved-cards https://stripe.com/blog/smarter-saved-cards

On Jan 24, 2015, at 1:22 PM, Derek Myers<EMAIL_ADDRESS>wrote:
It's pretty standard practice in the ecommerce industry which decreases churn.
—
Reply to this email directly or view it on GitHub https://github.com/mmanos/laravel-billing/issues/4#issuecomment-71330668.


CI: use 2.4.6, 2.5.5, 2.6.2

This PR updates the CI matrix.

also: Removes an old setting from Travis. See https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration

Great, do you want to use the rake task to spin up a PR for each repo based on this? When they pass I'll merge (due to the sudo change which I know is supposed to be an old setting but not sure if it affects our build).

@JonRowe I'll make an attempt!

The attempt created commits, this is true, but since I'm not a member of the RSpec org, pushing the changes was not possible for the script.

rake travis:create_pr_with_updates
==================================================
# rspec-core
----------------------------------------

==================================================
# rspec-expectations
----------------------------------------

==================================================
# rspec-mocks
----------------------------------------

==================================================
# rspec-rails
----------------------------------------

==================================================
# rspec-support
----------------------------------------

==================================================
# rspec-core
----------------------------------------
git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
git pull --rebase
Already up to date.

Current branch master is up to date.

==================================================
# rspec-core
----------------------------------------
git checkout -b update-travis-build-scripts-2019-04-01-for-master
Switched to a new branch 'update-travis-build-scripts-2019-04-01-for-master'
git add .
git commit -m 'Updated travis build scripts (from rspec-dev)'
[update-travis-build-scripts-2019-04-01-for-master 91396f18] Updated travis build scripts (from rspec-dev)
 9 files changed, 12 insertions(+), 13 deletions(-)

==================================================
# rspec-expectations
----------------------------------------
git checkout -b update-travis-build-scripts-2019-04-01-for-master
Switched to a new branch 'update-travis-build-scripts-2019-04-01-for-master'
git add .
git commit -m 'Updated travis build scripts (from rspec-dev)'
[update-travis-build-scripts-2019-04-01-for-master 2bcdfdad] Updated travis build scripts (from rspec-dev)
 9 files changed, 12 insertions(+), 13 deletions(-)

==================================================
# rspec-mocks
----------------------------------------
git checkout -b update-travis-build-scripts-2019-04-01-for-master
Switched to a new branch 'update-travis-build-scripts-2019-04-01-for-master'
git add .
git commit -m 'Updated travis build scripts (from rspec-dev)'
[update-travis-build-scripts-2019-04-01-for-master 57c1b45b] Updated travis build scripts (from rspec-dev)
 9 files changed, 12 insertions(+), 13 deletions(-)

==================================================
# rspec-rails
----------------------------------------
git checkout -b update-travis-build-scripts-2019-04-01-for-master
Switched to a new branch 'update-travis-build-scripts-2019-04-01-for-master'
./script/before_update_travis_build.sh
Backing up custom Travis config
./script/after_update_travis_build.sh
Restoring custom Travis config
git add .
git commit -m 'Updated travis build scripts (from rspec-dev)'
[update-travis-build-scripts-2019-04-01-for-master 02dd4089] Updated travis build scripts (from rspec-dev)
 8 files changed, 8 insertions(+), 8 deletions(-)

==================================================
# rspec-support
----------------------------------------
git checkout -b update-travis-build-scripts-2019-04-01-for-master
Switched to a new branch 'update-travis-build-scripts-2019-04-01-for-master'
git add .
git commit -m 'Updated travis build scripts (from rspec-dev)'
[update-travis-build-scripts-2019-04-01-for-master 2dddd6d] Updated travis build scripts (from rspec-dev)
 9 files changed, 12 insertions(+), 13 deletions(-)

==================================================
# rspec-core
----------------------------------------
fatal: remote error:
  You can't push to git://github.com/rspec/rspec-core.git
  Use https://github.com/rspec/rspec-core.git
Push failed, force? (y/n)
y
git push origin +update-travis-build-scripts-2019-04-01-for-master
fatal: remote error:
  You can't push to git://github.com/rspec/rspec-core.git
  Use https://github.com/rspec/rspec-core.git
rake aborted!
Command failed with status (128): [git push origin +update-travis-build-scrip...]
/Users/olle/opensource/rspec-dev/Rakefile:459:in `block in force_update'
/Users/olle/opensource/rspec-dev/Rakefile:46:in `block (2 levels) in each_project'
/Users/olle/opensource/rspec-dev/Rakefile:42:in `chdir'
/Users/olle/opensource/rspec-dev/Rakefile:42:in `block in each_project'
/Users/olle/opensource/rspec-dev/Rakefile:41:in `each'
/Users/olle/opensource/rspec-dev/Rakefile:41:in `each_project'
/Users/olle/opensource/rspec-dev/Rakefile:451:in `each_project_with_common_build'
/Users/olle/opensource/rspec-dev/Rakefile:455:in `force_update'
/Users/olle/opensource/rspec-dev/Rakefile:294:in `block (2 levels) in <top (required)>'
/Users/olle/.rvm/gems/ruby-2.6.1/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => travis:create_pr_with_updates
(See full trace by running task with --trace)

I will apply some elbow grease and have a few PRs made.

Thanks so much! Our script (for prs) should be modifiable to work with forks, if you felt like a pr for that it'd be fantastic!

Thanks a lot @olleolleolle 🎉


Fix: Update kubectl server address

Have you seen this project?
https://github.com/ministryofjustice/hmpps-circleci-orb
It does a lot of this configuration and provides a job for deploying - it can be used like this
https://github.com/ministryofjustice/hmpps-person-match-score/blob/main/.circleci/config.yml#L69


Basic LFG channels support

They aren't released nor have client implementation yet but we need this just in case.

Discord has added and then removed things like this before, so I'll just leave this open for now and come back when we can know it'll be implemented.

https://github.com/discordapp/discord-api-docs/issues/1097 :eyes:


Work on to make .deb installation packages of NXT, SuperNet and related NXT services

This will ease the process of updating NXT related services not just on Raspbian, but other Debian based distros as well.
Further make a repository of NXT related applications.

There's already a forum thread on NXT Forum related to this task:
https://nxtforum.org/news-and-announcements/coming-soon-nxt-ubuntu-repositories!-nxt-shell-commands-and-auto-updates!/
Check if there's already solution provided, or if there's anything this project can help on.


Add a utility function to draw a computational graph

This PR adds chainer.misc.draw_computational_graph to help draw computational graphs of RL models as PNG images.
I'm not sure if I should draw a graph in every example, but it would be a good habit. For this PR I just add such code only in examples/gym/train_reinforce_gym.py

I checked examples/gym/train_reinforce_gym.py runs with and without graphviz.

I added ActionValue.params and used them instead of .max and .greedy_actions.

LGTM


Support for Office previews

What's the Problem?
Hey there, just wanted to point out that the lack of previews for the Microsoft Office lineup is quite annoying when trying to work. Could this feature please be added? I understand there is no proper support for this, but there is always a solution.
Solution/Idea
Have a preview
Alternatives
Going back to windows explorer and suffering
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22622.290
Windows Version
No response
Comments
No response

Thank you for your feedback, we're tracking this request in #4041


Create

@MuhammadAdrin First stage of verification passed, official domain for 영남대학교 is yu.ac.kr as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@MuhammadAdrin Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Create a usage message explicitly

It would be useful to be able to create the usage message without having a failed option parse.
My use case for this is that i have a number of unparsed arguments which must meet some moderately complex requirements (the first must be a URL, the second must be a method supported by the object referred to by that URL, etc), and if the user enters bad arguments, i would like to emit a usage message.
At the moment, i can say CliFactory.parseArguments(options.getClass(), "--help"), and handle the resulting exception as i would the exception from a failed option parse, but this is mildly icky.

This is basically a duplicate of https://github.com/lexicalscope/jewelcli/issues/2 .


fuse-rs does not compile on systems with libfuse3

I'm coming from the redox-os project which relies on fuse to build redoxfs.
Steps to reproduce:
install fuse3, clone fuse-rs, run cargo build.
error: failed to run custom build command for `fuse v0.3.1`

Caused by:
  process didn't exit successfully: `/home/liam/repos/redoxfs/target/debug/build/fuse-af7cecec4946dbaf/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=FUSE_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=FUSE_STATIC
  cargo:rerun-if-env-changed=FUSE_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"fuse\" \"fuse >= 2.6.0\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package fuse was not found in the pkg-config search path.\nPerhaps you should add the directory containing `fuse.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'fuse', required by 'virtual:world', not found\nPackage 'fuse', required by 'virtual:world', not found\n" } }', /home/liam/.cargo/registry/src/github.com-1ecc6299db9ec823/fuse-0.3.1/build.rs:10:76
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

how to fix:
When I switch the build.rs to search for fuse3 instead of fuse, the package compiles perfectly.

Seems this project is not actively maintained and forked by cberner with https://github.com/cberner/fuser .


How to use dio.download() with retrofit

Hello
I can see that this package delivers multiple useful annotations for dio methods like post, get ect. However I can't see an annotation for dio's download() method. Is it possible to use this package with this dio method?
Thanks for help.

Not support yet


Video Call Works on Wifi, But Not On 3G / 4G

I've noticed that the flutter-webrtc works on Wifi when both devices are on the same network but it doesn't connect when the devices are on Cellular network - 3G/4G. we've installed our own TURN server (Coturn) and tested the connection on https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ which shows all is working fine (Including relay). Any ideas what could be the problem? or a possible solution? all we get from the flutter-webrtc package log is D/FlutterWebRTCPlugin(28968): onConnectionChangeFAILED Package version  flutter_webrtc: ^0.5.7

I meet program and you seem!!

I meet program and you seem!!

I have the same Problem

Any updates on this?

Any solution for this?

still waiting solution for this

Ok found out the solution. Turned out, the turn server is not properly configured for outside connection. It will only work for devices within the same network.
To get this to work :

create your own turn server, I'm using coturn
configure the turn server in config/config.ini and pkg/turn/turn.go with your turn server config (IP, port, realm, username, password, etc)

i already install coturn but i get problem when start service rtc server :
Failed to create TURN server listener: listen udp4 <IP_ADDRESS>:3478: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted
can you share sample additional setting config/config.ini and pkg/turn/turn.go .

finally i got fixed this problem , you dont need install another turn server because when you start command
go run main.go, automatically he created 2 service

8086 (for access web)
19302 (for turn server)

i solved this problem because i fix my firewall router configuration
make sure port 19302 (protocol : UDP) open and can be access
after that you can test you're configuration
https://check-host.net/check-udp?host=<you're ip public>:19302
my setting => configs/config.ini
[turn]
public_ip=<you're ip public>
port=19302
realm=flutter-webrtc
maybe next i will try using domain but at least with ip already works
i hope you guys worked too

try to edit the application tag in AndroidManifest like this =>
 <application android: usesCleartextTraffic = "true">

I'm facing the same issue, I've tested my own TURN server using trickle ice and seems to be working but webrtc still does not work on mobile data.

i've used several sites to check that my TURN server is working, but no matter what i do , im still unsuccessful on 4G.

The below code is working for me.
configs/config.ini file :
[turn]
public_ip=<YOUR PUBLIC IP/URL>
port=19302
realm=flutter-webrtc
username=<YOUR USER NAME>  ;  add this line
password=<YOUR PASSWORD>  ;  add this line

and cmd/server/main.go
	turnConfig := turn.DefaultConfig()
	turnConfig.PublicIP = publicIP
	turnConfig.Port = stunPort
	turnConfig.Realm = realm
	turnConfig.Username = cfg.Section("turn").Key("username").String() // add this line
	turnConfig.Password = cfg.Section("turn").Key("password").String() // add this line


render sub-templates

example:
h1 Comments

= render 'comments'

https://github.com/opensourceame/skimpy/pull/38


access_log: add feature

Signed-off-by: gaoweiwen<EMAIL_ADDRESS>
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message: add %REQUEST_TX_DURATION% to the access log (#16188)
Additional Description: see issue #16188
Risk Level: Low
Testing: Unit test
Docs Changes: Access Log doc updated
Release Notes: N/A
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

Thank you! This looks good. Could you please add a line to docs/root/version_history/current.rst about the added feature?

done

The lines should be ordered alphabetically.

Can you take a look? @yanavlasov


Update Bootstrap dll to match PRfwk

MddBootstrapInitialize() had a PRfwk package name mismatch (looking for "Microsoft.ProjectReunion.Framework" instead of "Microsoft.ProjectReunion..[-tag]"). Corrected to look for the right PRfwk package name (now and into the future with different MajorMinor and/or Tag). As a happy perk tests are also unaffected.
Verified tests pass AND the Reunion nuget pass as expected with this fix to Microsoft.ProjectReunion.dll!
Also changed Directory.Build.props to not produce unnecessary noise during inner-loop builds.

/azp run


Release artifacts for release v0.0.8

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/hold


Scala Common Enrich: add Mautic webhook

https://developer.mautic.org/#webhooks

Migrated to https://github.com/snowplow/enrich/issues/144


Add a link to the logo in the navbar

Add a link to the logo in the navbar. It should link to the same page.

Hi @shahednasser, is this issue open? Can I work on it?


Error getting JDBC meta data

Description
Hello,
After upgrading to Dbeaver Community ver. 22.3.5 from 22.3.4 I cannot longer connect to an SQL Server instance on version 10.50.1600.1. I get the error: Error getting JDBC meta data
With another instance of SQL Server on version 12.0.4100.1, I can connect normally.
I tried both SQL Server 12.2.0.jre11 and SQL Server 11.2.0.jre11 driver versions with the same behaviour.
Log file:
LOG.txt
DBeaver Version
Dbeaver Community 22.3.5
Operating System
Windows 10 - 20H2
Database and driver
Database: SQL Server 10.50.1600.1
Driver: SQL Server 12.2.0.jre11 / SQL Server 11.2.0.jre11
Steps to reproduce

Try to connect to SQL Server database.
Error shows: Error getting JDBC meta data

Additional context
No response

Hello @SU-R27
I see in the log:
ADVERTENCIA: TLSv1 was negotiated. Please update server and client to use TLSv1.2 at minimum.
2023-02-23 13:05:52.585 - Error getting current user: SQL Server no devolvió una respuesta. Se ha cerrado la conexión.

This is I found about support the TLSv1.2 https://support.microsoft.com/en-us/topic/kb3135244-tls-1-2-support-for-microsoft-sql-server-e4472ef8-90a9-13c1-e4d8-44aad198cdbe
Also, maybe this driver setting (in the Connection Settings) changing may help, but I'm not sure:

Or you can try to downgrade your driver to version 9.2.0

Hello,
Downgrading the driver to version 9.2.0 solved the issue, now I can connect to the database.
Thank you.


on_const not being called for second arg of return

Expected behavior
on_const is called for this program
$ cat a.rb
def foo
  return A, B
end
$ ruby-parse a.rb
warning: parser/current is loading parser/ruby21, which recognizes
warning: 2.1.8-compliant syntax, but you are running 2.1.2.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
(def :foo
  (args)
  (return
    (const nil :A)
    (const nil :B)))

Actual behavior
on_const isn't called
Steps to reproduce the problem
Write a rubocop rule with a on_const and see it isn't called for B.
RuboCop version
Include the output of rubocop -V:
$ rubocop -V
0.40.0 (using Parser <IP_ADDRESS>, running on ruby 2.1.2 x86_64-darwin15.0)

Looks like this is a bug in traversal.rb where :return is listed as a node that can only have one child. Do you have time to fix this yourself, @ptarjan?

Sure, seems like a simple PR.

@jonas054 where are the tests for traversal.rb?

Seems we don't have any. Except that Traversal is so central it's included in pretty much all the tests.

Ok. I just picked a random cop that was using on_const and wrote a test for it.


add a project of character-level neural machine translation

I have implemented a purely character-level neural machine translation based on Blocks and achieved higher BLEU score (31.98 on newstest2014). Would you please add this project as an example?

Nice work! Thanks for contribution!
Travis error is not connected to this PR, so I merge.


Add workflow / categories central pane to RHP mapping to correct redirect on reload

Details

We're mapping the workflow / categories RHP routes to the [SCREENS.WORKSPACE.WORKFLOWS] and [SCREENS.WORKSPACE.CATEGORIES] central pane here to avoid wrong redirect when refreshing the page while the RHP is open.
Fixed Issues

$ https://github.com/Expensify/App/issues/37517
PROPOSAL: https://github.com/Expensify/App/issues/37517#issuecomment-1971607298
Tests

Create a Collect policy in NewDot.
Go to Workspace's settings > Workflows (for Categories go to Workspace's settings > Categories).
Toggle the Delayed Submission and click on Monthly (for Categories toggle Settings button).
A RHP should open, refresh the page.
After refresh you should see the WS/Settings central pane behind the opened RHP.

[x] Verify that no errors appear in the JS console

Offline tests

TLDR: same as Tests.

Create a Collect policy in NewDot.
Go to Workspace's settings > Workflows (for Categories go to Workspace's settings > Categories).
Toggle the Delayed Submission and click on Monthly (for Categories toggle Settings button).
A RHP should open, refresh the page.
After refresh you should see the WS/Settings central pane behind the opened RHP.

QA Steps

TLDR: same as Tests.

Create a Collect policy in NewDot.
Go to Workspace's settings > Workflows (for Categories go to Workspace's settings > Categories).
Toggle the Delayed Submission and click on Monthly (for Categories toggle Settings button).
A RHP should open, refresh the page.
After refresh you should see the WS/Settings central pane behind the opened RHP.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/56457735/d4671307-cb52-4cb6-9783-9e7bcfcb9c24

Note: on Android: mWeb the "Not found page" appears because i'm using ngrok tunneling to be able to test.
The real behaviour is exactly like on iOS: mWeb.

Android: mWeb Chrome
https://github.com/Expensify/App/assets/56457735/9124e18b-34b9-4db2-acaf-b48e075b841d

iOS: Native
https://github.com/Expensify/App/assets/56457735/5958b7c3-14c4-4356-b7a5-2e38ade97ff7

iOS: mWeb Safari
https://github.com/Expensify/App/assets/56457735/6c2881ca-2155-4fe4-823b-ba06a8453f2f

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/56457735/4d19b07e-18c5-4d11-8447-b0c8d97cd42a

MacOS: Desktop
https://github.com/Expensify/App/assets/56457735/19b24c83-dd6c-4068-8394-3f284e4d14c7

@ikevin127 please fix conflict

@situchan Done!

🚀 Deployed to staging by https://github.com/iwiznia in version: 1.4.47-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


DateTime can be created off-by-one during time transitions (browser bug)

I don't know how much this affects, but coming across things like https://bugs.chromium.org/p/v8/issues/detail?id=3116 isn't confidence-inspiring.
If you set system time to 21:XX and time zone to Brasilia (and maybe other cities in Brazil) then try to create a DateTime for '2017-10-15' with pattern 'yyyy-MM-dd' you get 01:00 am instead of midnight. This also happens at the JS level.
new Date(2017, 9, 15)  // JS months are zero-based
I guess I can try and work around this. In combination with us occasionally deciding to use UTC instead of local (SDK issue 15560) it's pretty ugly.

Actually this is intended behavior. Brazil does its daylight savings time transition at midnight, rather than at 2:00am, so it's not possible to represent a time of midnight on October 15, 2017. However, this is an issue when trying to represent dates. It may be ok to get 1:00 am October 15, but in the spring, it will definitely not be ok to get 23:00 Feb 17 when you want the date Feb 18, 2018. We may need to recognize the format or provide a specific API for parsing pure dates and compensate if the time gets offset in a way that changes the Date portion.


Support system test execution in parallel

With extra variations enabled , sanity and extended system build can run for 20+ hrs.

Test-sanity.system-JDK8-linux_x86-64 - 18hrs
Test-sanity.system-JDK8-aix_ppc-64_cmprssptrs,Test-extended.system-JDK8-linux_x86-64 and Test-extended.system-JDK11-linux_x86-64 got killed after 20hrs

We should support system test execution in parallel. This could help us to shorten system test build time. Our goal is to complete the system test and functional test builds within 3hrs.

Ideally, we can create separate folders and break the playlist.xml into multiple smaller sets. Similar as jck test: https://github.com/AdoptOpenJDK/openjdk-tests/tree/master/jck
I am thinking of separte playlist based on features. i.e., * LoadTest*, SharedClasses*, TestJlm*, modularity, others). If LoadTest set is too big, we can further break it into MathLoadTest*, DaaLoadTest*, LambdaLoadTest*, Mauve*, etc.
@ShelleyLambert @Mesbah-Alam any suggestions? Thanks

That seems like the most logical and direct approach, and is in keeping with existing subdirs approach used by other testing (so leverages what TKG already knows how to deal with this scenario).

Thanks @ShelleyLambert . I will give it a try.

system tests are running special level tests in parallel in internal Jenkins. Close this issue.


HHH-18020 Align behavior of ClobJdbcType with BlobJdbcType

https://hibernate.atlassian.net/browse/HHH-18020

Looks good to me.  Please squash the commits though

We should IMO discuss this on Thursday, since there seem to be some inconsistencies with how this useStreams flag is interpreted.


chore(main): release pixel-motion 1.0.3

:robot: I have created a release beep boop
1.0.3 (2024-11-18)
Bug Fixes

deps: update dependency framer-motion to v11.11.13 (#509) (f903a7d)
deps: update dependency framer-motion to v11.11.15 (#513) (4be4f9a)
deps: update dependency framer-motion to v11.11.17 (#515) (f76a216)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

pixel-motion-v1.0.3
:sunflower:


Fix issue #340: Add to cart button corrected

The Add to cart button was not aligning with the standard button making the website look ugly. The tab was coming at the side of card which was fixed and bring to the bottom of the card. Also added some transition on hovering to the add to cart button they are minute but making the user experience great.

Due to my college exam someone already fix my issue. So added my hover effect in the already new present code to make user experience more efficient.

@Prince-1917 It's already updated right


fix: ABI decoder - crashing during the attempt to use data slices

Summary of Changes
Fixing ABI decoding issues. This PR is a combination of #803 and #802.
Test Data or Screenshots
By submitting this pull request, you are confirming the following:

I have reviewed the Contribution Guidelines.
I have performed a self-review of my own code.
I have updated my repository to match the develop branch.
I have included test data or screenshots that prove my fix is effective or that my feature works.
I have checked that all tests work and swiftlint is not throwing any errors/warnings.

@6od9i @zhangliugang I've combined your branches in this PR. Will change a few things and pass it for review to @yaroslavyaroslav and @janndriessen
@yaroslavyaroslav @janndriessen Both of #803 and #802 were reviewed previously so this branch is created just because there are 2 tests that were duplicated in these PRs. But that was a requirement as it was proof that the fixes are correct.


uproot.update raises AssertionError when reading file

Attempting to update() a newly-created file with another TTree raises an AssertionError.
>>> import numpy
>>> import uproot
>>> print(uproot.__version__)
4.1.3
>>> b1 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>> b2 = [0.0, 1.1, 2.2, 3.3, 4.4, 5.5, 6.6, 7.7, 8.8, 9.9]
>>> with uproot.recreate("test.root", compression=None) as fout:
...     tree = fout.mktree("t", {"b1": numpy.int32, "b2": numpy.float64}, "title")
...     tree.extend({"b1": b1, "b2": b2})
...
>>> with uproot.update("test.root") as fout:
...     tree = fout.mktree("t2", {"b1": numpy.int32, "b2": numpy.float64}, "title")
...     tree.extend({"b1": b1, "b2": b2})
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/duncan/opt/miniconda3/envs/py39/lib/python3.9/site-packages/uproot/writing/writable.py", line 171, in update
    cascading = uproot.writing._cascade.update_existing(
  File "/home/duncan/opt/miniconda3/envs/py39/lib/python3.9/site-packages/uproot/writing/_cascade.py", line 2435, in update_existing
    freesegments_key = Key.deserialize(
  File "/home/duncan/opt/miniconda3/envs/py39/lib/python3.9/site-packages/uproot/writing/_cascade.py", line 442, in deserialize
    assert fCycle > 0
AssertionError

I presume this is user error, so can someone please point me in the right direction to be able to append new trees to an existing file?

Assertions (and NotImplementedErrors) are not user errors. ValueErrors and IndexErrors usually are, and often KeyErrors are (trying to read an object that doesn't exist, of a misspelling), but internal missing values are also fairly common, so it's hard to say with KeyErrors. However, assertions are deliberately put into the code by a programmer who thinks, "This can't happen, so I'll assert to stop a runaway process." I can't think of a legitimate reason an assertion would be the user's fault.
This one is complaining that the "cycle number" of an object, probably that TTree because it's the only thing around, is 0. They're supposed to start at 1, so either that was a mistake in the writing step or the reading step is not on the byte it thinks it is ("got off the rails"), and it's interpreting some 0 as the cycle number. I'll take a look.


Druid

(placeholder)
summon pets like necro, also do earth magic, the pets summoned are from own pet roster, can only be combatish pets (ie, no non-combat... maybe?)

druid should use its life force to deal damage instead of mp (or a combination)


fix #87; remove reference to a non-isolated domain

At best, this adds nothing meaningful. At worst, it is technically wrong and confusing. Let's just get rid of it.

Agreed, pretty confusing weird sentence - thanks for removing!


[FEATURE] Feature only support for Twins-PVT and Mvitv2

Both are pyramid networks and can be used for multi-scale feature extraction, but to my knowledge do not support it like similar architectures such as PVT or Swin.

@L-Reichardt the efficient mechanism for feature extraction relies on sequential stack at the stage level of the pyramid network, many pure vit / vit-hybrid need nn.Module or have extra root level modules in the model that can't be sequentialized... I have a very rough draft for another approach that'd address these but have another project in the way right now...


App Install Tool

In current version of ANT, we cannot install our own applications.
Currently, we can install only applications that are uploaded to our managed market.
Of course, there is another way to install applications manually. (install apps from market and modify the source code on ANT device)
However, this manner is not clear and not good in the long time.
We need app install tool to install our own applications.
As I think, the tool can be implemented as a new menu of ANT manager or shell script.

It is sub-issue of #108. Therefore, close this issue.


Please Add LMFlow

This looks more operation related than current awesome list.
https://github.com/OptimalScale/LMFlow

Thanks, we've updated the README.md with your suggestions.


Refactored optimal lookahead quantifier

I did some refactoring to avoid code duplication.
I also noticed that the rule isn't correct. Some reported quantifiers might contain capturing groups in which case we can't change their quantifiers without changing the pattern.
I only added a TODO for now because this branch doesn't know regexp-ast-analysis yet. After master is merged into either this branch or #97, a check can be added using hasSomeDescendant.

Thank you!


Want to add Add two Linked List famous interview problem

hey I want to add 2 number represented in Linked list .please assign this to me. Thanks

@Ayush7614 please assign me this as a part of LGMSOC'21

@yashgehi Is it a single question??

Yes it is a single question leetcode problem Number 2 .I want to solve in c++

why have u removed c++ label bro?


architecture: add event handling

closes #482

@ntarocco I think I am covering the points you suggested:

what are the available patterns and APIs to trigger an action after an action
what is the best practice for each of them
when to use one or the other
what's coming

However, I am doubting about the depth. Somehow it feels a bit "shallow", on the other hand there are links to RFCs which are meant to contain more design/code examples. WDYT?

Thank you for writing this! :)


Add make commands for deploying on test cluster

Context
Enable the RSM application to deploy on Kubernetes cluster.
Changes proposed in this pull request
The PR adds Makefile commands to allow the RSM application to be deployed to a Kubernetes cluster.
Guidance to review
The following files have been updated

Makefile has been updated
Configuration added to terraform/application/config

Link to Trello card
https://trello.com/c/TndXQw6F
Checklist

[ ] Attach to Trello card
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally
[ ]

 RSM: build test environment


psst: unstable-2024-03-04 -> unstable-2024-03-15

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for psst is: Fast and multi-platform Spotify client with native GUI
meta.homepage for psst is: https://github.com/jpochyla/psst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2024-03-12 in filename of file in /nix/store/5nadddmflkkwr2glyg5hvi9c9hvqrhhb-psst-unstable-2024-03-12

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
psst

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5nadddmflkkwr2glyg5hvi9c9hvqrhhb-psst-unstable-2024-03-12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A psst https://github.com/r-ryantm/nixpkgs/archive/1a11be6267760c7af188bfab7822cc1c5d31e0fd.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1a11be6267760c7af188bfab7822cc1c5d31e0fd#psst

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5nadddmflkkwr2glyg5hvi9c9hvqrhhb-psst-unstable-2024-03-12
ls -la /nix/store/5nadddmflkkwr2glyg5hvi9c9hvqrhhb-psst-unstable-2024-03-12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

psst

Maintainer pings
cc @vbrandl @peterhoeg for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for psst is: Fast and multi-platform Spotify client with native GUI
meta.homepage for psst is: https://github.com/jpochyla/psst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2024-03-15 in filename of file in /nix/store/6l93hn0wsbv6fr1y4zvbani7y3x632q0-psst-unstable-2024-03-15

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
psst

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6l93hn0wsbv6fr1y4zvbani7y3x632q0-psst-unstable-2024-03-15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A psst https://github.com/r-ryantm/nixpkgs/archive/d1c8d24d607560ff352d631fdbea2d401a985bc0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d1c8d24d607560ff352d631fdbea2d401a985bc0#psst

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6l93hn0wsbv6fr1y4zvbani7y3x632q0-psst-unstable-2024-03-15
ls -la /nix/store/6l93hn0wsbv6fr1y4zvbani7y3x632q0-psst-unstable-2024-03-15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

psst

Maintainer pings
cc @vbrandl @peterhoeg for testing.

@ambroisie, since you wrote the relevant parts of ./pkgs/applications/audio/psst/update.sh:
version="unstable-$(date +%F)" will always be updated when the script is run, even if the latest rev did not change. I see two possible solutions to this: either set version to the commit date of the last rev, or simply don't update, if the rev did not change. I'm not sure which solution is better but the current state is kinda broken.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for psst is: Fast and multi-platform Spotify client with native GUI
meta.homepage for psst is: https://github.com/jpochyla/psst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found unstable-2024-03-19 in filename of file in /nix/store/4xlxflr07irzakg81dkpkhixsywmb052-psst-unstable-2024-03-19

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
psst

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4xlxflr07irzakg81dkpkhixsywmb052-psst-unstable-2024-03-19 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A psst https://github.com/r-ryantm/nixpkgs/archive/4e47cc35c98dc48b79bc038c427b41bd33b6fad2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4e47cc35c98dc48b79bc038c427b41bd33b6fad2#psst

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4xlxflr07irzakg81dkpkhixsywmb052-psst-unstable-2024-03-19
ls -la /nix/store/4xlxflr07irzakg81dkpkhixsywmb052-psst-unstable-2024-03-19/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

psst

Maintainer pings
cc @vbrandl @peterhoeg for testing.

Resolved in #296428.


Combine tabs and live_grep

Thanks for this awesome plugin!
I'd like to have some kind of universal search: basically live_grep that shows matching results from currently open tabs as priority.
Any suggestion how to achieve this behavior? Thanks.

Closing this for now, feel free to open this if you need more help.

Thanks, that helped. Wish we had composable providers (+ outputs deduplication), so any of them could be easily combined together.
If anyone interested — I was able to get behavior close enough to what I was looking for. The solution is based on tabs, lines and grep providers. Additionally I made files search based on git_files and files.
Both use tab drop, which switches to existing tab, if the file is already open.
Limitations: no proper deduplication and can't switch to new unsaved tabs.
It's here. Usage:
let g:rg_opts = '
  \ --line-number --no-column --no-heading --fixed-strings --smart-case --no-ignore --hidden --follow --color always
  \ --glob "*.{c,C,cfg,conf,config,cpp,css,cxx,ebuild,go,h,hpp,hs,html,ini,j2,jade,java,js,lua,md,php,pl,py,rb,rs,scala,sh,sql,styl}"
  \ --glob "{Dockerfile,.gitignore,README,INSTALL,Makefile,Gemfile}"
  \ --glob "!{.git,build,node_modules,vendor,target}/*" '

nnoremap <F3> :lua relevant_files()<cr>
imap <F3> <esc>:lua relevant_files()<cr>
vmap <F3> <esc>:lua relevant_files()<cr>

nnoremap <F4> :lua relevant_grep()<cr>
imap <F4> <esc>:lua relevant_grep()<cr>
vmap <F4> <esc>:lua relevant_grep()<cr>

lua << EOF
require('fzf-lua-ext')
require('fzf-lua').setup {
  winopts = {
    border = 'none',
    fullscreen = true,
    preview = {
      border = 'noborder',
      wrap = 'wrap',
      scrollbar = false,
      layout = 'vertical',
      title = false,
      vertical = 'up:50%',
    }
  },
  grep = {
    rg_opts = vim.g.rg_opts,
    prompt = '> ',
  },
}
EOF

Looks great! Good job deciphering the internal code, I didn’t have API in mind when I designed this so the documentation isn’t really there.


Restructure output files

After the data model PR is merged, we need to improve the output structures,

[ ] use the PURL strings to differentiate file names and store them in a cache directory
[ ] create symlinks at artifact name-based files pointing to PURL-based file names to make them easier to find.
[ ] move dependencies to a separate directory.

For example:
outputs/reports/github_com/FasterXML/jackson-databind/
├── result_data
│   ├── pkg_github_com_FasterXML_jackson-annotations_ef3b1dba42e1ef725fdaefd1aba92cba209bf012.html
│   ├── pkg_github_com_FasterXML_jackson-annotations_ef3b1dba42e1ef725fdaefd1aba92cba209bf012.json
│   ├── pkg_github_com_FasterXML_jackson-core_c94fd875fc430cb4b21154bb9d2320cf2693c305.html
│   ├── pkg_github_com_FasterXML_jackson-core_c94fd875fc430cb4b21154bb9d2320cf2693c305.json
│   ├── pkg_github_com_FasterXML_jackson-core_f3da625bb775a36c4b12abb4ed942d77f43214c2.html
│   ├── pkg_github_com_FasterXML_jackson-core_f3da625bb775a36c4b12abb4ed942d77f43214c2.json
│   ├── pkg_github_com_FasterXML_jackson-databind_a1e6208fd8c6d1873ae41106eb58f8c3751a12f3.html
│   ├── pkg_github_com_FasterXML_jackson-databind_a1e6208fd8c6d1873ae41106eb58f8c3751a12f3.json
│   ├── pkg_github_com_FasterXML_jackson-databind_a1e6208fd8c6d1873ae41106eb58f8c3751a12f3_dependencies.json
│   ├── pkg_github_com_junit-team_junit4_16228f3ccea3c6f1170488e0e268f3601d130f75.html
│   ├── pkg_github_com_junit-team_junit4_16228f3ccea3c6f1170488e0e268f3601d130f75.json
│   ├── pkg_github_com_powermock_powermock_a0be5c4bbeb04f13a6aec2653c1f5663cece1316.html
│   └── pkg_github_com_powermock_powermock_a0be5c4bbeb04f13a6aec2653c1f5663cece1316.json
├── dependencies
│   ├── dependencies.json
│   ├── jackson-annotations.html
│   ├── jackson-annotations.json
│   ├── jackson-core.html
│   ├── jackson-core.json
│   ├── junit4.html
│   ├── junit4.json
│   ├── powermock.html
│   └── powermock.json
├── jackson-databind.html
└── jackson-databind.json

The PR was merged. Note that by using pretty links, you're defeating GitHub's magical presentation. It's better to use this form (- [x] <pr#> on a line by itself):

[x] https://github.com/oracle/macaron/pull/305


[Request] Input support language

Does the tool support other languages than english for input audio files? If not, is this planned ?
Thank you for your work

Right now the app doesn't provide a way to do this but this feature is planned. I still need to clean up a few things in the setup process and once that's sorted I'll rollout this feature. Probably sometime next week. Thank you for your interest and hope you like the project.
I'll leave the issue open for tracking purposes.

Just wanted to add an update. 0.3.0 is out now and fixes a lot of issues I first wanted to focus on. The next minor release will most likely include support for other languages.


refactor: AssertJ best practices

Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/z3zoRjfC4

Thanks for your help on the cleanups. If you see any low-hanging fruit, feel free to give more a try @timtebeek!

Sure! I'll see what pops up tomorrow. And inversely, if you have any API changes you'd want to automate for your users do reach out!


Feedback

Hi mate,
Nice script, I was thinking of making my own live BF dashboard since I couldn't find anything like that until now.
Can you explain the process behind the 'Suggests reduction values for specified Amount of USDT' functionality? It's not quite clear to me from the outset.
The one annoyance I have with the BF API is the 1000 max limit on fetching trades. Adding mongodb could get around this issue by declaring a 'startdate' variable for the first-run of the script. Then it could go back and fetch all data starting from that date and store in DB. From that point on it would just add all new data it fetches to the DB so it would be a complete record. Pagination/date filter on the daily profit table would assist in sorting it properly in the GUI.
A couple other suggestions would be to allow for multiple API keys/accounts and combine the stats.
I will start making some modifications, just wondering if you are currently making changes yourself or have any planned?
Cheers,

FYI - I have modified the script to accept 2 Binance Futures API keys now. Not sure if anyone else has a need for this but I like to separate my shorts and longs on diff. accounts.
Will push proposed edit shortly.

Hi @jontstaz - first of all, thanks for your interest in this small repository. :)
Currently I am not planning to make any changes to the script. But I'll happily accept pull-requests with useful extensions.
About the 'Suggests reduction values for specified Amount of USDT' feature - this is purely experimental. Sometimes I reduce my open positions when they are close to liquidation to prevent exactly that. That's the reason for this little calculator, which calculates how much reduction I have to make on a position to reduce the margin sufficiently. So you don't necessarily need that if you are not as lazy as I am ;)

No worries mate! I've just made a pull req. for ability to handle up to 3 Binance Futures accounts now. Working on a few other tweaks too.


Working Sample

Is there working sample for this?
I'm new in Oauth projects.
Thank you

https://github.com/nraboy/ng-cordova-oauth-example
https://github.com/nraboy/ng-cordova-facebook-example


Dump Annotation Error: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\n

Tried to dump annotations from a task with polygons and rectangles. I received the following error:
Could not dump annotations for the task 2
Error: Request failed with status code 500. "ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()\n".
I don't understand where I would use a.any() or a.all()?

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

I expected annotations to be successfully dumped.
Current Behaviour

I set up a different task (very few frames) with simple labels (both rectangles and polygons including overlaps) and the dump was successful. I'm wondering if it's unhappy with the size of the task (over 15,500 frames), or if my labeler did something weird in hiding/overlapping labels/shapes? I tried docker-compose down and docker-compose up -d and the error is always the same for this particular task.
Your Environment
Docker version 19.03.12
OS: Ubuntu 18.04 LTS
Next steps
You may join our Gitter channel for community support.

Hi, could you provide docker logs cvat output?

2020-07-09 09:10:15,805 DEBG 'rqworker_default_1' stderr output:
INFO:rq.worker:default: Job OK (65cdab24-20b4-404f-923c-d00fcefed425)
2020-07-09 09:10:15,806 DEBG 'rqworker_default_1' stderr output:
INFO:rq.worker:Result is kept for 500 seconds
2020-07-09 09:10:15,815 DEBG 'rqworker_default_1' stderr output:
INFO:rq.worker:Cleaning registries for queue: default
2020-07-09 12:00:18,851 DEBG 'runserver' stderr output:
[Thu Jul 09 12:00:18.850947 2020] [wsgi:error] [pid 266:tid<PHONE_NUMBER>32256] [remote <IP_ADDRESS>:39570] INFO:cvat.client:{"client_id":702842,"name":"Send user activity","username":"mike","is_active":true,"payload":{"working_time":14019},"time":"2020-07-09T12:00:18.834000Z"}
2020-07-09 12:00:30,704 DEBG 'rqworker_default_0' stderr output:
INFO:rq.worker:default: cvat.apps.dataset_manager.views.export_task_annotations(2, 'CVAT for video 1.1', 'http://localhost:8080') (/api/v1/tasks/2/annotations/CVAT for video 1.1)
2020-07-09 12:00:31,505 DEBG 'rqworker_default_0' stderr output:
[2020-07-09 12:00:31,503] ERROR cvat.server.task_2: [cvat.apps.dataset_manager.views @ export_task]: exception occurred
Traceback (most recent call last):
File "/home/django/cvat/apps/dataset_manager/views.py", line 62, in export_task
server_url=server_url, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 723, in export_task
save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 619, in export
exporter(dst_file, task_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 539, in _export_video
anno_callback=dump_as_cvat_interpolation, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 517, in _export
anno_callback(f, task_data)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 378, in dump_as_cvat_interpolation
for track in annotations.tracks:
File "/home/django/cvat/apps/dataset_manager/bindings.py", line 288, in tracks
track, 0, self._db_task.data.size)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 739, in get_interpolated_shapes
shapes.extend(interpolate(prev_shape, shape))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 719, in interpolate
shapes = polyshape_interpolation(shape0, shape1)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 692, in polyshape_interpolation
shapes.append(copy_shape(shape0, frame, points))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 449, in copy_shape
if points:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
2020-07-09 12:00:31,505 DEBG 'rqworker_default_0' stderr output:
ERROR:cvat.server.task_2:[cvat.apps.dataset_manager.views @ export_task]: exception occurred
Traceback (most recent call last):
File "/home/django/cvat/apps/dataset_manager/views.py", line 62, in export_task
server_url=server_url, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 723, in export_task
save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 619, in export
exporter(dst_file, task_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 539, in _export_video
anno_callback=dump_as_cvat_interpolation, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 517, in _export
anno_callback(f, task_data)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 378, in dump_as_cvat_interpolation
for track in annotations.tracks:
File "/home/django/cvat/apps/dataset_manager/bindings.py", line 288, in tracks
track, 0, self._db_task.data.size)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 739, in get_interpolated_shapes
shapes.extend(interpolate(prev_shape, shape))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 719, in interpolate
shapes = polyshape_interpolation(shape0, shape1)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 692, in polyshape_interpolation
shapes.append(copy_shape(shape0, frame, points))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 449, in copy_shape
if points:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
2020-07-09 12:00:31,507 DEBG 'rqworker_default_0' stderr output:
ERROR:rq.worker:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
self._result = self._execute()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
return self.func(*self.args, **self.kwargs)
File "/home/django/cvat/apps/dataset_manager/views.py", line 87, in export_task_annotations
return export_task(task_id, dst_format, server_url=server_url, save_images=False)
File "/home/django/cvat/apps/dataset_manager/views.py", line 62, in export_task
server_url=server_url, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 723, in export_task
save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 619, in export
exporter(dst_file, task_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 539, in _export_video
anno_callback=dump_as_cvat_interpolation, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 517, in _export
anno_callback(f, task_data)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 378, in dump_as_cvat_interpolation
for track in annotations.tracks:
File "/home/django/cvat/apps/dataset_manager/bindings.py", line 288, in tracks
track, 0, self._db_task.data.size)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 739, in get_interpolated_shapes
shapes.extend(interpolate(prev_shape, shape))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 719, in interpolate
shapes = polyshape_interpolation(shape0, shape1)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 692, in polyshape_interpolation
shapes.append(copy_shape(shape0, frame, points))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 449, in copy_shape
if points:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/rq/worker.py", line 812, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 588, in perform
self._result = self._execute()
File "/usr/local/lib/python3.5/dist-packages/rq/job.py", line 594, in _execute
return self.func(*self.args, **self.kwargs)
File "/home/django/cvat/apps/dataset_manager/views.py", line 87, in export_task_annotations
return export_task(task_id, dst_format, server_url=server_url, save_images=False)
File "/home/django/cvat/apps/dataset_manager/views.py", line 62, in export_task
server_url=server_url, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 723, in export_task
save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/task.py", line 619, in export
exporter(dst_file, task_data, **options)
File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in call
f_or_cls(*args, **kwargs)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 539, in _export_video
anno_callback=dump_as_cvat_interpolation, save_images=save_images)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 517, in _export
anno_callback(f, task_data)
File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 378, in dump_as_cvat_interpolation
for track in annotations.tracks:
File "/home/django/cvat/apps/dataset_manager/bindings.py", line 288, in tracks
track, 0, self._db_task.data.size)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 739, in get_interpolated_shapes
shapes.extend(interpolate(prev_shape, shape))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 719, in interpolate
shapes = polyshape_interpolation(shape0, shape1)
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 692, in polyshape_interpolation
shapes.append(copy_shape(shape0, frame, points))
File "/home/django/cvat/apps/dataset_manager/annotation.py", line 449, in copy_shape
if points:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
2020-07-09 12:00:31,525 DEBG 'rqworker_default_0' stderr output:
INFO:rq.worker:Cleaning registries for queue: default
2020-07-09 12:00:33,747 DEBG 'runserver' stderr output:
[Thu Jul 09 12:00:33.747057 2020] [wsgi:error] [pid 266:tid<PHONE_NUMBER>39552] [remote <IP_ADDRESS>:39604] [2020-07-09 12:00:33,746] ERROR django.request: Internal Server Error: /api/v1/tasks/2/annotations
2020-07-09 12:00:33,747 DEBG 'runserver' stderr output:
[Thu Jul 09 12:00:33.747201 2020] [wsgi:error] [pid 266:tid<PHONE_NUMBER>39552] [remote <IP_ADDRESS>:39604] ERROR:django.request:Internal Server Error: /api/v1/tasks/2/annotations


update robustness.md with certified robustness

We are from Secure Learning Lab @ UIUC (aisecure.github.io).
We propose to add a brief overview of progress and current status on certified robustness for AI in robustness.md.
Thanks!

Thanks for the contribution!!