Dockerfile improvements

Hello,
I have updated the Dockerfile following the best practices described in the official documentation. The image has now a size of 355MB (689MB at the origin).
Also, I have moved the Dockerfile to the root folder of this git repository. By this way, it is no more necessary to use git clone ... inside the Docker container since the COPY directive in the Dockerfile does the job. In addition, the .dockerignore file allows to select which files/folders should be copied.

Coverage remained the same at 55.409% when pulling 0d607d2053cd1f627ddc663e4e939dae208dc155 on FinTechEcosystem:docker-patch-1 into 3f4e534c81e8df643355352bf33dfac0d2d14b46 on AKSW:master.

Awesome! thanks @SkypLabs


Code about the t-SNE visualization section

Hello, I read the paper you published at the ACL 2019 conference, I am very interested, and found your implementation code through github. When I reproduce your experiment, I found that t-SNE visualization is missing from your code. Because I am very interested in your work, and want to study your work well, if you are convenient, can you send me the code related to t-SNE visualization in your work? My mailbox is<EMAIL_ADDRESS>I am grateful!

Hi there. Implementing the visualization is trivial so you can try yourself. For the relation you want to visualize, you can sample an entity pair from the probability distribution of the relation over all the entity pairs, then concatenate the embedding vectors of head and tail entity. Repeat the procedure several times and store the concatenated vectors in a file, then you can use tensorboardX (if you use Tensorflow, then tensorboard can be directly used) to visualize the distribution. If you still have any problem, feel free to ask in this thread.


"Suggest" visualization is not showing initial value

It's related not only to suggest, but all properties with type multivalue type


Spec/map review

A tracking issue for the regular maintenance review of the specifications.

completed periodic review with changes in v1.4.3. A few more in-depth reviews for specific specs were created as separate issues.


⚠ Bofrost.at has degraded performance

In 5bd6645, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1953 ms

Resolved: Bofrost.at performance has improved in b6ee5f8.


DO NOT MERGE experimental port to rowan#32

cc https://github.com/rust-analyzer/rowan/pull/32
This is an update of ra to use the rowan branch where I've implemented the "llvm::trailing_objects trick" for GreenNode. This means GreenNode always lives behind an Arc.
This branch is for perf testing of the rowan change. I expect it to be neutral or negative and as thus be discarded (until GreenToken is shrunk?) but it's worth testing at least!
r? @matklad (though this is low priority of course)
I'm not sure how to run any perf tests, otherwise I'd try to do so myself.

I'm not sure how to run any perf tests, otherwise I'd try to do so myself.

cargo run --bin ra_cli --release -- analysis-stats /path/to/some/larger/project
Note that there is some caching involved and the parser is slow (#1643), so you might want to play with the RA_LRU_CAP environment variable. Setting it to 0 caches everything, while leaving it unchanged or at a lower value will exercise the parser much more.

The CI error is only a formatting change:
-fn to_green_element(element: SyntaxElement) -> NodeOrToken<Arc<rowan::GreenNode>, rowan::GreenToken> {
+fn to_green_element(
+    element: SyntaxElement,
+) -> NodeOrToken<Arc<rowan::GreenNode>, rowan::GreenToken> {

I think
cargo run --bin ra_cli --release -- symbols large_file.rs

or
cargo run --bin ra_cli --release -- parse --no-dump large_file.rs

might be a good metric here as well, in addition to the overall ansysis_stats.

Dumb dump of measurements:
trailing-objects
PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { cargo run --bin ra_cli --release -- analysis-stats . | Out-Default }
    Finished release [optimized + debuginfo] target(s) in 0.47s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 216 roots, 1.0347024s
Crates in this dir: 25
Total modules found: 323
Total expressions: 88402
Expressions of unknown type: 6738 (7%)
Expressions of partially unknown type: 3182 (3%)
Type mismatches: 4097
Inference: 40.2337923s, 0b allocated 0b resident
Total: 51.7559952s, 0b allocated 0b resident

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 54
Milliseconds      : 319
Ticks             : 543199001
TotalDays         : 0.000628702547453704
TotalHours        : 0.0150888611388889
TotalMinutes      : 0.905331668333333
TotalSeconds      : 54.3199001

PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { type "D:\rust-lang\src\libcore\unicode\tables.rs" | cargo run --bin ra_cli --release -- symbols }
    Finished release [optimized + debuginfo] target(s) in 0.43s
     Running `target\release\ra_cli.exe symbols`

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 664
Ticks             : 6640937
TotalDays         : 7.68626967592593E-06
TotalHours        : 0.000184470472222222
TotalMinutes      : 0.0110682283333333
TotalSeconds      : 0.6640937
TotalMilliseconds : 664.0937

PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { type "D:\rust-lang\src\libcore\unicode\tables.rs" | cargo run --bin ra_cli --release -- parse --no-dump }
    Finished release [optimized + debuginfo] target(s) in 0.43s
     Running `target\release\ra_cli.exe parse --no-dump`

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 569
Ticks             : 5695037
TotalDays         : 6.59147800925926E-06
TotalHours        : 0.000158195472222222
TotalMinutes      : 0.00949172833333333
TotalSeconds      : 0.5695037
TotalMilliseconds : 569.5037

trailing-objects~2
PS D:\usr\Documents\Code\Rust\rust-analyzer> git checkout HEAD~2
Note: switching to 'HEAD~2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at bbd0fbd9 Merge #2101
PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { cargo run --bin ra_cli --release -- analysis-stats . | Out-Default }
    Finished release [optimized + debuginfo] target(s) in 0.51s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 216 roots, 979.2838ms
Crates in this dir: 25
Total modules found: 323
Total declarations: 10952
Total expressions: 88402
Expressions of unknown type: 6737 (7%)
Expressions of partially unknown type: 3182 (3%)
Type mismatches: 4098
Inference: 33.7676716s, 0b allocated 0b resident
Total: 44.3966774s, 0b allocated 0b resident

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 47
Milliseconds      : 14
Ticks             : 470147946
TotalDays         : 0.000544152715277778
TotalHours        : 0.0130596651666667
TotalMinutes      : 0.78357991
TotalSeconds      : 47.0147946
TotalMilliseconds : 47014.7946

PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { type "D:\rust-lang\src\libcore\unicode\tables.rs" | cargo run --bin ra_cli --release -- symbols }
    Finished release [optimized + debuginfo] target(s) in 0.51s
     Running `target\release\ra_cli.exe symbols`

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 749
Ticks             : 7493724
TotalDays         : 8.67329166666667E-06
TotalHours        : 0.000208159
TotalMinutes      : 0.01248954
TotalSeconds      : 0.7493724
TotalMilliseconds : 749.3724

PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { type "D:\rust-lang\src\libcore\unicode\tables.rs" | cargo run --bin ra_cli --release -- parse --no-dump }
    Finished release [optimized + debuginfo] target(s) in 0.42s
     Running `target\release\ra_cli.exe parse --no-dump`

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 0
Milliseconds      : 566
Ticks             : 5665552
TotalDays         : 6.55735185185185E-06
TotalHours        : 0.000157376444444444
TotalMinutes      : 0.00944258666666667
TotalSeconds      : 0.5665552
TotalMilliseconds : 566.5552

And what are the results of master?

So the analysis-stats run gets slower:
Inference: 40.2337923s, 0b allocated 0b resident
Total: 51.7559952s, 0b allocated 0b resident

Inference: 33.7676716s, 0b allocated 0b resident
Total: 44.3966774s, 0b allocated 0b resident

But the single-file parse times look better than before. The database load times are close, so I'm guessing this was on a warm disk cache.

I ran the command twice in a row (to avoid measuring build time in the overall timing) and took the second result, so I assume the disk cache would be somewhat warm. trailing-objects~2 is bbd0fbd9, which is the commit from master that this branch forked from for the fairest comparison possible.

trailing-objects~2 is bbd0fbd, which is the commit from master that this branch forked from for the fairest comparison possible.

I thought the ~ was a -, so I thought the second one was a different version of this PR.

Something is fishy here. Your base is from two days ago, however:
Database loaded, 216 roots, 1.0347024s
Crates in this dir: 25
Total modules found: 323
Total expressions: 88402
Expressions of unknown type: 6738 (7%)
Expressions of partially unknown type: 3182 (3%)
Type mismatches: 4097
Inference: 40.2337923s, 0b allocated 0b resident
Total: 51.7559952s, 0b allocated 0b resident

While I get:
Database loaded, 216 roots, 229.880234ms
Crates in this dir: 25
Total modules found: 323
Total declarations: 10953
Total functions: 3814
Item Collection: 7.84425208s, 0b allocated 0b resident
Total expressions: 88495
Expressions of unknown type: 6744 (7%)
Expressions of partially unknown type: 3182 (3%)
Type mismatches: 4110
Inference: 15.909583615s, 0b allocated 0b resident
Total: 23.753841793s, 0b allocated 0b resident

The expression counts are close, but you're missing the "Item Collection" line which was added in f1cfd5ec3d in August. How is this possible?

Measure-Command messed up the progress bar, so it's possible it ate some of the output or even that I accidentally removed it when removing the progress bar that didn't get deleted.
I'll rerun this without Measure-Command when I get back to my machine (had to run to an appointment) to make sure if it is or isn't that. Could it potentially be a Windows/*nix issue?

They're simple println!s, so I don't think it's platform-related. But indeed, they're the two lines above the progress bar.
Off-topic, but is your PC really slow, or is RA much slower on Windows?

Anything touching the filesystem is going to be slower on Windows. Also, my D:\ drive is a 5400 RPM 8MB Cache SATA 6.0Gb/s HDD. My processor is an i7-4810MQ @ 2.8GHz 4c8t in a laptop. I'm running on beta-x86_64-pc-windows-gnu (default) rustc 1.39.0-beta.5 (fa5c2f3e5 2019-10-02) currently. I'm also not doing anything special to try and isolate the measurement, I'm just running it in a normal shell.
analysis-stats without Measure-Command:
trailing-objects
PS D:\usr\Documents\Code\Rust\rust-analyzer> cargo run --bin ra_cli --release -- analysis-stats .
    Finished release [optimized + debuginfo] target(s) in 0.53s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 216 roots, 1.0041756s
Crates in this dir: 25
Total modules found: 323
Total declarations: 10952
Total functions: 3813
Item Collection: 10.7575698s, 0b allocated 0b resident
Total expressions: 88402
Expressions of unknown type: 6736 (7%)
Expressions of partially unknown type: 3180 (3%)
Type mismatches: 4097
Inference: 34.3966963s, 0b allocated 0b resident
Total: 45.154878s, 0b allocated 0b resident

trailing-objects~2
```powershell
PS D:\usr\Documents\Code\Rust\rust-analyzer> cargo run --bin ra_cli --release -- analysis-stats .
    Finished release [optimized + debuginfo] target(s) in 0.53s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 216 roots, 958.3043ms
Crates in this dir: 25
Total modules found: 323
Total declarations: 10952
Total functions: 3813
Item Collection: 10.7996937s, 0b allocated 0b resident
Total expressions: 88402
Expressions of unknown type: 6735 (7%)
Expressions of partially unknown type: 3180 (3%)
Type mismatches: 4098
Inference: 34.538116s, 0b allocated 0b resident
Total: 45.3385228s, 0b allocated 0b resident
```

Current master, along with an unedited Measure-Command-wrapped invocation:
542bc182
PS D:\usr\Documents\Code\Rust\rust-analyzer> cargo run --bin ra_cli --release -- analysis-stats .
    Finished release [optimized + debuginfo] target(s) in 0.44s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 218 roots, 1.0139522s
Crates in this dir: 26
Total modules found: 325
Total declarations: 11000
Total functions: 3825
Item Collection: 10.6624567s, 0b allocated 0b resident
Total expressions: 89059
Expressions of unknown type: 6952 (7%)
Expressions of partially unknown type: 3540 (3%)
Type mismatches: 3613
Inference: 34.6395351s, 0b allocated 0b resident
Total: 45.3130805s, 0b allocated 0b resident
PS D:\usr\Documents\Code\Rust\rust-analyzer> Measure-Command { cargo run --bin ra_cli --release -- analysis-stats . | Out-Default }
    Finished release [optimized + debuginfo] target(s) in 0.42s
     Running `target\release\ra_cli.exe analysis-stats .`
Database loaded, 218 roots, 982.8775ms
Crates in this dir: 26
Total modules found: 325
Total declarations: 11000░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0/3825

Total expressions: 89059
Expressions of unknown type: 6947 (7%)
Expressions of partially unknown type: 3537 (3%)
Type mismatches: 3608
Inference: 32.4578312s, 0b allocated 0b resident
Total: 43.3185391s, 0b allocated 0b resident

Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 45
Milliseconds      : 730
Ticks             : 457307657
TotalDays         : 0.000529291269675926
TotalHours        : 0.0127029904722222
TotalMinutes      : 0.762179428333333
TotalSeconds      : 45.7307657
TotalMilliseconds : 45730.7657

Conclusion: Measure-Command messes with rewriting stdout commands.

This run you got the same times on both commits, so maybe it doesn't regress performance?
Item Collection: 10.7575698s, 0b allocated 0b resident
Inference: 34.3966963s, 0b allocated 0b resident
Total: 45.154878s, 0b allocated 0b resident

Item Collection: 10.7996937s, 0b allocated 0b resident
Inference: 34.538116s, 0b allocated 0b resident
Total: 45.3385228s, 0b allocated 0b resident

Best conclusion I can draw is it's within noise, which is really what I expected.

Realistically, this removes one pointer chase in NodeData to get to the green node's children and adds a pointer chase in GreenElement to get to a GreenNode's kind or len, at the cost of some tricky unsafe allocation.

Maybe use hyperfine. It runs the program multiple times and gives an average, 95% confidence bounds and min and max. Using --warmup, you can specify how much warmup rounds you want. (default is 0) It will warn when it thinks the variance is to high on the actual bench runs. You can also specify multiple commands to be benchmarked after each other.

hyperfine might be overkill. I can confirm that it seems mostly within noise on my Linux laptop, too.

Closing this as it's added complexity for no gain. Will probably end up with a new experiment for https://github.com/rust-analyzer/rowan/pull/33.


chore: update to Next v12

What kind of change does this PR introduce?
Chore/Fix
What is the new behaviour?
Update Next.js dependencies to v12.
Does this PR introduce a breaking change?
TBD
Other information:
Please check if the PR fulfills these requirements:

[ ] Tests for the changes have been added
[ ] Docs have been added / updated

closing in favour of https://github.com/next-page-tester/next-page-tester/pull/294


Request for no-margin variant on columns block.

Can you please create a variant for the columns block called no-margin.
For this use case (bottom of the page):
https://main--sunstar-foundation--hlxsites.hlx.live/en/education/jsdei
@bosschaert @sdmcraft @meejain

Sure @ehrro  . It seems we already have couple in the side kick library - Please take a peek -
columns with no - margin
https://main--sunstar-foundation--hlxsites.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/sidekick/blocks/columns&index=20
We have columns with no - padding as well -
https://main--sunstar-foundation--hlxsites.hlx.page/tools/sidekick/library.html?plugin=blocks&path=/sidekick/blocks/columns&index=17

Hello @meejain,
no-margin is not properly configured.
If you look at small-margin it works well if you try no-margin it doesn't work.
Use this page for the record:
https://main--sunstar-foundation--sunstar-foundation.hlx.page/en/education/jsdei

On sunstar.com we have implemented no-margin at the end I believe and it wasn't migrated to foundation.
Thanks.

Pl check now - https://issue32-no-margin-col--sunstar-foundation--sunstar-foundation.hlx.page/_drafts/meet/jsdei


feat: add many to many connections

This ports this PR from the original egui_node_graph to work with this fork. As mentioned in the original PR, the functionality looks good. I tested briefly and no issues were found

Thanks!


Add 1 month and 6 months UPVs

Supersedes #90
Trello card
The original story was to fetch 12 months' worth of pageviews data but this is not possible - other teams have tried and failed. We are instead able to pull in 6 months' worth adequately.
In this PR we are adding delayed_job_active_record to queue our batches of requests into background jobs. This helps us to avoid too many timeouts with Google Analytics, speed up the import and also handle re-trying of failed requests.
The calling of the rake task does not change. We will however need to start up a queue when we deploy the app in order for the import to work.
Expected changes
Before

After

@pmanrubia I've finally got a PR with the correct commit history order: https://github.com/alphagov/content-performance-manager/pull/93
So closing this. Sorry for the faff. Your comments won't be on the new PR though.


FR WEB Tier 01 Duplicated in Sonarr list-custom-formats

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
FR WEB Tier 01 appears twice in list generated by recyclarr sonarr --list-custom-formats. Both instances are within the same "French Source Groups" heading.
French Source Groups
          - db13a377f7afb29975ea39470434d2ef # FR Anime Tier 01
          - ddb8eaa9c85a549c50034d280539d54d # FR WEB Tier 01
          ...
          - ddb8eaa9c85a549c50034d280539d54d # FR WEB Tier 01
          - a4c51febd4d8b2a0db10a3c974f21d92 # FR WEB Tier 02
          - dbfc0a4b5cb4cbd693311c4482ae9683 # FR WEB Tier 03

Expected Behavior
The uuid should only appear in the list once.
Steps To Reproduce

Run recyclarr sonarr --list-custom-formats

Environment & Versions
- Operating System: Unraid 6.11.5
- Architecture: x64
- Recyclarr Version: v4.0.2 (3.Branch.master.Sha.f7a7902c2cace95357bb7fc686e346a08d5a73e2)
- Recyclarr Build: Docker

Recyclarr Log File(s)
n/a
Configuration YAML
n/a

Sonarr / Radarr Logs
No response

I'm not able to reproduce this:
French Source Groups

          - 44b6c964dad997577d793fd004a39224 # FR Anime FanSub
          - db13a377f7afb29975ea39470434d2ef # FR Anime Tier 01
          - 4e6134a384dbc0ef166234cc0e45d26d # FR Anime Tier 02
          - d844321db5e126d2e7e46152f0706532 # FR HD Bluray Tier 01
          - 3ba797e5dc13af4b8d9bb25e83d90de2 # FR LQ
          - b8e91cc8fb2bd96468fab74730c30d18 # FR Remux Tier 01
          - 2f3422339d185eb227a324644a2fbfca # FR Scene Groups
          - ddb8eaa9c85a549c50034d280539d54d # FR WEB Tier 01
          - a4c51febd4d8b2a0db10a3c974f21d92 # FR WEB Tier 02
          - dbfc0a4b5cb4cbd693311c4482ae9683 # FR WEB Tier 03

Looks like this was an issue in the trash guides. They fixed it here: trash-/guides@095df16cda0bef875747561fd8897076fb84874a


Privacy error issue with mkcert

Hello. I am running into an issue with mkcert.
mkcert installed successfully as did the certificates. Here's the output from the docker container:
Created a new certificate valid for the following names 📜
- "local.devgo.vip"
- "*.local.devgo.vip"
Reminder: X.509 wildcards only go one level deep, so this won't match a.b.local.devgo.vip ℹ
The certificate is at "local.devgo.vip.crt" and the key at "local.devgo.vip.key" ✅
It will expire on 11 June 2023 🗓
Note: the local CA is not installed in the system trust store.
Run "mkcert -install" for certificates to be trusted automatically ⚠

Chrome is not recognizing the certificate authority - i.e. NET::ERR_CERT_AUTHORITY_INVALID

Never mind. I just reread the readme and saws this "The local development environment uses a self-signed SSL sertificate for HTTPS so the "Your connection is not private" error can be ignored to visit the site."

@jp1971 One way to fix the error is to add the generated CA certificate to your system certificate store. Those certs are unique for each development environment and generated inside the mkcert docker container so you would need to map the certificate directory to a local directory instead of a named mount here:
https://github.com/xwp/vip-go-site/blob/97f588f660b7e38e9b98d2d31f06c7eaeba9ff52/docker-compose.yml#L16
And then run CAROOT=path/to/that/directory mkcert -install to install the certificates generated in the docker container on your local machine.


MK 14 EBR - sights with wrong concealment stat.

Almost the same problem like in #49 - this is not the usual sniper rifle.

All sights give extra concealment, despite having iron sights by default.

Thanks, I'll take a look at it.

Fixed. The Mk14 EBR probably had an actual scope by default at some point which is why this happens.


fix(dicom-video): Update get direct func for dicom json to use url if present and fix config argument

Fix getDirectURL config arg
Pass and use url attribute if present (json loader)
Update check to avoid runtime errors

Context

Changes & Results

Testing

Checklist
PR

[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[] OS:
[] Node version:
[] Browser:

Can you rebase and check the failing tests?


Add a ~/.earthdaily/credentials configuration file to store & load credentials

As an earthdaily package user, I'd like to store the EDS_AUTH_URL, EDS_CLIENT_ID and EDS_SECRET variables in a file outside of the repository, without having to manually resort to dotenv.
I think we could use a similar mechanism to AWS' way of handling credentials (i.e. store credentials in ~/.aws/credentials on MacOs/linux and in %USERPROFILE%.aws\credentials on Windows) by defining a similar ~/.earthdaily/credentials file.
The package should try to read credentials in the following order:

from an input JSON file
from already defined environment variables
from ~/.earthdaily/credentials on Linux/MacOS and from %USERPROFILE%.earthdaily\credentials on Windows

This would provide a first step for named profiles that point to different credentials.

Very nice idea @rle-earthdaily, it's way better than a dotenv file indeed.
Usually default/suggested way to use it is to store in environment variables, but the same method as boto3/aws is really interested and I think easier to implement for users. So yeah let's go ! But let's be careful on breaking changes.


cargo test fails

A git clone, followed by cargo test gave me:
failures:

---- src/widgets/menubar.rs - widgets::menubar::MenuBar (line 89) stdout ----
error[E0061]: this function takes 3 parameters but 1 parameter was supplied
  --> src/widgets/menubar.rs:151:20
   |
64 |     let mut file = MenuItem::new("File");
   |                    ^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters

error: aborting due to previous error

For more information about this error, try `rustc --explain E0061`.
Couldn't compile the test.

rustc --version
rustc 1.40.0 (73528e339 2019-12-16)

cargo --version
cargo 1.40.0 (bc8e4c8be 2019-11-22)

Hi ! Thanks for your message, it is resolved in the commit I just made (89c9caf).
It was an issue with the doc of MenuItem which I forgot to update.

Any plans to setup CI/CD testing (Travis, circle I)?
Want help with that?
On Sun, 5 Jan 2020, 23:48 alexislozano<EMAIL_ADDRESS>wrote:

Hi ! Thanks for your message, it is resolved in the commit I just made (
89c9caf
https://github.com/alexislozano/neutrino/commit/89c9caf40dc8cf1ffae7b67f415c839f0f294e9e
).
It was an issue with the doc of MenuItem which I forgot to update.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexislozano/neutrino/issues/75?email_source=notifications&email_token=ABKF4LGXKF74HBADCPAWPMLQ4IFPBA5CNFSM4KC3VKMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEID2ZOI#issuecomment-570928313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKF4LG2ECMTZHKMODAIRALQ4IFPBANCNFSM4KC3VKMA
.

Clearly, yes, would appreciate any help with that! Could you create à new issue about CI please ?

Will do. Travelling home and will be the weekend before I get quality time
on this.
In the issue you can let me know preferred CI platform, and the OS and rust
version matrix you would like to ensure works.
I use Travis and can do that easily with a .Travis.yml file and optional
for you to use it.
I want to learn CircleCI for projects of my own - so can use this as a
vehicle for that......then you can chose which you prefer.
On Mon, 6 Jan 2020, 13:53 alexislozano<EMAIL_ADDRESS>wrote:

Clearly, yes, would appreciate any help with that! Could you create à new
issue about CI please ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexislozano/neutrino/issues/75?email_source=notifications&email_token=ABKF4LHGQFR66PR4SK4C6TDQ4LIPLA5CNFSM4KC3VKMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIES2RQ#issuecomment-571026758,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKF4LG46D4KDLVDEVXOH2LQ4LIPLANCNFSM4KC3VKMA
.


[4.x] [WIP] Add phpstan to CI

Continues of PR https://github.com/archtechx/tenancy/pull/926

FYI you can create branches in this repo for simple PRs. It would work better because then I could check out this branch and easily make changes in it.
So now we'll keep this open until I tell you to merge master into your branch after I resolve the issues there.

FYI you can create branches in this repo for simple PRs. It would work better because then I could check out this branch and easily make changes in it.

Sure. BTW, I think you can checkout out specific PR too.

That's with the GitHub CLI, right?

That's with the GitHub CLI, right?

I think GitHub CLI can do that too, but I often use GitHub Desktop.

I see, I just use CLI git

I see, I just use CLI git

not to derail the PR. but you can install git add-ons to checkout PR's then you don't have to leave git https://github.com/stevemao/awesome-git-addons

I resolved many issues in master and all issues related to resource syncing in #915, so after that is merged there will be only 3 issues left:
 ------ -------------------------------------------------------
  Line   Middleware/InitializeTenancyByPath.php
 ------ -------------------------------------------------------
  55     Unreachable statement - code above always terminates.
 ------ -------------------------------------------------------

 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Line   Tenancy.php
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  46     Cannot call method getTenantKey() on (Illuminate\Database\Eloquent\Model&Stancl\Tenancy\Contracts\Tenant)|null.
  55     Property Stancl\Tenancy\Tenancy::$tenant ((Illuminate\Database\Eloquent\Model&Stancl\Tenancy\Contracts\Tenant)|null) does not accept Stancl\Tenancy\Contracts\Tenant.
 ------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

 [ERROR] Found 3 errors

These are a bit more difficult so I'll try to refactor the code to fix them.

All phpstan issues are resolved 🚀 Thanks for working on the CI workflow!


CommonJS import error

Related to https://github.com/microsoft/TypeScript/issues/45813
using the import syntax with mixpanel and typescript 4.4+ fails
import { disable, init } from "mixpanel-browser";

init("my_mixpanel_token");
disable();
       ^

TypeError: Cannot read property '_flags' of undefined

using the default import works well though,  but it is discouraged by linting rules such as https://github.com/import-js/eslint-plugin-import/blob/v2.25.2/docs/rules/no-named-as-default-member.md
import mixpanel from "mixpanel-browser";

mixpanel.init("my_mixpanel_token");
mixpanel.disable();

Yeah, the export of the commonjs module is a Mixpanel library instance. It won't work to call individual methods without any binding to their instance.

Yes, the default export should work for you. It's the only one we document. I think it might be a pretty simple update for the lib to export a named version as well so you could do
import {mixpanel} from 'mixpanel-browser';


Varchar to Int with OCI_VERSION_COMPILE = OCI_11_2

I'm using ocilib on a workstation with Oracle driver <IP_ADDRESS>
If I fetch a column of type VARCHAR2 with OCI_GetInt I get always 0 as result
The varchar column contains "101".
I've changed in function boolean OCI_NumberFromString
from:
#if OCI_VERSION_COMPILE >= OCI_12_1
to:
#if OCI_VERSION_COMPILE >= OCI_11_2
And everything works fine. OCI_GetInt returns 101
So if you want to keep OCI_GetInt with string to int compatible for Oracle 11, consider this change.
Thanks.

Hi,
Thanks for reporting issues:)
I cannot remember why I've added this the define you are referring to in v4.2.0 (even no trace in the related commit comment, which is not a good thing!)

Best regards,
Vincent


Prototype temperature monitors

3 temperature sensors need to be set up for basic input and output -

[x] TMP36
[x] MAX6675
[ ] BME280

The code for I/O can be found here (see sensor testing and code).
Tasks Remaining -

[ ] Calibrate the sensors for better accuracy
[ ] Connect the sensors to RSPi server

@shehraj123 would you like a git tutorial? Ideally, the code would be added via Pull Request.
Please structure your issues with Summary and Acceptance Criteria sections. For example
Summary
We need temperature sensors because... They will be located...
Acceptance Criteria

[ ] breadboard sensors
[ ] quick prototype script for TMP36
[ ] " for MAX6675
[ ] " for BME280
[ ] decide on best option
[ ] write functional test for chosen sensor

FYI the Teensy's are labelled. In /dev/serial/by-id/ you will see two devices

10133140 is GPS
10135960 is temperature sensor

@Kevin-was-here good work session today. Please make a pull request with the functional test code and update any related documentation as needed.

@Kevin-was-here can you make another PR and add in the TMP36 code? Example here


Feature request: If nothing is selected and ctrl-x is pressed, cut the line

Many editors (eg. Sublime, Visual Studio) have a useful feature that if you press ctrl-x, the whole line is cut. It makes code editing easier. It would be nice to have that feature in Lite also, if possible.

Intercepting "doc:copy", "doc:cut" and "doc:paste" commands in a plugin seems to do the trick : cutline.lua.

@Polyfructol that works, thanks!

@Polyfructol Feel free to submit this as a plugin to the lite-plugins repo!


WIP: Remove package from project should reload the project

This seems to work nice, but since this is blocking we should show some visual indication that paket is working.

[x] Add visual indicator
[ ] Check if files are unsaved

I added some logging to the stataus bar


's placeholder becomes its value inside v-repeat on

Hello!
http://jsfiddle.net/4ty2v4fc/65/
Edit:
It fails without v-repeat too:
http://jsfiddle.net/4ty2v4fc/66/

@fullfs It's not happening for me in Chrome 41.

@young-steveo yep, it's not. Check out the subject, please :) It occurs in IE10 (probably IE11 too).

@fullfs Whoops.  Missed that, sorry.

A quick search shows that it is a fixed issue before: https://github.com/yyx990803/vue/issues/558 .
I traced a while and found this issue may come from here: https://github.com/yyx990803/vue/blob/master/src/parsers/template.js#L131
When textarea is a child of template and a placeholder is set, the textarea already contained text which is actually its placeholder. And Vue doesn't handle this situation.
Wish it helps a little to this issue.

@liuyanghejerry great work gathering the information, thanks!
By the way, when using v-attr="placeholder: " everything works fine (no wonder).

@fullfs That's right. I guess this is the workaround for now.


Drag to resize the window from the top border results to move.

Description
When you want to resize the window, you click on the upper border of the window. However this results to moving instead of resizing.
Steps To Reproduce

Go to the upper side of the window horizontal border.
Let the the cursor become "resize" (up-down arrow).
Click and drag.

Requirements
Window should be resized from the top border.
Files Version
<IP_ADDRESS>
Windows Version
10.0.19045
Log File
debug.log

Thanks for the feedback, Merging with #10813. You can check there or click subscribe in the right sidebar for updates.


share the code of Global Structure Guided Learning Framework for Underwater Image Enhancement

Could you send an email, so I can share the code.

Could you send an email, so I can share the code.

My email is<EMAIL_ADDRESS>Thanks.


Fixed some bugs in unittests

Changes Made

In file src/maze.py, the function time.clock was used for timing. I changed it to time.time
In file tests/cell_tests.py, made changes to some tests that were failing

Why ?

The function time.clock was replaced by time.time for compatibility issues. According to the python documentation, the funciton time.clock is deprecated as of version 3.8. I changed this to make the code base compatible with all versions of python.

In tests/cell_tests.py, in line 52, the assertion value has been changed to True. Looking at the method Cell.set_as_entry_exit, the second if condition will match and the bottom wall will be removed but the right wall will be as is. Hence the change in assertion.

In tests/cell_tests.py, in line 63, the cell (0,0) is to the left of cell (0,1) and hence left wall will be removed.

In tests/cell_tests.py, the test method test_is_walls_between does not test the method Cell.test_is_walls_between. Only the remove_walls method was called. I rewrote this method to consider that.

The test_is_walls_between method implementation
This test should test whether there is a wall between any two cells.
In the method, I created a cell which you can imagine to be at the center of a (2x2) maze. I also created 4 other cells, one at each side of this cell (top, bottom, right and left).
So, there should be a wall between the cell at the center all the cells at the sides.
The test also tests whether wall exists between two neighbouring cells if the common wall between them is removed.

@jostbr could you please review this PR as soon as you can? Because i have written some algorithms for generating mazes. But since I am using Python3, I need to use some of the changes made in #35 (related to python 3 compatibility). So I cant create a PR for them unless #35 is merged.
Or should I create a PR using the branch test-bug-fixes(used in #35)?

@jostbr could you please review this PR as soon as you can? Because i have written some algorithms for generating mazes. But since I am using Python3, I need to use some of the changes made in #35 (related to python 3 compatibility). So I cant create a PR for them unless #35 is merged.
Or should I create a PR using the branch test-bug-fixes(used in #35)?


Installation error: undefined: grpc.WithInsecure

Hello, trying to install Bazil via instructions on bazil.org, but ran into this issue:
~/D/o/gopath$ go get google.golang.org/grpc
~/D/o/gopath$ cd $GOPATH/src/google.golang.org/grpc
~/D/o/g/s/g/grpc:master$ git remote add bazil https://github.com/bazil/grpc-go
~/D/o/g/s/g/grpc:master$ git fetch bazil
remote: Counting objects: 36, done.
remote: Total 36 (delta 28), reused 28 (delta 28), pack-reused 8
Unpacking objects: 100% (36/36), done.
From https://github.com/bazil/grpc-go
 * [new branch]      auth       -> bazil/auth
 * [new branch]      auth-1     -> bazil/auth-1
 * [new branch]      auth-2     -> bazil/auth-2
 * [new branch]      auth-3     -> bazil/auth-3
 * [new branch]      master     -> bazil/master
~/D/o/g/s/g/grpc:master$ git checkout -b auth bazil/auth
Branch auth set up to track remote branch auth from bazil by rebasing.

Should be fixed by use of Go modules to get right library versions, around 1caa917f2e1f0ccbe8f4af4da001f438f03a1e0f.


Adding integration framework setup

Added RapidNodeRunner to manage rapid processes.
Next step would be to interact with these processes to be able to fetch and assert on their membership views.

Coverage remained the same at 91.988% when pulling 8b730706107bb8f7f29da19a66d21a2b7bdb05a7 on zalokhan:master into 2988c592020b727a925973b4c046920b1793b3b9 on lalithsuresh:master.

Merged. Thanks!

Coverage remained the same at 91.988% when pulling 8b730706107bb8f7f29da19a66d21a2b7bdb05a7 on zalokhan:master into 2988c592020b727a925973b4c046920b1793b3b9 on lalithsuresh:master.


Javascript Minesweeper

This project is a javascript based game. It allows you to click a cell from 9*9 grid. It shows the number of bombs placed in the surrounding. If a bomb is clicked at any point, game gets over and you are asked to play again.

Thanks for your PR. Merged.
I will be grateful, if you can leave a start to this repository.


UI: segfault when switching camera streams

Describe the bug
When switching camera streams in the ui, as is done in this commit.
https://github.com/commaai/openpilot/commit/1db0b6acf0ca433a2eeaec4ed1af6d51241e9061
It can sometimes segault.
It's relatively easy to reproduce by checking out that commit and running replay on public route
./replay "1df037e2a95eb9be|2022-10-17--14-52-31" --ecam
If you then skip forward and back frequently you should quickly see a segault
Segmentation fault (core dumped)

Provide a route where the issue occurs
1df037e2a95eb9be|2022-10-17--14-52-31
openpilot version
draw-mpc
Additional info
No response

@deanlee Something you want to look into?

The segfault I encountered was :

#0  0x00007f6676881cd0 n/a (/usr/lib/x86_64-linux-gnu/dri/iris_dri.so + 0x109ecd0)

It's a opengl problem, iris_dri is part of libgl1-mesa-dri (the OpenGL API -- DRI modules):
https://packages.ubuntu.com/search?suite=focal&arch=amd64&mode=exactfilename&searchon=contents&keywords=iris_dri.so


Audio Gain and Attenuation

Hi there,
Would it be possible to control the audio gain and attenuation in this module? Could it be added?
Thank you so much.

Hi there!
Took me a bit too see if this is possible, but unfortunately there is no good way to provide a feature like this.
We are restricted to the "new live UI" of the Pearl and there is no option to do so.
Correct me if im wrong


Register this package

Will do after #31 gets merged.

An unexpected error occured during registration.

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/520
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.5 -m "<description of version>" 22ee088babd308f4c50ca9d3b8388f3b94d1e438
git push origin v0.1.5

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/520
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.5 -m "<description of version>" 8ea8ee1775ea9ab7934602b881ec8e6d0c504004
git push origin v0.1.5

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/520
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.5 -m "<description of version>" c25a0486f9244a17afec7663fb8a9bd9d7291557
git push origin v0.1.5

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/925
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.6 -m "<description of version>" 516cf2be7a2b702c838f07c592229908cec0a7ff
git push origin v0.1.6

@JuliaRegistrator register()

Error while trying to register: Version 0.1.6 already exists

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/1104
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.7 -m "<description of version>" 34d7698d64aae9651a3042b60e46bcc3f0e56d8a
git push origin v0.1.7

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/1223
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.8 -m "<description of version>" c1f30327011288253c43af521f579d600affe038
git push origin v0.1.8

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/1831
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.9 -m "<description of version>" 7a0e42c63305a9002e30d9e555f4937887545843
git push origin v0.1.9

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/2277
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" e09185d12f7e856e0a268f8e99d5d330d6e751ce
git push origin v0.2.1

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/2309
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" 567d90c4cab02d7b271d1b905bd371f9c27532a6
git push origin v0.2.2

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/2309
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" 6f98dd07cc4f11d7714a1a88b3afc4b5bcb88ddb
git push origin v0.2.2

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/2797
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.3 -m "<description of version>" 26aabb59c819d6b238aa70b80b692fdb51462934
git push origin v0.2.3

@JuliaRegistrator register()

Error while trying to register: "Tag with name 0.2.3 already exists and points to a different commit"

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/3211
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.4 -m "<description of version>" 2d448c9b3203767adeff4991185d55c3a859e135
git push origin v0.2.4

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/3578
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.5 -m "<description of version>" b33db2b8af8f0592073a078bbd861d402fd64df2
git push origin v0.2.5

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/4244
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.6 -m "<description of version>" 43077cbcb45084b7309ad43662e0c9432cb887b5
git push origin v0.2.6


Automated cherry pick of #6418: 可根据代理过滤云账号

Cherry pick of #6418 on release/3.2.
#6418: 可根据代理过滤云账号

Codecov Report

Merging #6419 into release/3.2 will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.2    #6419      +/-   ##
===============================================
- Coverage         7.05%    7.05%   -0.01%
===============================================
  Files              649      649
  Lines           111327   111406      +79
===============================================
  Hits              7856     7856
- Misses          102862   102941      +79
  Partials           609      609

Flag
Coverage Δ

#aFlag
7.05% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/baremetal/manager.go
0.50% <0.00%> (-0.01%)
:arrow_down:

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/cloudcommon/policy/policy.go
1.50% <0.00%> (-0.06%)
:arrow_down:

pkg/compute/models/cloudaccounts.go
0.69% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/dbinstanceresource.go
0.00% <0.00%> (ø)

pkg/compute/models/guest_actions.go
0.00% <0.00%> (ø)

pkg/compute/models/guests.go
0.56% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/hosts.go
0.30% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/networks.go
0.54% <0.00%> (-0.01%)
:arrow_down:

... and 8 more

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 eb56db7...be7adbe. Read the comment docs.


Find My Mouse still Activates even when Game Mode is On.

Microsoft PowerToys version
0.60.1
Running as admin

[X] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce
Enable Find My Mouse
Enable Do not activate when Game Mode is on
Turn on Game Mode
Activate Find My Mouse
✔ Expected Behavior
Find My Mouse should only trigger when Game Mode is Off if the option is checked
❌ Actual Behavior
Find My Mouse activates regardless of Game Mode state
Other Software
No response

What games are you playing where Mouse utilities still activates?
/needinfo

What games are you playing where Mouse utilities still activates?
/needinfo

Just about everything:
Powerwash Simulator is a very annoying culprit (I'm waving my mouse around in that a bunch)
MTG Arena
Dorfromanik
Peglin
just to name a recent few where this has happened.
I can't actually remember a game that it hasn't happened on that I've played on my PC...

It's possible that it can't detect these games as games.
You can add them as excluded apps if you want:

I'm curious then as to what Game Mode actually is/how it is supposed to work if no games enable it?

I'm curious then as to what Game Mode actually is/how it is supposed to work if no games enable it?

It works for some games. I personally didn't write the code (@jaimecbernando did), but you can look at it here: https://github.com/microsoft/PowerToys/blob/main/src/common/utils/game_mode.h
Bing Chat says it does the following:


How to creat gt.info and gt.log files

Hello,
May I ask for  how the files of  gt.info, gt.log, and gt_overlap.log in OverlapPredator-main\configs\benchmarks\3DMatch\7-scenes-redkitchen generated? What information is required to generate these three files? I have been troubled by this place for a long time. Could you please help me answer it? I would greatly appreciate it!

I would also be interested in the details. Especially for the gt.info file.

Hello, do you know how the gt.log file is generated? Looking forward to your reply！ @JosefT-TuDortmund

Yes, I managed to generate them. I did it the following way:

First as a prerequisite you need to have all the transformations that align your point clouds in the world coordinate system. For the 3DMatch dataset they are stored in the cloud_bin_{id}.info.txt files.
The gt.log file essentially holds the pairwise relative transformations to align two point clouds. this can look like this:
0	 1	 60
 9.96926560e-01	 6.68735757e-02	-4.06664421e-02	-1.15576939e-01
-6.61289946e-02	 9.97617877e-01	 1.94008687e-02	-3.87705398e-02
 4.18675510e-02	-1.66517807e-02	 9.98977765e-01	 1.14874890e-01
 0.00000000e+00	 0.00000000e+00	 0.00000000e+00	 1.00000000e+00

The Transformation aligns the first point cloud (here idx 0) with the second (here indx 1). The 60 is the total number of point clouds in the sequence.
Lets say you have the transformations for point cloud 0 and point cloud 1 given as T0 and T1.
Then you can calculate the relative transformation as:
Trel = np.linalg.inv(T0) @ T1   # in python
For gt_info.log however, I am also clueless. Hope that this helps you :)

1.That is to say, if I have the rotation matrix and translation matrix of two frame point clouds in the world coordinate system, can I get the gt.log file? But I have another question: shouldn't the. log file be a log output file?
2.But I found out that the transformation matrix in the cloud_bin_{id}.info.txt files cannot correspond one-to-one with the transformation matrix in the gt.log file,and I am not quite sure about what does the first line in the cloud_bin_{id}.info.txt file mean.

Yes, the gt.log file corresponds to the relative transformations between the point clouds when they are aligned in the world coordinate system. Idk, how the original generation process of the .log files was. Perhaps the authors of the paper/code can bring some light into this discussion?
For me, the calculation of the relative transformations given the absolute poses within the cloud_bin_{id}.info.txt files worked fine as I described before.
For the first line, the first two numbers are indices for the point clouds. The third number is the total number of point clouds for the scene.

Thank you. So I can understand that the generation of the gt.log file is not related to the cloud_bin_{id}.info.txt file, right?
About the gt.info file, some materials say that it is the Covariance matrix of the transformation matrix, but I don't understand it. @JosefT-TuDortmund

And I also found a problem: when I visualized the 3DMatch.pkl file, I found that the corresponding rotation matrix and the rotation matrix of the same pair of point cloud keyframes in the gt.log file were not the same, shouldn't they be the same? @JosefT-TuDortmund

For anyone who wish to know the meaning of gt.log file, please see http://redwood-data.org/indoor/fileformat.html
For anyone who wish to know how to compute the relative pose, I provide a concrete example based on @JosefT-TuDortmund 's answer.
        src_trans = np.loadtxt(src_trans_path, skiprows=1, usecols=None) # load a  *.info.txt file
        tgt_trans = np.loadtxt(tgt_trans_path, skiprows=1, usecols=None) # load a  *.info.txt file

        trans_full = np.matmul(np.linalg.inv(tgt_trans), src_trans)

        assert np.abs(trans_full[:3, :3] - rot).sum() < 1e-2 # rot is the true rotation provided in gt.log or configs/indoor/3DMatch.pkl

@lcxiha  So I can understand that the generation of the gt.log file is not related to the cloud_bin_{id}.info.txt file, right?  The statement is not correct.


Update benchmarks environment to Julia v1.10

Just moving to v1.10 shaved off 12+ minutes from CI time: https://github.com/Team-RADDISH/ParticleDA.jl/actions/workflows/benchmark.yml?query=is%3Asuccess


change ascii art for JoinMarket stats

This was my attempt at a simpler ascii art for the JoinMarket stats.
It's just a simple JM underlined with a chain.

Tested, but got an issue on the physical touchscreen.
The xterm does not seem to support the unicode characters.
@frennkie is there an acceptable solution to this?

Looks great when the touchscreen is not active:

The touchscreen uses xterm: https://github.com/rootzoll/raspiblitz/blob/v1.6/home.admin/BlitzTUI/blitztui/main.py#L157 which has a problem with unicode chars:
https://unix.stackexchange.com/questions/196152/xterm-not-displaying-unicode
A fast solution is to replace xterm by uxterm, I will provide a PR.

https://github.com/rootzoll/raspiblitz/pull/1614

Confirmed to work with https://github.com/rootzoll/raspiblitz/pull/1614
Ready for v1.6.1 @rootzoll

+cp into dev branch


Library not loaded: libpython2.7.dylib

I'm running on macOS Sierra with Python 2.7. I built Malmo from source and when I ran /usr/bin/python run_mission.py, I got this error:
Traceback (most recent call last):   File "run_mission.py", line 20, in <module>     import MalmoPython ImportError: dlopen(/Users/exfoxz/MalmoPlatform/build/install/Python_Examples/MalmoPython.so, 2): Library not loaded: libpython2.7.dylib   Referenced from: /Users/exfoxz/MalmoPlatform/build/install/Python_Examples/MalmoPython.so   Reason: unsafe use of relative rpath libpython2.7.dylib in /Users/exfoxz/MalmoPlatform/build/install/Python_Examples/MalmoPython.so with restricted binary
My Python version:
Python 2.7.10 (default, Jul 30 2016, 18:31:42)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Okay, I think I found a way to fix this issue.
The error was
Reason: unsafe use of relative rpath libpython2.7.dylib in /Users/exfoxz/MalmoPlatform/build/install/Python_Examples/MalmoPython.so with restricted binary.
So basically I needed to change the relative path in MalmoPython.so to an absolute path and, after Googling around, I found this similar issue. So I did that with
install_name_tool -change libpython2.7.dylib /usr/lib/libpython2.7.dylib MalmoPython.so
while in the Python_Examples directory.
Hope it helps other people.


Request: Full examples?

Examples seem to omit the imports, and imports like import { is } from 'ts-runtime-checks'; don't work since items like is are not exported/provided by ts-runtime-checks after build time 🤔

import { is } from 'ts-runtime-checks';
^
SyntaxError: The requested module 'ts-runtime-checks' does not provide an export named 'is'

Hi, sorry for the late response! Are you sure you're using the library correctly? You have to use one of the packages listed to transform the typescript code

It's been a long time since then, opted to not use the lib. Might revisit another year if the need arises.
Closing.


[Bug]: cursor should not be "pointer"

Bug description
This may not be a bug, but ideally, I think the cursor should not be "pointer" by default.
Expected behavior
As this is a hybrid of a text box and select box, the cursor should either be the default (an arrow, like in select elements by default) or text (like in text boxes).
I personally use this to avoid seeing the pointer cursor (a text cursor is displayed instead):
/* Align better with input standard behaviour */
.ts-wrapper.single .ts-control,
.ts-wrapper.single .ts-control input {
  cursor: unset;
}

Steps to reproduce
Add a Tom Select single-value element and check the cursor.
Additional context

OS: All
Browser: All
Version: latest

I believe I can't remove the stale label.


Cant load fbx files with blender

Hi guys,
I really enjoyed this example. Is there any way to open the used fbx models in blender.
Blender reports an error?
Maybe this is off-topic ... sry ;)

https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-0?us_oa=akn-us&us_si=9066be5d-863a-4cd3-b98f-87bda034316b&us_st=fbx sdk
there you can download sdk for all common used os.
You can compile the ConvertScene sample with: cmake, gcc, libxml2-dev
The resulting binary can be used to convert ascii fbx to bin fbx that can be imported in blender.


There is a very serious issue that (resizeAllModule)

Describe the Bug

Steps to Reproduce

Modifying the Elements size can reveal this issue

Expected Behavior

I hope respected Nikku can solve when he has time。
It's easy to spot him
Environment

Host (Browser/Node version)
OS: [e.g. Windows 11]
Library version:
"bpmn-js-nyan": "^2.2.0",
"bpmn-js": "^17.9.2",
"diagram-js": "^14.9.0",

Very sorry you, I cannot see issue you hint at. Best, and sorry! :cactus:


Put election-date on Form, both to reassure voter and to avoid SD38 date problem.

closed by https://github.com/eAbsentee/eAbsentee/commit/6ce1ec3f791a664d4f363d8f1ecbe3965fec4b99


Make a list of helpful tools for regl

We should start collecting a list of modules to help out writing regl projects.  To get things started:

resl
glslify
headless-gl
regl-recorder
regl-stats-widget

glsl-quad

A tool/shader-generator to assist in setting up a flat 2D quad for image processing.

glsl-numerify

A tool/shader-generator to display cells with numeric color values from a texture (sometimes useful for debugging).

glsl-sat

A tool/shader-generator to compute the summed area table texture of an input texture (useful for some filtering and many other algorithms).

glsl-gaussian

A tool/shader-generator to compute the gaussian blur of an input texture, in constant time with respect to the kernel radius (though it is still just plain slow). A work in progress.

glsl-zoom

A tool/shader-generator to help show a zoom of a larger texture. Basically just adds a "zoom area" rectangle to the glsl-quad project, which the user can control via uniforms. Also provides much needed zoom region management (scaling, translation, clamping, bounding, keyboard => translation conversion etc.).

I started a list at https://github.com/mikolalysenko/awesome-regl

Anyways, with the creation of that repo, I consider this issue solved. Issue a PR to that repo if you want to add your stuff to that list.


RetryRepository does a generic support for all operations when retrying

Improving RetryRepository to perform 1 retry by default on any operation type.

2 approves, merging!


Customizing the RazorEngineHost used by Visual Studio's .cshtml editor

Title says it all.
How can this be done using ASP.NET Core? I've got my CSharpDesignTimeCodeVisitor, I've got AutoCompleteEditHandlers... I just don't know how to get the editor to pick them up.

/cc @ToddGrun
Adding Todd here because the only way to do this would be to do a Visual Studio Extension ofsome sort. He can add more context.

I've found the implementation of IRazorCodeGeneratorProvider in Microsoft.VisualStudio.Web.Editors.Razor.4_0.dll. The ShimRazorEditorParserImpl class (buried down a couple of calls) is hard-coded to use a type that derives from MvcRazorHost.
This used to be done with a web.config setting. Perhaps as the MSBuild tooling comes to fruition, MSBuild properties could be used to specify a type of RazorEngineHost to use for a certain pattern, with a fallback to the MvcRazorHost.
Something like this:
<ItemGroup>
    <RazorTemplate Include="./NonMvcTemplates/*.cshtml">
        <Host>My.Fully.Qualified.RazorEngineHost</Host>
    </RazorTemplate>
</ItemGroup>

We're going to do something like this someday, but not for preview 1.

Closing this since the functionality ask is abstractly covered in #854/#855.


Render Media Component

This pull request lays the ground work for rendering out canvases as individual <MediaItem/> in the <Media/> component.

It introduces a function getCanvasByCriteria() that we may want to treat as a hook. This filters out canvases that do not match a specified W3C annotation motivation ("painting", "supplementing"), or content resource type ("Image", "Sound", "Video").
Additionally, some work was completed to indicate to the end user visually which active media item is set.

Hey @adamjarling I'm not seeing a way to connect this to this issue https://github.com/nulib/repodev_planning_and_docs/issues/2222. Is there something we need to do in the github settings for this repo?

@mathewjordan Yea, I'm not seeing this either.  @davidschober Do we need to configure this repo somehow so it can see issues from repodev_planning_and_docs?

Ok, I just deleted and re-added react-media-player from our Workspace, and now we can see where to connect issues to PRs, and in general appears to be wired up.

Thanks @adamjarling . Looks good now.

So this is all good right?

On Sep 30, 2021, at 10:48 AM, Adam J. Arling @.***> wrote:
Ok, I just deleted and re-added react-media-player from our Workspace, and now we can see where to connect issues to PRs, and in general appears to be wired up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/nulib/react-media-player/pull/11*issuecomment-931445224__;Iw!!Dq0X2DkFhyF93HkjWTBQKhk!C-mKMMa4Q4OI2lZxoclshIJp5XOtCETCF3oSeeDskuZEak70eMmJ5nvTMZpTWc9AhuUv03975Q$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABEUVHTENWNPMDAHM66IQ53UESBGBANCNFSM5FA23P2Q__;!!Dq0X2DkFhyF93HkjWTBQKhk!C-mKMMa4Q4OI2lZxoclshIJp5XOtCETCF3oSeeDskuZEak70eMmJ5nvTMZpTWc9AhuVkqMq1xg$.


Can we detect the port automatically?

If we start a process, can we detect which port it binds to automatically?
"start-test server test"

Or by default "start-test" if using default "start" and "test" scripts

One possible option could be to get the port number from an environment variable.


Does not seem to reflect current version

[Enter feedback here]

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

ID: 8caeb04f-19a3-320d-2bfa-147c5377728e
Version Independent ID: d3785a20-eeaa-a3a0-5198-b6a4c8fd475b
Content: Set up drillthrough in Power BI reports - Power BI
Content Source: powerbi-docs/create-reports/desktop-drillthrough.md
Service: powerbi
Sub-service: pbi-reports-dashboards
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-drillthrough#set-up-the-drillthrough-target-page
The diagram does not reflect the current version of Power BI desktop

Thanks for your comment, @rwlpf. This issue has been assigned to the doc author for review.


test(core): implement feature provider and client test suites

This PR

add tests(client_test.dart, feature_provider_test.dart, evaluation_context_test.dart and hooks_test.dart)

Fixes #18

@brian-chebon looks  good to me - merging this in QA.


Why Cython code inside gpu_nms.cu ?

Hello @MrGF,
In your nms/gpu_nms.cu, it seems that you put the Cython code of gpu_nms.cpp in the end of gpu_nms.cu.
I have tried to put gpu_nms.cpp outside and de-comment the first line of gpu_nms.cpp :
#include "gpu_nms.hpp", an error appears when I tried  import gpu_nms as follows:
ImportError: dynamic module does not define module export function (PyInit_gpu_nms)
I think that's why you put Cython code inside nms/gpu_nms.cu.
However, could you please enlighten me why I obtain this error when I put Cython code separately ?
Thanks a lot !

Not replied for years, seems no more support on this project.


Add VictoriaMetrics support

What would you like to be added:
Add prometheus endpoint as url: https://github.com/lensapp/lens/issues/337

It has to be /select/0/prometheus/api/v1/query_range?... to work with Victoria Metrics
Why is this needed:
VictoriaMetrics has custom path for prometheus api
Environment you are Lens application on:
More dedtails: https://github.com/lensapp/lens/issues/337#issuecomment-1173153850

Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...]
Desktop OS:

The temporary workaround is to run VictoriaMetrics behind an http proxy such as nginx or vmauth,  which would route incoming requests from /api/v1/* to /select/0/prometheus/api/v1/* accprding to url paths in VictoriaMetrics cluster

I was trying to look into the code to make OpenLens to work with my VM cluster, but out of a sudden it works out of the box O_O
@sergeyshaykhullin can you give a try to the recent version? I have OpenLens: 6.0.0-latest.1659305606594 to be exact and:

I will try, i am using Helm/Helm 14 setup

little hack, how to connect to external cluster VM.
i use vmauth on my cluster, so i need nginx basic auth.
So I create simple deployment and service nginx.
default.conf
server {
  listen 80;

  set_real_ip_from <IP_ADDRESS>/16;

  location / {
        proxy_ssl_server_name   on;
        proxy_ssl_name          $proxy_host;
        proxy_set_header        Host  vmselect.domain.com;
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header        X-Forwarded-Proto $scheme;
        proxy_pass              https://vmselect.domain.com/select/0/prometheus/;
        proxy_read_timeout      90;
        proxy_set_header        Authorization "Basic bG9naW46UGFzc3dvcmQK";
       # proxy_redirect          https://vmagent.domain.com/ https://vmselect.domain.com/select/0/prometheus/;
  }

  location /healthz {
        access_log off;
        return 200;
  }

}

deploy.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: CI_PROJECT_NAME
  labels:
    app: CI_PROJECT_NAME
spec:
  selector:
    matchLabels:
      app: CI_PROJECT_NAME
  strategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: CI_PROJECT_NAME
    spec:
      containers:
      - name: CI_PROJECT_NAME
        image: CI_IMAGE_REPOSITORY
        imagePullPolicy: IfNotPresent
        readinessProbe:
          httpGet:
            path: /healthz
            port: 80
          initialDelaySeconds: 15
          periodSeconds: 10
          timeoutSeconds: 2
          successThreshold: 2
      imagePullSecrets:
      - name: CI_GITLAB_REGISTRY
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: CI_PROJECT_NAME
  name: CI_PROJECT_NAME
spec:
  ports:
  - name: CI_PROJECT_NAME
    port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app: CI_PROJECT_NAME
  sessionAffinity: None
  type: ClusterIP

bG9naW46UGFzc3dvcmQK - base64 (echo -n "login:Password" | base64)

then we can connect with option Helm and for example prometheus/vmselect-nginx-proxy:80

@akaillidan you saved me a few hours. Thanks a lot!

Just adding my 2c here, when using VMsingle, you just need to specify the following:

monitoring/vmsingle-victoria-metrics-single-server:8428
<vmsingle_namespace>/<vmsingle_service>:8428

None of this works with VM cluster

@vainkop , you can use the following vmauth config for proxying /api/v1/* requests to tenant 0 at vmselect according to url format in VictoriaMetrics cluster:
unauthorized_user:
  url_map:
  - src_paths: ["/api/v1/.+]
    url_prefix:
    - http://vmselect-1:8481/select/0/prometheus/
    - http://vmselect-2:8481/select/0/prometheus/

See more details here.

Try to use vm/vm-select:8481//select/0/prometheus/ it works for me

Try to use vm/vm-select:8481//select/0/prometheus/ it works for me

The // in your vm/vm-select:8481//select/0/prometheus/ is a typo?
Are you using VM cluster, not VM single?

@vainkop , you can use the following vmauth config for proxying /api/v1/* requests to tenant 0 at vmselect according to url format in VictoriaMetrics cluster:
unauthorized_user:
  url_map:
  - src_paths: ["/api/v1/.+]
    url_prefix:
    - http://vmselect-1:8481/select/0/prometheus/
    - http://vmselect-2:8481/select/0/prometheus/

See more details here.

I will try that. It's weird that smth like that is needed while it works for VM single without it.
Also why do I need to specify 2 vmselect if I have a single k8s service which has 2 endpoints?
Btw I'm using the following helm chart (but for v1.97):
https://github.com/VictoriaMetrics/helm-charts/blob/victoria-metrics-k8s-stack-0.18.12/charts/victoria-metrics-k8s-stack/values.yaml
vmcluster:
  enabled: true
  annotations: {}

  spec:
    retentionPeriod: "14"
    replicationFactor: 2

    vmstorage:
      image:
        tag: v1.97.1-cluster
      replicaCount: 2
      storageDataPath: "/vm-data"

      extraArgs:
        dedup.minScrapeInterval: "10s"

      storage:
        volumeClaimTemplate:
          spec:
            resources:
              requests:
                storage: 200Gi

      resources:
        requests:
          cpu: "2"
          memory: "2Gi"
        limits:
          cpu: "4"
          memory: "4Gi"

    vmselect:
      image:
        tag: v1.97.1-cluster

      replicaCount: 2
      cacheMountPath: "/select-cache"

      extraArgs:
        dedup.minScrapeInterval: "10s"

      storage:
        volumeClaimTemplate:
          spec:
            resources:
              requests:
                storage: 10Gi

      resources:
        requests:
          cpu: "1"
          memory: "500Mi"
        limits:
          cpu: "1"
          memory: "1Gi"

    vminsert:
      image:
        tag: v1.97.1-cluster
      replicaCount: 2

      extraArgs:
        maxLabelsPerTimeseries: "50"

      resources:
        requests:
          cpu: "1"
          memory: "1Gi"
        limits:
          cpu: "2"
          memory: "2Gi"

It seems that I need to use a separate chart to install VM auth though, while it would be logical to be able to enable it in this one...

@vainkop , you can use the following vmauth config for proxying /api/v1/* requests to tenant 0 at vmselect according to url format in VictoriaMetrics cluster:
unauthorized_user:
  url_map:
  - src_paths: ["/api/v1/.+]
    url_prefix:
    - http://vmselect-1:8481/select/0/prometheus/
    - http://vmselect-2:8481/select/0/prometheus/

See more details here.

That helped, thank you @valyala !
Specificly I've installed VM auth using this chart 0.4.7
+
config:
  unauthorized_user:
    url_map:
    - src_paths:
      - "/api/v1/.+"
      url_prefix:
      - "http://vmselect-vm:8481/select/0/prometheus/"

& in Lens:
Prometheus Operator
&
monitoring/vm-auth:8427

Also I've upgrade VictoriaMetrics cluster to 1.99

Try to use vm/vm-select:8481//select/0/prometheus/ it works for me

The // in your vm/vm-select:8481//select/0/prometheus/ is a typo? Are you using VM cluster, not VM single?

No it is not a typo .. it is a trick ;) ... I'm using VM cluster and it works fine .. the double '/' act as an escape allowing lens to make the correct query

I had tried using vmsingle but no request comes from the Lens even if set the service address to default/vmsingle-victoria-metrics-single-server:8428/prometheus. I am using Lens: 2024.7.161041-latest.
The latest version omited this feature?

Try to use vm/vm-select:8481//select/0/prometheus/ it works for me

The // in your vm/vm-select:8481//select/0/prometheus/ is a typo? Are you using VM cluster, not VM single?

No it is not a typo .. it is a trick ;) ... I'm using VM cluster and it works fine .. the double '/' act as an escape allowing lens to make the correct query

Thank you very much! It helps

+100
just please add under pop-down the type Victoria Metrics and a new field URL

+100
just please add in settings under Metrics
Metric source - Victoria Metrics
and new field URL
OR
Metric source - Prometheus
Prometheus - Victoria Metrics
and new field URL


Pre-flight vallidation: Validate tinkerbell stack connection

Issue #, if available:
Description of changes:
Added pre-flight validation for tinkerbell stack connection.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Bulr everything (even on the objects not moving with respect to camera)

a have a car following camera and car is getting blurred .
in a fps game gun is getting blurred.
in unreal engine it does not work like that.
it can be fixed by rendering objects separately but that is not ideal in most of the cases..

This is noted in the limitations/known issues section of the README: https://github.com/Bauxitedev/godot-motion-blur#limitationsknown-issues
There is no way to fix this until Godot exposes access to motion vectors in shaders.

Is there a fixed port for godot ?


New version: StrideArraysCore v0.1.13

Registering package: StrideArraysCore
Repository: https://github.com/JuliaSIMD/StrideArraysCore.jl
Created by: @chriselrod
Version: v0.1.13
Commit: b8ca93a5051d58ba7483e2f7872ab7544f3b7dc0
Reviewed by: @chriselrod
Reference: https://github.com/JuliaSIMD/StrideArraysCore.jl/commit/b8ca93a5051d58ba7483e2f7872ab7544f3b7dc0#commitcomment-51768277

block


Autocomplete for CV2 and numpy stopped working after update to Vscode or Pylance

Environment data

Language Server version: 2023.3.40
OS and version: Windows 10 22H2
Python version (& distribution if applicable, e.g. Anaconda): 3.10.8
Pylance version - 54,314,145 (2023.3.40)
OpenCV version - <IP_ADDRESS>
Using python virtual environments and interpreter set to a virtul env.

Code Snippet

Repro Steps

import cv and numpy as np. Typing cv2. and trying to do autocomplete does not show any available functions.

Expected behavior
Show a list of Cv2 and numpy functions  available.
Actual behavior
Says no functions found.
This used to work before my vscode updated itself to the march release.
Troubleshooting
Tried adding "python.autoComplete.extraPaths" to setting.json as suggested on stackoverflow
Tried reinstalling OpenCV using terminal
Edit: Similar behaviour to this - https://github.com/microsoft/pylance-release/issues/4072

Please reopen if this persists. Also, add the information that Heejae requested.


Add move constructors/assignment for Vector and HypreParVector [hypreparvec-move-dev]

This PR adds move constructors and assignment operators to Vector and HypreParVector to avoid unnecessary copies and to allow for defaulted move constructors/assignment of types that are composed of Vector or HypreParVector

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#2639
@joshessman-llnl
@pazner
@pazner + @mlstowell
11/05/21
⌛due 11/19/21
⌛due 11/26/21

I also noticed that the test added in https://github.com/mfem/mfem/pull/2611 was not actually being run and also may have needed some changes to the partitioning logic.

I also noticed that the test added in #2611 was not actually being run and also may have needed some changes to the partitioning logic.

I think you are right -- it looks like it was not added to the CMakeLists.txt.

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

I also noticed that the test added in #2611 was not actually being run and also may have needed some changes to the partitioning logic.

I think you are right -- it looks like it was not added to the CMakeLists.txt.

My bad! Thanks for fixing it.

Do you mind adding an optional parameter to the ctor: https://github.com/mfem/mfem/blob/12cc340afb472a95e941513f611aedf0e5a8803a/linalg/hypre.hpp#L144-L145 like this:
   /// Creates a deep copy of @a y, optionally skipping the copy of the data
   HypreParVector(const HypreParVector &y, bool copy_data = true);

Another option that might be worth considering is instead of adding a boolean flag to the constructor (whose purpose might not be obvious at the call-site) would be to define
HypreParVector HypreParVector::CreateCompatibleVector() const

which would create and return a compatible vector, and the use could then take advantage of the move constructor/assignment operator.

I think it is better for HypreParVector::CreateCompatibleVector to be in addition, not instead of the proposed optional parameter. Clarity at the call site is easy to achieve:
   const bool copy_data = false;
   HypreParVector tmp(x, copy_data);

Also, the implementation of HypreParVector::CreateCompatibleVector is one line instead of needing to copy-paste the ctor and delete the line that copies the data.

Do you mind adding an optional parameter to the ctor:
https://github.com/mfem/mfem/blob/12cc340afb472a95e941513f611aedf0e5a8803a/linalg/hypre.hpp#L144-L145
like this:
   /// Creates a deep copy of @a y, optionally skipping the copy of the data
   HypreParVector(const HypreParVector &y, bool copy_data = true);

I agree with @pazner that a named function is preferable to this implementation. The comment "Creates a deep copy of @a y, optionally skipping the copy of the data" doesn't make sense to me, as the entire point of a deep copy is to not skip copying the data.
The code snippet
   const bool copy_data = false;
   HypreParVector tmp(x, copy_data);

is only as clear as the name of the temporary, in which case it's just as easy for someone to accidentally write
   const bool copy_partitioning = false;
   HypreParVector tmp(x, copy_partitioning);

which introduces a much more dangerous bug that will likely go unnoticed by the compiler and developer.
A named function like HypreParVector::CreateCompatibleVector can't be accidentally misunderstood in the same way (although I think the word "Compatible" is ambiguous). Another option is to encapsulate the partitioning of a HypreParVector in an object, and make a separate constructor that takes a partitioning, e.g.
mfem::HypreParVector foo = ... ;

// copy ctor makes a deep copy of foo, semantically consistent with mfem::Vector
mfem::HypreParVector bar(foo) ;

// HypreParVector(mfem::Partitioning p) makes a new HypreParVector with the specified partitioning
mfem::HypreParVector baz(foo.partitioning);

Okay, @joshessman-llnl's solution in the last commit looks good.
Since you both don't like it, I don't insist on adding the optional bool copy_data = true parameter to the copy ctor.

@mlstowell, could you take a look?

Merged in next for testing...


Hardened get_program_id axis by making it an enum attribute

Also catch out-of-bounds indices at constructio and throw a proper error in the frontend.
Finally, let's make the IR a bit prettier:
%0 = tt.get_program_id {axis = 0 : i32} : i32
becomes:
%0 = tt.get_program_id x : i32
Fixes #1718

I believe the test failure was a flake, #1725


Fix #232: gapi.plusone undefined

explicitly check for the google plusone api being present (there already may be other google apis around)

Added to 2.0.0


Add more MSTest properties

[ ] UseWinUI to set to true when testing WinUI UI components. (MSTest)
[ ] EnableMSTestV2CopyResources (default value is true) that allows to copy resources dll to the output (MSTest)
[ ] xUnit is finishing its onboarding so there will be an equivalent property [to EnableNUnitRunner]. I have double checked and xUnit v3+ will be using UseMicrosoftTestingPlatformRunner
[ ] I would also add DisableTestingPlatformServerCapability that removes the project capability used by VS and VS Code Test Explorers to know which platform protocol to use (VSTest or Microsoft.Testing.Platform). Note that at the moment, the Microsoft.Testing.Platform is not yet available publicly but will be soon.
[ ] GenerateTestingPlatformConfigurationFile is only available when IsTestingPlatformApplication is true and is used to allow the copy and rename of the config file in the output folder.
[ ] I am wondering if it would make sense to group the properties by platform, VSTest and Microsoft.Testing.Platform, to make it easy to understand which properties are available in which mode.

Originally posted by @Evangelink in https://github.com/dotnet/docs/pull/42404#discussion_r1750140364

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

ID: cb4428fc-215c-78e1-5ff0-fe73f7a08260
Version Independent ID: 6741b1de-38a4-fbb1-d79d-acc47d549a2d
Content: MSBuild properties for Microsoft.NET.Sdk - .NET
Content Source: docs/core/project-sdk/msbuild-props.md
Service: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

@Youssef1313 Any interest in taking this one?


Add --hard-replay

Passing --hard-replay into nodeos will backup the original blocks folder and try to recover as much of the block_log as possible.
The option --hard-replay is to be used if a crash caused the tail end of the block_log to become corrupted and --replay does not work. Node operators should first try to --replay and only resort to --hard-replay if --replay does not work.

Resolved by PR #3259.


body scroll occurs while scrolling react-perfect-scrollbar block (cursor is over react-perfect-scrollbar block)

you can see it on demo page
is there any way to fix this behaviour?
https://yadi.sk/i/_5lEor5R8jha4Q
5 mb video of demo page

Have you tried something like:
 <PerfectScrollbar options={ { wheelPropagation: false } }> </PerfectScrollbar>

I had a similar issue with a Sidebar, wheelPropagation set to false correctly stops body from moving

This does not work on touch device on chrome for me. Can someone verify?


Debit cards

Bitpay (cancels accounts without notice)
Shift card (funded by Coinbase wallets does not work overseas. US only)
Coinsbank.
Wirex.
Xapo.
Cryptopay.me
Shakepay
Bitwala
Advanced Cash

Pull requests welcome!


Show type checker info on UI

@100gle How did you get the Python svg logo? I assume you used https://icon-sets.iconify.design/logos/python/ ?

Yes, I use the Python logo from iconify


Force Channel ID instead of Nickname on Youtube

What is the purpose of your issue?

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

Description of your issue, suggested solution and other information
I am trying to download multiple channels from youtube with the channel id in the filename by using the uploader_id in the name. However some channels have nicknames and it is defaulting to that. Is there a way to force the UCxxxxxxxxxxxxxxxx format in the name. I have googled and looked over the documentation and cannot find anything.

can you point me in the right direction of the duplicate? I can't find it anywhere


"parse_requirements() missing 1 required keyword argument",

hi.
root@AR:~/widely# pip install -r requirements.txt
root@AR:~/widely# ls
build_docs  LICENSE.md MANIFEST.in README.md	README.rst  requirements.txt  setup.py	widely
root@AR:~/widely# python setup.py install
Traceback (most recent call last):
File "setup.py", line 14, in
requirements = [str(ir.req) for ir in install_requirements]
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py", line 79, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'
root@AR:~/widely#
how to fix it?

Thanks! This looks like an API change in parse_requirements since I last took a look at this. This looks similar to https://github.com/brettcannon/caniusepython3/issues/72. Want to make an attempt at this? It looks like it would be the similar to the fix from that issue: https://github.com/Clever/kayvee-python/commit/ebec3ff2fb464d6e241ea36aa732d2041272c1b2
I can bump version and release it if you'd like.

hi.
i'm a novice.pls release a fixed version.
tks

No problem with being a novice! I think this is within your abilities. I look forward to reviewing a PR.

hi.
i made some modifications to setup.py,but it doesn't work:
root@AR:~/widely# cat setup.py
import os
from setuptools import setup, find_packages
from pip.req import parse_requirements, PipSession
basedir = os.path.dirname(file)
requirements_path = os.path.join(basedir, 'requirements.txt')
parse_requirements() returns generator of pip.req.InstallRequirement objects
install_requirements = parse_requirements(requirements_path), session=PipSession()
Convert to setup's list of strings format:
requirements = [str(ir.req) for ir in install_requirements]
setup(
name='widely',
version='0.15',
description='Static Site as a Service using AWS S3',
long_description=open('README.rst').read(),
author='Kyle Marek-Spartz and Michael Burling',
<EMAIL_ADDRESS>py_modules=['widely'],
url='http://www.celador.mn/widely',
include_package_data=True,
packages=find_packages(exclude=['tests*']),
install_requires=requirements,
entry_points={
'console_scripts': [
'widely = widely:main',
],
},
test_suite='nose.collector',
classifiers=["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2 :: Only",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Utilities"],
license='MIT'
)
root@AR:~/widely#
root@AR:~/widely# python setup.py install
File "setup.py", line 11
install_requirements = parse_requirements(requirements_path), session=PipSession()
SyntaxError: can't assign to function call
root@AR:~/widely#

so can u just update setup.py file?

Version 0.16 has been uploaded to PyPI.

hi.
this time i can run "pip install widely" successfully.but i don't have a amazon aws.
is it possible to use widely in a common linux vps?
how to use widely in a common linux vps?

No, widely is not for deploying to a VPS.


Create a file structure if 'new' is passed as the first argument of the command

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Currently nothing happens when you pass in the new argument
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).
N/A
What is the expected behavior?
A new react app and structure should be created if I pass in new as the first argument
I.E if i type:
$ raise new awesome-app
Then I should get a bootstrapped react application
Which versions of react-raise, and which browser / OS are affected by this issue? Did this work in previous versions of  react-raise?
N/A
NB: You can drop a comment below for more clarification

Issue has been fixed


Navication icons layout and admin

Will replace the bg image in the admin dashboard card using a single svg file


feat: dropdown menu dialog item

Description
While building a project of mine and migrating to your components, I encountered an issue where I needed to have a dropdown where several dropdown items open a different dialog. The workaround mentioned in the notes section of the documentation works for simple cases, but managing the state of a specific dialog programmatically becomes challenging.
Use Case
RadixUI's documentation on the Dialog component has a good example of such a use case, where the dialog needs to close after an asynchronous form submission, example.
Changes Made
I have created a new component that combines the Dropdown and Dialog components to address this issue. Since this component is used within a dropdown menu, I added it to @/components/ui/dropdown-menu.tsx.
Also the example I've addded is rather simple, so let me know if I have to tweak it to show a more "complex" example like the asynchronous form submission thing I mentioned earlier.

Some additional notes now that I thought about it. Since the forwardRef generic types for the DropdownMenuDialogItem are the same as DropdownMenuItem it might make sense to make them types and reuse them:
type DropdownMenuItemElementRef = React.ElementRef<
    typeof DropdownMenuPrimitive.Item
>;
type DropdownMenuItemPropsWithoutRef = React.ComponentPropsWithoutRef<
    typeof DropdownMenuPrimitive.Item
>;

Besides that I think some of the additional props in DropdownMenuDialogItem could be refactored. Children props is redundant, and i think the onSelect type instead of being () => void | undefined should probably be ((event: Event) => void) | undefined which is the actual onSelect type of the DropdownMenuItem component.
So finally the result might look like this:
const DropdownMenuDialogItem = React.forwardRef<
    DropdownMenuItemElementRef,
    DropdownMenuItemPropsWithoutRef & {
        trigger: React.ReactNode;
        open?: boolean;
        onOpenChange?: DialogProps['onOpenChange'];
        onSelect?: DropdownMenuPrimitive.DropdownMenuItemProps['onSelect'];
    }
>(({ trigger, children, open, onOpenChange, onSelect, ...props }, ref) => {
    return (
        <Dialog open={open} onOpenChange={onOpenChange}>
            <DialogTrigger asChild>
                <DropdownMenuItem
                    ref={ref}
                    onSelect={(event) => {
                        event.preventDefault();
                        onSelect && onSelect(event);
                    }}
                    {...props}
                >
                    {trigger}
                </DropdownMenuItem>
            </DialogTrigger>
            {children}
        </Dialog>
    );
});
DropdownMenuDialogItem.displayName = 'DropdownMenuDialogItem';

@ricci2511 do you think this should be part of the primitive? Could this be better as an example? Thank you.