[FELIX] - Tagging loss becomes NaN

Hello,
when I run the DiscoFuse running example for FELIX, during the training of the tagging model, the loss becomes NaN at some point. This doesn't happen for the insertion model.
I am using the tensorflow version 2.9.1 (I installed the requirements.txt with pip).
 Please remove `sequence_length` argument.
2023-07-02 01:54:05.908122: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-07-02 01:54:06.609735: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 10415 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1080 Ti, pci bus id: 0000:af:00.0, compute capability: 6.1
I0702 01:54:10.107235<PHONE_NUMBER>5488 optimization.py:87] using Adamw optimizer
I0702 01:54:10.107491<PHONE_NUMBER>5488 optimization.py:140] gradient_clip_norm=1.000000
WARNING:tensorflow:The argument `steps_per_execution` is no longer experimental. Pass `steps_per_execution` instead of `experimental_steps_per_execution`.
W0702 01:54:10.107635<PHONE_NUMBER>5488 training.py:627] The argument `steps_per_execution` is no longer experimental. Pass `steps_per_execution` instead of `experimental_steps_per_execution`.
I0702 01:54:10.427585<PHONE_NUMBER>5488 run_felix.py:166] Initializing from a BERT checkpoint...
I0702 01:54:52.159135<PHONE_NUMBER>5488 run_felix.py:183] Starting training from iteration: 0.
WARNING:tensorflow:Model failed to serialize as JSON. Ignoring... 'FelixTagLoss' object has no attribute '_config'
W0702 01:54:52.172672<PHONE_NUMBER>5488 callbacks.py:2061] Model failed to serialize as JSON. Ignoring... 'FelixTagLoss' object has no attribute '_config'
Epoch 1/500
WARNING:tensorflow:Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
W0702 01:54:54.478482<PHONE_NUMBER>5488 utils.py:76] Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
WARNING:tensorflow:Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
W0702 01:54:57.368436<PHONE_NUMBER>5488 utils.py:76] Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
WARNING:tensorflow:Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
W0702 01:55:00.801969<PHONE_NUMBER>5488 utils.py:76] Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
WARNING:tensorflow:Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
W0702 01:55:03.620443<PHONE_NUMBER>5488 utils.py:76] Gradients do not exist for variables ['pooler_transform/kernel:0', 'pooler_transform/bias:0'] when minimizing the loss. If you're using `model.compile()`, did you forget to provide a `loss`argument?
2023-07-02 01:55:19.127899: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:390] Filling up shuffle buffer (this may take a while): 30152 of 50000
2023-07-02 01:55:22.578884: I tensorflow/core/kernels/data/shuffle_dataset_op.cc:415] Shuffle buffer filled.

28/28 [==============================] - ETA: 0s - loss: 11.0296 - tag_loss: 2.6948 - tag_accuracy: 0.1018 - tag_exact_match: 0.0000e+00 - point_loss: 8.3348 - point_accuracy: 0.0254 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: 11.0296
28/28 [==============================] - 67s 2s/step - loss: 11.0296 - tag_loss: 2.6948 - tag_accuracy: 0.1018 - tag_exact_match: 0.0000e+00 - point_loss: 8.3348 - point_accuracy: 0.0254 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: 11.0296 - val_loss: 10.6282 - val_tag_loss: 2.6900 - val_tag_accuracy: 0.0670 - val_tag_exact_match: 0.0000e+00 - val_point_loss: 7.9382 - val_point_accuracy: 0.0280 - val_point_exact_match: 0.0000e+00 - val_exact_match: 0.0000e+00 - val_total_loss: 10.6282
Epoch 2/500

28/28 [==============================] - ETA: 0s - loss: 10.9989 - tag_loss: 2.7371 - tag_accuracy: 0.0885 - tag_exact_match: 0.0000e+00 - point_loss: 8.2618 - point_accuracy: 0.0259 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: 10.9989
28/28 [==============================] - 97s 3s/step - loss: 10.9989 - tag_loss: 2.7371 - tag_accuracy: 0.0885 - tag_exact_match: 0.0000e+00 - point_loss: 8.2618 - point_accuracy: 0.0259 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: 10.9989 - val_loss: 10.5075 - val_tag_loss: 2.6793 - val_tag_accuracy: 0.0682 - val_tag_exact_match: 0.0000e+00 - val_point_loss: 7.8282 - val_point_accuracy: 0.0271 - val_point_exact_match: 0.0000e+00 - val_exact_match: 0.0000e+00 - val_total_loss: 10.5075
Epoch 3/500

After a varying number of epochs, the loss turns to NaN:
28/28 [==============================] - ETA: 0s - loss: 0.6629 - tag_loss: 0.4535 - tag_accuracy: 0.8362 - tag_exact_match: 0.0826 - point_loss: 0.2095 - point_accuracy: 0.9404 - point_exact_match: 0.3438 - exact_match: 0.0603 - total_loss: 0.6629
28/28 [==============================] - 8s 300ms/step - loss: 0.6629 - tag_loss: 0.4535 - tag_accuracy: 0.8362 - tag_exact_match: 0.0826 - point_loss: 0.2095 - point_accuracy: 0.9404 - point_exact_match: 0.3438 - exact_match: 0.0603 - total_loss: 0.6629 - val_loss: 0.6517 - val_tag_loss: 0.4527 - val_tag_accuracy: 0.8450 - val_tag_exact_match: 0.0938 - val_point_loss: 0.1990 - val_point_accuracy: 0.9440 - val_point_exact_match: 0.2500 - val_exact_match: 0.0625 - val_total_loss: 0.6517
Epoch 129/500

28/28 [==============================] - ETA: 0s - loss: nan - tag_loss: nan - tag_accuracy: 0.1753 - tag_exact_match: 0.0067 - point_loss: nan - point_accuracy: 0.2869 - point_exact_match: 0.0670 - exact_match: 0.0045 - total_loss: nan
28/28 [==============================] - 8s 296ms/step - loss: nan - tag_loss: nan - tag_accuracy: 0.1753 - tag_exact_match: 0.0067 - point_loss: nan - point_accuracy: 0.2869 - point_exact_match: 0.0670 - exact_match: 0.0045 - total_loss: nan - val_loss: nan - val_tag_loss: nan - val_tag_accuracy: 0.0000e+00 - val_tag_exact_match: 0.0000e+00 - val_point_loss: nan - val_point_accuracy: 0.1120 - val_point_exact_match: 0.0000e+00 - val_exact_match: 0.0000e+00 - val_total_loss: nan
Epoch 130/500

28/28 [==============================] - ETA: 0s - loss: nan - tag_loss: nan - tag_accuracy: 0.0000e+00 - tag_exact_match: 0.0000e+00 - point_loss: nan - point_accuracy: 0.1101 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: nan
28/28 [==============================] - 8s 296ms/step - loss: nan - tag_loss: nan - tag_accuracy: 0.0000e+00 - tag_exact_match: 0.0000e+00 - point_loss: nan - point_accuracy: 0.1101 - point_exact_match: 0.0000e+00 - exact_match: 0.0000e+00 - total_loss: nan - val_loss: nan - val_tag_loss: nan - val_tag_accuracy: 0.0000e+00 - val_tag_exact_match: 0.0000e+00 - val_point_loss: nan - val_point_accuracy: 0.1120 - val_point_exact_match: 0.0000e+00 - val_exact_match: 0.0000e+00 - val_total_loss: nan
Epoch 131/500

I have attached the complete output file: disco_output.txt
For the rest of the epochs, only the point_accuracy and the val_point_accuracy are number values. Predictions are generated but it seems like their quality is affected by the NaN.
I am aware that a NaN loss can have many reasons, so I have tried these strategies with no success:

Lowering the learning rate: I lowered it to 0.000003, this postponed the point at which the tagging loss becomes NaN, but it still happened
Clipping the gradient: As I understand it, the gradient is already being clipped, as one of the outputs during training is using Adamw optimizer and gradient_clip_norm=1.000000
Batch size: I have made the number of training and eval examples divisible by the batch size, so that the last batch doesn't have a different size. I have also tried the batch sizes 16, 32, 64 and 128.
I have tried running FELIX on Google Cloud TPUs
Validity of inputs: I read somewhere that tfrecord doesn't accept NaN values, so they shouldn't occur. But the data could still be the problem.
I have tried adding jitter to the tag_logits in line 277 of felix_models.py (+ 0.00001)
I have used varying dataset sizes and epoch numbers

I would be very grateful for any tips or suspicions what the problem is here or to hear how someone else solved this problem!
Please let me know if I should provide any other information.

Hey, have you solved this problem? I have met the same problem as you.

Hi, I am relatively confident that the problem lies in the data and data processing. I noticed that the number of converted insertion examples and converted tagging examples was sometimes not the same. To fix this, I changed line 112 of preprocess_main.py  to if example is not None and insertion_example is not None: (and deleted line 115). This way, only data points are created, where both insertion and tagging example can be processed. But the NaN still occurred with my own data, and it turned out that some rare data points caused this; I had to manually identify these sentences using binary search on the data set. I did not find out what common factor could have caused this, but it appeared that some input sentences caused the NaN loss. I hope this helps a least a bit, good luck!


Azure LB Session Persistance configurations

What's the configuration of Azure (Internal) Load Balancer session persistence (i.e.: None, Client IP, Client IP & Protocol) ?

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

ID: e1eac8a5-9217-7d91-d775-e062e7ea9c74
Version Independent ID: ee080620-cc4f-bf5f-2c55-ca06d8deca63
Content: Active Directory Federation Services in Azure
Content Source: WindowsServerDocs/identity/ad-fs/deployment/how-to-connect-fed-azure-adfs.md
Service: active-directory
GitHub Login: @billmath
Microsoft Alias: billmath

makes sense @calethix. Thank you very much!


(url not supported) [generic] None: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403:

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
hello ,
getting error with yt-dlp,
can you please tell me where the error lies'?
thanks!
[generic] Extracting URL: https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561 [generic] videoplayback?expire=1681521561: Downloading webpage ERROR: [generic] None: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
the url provided is
`yt-dlp https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561&ei=Oac5ZO_DC92jgQfIvYLQBA&ip=2a0d%3A3344%3A1b58%3Aa200%3A7c05%3Aefd%3A5169%3Aab03&id=o-AI7gHy1FXqDKhaTLG0caU8BJd3p3ADPBH3GutFX398X_&itag=22&source=youtube&requiressl=yes&mh=a3&mm=31%2C26&mn=sn-4g5e6nss%2Csn-f5f7kn7z&ms=au%2Conr&mv=m&mvi=2&pl=42&initcwndbps=692500&spc=99c5CSd2g2D6OWYAjGPSMTk5a30qNffTFz3gP3PcHw&vprv=1&mime=video%2Fmp4&ns=6aGMmdy5V6CLYgipeKbcDOoM&cnr=14&ratebypass=yes&dur=5229.226&lmt=1681071615497209&mt=1681499574&fvip=3&fexp=24007246&c=WEB&txp=5318224&n=4j70U_2kyDCa5w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgJgFWtj-XINQOyAJEYLCbxG5KxfPiGvhH9_Q7b2lbxQACIGZ3yROdzTYkC5y35wxU_jTqE7hvptuO2zVQC9RyLBVl&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJnEKSvOajF3ufwomcQKvWIwkKYeK98GujtDl0OPV3o1AiEA6vJxqyhAXJ4r-sHMyaqjunfmMpCxJCDFDamAxRkaWu4%3D
`
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (zip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-146-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Optional libraries: Crypto-broken 2.6.1, certifi-2019.11.28, pyxattr-0.6.1, secretstorage-2.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 91cad9f121c1f6f0a81b747415c46ecba0ff331ed38cc6433040b4ac7b6e15ca
yt-dlp is up to date<EMAIL_ADDRESS>[generic] Extracting URL: https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561
[generic] videoplayback?expire=1681521561: Downloading webpage
ERROR: [generic] None: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 694, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2371, in _real_extract
    full_response = self._request_webpage(url, video_id, headers={
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 839, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 821, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 3742, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

Quote the URL

qutoing the URL leads to another error message
[generic] None: '“https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561' is not a valid URL. Set --default-search "ytsearch" (or run  yt-dlp "ytsearch:“https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561" ) to search YouTube

the leading quote you used was “, which is the unicode "left double quotation mark" (U+201C)
just use plain ascii quotes, "

Experienced same 403 error this morning. I ran into an identical problem with (https://github.com/Nandaka/PixivUtil2). The solution to both was adding: --user-agent "Mozilla/5.0"
Use only "Mozilla/5.0" as user-agent.

thank, but this would not function nvtlss,
even with user-agent as suggested,
`yt-dlp --user-agent "Mozilla/5.0" "https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561&ei=Oac5ZO_DC92jgQfIvYLQBA&ip=2a0d%3A3344%3A1b58%3Aa200%3A7c05%3Aefd%3A5169%3Aab03&id=o-AI7gHy1FXqDKhaTLG0caU8BJd3p3ADPBH3GutFX398X_&itag=22&source=youtube&requiressl=yes&mh=a3&mm=31%2C26&mn=sn-4g5e6nss%2Csn-f5f7kn7z&ms=au%2Conr&mv=m&mvi=2&pl=42&initcwndbps=692500&spc=99c5CSd2g2D6OWYAjGPSMTk5a30qNffTFz3gP3PcHw&vprv=1&mime=video%2Fmp4&ns=6aGMmdy5V6CLYgipeKbcDOoM&cnr=14&ratebypass=yes&dur=5229.226&lmt=1681071615497209&mt=1681499574&fvip=3&fexp=24007246&c=WEB&txp=5318224&n=4j70U_2kyDCa5w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIgJgFWtj-XINQOyAJEYLCbxG5KxfPiGvhH9_Q7b2lbxQACIGZ3yROdzTYkC5y35wxU_jTqE7hvptuO2zVQC9RyLBVl&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJnEKSvOajF3ufwomcQKvWIwkKYeK98GujtDl0OPV3o1AiEA6vJxqyhAXJ4r-sHMyaqjunfmMpCxJCDFDamAxRkaWu4%3D"
[generic] Extracting URL: https://rr2---sn-4g5e6nss.googlevideo.com/videoplayback?expire=1681521561&ei=Oac5ZO_DC92jgQfIvYLQ...CxJCDFDamAxRkaWu4%3D
[generic] videoplayback?expire=1681521561&ei=Oac5ZO_DC92jgQfIvYLQBA&ip=2a0d:3344:1b58:a200:7c05:efd:5169:ab03&id=o-AI7gHy1FXqDKhaTLG0caU8BJd3p3ADPBH3GutFX398X_&itag=22&source=youtube&requiressl=yes&mh=a3&mm=31,26&mn=sn-4g5e6nss,sn-f5f7kn7z&ms=au,onr&mv=m&mvi=2&pl=42&initcwndbps=692500&spc=99c5CSd2g2D6OWYAjGPSMTk5a30qNffTFz3gP3PcHw&vprv=1&mime=video/mp4&ns=6aGMmdy5V6CLYgipeKbcDOoM&cnr=14&ratebypass=yes&dur=5229: Downloading webpage
ERROR: [generic] None: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U`

videoplayback?expire=1681521561

$ date -u -d@1681521561
Sat Apr 15 01:19:21 AM UTC 2023

$ date -u
Sat Apr 15 03:05:39 PM UTC 2023

the URL expired over 12 hours ago. you'll need to fetch a new one from youtube

thank you very much for the help,
with updated link getting another error
yt-dlp "https://rr2---sn-4g5lznls.googlevideo.com/videoplayback?expire=1681690683&ei=2zs8ZLr6BtPF1gL-opyACQ&ip=2a0d%3A3344%3A1b58%3Aa200%3Adcaa%3Ad20%3Ac11e%3Ac8a5&id=o-AIpbFk4wDX16ZXSMu4Fuv-2qFCmBMtJqPPTUWVsDzqwl&itag=22&source=youtube&requiressl=yes&mh=jD&mm=31%2C29&mn=sn-4g5lznls%2Csn-4g5edn6r&ms=au%2Crdu&mv=m&mvi=2&pl=42&initcwndbps=805000&spc=99c5CeBSB-DRqCTKOCZCVYo4JgVU6C3BGuxO3dQCtg&vprv=1&mime=video%2Fmp4&ns=bQGimaAT9vhDMeoHiKcbOKUM&cnr=14&ratebypass=yes&dur=3097.797&lmt=1681645662949386&mt=1681668772&fvip=2&fexp=24007246&c=WEB&txp=5432434&n=VuW6VLXUb1bo0w&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Cmime%2Cns%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRQIgYETXZbw_nz6lwcssK7IHprZkwFFqOEtiiFAkLXMYTlMCIQDMqRjmL7GnFxE8ec3_chxVu0fWd3mLk5kwTNc_0wr7kA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhANfPAxBVHXuZOXTmOBrIKpaBJq33WHuzysshV9eSR1cTAiBx0UEhKnfUoICSFBUYOgvmVm6FaK4K1W8WJrjE3SiBNQ%3D%3D" [generic] Extracting URL: https://rr2---sn-4g5lznls.googlevideo.com/videoplayback?expire=1681690683&ei=2zs8ZLr6BtPF1gL-opyA...1W8WJrjE3SiBNQ%3D%3D [generic] videoplayback?expire=1681690683&ei=2zs8ZLr6BtPF1gL-opyACQ&ip=2a0d:3344:1b58:a200:dcaa:d20:c11e:c8a5&id=o-AIpbFk4wDX16ZXSMu4Fuv-2qFCmBMtJqPPTUWVsDzqwl&itag=22&source=youtube&requiressl=yes&mh=jD&mm=31,29&mn=sn-4g5lznls,sn-4g5edn6r&ms=au,rdu&mv=m&mvi=2&pl=42&initcwndbps=805000&spc=99c5CeBSB-DRqCTKOCZCVYo4JgVU6C3BGuxO3dQCtg&vprv=1&mime=video/mp4&ns=bQGimaAT9vhDMeoHiKcbOKUM&cnr=14&ratebypass=yes&dur=3097: Downloading webpage [info] videoplayback?expire=1681690683&ei=2zs8ZLr6BtPF1gL-opyACQ&ip=2a0d:3344:1b58:a200:dcaa:d20:c11e:c8a5&id=o-AIpbFk4wDX16ZXSMu4Fuv-2qFCmBMtJqPPTUWVsDzqwl&itag=22&source=youtube&requiressl=yes&mh=jD&mm=31,29&mn=sn-4g5lznls,sn-4g5edn6r&ms=au,rdu&mv=m&mvi=2&pl=42&initcwndbps=805000&spc=99c5CeBSB-DRqCTKOCZCVYo4JgVU6C3BGuxO3dQCtg&vprv=1&mime=video/mp4&ns=bQGimaAT9vhDMeoHiKcbOKUM&cnr=14&ratebypass=yes&dur=3097: Downloading 1 format(s): fmp4 **ERROR: unable to open for writing: [Errno 36] File name too long:** 'videoplayback [videoplayback？expire=1681690683&ei=2zs8ZLr6BtPF1gL-opyACQ&ip=2a0d：3344_1b58：a200：dcaa：d20：c11e：c8a5&id=o-AIpbFk4wDX16ZXSMu4Fuv-2qFCmBMtJqPPTUWVsDzqwl&itag=22&source=youtube&requiressl=yes&mh=jD&mm=31,29&mn=sn-4g5lznls,sn-4g5edn6r&ms=au,rdu&mv=m&mvi=2&pl=42&initcwndbps=805000&spc=99c5CeBSB-DRqCTKOCZCVYo4JgVU6C3BGuxO3dQCtg&vprv=1&mime=video⧸mp4&ns=bQGimaAT9vhDMeoHiKcbOKUM&cnr=14&ratebypass=yes&dur=3097].unknown_video.part'

[Errno 36] File name too long

use --output or -o to specify an output template / shorter filename, e.g.:
yt-dlp -o "%(epoch)s.%(ext)s" "URL"

well, thanks, this has worked out,
but download is unusually slow , as if with youtube-dl, only around 50kbps;
can live with that, but its not optimal.

try adding --http-chunk-size 10M

Why are you doing it like this anyway?


Generic Storage Api

Summary

Write Grpc ProtoBuf file for Generic Storage Api

Time Requirements

This task is only to write the protobuf file which will be very simple. Should take 4 hours at most.

Acceptance Criteria

Protobuf file should have these functions

SaveSerializedClass(string SerializedClass) : return uuid

GetSerializedClass(string uuid)

GetAllSerializedClasses() : returns all serialized strings List

Should contain those 3 functions and the data messages to go with it

User Story

As a developer I want to serialize any class, and save it through this grpc api, and KubeOps will deserialize it and save it to a specific CRD

Not needed now with move away from CRDs.


E-Series support with Embedded API systems

Current docs have references to systems running behind the E-Series rest proxy, but are systems running the Embedded System Manager(like e2800 family) also supported on netapp dvp?
If so, it would be good to have the documentation stating it, and also some of the configurations directives, make less sense or need to be named differently.

@plz,
Yes, the embedded proxy is also supported. Will take an action to clarify the documentation.


Update request: rocmPackages.*5.7.1→ 6.0.1

Package name: rocmPackages.*
Latest released version: 6.0.1

Current version on the unstable channel: 5.7.1
Current version on the stable/release channel: 5.7.1

[x] Checked the nixpkgs pull requests

Notify maintainers
@Madouura @Flakebi @lovesegfault

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

I've had to change course and make some life decisions, so ROCm is very low priority for me at the moment, I only really have time for super minor things on github right now.
If somebody wants to make rocmPackages_6 in the meantime, you should for the most part just be able to copy/paste it over to a new folder, and modify some lines on each derivation, change all-packages.nix, etc.
See https://github.com/Madouura/nixpkgs/tree/dev/rocm-rework for some preliminary work I've done if you want to include it.


pgAdmin should use KeyCloak for signin

Right now pgAdmin relies on username/password for the admin user. This is managed seperately as a secret file.
Since we introduce Keycloak as IAM solution, and will of course add later an Application Admin User for Avalanche CMS, there is no reason why we should extend this to the remaining applications for infra / management as well...
pgAdmin can use Oauth2: https://www.pgadmin.org/docs/pgadmin4/development/oauth2.html
also LDAP: https://www.pgadmin.org/docs/pgadmin4/development/login.html
Kerberos: https://www.pgadmin.org/docs/pgadmin4/development/kerberos.html
and others...
it should be possible.
At the moment there is no boostrapping for the realms/users in keycloak - so the solution could be OKish if the guide is extended with instructions how to add a user first... but in the long run the admin user should be automated of course.

Here is a direct tutorial, let's try this: https://www.olavgg.com/show/how-to-configure-pgadmin-4-with-oauth2-and-keycloak


Changing RecordEncoder to generic Encoder

RecordEncoder doesn't actually do anything record-specific and we have other
objects (image metadata) that we want to encode with JSON. A normal JSON
encoder can't encode datetimes, but we can just make RecordEncoder a generic
Encoder that encodes datetimes as ISO-8601.
Also makes the small change that timestamps are assumed to be in UTC time
zone, related to the changes in the backend:

https://github.com/JeetShetty/GreenPiThumb/pull/101
https://github.com/JeetShetty/GreenPiThumb/pull/109

Changes the serialized format to append a Z (representing UTC time zone) instead
of an offset from UTC in hours.

Coverage remained the same at 21.622% when pulling 48a43bb971b6d437238623402c9494002c03f856 on mtlynch:json-encoder into fbf3da6436289319ee5e085e3bf8396f7b09e17d on JeetShetty:master.


Rollback to commit

support revert by commit

Please let's use git terminology to specify exactly what we want: revert or reset ("rollback" is heavily overloaded in version-control terms).


Add cookie banner

Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below.

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

I tested this locally and deployed this to https://sketch-pad-1cebb--cookie-banner-bvpssvbh.web.app, but I'm not seeing the cookie banner.
cc/ @devoncarew

cc/ @devoncarew I remember you mentioning there were some technical issues you noticed when you tried to add this feature?

I was not able to see the banner when I tried this myself, a few months ago. If I remember correctly, I think that the flutter content was always full screen - the banner didn't have any height, or was obscured?
Perhaps I was missing something, or the banner has some other check that wasn't triggering. From the screenshot @mit-mit was able to get it working.

I think this is because I am in the US.

The Cookie Notification Bar will only be shown if the user is visiting from an eligible region, so will not be visible if testing from elsewhere (eg. United States).

@johnpryan can you try to test with that and confirm that its working on your end on your staged site? If so, please go ahead and merge.

LGTM


Add timeout to wait for CompletionStages / Futures.

CompletionStage/Future assertions should provide timeouts such as assertThat(future).completesWithin(1000)... to allow testing with multiple threads without unpredictable race conditions.
The name of the method is up to discussion. A timeout parameter might also be added to existing asserts, such as
 CompletableFuture<String> foo;
 assertThat(foo).isCompletedWithin(3000, TimeUnit.SECONDS)
 assertThat(foo).hasFailedWithin(3000, TimeUnit.SECONDS)

The Awaitility library design should be taken into consideration.
Discussed in #1010

I can work on this.

Sorry for digging up an old issue, but what happened to failsWithin()?

succeedsWithin has been added, let's finish this issue by adding failsWithin

I think the best is to pass whatever exception was thrown (including cancellation) and let the user chain the correct assertions based on the contract of CompletableFuture.
// Interrupted
assertThat(tokenFuture).failsWithin(duration).isInstanceOf(InterruptedException.class);

// Cancelled
assertThat(tokenFuture).failsWithin(duration).isInstanceOf(CancellationException.class);

// Time out
assertThat(tokenFuture).failsWithin(duration).isInstanceOf(TimeoutException.class);

// Generic failure.
assertThat(tokenFuture).failsWithin(duration).isInstanceOf(ExecutionException.class)
    .hasCauseInstanceOf(MyOwnException.class);

Regarding the hasFailed(), I was not part of the discussion but it seems to me that the cancelation should be a failure as well. The documentation states the following:

Since (unlike FutureTask) this class has no direct control over the computation that causes it to be completed, cancellation is treated as just another form of exceptional completion. Method cancel has the same effect as completeExceptionally(new CancellationException()). Method isCompletedExceptionally() can be used to determine if a CompletableFuture completed in any exceptional fashion.

But again, maybe this was discussed and there's a good reason I cannot not see?

I agree that would be the most natural.
I remember spending quite a bit of time trying to get the CompletableFuture assertions right and not being fully happy with them but at the time that was the best I could think of, in hindsight I would probably do it differently today, I'll consider deprecating hasFailed as part of this piece of work.

I think the confusion can come from the tense, I'd rename hasFailed() to isFailed() to better reflect that the check is done on the state - as in isCompletedExceptionally() - and does blocks on anything. But IMO those assertions are better done manually against the method.
Some shortcuts with the type might be nice? What do you think?
assertThat(tokenFuture).interruptsWithin(duration);
assertThat(tokenFuture).cancelsWithin(duration);
assertThat(tokenFuture).timesoutWithin(duration);

assertThat(tokenFuture).timesoutWithin(duration); reads nicely but the other a bit less,  isInterruptedWithin sounds better.
I see the usefulness of timesoutWithin but the other ones don't seem to me as useful.


fixed: current user team ids fetch issue in azure-devops plugin

Signed-off-by: Deepankumar Loganathan<EMAIL_ADDRESS>Hey, I just made a Pull Request!
This PullRequest will fix issue #15700.
Now the filters  AssignedToCurrentUsersTeams & CreatedByCurrentUsersTeams are working as excepted.

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@deepan10 can you update the description of this PR to mention the correct issue? You have #15700 when it really should be #15760. If you do that it will properly close the right issue for you. Thanks in advance!


permissions.json not populated when OPS is set.

I am using docker compose with the intent to deploy multiple MCBE instances under manymine.  I've set the OPS environment variable, but permissions.json is not getting populated.
Here is my redacted docker-compose.yml file:
version: "3.7"
services:
  manymine:
    image: illiteratealliterator/manymine
    container_name: manymine
    ports:
      - '19132:19132/udp'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

  minecraft-a:
    image: cubeworx/mcbe-server
    container_name: minecraft-a
    environment:
      EULA: "TRUE"
      SERVER_NAME: "Tristan's World"
      SERVER_PORT: "60601"
      GAMEMODE: "creative"
      ALLOW_CHEATS: "true"
      WHITE_LIST: "false"
      OPS: "XXXXXXXXXXXXXXXX"
    volumes:
      - ./minecraft-a-data:/mcbe/data
    ports:
      - '60601:60601/udp'
    stdin_open: true
    tty: true
    labels:
      - manymine.enable=true

As you can see, when the instance comes up, permissions.json is an an empty list:
# docker-compose up
WARNING: Found orphan containers (minecraft-b, minecraft-c) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Starting manymine    ... done
Starting minecraft-a ... done
Attaching to manymine, minecraft-a
minecraft-a    | ###########################################
minecraft-a    | Already initialized. Did container restart?
minecraft-a    | Checking for .mcaddon, .mcpack, or .zip files in /mcbe/data/addons.
minecraft-a    | Checking /mcbe/data/addons for behavior_packs.
minecraft-a    | Creating /mcbe/data/worlds/Bedrock-Level/world_behavior_packs.json
minecraft-a    | Adding pack.name uuid & version to /mcbe/data/worlds/Bedrock-Level/world_behavior_packs.json
minecraft-a    | Checking /mcbe/data/addons for resource_packs.
minecraft-a    | Creating /mcbe/data/worlds/Bedrock-Level/world_resource_packs.json
minecraft-a    | Adding pack.name uuid & version to /mcbe/data/worlds/Bedrock-Level/world_resource_packs.json
minecraft-a    | Starting Minecraft Bedrock Server Version <IP_ADDRESS> with the following configuration:
minecraft-a    | ########## SERVER PROPERTIES ##########
minecraft-a    | allow-cheats=true
minecraft-a    | compression-threshold=1
minecraft-a    | content-log-file-enabled=false
minecraft-a    | correct-player-movement=false
minecraft-a    | default-player-permission-level=member
minecraft-a    | difficulty=easy
minecraft-a    | force-gamemode=false
minecraft-a    | gamemode=survival
minecraft-a    | level-name=Bedrock-Level
minecraft-a    | level-seed=
minecraft-a    | max-players=10
minecraft-a    | max-threads=8
minecraft-a    | online-mode=true
minecraft-a    | player-idle-timeout=30
minecraft-a    | player-movement-distance-threshold=0.3
minecraft-a    | player-movement-duration-threshold-in-ms=500
minecraft-a    | player-movement-score-threshold=20
minecraft-a    | server-authoritative-block-breaking=false
minecraft-a    | server-authoritative-movement=server-auth
minecraft-a    | server-name=Tristan's World
minecraft-a    | server-port=60601
minecraft-a    | server-portv6=19133
minecraft-a    | texturepack-required=false
minecraft-a    | tick-distance=4
minecraft-a    | view-distance=32
minecraft-a    | white-list=false
minecraft-a    | ###############################
minecraft-a    |
minecraft-a    | ########## PERMISSIONS ##########
minecraft-a    | []
minecraft-a    | #################################
minecraft-a    |
minecraft-a    | ########## WHITELIST ##########
minecraft-a    | []
minecraft-a    | #################################
manymine       | MM_LISTEN_PORT=19132
manymine       | Listening for pings at <IP_ADDRESS>:19132
manymine       | Server added: /minecraft-a (42ff743b6ad4c6b6fe163c948f4596cf06cd46f9c05473c57592b9f0ca7dda7f)
manymine       | Server /minecraft-a is running on internal port 60601 and external port 60601
minecraft-a    | NO LOG FILE! - setting up server logging...
minecraft-a    | [2021-08-20 22:43:15 INFO] Starting Server
minecraft-a    | [2021-08-20 22:43:15 INFO] Version <IP_ADDRESS>
minecraft-a    | [2021-08-20 22:43:15 INFO] Session ID aad5ef1b-10ce-4f36-983c-74e8956dff14
minecraft-a    | [2021-08-20 22:43:15 INFO] Level Name: Bedrock-Level
minecraft-a    | [2021-08-20 22:43:15 INFO] Game mode: 0 Survival
minecraft-a    | [2021-08-20 22:43:15 INFO] Difficulty: 1 EASY
minecraft-a    | [INFO] opening worlds/Bedrock-Level/db
manymine       | /minecraft-a (<IP_ADDRESS>:60601) changed state from [Initial] to [No Response]
minecraft-a    | [INFO] IPv4 supported, port: 60601
minecraft-a    | [INFO] IPv6 not supported
minecraft-a    | [INFO] IPv4 supported, port: 19132
minecraft-a    | [INFO] IPv6 not supported
minecraft-a    | [INFO] Server started.
manymine       | /minecraft-a (<IP_ADDRESS>:60601) changed state from [No Response] to [Connected]

I tried manually configuring the permissions.json and using chattr +i permissions.json but then the server just fails to start with an error in the shell script that constructs permissions.json
I've found that I can connect to the container and grant OP permission, and permissions.json is updated, but that doesn't persist between container restarts.

Your not using my image, you're using cubeworx/mcbe-server. Report your issue there.

D'oh!  That's what happens when I'm working with too many browser tabs open...  I never meant to be using cubeworx/mcbe-server.  Switching to your container now.  Thanks for the reality check!


Mobs are rotating crazily

Description

This will be fixed by me.
Screenshots

The noRot: true flag needs to be set on the sprite component in the yaml to stop it from rotating (the player in the video has this set).

The noRot: true flag needs to be set on the sprite component in the yaml to stop it from rotating (the player in the video has this set).

Yep, already addressed in the PR I made.


Write about page

https://eriolhugotest.github.io/devs-guide-to/about/

Did a first draft of this - waiting to submit PR


[RPC] Fix tuning on macOS and Windows (#15771)

Fix regression in (#15187) when multiprocessing start method is not 'fork', which prevented tuning from working. This affects macOS and Windows. Also in python 3.14 the default start method will be 'spawn'.

CC @Johnson9009

The changes from the original code are now minimal, just removing the closure.


Fix HTTP header typo

Why:
There are occurrences where HTTP headers X-GitHub- are written as X-Github-.
Closes: #35429

What's being changed (if available, include any code snippets, screenshots, or gifs):
The HTTP headers X-Github- has been changed to X-GitHub-.

Check off the following:

[ ] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require a SME review from GitHub staff.
[x] The changes in this PR meet the docs fundamentals that are required for all content.
[x] All CI checks are passing.

@akordowski Apologies on behalf of the bot, and for the delay! Reviewing this now 💛

Closing per comment here 💛


Fixes

A few minor fixes

Pull Request Test Coverage Report for Build 875553347

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.019%

Totals

Change from base Build 839900540:
0.0%

Covered Lines:
44

Relevant Lines:
53

💛  - Coveralls


Bug: @xstate/inspect has 4x peer dependency

XState version
XState version 5
Description
the currently release xstate inspect package cannot be installed
Expected result
it should not have conflicts when installing the latest packages
Actual result
$ npm install xstate react

added 4 packages, and audited 5 packages in 649ms

$ npm install @xstate/react

added 3 packages, and audited 8 packages in 1s

$ npm install @xstate/inspect
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/xstate
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@xstate/inspect
npm ERR!   @xstate/inspect@"*" from the root project

Reproduction
the reproducable example is above
Additional context
5.9.1

You should use @statelyai/inspect instead of @xstate/inspect: github.com/statelyai/inspect

Ok how would i use that with create machine? The readme shows all actor usage.
It could be nice to put a note in the other package that it's been replaced in version 5 to help folks upgrade.
It wasn't in the migration blog post right?


About NSD

Thanks for your excellent work !
I didn't see the process of computing NSD during the inference time. Could you release the code about computing NSD?
Specifically, I am getting stuck in the spacing_mm parameter in compute_surface_distances function and the NSD seems weird.

Hi @ZHymLumine ,
we used the following implementation
http://medicaldecathlon.com/files/Surface_distance_based_measures.ipynb.
The spacing can be obtained from the nii header files. For 2D images, the spacing was set (1,1,1).


Disable web uploader

Disable web uploader because it doesn't have full functionality, it differs from the Uploader App, not as reliable/accurate, easier for users to be confused/make mistakes.
@tiffanylee0125 to create new UI for ‘Import’ page

Just have static page directing to download Mac or Windows uploader app and directing to support page
Remove dropdown - just have 'Import'

Add a button on Explore Recordings to go to download uploader

Open Import>Recordings from side menu will redirect to new page
Open with the old link https://staging.arbimon.org/project/bci-panama-2018/audiodata/uploads/ redirects to new page

Released on v1.4.2


Create new fields for episode content type and add to metabase

User story
As an analyst, I want to be able to filter VOD based on content type and audience, so that do analysis on specific types of VOD in metabase.
Description
New fields to be added in direct us
Type:

Other transmission
Event transmission
Individual film
Series film

Audience:

Kids
Youth
General

Acceptance criteria

Able to admin types/ audience in directus on episode level
Types and audience is available in rudderstack_prod.episodes in metabase

Nature?? Sorry but I have no clue what you are referring to :D

Back to type it is.

can just use tags instead of "type" for this

@fredrikved can you add this to the DB, and let me know. I'll update the BQ sync after

can just use tags instead of "type" for this

Tags could be used for this, but guessing thats not enough or?
@KillerX @mulundapm

Fields should be added. Ready to sync to BQ @KillerX


Async-TWAI

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[ ] I have updated existing examples or added new ones (if applicable).
[ ] My changes were added to the CHANGELOG.md in the proper section.

Extra:

[ ] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
This adds async support for TWAI based on #951
Rebasing wouldn't be very pleasant given 367 PRs got merged in-between so I applied the changes from the original PR here and added the original author as co-author.
It also prepares ESP32 and ESP32-S2. ESP32 (like ESP32-C6) compiles but doesn't work. However, ESP32-S2 works - so I whitelisted the examples for it
Testing
I used two TWAI/CAN transceivers to connect one ESP32-C3 running the blocking twai example and one ESP32-S3 running the async example. Make sure to remove the ".into_open_drain_output()` when using transceivers.

this is awesome and exactly what we needed, thank you! :)


Need help with make install after building

I am trying to build & install the touchpad driver for a Debian (jessie) chroot.
.
I built and installed the dependencies libgestures and libevdevc successfully.
The instructions here: https://github.com/hugegreenbug/xf86-input-cmt#compiling suggest there's a ./configure script which is not in the repo. but I created it with autoreconf -v --install like this:
./apply_patches.sh
autoreconf -v --install
./configure --prefix=/usr
make
sudo make install

I can see xf86-input-cmt/src/.libs/cmt_drv.so and other files are created by the make step.  And I see that sudo make install copies the files to /usr/lib/xorg/modules/input
I then setup the configuration files like this
  sudo mv /usr/share/X11/xorg.conf.d/50-synaptics.conf /usr/share/X11/xorg.conf.d/50-synaptics.conf.old
  sudo cp ~/src/xf86-input-cmt/xorg-conf/20-mouse.conf /usr/share/X11/xorg.conf.d
  sudo cp ~/src/xf86-input-cmt/xorg-conf/40-touchpad-cmt.conf /usr/share/X11/xorg.conf.d
  sudo cp ~/src/xf86-input-cmt/xorg-conf/50-touchpad-cmt-peppy.conf /usr/share/X11/xorg.conf.d

After shutting down and restarting my chroot I don't see the new cmt touchpad in the list under XFCE's Mouse and Touchpad settings tool.  I just see Cypress APA Trackpad (cypa).
I also don't see it with xinput.  This is what I see:
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Cypress APA Trackpad (cyapa)              id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ Sleep Button                              id=9    [slave  keyboard (3)]
    ↳ Sleep Button                              id=10   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]

I feel like I am so close to getting it installed... but stuck.  Do you have any suggestions? - Thanks

I created the config file by running the autogen.sh script:
sh autogen.sh
Make sure you have: xutils-dev and libtool installed for the macros.
Hugh
On Fri, Apr 3, 2015 at 9:57 PM, Darcy Parker<EMAIL_ADDRESS>wrote:

I am trying to build & install the touchpad driver for a Debian (jessie)
chroot.
.
I built and installed the dependencies libgestures and libevdevc
successfully.
The instructions here:
https://github.com/hugegreenbug/xf86-input-cmt#compiling suggest there's
a configure script which is not in the repo. but I created it with autoreconf
-v --install like this:
./apply_patches.sh
autoreconf -v --install
./configure --prefix=/usr
make
sudo make install
I can see xf86-input-cmt/src/.libs/cmt_drv.so and other files are created
by the make step. But the make install command doesn't seem to install
these files.
I feel like I am so close to getting it installed... but stuck. Do you
have any suggestions? - Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/6.

I created the configuration file that way too and I have the dependencies libjsoncpp-dev xutils-dev xserver-xorg-dev xinput...  and it appears things built correctly. (I can see xf86-input-cmt/src/.libs/cmt_drv.so and other files are created by the make step.  And I see that sudo make install copies the files to /usr/lib/xorg/modules/input.)
My problem is that after running sudo make install and copying the configuration files mentioned above, I don't see the new touchpad cmt driver.  I am missing something, but not sure what to do to see the new driver with xinput.

Ok, I misunderstood. Maybe the synaptic driver is loaded instead? You can
check in /var/log/Xorg.0.log. You can disable the synaptic driver by moving
the synaptics config file out of the way or by commenting out each line in
the file. I'm on Ubuntu and the synaptics driver config file is:
/usr/share/X11/xorg.conf.d/50-synaptics.conf .
Hugh
On Sat, Apr 4, 2015 at 6:40 PM, Darcy Parker<EMAIL_ADDRESS>wrote:

I created the configuration file that way too and I have the dependencies libjsoncpp-dev
xutils-dev xserver-xorg-dev xinput... and it appears things built
correctly. (I can see xf86-input-cmt/src/.libs/cmt_drv.so and other files
are created by the make step. And I see that sudo make install copies the
files to /usr/lib/xorg/modules/input.)
My problem is that after running sudo make install and copying the
configuration files mentioned above, I don't see the new touchpad cmt
driver. I am missing something, but not sure what to do to see the new
driver with xinput.
—
Reply to this email directly or view it on GitHub
https://github.com/hugegreenbug/xf86-input-cmt/issues/6#issuecomment-89694646
.

NP - Thanks for your help @hugegreenbug.  I figured it out after some trial and error and carefully re-reading the instructions.  The driver is installed and working very nicely now.  If others have an issue, they can refer to my gist here: https://gist.github.com/darcyparker/3d89e7851fc10992000e


Update jaeger-client dependency due to CVE-2020-13949

You have an indirect dependency on libthrift:0.13.0 which has a security problem according to CVE-2020-13949.
Please update to opentracing-spring-jaeger-starter:3.3.3!
{noformat}
+--- io.opentracing.contrib:opentracing-spring-jaeger-cloud-starter:3.3.1
|    +--- io.opentracing.contrib:opentracing-spring-jaeger-starter:3.3.1
|    |    --- io.jaegertracing:jaeger-client:1.3.2
|    |         +--- io.jaegertracing:jaeger-thrift:1.3.2
|    |         |    +--- org.apache.thrift:libthrift:0.13.0
...
{noformat}
see also

https://github.com/opentracing-contrib/java-spring-jaeger/issues/121 and
https://github.com/jaegertracing/jaeger-client-java/pull/768

ping

Any update on this? 0.16.0 if libthrift is out, when can we expect and update?

Migrating according to https://opentelemetry.io/docs/migration/opentracing/ is the way to go but it's sad that the old libraries are left with security issues.


Add a make clean target to top level Makefile

Currently doesn't seem anyway to "reset yourself to clean checkout state"....
Should just be rm -rf build I think?

This has been done!


Implementing a GUI for the Project

Hi,
I noticed that there is no GUI implementation in the project. I am interested in contributing by working on this. Could I proceed with this?
Thank you

Go ahead — a GUI implementation sounds great!


Error when trying to use.

I am running NR 0.20.3
Dashboard 12.14.0
Ubuntu 18.4.0 LTS
I get the node installed and I don't see any errors.   (Installed from Web page)
The node loads, but there seems to be a problem.
Pictures say 1,000 words.
Also, sorry, but your "walk through" on how to use it seems to be confusing.
From the page:
To upload an image or a video you first must go to the File tab. Then you 'll click the icon to the right of the Category dropdown menu (left pic) and will give it a name like on the example (right pic).
This is below two pictures which I can't equate to the sentence above.
Below is maybe the two pictures, but there is no "left/right" picture.   They are above one another.
For the sake of trying, I put something in the category field and get an error something about API NOT FOUND.
See pictures.

Greetings
I'll try to reproduce your error.
Meanwhile, could post the node-red log?
Thank you

Ok, shall post shortly.   But, as a pre-text:   Where is the node-red log?
I understand the "nodered log" is in /var/log/nodered-install.log
But that is the install log, rather than the error log.

This is weird.
Went to the "node list" (left hand side of screen) and looked for media.  NOTHING FOUND!!!
Weird!  I didn't think I uninstalled it yesterday.
Went to "manage palette and searched "media" in installed nodes:
I don't know if this will be helping the situation

Uninstalled it and did it from the command line.
Got this:
npm install node-red-contrib-ui-media
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

<EMAIL_ADDRESS>added 4 packages from 5 contributors and audited 1212 packages in 3.806s
found 4 vulnerabilities (2 low, 2 moderate)
run npm audit fix to fix them, or npm audit for details

Force refreshed NR on the machine and looked at installed nodes (left side of screen).
Not there.

I have it installed now and visible in the list.
I tried to put it in a flow and it errored. (spelling?)
I deleted it from the flow and DEPLOYED, all good.  No errors, but this is what I see in the palette manager now.

(Sorry....)
Going to the next step with debugging running I get this:
(not very helpful I believe)
.
.
.
7 Apr 08:09:05 - [info] [mqtt-broker:MQTT host] Connection failed to broker: mqtt://<IP_ADDRESS>:1883
7 Apr 08:09:05 - [info] [mqtt-broker:MQTT host] Connection failed to broker: mqtt://<IP_ADDRESS>:1883
7 Apr 08:09:22 - [info] [mqtt-broker:MQTT host] Connection failed to broker: mqtt://<IP_ADDRESS>:1883
7 Apr 08:09:22 - [info] [mqtt-broker:MQTT host] Connection failed to broker: mqtt://<IP_ADDRESS>:1883
7 Apr 08:09:29 - [info] Stopping modified nodes
7 Apr 08:09:29 - [info] Stopped modified nodes
7 Apr 08:09:29 - [info] Waiting for missing types to be registered:
7 Apr 08:09:29 - [info]  - ui_media
Helpful?

Greetings,
Yes, very helpful. Thank you.
Aparently this is releated to a known issue with the projects directive on the settings.js file. We´ll be releasing a fix this week.
Thank your for reporting this to us.

Greetings,
Yes, very helpful. Thank you.
Aparently this is releated to a known issue with the projects directive on the settings.js file. We´ll be releasing a fix this week.
Thank your for reporting this to us.

I have seen the same bug on one of our instance but not on the other. Must be a difference in version or use of projects.
Looking forward to the fix.
Keep up the good work
Robin

We released 1.0.5 with fixes for project related bugs.


Deck Setup Page - Liquids List

Overview
In 6.1 we want to show liquid information on the Deck Setup page for PD and Python protocols.
Design
NEEDS NEW DESIGNS
Implementation Details

The liquid colors, descriptions, names and volumes should all be rendered in the UI based on what metadata is returned after performing analysis in-app.

Acceptance Criteria

[ ] Turning off the Liquids toggle should hide them from the list and the deck map

[ ] Hovering on a liquid card should highlight all the labware and wells on the deck map that contain that liquid

[ ] Hovering on a row in a liquid card should highlight the specific labware and wells that contain that liquid

This ticket will be overridden by the new PD color picker functionality outlined in this ticket: https://app.zenhub.com/workspaces/app--ui-5f6248dba845b000139aa767/issues/opentrons/opentrons/10573


String handling issues

The translator has an issue with translating Korean to words within {} or missing { in some sentences.

Texts {string}{money}{SimsName}{text|xxLower} etc. are not translated. Translation sites such as google/deepl do not know this.
And unfortunately you have to correct it yourself. You can only translate brackets containing
{M0.text}{M0.text} ect. This is a gender-specific translation.


Fix build on previous versions of rust

Switching to a function due to deprecation when it isn't even deprecated yet, let alone removed, seems significantly premature, and breaks lots of downstream users.
Addresses the non-meta part of #364.

Switching to a function due to deprecation when it isn't even deprecated yet

This is not true, the deprecation is riding the trains from nightly to stable. The rust standard library never removes stable functions, and users always have the option of sticking with the old functions if desired.

seems significantly premature

This crate's policy on version requirements is the current and prior stable, which makes a window of at least 6 weeks if not more for including new features.

breaks lots of downstream users

I'm sorry for the breakage, it's never fun! I would recommend a Cargo.lock file to prevent unwanted upgrades, as this crate is not the only one which has the same version policy.


Emote refreshing shows animated emotes first but no sub emotes when opening it first time after refresh

Describe your issue
When refreshing the emotes now, opening the emote tab at the beginning shows all animations, but the rest of the sub emotes are missing. However if you open it again, everything shows.
I think it's because I opened it too fast, but didn't it use to automatically update the emotes in the emote window?
OS and Chatterino Version
Windows 10, Chatterino Nightly 2.3.3 (commit a458e32f1)

Can replicate but it's not an issue, you are just opening the menu before the reload has finished.

As felanbird mentioned this is not a bug - you're trying to open emote menu before the emoteset data finishes loading.

didn't it use to automatically update the emotes in the emote window?

It still does that, thing is loading emoteset data takes a bit longer now due to limitations regarding emote data imposed by Twitch. There's no real workaround for this and everything works - you just gotta wait a little longer, depending on how many emotesets (subs) you have.

@zneix you might want to reopen this issue. I saw this happen yesterday at least twice yesterday after having chatterino open for a long time.
There were after an open and not a refresh so maybe this is a different issue.

There were after an open and not a refresh so maybe this is a different issue.

As karl described:

However if you open it again, everything shows.

his emotes appeared there after a little bit, so I assume it's simply what I addressed in my comment - you just have to wait.
What you describe sounds like either emoteset data requests failing or not working the first time we initialize TwitchAccount::emotes_ upon calling TwitchAccount::loadEmotes. I'll definitely have a look into this and open a new issue if there's an actual issue with emoteset data not being set correctly due to some weird logic with the hacky workarounds inside TwitchAccount::loadEmoteSetData.

Could be related to the mass timeout issue we're having with our timeout timer? Once I get through that I'll see if it's resolved.


[Type checker] Don’t simplify to an error type.

Type variables cannot be bound to error types, so don’t simplify to
them.
It's the one compiler change in https://github.com/apple/swift/pull/12913.

@swift-ci please smoke test and merge


Fix zip slip vulnerability

This fixes an issue where files within a zip file can break out of the target directory when being extracted.
Fixes #46.

Fwiw, I have a need to implement similar zip extraction, here's the code I ended up with: https://gist.github.com/jcorbin/fd0716bd0bc4c49cd22d73e4aad23b38

extracts in GOMAXPROCS-parallel
slightly better reliability / error flow in the file extraction path
slightly better file permission restoration
more efficient for large archives, since it uses io.CopyBuffer internally with a re-used buffer, rather than io.Copy dynamically allocated a 32KB buffer for every extracted file (causing GC pressure scaling with size of archive)


Not working with navigationController?.hidesBarsOnSwipe = true

Hi @xiongxiong,
When I set self.navigationController?.hidesBarsOnSwipe = true cell options won't show. If I disable it, it works.

Hi @perroyverde
You can use a custom NavigationController, like this one:
`class NavigationController: UINavigationController, UIGestureRecognizerDelegate {
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
    return true
}

}`

It worked like a charm. Thanks @xiongxiong !


Updated quora account deletion info

Quora account deletion is simpler now. A 'delete' button was added to delete an account.

Hi @kdeleteme  , I also made a PR request, but it seems this repo isn't maintained anymore. Luckily an active fork can be found here: https://github.com/jdm-contrib/jdm

Thanks @mheesters I guess I'll close this PR. I did find that fork back then and sent the same pull request there https://github.com/jdm-contrib/jdm/pull/152 and I just forgot about this one. LOL


Add client libraries list to Newtonsoft.Json compat package README

Replace the 1st occurrence of the vague "some Azure SDKs" verbiage with a list of applicable Track 2 client libraries. Changes made per an email thread with @AlexGhiondea.

Thanks for the help, @heaths & @AlexGhiondea! I'll work with @danieljurek to get this update published.


[bug-fix] scheduler won't override running status incorrectly

Description
The scheduler can currently override the RUNNING status of a task with something incorrect coming from a different worker other than the one currently running the task.
Motivation and Context
The issue has been discussed in the mailing list here: https://groups.google.com/forum/#!searchin/luigi-user/stefano|sort:relevance/luigi-user/WCiQfNEfWY4/5zGdX5X6BgAJ
Have you tested this? If so, how?
It passes tests. We are about to push this into our production env as well.

@Tarrasch I've added a test case for the particular fix. I'm not sure how to parse the build failure, it seems a git/build issue?  This problem is fixed now but you need to rebase your code for your patch to "include" it. :)

@Tarrasch, I've finally got this to be green again - lmk if it's good for a merge

Thanks for the fix @stguido! :)


Create Notebook for the jpsreport methods

Add a jupyter notebook which documents how to use the new implementation to get the results of the jpsreport methods.

Closed with #66


<IP_ADDRESS> - SHA256

Describe the issue
Want to confirm if this is a misunderstanding on my part or is it really an issue.
The raptoreum_<IP_ADDRESS>_windows_64.zip file gives:
SHA256: 4B076B4274AE6AB5B9A33BABAA08D9F745F2AD9BFEFE160047F811BF4804FB74
The Sha.256.Checksum.raptoreum_<IP_ADDRESS>_windows_64.zip.txt file has:
(stdin)= f81ae394287b37df7c2129b53365342c801e075e1ae361b27ca3c6dccf86c46d

I'm getting old both are the same result added regular sha256sum to the txt file. The other one is Openssl 256.


Option to update to latest stable release of lean + mathlib

If this option is selected, use the github api to find the latest release of lean marked as stable and write this to  lean-toolchain? But this might not make sense because it might not match the available version of mathlib.

The concept of a stable releases of mathlib doesn't exist at the moment. Also the action takes a pragmatic approach by attempting and then checking if it works.


⚠ Contemporanea Group has degraded performance

In 67f5b80, Contemporanea Group ($SITE_CNTMG) experienced degraded performance:

HTTP code: 200
Response time: 8113 ms

Resolved: Contemporanea Group performance has improved in affa403.


Issue with tsconfig.json settings

Hey all,
@burkeholland discovered an interesting issue today. This template does not include a tsconfig.json file, and because of that, a couple of important flags—most notably "emitDecoratorMetadata"—are not set, which causes some issues when you go to actually run an ng2 app.
Is there anyway we allow users to start ng2 apps with the appropriate flags set as expected?

This issue was moved to NativeScript/nativescript-angular#191


Some Questions

Hello. Here's some questions for you.

I tried to trigger the toggle button, but it couldn't update the theme automatically, which means you need to double-click the title or change the size of the interface to update the theme.
The theme cannot be applied to all of the sub-widgets, like QMessageBox, AboutUs, QDialogue, etc. Maybe you could improve the function of this package.
Looking forward to your reply^^

What version of Windows do you use? Windows 11 or 10? I've only tested this in Windows 11.. at least that's what i remember. In Windows 11, theme is switched immediately.

This is very basic example of it so i don't do that.. If i applied the style change to all of the applications' windows, i have to handle nativeEvent at QApplication level or some sort. I'm not sure i can do that but i will try later.

I give you this link in case you are in a hurry
https://doc.qt.io/qt-6/qcoreapplication.html#installNativeEventFilter
I didn't read this carefully enough, but i think this is the key to solve the problem

I use Windows 10 to test your code, so it might occur the situation of incompatibility.
I'll have a look and give it try.

I will test it out on Windows 10 in my virtual machine, and if it is possible, i will solve that problem as well.

OK then, any progress if you make you can tell me.

Well.. I'm exhausted.
I made a progress, but that was a quite journey to me.
First of all i acutally found out that DWMWA_USE_IMMERSIVE_DARK_MODE which i used for switching theme is supported since Windows 11.
This still works for some reasons in Windows 10 as well, but as you said if it has not been resized it doesn't change the theme by itself.
So this is how i did that:
if self.isMaximized() or self.isFullScreen() or self.maximumWidth() == self.width():
            if self.isMaximized():
                self.showNormal()
                self.showMaximized()
            elif self.isFullScreen():
                self.showNormal()
                self.showFullScreen()
            elif self.maximumWidth() == self.width():
                self.resize(self.width()-1, self.height())
                self.resize(self.width()+1, self.height())
        else:
            self.resize(self.width()+1, self.height())
            self.resize(self.width()-1, self.height())

It's kinda shame that i wrote that kind of codes but there's nothing i can do 😥
As far as i know, i've never seen a single software which is made out of PyQt using win32 feature(customized title bar doesn't count), able to switch theme in real-time.
But at least it works now, in a very, very crude way..

Hmm, this is a solution of compromise, but so far so good. Thank you for working on this, and I'm really appreciate for your patient reply^^


Add constant with reserved key characters

It was suggested to me to move this https://github.com/php-fig/cache/pull/16 here, but not sure where to put in this codebase

The equivalent to where it was proposed before would be in BasicPoolTrait.  I can't think of a better location off hand.


OVH configuration, help wanted

Hi,
I'm trying to setup a mail server for the first time. I do think everything is fine on my server side. However it seems that my ovh configuration is a bit more painful.
Her is my docker-compose.yaml
services:
  mail:
    image: tvial/docker-mailserver:latest
    hostname: mail
    domainname: bnbkeeper.thibautduchene.fr
    container_name: mail
    ports:
    - "25:25"
    - "143:143"
    - "587:587"
    - "993:993"
    volumes:
    - maildata:/var/mail
    - mailstate:/var/mail-state
    - ./config/:/tmp/docker-mailserver/
    environment:
    - ENABLE_SPAMASSASSIN=1
    - ENABLE_CLAMAV=1
    - ENABLE_FAIL2BAN=1
    - ENABLE_POSTGREY=1
    - ONE_DIR=1
    - DMS_DEBUG=0
    cap_add:
    - NET_ADMIN
    - SYS_PTRACE

volumes:
  maildata:
    driver: local
  mailstate:
    driver: local

I do end up with this in my logs
mail.bnbkeeper.thibautduchene.fr is up and running
I also configured a user and dkim keys.
here is my config so far in ovh and I cant send emails.

What exactly do you mean with I can't send emails?
Your client rejects sending?
Emails are not delivered to the destination?

I use nodemailer with such configuration. which is a node wrapper to send email, and pass in such configuration.
host: 'mail.bnbkeeper.thibautduchene.fr',
    port: 587,
    secure: false,
    auth: {
        user: process.env.MAIL_USER,
        password: process.env.MAIL_PASS,
    }

After using my nodemailer, trying to send my mail, I look at the logs in the docker and get the logs I shared up there. It's as such my docker was not looking at my subdomain mail server (the docker one) to send the email but rather on the ovh mailserver which stands at mail.thibautduchene.fr. Then of course my credentials are wrong.

After investigating a bit, seems like sending from nodemailer give me a cert error.
{ Error: self signed certificate     at Error (native)     at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)     at emitNone (events.js:86:13)     at TLSSocket.emit (events.js:185:7)     at TLSSocket._finishInit (_tls_wrap.js:584:8)     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:416:38) code: 'ESOCKET', command: 'CONN' }
Do I need to settle a cert certificate, how should I connect to my client remotely?

You are using port 587 and this requires SSL. You should add a valid certificate or use port 25.

thanks for your help,
I did activate cert using nginx-proxy and letsencrypt-nginx-proxy-companion.
However you don't specify a port in your config example
docker run -d \
    --name webmail \
    -e "VIRTUAL_HOST=mail.myserver.tld" \
    -e "LETSENCRYPT_HOST=mail.myserver.tld" \
    -e<EMAIL_ADDRESS>\
    library/nginx

I may add port 585? Also reaching the host on port 25 give me the exact same self signed certificate error :/

It was actually a configuration to allow Scaleway to send out smtp request. Sorry to have taken your time, thanks for your help! And thanks for the image :)


django-ldapdb .save() is failing?

I'm trying to use a django-ldapdb with my little app: ( https://github.com/JohnTheodore/django-ldap/tree/sshkeys/backend_django/sshkeys ). I have a view setup ( localhost:8000/sshkeys ) where it reads an ldap server and gives me the results from my user. Reading seems to work fine, it's writing or .save() that I'm failing on. The results of me trying to .save() are object not found, the log is here for that: https://gist.github.com/anonymous/3029037378b4116ef519
Why does it say object not found, since I just read the object and it does exist?
The ultimate goal is I want to be able to have people manage their own ssh keys in ldap, for passwordless ssh login through ldap.

I did not see the code where you actually save?


Error when creating custom Unlit material

Hi,
I'm trying to create an Unlit model, following this post.
When importing the obj file I'm getting the error Jsonnet Error: [1]: RUNTIME ERROR: Field does not exist: parameters .
I created a *.mat file, with the content:
material {
    name : "Custom material",
    shadingModel : unlit
}

fragment {
    void material(inout MaterialInputs material) {
        prepareMaterial(material);
        material.baseColor = vec4(0.0);
    }
}

After clicking "Import Sceneform Asset", in the "Import Wizard" I select the path of the custom material, and then I receive the error.

You need to have at least one Parameter defined, I am marking it a bug.  In the material element add
parameters : [
        {
           type : float,
           name : unused
        }

@claywilkinson that indeed solved the error, but now the model color is black, instead of the model's original colors.
I'm following @romainguy suggestion in my previous question Setting environment lighting
the *.mat file:
material {
    name : "Custom material",
    shadingModel : unlit,
    parameters : [
        {
           type : float4,
           name : baseColor
        },
	 {
           type : float4,
           name : emissive
        }

    ]
}

fragment {
    void material(inout MaterialInputs material) {
        prepareMaterial(material);
        material.baseColor = vec4(0.0);
    }
}

Your material sets a black color:
material.baseColor = vec4(0.0);

It should probably be:
material.baseColor = materialParams.baseColor;

@claywilkinson @romainguy it worked!
I still needed to manually set the baseColor values in the sfa file, as they were all zero by default, I assume it isn't the expected behavior?
Appreciate your help!

Yes, that is expected.


No input validations for Redirect URLs while creating new application

Is your suggestion related to an experience ? Please describe.
While creating a new application using the console, there is a validation when adding a redirect URL. If we add a invalid URL it views a message saying,
"The entered URL neither HTTP nor HTTPS. Please proceed with caution."
But still it approves the invalid URL as a Redirect URL. Even though, there are no valid redirect URLs, the application can be created.
Describe the improvement
Invalid URLs should not be allowed. Since the redirect URL is a mandatory field, without a valid URL, the application should not be allowed to be created.

related https://github.com/wso2/product-is/issues/10135

Still experiencing the same behavior in Beta 5 Snapshot. It views a error message, but still allows to create the application.

This error message is being viewed for all vendor integrations apps and Single page applications in General applications.
For other general applications (Web, Desktop, Mobile), it allows to create without the error message.


Simplified/faster "backward bias" kernel (column reduction)

Inspired by the simplified kernel I made yesterday for train_gpt2fp32.cu, this is a column reduction kernel (currently specialised to backward bias but really quite generic) that is much simpler and also faster than our current kernel.
It does not (need to) support the Auxiliary Buffer approach as even at OC=768, it gets ~40% better performance than the current kernel by handling as many B*T elements per threadblock as possible while maintaining 32B coalesced accesses (which is the L1 sector size; for the larger OC, it will increase the number of parallel OCs to do 64B or 128B coalesced reads).
Possibly even more performance available by managing to make the shared memory load/stores (and global memory stores) use 128-bit load/stores rather than "just" the global memory loads being x128, and maybe by manually unrolling some of the loops rather than using "#pragma unroll 4" (by assuming/asserting B*T is a multiple of a larger number) - but it already gets very good efficiency so possibly diminishing returns, at least on a H100 PCIe.
Lots(!) of comments and explanations in the /dev/cuda/ version of the kernel, possibly could remove even more of the comments in /llmc/matmul.cuh and just refer to the /dev/cuda/ comments instead...

I generalised the kernel as a generic column reduction :) (and clarified the terminology is assuming cuBLAS-like column major layout, rather than C++ array-like row major layout)
There shouldn't be any functional change except it now also uses x128 for the final output to global memory (and read from global memory when accumulating).


Heder L/R buttons :active style

:hover works fine, but :focus and :active still use default formating

might be limited in scope to pages outside dash

I always get accessibility stuff wrong.
I think we want the same styling on :hover and :focus, but isn't :active something different?
Anyway, I'm making the default outline around the navigation shortcuts a bit lighter (surface-4) by default, then going to text-color on hover and focus. I'm unsure whether I should or shouldn't do this as well for :active.
I also noted that the hover/focus outlines for the "level," "help", and "search" (magnifying-glass icon) are also too subtle. I'll try to change them to text-color on hover/focus as well.


Fix showWhen typo in Definitions.java

Fix typo to can set the showWhen.
Thanks for your awesome plugin!

Thank you so much for this fix!


[V2] Send AddEventDTO array to ZeroMQ instead of EventDTO

🚀 Feature Request
Relevant Package

 This feature request is for core-data
Description
We are sending single EventDTO to ZeroMQ as we did in V1.
In V2 we should send the single AddEventRequest DTO for both JSON and CBOR.

Per discussion over https://github.com/edgexfoundry/edgex-go/pull/3002, update the issue to send single AddEventRequest DTO to message queue.

Per discussion over https://github.com/edgexfoundry/edgex-go/pull/3002, update the issue to send single AddEventRequest DTO to message queue.


jc: 1.11.2 -> 1.11.6

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jc/versions.
meta.description for jc is: "This tool serializes the output of popular command line tools and filetypes to structured JSON output."
meta.homepage for jc is: "https://github.com/kellyjonbrazil/jc"
meta.changelog for jc is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.11.6 with grep in /nix/store/h2aink8nsl1ksapn1psrhgrn8rr9p66c-python3.8-jc-1.11.6

directory tree listing: https://gist.github.com/9452afaa9cdb5debcbbc414b9b4785ae

du listing: https://gist.github.com/6c5a41ae747e5211eb5eaf1890da332d

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

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
jc
python37Packages.jc
python38Packages.jc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/h2aink8nsl1ksapn1psrhgrn8rr9p66c-python3.8-jc-1.11.6 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/h2aink8nsl1ksapn1psrhgrn8rr9p66c-python3.8-jc-1.11.6
ls -la /nix/store/h2aink8nsl1ksapn1psrhgrn8rr9p66c-python3.8-jc-1.11.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

2 packages built:
- jc (python38Packages.jc)
- python37Packages.jc

Maintainer pings
cc @Atemu for testing.

I have built and tested this program, and it appears to work:
$ free | $(nix-build --no-link -A jc https://github.com/r-ryantm/nixpkgs/archive/9130ec5be1dc37f9c7c2fd3af6f7cb0f9fa641eb.tar.gz)/bin/jc --free
[{"type": "Mem", "total": 16040292, "used": 7656204, "free": 4011456, "shared": 641244, "buff_cache": 4372632, "available": 7399688}, {"type": "Swap", "total": 25165820, "used": 248516, "free": 24917304}]


Add dicp subtree

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


composer.json for web-profiler doesn't use |3.0.*

composer.json of web-profiler is
"require": {
    "silex/silex": "~1.1",
    "symfony/stopwatch": "~2.2",
    "symfony/web-profiler-bundle": "~2.4"
},

but perhaps should be
"require": {
    "silex/silex": "~1.1",
    "symfony/stopwatch": "~2.2|3.0.*",
    "symfony/web-profiler-bundle": "~2.4|3.0.*"
},

+1

ping @fabpot

Same problem, can't the official https://github.com/silexphp/Silex-Skeleton because of that.

Thanks @fabpot! u r great!


Explore aleph-bft crate

Part of epic #1276
The result of this explore task is:

get a full overview of what the aleph-bft crate is offering
list potential differences with the Aleph BFT paper
list the interfaces of the crate that the Pyrsia code will have to interact with

As a result of this exploration more detailed subtasks can be created.

Moving this to 0.2.2 since we dont intend to include this in 0.2.1 release

To use the AlephBFT crate, the following trait implementations are required:

Data: Data type that we want to order

pub trait Data: 'static + Eq + Clone + Send + Sync + Debug + Hash + Codec { }

DataProvider: The source of data items that consensus should order

pub trait DataProvider<Data>: 'static + Sync + Send {
    fn get_data<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Option<Data>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait;
}

FinalizationHandler: The source of finalization of the units that consensus produces

pub trait FinalizationHandler<Data>: 'static + Sync + Send {
    fn data_finalized(&mut self, data: Data);
}

Network: Network represents an interface for sending and receiving NetworkData

pub trait Network<D>: Send {
    fn send(&self, data: D, recipient: Recipient);
    fn next_event<'life0, 'async_trait>(
        &'life0 mut self
    ) -> Pin<Box<dyn Future<Output = Option<D>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait;
}

Keychain: Abstraction of the signing data and verifying signatures.

pub trait Keychain: 'static + Index + Clone + Send + Sync {
    type Signature: Signature;

    fn node_count(&self) -> NodeCount;
    fn sign<'life0, 'life1, 'async_trait>(
        &'life0 self,
        msg: &'life1 [u8]
    ) -> Pin<Box<dyn Future<Output = Self::Signature> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait;
    fn verify(&self, msg: &[u8], sgn: &Self::Signature, index: NodeIndex) -> bool;
}


syntax error in html2rest setup.py?

I get continual syntax errors on this line when trying to install html2rest:
print "running setup for html2rest version %s" % version
it seems to choke on the 2nd quotation mark.
Running Python34 under cygwin 2.8
using pip install html2rest

This is a Python 3 incompatibility error. The module needs to be updated for Python 3.

I edited the line in the setup.py file as advised above

'print ("running setup for html2rest version %s" % version)'

I then ran

'python setup.py build'

in cmd followed by

'python setup.py install'

Thank you @andrewscea


How to start Simod

I tried to start the Simod. But I didn't see the default config file. I copied from README.md.
First I got a versioin error, it said the version must be 2, but the README.md is 4.
Traceback (most recent call last):
File "", line 1, in
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/src/Simod/src/simod/cli.py", line 40, in optimize
settings = Configuration.from_path(config_path)
File "/usr/src/Simod/src/simod/configuration.py", line 618, in from_path
return Configuration.from_stream(f)
File "/usr/src/Simod/src/simod/configuration.py", line 613, in from_stream
return Configuration.from_yaml(config)
File "/usr/src/Simod/src/simod/configuration.py", line 582, in from_yaml
assert config['version'] == 2, 'Configuration version must be 2'
AssertionError: Configuration version must be 2
Then I change the version into 2, I got another problem:
Traceback (most recent call last):
File "", line 1, in
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/.cache/pypoetry/virtualenvs/simod-CiydOZFs-py3.9/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/src/Simod/src/simod/cli.py", line 40, in optimize
settings = Configuration.from_path(config_path)
File "/usr/src/Simod/src/simod/configuration.py", line 618, in from_path
return Configuration.from_stream(f)
File "/usr/src/Simod/src/simod/configuration.py", line 613, in from_stream
return Configuration.from_yaml(config)
File "/usr/src/Simod/src/simod/configuration.py", line 584, in from_yaml
common_settings = CommonSettings.from_dict(config['common'])
File "/usr/src/Simod/src/simod/configuration.py", line 213, in from_dict
log_path = Path(config['log_path'])
KeyError: 'log_path'

Hi, not all parts of README.md are in sync at the moment. Configuration in README.md is newer than the version of Simod mentioned there. Just use the newer version of Simod for the Docker container.
You can run Simod using the following commands (assuming zsh):
docker run -it --rm -v `pwd`/resources/:/usr/src/Simod/resources nokal/simod:3.5.25 bash
# in container
Xvfb :99 &>/dev/null & disown
poetry run simod optimize --config_path resources/config/sample.yml


[SPARK-39284][FOLLOW] Add Groupby.mad to API references

What changes were proposed in this pull request?
Add Groupby.mad to API references
Why are the changes needed?
Groupby.mad was implemented in https://github.com/apache/spark/pull/36660, but I forgot to add it to the doc
Does this PR introduce any user-facing change?
yes, this API will be listed in the references
How was this patch tested?
existing doc building

merged into master, thanks @Yikun


Update MountableElement type so it accepts more actually-mountable types

Node is the common class between all mountable nodes. DocumentFragment is a direct subclass of Node for example.

Sorry updated base DOM Expressions forgot to do it here.


Fix not rerendering days when inCurrentMonth changes

Closes #1993 and also closes #1756
The root of this issue was missing check for inCurrentMonth in React.memo. The same day with the same key was rendered in the new month, so react basically didn't change it only moved the node from one place to another one.
Didn't reproduce without reduceAnimation because transition group is mounting and unmounting the whole component on animation.

I think this kind of bugs don’t need a pinning test, because you will delete this test once will see it in the future

I am 99% sure we will not drop this logic. Hovering through JavaScript (Date range preview) is too slow if all 36 components rerenders.

Good point, I didn't take the date range selection that we might not want to bypass React for into account.
In this case, we miss a test case at 99% ;)

Especially considering that it fixes two bugs.


VSCode unocss extension doesn't activate in sveltekit project

Hey,
I can use unocss very well in my sveltekit project but the vscode extension doesn't activate there. It throws an error.

Thank you in advance!

What does your svelte.config.js look like?
While importing the following
import { presetIcons, presetUno, extractorSvelte } from 'unocss';
import Unocss from 'unocss/vite';

The plugins line should look like this
plugins: [
				Unocss({
					extractors: [extractorSvelte],
					presets: [presetUno(), presetIcons({})]
				})
			]

I tried many things, sequences and so on. Now my svelte.config.js looks like this (your recommendation) and same error occurs. Also tried actual version 0.22.2
import adapter from "@sveltejs/adapter-auto";
import preprocess from "svelte-preprocess";
import { presetIcons, presetUno, extractorSvelte, presetWebFonts, presetAttributify } from 'unocss';
import Unocss from "unocss/vite";

/** @type {import('@sveltejs/kit').Config} */
const config = {
  // Consult https://github.com/sveltejs/svelte-preprocess
  // for more information about preprocessors
  preprocess: preprocess(),

  kit: {
    adapter: adapter(),

    // hydrate the
 element in src/app.html
    target: "#svelte",
    vite: {
      plugins: [
        Unocss({
          extractors: [extractorSvelte],
          presets: [
            presetUno(),
            presetIcons({}),
            presetWebFonts({
              provider: "google",
              fonts: {
                sans: "Roboto",
                mono: ["Fira Code", "Fira Mono:400,700"],
              },
            }),
            presetAttributify({}),
          ],
        }),
      ],
    },
  },
};

export default config;

That is really strange, I have roughly the same configuration and it works for me.
More precisely this works on my end:
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
import { presetIcons, presetUno, extractorSvelte } from 'unocss';
import Unocss from 'unocss/vite';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	// Consult https://github.com/sveltejs/svelte-preprocess
	// for more information about preprocessors
	preprocess: preprocess(),
	kit: {
		adapter: adapter(),

		// hydrate the
 element in src/app.html
		target: '#svelte',
		vite: {
			plugins: [
				Unocss({
					extractors: [extractorSvelte],
					presets: [presetUno(), presetIcons({})]
				})
			]
		}
	}
};

export default config;

I'm using pnpm for package managing instead of npm, though I doubt that's related aside from one of the presets you are using not working I'm not sure what it could be.

Yeah, it's really strange. Same config as you. New project with pnpm created, same error. I have the import in __layout.svelte. unocss works perfectly in my project it's just the vscode extension who won't start/work. I thought maybe somebody else also has this issue but you for example have no problem with it. I will check my personal environment. Thanks so far.

I have the same problem, the extension doesn't appear to do anything in my sveltekit project.

Same issue. Same error in console. Using pnpm.
Full svelte.config.js file here:
import adapter from '@sveltejs/adapter-auto';
import { mdsvex } from 'mdsvex';
import UnoCss from 'unocss/vite'
import { presetUno, presetAttributify } from 'unocss'
import { extractorSvelte } from '@unocss/core'

/** @type {import('@sveltejs/kit').Config} */
const config = {
	extensions: ['.svelte', '.svx', '.md'],
	preprocess: mdsvex({ extensions: ['.svx', '.md'] }),
	kit: {
		adapter: adapter(),
		// hydrate the
 element in src/app.html
		target: '#svelte',
		vite: {
			plugins: [
				UnoCss({
					extractors: [extractorSvelte],
					presets: [
						presetAttributify({ prefix: 's-' }),
						presetUno(),
					]
				})
			]
		}

	}
};

export default config;

I figured out the issue as to why mine is working differently. I have a vite.config.js file in addition to the svelte.config.js file (long story short I'm using svelte kit to develop a library of prebuilt svelte components). It didn't occur to me earlier but the unocss vs code extension is reading the vite.config.js file.
This should fix you:
vite.config.js
import { defineConfig } from 'vite';
import { presetIcons, presetUno, extractorSvelte } from 'unocss';
import Unocss from 'unocss/vite';

// https://vitejs.dev/config/
export default defineConfig({
	plugins: [
		Unocss({
			extractors: [extractorSvelte],
			presets: [presetUno(), presetIcons()]
		})
	]
});

svelte.config.js
import viteConfig from './vite.config.js';
const config = {
  //...
  kit: {
    //...
    vite: viteConfig
  }
}

sveltekit used to complain about the vite.config.js file, but it didn't break anything. It seems to work fine with no warnings now though.

Please use the uno.config.ts config if possible for the extension to grab it easily.