about dtw.py

The purpose of dtw.py is to generate a contribution matrix, but how to execute the dtw.py file? Can you give an example to execute the dtw.py file through different data sets? Do you need other codes?

Everything is explained in the README under run STGM or your custom version, you provide dtw.py with the path to the signal data, and it will construct the similarity matrix and no you do not need other codes. You can also train without pre-generating the similarity matrix the train.py will auto-detect that the similarity matrix is not provided and will be generated on the fly while training.

Hello @Mouradost, I use the command python dtw.py "C:\Users\yzu_im_4070\Desktop\STGM\datasets\pemsbay\pems-bay.h5". When I run run.py to train it, it just shows the following script, I think my dtw doesn't work.
Is DTW used for the circled part in the image below?

---script---
C:\Users\yzu_im_4070\Desktop\STGM\src>python run.py trainer.epochs=100 trainer.batch_size=128 dataset=pemsbay
[2023-08-07 19:13:09,936][Run][INFO] - Logs will be saved at C:\Users\yzu_im_4070\Desktop\STGM\src\logs\PEMS-BAY\STGM\2023-08-07\19-13-09
[2023-08-07 19:13:09,956][Run][INFO] - Using cuda device -> NVIDIA GeForce RTX 4070 Ti
[2023-08-07 19:13:10,004][numexpr.utils][INFO] - Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
[2023-08-07 19:13:10,004][numexpr.utils][INFO] - NumExpr defaulting to 8 threads.
[2023-08-07 19:13:10,496][Dataset][INFO] - Dataset PEMSBAY (train) length: 36457
[2023-08-07 19:13:10,497][Dataset][WARNING] - No pre-calculated contribution matrix was provided ! You will experience Heavy CPU load and Slow data loading...
[2023-08-07 19:13:10,784][Dataset][INFO] - Dataset PEMSBAY (val) length: 5187
[2023-08-07 19:13:10,785][Dataset][WARNING] - No pre-calculated contribution matrix was provided ! You will experience Heavy CPU load and Slow data loading...
[2023-08-07 19:13:10,785][Run][INFO] - Dataset PEMSBAY mean: 62.619574 std: 9.594371
Epoch 0/100 train:   0%|                                                                       | 0/100 [00:00<?, ?it/s]

@loading2022 Yes it takes the metr-la.h5 and performs the DTW algorithm to create the similarity matrix.
I don't see any problem with your run, reading your log it seems that the train successfully started. If you are worried about the [2023-08-07 19:13:10,785][Dataset][WARNING] - No pre-calculated contribution matrix was provided ! You will experience Heavy CPU load and Slow data loading... this is normal, it's because you didn't calculate the similarity matrix beforehand, so the training will calculate the similarity while loading the data in the VRAM.

@loading2022 Yes it takes the metr-la.h5 and performs the DTW algorithm to create the similarity matrix.
I don't see any problem with your run, reading your log it seems that the train successfully started. If you are worried about the [2023-08-07 19:13:10,785][Dataset][WARNING] - No pre-calculated contribution matrix was provided ! You will experience Heavy CPU load and Slow data loading... this is normal, it's because you didn't calculate the similarity matrix beforehand, so the training will calculate the similarity while loading the data in the VRAM.

I run python dtw.py first, and then run python run py. Then, it appears that No pre-calculated contribution matrix was provided!

Because you didn't provide it to the dataset for that you need to rewrite the class under src/dataset/[YOUR-DATASET-NAME.py] and load it to the internal variable self.sim

I saw in dtw.py line 144 written as "The saved DTW numpy file name. [str] (default: dtw)", will there be a file after running it?

I run the dtw.py file directly and follow the path of the h5 file. I can see that the dtw.npy file can be generated. I didn’t rewrite it. Is this correct?

Is it right to do this? First run the dtw file that generates 3 data, and then run run.py. I see that the dtw file seems to be uniformly named dtw.npy. How should I rename them?

The dtw.py generate a numpy .npy file which represents the contribution of each node over the other during the each period (the period can be selected to match each time window or any arbitrary temporal size of window) this file can than be used during training using the internal variable of the dataset class self.sim this is only a helper function that speed up training considerably. However, if not provided that doesn't affect the anything except the time it takes to finish training, since the contribution matrix is calculated on the fly anyway if not provided.

Thanks for your response!

For example, I need to add self.sim in [datasets].py
# ML
import pandas as pd

# Own
from datasets.base import BaseDataset

class Dataset(BaseDataset):
    def load_data(self):
        self._name = "PEMSBAY"
        self.adj = pd.read_csv(
            self.data_folder_path / "PEMSBAY" / "W_pemsbay.csv"
        ).values
        data = pd.read_hdf(self.data_folder_path / "PEMSBAY" / "pems-bay.h5")
        self.timestamps = data.index
        self.timestamps.freq = self.timestamps.inferred_freq
        self.time_index = self.time_to_idx(self.timestamps, freq="5min")
        self.data = data.values
        self.data_mean, self.data_std = self.data.mean(), self.data.std()
        self.data_min, self.data_max = self.data.min(), self.data.max()
        self.sim=np.load('dtw.npy')

Is it correct for adding similarity matrix?

yes

thank you for your reply

Hello, I have another question to ask. If I don't run dtw.py and directly run run.py, will it generate dtw.npy automatically? Also, which segment of code in run.py is related to generating the DTW?

Yes it will, but will not save the DTW matrix into a file such as dtw.npy and the related code for generating the DTW on the fly can be found here

I got it. Thank you!

With your help, I successfully generated those two npy files, but regarding PEMSD7M, I configured a csv file and prompted an error. May I ask which file you should choose? I see that the code requirement must be an h5 file

@OvOYu Indeed the DTW code shared in this repos only supports h5 files. I will provide an updat in the future to accept both csv and h5 files but not in the near future given that I'm a little bit busy with my current work. Meanwhile, you are free to contribute to this repos if you want to implement this feature yourself I will accept PRs 😉.

Thank you very much for your reply and wish you success in your work

Thanks hope you will succeed as well, and good luck with your research 😉😊

D:\python\anaconda\Anaconda\envs\310p\python.exe C:/Users/admin/Documents/STGM-main/src/run.py trainer.epochs=100 trainer.batch_size=128 dataset=metrla device=cuda:0 model.nb_blocks=1 model=stgm log.logger=wandb
wandb: Currently logged in as: ovoyu (ovoshuai). Use wandb login --relogin to force relogin
wandb: Tracking run with wandb version 0.15.8
wandb: Run data is saved locally in C:\Users\admin\Documents\STGM-main\src\logs\METR-LA\STGM\2023-08-09\09-32-05\wandb\run-20230809_093207-ua7fb85o
wandb: Run wandb offline to turn off syncing.
wandb: Syncing run STGM
wandb:  View project at https://wandb.ai/ovoshuai/TrafficForcastingSTGM
wandb:  View run at https://wandb.ai/ovoshuai/TrafficForcastingSTGM/runs/ua7fb85o
[2023-08-09 09:32:19,239][Run][INFO] - Logs will be saved at C:\Users\admin\Documents\STGM-main\src\logs\METR-LA\STGM\2023-08-09\09-32-05
[2023-08-09 09:32:19,278][Run][INFO] - Using cuda:0 device -> NVIDIA GeForce RTX 3090
[2023-08-09 09:32:19,470][numexpr.utils][INFO] - Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
[2023-08-09 09:32:19,470][numexpr.utils][INFO] - NumExpr defaulting to 8 threads.
[2023-08-09 09:32:20,207][Dataset][INFO] - Dataset METRLA (train) length: 23966
[2023-08-09 09:32:20,489][Dataset][INFO] - Dataset METRLA (val) length: 3403
[2023-08-09 09:32:20,490][Run][INFO] - Dataset METRLA mean: 53.719021 std: 20.261431
Epoch 100/100 train: 100%|██████████| 100/100 [55:32<00:00, 33.32s/it, e_loss=0.828, e_loss_val=0.604, loss=25.4, loss_val=21.7]
D:\python\anaconda\Anaconda\envs\310p\lib\site-packages\plotly\matplotlylib\renderer.py:611: UserWarning:
I found a path object that I don't think is part of a bar chart. Ignoring.
[2023-08-09 10:27:54,029][STGM][INFO] - Model succesfully saved
[2023-08-09 10:27:54,248][Dataset][INFO] - Dataset METRLA (test) length: 6831
Generating predictions: 100%|██████████| 214/214 [00:04<00:00, 43.38it/s]
[2023-08-09 10:27:59,967][root][INFO] -
================================================================================
Mean Error Real
    MSE                 RMSE                MAE                 MAPE

   248.22              15.75               10.53               32.09%

================================================================================
                           By Step Error Real

 Steps            MSE             RMSE            MAE             MAPE

   1             264.76          16.27            9.37           31.89%
   2             240.49          15.51           10.36           31.80%
   3             270.05          16.43           12.88           33.85%
   4             241.18          15.53            9.64           31.25%
   5             250.06          15.81           11.65           32.78%
   6             254.33          15.95            9.37           31.65%
   7             245.35          15.66           10.77           32.29%
   8             242.22          15.56           10.40           31.92%
   9             238.75          15.45           10.26           31.66%
   10            246.58          15.70           11.35           32.50%
   11            241.50          15.54           10.38           31.88%
   12            243.39          15.60            9.89           31.60%

================================================================================
wandb: Waiting for W&B process to finish... (success).
wandb:  View run STGM at: https://wandb.ai/ovoshuai/TrafficForcastingSTGM/runs/ua7fb85o
wandb: Synced 6 W&B file(s), 1 media file(s), 0 artifact file(s) and 0 other file(s)
wandb: Find logs at: .\wandb\run-20230809_093207-ua7fb85o\logs
Process finished with exit code 0
Hello, this is my training log on metrla. I observed that the error is much worse than what you reported in the experiment. Please tell me how to solve this situation, thank you

hi, read this part of the README.
here are some solutions that might help:

Try to follow the hyper-parameters in the papers.
The estimator is sometimes unstable which might influence the training of the two models, first train STGM without the estimator if the error is similar to the papers, include the estimator and freeze STGM.
Train both models separately, then together for few extra steps.
Training for only 5 or 10 epoch and observe if the error is reducing correctly (rapide reduction in the few first steps) and continue only if it's the case

thanks， good luck！

@OvOYu There was a bug in the prediction part. Now it's fixed. Update your code with the new push code.
If you still have performance issues, let me know.


Unclear on what a "used" package or module means

This may not really qualify as a bug exactly, I'm more just confused as to what npm-check is defining as a "used" package/module.
I did a fresh npm install in an empty directory using the package.json below. So at this point I've have written absolutely no code whatsoever.
  "name": "Test",
  "version": "1.0.0",
  "main": "gulpfile.js",
  "scripts": {
    "start": "gulp",
    "styles": "gulp styles",
    "scripts": "gulp scripts"
  },
  "author": "Chris",
  "license": "ISC",
  "devDependencies": {
    "babel-core": "^6.26.0",
    "babel-preset-env": "^1.6.1",
    "browser-sync": "^2.23.6",
    "gulp": "^3.9.1",
    "gulp-autoprefixer": "^5.0.0",
    "gulp-babel": "^7.0.1",
    "gulp-concat": "^2.6.1",
    "gulp-connect": "^5.5.0",
    "gulp-if": "^2.0.2",
    "gulp-imagemin": "^4.1.0",
    "gulp-rename": "^1.2.2",
    "gulp-sass": "^3.1.0",
    "gulp-sourcemaps": "^2.6.4",
    "gulp-uglify": "^3.0.0",
    "npm-check": "^5.6.0"
  },
  "description": "",
  "dependencies": {
    "npm": "^5.7.1",
    "foundation-sites": "~6.4.1",
    "jquery": ">=3.0.0",
    "what-input": "^4.1.3",
    "motion-ui": "~1.2.2"
  }
}

When I run npm-check, the following packages are listed as unused:

npm
foundation-sites
jquery
what-input
motion-ui
browser-sync
npm-check

I know there are packages that depend on other packages to be installed, like babel-preset-env likely needs babel-core to be installed to work. However, I would think most of the gulp packages would show up as unused.
For instance, the gulp-sass referenced in my package.json is not being used anywhere but is not listed as unused. The same goes for the rest of the gulp packages like gulp-rename, gulp-uglify, gulp-sourcemaps, gulp-if, etc.
If I do a search of my node_modules folder, I can see that there are references to these packages in other packages. For instance if I do a search for 'gulp-sass', I can see that it is being required by another installed package called 'bs-templates', which is a browser-sync related package. But 'bs-templates' is referring to it's own uninstalled version of 'gulp-sass' from it's package.json file.
I may very well be missing something here but ideally npm-check would only check for module references in my own code or references to packages that are true dependencies like how babel-preset-env needs babel-core to work.

So at this point I've have written absolutely no code whatsoever.

Since you haven't written any code, all your dependencies should show up as unused. But because it can be very hard to know in some cases, we have a list of ignored packages:
https://github.com/dylang/npm-check/blob/0288d641eb171b99df491ca12e0aaa641a0bc5a0/lib/in/get-unused-packages.js#L44-L56
So after these packages have been ignored, the rest of your modules show up.

If I do a search of my node_modules folder, I can see that there are references to these packages in other packages.

npm-check only looks at your code, not code in node_modules/

At least documenting that there is such an ignore list would be very helpful since the default behavior of npm-check in a gulp-heavy project can be very confusing when looking for unused modules.

Yes, that would be great, would you like to make a PR? 🙌


Search backports 3.11

Scope & Purpose
Backport this https://github.com/arangodb/arangodb/pull/19173
And update iresearch to corresponding 1.3 branch (it contains other bug-fixes)

[x] :hankey: Bugfix
[ ] :pizza: New feature
[x] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.11: (Please link PR)
[ ] Backport for 3.10: (Please link PR)
[ ] Backport for 3.9: (Please link PR)

Related Information

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

Tests already passed!
Changelog entry:

[SEARCH-480] Speedup ArangoSearch recovery
[SEARCH-476] Fix bug in fst builder
[BTS-417] Fix skip-list seek for WAND

https://github.com/arangodb/arangodb/pull/19197/commits/700c59b8bdfc8b3da756916a2c32d29014a9740d
Only branch update


No mutants found. Mutation score: infinitely high error

I have a swift packet with UIKit import. Unfortunately there is no way to build it using swift build. That's why tried 3 different ways to use mull-xctests.

I generate a project from a SPM with swift package generate-xcodeproj. Then I build it with xcodebuild build-for-testin -project PSBCore.xcodeproj -scheme PSBCore-Package -destination "platform=iOS Simulator,name=iPhone 11 Pro" OTHER_SWIFT_FLAGS="\$(inherited) -embed-bitcode" OTHER_CFLAGS="\$(inherited) -fembed-bitcode" LD="$(which mull-ld)" OTHER_LDFLAGS="\$(inherited) -Xmull --linker=clang -Xmull --linker-flavor=clang". It succeed.
Then when I run mull-xctestrun -Xxcodebuild -destination -Xxcodebuild "platform=iOS Simulator,name=iPhone 11 Pro" --test-target PSBCoreTests /Users/cyrilmakankov/Library/Developer/Xcode/DerivedData/PSBCore-btiytljcqmsisacjtlzuldouejsz/Build/Products/PSBCore-Package_iphonesimulator15.0-x86_64.xctestrun and get
[info] No mutants found. Mutation score: infinitely high
I even tried to test the project if the command similar to above, but if test instead of building-for-testing. After that I tried mull-xctest /path/to/Library/Developer/Xcode/DerivedData/PSBCore-btiytljcqmsisacjtlzuldouejsz/Build/Products/Debug-iphonesimulator/PSBCoreTests.xctest. It also gives me following:

[info] Warm up run (threads: 1)
       [################################] 1/1. Finished in 45ms
[info] Baseline run (threads: 1)
       [################################] 1/1. Finished in 41ms
[info] No mutants found. Mutation score: infinitely high

I've also tried to build a SPM with the command from the 1st, but without generating a Project file. This gives me an error:

x86_64-apple-ios11.0-simulator: No such file or directory
Command Ld failed with a nonzero exit code

why is there  x86_64-apple-ios11.0-simulator? I'm using Xcode 13.0, which doesn't seem to have ios11 simulator.
What I'm doing wrong? Pls, help me.

I can't advise you more without seeing the actual project, but if your project doesn't include any primitive operations, like + for Int, your project doesn't have any mutable points.
And also make sure that your testing-target is linked into the test target statically.


Use docker cache across runs

This will bring builds back down to their previous duration and just, or maybe more, importantly will prevent disk size from being used up so quickly.
I know there is documentation in the sysbox GitHub repo. That would be a good place to start.

See these links:
Persistence of Inner Docker Images
Persistence of Inner Container Images using Docker Volumes
Persistence of Inner Container Images using Bind Mounts
However, note this warning:

A given host directory mounted into a system container's /var/lib/docker must
only be mounted on a single system container at any given time. This is a
restriction imposed by the inner Docker daemon, which does not allow its image
cache to be shared concurrently among multiple daemon instances. Sysbox will
check for violations of this rule and report an appropriate error during system
container creation.

This would essentially mean that we'd only be able to run 1 build at a time which isn't really acceptable. However, I think there may be some at least partial solutions.
If I follow the documentation above, it lays out how to create a volume for your container which you then mount as the docker cache dir (/var/lib/docker). This would mean that we could create a volume per job and all subsequent jobs would then have access to that volume and cache. However, this would impose the restriction of conjob only being allowed to run 1 instance of a particular job at a time. This may not be ideal but is acceptable.
I think this would work similarly to how secret volumes work. For the docker cache it would look something like this:

Request to run job

If job of same name is already running, reject the request
If job isn't running, continue

Check if a volume with a name corresponding to the job name exists

If it exists then mount it on the jobs docker cache dir (/var/lib/docker)
If it doesn't exist, create it then do 2i

I believe this is doable and a pretty clean solution.
One question to be answered though: what are the implications of allowing all instances of the same job have access to the same cache? Particularly what are the security concerns?

The approach we ended up taking was to simply mount a volume meant for a specific job. We don't do any checks that the volume is already mounted elsewhere. Sysbox's docs mention that

Sysbox will check for violations of this rule and report an appropriate error during system container creation.

From what I can tell, these errors are reported in the inner dockerd's logs which won't be visible in the job output (depending on how the user has set up their job). The job then fails without further output.
This is not ideal and some error should be reported to the user. We should do some checking before the job is run that the volume is not already in use and report this back to the user. A follow up issue will be made for this work.

Closed by<PHONE_NUMBER>2f800335758e393179572f645bae94.
Follow up work can be found in linked issue #41.


AttributeError: 'NoneType' object has no attribute 'num_classes'

Hi ,
I am running
python demo_image.py --image_name 'ILSVRC2012_val_00000004.JPEG'
and  I am getting an error
Namespace(image_name='ILSVRC2012_val_00000004.JPEG', img_dir='examples/', input_size=321, num_classes=1000, save_dir='examples/results/', save_spg_c=True, snapshots='snapshots/imagenet_epoch_2_glo_step_128118.pth.tar', top_k=1)
Traceback (most recent call last):
  File "demo_image.py", line 69, in <module>
    model = load_model(args)
  File "demo_image.py", line 39, in load_model
    model = inceptionv3_spg.Inception3(num_classes=args.num_classes, threshold=0.5)
  File "/home/rahul/ActiveShuttle/WSOL/ACOL_SPG/SPG-master/models/google/inception3_spg.py", line 93, in __init__
    self.num_classes = args.num_classes
AttributeError: 'NoneType' object has no attribute 'num_classes'

Can anyone please help to find the problem ?
Thanks
Rahul

You might solve the problem.
https://github.com/xiaomengyc/SPG/blob/c193257eb12d08055ce7f0b1cda9c99908dd33c3/models/google/inception3_spg.py#L93
This line should be modified into
self.num_classes = num_classes


label smoothing mistake

when compute label smoothing loss, the logit_loss only multiply weight_t while miss the 1/(t+1).

Hi, thanks for your interest!
Technically, both 1/(t+1) and weight_t are only associated with the diffusion ELBO objective but not the label smoothing loss. Therefore, it is reasonable to use arbitrary weighting for the label smoothing loss (which is often used as an auxiliary objective for regularization) to scale its effect; we conducted various ablations in our preliminary experiments and found that only multiplying label smoothing loss with weight_t yields the best performance for translation tasks.
However, it could be true that this choice may not be optimal in all cases and that carefully tuning the weighting in a task-specific manner may lead to better performance.
Hope this clears things up xD


missing  header file

Dear Kenneth
I used Cmake and Visual studio 2019 build and install OpenXLSX library successfully with some loss. It meant part of the library not correctly built. I tried to run your demo program in the project readme description, it built failed. so I tried to solve the problem. At last, I found the XLRowData.h file missing include iterator header file. After I added the header file,it ran OK!
I reported this issue to you.
Tips:
demo4.cpp line 38：you should add a space after the Japanese words.
because it may cause error: C2001 in visual studio 2019.

Hi @xerox51
Thanks for letting me know. It's not an error I have noticed when testing the library, but I have added it header file anyway, since it doesn't do any harm.


Unable to download somes videos from youtube

Checklist

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

Verbose log

youtube-dl --no-cache-dir --extract-audio --verbose --audio-format mp3 -w -i -o "%(title)s.%(ext)s" https://www.youtube.com/watch?v=ytywevJ8xOM[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-cache-dir', '--extract-audio', '--verbose', '--audio-format', 'mp3', '-w', '-i', '-o', '%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=ytywevJ8xOM']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.9.16 (CPython) -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 4.4.2, ffprobe 4.4.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] ytywevJ8xOM: Downloading webpage
[youtube] ytywevJ8xOM: Downloading player 11e3a4ec
[youtube] ytywevJ8xOM: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Hi. I'm Unable to download video from https://www.youtube.com/watch?v=ytywevJ8xOM. it do the error ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

[x] I've searched the bugtracker for similar issues including closed ones

Really? Duplicate of #31530.


Remove Dockerfile.dapper

Following https://github.com/submariner-io/shipyard/pull/573, we would like to get rid of project-specific Dockerfile.dapper files.
Depends on https://github.com/submariner-io/shipyard/issues/575

Besides yq and gh which are easily provided by the Dockerfile, there are some critical env variable we need to pass down - https://github.com/submariner-io/releases/blob/devel/Dockerfile.dapper#L6
How would you suggest we pass them without a project specific Dockerfile.dapper?


Add the ability to proxy metrics via http proxy

This PR is the second of two PRs implementing #549. HTTP proxies now have an additional /solomon_proxy/sensors handle, which can be used to collect metrics from internal YT components without network access to their monitoring ports.
There are quite a few TODO-s left, but they are not immediately needed and can be isolated to separate pull requests.
Additional endpoint providers (for CHYT cliques, for example) will be implemented later.

Shipped!

Implemented everything I consider an enhancement (rather than refactoring for the sake of another feature) here: https://github.com/ytsaurus/ytsaurus/pull/764. I will resolve the relevant comments.


Splash page -- #185

Pair-programmed with @ManickYoj to change home page to splash page.
Work done:

removed the header -- this part is a little hacky
set the svg as full-screen background
added title text and buttons

@knod question:  The "Get Started" button currently links to the Client Intake pg, which we have decided to bypass.  What, then, am I supposed to put in HomePage.js Line39 to reroute properly?

@lianilychee: I'll take a look.

Note that your Travis build is failing, so we may want to check what that's about. Other things that may belong in this PR are removing the ClientIntakePage.js and ClientDetailPage.js, as well as the menu options that link to them on other pages.

@lianilychee: The fast and dirty way is to change <Link to="/intake"> to <Link to="/visit/54321/1">. Do you want to start off with that?

Tests pass locally, so should not be a blocker for merge.
@ManickYoj posits that tests may be failing remotely because Travis has not been updated to latest Node, and is happy to fix.

@lianilychee Do you see the Travis tests failing on github? Have you tried doing npm install again since when we checked up the 'household' branch? If you didn't do it again since checking out that branch, your packages are not up to date and you may be getting a false positive.

@lianilychee: I made a PR to your branch which converts stuff to css. It might help with readability, etc.

tests may be failing remotely because Travis has not been updated to latest Node, and is happy to fix.

The PR's I've made recently with the updated version of Node haven't had trouble with the tests, so it might be something else.


MM-19337 Enable users to view archived channels

Summary
This adds an action for getting archived channels in the redux store (from the new endpoint), and modifies the searchChannel action to use the new search_archived endpoint if needed.

Has server changes: PR 12995

Ticket Link
#12854 - MM-19337
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit tests passed
[x] Added or updated unit tests (required for all new features)
[x] All new/modified APIs include changes to the JavaScript driver

Test Information
This PR was tested on: Ubuntu 18

Not sure why my build got cancelled. I don't have permission to rerun the workflow unfortunately!

@hmhealey @saturninoabril I think this should be good now! Could you re-review when you have the time? Thanks :)

Thanks @saturninoabril for reviewing!


Contour package field to enable ipv6 (for Contour xDS server listeners/addresses and Envoy listeners/addresses)

Feature Request
The Contour package should enable users to opt in to deploying Contour with ipv6 cluster compatible flags for listener addresses etc. This includes addresses for Contour and Envoy (e.g. flags like --xds-address and --envoy-service-http-address in the Contour Deployment). Ideally this would be a single value to configure, e.g. contour.listenerIpFamily or something similar.
Describe alternatives you've considered

Make users manually set flags for listen addresses etc.? Not really a good experience

Additional context
The cluster configuration has a field for lookup family used for ExternalName services, we may have to add a caveat to the documentation that if you're using an ipv6 only cluster, you should make sure to set this appropriately as well. It is a lone field in the embedded YAML of the values, so not sure if we can override it?
cc @vmware-tanzu/contour-owners @vmware-tanzu/pkg-contour-owners

cc @vmware-tanzu/pkg-contour-owners
An alternative also could be to always have Contour/Envoy listen on ipv6 addresses, given that we already should be appropriately using the ipv4 compatibility socket options as needed, so this would ensure the package works without modification in an ipv4 only, dual-stack (ipv4 primary or ipv6 primary), or ipv6 only cluster

Also note that the internal/local Envoy admin listener is hard coded to listen on <IP_ADDRESS> and is not configurable
While we could maybe make this configurable, doesn't really seem worth it since it is only used for debugging and is a loopback address


boards: soc: riscv: add QEMU RV32 virt board

This is preparation for RISC-V SMP support. Currently SMP and new task-switch configurations are disabled.

This patch add definitions and settings for QEMU RV32 virt machine.
These are minimal supports only for CPU, Memory, CLINT and UART.
QEMU has supported multiple machine types. It seems virt machine
is most suitable for developing and testing SMP mode on rv32/rv64
both architecture using QEMU.
| Support       | sifive_u | spike | virt  |
+---------------+----------+-------+-------+
| SMP           | yes      | yes   | yes   |
| RV32/64       | 64       | 32/64 | 32/64 |
| UART input    | yes      | no    | yes   |
| Real machine? | yes      | no    | no    |
Signed-off-by: Katsuhiro Suzuki<EMAIL_ADDRESS>

A tests/lib/heap/lib.heap will take few minutes if system memory size is over 100KB...
Because qemu_rv32_virt has 192KB system memory, this test frequently goes to timeout.
Is it better to limit MEMSZ??

#31166 has similar purpose of this PR. So it's better to close this PR and keep going #31166.

#31166 has similar purpose of this PR. So it's better to close this PR and keep going #31166.


prepare release

update citation
update contribution guidelines
bump version

TODO:

[ ] move to new orga @michaeldeistler
[x] Zenodo linking of new releases described here @janfb
[ ] fix TODO in setup.py
[ ] merge #829 @janfb
[ ] fix #841 @michaeldeistler?
[ ] decide what to do with #628

The new account exists now, so I will be ready to move the repo once this is merged.
https://github.com/sbi-dev


Synthesize not working since WhiteNoise 4.0 release

After installing Synthesize and testing Graphite-Web with "https://<IP_ADDRESS>:8443/" as suggested I got "500 Internal Server Error". In /opt/graphite/storage/log/apache2/error.log I found: "Your WhiteNoise configuration is incompatible with WhiteNoise v4.0". So followed http://whitenoise.evans.io/en/stable/changelog.html#v4-0 where it is saying that modifications are required in order to work with WhiteNoise 4.0. As my intention was only to evaluate Graphite (have no previous experience with it) I decided to work around the issue:
sudo pip uninstall whitenoise
sudo pip install 'whitenoise==3.3.1'
sudo reboot

which fixed the problem.
Much appreciate Synthesize for how it simplifies the whole Graphite setup and hope that this issue will be fixed in some proper way.

Apologies for letting this issue go untouched for so long. I doubt this is still a valid issue but if it is, please try the latest release and report back.
https://github.com/obfuscurity/synthesize/releases/tag/v4.0.0


[Masthead, search] React: Visual QA of the scoped search feature

User Story

As a [user role below]:
DDS Designer and Developer

I need to:
test the ?component name?

so that I can:
be sure the developer's code correctly works as designed

Additional Information

See the Epic (#7267 ) for the Design and Functional specs information
Designer will be added as a reviewer to the Pull Request.  Visual QA reviewer will be notified by Github when review is needed.
Creating a QA bug
Web Components dev issue (#7627)
React Dev Issue (#7622 )
Testing links provided in the Pull Request

Tasks
Ensure the Masthead, search component has been tested and reviewed by design + dev.
Acceptance criteria

[ ] Pattern is reviewed by designer and design defects are identified
[ ] New issues are opened to log individual defects
[ ] Screenshots of as-is and to-be design should be added to the issue when needed
[ ] Developer associated with building the pattern is assigned to the new issues
[ ] Appropriate labels are added to the issue  eg.  bug, dev

Pure React component features are frozen.  Closing.


weblog generation fails

Weblog generation can fail inexplicably sometimes:
CASA <IP_ADDRESS> -- Common Astronomy Software Applications [<IP_ADDRESS>]
IRAS04368+2557 EVLA_X  S/N decrease
(0) waiting for viewer process...
(1) waiting for viewer process...
(2) waiting for viewer process...
(3) waiting for viewer process...
(4) waiting for viewer process...
(5) waiting for viewer process...
(6) waiting for viewer process...
(7) waiting for viewer process...
(8) waiting for viewer process...
(9) waiting for viewer process...
(10) waiting for viewer process...
(11) waiting for viewer process...
...{'id': 'casaviewer:5159', 'priority': 0, 'types': array(['shutdown', 'image-view', 'interactive-clean'], dtype='<U18'), 'uri': '<IP_ADDRESS>:37679'}
Traceback (most recent call last):
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/site-packages/casashell/private/init_system.py", line 235, in evprop
run_path( args[0], init_globals=exec_globals, run_name='main' )
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/runpy.py", line 85, in run_code
exec(code, run_globals)
File "regenerate_weblog.py", line 15, in
generate_weblog(selfcal_library,solints,bands)
File "selfcal_helpers.py", line 1832, in generate_weblog
render_summary_table(htmlOut,sclib,target,band)
File "selfcal_helpers.py", line 1868, in render_summary_table
'weblog/images/'+sanitize_string(target)+''+band+'_final.image.tt0.png')
File "selfcal_helpers.py", line 1634, in plot_image
im1=im.crop((trim_amount,height-1,width,width-trim_amount-1,0))
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/site-packages/PIL/Image.py", line 1172, in crop
return self._new(self._crop(self.im, box))
File "/home/casa/packages/RHEL7/release/casa-6.4.3-27/lib/py/lib/python3.6/site-packages/PIL/Image.py", line 1186, in _crop
x0, y0, x1, y1 = map(int, map(round, box))
ValueError: too many values to unpack (expected 4)
The workaround for this is to 'rm -rf ~/.casa/viewer', removing all the saved configuration regarding the casaviewer on your system. Then the weblog can run without a problem. however, it would be good to be able to run this without needing to occasionally nuke the viewer settings. Perhaps exporting to fits and using matplotlib for drawing the images is a better way in the future.

Just happened to come across this as I was looking over the code - I think this might be fixed by a pull request that I opened last week, #9. In short, there's an error for the im.crop arguments when the width of a casaviewer image is greater than the height. If this gets fixed up I think that would solve this problem.

Was reminded of this when looking at the other open issue just now - I think this got fixed and can be closed as well?


Query last point returns a point with null value

Hi, I use a c++ library last which use curl to write data to the database.
In my c++ program, I will write 4 measurements and each of them have dozens of pieces  points to write per second.
 This point has four fields and has no tag.
When I want to query the data in last half second in database, problem occur. I open a terminal and enter
influx
use udp
create retention policy "1h" on udp duration 1h replication 1 shard duration 1h default
precision rfc3339
select * form "udp".."/controller/data" where time >= now() - 500ms

Expected behavior:
I can get last half second's points' with their filed value .
Actual behavior:
Sometimes filed vaule in the front columns is null.
For example:

and

As you can see, there are many null value in field angular, left_rear_speed and right_rear_speed.
Left column has a better chance of being null, and the rightmost column of filed key voltage nerver has a null value.
These null value field actually have values, and I can get their value later.
I find that: The filed value in the same row correspond to  the same timestamp, but they are not written into database at the same time, some of them may be written in, but others are not. Is that right?
If there is a method to let different field in the same raw to write at the same time, so when I query each field in the same row is not null. I actually want to query the last point in the measurement :select * from "udp".."/controller/data" order by time desc limit 1, but it sometimes returns a point with some fields having null value, so I have to query again until there is no null value.
Environment info:
I run all these program on a nanopi which is similar to raspberry pi.

System info: Linux 4.4.179 aarch64
InfluxDB version: 1.8.7
Other relevant environment details:

Config:
my influx.conf
[[udp]]
  enabled = true
  batch-size = 50
  batch-pending = 5
  batch-timeout = "1s"

If I modify batch-size to 1 in influxdb.conf
[[udp]]
  enabled = true
  batch-size = 1
  batch-pending = 5
  batch-timeout = "1s"

It would adds a lot cpu load, and I can only get point whose time > now -22s
influx
use udp
precision rfc3339
select * from "udp".."/controller/data" where time >= now() - 22s

and it returns the following result:

It still return null value.
So changing the batch-size doesn't work for this problem,  and it seems that batch-size only works for one column.

same problem


Wrong current directory in terminal when path contain special characters like square brackets

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

VS Code Version: 1.92.0 (system setup)
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22631
OS Version: Windows 11 Pro 23H2 Build 22631.3880

Steps to Reproduce:

Create or rename a folder with a name that contains square brackets "[" or "]"
open said folder with VSCode
open a new terminal and notice current directory is "C:\WINDOWS\System32\WindowsPowerShell\v1.0> " instead of the actual folder opened

More Info:

I noticed the issue when I tried running an NPM Script that failed with the error "Could not read package.json: Error: ENOENT: no such file or directory"
package.json exist
vscode lists scripts on the side panel
scripts work as expected when I remove square brackets from folder name
in powershell square brackets need to be escaped with backtick (`) in paths AFAIK so this might be a hint to the cause of the issue?

see https://github.com/microsoft/vscode/issues/145441#issuecomment-1347481575

thank you for taking the time.
as stated in my issue, I'm aware that the issue is caused by PowerShell on WIndows and suggested that a possible solution is to escape the square brackets with a backtick.
eg cd 'd:\`[dir`]'
I am able to change directory in terminal using the method above, however NPM scripts (in the side bar) does not work
the comment you linked does not provide a solution. so I think the issue still stands.
please reconsider.


Include search paths for swift-generator

This adds -include_paths which can be a colon-separated list of paths that are searched for includes.
The semantics are:

include paths should be allowed as relative or absolute
include paths are searched first, in the order they are specified on the command line
if the included file is not found on any include path, fallback to searching from the working directory (which is the only place currently searched before this diff)

lgtm, ship it


Sort test listing by name, score or weight

It would be useful to be able to dynamically switch between sorting the tests by name, score or weight.
The default should be sort by name.

This functionality is added in #646.


[question] How to override how self.train_transform is applied to batches in LightningDataModule.

❓ Questions and Help
What is your question?
I want to apply the same random transformation on both X and Y (both are batches if RGB image) of a training batch using Kornia after the batch has been moved to the GPU (or TPU).
I cannot figure out what part of PL I need to override to make this work.
As far as Kornia is concerned, I know how to get the state of a random transform and use it again for another batch. But I cannot understand where inside LightningDataModule I am supposed to write that code such that it works properly even for MultiGPU training.
Code
What have you tried?
I can simply include the augmentation step in the LightningModule's training step after receiving the batches, but that would decouple my LightningDataModule from it's transforms which I don't want to do.
Any help would be greatly appreciated !! 🙂
On another note, the documentation isn't very clear on how the self.train_transform property of LightningDataModule is applied to batches of data and how we can change that behavior (which is pretty much what my question is).
What's your environment?

OS: [Ubuntu 16.04 LTS]
Packaging [ conda ]
Version [0.8.5]

I use kornia and I just wrote my own transform and call it in train_step.

@versatran01 Yeah, that's what I'm doing right now and there's really no issue with this right now to be honest. But it prevents me from using the same data module design in other lightning modules without having to manually add the transformation code in training_step every time. Ideally, the data module should do everything related to data.


JF17 - The right UFC button press light via the app does not match in a specific case

When a right UFC button is pressed and held, the button in game is lit, but the app button stays dark until you release it.
Enhancement.

When pressing the button in game the iPad button status matches perfectly.


Validate unpacked output files

Instead of the declared outputs. That gives a much better error message for #15679.

@bot-gradle test and merge

Your PR is queued because #17024 is being built.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued because #17068 is being built.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued because #17064 is being built.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued because #17066 is being built.

OK, I've already triggered a build for you.


extract clusterOpts for readability

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: utako
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Updating base generator based on YAML files

Signed-off-by: Maysun J Faisal<EMAIL_ADDRESS>What does this PR do?:

This PR updates the generator logic for the base dir. When Kubernetes resources are provided during a call to Generate; the Generate logic should use the resources provided and create the base dir with it.
If the Kubernetes resources are not provided, fallback to generating the Kubernetes resources based on the options data.
Which issue(s)/story(ies) does this PR fixes:

PR acceptance criteria:

[x] Unit/Functional tests

[ ] Documentation

[x] Client Impact

How to test changes / Special notes to the reviewer:
Unit tests should pass

Changes to be intergrated in PR https://github.com/redhat-appstudio/application-service/pull/230

Here is a sample of repo with the gitOps generated:

Single resources https://github.com/maysunfaisal/petclinic-lK5Sb-cut-question with the component CR:

apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
  name: component-sample
spec:
  componentName: backend
  application: application-sample
  containerImage: quay.io/myimage
  replicas: 4
  targetPort: 4444
  route: route111
  resources:
    limits:
      memory: "500Mi"
      cpu: "2"
      storage: "400Mi"
    requests:
      memory: "400Mi"
      cpu: "700m"
      storage: "200Mi"
  env:
  - name: FOO
    value: "foo1"
  - name: BAR
    value: "bar1"
  source:
    git:
      url: https://github.com/devfile-samples/devfile-sample-java-springboot-basic

Multiple resources https://github.com/maysunfaisal/petclinic-lK5Sb-wash-touch with component CR:

apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
  name: component-sample-2
spec:
  componentName: backend
  application: application-sample-2
  containerImage: quay.io/myimage
  replicas: 4
  targetPort: 4444
  route: route111
  resources:
    limits:
      memory: "500Mi"
      cpu: "2"
      storage: "400Mi"
    requests:
      memory: "400Mi"
      cpu: "700m"
      storage: "200Mi"
  env:
  - name: FOO
    value: "foo1"
  - name: BAR
    value: "bar1"
  source:
    git:
      url: https://github.com/devfile-samples/devfile-sample-java-springboot-basic
      devfileUrl: https://raw.githubusercontent.com/maysunfaisal/devfileexample/main/devfile.yaml

In case the kubernetes resources from devfile are not present, then the GitOps library generation will still auto generate the resources: https://github.com/maysunfaisal/petclinic-lK5Sb-represent-impose


Update pip dependency versions

@GregHilston Did I break something?

@coltenkrauter I don't think the CICD error is anything you did, rather I have an old config. Let me fix my old config and rerun your PR and prove it works, which I'm sure it does.
Then i'll merge it!

Remembered that I never used Circle CI on this ha merging

@GregHilston How do we go about publishing the update to PyPI? Do you just need to create a GitHub release? I imagine you have some automation to do that for you?

@coltenkrauter I don't believe I ever automated this.
I just confirmed that everything works on my end after merging your PR and the two automated security PRs, so that's huge news.
Let me get the PyPi file (setup.py) up to date and remember how to push a release.
When I'm doing these things I'll either document it in the README.md and provide some script or automate it. That way we're on the same page on how its done.
Sound good?

Sounds great 👍


[Image] padding not work

Environment:
OS:  macOS Sierra 10.12.6
Node:  8.6.0
Yarn:  1.1.0
npm:  5.3.0
Watchman:  Not Found
Xcode:  Not Found
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: 0.48.3 => 0.48.3
====================
I just write the simple code below. The problem is Why the padding in  style not work?
            <View style={{
                flex: 1,

            }}
            >
                <Image style={{
                    flex: 1,
                    padding: 10,
                }}
                       source={{uri: 'd7'}}
                       resizeMode='stretch' />
            </View>

This is the result. You can see there is no padding around image.

Add padding on parent component of image component like below
...

<View
  style={{ flex: 1, padding: 10 }}>
    <Image
      style={{ flex: 1 }}
      source={{ uri: 'd7' }}
      resizeMode='stretch' />
</View>

...

@ubatin Yes I know this can do. But I want to know why the padding does not work on ?

Hi @walfud ,
The Image component is only to show image. So, Why do you need to padding on Image component? Actually you should learn to know about Image component on here.
Should read before reporting new issues.


Update sensitivity-labels-teams-groups-sites.md

Hi,
At line 185 and 197 the sensitive labels are in Microsoft 365 security center (https://security.microsoft.com) not in Microsoft 365 compliance center (https://compliance.microsoft.com).
Regards,
Ricardo Cabral

@KCCross - PR is ready for final review.
Thank you.
cc: @kenwith

Samson, please review


Feature/improve log decorator

Based on conversation in #34

Coverage remained the same at 100.0% when pulling 278bd55c8d57fb00d099e19c8c1e1e4b3526c6e9 on feature/improve-log-decorator into db2599099f93a971291f118545e18f0bd98082f2 on master.

Coverage remained the same at 100.0% when pulling 2c01025d14acb0921411944cf4d11123fbfd2c3e on feature/improve-log-decorator into 522da74eaa3c4fb50ddca75b7c0c326987b52262 on master.


Add dry-run functionality to aid development

Whilst integration Django Cron into our project, I wanted to ensure that it would run as expected.
In order to make that easier, I suggest we add a --dry-run flag which, in addition to slightly improved output from the management command, should make it easier to see what will happen, before actually running anything.
See #102

@evenicoulddoit I like this addition and we will review it shortly. Thanks! 👍

#102


Why re-ranking is running on CPU?

The test part takes too long when re-ranking

We follow the code from TransReID. Thanks for your advice. It is a good suggestion to put the rerank on GPU.


Fix React key of cached user s

This was broken in commit f6045006cf6c686d85132e0998546a3b067997cc - the cacheKey attribute was removed from the cachedUser objects, but this reference was not updated.
Fixes this error in the developer console:
Warning: Each child in a list should have a unique "key" prop.

Check the render method of `WebauthnSignupLogin`. See https://reactjs.org/link/warning-keys for more information.

Superseded by #130.


[PHP 8.3] refactor: ReflectionProperty::setValue() signature deprecation

Description
See #7850

update deprecated code in PHP 8.3

E.g.,
 1) CodeIgniter\CLI\CLITest::testWindow
ErrorException: Calling ReflectionProperty::setValue() with a single argument is deprecated

/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/CLI/CLITest.php:441

See https://github.com/codeigniter4/CodeIgniter4/actions/runs/6035726283/job/16376653028?pr=7886
Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[] User guide updated
[x] Conforms to style guide

Thank you @kenjis


Feature : Revamping/Enhancing the Groups Page.

Is your feature request related to a problem? Please describe
The Groups page requires revamping due to the following reasons:

Currently, users need to click on the "view button" to access a Group, which could be streamlined by allowing users to navigate directly to a Group by clicking on its card.

add description section for a group

Lack of search functionality makes it challenging for users, especially educators with multiple groups across various sections or institutes, to locate specific groups efficiently.

The design of the group cards needs to be updated to align with modern aesthetics.

Describe the solution you'd like
proposing  a Figma Design for the revamp of the Groups Page, encompassing the following features:

Integration of search functionality to facilitate easy navigation and discovery of groups.
Modernisation of icons and card design to enhance visual appeal and user experience.
Addition of a description section for each group to provide context and relevant information.
Implementation of a hovering effect on group cards for better interactivity. .
Enable direct navigation to a specific group by clicking on its card.

here is the Figma Design
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes

@tanmoysrt bhaiya please review this issue , and please suggest any improvements or modifications

Hi @Asrani-Aman you can work on this.
@vedant-jain03 have you any feedback for the proposed design ?

hello @Kiran-pande-30 , i have also proposed the group page in the UX channel earlier along with groups page ,
you can check it in the same Figma Design link while you scroll you will find the same

@Asrani-Aman Okay, but can now also review my design, as it will help me in  my further UX Designs

yeah sure @Kiran-pande-30 , but i am also not much professional in Figma, but as my point of view overall Figma design looks decent , generally i do make Figma designs by taking inspirations from different websites (one of the example is Dribble)

for the  groups page , i first see the similar platforms (like google classroom ) and then see various cards design on internet and Figma templates. this will help a lot in making Figma designs  😇

Thanks for the insights @Asrani-Aman


Fix robots.txt

Lighthouse in Google Chrome reported an issue

No just a new line at the end
Em sex, 7 de jun de 2019 19:19, Karen Bradshaw<EMAIL_ADDRESS>escreveu:

@kbhawkey commented on this pull request.
In layouts/robots.txt
https://github.com/kubernetes/website/pull/14774#discussion_r291681996:

\ No newline at end of file
+SITEMAP: {{ "sitemap.xml" | absLangURL }}

Is there a difference between the SITEMAP entries?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/14774?email_source=notifications&email_token=AACJOIR4GLAEGZ5WI2FAJL3PZKKBFA5CNFSM4HVU6UW2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB26CYDY#pullrequestreview-247213071,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACJOITQ634WVQ6X4RKIKKTPZKKBFANCNFSM4HVU6UWQ
.

/lgtm

/approve


Setting app icon and title is unreasonably complicated in WinAppSDK

There are a number of reports of this sprinkled across this and the appsdk repo but filing this to track getting a resolution.
Today if you want to set the app icon and title, there are a few problems:

Window.Title doesn't work from markup (you get a build failure that is not useful). This should be fixed.
Setting the icon requires using the under-documented IWindowNative API and then dipping down to window messages

Instead, Window should have an Icon property; maybe multiple ones:

TaskbarIcon
StartIcon
TitleBarIcon

In the meantime, the docs for IWindowNative have been updated with C++ and C# samples.

Start icon is something you set in the app package (if packaged) or start menu shortcut file (typically via an installer framework), not XAML

Duplicate of #5773


Feature/a1 mtdc@213 Added performance tests

Added one first simple performance test.
Added perf test to the system tests running after deployment.
Successful deploy: https://github.com/catenax/tractusx/actions/runs/1505184893. Note that the deploy workflow publishes an artifact called "performance-tests-report". You can download it to see how it looks.

Good job @ouphi !


Doesn't work with MinorQOL's "Macros cause Speed Rolls" feature

When the MinorQOL module's "Macros cause Speed Rolls" setting is enabled, the hotbar stops showing the uses counter.
The command MinorQOL uses is MinorQOL.doRoll(event, "Command", {type: "spell", versatile: false});
MinorQOL project: https://gitlab.com/tposney/minor-qol

Fixed with commit ee8dc85ee5ffc3e6e00a0916e846a15fc5d06b08


chore: iteration on real time price fetching

superseeded by https://github.com/GaloyMoney/galoy-mobile/pull/1275


Add testdata into the initdb

Let's add test data into the init. As it is done for other projects (as in, the IM + eBL, BKG, OVS and JIT master).

I think this PR is done against the wrong branch as this probably is already solved in master.  Also, we solved it differently, so I would recommend that you cherry-pick that commit to ensure we have the same solution everywhere.

No need for this. It is already done for the master.


Player UUID shows up when adding a player to private chest, sign, exc.

LWC Version (/lwc admin version):
2.1.1
Server version (/version):
1.13.2
Short five word summary of issue:
Player UUID shows up.
Detailed description of problem:
When you do /cmodify  to add a player to a lock, the players Name and UUID shows up in chat when the player is added. The only person who can see the UUID is the player that added the other player.
I was wondering if there is a way to make it so the player UUID does not show up in chat and only displays the Name?
If there was an error in console, put it here:
N/A

Thank you very much for looking into this and fixing it. I was just a little worried that players would have the ability to see another players unique UUID. I am sure no one can do anything with it, but the possibility is there.

There is no danger that comes from people viewing another's UUID. You can even look them up online (for example the namemc website). I'm only considering removing it from cmodify to prevent some chat spam.

The UUID will no longer be shown in chat when using cmodify, as of the latest development build.


Help on this I'm unable to play 'momba' because of an error: 'ERROR: VWoIpDVkOH0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.'

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

Description

I'm unable to play 'momba' because of an error:
'ERROR: VWoIpDVkOH0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.'

Help


Changed HOC/decorator to favor enable/disableClickOutside over this.props, rather than visa-versa.

Fix for #65
Prior to this change, passing enableOnClickOutside or disableOnClickOutside as props to the HOC(component) will override the functions of the same name passed by the HOC to the wrapped component, which is not consistent with how the mixin works.
With this change, the internal function properties will now supersede the properties from the parent, allowing the component to enable/disable listening. Technically, this is a breaking change, but the documentation would seem to suggest it should work like this (the same as the mixin), rather than how it does currently.

I'd rather keep it open for 2 more days, I have Sunday reserved as a day to work on my issues backlog and this one ranks high

I've rewritten the code so that the package is now a pure HOC (no mixin), and pushed this as v5.0.0 to indicate it's absolutely backward compat. breaking


TLS 8.1.2 requirement to remove leading 0 bytes from shared key before deriving master secret key

Thank you for the library! Found a bug I thought I'd share. There is a requirement in the TLS specification in section 8.1.2 to remove leading 0 bytes from the shared key before you derive the AES master secret key (via MD5 hash). This should be done in the crypto.py file, after line 32 shared_key = self.privKey.exchange(peer_public_key). Otherwise, whenever the shared key has leading 0 bytes, the resulting AES key will be incorrect, and any encrypted messages later sent will fail when the CRC check fails on the receiver side. Note there is a random 1/256 probability of this occurring. I have verified this issue occurs when communicating with ESP32 devices using Espressif firmware.

Thanks. Feel free to submit a PR. Otherwise I will keep this open until I have time to test and fix myself.


Remove explicit package reference to NETStandard.Library

The package now comes from the SDK.

Never mind, it's not an actual reference. It's only needed for testing purposes.


Fix table of contents in README

The 'Setup' link wasn't working in the current master. Fixed by removing emoji and suffixed - (dash) from the link.
Removed other emojis to give the sections more predictable links (they were admittedly super cute, but made the predicting the GitHub generated links harder).

Getting help from the dev team on why CircleCI is failing, since there were no code changes. Looks like something in the CircleCI configuration is out-of-date.

@pcraig3 helped me out with the key. Tests re-running now.


Modify test to show it periodically failing

The test seemed to be passing only because it was so short and the threads did not overlap.  It seems to crash if the threads do overlap, particularly when they are not nested.  Perhaps someone will recognize right away why this might be.


Fixed docstring for classimbalance.validate()

Pull Request Description
Fixed the spacing for the last trio of ">>>" in the docstring.

@chukarsten PR for issue #1734

Thank you @jpcarroll ! This is awesome.


[hotfix] Fix error handling and mako template data [OSF-8570]

Purpose
Files that are not found lead to unable to resolve instead of nicely formatted not found pages (and are leading to a lot of sentry errors).

Changes

Fix mako template data to handle data that was not being formatted properly.
Use correct exception catch for oststorage files

Side effects
NA

Ticket
https://openscience.atlassian.net/browse/OSF-8570
QA Notes

Test non existent files on various addons (e.g., osf.io//files/github/imnotarealfile/)
Try deleted addon files via guid
Try osfstorage files that don't exist (e.g., osf.io//files/imnotarealfile)

In all the above cases, you should get a properly formatted error message and not an "unable to resolve" error

Based on this fix, I suspect https://github.com/alexschiller/osf.io/blob/6dab23ed6da5c91927598b1f239f9d35b99e03ed/addons/base/views.py#L471 is a problem

@brianjgeiger Yes, I discussed this with DjangoLE people yesterday and I decided to only modify the one location that was relevant to this issue (since it is a hotfix) they are aware that parts of that file had not yet been converted and I believe there is a ticket for them.


Extensions model to support multiple authentication providers

We do have an abstract class for Authenticator which provides the interface for the common authentication patterns, with the appropriate methods. Most external authentications can straight forward be integrated by implementing this abstract class, with appropriate AuthenticatorConfiguration, and overriding the key parts to make that authenticator work.
With regards to integration with Gallery as an Extention, this would involve significant rework to may be expose an IAuthenticator interface same as that of the abstract class in the NuGetGallery.Core which would integrate with AddIns like we do for Auditing services. There also needs to be a mechanism of specifying the configs(could be next to the authenticator in the addins) or environment variables. Much of the Authenticator could possibly be needed to be refactored into NuGetGallery.Core. Similar approach for extention as that of https://github.com/NuGet/NuGetGallery/issues/5982 is also possible.


Emby NAS  WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access,

hi,
on logs supervisor:
21-08-25 16:17:33 WARNING (MainThread) [supervisor.addons.validate] Add-on have full device access, and selective device access in the configuration. Please report this to the maintainer of Emby NAS

Good news I found how to make it work :) the error won't appear anymore. Thanks for having highlighted it


change endpoint definition to private #76

Close #76

Codecov Report

Merging #77 (3582413) into main (a239983) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   97.81%   97.81%
=======================================
  Files          21       21
  Lines         687      687
=======================================
  Hits          672      672
  Misses         10       10
  Partials        5        5

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 a239983...3582413. Read the comment docs.


feature: add capabilities for exec process

add current container capabilities for exec process
Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
add current container capabilities for exec process
if container is created by docker and taken over by pouchd, no config.json can found under current path, runc exec is good even without these capabilities in exec process
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
add test for exec priviledged
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

LGTM


moving node group, trim child filter

using PixiJS 5.0.0-alpha.2 - ✰ WebGL 2 ✰"

    let instance = new PIXI.Graphics();

    let g1 = new PIXI.Graphics();
    g1.beginFill(0xff00ff);
    g1.drawRect(50, 50, 100, 100);
    g1.filters = [new PIXI.filters.BlurFilter(22)];
    instance.addChild(g1);

    let g2 = new PIXI.Graphics();
    g2.beginFill(0x00ffff);
    g2.drawRect(100, 100, 150, 150);
    instance.addChild(g2);

    instance.filters = [new PIXI.filters.NoiseFilter()];

moving the graphics by calling
    instance.position.set(130, 150)

is trimming the g1 Graphics filter

nice! we have a new bug!

it seems that the graphics move, but the children's filterArea is still
any workaround @ivanpopelyshev ?

manual filterArea is your workaround:
g1.filterArea = app.screen; //or renderer screen

That thing will use full-screen temporary buffer, its super-slow for blur.
you can set filterArea (ITS ABSOLUTE) if you know where exactly that element will appear on screen, however due to this bug it might have offset too.

Does this still happen if you change instance to a PIXI.Container?

@numez Would it be possible to get a reply to @bigtimebuddy  please? :)

By the way, I'm getting this problem with a filter applied to app.stage when one of the children is moved around, and had to do app.stage.filterArea = app.screen after app.stage.filters = [myFilter]to get it to work correctly.


Heatmap Support for Object Detection

This PR adds heatmap support for OD scenario to achieve corresponding feature parity with other dashboards.
Description

The main drawback of this support is I had to end up disabling the magenta color during N/A status while metrics are being computed, because I could not override the metrics to have transparent color anywhere in StatsTableUtils.ts as that ended up overriding the heatmap colors.

Considering the magenta color with N/A display is only valid for OD & QA scenarios, and is not a breaking feature change but a nice-to-have UI (not to mention potentially switching this with async loaders), this support can be enabled in a future PR.
Checklist

[x] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

This passes information (modelType) quite deep into the logic that doesn't really need this information. Instead, would it be possible to set this at the top level (constructor of ModelOverview, for example) based on the model type (technically, task type, but I guess it's fine...) and factor it into useTexturedBackgroundForNaN?
In general, we want to keep the components and their associated logic as decoupled as possible, and model type is rather the opposite. It is entirely possible that I'm missing something here that makes this necessary, so feel free to point that out!

@romanlutz Thanks for the question. Unfortunately the way the code is setup, if I just pass the ModelType to the useTexturedBackgroundForNaN which is the same input as this.state.showHeatmapColors, it totally removes the blue heatmap colors.

With the way the code flow works with N/A magenta colorValue and the blue color rendering for the heatmap (and the same input that both take in for assigning colors - this.state.showHeatmapColors), it only seemed possible to disable the N/A magenta color assignment inside the function, so that the blue color rendering isn't disabled as well.

Oh. I guess I had assumed it's straightforward, sorry. If you see a simple way to refactor it go ahead, otherwise ignore.


Add repair status to repair request

Basic Information
A volunteer can edit the repair status
Other Information
[Are there any additional information that we should know about?]

To be done in #6


New version: GNU.MidnightCommander version 4.8.24 build 221

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Uhh, this package is super weird
Microsoft Reviewers: Open in CodeFlow

Yeah no this is causing issues


The Chinese official website had a router problem.

In the page of https://www.webpackjs.com/, when you click the button '英文官网', it had redirect a wrong router: https://www.webpackjs.com/https:/webpack.js.org/....
Em, I think the right router path in the tag a should delete the char code '/'..

Please open an issue in webpackjs.com docs repo, we don't create this site, sorry


Can you give more details of how to run the application?

Hi. Can you give more details on how to run the application? README.md seems too scarce on information.
I tried go run license_serializer.go. It works fine.
But identify_license can't find licenses.db.
I have an error 2023/03/29 20:33:49 cannot create license classifier: cannot register licenses from archive: open licenses.db: file does not exist.
Where does licenses.db need to be located ?
Another question - how does it scan the files?
I have all licenses files (*.txt) in one folder. Do I need to indicate the path on this?
Does it also work on a folder recursively?
Please add more details in README.md. Thank you.

agree with the OP. how do I run the code?


'D3' was not declared in this scope

HI
Compile error

Arduino: 1.6.8 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 1M (64K SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
EspOven:58: error: 'D3' was not declared in this scope
MAX31855 probeChamber(D3);
                   ^

EspOven:59: error: 'D4' was not declared in this scope
MAX31855 probeStone(D4);
                 ^

EspOven:41: error: 'D8' was not declared in this scope
#define PIN_RELAY_CHAMBER D8
                       ^

E:\Mypcb\espoven\EspOven\EspOven.ino:103:24: note: in expansion of macro 'PIN_RELAY_CHAMBER'
RelayAction actChamber(PIN_RELAY_CHAMBER,false); // arduino relay module has inverse logic LOW --> ON, HIGH --> OFF
                    ^

EspOven:44: error: 'D0' was not declared in this scope
#define PIN_RELAY_STONE   D0
                         ^

E:\Mypcb\espoven\EspOven\EspOven.ino:104:22: note: in expansion of macro 'PIN_RELAY_STONE'
RelayAction actStone(PIN_RELAY_STONE,false); // arduino relay module has inverse logic LOW --> ON, HIGH --> OFF
                  ^

E:\Mypcb\espoven\EspOven\EspOven.ino: In function 'void setup()':
EspOven:41: error: 'D8' was not declared in this scope
#define PIN_RELAY_CHAMBER D8
                       ^

E:\Mypcb\espoven\EspOven\EspOven.ino:113:11: note: in expansion of macro 'PIN_RELAY_CHAMBER'
pinMode(PIN_RELAY_CHAMBER, OUTPUT);
       ^

EspOven:44: error: 'D0' was not declared in this scope
#define PIN_RELAY_STONE   D0
                         ^

E:\Mypcb\espoven\EspOven\EspOven.ino:114:11: note: in expansion of macro 'PIN_RELAY_STONE'
pinMode(PIN_RELAY_STONE, OUTPUT);
       ^

EspOven:52: error: 'D1' was not declared in this scope
#define PIN_BUZZER        D1
                         ^

E:\Mypcb\espoven\EspOven\EspOven.ino:120:11: note: in expansion of macro 'PIN_BUZZER'
pinMode(PIN_BUZZER, OUTPUT);
       ^

EspOven:128: error: 'CheckConnectWifi' was not declared in this scope
CheckConnectWifi();
                ^

EspOven:149: error: 'UpdateParams' was not declared in this scope
UpdateParams();
            ^

E:\Mypcb\espoven\EspOven\EspOven.ino: In function 'void PlayNote()':
EspOven:52: error: 'D1' was not declared in this scope
#define PIN_BUZZER        D1
                         ^

E:\Mypcb\espoven\EspOven\EspOven.ino:493:10: note: in expansion of macro 'PIN_BUZZER'
 tone(PIN_BUZZER, melody[numNote], noteDuration);

      ^

exit status 1
'D3' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Google search, but I don't know what motherboard type should I choose
Thanks
<EMAIL_ADDRESS>

If I remember correctly try with NodeMCU v3 or something like that


Improve performance of emissary.output.DropOffUtil.processMetadata() by improving getCookedParameters.

This method is called for each BaseDataObject and creates a new TreeMap each time along with a bunch of TreeMap$Entry objects. This can be reduced to reusing a single Map object with no Entry objects being created.

Let's hold off on this one for now. Maintaining a custom data set for this application may be a bit much.

Let's hold off on this one for now. Maintaining a custom data set for this application may be a bit much.
Does it make sense that instead of building the whole TreeMap for filetype lookups, just have a getFileType method that performs the lookups of the keys necessary. It could look just like the current method but instead of a metaData.containsKey, do a p.getStringParameter().

I agree that this is the solution that we should pursue. Using getCookedParameters here is unnecessary (duplicating every single parameter to get a limited subset) and considering that this is critical path, we would do good in optimizing the getFileType() method to only check the desired fields.

Are we accepting the api breaking change for this?

Are we accepting the api breaking change for this?

Are you referring to the fact that the method signature is changing? I think that it is worthwhile, considering the substantial savings this can have at scale
Would this require us to do a major version update?

Are we accepting the api breaking change for this?

Are you referring to the fact that the method signature is changing? I think that it is worthwhile, considering the substantial savings this can have at scale
Would this require us to do a major version update?

While migrating to the new DropOffUtil.getFileType signatures, it might be wise to retain the existing ones and supporting methods, annotated as @Deprecated, because this API change will cause upstream build failures.  They should be easily resolved, but there won't be any choice about when to resolve them.  Deprecation would prevent the upstream build failures but still provide a path to leverage the changes via a follow-on ticket.

Observations:

getFileType(...,) should not modify BDO passed in.
getFileType(...) calculates fileType and completeFileType, so these should be split into two methods.

For systems that use Emissary and the current DropOffUtil.getFileType(...) method and care about whether the Map that is passed in contains the "COMPLETE_FILENAME" key/value pair after DropOffUtil.getFileType(...) is called will not function properly using only the new DropOffUtil.getFileType(...) method. The new DropOffUtil.getCompleteFileType(...) method is also needed to completely replace the current DropOffUtil.getFileType(...) method. Therefore the DropOffUtil.getCompleteFileType(...) method cannot be removed from this PR.

For systems that use Emissary and the current DropOffUtil.getFileType(...) method and care about whether the Map that is passed in contains the "COMPLETE_FILENAME" key/value pair after DropOffUtil.getFileType(...) is called will not function properly using only the new DropOffUtil.getFileType(...) method. The new DropOffUtil.getCompleteFileType(...) method is also needed to completely replace the current DropOffUtil.getFileType(...) method. Therefore the DropOffUtil.getCompleteFileType(...) method cannot be removed from this PR.

Here's where I've been stuck:  I get that the new getFileType() overload no longer populates a value under the COMPLETE_FILENAME.getFieldName() key , and that leaves a gap for any downstream components looking for a value under that key.
I don't see how the new getCompleteFileType() method addresses that. The method isn't populating that key, it just wraps the short algorithm to find the value of what would have been shoved into that key by the eliminated side-effect.  If  getCompleteFileType() exists so that a downstream component can call it and stuff its return value under the COMPLETE_FILETYPE key, then that component is where the getCompleteFileType() method should be defined and implemented. Its inclusion here is odd, and the downstream component(s) would already have to change.

After much discussion, it appears that the most support is behind leaving the new getFileType(...) and getCompleteFileType(...) the way they are, changing method names if desired. Then, add a utility method that completes the original getFileType(...) capability by doing the following:

takes an IBaseDataObject and a Map and returns void
calls the new getFileType(...) and getCompleteFileType(...) methods
applies the getFileType()/getCompleteFileType() results to the map, as appropriate.


No license found

This project does not seem to have a license declared in an obvious way, or at all. A license should be added (as this project seems to be intended as open source) so that users can run, modify, study, distribute, and use the code.
https://choosealicense.com/no-permission/

Thanks for the notice, I guess that's something I always forgot when open sourcing my work.
Usually when I publish code on GitHub everyone is free to do whatever he wants to do but I have heard that's legally it's not true. No license means it's copyright work.


Add TR- İstanbul University domain @ogr.iu.edu.tr

@aozokutan I am sorry, the domain ogr.iu.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Fix issue with casing in path based rules

Fixed #851

Thanks @stevenbower, could you change the base branch to v1.1 ? I would love to get this into the next release :)


Path error starting elementum

After install the service APK and install the modified Zip I'm getting the error:
Stat
/storage/emulated/0/data/service.elementum.android/fi
No such file or directory
Device:
TCL android TV 11
Kodi version:
V19.3 matrix

Does this error have a stacktrace in logcat?

Same problem on Nvidia shield.....

Where are you getting this error?


[Key Management] Support configurable structured logging to endpoint.

Motivation
This small PR updates the Key Manager to support structured logging to a configurable logging endpoint.
Note: in this PR, we also:
(i) add an error log to the Key Manager when it fails, so that this failure is now obvious in the logs;
(ii) fix the template config argument for the Key Manager script.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan

To test logging to file, I simply verified that the logs we were written as expected to the specified location.

To test udp logging, I spawned a local instance of logstash, and pointed the key manager to it. I then verified that the logs generated by the key manager were forwarded to the logstash instance. Here's an example of the key manager starting up and failing:

{"location":"secure/key-manager/src/lib.rs:133","host":"<IP_ADDRESS>","log":"Checking the status of the keys.","pattern":"Checking the status of the keys.","@version":"1","timestamp":"2020-06-09 23:53:49","@timestamp":"2020-06-09T23:53:49.487Z","module":"libra_key_manager"}
{"location":"secure/key-manager/src/lib.rs:131","host":"<IP_ADDRESS>","log":"The key manager has been created and is starting execution.","pattern":"The key manager has been created and is starting execution.","@version":"1","timestamp":"2020-06-09 23:53:49","@timestamp":"2020-06-09T23:53:49.487Z","module":"libra_key_manager"}
{"location":"secure/key-manager/src/main.rs:71","host":"<IP_ADDRESS>","log":"Creating a libra interface that talks to the JSON RPC endpoint at: "http://<IP_ADDRESS>:8080".","pattern":"Creating a libra interface that talks to the JSON RPC endpoint at: {:?}.","data":{"json_rpc_endpoint":""http://<IP_ADDRESS>:8080\""},"@version":"1","timestamp":"2020-06-09 23:53:49","@timestamp":"2020-06-09T23:53:49.472Z","module":"libra_key_manager"}
{"location":"secure/push-metrics/src/pusher.rs:48","host":"<IP_ADDRESS>","log":"PUSH_METRICS_ENDPOINT env var is not set. Skipping sending metrics.","pattern":"PUSH_METRICS_ENDPOINT env var is not set. Skipping sending metrics.","@version":"1","timestamp":"2020-06-09 23:53:49","@timestamp":"2020-06-09T23:53:49.472Z","module":"libra_secure_push_metrics::pusher"}
~
Related PRs
None.

@sherry-x one thing that I think is worth mentioning: it seems that on failure, the last error!(..) call that the key manager makes (i.e., the error!(..) call added by this PR) isn't actually logged. It seems that the process fails too early for the log to actually be sent? (I've tested this by adding a sleep and seeing the error call printed out). I'm wondering what the best way to address this will be? Given how other services are deployed, this might actually be a common problem we'll need to fix?

@sherry-x one thing that I think is worth mentioning: it seems that on failure, the last error!(..) call that the key manager makes (i.e., the error!(..) call added by this PR) isn't actually logged. It seems that the process fails too early for the log to actually be sent? (I've tested this by adding a sleep and seeing the error call printed out). I'm wondering what the best way to address this will be? Given how other services are deployed, this might actually be a common problem we'll need to fix? Is there a way to force flush the logs when a process shuts down?

when it fails early, does the error message get print out as stderr? If that's the case, stderr should be able to find in docker logs

:umbrella: The latest upstream changes (presumably 70200e9194c4d6860feecd0cd9bb84aff74d43eb) made this pull request unmergeable. Please resolve the merge conflicts.

when it fails early, does the error message get print out as stderr? If that's the case, stderr should be able to find in docker logs

Thanks, Sherry! So it does get logged to stderr, so I guess one could debug it in the docker logs as you say. I just figured it would be nice for the logs to also correctly get forwarded to the service, but that's likely a problem for another day 😄

Thanks, all! @bors-libra r=davidiw

:pushpin: Commit ea3e146 has been approved by davidiw

:hourglass: Testing commit ea3e146996e4f6ade23f32dd4905798ee6146051 with merge 8083f7faf33c9177b8d4ba43e4926738efb40e9b...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing 8083f7faf33c9177b8d4ba43e4926738efb40e9b to master...


Cannot reconcile HTTP Details section with Adapter in Echo Bot

Hello, HTTP Details sections says "Activities sent from the bot to the channel are sent on a separate HTTP POST to the Bot Framework Service. This, in turn, is acknowledged with a 200 HTTP status code.".
I cannot grasp this idea when I'm developing bot locally. Or does this statement apply only to Azure Bot Service?
In the case of a local bot, HTTP POST request is received on the BotController, then passed to the adapter, than passed to the bot, which responds back and thus controller responds back with a message.
Could you help me to reconcile and clarify this?

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

ID: 4ccf81d0-a7a0-1e2a-5b35-8cfd723c1225
Version Independent ID: e3ebe0a1-a22f-1535-c649-3f79158b4ece
Content: How bots work - Bot Service
Content Source: articles/v4sdk/bot-builder-basics.md
Service: bot-service
Sub-service: sdk
GitHub Login: @johnataylor
Microsoft Alias: johtaylo

The diagram describes the communication between a channel and a bot deployed to Azure.
The controller wraps the HTTP service side of things. Does that help clarify?

Please reopen if you need additional information.


Contract ID documentation missing

There is no documentation on how to generate the CONTRACT_ID that is required in the .env file. If you can give me some short tips on how to run that (I'm guessing that is in the hh dir?) I'd be happy to write some docs to help others.

I'd be happy to send a PR when I get it to work. You tips on hardhat pointed me in the right direction -- I was able to build the contract and then deploy it, but it produces a contract that shows a balance that is not mine. Clearly I missed some config options somewhere.
Here is what I did:

Update PRIVATE_KEY in hardhat.config.js
Update the infura url to use my own

Then run:
npx hardhat compile
npx hardhat run scripts/deploy.js

And it produces 0x5FbDB2315678afecb367f032d93F642f64180aa3 , which has transaction on it that are not mine:
https://ropsten.etherscan.io/address/0x5FbDB2315678afecb367f032d93F642f64180aa3
What else needs changing?


Fix kubernetes example

Related: #433

This pull request is now managed with CodeReviewHub. Refresh.

-nv
--no-verbose
Turn off verbose without being completely quiet (use -q for that), which means that error messages and basic information still get printed.

Better. Will change this.


catvehicle.rviz missing

the book says "just open rviz and use catvehicle.rviz from chapter10_ws" but I cannot find it.

hi, i tried to manually configure rviz based on the images in the book, but i can't find the vehicle model (RobotModel). Could you find the vehicle model?


⚠ Bofrost.fr has degraded performance

In e98eee4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1727 ms

Resolved: Bofrost.fr performance has improved in 5e8f234 after 6 minutes.


Add usage of ruff in pandas to README

pandas now uses ruff for linting, see https://github.com/pandas-dev/pandas/pull/50160

Thanks :)


Add some more resources

https://www.freecodecamp.org/news/free-textbooks-math-science-and-more-online-pdf-for-college-and-high-school/

https://www.classcentral.com/

ComIT

assign me with this issue

I would like this issue

ComIT has been added but the others are still needed :)


second query needs correction

Joining compliance settings, status, and discovery views the query did not run as is. Currently in SCCM CB 1906 I had to modify this section: v_CIComplianceStatusDetail.Severity to this: v_CIComplianceStatusDetail.RuleSeverity after that change it ran without errors.

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

ID: 204a6658-b5b6-28ab-22a4-d9cdf0c5f57f
Version Independent ID: a92d9aae-ce8c-6531-30c6-fd503a645e86
Content: Sample queries for compliance settings - Configuration Manager
Content Source: sccm/develop/core/understand/sqlviews/sample-queries-compliance-settings-configuration-manager.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @kewljoe for the feedback

I submitted a change. This issue will auto close when the change merges. It will go live during our next daily publishing, tomorrow (Wednesday) around 11am Pacific.


How to emulate an installed PWA (i.e. set window.navigator.standalone=true)

Homework

[X] I took the time to write a good, descriptive issue title
[X] I read nativefier --help and API.md.
[X] I checked CATALOG.md for community suggestions & workarounds.
[X] I searched existing issues, open & closed. Yes, my question is new.
[X] I'm running the latest version.

Your question
The website app.blubank.com is a financial bank account management application, and it strictly requires you to use it only on the phone. To use it on a desktop computer, Two things must be changed:

User Agent: I sent a fake iOS user agent.
window.navigator.standalone: This attribute must be true; otherwise, the site will stop working.

I tried injecting this script:
window.navigator.standalone = true;

But it seems like because this is called in the DOMContentLoaded event, it is too late to change that attribute and the script already detected my PC. I tried searching in electron docs and other issues, but there is no other way to change this variable before the site's main script.
Steps to reproduce
nativefier "https://app.blubank.com" --name "ḃlu" -u "Mozilla/5.0 (iPhone; CPU iPhone OS 16_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Mobile/15E148  Safari/604.1" --inject i.js --single-instance --tray --width 450 --height 850

Debug info
No response
Nativefier version
50.1.1
Node.js version
v19.9.0
npm version
9.6.3
OS
macOS Ventura 13.3 (M1)

This is the method I extracted from the site's source which is responsible for checking PWA status:
export default function isStandalone() {
  return window.navigator.standalone || window.matchMedia('(display-mode: standalone)').matches
}


[Bug]: When the running time of a scheduled task is less than the current time, there should be a limit

ODC version
4.3.2
OB version
no related
What happened?

If the running time of a scheduled task is less than the current time, there should be a limit, and the task cannot be created successfully
What did you expect to happen?
If the running time of a scheduled task is less than the current time, there should be a limit, and the task cannot be created successfully
How can we reproduce it (as minimally and precisely as possible)?
Create a ticket that starts at a scheduled time, run time, and select less than the current time
Anything else we need to know?
No response

Fixed In Commit aea920f6c537dfbd27fbda60b9148708ef45640f
------
畅晚
Mon Sep 23 13:51:12 2024 +0800

Today is September 24th, and the date of the 24th cannot be chosen

Fixed In Commit 5c31e947fe3e5fe1f34b6d73fa1ec58e03702d3e
------
畅晚
Tue Sep 24 18:01:29 2024 +0800

You can still choose the early morning of the same day by directly selecting

Fixed In Commit 9ec5ef705eea3bacdc1619f6bb9cd43dfe261219
------
畅晚
Wed Sep 25 16:02:09 2024 +0800

pass


Feature request: Variables for tasks

Hey, love the project!
I would like for all tasks to have similar context, say I am writing a youtube video on the topic "Dell vs Samsung Monitor" and I might have 5 different tasks one after the other (research, write draft, check facts, adjust writing style, suggest B-roll ideas etc). But next time I might compare "Samsung vs Apple phones", for the same crew, with same tasks.
it would be awesome if I could pass same option to all tasks, like
"The topic you are to do a research is { user_input } and you are to do your best work. If you do your best work, {motivational_string}"
or something like that

Hey, thanks for the feedback!
You can already do this! Just use curly brackets in the task definitions (e.g., {user_input} and {motivational_string}). You'll be prompted to fill them in before starting the crew, and the values will be shared across all tasks automatically.
Let me know if you have any questions!

ha! that was fast, thanks man!
again, great job with making this, it has so many useful features, reminds me of Laravel for php (tool has focus on actually helping developers with things they do often).
I am just struggling to import more tools, even if I install them, python shows message that they are missing. But this is because I suck as python and do not understand different virtual environments etc.
It would be great if you could continue driving this tool in the future so it doesn't stale. I hope it will catch on :)


zmk, behaviour hold-tap

Attempting to use a custom behaviour for hold-tap; not able to save.

(If there is a better way to get this option, I am here for it).

Hi, thanks for the report! It looks like you're doing things correctly there as all of the required fields are filled in. I'm trying to reproduce this effect myself with the same parameters and it only happens if I haven't checked the Enable Beta checkbox. Could you confirm if that's the case here?

I had the enable beta box clicked when I was making this.

Can you check the browser console for errors? If you're clicking Okay and nothing happens then that would suggest an error that isn't being caught.

Wait, I'm seeing in your other screenshot that the behavior exists because it's already bound to some keys. By save you mean commit? I'm seeing error logs for red-four/reviung41-v3, is that the repo in question? It looks like you've removed it from your installation which means the app no longer has write permissions.

... ohhh. because I deleted and then remade it, but didn't give the new one permissions. That would do it.

Awesome, glad to hear that!


Create ResendRequestPasswordReset

Coming from this issue, we need a new command for ResendRequestPasswordReset for when the user clicks the Resend link in the Forgot? password page. We also need to remove the linkHasBeenResent since we should NOT show that message the first time we navigate the user to the Forgot? page

got some draft prs here https://github.com/Expensify/Web-Expensify/pull/34769 https://github.com/Expensify/App/pull/10798, i'll finish these off on monday.

was focused on something else yesterday, working on finalizing my PRs today for this.

publishing PRs today

web-e pr is in review, once that's finished I'll update the App PR.

woohoo, web-e PR was merged 🎉

throwingContributorPlusReview on here to get https://github.com/Expensify/App/pull/10798/ reviewed

@arielgreen I went ahead and put the Exported label on so that @mananjadhav would get assigned to review the PR right away. You'll still need to create the GH issue. Thanks!


[Feature Request] Enhancing Thorium PDF Reader with Text Highlighting, Read-Aloud, and More for an Improved User Experience

Is your feature request related to a problem? Please describe.
I mainly rely on digital documents, especially PDFs, for my studies as an engineering student. For me, being able to highlight and color-code crucial content in these documents is a crucial function. Having this option enabled me to separate crucial knowledge from less important during exam preparation, which was quite helpful. While various browsers can read PDFs in a rudimentary way, only Microsoft Edge has the extensive feature set I want, like text highlighting and two-page viewing.
Describe the solution you'd like, including relevant patches or source
I would really want to see Thorium, the PDF reader I've been using, incorporate some of the great features found in Microsoft Edge. For me, thorium has shown to be a dependable tool, and I intend to keep using it. Thorium would become much more adaptable and user-friendly by including these features.
Additional Notes
N/A

I run into same issue, for now solution is using forks of pdf.js from mozilla like this and this but they are laggy and unconvinient to use

Thanks for the advice.