benchmarks: implement full-decode benchmarks based on the current decoder tests.

cargo bench

[...]
     Running target/release/deps/decode-a00302758db4e3cc

running 2 tests
test bench_logo_full_decode    ... bench: 100,105,811 ns/iter (+/- 19,727,934)
test bench_seasnail_raw_pixels ... bench:   2,719,731 ns/iter (+/- 316,937)

test result: ok. 0 passed; 0 failed; 0 ignored; 2 measured; 0 filtered out

Is the bench_seasnail_raw_pixels test just ment to measure the conversion speed of the internal pixel representation? Because calling get_raw_pixels doesn't do any actual decoding work.

Mh yeah, I can remove that...

The bench looks good as-is, but it may be more effective to measure the performance of the sea snail image since it has a non-trivial maniac tree. The logo flif only has one node.

The sea snail bench would take 7 minutes to run on my system, this is quite a lot. :/
Do you know if there is a way to reduce the number of iterations?

I do not, I'm not very familiar with the Rust benching APIs. If it takes that long i think we can keep using the logo image but I'll need to find a way to measure the MANIAC performance.

I can try to make a small cutout of the seashell, convert it to flif16 and add it to the repo for benchmarking

That would work, realistically we just need anything with a non-trivial maniac tree. You will have to be quite aggressive with the flags you pass into flif.exe though. Right now I've only verified the YCoCg and Bounds transformations as working.

Benching of the cutout takes 24 seconds here now :)
test bench_cutout_full_decode ... bench:  70,577,774 ns/iter (+/- 66,800,926)

Looks great! I'll go ahead and merge this. At some point it would be cool to compare the performance against the reference FLIF implementation, but I can't find any benchmarks.

Hm, I tried comparing flif @ 0.2 tag / 024b039 with flif.rs but I could not decode the sea snail image.
CORRUPTION DETECTED: checksums don't match (computed: fb34712f v/s read: 6e52a81d)! (partial file?)

Anyway there is a ton of images here: https://github.com/FLIF-hub/benchmarks

Corruption message is odd, I created that file using the official FLIF binary.

Do you know which git commit of the flif-hub/flif repo the binary is based on? I remember some note that flif16 is based on 0.2 tag, however in the upstream repo, there is v0.2 and v0.2.2 tag and it is not clear to me which tag the binary refers to (I have been building from sources myself ever since).
This might be worth noting somewhere in the readme.md ("this repo implements the flif16 standard based on commit/tag foo of upstream repo ).

The binary I have reports 0.2.0. However I think that 0.2.0 is compatible with 0.2.2. In fact the only breaking change I am aware of since 0.2.0 was with animated images using the ColorBuckets transformation, and it sounds like the 0.2.0 implementation of that was actually buggy so therefore not following the spec.


Wrong featured image for posts with no defined featured image

So, I have an image which I have defined in /_index.md as a featured image, so it is my understanding that this image ought to be the image used whenever there is no featured image defined for a post.
(That image is:

However, as you can see below some posts (e.g. The "Everything's Fine Mask", November, Foolishness, and Thoughts on a new room) are using an image from a previous post (My bowels, like water).
I show the blog list page below.

I suspect that it is using the featured image due to same tags (poetry) but that is a guess.
The repository for the not yet published site is: https://gitlab.com/danielfdickinson/pp-princesandmadmen

The theme partial for the resource fallback is probably confusing. It works as expected, but it’s not intuitive as the default, and I consider this to be a design flaw. I need to think a bit about this, but I will probably change it to the behavior you did expect:
In case there is no featured image for a single page, try to take the one from the containing branch bundle.


Error occurred when executing LivePortraitLoadMediaPipeCropper

I'm experienced with ComfyUI but I have never used LivePortrait before. I've only worked with still images with Stable Diffusion and I've never worked with video before. I decided to try LivePortrait and it's been very frustrating. I've searched for and followed along with all of the tutorials I can find. I'm certain there is something important that I've missed or I don't understand. I've installed all the custom nodes without problem. I've installed all the models that I'm aware of and placed them in the proper directories. I think I installed InsightFace properly but I have no idea if I did it properly. I'm aware that InsightFace is now optional. I'm trying the example image workflow and I get this error message:
Error occurred when executing LivePortraitLoadMediaPipeCropper:

DLL load failed while importing onnxruntime_pybind11_state: A dynamic link library (DLL) initialization routine failed.

File "C:\ai\comfyui\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\nodes.py", line 536, in crop
self.cropper = CropperMediaPipe(**cropper_init_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\cropper.py", line 91, in __init__
self.landmark_runner = LandmarkRunner(
^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\landmark_runner.py", line 28, in __init__
import onnxruntime
File "C:\ai\comfyui\python_embeded\Lib\site-packages\onnxruntime\__init__.py", line 57, in
raise import_capi_exception
File "C:\ai\comfyui\python_embeded\Lib\site-packages\onnxruntime\__init__.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\onnxruntime\capi\_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Issue is in the onnxruntime install, it can be annoying to get to work in some cases, I haven't ran into that specific issue myself so I don't really know how to solve it.
However I've added alternative to that too which you could try, while insightface does require onnxruntime, there's now also possibility to use either MediaPipe or face_alignment with torch model instead of onnx model by selecting "torch_gpu":

Thank you for your prompt response. But I am still getting an error.
Just to be clear, I am using the example workflow named liveportrait_image_example_01.json.
I changed the landmarkrunner_onnx_device to torch_gpu in the LivePortrait Load MediaPipeCropper.
I do not see a LivePortrait Load FaceAlignment Cropper in this workflow.
This is my error message:
Error occurred when executing LivePortraitLoadMediaPipeCropper:

No module named 'onnx2torch'

File "C:\ai\comfyui\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\nodes.py", line 536, in crop
self.cropper = CropperMediaPipe(**cropper_init_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\cropper.py", line 98, in __init__
self.landmark_runner = LandmarkRunnerTorch(
^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\landmark_runner.py", line 102, in __init__
self.model = torch.load(ckpt_path).to(self.device)
^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load
return _load(opened_zipfile,
^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load
result = unpickler.load()
^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class
return super().find_class(mod_name, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I should add that I am using ComfyUI portable. I merely renamed the directory to "comfyui".

Thank you for your prompt response. But I am still getting an error.
Just to be clear, I am using the example workflow named liveportrait_image_example_01.json.
I changed the landmarkrunner_onnx_device to torch_gpu in the LivePortrait Load MediaPipeCropper.
I do not see a LivePortrait Load FaceAlignment Cropper in this workflow.
This is my error message:
Error occurred when executing LivePortraitLoadMediaPipeCropper:

No module named 'onnx2torch'

File "C:\ai\comfyui\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\nodes.py", line 536, in crop
self.cropper = CropperMediaPipe(**cropper_init_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\cropper.py", line 98, in __init__
self.landmark_runner = LandmarkRunnerTorch(
^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\ComfyUI\custom_nodes\ComfyUI-LivePortraitKJ\liveportrait\utils\landmark_runner.py", line 102, in __init__
self.model = torch.load(ckpt_path).to(self.device)
^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1025, in load
return _load(opened_zipfile,
^^^^^^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1446, in _load
result = unpickler.load()
^^^^^^^^^^^^^^^^
File "C:\ai\comfyui\python_embeded\Lib\site-packages\torch\serialization.py", line 1439, in find_class
return super().find_class(mod_name, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Oh my bad, I wasn't aware it still needs onnx2torch, it should be added to requirements I suppose. You would need to do pip install onnx2torch in your python env

I should add that I am using ComfyUI portable. I merely renamed the directory to "comfyui".

Didn't notice this, to install stuff on portable, it would be running this in the portable root folder:
python_embeded\python.exe -m pip install onnx2torch

Kijai, I managed to get it working. I started with a fresh install of ComfyUI and followed the directions carefully. Perhaps you updated something since yesterday and it was fixed. However, I think it was probably an error on my part. A good night's sleep and a fresh cup of coffee can make a difference!
I think a major error I made was attempting to install the incorrect WHL file. I thought the version installed with ComfyUI was 3.10 when it was actually 3.11. This may or may not be related to the problems I was having. But it was definitely an error I made the last time I attempted to install these custom nodes.
I think this issue (which was probably a non-issue) is resolved. Thank for your attention.


add cookiecutter-vue-django

This cookiecutter extends the awesome pydanny one, but adds Vue support in a unique way that allows mixed usage of Django Templates and Vue Single File Components (SFCs).  An easy way to bootstrap a flexible Vue + Django project.
Disclaimer: my own repo.

@ilikerobots thank you!


Support filebeat.registry_flush in filebeat.yml

This can be used to prevent the registry file being updated in an
infinite loop as described here:
https://discuss.elastic.co/t/registry-load-gets-caught-in-infinite-loop/145717/3

It looks like setting it to undef as a default is causing a problem when it expects a string. Setting the type to Optional[String] will probably accomplish what you're going for.
As a side note, ignore tests that fail with an exclamation mark - it's another issue I need to fix.


Align circles for hours with minutes

In order to make it more readable please align the circles for hours with the minutes. Align them on the right and leave blank the first circle

done in 1.0.2


refactor(project): stardust => semantic-ui-react

This PR renames stardust references to semantic-ui-react in preparation for migration:
Stardust                            =>      Semantic-UI-React
stardust                            =>      semantic-ui-react

import { Button } from 'stardust'   =>      import { Button } from 'semantic-ui-react'
import * as stardust from 'src'     =>      import * as semanticUIReact from 'src'

window.stardust                     =>      window.semanticUIReact
localStorage.stardust               =>      localStorage.semanticUIReact

Current coverage is 100% (diff: 100%)

Merging #608 into master will not change coverage

@@           master   #608   diff @@
====================================
  Files         119    119
  Lines        1915   1915
  Methods         0      0
  Messages        0      0
  Branches        0      0
====================================
  Hits         1915   1915
  Misses          0      0
  Partials        0      0

Powered by Codecov. Last update 64fe353...c3a5d58

Pulled this down locally and stardustCompleter was the only reference I saw that still needs to be changed.

Thanks, working on the doc site editor import rewrite magic/hack ATM.  Once I get that done, I'll manually test the doc site and browser build.  If all that checks out, then we're good publish under the new module name for the first time!

Oh boy, a little nervous to push this button :S Here goes!

OK, released as<EMAIL_ADDRESS>🎉
I expect some triage to follow...


[SILGen] Correctly determine the thrown error type for closures

When a closure throws a generic error type, we were retrieving the substituted error type (involving archetypes) when we needed to be working with the interface type.
Fixes rdar://124484012.

@swift-ci please smoke test


Shapely 1.8.0 error - no output

I had to fix Shapely version on 1.7.1 since I was getting an exception/error.
My OS is Windows 10, Python 3.9.10 and Shapely 1.8.0.
The code ran but didn't write any output. Here is the error trace:
C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\hatched\hatched.py:246: ShapelyDeprecationWarning: The proxy geometries (through the 'asShape()', 'asMultiLineString()' or 'MultiLineStringAdapter()' constructors) are deprecated and will be removed in Shapely 2.0. Use the 'shape()' function or the standard 'MultiLineString()' constructor instead.
  mls, black_cnt, dark_cnt, light_cnt = _build_hatch(
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x000002596302D3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\hatched\hatched.py:197: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  [ls for ls in light_mls] + [ls for ls in dark_mls] + [ls for ls in black_mls]

(art) C:\Users\maria\Desktop\Plotter\Cutes>vpype hatched --levels 20 100 180 -p 5 -b 1 skull.png show
C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\hatched\hatched.py:246: ShapelyDeprecationWarning: The proxy geometries (through the 'asShape()', 'asMultiLineString()' or 'MultiLineStringAdapter()' constructors) are deprecated and will be removed in Shapely 2.0. Use the 'shape()' function or the standard 'MultiLineString()' constructor instead.
  mls, black_cnt, dark_cnt, light_cnt = _build_hatch(
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
Exception ignored in: <function BaseGeometry.__del__ at 0x0000025A3837E3A0>
Traceback (most recent call last):
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 209, in __del__
    self._empty(val=None)
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\base.py", line 199, in _empty
    self._is_empty = True
  File "C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\shapely\geometry\proxy.py", line 44, in __setattr__
    object.__setattr__(self, name, value)
AttributeError: can't set attribute
C:\Users\maria\Documents\genart\vsketch\art\lib\site-packages\hatched\hatched.py:197: ShapelyDeprecationWarning: Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry.
  [ls for ls in light_mls] + [ls for ls in dark_mls] + [ls for ls in black_mls] ```

Good point. I need to update this plug-in for Shapely 1.8.
If you want to take a shot at it, you may check the Shapely 1.8 migration guide.

I don't think I have the skills for that yet :)

Shapely upgraded in https://github.com/plottertools/hatched/pull/9


Add feature tests for tracking clicking app name

What
This adds a feature test clicking the app name in the header.
Why
We need to be sure we don't break tracking with Google Analytics.

Review Checklist

[x] Changes in scope.
[x] Added/updated unit tests.
[x] Added/updated feature tests.
[x] Added/updated relevant documentation.
[x] Added to Trello card.

 (2) Track clicks on 'Content data' app name


Key paths are ambiguous, there is no trivial way to serialize a unique entity key!

Hey... So I've read a few issues on this. For example there's  "Get Unique Entity Key String" about "urlsafe" keys. There the apparently accepted solution was to serialize and encode the key path...
However, key paths in nodejs are ambiguous! See Key IDs Are Coming Back with String Values.
Environment details

OS: Ubuntu Linux 16.04
Node.js version: 8.9.4
npm version: 5.6.0
@google-cloud/datastore version: 1.3.3

Steps to reproduce
const key = db.key(["Post", "31337", "Comment", db.int("999999999999999999")]);
console.log(JSON.stringify(key));
// {"id":"999999999999999999","kind":"Comment","parent":{"name":"31337","kind":"Post","path":["Post","31337"]},"path":["Post","31337","Comment","999999999999999999"]}

const rekey = db.key(key.path);
console.log(JSON.stringify(rekey));
// {"name":"999999999999999999","kind":"Comment","parent":{"name":"31337","kind":"Post","path":["Post","31337"]},"path":["Post","31337","Comment","999999999999999999"]}

It's quite clear that any queries relying on the above serialized key path will fail!
I'm not sure if I can just JSON.parse() a key and use it in a query... If yes, that might be a solution, though this serialized format is ridiculously verbose to use as a foreign key or even as a transmission format.
I can work around this by NOT using entity groups AT ALL (cutting out one of the ways I could optimize a Datastore db), and only having references to fixed Kinds (coming from a relational background I can live with this one)... In this case, I can always just store or send a numeric Id (as a decimal string due to JS number limitations). But still, it's kinda painful compared to having a globally unique serializable Id I could easily use for caching, references, etc...
Thanks!

@daniel-jozsef
You only need to stringify the key's path property to get a UID (unless you're using separate namespaces):
const uid = JSON.stringify(key.path);

// Naive way to recover `int`s is to just parse them as such if the string is numeric
const parsedPath = (JSON.parse(path)).map(e => /^[0-9]+$/.test(e) ? ds.int(e) : e);

const keyFromUid = ds.key(parsedPath);

You may be interested in a tool I made to address my own 'wishlist' for DS keys. Specifically the keyToUid and uidToKey functions.

@beaulac yes using regular expressions can be a workaround, thanks for the idea. :) It did occur to me, but it's somewhat ugly, and numeric names would break it. If I don't use names, I even considered treating every even place of the path array as ds.int.
A framework solution would be nice though, this is among the simplest use cases.
@stephenplusplus I'd expect path to be descriptive. Maybe a db.id object should be added that wraps db.int, and serializes as { id: value }.
A built-in base64 key would be comfortable, but I see ambiguous paths as a huge issue by itself.

I think the google cloud node sdk as a whole needs a robust solutions to integers.
JS not having integers is a ridiculously big issue by itself... These piecemeal solutions such as db.int (which serializes into string, so breaks on serialize-then-parse) make working with the library somewhat painful.
I'd say adopting a bigint library from the community, or just deciding on an unambiguous serialization format (that deserializes back into the original object without loss) is what a real solution would look like.

It would be nice if we could change key.path, but I think it might be dangerous without being certain how it's being used in the wild.
What about a new property, let's say pathSerialized (more creative names welcome)?
const key = ds.key(['Post', '31337', 'Comment', db.int("999999999999999999")])

key.pathSerialized
// {
//   kind: 'Comment',
//   id: '999999999999999999',
//   parent: {
//     kind: 'Post',
//     name: '31337'
//   }
// }

// To re-use:
const recreatedKey = ds.key(key.pathSerialized)

@stephenplusplus that sounds like a solution.
Maybe it could be called "objectpath", as it's an object tree as opposed to an array. (also this allows datastore.key() to seamlessly digest both these and array paths, it just needs to check isArray

Sounds good, thanks for the suggestion! There are a few other things that are going to take priority, so I'll mark this with a help wanted label in case anyone wants to pick it up before I can.

How would the Datastore.key function differentiate such a pathobject from the current options object?
const options = {
  namespace: "...",
  path: ["kind", "id"]
}

What if instead Key provided methods for serialization/deserialization from a GQL Key string? This is a completely unambiguous key, as it additionally (optionally) provides the projectId and namespace.

That sounds pretty great! It looks like an example could be (please correct if wrong):
path.keyString = 'KEY([Building:C, Floor:1, Room:123])'

Do you know of a reliable way we could differentiate between IDs and names when creating a Key object from that input?

How does GQL do it? If it needs to have access to db metadata, then it's not fully descriptive.

Also, I wonder if Datastore allows entities of the same Kind with both Keys and Ids... If yes, then it's a real clusterf...

@stephenplusplus
Here is an example GQL Key:
KEY(parentKind,1234,childKind,'childName')

Kinds (even positioned elements) are unquoted strings. e.g. parentKind
Identifiers (odd positioned elements) are either

Quoted (' or ") strings e.g. 'childName'
Unquoted integers e.g. 1234

GQL key syntax is defined in the [GQL docs]
(https://cloud.google.com/datastore/docs/reference/gql_reference#grammar) as:
<Key> := KEY "("
    [ "PROJECT" "(" <string-literal> ")" "," ]
    [ "NAMESPACE" "(" <string-literal> ")" "," ]
    <key-path-element>+, ")"

<key-path-element> :=
  <kind> "," ( <integer-literal> | <string-literal> )

(integer/string literals defined here)
When specifying a project and/or namespace, path parsing starts after the definition of a PROJECT or NAMESPACE. In these examples, parentKind is treated as being in position 0 for the purposes of determining whether a path element is even or odd.

KEY(PROJECT('my-project'),NAMESPACE('ns'),parentKind,1234,childKind,'childName')
KEY(PROJECT('my-project'),parentKind,1234,childKind,'childName')
KEY(NAMESPACE('ns'),parentKind,1234,childKind,'childName')

@daniel-jozsef

No DB metadata is needed to parse a key.
Yes, Datastore allows mixed names + ids for the same entity kind.
These two properties are connected: Datastore does not enforce a schema for an entity's key (beyond syntax) because there is no predefined metadata for entities. It's very flexible, and indeed, as you're implying, with great power comes great responsibility 😉.

So the entire gql key is going to be a monolithic string in js? I guess it would work fine...
Though handling int64s is something that definitely needs a comprehensive solution.

I created a small utility function in gstore-cache to transform a Datastore Key to a unique id string for caching. You can see it here: https://github.com/sebelga/gstore-cache/blob/master/lib/utils.js#L55
I'd be happy to hear if there is anything more "official" :smile:
I just released gstore-cache this morning so I'd love some feedback on from the community :+1:


Some fields are not auto attached by VeeValidate

Versions:

VueJs: 2.5.16
Vee-Validate: 2.0.8

Description:
Some fields are not attached by VeeValidate.
I have a two steps form.
v-if="step=1"
field
field
field
next button ( enabled if all fields in this step are valid )
v-else
field
field
field
submit button
The last two fields in second step are not attached / seen by veevalidate.
They are selects ( vuetify ).
If I change the fields' order in step 2, always the last two fields are not attached.
If all of them are in the same "step" (removing the v-if/v-else) it works .
Steps To Reproduce:
Will add a codepen later.

I'm using a custom stepped input which works fine, do you mind adding an example demonstrating the issue? it could be related to keys problem.


including a non-existent URI in a properties-file results in zero results

If I include a non-URI or a URI that does not correspond to an OP in the ontology in my properties file, something silently fails, and the resulting rdf file is empty.
Also: an empty properties file leads to all properties being used. This is potentially useful as a kind of default behavior but maybe surprising.

Thanks for catching this! I added info about the default behavior to the CLI docs.


Add support for faunadb

Feature Description

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Replica of #98


Prettified CONTRIBUTING.md + Changed the fonts for GH Pages

Added badges in CONTRIBUTING.md
Changed fonts for headings and paragraph for GH Pages
Fixed broken link of license
Fixed #33

Thanks @Kashish121, merging this!
PS: Today is @ishika1727's Birthday, so I won't bother her to review.

Happy Birthday Ishika! 🎂  🎁   💝


import error

Hey ! I have run the embed.py success for now! but when i try the extract.py .It's show me the below error.
File "extract.py", line 25, in
from os import startfile
ImportError: cannot import name startfile

OK.. The os.startfile function is only available for Windows. I guess you're on a Linux system.
Please feel free to change that last 2 lines with os.system or you could simply remove those lines to disable automated opening result files.

Yeah! I work on Mac !Thank you 👍

Fixed with abf89f3c97c7f409713dfe474a1fceab05f010a5
Thanks for feedback.


Fix loaders in infowindow templates

Infowindow loaders are not being displayed correctly. This PR fixes that.
@piensaenpixel can you please confirm these templates were generate the right markup? thx
cc: @matallo

bump!

LGTM, bumped package.json and removed unused templates
👍


DEV-1377: Create how to unjail

I created a guide on how to unjail, to make it easier for the Node Operators

Task linked: DEV-1377 Create "How-to-unjail" guide on the Node docs

@Tweeddalex Has this been shifted over the node-docs repo?


Add openvr dependency for RE of BSOpenVR

OpenVR submodule: https://github.com/ValveSoftware/openvr

To be consistent with other mods, can you make openvr be in the directory extern/openvr? I think that's the standard structure for external dependencies in c++.

Moved


The JS/TS language service immediately crashed 5 times.

Type: Bug
It just crash at any point I'm using the VSCode.
VS Code version: Code 1.90.1 (611f9bfce64f25108829dd295f54a6894e87339d, 2024-06-11T21:02:43.666Z)
OS version: Linux x64 6.5.0-35-generic snap

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Import namespaces as EnumDecl.

The most basic support for using types that happen to reside in a namespace.
Known problems:

Multiple clang modules will import the same namespace as potentially different decls. This will only be a problem when namespaces support looking up decls.
Cannot directly access the imported namespace or any of the functions defined on it through the normal lookup process.

@jrose-apple are we waiting for @xymus ?

Oops, no, I just lost it because it didn't show "review requested" anymore. @xymus might start chiming in more as we go but for now he's mostly watching, I think.

@swift-ci please test

This may have broken the Windows build.  https://ci-external.swift.org/job/oss-swift-windows-x86_64/835/console

@compnerd That looks like it is due to different windows mangling rules. This test is checking for a particular form for the symbols to ensure that clang symbols are getting called. Should I just disable it for windows?

Since the test doesn't actually care about the C++ ABI, maybe it's easiest to just match @{{.+makeT.+}}().


Documentation Missing

There is no documentation online based on what I can find on how to use
"SimpleSelect by URL". Neither is there on YouTube.
I have tried all rest calls that the pim uses for a "regular" attribute,
and a number of others without success.
What url should I point to, to get it working with an existing SimpleSelect attribute?

You should create your own custom api call. If I recall correctly you should return a JsonResponse with
{
    "options": {
        "key": "value",
        ...
    }
}

Then in your controller you just load the attribute and it's options you want.

What about using an existing simpleselect, those already has an API, controller etc, right?
That is the example I would like to see, rather than re-inventing the wheel.

Depends entirely on what the key/values are that you want to return. In my use-case I needed to return custom reference data entities.
Though I did end up just putting event listeners on my entities and simple updating/creating the flagbit simple select options directly.


【代码迁移】任务：Matthews Correlation Coefficient Loss for Deep Convolutional Networks: Application to Skin Lesion Segmentation

因为在要迁移的代码中已经有使用示例，所以未在该代码中编写主函数
运行结果截图

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zxlzd 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.


[BUG] - Sidebar Navigation Should Trigger Reload

Maybe detaching the router from the sidebar component? Not sure. Check out some router tutorials.

Resolved


Screenshots need to be changed in Employee Onboarding Sample Scenario

Issue: Screenshots needs to be changed in Employee Onboarding Sample Scenario.
Steps to reproduce:
Tutorial 3: Run the Employee Onboarding Sample Scenario ( https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-5-run.html )
Step 2 : Process the Employee Onboarding events
2.   Select Employee Onboarding scenario and click Process Data.
Screenshot In Tutorial:

Actual Screen in UI:

                 3. Refresh to see the processing details.

Screenshot in Tutorial:

Actual Screen in UI:

Step 5 : View process visibility workspace
1. In the Workflow Management Fiori launchpad, open Monitor Visibility Scenarios application, click Process Data and Refresh to see the new batch of processed events.
Screenshot in Tutorial:

Actual Screen in UI:

Step 7: View process visibility workspace for completed workflow
1. In the Workflow Management Fiori launchpad, choose Monitor Visibility Scenarios to process the new set of events.
Screenshot in Tutorial:

Actual Screen in UI:

Kindly look into this and update the document with latest screenshots.
Labels to be added:
Scenario label: SCPTest-eboard
Sprint Label: SCPTest-2208A
Landscape Label: trail2(Trial US East (VA) (AWS) ) & trail3 (AP21 Azure)
Priority: Medium
Thanks & regards,
Baskar

All the screenshots have been updated and pushed to production


Missing int64_t declaration in rectangular_lsap.cpp

I was trying to install scipy for several hours in python:3.7-alpine image. Unfortunately it doesn't build for me. Thought it was a problem with dependencies, tried multiple configurations, but then checked the code that's actually failing and found an issue.
Steps to reproduce:
Create dummy.dockerfile with following content:
FROM python:3.7-alpine
RUN apk add --no-cache build-base openblas-dev lapack-dev
RUN pip install scipy==1.4.1

and run:
docker build -t dummy -f dummy.dockerfile .

Error message:
creating build/temp.linux-x86_64-3.7/scipy/optimize/rectangular_lsap
  compile options: '-I/tmp/pip-build-env-psdpbyuc/overlay/lib/python3.7/site-packages/numpy/core/include -c'
  g++: scipy/optimize/rectangular_lsap/rectangular_lsap.cpp
  Running from scipy source directory.
  /tmp/pip-build-env-psdpbyuc/overlay/lib/python3.7/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/include/python3.7m is invalid.
    return self.get_paths(self.section, key)
  scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:117:43: error: 'int64_t' has not been declared
    117 | solve(int nr, int nc, double* input_cost, int64_t* output_col4row)
        |                                           ^~~~~~~
  scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:186:41: error: 'int64_t' has not been declared
    186 |                                         int64_t* col4row)
        |                                         ^~~~~~~
  scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:117:43: error: 'int64_t' has not been declared
    117 | solve(int nr, int nc, double* input_cost, int64_t* output_col4row)
        |                                           ^~~~~~~
  scipy/optimize/rectangular_lsap/rectangular_lsap.cpp:186:41: error: 'int64_t' has not been declared
    186 |                                         int64_t* col4row)
        |                                         ^~~~~~~
  error: Command "g++ -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/tmp/pip-build-env-psdpbyuc/overlay/lib/python3.7/site-packages/numpy/core/include -c scipy/optimize/rectangular_lsap/rectangular_lsap.cpp -o build/temp.linux-x86_64-3.7/scipy/optimize/rectangular_lsap/rectangular_lsap.o -MMD -MF build/temp.linux-x86_64-3.7/scipy/optimize/rectangular_lsap/rectangular_lsap.o.d" failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for scipy

Scipy/Numpy/Python version information:
scipy==1.4.1

My findings:
I was digging a bit through the code and found that int64_t declaration is truly missing in the rectangular_lsap.cpp file. A line with
#include <cstdint>

should be added.
EDIT: @peterbell10 suggested that it may be better to
#include "rectangular_lsap.h"

Does anyone know when this fix is going to be shipped? I am facing the same issue trying to build a docker image and installing scipy
Are there any mitigation steps for now, for example, changing the version of the library

The official 1.5.0 is scheduled to somewhere around June and probably backported to 1.4.x a bit earlier than that. For now, you can implement the fix #11320 manually and build it.

@ilayn Thanks for the reply. I tried downgrading the scipy package to 1.3.1 and the docker build succeeded. I will upgrade to 1.5 version when the fix is in place.

Hi @akuchotrani, which version of python/alpine are you using when building your image?

@roldan I got same issue when using arm64v8/python:3.6-alpine and installing scipy 1.2.1

Hi @dianadujing, thanks for your answer! not sure but I think I also tried @akuchotrani answer but I finally resolved it using "python:3.8-slim" image (instead alpine) after reading: https://pythonspeed.com/articles/alpine-docker-python/

Hi @dianadujing, thanks for your answer! not sure but I think I also tried @akuchotrani answer but I finally resolved it using "python:3.8-slim" image (instead alpine) after reading: https://pythonspeed.com/articles/alpine-docker-python/

This article is completely misleading. You can't compare the time it takes to build something from scratch to the time it takes to just install a pre-existing and distributed binary. musl is a perfectly valid c library, arguably more perfectly valid than glibc; and there's good reasons for not wanting to build scipy-dependent applications from glibc platforms (admittedly I'm assuming python3.8-slim is using something like ubuntu or debian as its base image).
I get that scipy doesn't want to have an official musl release; they have already done work to allow it to compile on musl libc which is certainly good enough, short of this one issue which I'm hoping to get around by upgrading to 1.6.2 (the latest at the time of this comment being made).


🔈 Announcement: Introducing chargebee v3 beta

Hello everyone 👋
We're excited to announce the release of Chargebee v3 (beta) SDK for Node.js / TypeScript!
Here are some major changes / new features in the new version:

Support for all major JavaScript runtimes like Cloudflare Workers, Deno, Bun etc.
Zero 3rd party dependencies.
Extensive TypeScript types coverage
Better ergonomics for creating multiple instances of Chargebee to connect to different sites.

This will become the single SDK for both JavaScript & TypeScript, meaning that we'll be deprecating chargbeee-typescript. We'll be supporting chargebee-typescript and v2 of chargebee for a long enough period before everyone can migrate to the new major version.
We're testing this with a few customers to find any issues and fix them before we release the new major version. We'd love for you to test this and provide feedback.
You can install this using npm install chargebee@beta
Please go through the Migration guide for v3 and the README in the next branch to learn more about using the new version.
If you have any questions / suggestions / feedback, please post here or send an email to<EMAIL_ADDRESS>Thanks!

Closing this as we have released the new major version v3.


[Feature Request] Adding row delete method in w2grid

I'm using web socket and when one person deletes the record, I want it to be deleted for everyone.
I don't want the grid to be reloaded.
because this method only sends http delete request. then it reloads to the grid.

If there is a method that I do not know, can you share with me? how can i delete only single line without reloading.

how can i use this method
remove() {
        let removed = 0
        for (let a = 0; a < arguments.length; a++) {
            for (let r = this.records.length - 1; r >= 0; r--) {
                if (this.records[r].recid == arguments[a]) { this.records.splice(r, 1); removed++ }
            }
            for (let r = this.summary.length - 1; r >= 0; r--) {
                if (this.summary[r].recid == arguments[a]) { this.summary.splice(r, 1); removed++ }
            }
        }
        let url = (typeof this.url != 'object' ? this.url : this.url.get)
        if (!url) {
            this.localSort(false, true)
            this.localSearch()
        }
        this.refresh()
        return removed
  }

how can i use this method

You call it with an arbitrary number of recids as argument.
w2ui['grid'].remove(2, 5, 6);

Docs: http://w2ui.com/web/docs/1.5/w2grid.remove

Was it that simple :( i have to read the documentation.
sorry thanks

I used the method you said, it works, thank you.
but there is an error after using the remove method. I am using "autoload=false" from grid properties. When you use the remove method, the number of lines in the grid decreases. The autoload feature comes into play and detects as if there is a new data. in short, the row count of the grid should be updated after the remove method.


Installed GO 1.6  & already have parity instead of geth.
then did
export GOPATH=$HOME/go
and installed all the required packages, after that i key in the command "go build -o ether-proxy main.go"
it gives me an error no such file or directory found.
What am i doing wrong here? and would this proxy work with ethcore parity instead of geth?

U need to cd into directory with source:
git clone https://github.com/sammy007/ether-proxy.git
cd ether-proxy
go build -o ether-proxy main.go

thax it worked just fine as the steps you provided


⚠ File access (beta) has degraded performance

In 349f8de, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 9007 ms

Resolved: File access (beta) performance has improved in 6f417c9.


Awake Icon in notification area disappears after Wakeup

Microsoft PowerToys version
0.84.1
Installation method
Chocolatey
Running as admin
None
Area(s) with issue?
Awake
Steps to reproduce
Activate awake and configure taskbar to alway show the Awake icon. Then let the computer fall asleep. After wakeup, the icon disappeared and becomes only visible again if you logoff and login again. A restart of powertoys alone doesn't help
✔ Expected Behavior
The awake icon should be displayed in the notification area
❌ Actual Behavior
The awak icon disappeared after wakeup
Other Software
No response

/dup #34148


docs: visitor_ip usage notice

thanks for the PR, however, this is true for multiple attributes and we call it out broadly at https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zone_settings_override#plan-dependent-settings. I wouldn't want to add this to all plan dependant settings.
this resource is also quite confusing as it is interpreted as a way to manage all settings however, that isn't the intention. it should only be used for setting values that are not the default. we plan to address this later in 4.x by rearchitecting zone settings.

Hi @jacobbednarz, thanks for the info.
In the case of ENT plan, there are only 2 settings which aren't available out of the box, and for them I've created 2 PRs.
Unfortunately, it's hard to catch #plan-dependent-settings section, I think that's why customers still add all the settings to their tf, and with this PR, it will be clear that they should skip visitor_ip and log_to_cloudflare.


M:4 - L:06 - T:Connect to the Azure Cosmos DB SQL API account from the SDK S:8

Module: 04
Lab/Demo: Lab 06
Task: Connect to the Azure Cosmos DB SQL API account from the SDK S
Step: 08
Description of issue
Step 8 references the emulator, but the lab is connected to a real CosmosDB account.
"Asynchronously invoke the CreateDatabaseIfNotExistsAsync method of the client variable passing in the name of the new database (cosmicworks) you would like to create within the emulator and storing the result in a variable of type Database:"

Thanks for bringing this up to our team Chris, I have fixed the incorrect reference to the emulator.


DO NOT MERGE! Testing prod bugfix on SRP

Objective
What:
Why:
How:
Usage:
Type

[ ] Bug Fix
[ ] New Feature
[ ] Performance Tweaks
[ ] Style Tweaks
[ ] Code Refactoring
[ ] Documentation
[ ] Tests

Tested
Outline the approach you've taken to test the change
Translation

[ ] Have you translated all your Paragraphs, ButtonsTitle,... with i18n functionality?

Documented

[ ] Have you documented in changed file using comments
[ ] Have you added instructions to the README if needed?

Closing for now. It seems to be corrected 😊


🎮 Game Request
There will be 2 types of 3d boxes of color red and green. Red is for danger and green will be our moving block. So we have to avoid all the red boxes and keep the green box on the platform and go as far as we can... It's an amazing game and will really be fun to make. It's gonna use HTML, CSS, JavaScript and Three.js Library.
Please assign this issue to me under the tag GSSoC'23 and I will try my best to close this issue and create a PR...
Point down the features
The player can save his box by clicking left, right and can also use up and down arrow to move our box forward and backward respectively. The user can also use mouse to see the platform from the different angles so that he can get a 3D experience.
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @AnmolChauhan123 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hello @AnmolChauhan123, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @AnmolChauhan123 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Wikipedia Scraper [GSSoC'23]

Is your feature request related to a problem? Please describe.
Yes, the problem is that there is a need for a Wikipedia scraper to extract information from Wikipedia pages automatically. A Wikipedia scraper would be useful for various purposes such as data analysis, research, content aggregation, and more. By automating the process of extracting information from Wikipedia pages, users can save time and effort by retrieving the exact data they need in a structured format. This allows for efficient data collection and analysis, and enables the creation of customized datasets for specific research or application purposes.
Describe the solution you'd like
The solution is to create a Wikipedia scraper that can retrieve specific information from Wikipedia pages without manual intervention. Various data extraction operations can be performed using BeautifulSoup. The code will demonstrate examples of extracting the title, introduction paragraph, headings, links, and references from the Wikipedia page. The extracted data will be printed to the console for demonstration purposes. In a real-world scenario, you could store the data in variables, write it to a file, or process it further according to your requirements.
Describe alternatives you've considered
Alternative solutions would include manually copying and pasting the desired information from Wikipedia pages or relying on pre-existing datasets. However, these methods can be time-consuming, error-prone, and may not provide the flexibility to retrieve specific and up-to-date information.
I request @nikhil25803 to kindly assign this issue to me under GSSoC'23. Thanks!

Great Idea @prernamittal
Note

Create a separate module for this, as per the folder and project structure
Work on each method, like create a method first to scrape the detail of a topic. Say Elon Musk for time being
Folder name - wikipedia
Class name - Wikipedia


add The Final Patch (by KaeArby)

This change adds The Final Patch by KaeArby to the Late Changes & Fixes group so the ESM is added to the end of the plugin list.
From the mod author:

Bethesda made to add the maps are in the plugin SFBGS008.esm and nobody, and I mean nobody, copies those changes forward when they edit the cell. This mod is simply copies of the cell records from SFBGS008.esm so you can place it near the bottom of your load order and get those surface maps back.

Thanks.


Can not run joplin-batch-web with local http server

[X] I checked FAQ

Describe the bug
When open the http://<IP_ADDRESS>/index.html，chrome returns a blank page with warning in console:

Failed to load module script: The server responded with a non-JavaScript MIME type of "application/octet-stream". Strict MIME type checking is enforced for module scripts per HTML spec.

To Reproduce
Steps to reproduce the behavior:

unzip the repo downloaded from github, and make the joplin-batch-web directory as http server root
open http://<IP_ADDRESS>/index.html with chrome

Expected behavior
Should open the joplin-batch-web page
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: win10
-joplin-batch-web version : master

Additional context
Add any other context about the problem here.

url
https://joplin-utils.rxliuli.com/joplin-batch-web/

Later I will add the documentation for using the local development environment

Locally developed documentation has been added
https://github.com/rxliuli/joplin-utils/blob/master/apps/joplin-batch-web/docs/dev.md


Clean up old ideas, unused code

@drcmda Hey Paul, I was not sure if you want this stuff left in or not, to me it looks like some "dev" ideas that never got finished, potential online site maybe? You can take or reject the PR or advise on what you think is best.

It can go, I wanted to make a website out of it but didn't have the time


MVP Complete and Stretch 50% done

Great job! Loved the CSS animation you did for the stretch goals!
 Keep up the good work!
Grade: 3


Output panel's "switch to output action" has no effect when hidden

Testing #161802
Very similar to #162004

Open the output panel
Right click on panel controls to hide the switch to output
Now use the ... to try running switch to output

Bug
Nothing happens

@sandy081 am I right in assuming that "switch to output" isn't a submenu but a fake action that renders other actions?

Similar to https://github.com/microsoft/vscode/issues/162004 I can add some prevent-to-hide band aid but there might be debt here

Yes. It implements its own action item here - https://github.com/microsoft/vscode/blob/eb99a782ff563ca3f6ed400ab700e3ab41f2243b/src/vs/workbench/contrib/output/browser/outputView.ts#L275


[Bugs] UPF crash with SEGV when the UE send registration and deregistration repeatedly

Describe the bug
UPF crash with SEGV when the UE send registration and deregistration repeatedly
To Reproduce
UE to send registration and deregistration repeatedly.  UPF will crash due to missing lock of TimerList.
Expected behavior
No crash.
Environment (please complete the following information):

free5GC Version: 3.0.4
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version: 1.14.4 linux/amd64

Pull Request
Pull Request for the fix.

Expected behavior: No crash

Nice description :smile:

Hi Kishiguro,
Thanks for the fix, we are reviewing your fix.
The root cause of this issue is the timer list referenced in two different-context
-> PacketReceiverThread()
-> eventConsumer
We are reviewing more on this issue and get back to you once it has done.
Thanks & Regards,
Muthuraman

Thanks for the contribution!


When use transaction, "no such table" error will occur

When I use transaction, "no such table" error will occur. The following is my test code:
package main

import (
	"fmt"
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/sqlite"

)

type TestEntity struct {
	Name string   `gorm:"name"`
	Type string   `gorm:"type"`
}

func main() {
	db, err := gorm.Open("sqlite3", ":memory:?cache=shared")
	if err != nil {
		panic(err)
	}
	db.LogMode(true)
	db.CreateTable(&TestEntity{})
	temp := &TestEntity{
		Name: "test",
		Type: "test",
	}
	err = db.Create(temp).Error
	if err != nil {
		panic(err)
	}
	query := db.Where("name=?", "test")
	var result TestEntity
	err = query.First(&result).Error
	if err != nil {
		panic(err)
	}
	fmt.Println(result)
	tx := db.Begin()
	query = db.Where("name=?", "test")
	err = query.First(&result).Error
	if err != nil {
		panic(err)
	}
	tx.Commit()
	fmt.Println(result)
}

this is not an issue with mattn/go-sqlite3.
On starting a new transaction, a separate (new or cached ) connection is requested by database/sql and the dns = ":memory:?cache=shared" creates a new (fresh) in-memory database. To use the same in-memory database set uri qualified dns e.g. file::memory:?cache=shared or something better like "file:yourDbName?mode=memory&cache=shared".
PS mattn/go-sqlite3 treats dns as uri if it contains ? but sqlite3 treat filename as uri only if it is according to RFC 3986


Add test to reconnect for listers and condition else branch

I've added test to check if the parameter this.reconnecting is false then not fire this.connect()

I fixed few small things:

do → does, because it is singular it
I changed the test description to describe the use case rather than what implementation do we test. We do not need to improve coverage by testing the current implementation. We should improve real use cases in the test. For instance, in this case you are tested that if the client was not already connected, we should not connect on online event`.

Thank you 👍


ESLint & Prettier rules

Re-format all files using the following Prettier rules:
    "tabWidth": 2,
    "singleQuote": true,
    "trailingComma": "none",
    "quoteProps": "consistent"

Added ES Lint & Prettier to ensure consistent code formatting and validity. Based on OpenLayers ESLint config from https://github.com/openlayers/eslint-config-openlayers.
Added missing JSDoc comments to ol-layerswitcher.js.
Note: Prettier singleQuote, quoteProps and bracketSpacing are all specified twice to ensure Prettier executions (and code editor integrations) agree with those of ESLlint. (All these are set in OpenLayers ESLint config, which I think goes against Prettier best practice as of v2.0.)
Created lint and format npm scripts and include lint in build: lint runs Prettier and ESLint checks, format will automatically fix problems where possible.

@walkermatt At the current time, npm run lint will fail due to unresolved OpenLayers (ol) dependency. I have a commit pending with OpenLayers added as a dev dependency which will fix that, if that's okay with you?

@devsupportman yep, that sounds fine. Thanks for your work on this

Running prettier in the doc script resolves the issue inconsistent formatting:
diff --git a/package.json b/package.json
index d152622..b7cf7a1 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
   },
   "scripts": {
     "watch": "chokidar 'src/**' --initial --command 'WATCH=1 npm run build'",
-    "doc": "documentation readme src/ol-layerswitcher.js --section=API",
+    "doc": "documentation readme src/ol-layerswitcher.js --section=API && prettier --write README.md",
     "lint": "prettier --check . && eslint src examples",
     "format": "prettier --write . && eslint --fix src examples",
     "build": "npm run lint && rollup --config rollup.config.js"

Thanks @devsupportman, I've squashed the commits and made a small change to the doc npm script to avoid documentation outputting the API doc diff each time it runs. Closed in 9602306 :tada:


Add instructions for how to contribute documentation

Add instructions for how to contribute documentation and how to build and run the Jekyll/Just the docs locally.

@hayleycd Can you have a look at this? Thanks!

Thanks! I will put this on my agenda for next week.


Nodes list is filtered by rack

As per our design each shotover instance should proxy to a single cassandra rack.
However we havent yet taken that into account in our implementation.
This PR adds a config field for the user to specify which rack the shotover instance is proxying to.
Then we use that configured rack to filter out any nodes outside of that rack.

My comment here would be to make this optional (filtering by rack) or a bias (prefer nodes in that rack, but if none are up, use the others).
There are a few reasons why we would want to allow shotover to talk to all nodes:

If shotover goes down in one AZ but C* is all 100% still up, the other shotover instances in other AZs can still route requests to all AZs
If nodes are down in an AZ, but the shotover instance is still up, it can route to other instances without returning an error to the client and forcing it to retry again (reducing latency)

Of course we do want to be able to make shotover keep most of the traffic in the same AZ, otherwise we could rack up more cross-AZ traffic costs than is strictly needed.
I might get the Instaclustr C* team to provide some thoughts as well.

If shotover goes down in one AZ but C* is all 100% still up, the other shotover instances in other AZs can still route requests to all AZs

I dont think the other AZ would be hit in that case. If each shotover instance always prefers nodes in its own AZ then it wont suddenly route outside of its AZ because the shotover proxying to that AZ went down.
However:

If nodes are down in an AZ, but the shotover instance is still up, it can route to other instances without returning an error to the client and forcing it to retry again (reducing latency)

Still makes sense.
So I'm happy to go ahead and rewrite accordingly, although that will quite possibly look like removing the routing changes from this PR so that they can be properly addressed later.
Just to confirm the hard filter on data_center should remain right?
That is how the datastax driver behaves and the reasoning is documented here: https://docs.datastax.com/en/developer/java-driver/4.2/manual/core/load_balancing/

We cant yet implement this new design becuase it needs to be implemented alongside token aware routing.
So i'm going to go ahead and close this PR, https://github.com/shotover/shotover-proxy/pull/744 can just introduce the rack config field without modifying the routing logic.


Documentation out of date?

Hi,
is the documentation out of date?
 builder.Services.AddBlazorDB(options =>
            {
                options.Name = "Test";
                options.Version = 1;

The options only have Debug and an Assembly property.

sorry my fault


[14.0] ISPN-14544 RESP endpoint cache shouldn't require no expiration config…

…ured
https://issues.redhat.com/browse/ISPN-14544

Note the wording in upgrading guide is slightly different, not sure what format we wanted to use for micro version bumps.

Merged, thanks


+$$+SEX~VIDEOS~XNXX) XXXX Indian School Girl Xx Xxx Sex Videos night on social media xHamster XNXX FULL HD

20 seconds ago
L𝚎aked Video Indian School Girl Xx Xxx Sex Original Video Viral Video L𝚎aked on X Twitter Telegram
[-wATCH-]— Indian School Girl Xx Xxx Sex Video Original Video Link Indian School Girl Xx Xxx Sex Video Viral On Social Media X Trending Now [1L2U3H]
[-wATCH-]— Indian School Girl Xx Xxx Sex Video Original Video Link Indian School Girl Xx Xxx Sex Video Viral On Social Media X Trending Now
[-wATCH-]— Indian School Girl Xx Xxx Sex Video Original Video Link Indian School Girl Xx Xxx Sex Video Viral On Social Media X Trending Now
[-wATCH-]— Indian School Girl Xx Xxx Sex ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Indian School Girl Xx Xxx Sex ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Indian School Girl Xx Xxx Sex Video Original Video Link Indian School Girl Xx Xxx Sex Video Viral On Social Media X Trending Now
Indian School Girl Xx Xxx Sex Original Video video took the internet by storm and amazed viewers on various social media platforms. Indian School Girl Xx Xxx Sex, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Indian School Girl Xx Xxx Sex Original Video Viral Video L𝚎aked on X Twitter
Indian School Girl Xx Xxx Sex Original Video video oficial twitter
L𝚎aked Video Indian School Girl Xx Xxx Sex Original Video Viral Video L𝚎aked on X Twitter..

cvcv


Frontend assignment 1

Metric
Value

alert_status
:white_check_mark: OK

bugs
12

code_smells
11

reliability_rating
C (at least 1 Major Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


StaticEnvironmentManager is missing output_formats

Looks like output_formats needs to be added to the StaticEnvironmentManager

@jklap Hey Jason! Thanks for opening an issue. Sorry we didn't get around to seeing this; our team has been super busy getting all the features we want for this project.
StaticEnvironmentManager is essentially just a dummy class to validate that the environment_manager_class trait is actually configurable; we won't expend developer resources to keep it functional. We likely will get rid of it eventually once we're done with our initial development phase.

Except that it's actually useful :)
Given how some one may set up JupyerLab (such as with JupyterHub) -- Conda, pipenv may not be used and hence something like that StaticEnvironmentManager is a good fit

Right, but to actually have your environments manager return meaningful output, you would still have to write your own and not use the default StaticEnvironmentMananger.
Whether we have new environment managers that don't depend on conda shipped with jupyter-scheduler out-of-the-box is a separate issue, which I would encourage you to open if you have use-cases.

I would offer the existing StaticEnvironmentManager returns just exactly what I need :) I only one have one "environment" :) In fact, I added the missing output_formats in a patch and have been using it as is :)

Jason, thanks for this input, I will chat with the team to see how we can
support your usage case.
On Tue, Oct 11, 2022 at 2:12 PM Jason Klapste @.***>
wrote:

I would offer the existing StaticEnvironmentManager returns just exactly
what I need :) I only one have one "environment" :) In fact, I added the
missing output_formats in a patch and have been using it as is :)
—
Reply to this email directly, view it on GitHub
https://github.com/jupyter-server/jupyter-scheduler/issues/58#issuecomment-1275281280,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGXUCGKUD725X6Z5Z3E5DWCXJ5BANCNFSM6AAAAAAQYN2TLQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Brian E. Granger
Senior Principal Technologist, AWS AI/ML @.***)
On Leave - Professor of Physics and Data Science, Cal Poly
@ellisonbg on GitHub

Thanks both! And if it doesn't fit within the direction, if I can at least create my own StaticEnvironmentManager type class that would be just fine too!


feat(sheets-drawing-ui): support sheet cell image

close #xxx

Pull Request Checklist

[ ] Related tickets or issues have been linked in the PR description (or missing issue).
[ ] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[ ] Unit tests have been added for the changes (if applicable).
[ ] Breaking changes have been documented (or no breaking changes introduced in this PR).

View Deployment
📑 Examples	📚 Storybook
🔗 Preview link 🔗 Preview link

1

https://github.com/dream-num/univer/pull/4036#issuecomment-2468214407


[Issue] Send-GmailMessage is fitting message body to a set width

Describe the bug
Send-GmailMessage is fitting the body of the message to a specific width instead of sending the text the way it was passed into the function.
To Reproduce
Steps to reproduce the behavior:

Use Send-GmailMessage and make sure to have enough text in a line to go beyond the set width.

Expected behavior
I would expect the Send-GmailMessage to send the message body as I pass it.  It appears to be setting the message to a specific width.  Here are two screenshots.  One showing the message with the full width in GMail and the other showing it shrunk when sending it using Send-GMailMessage.

thanks, @jtwaddle ! PSGSuite uses MimeKit underneath to build the raw Mime message... I'll check it out and see if any tweaking can be done to get it to match what's expected!

Also - worth noting that I'm using PSGSuite 2.12.0 here, which included updates to the Google .NET SDK's inside.
The issue you're describing seems to be real, as I've found another report of someone using the same setup (MimeKit + Gmail .NET SDK) to send messages and the text was being wrapped: https://stackoverflow.com/questions/47425399/send-message-via-gmailservice-api-auto-wraps-lines

hey @jtwaddle - closing this out since everything is working fine for me since testing. If you haven't updated to the latest version of PSGSuite, I invite you to do so and try this out!


Fixed support for organization assets on org import

Fixes CartoDB/cartodb-central/issues/1981.
Acceptance additional notes:

[ ] Set user and organization avatars, and add some org icons. Use those organization icons at a map. After the migration, the avatars, the icon list at organization settings and the map must display those icons.
[ ] Check that migrating an org doesn't destroy the remote assets.

Ok good to me! to acceptance!

 Rollback! ===
2017-12-13 17:17:34 UTC: Importing: #<Redis::CommandError: ERR DUMP payload version or checksum are wrong>

I've deployed in staging cloud and ded10 and I'm trying to move from staging cloud to ded10 the user ethervoid-movetest with assets

Rui:
mtr-master-st.dia2.cartodb.net:6379> info
# Server
redis_version:4.0.6

ded10:
<IP_ADDRESS>:6379> info
# Server
redis_version:3.0.6

@ethervoid ,  @lekum is aware of this and will migrate at least one server to Redis 4 so we can test the migrator.

Cool thank you @lekum

I'm migrating the deds to Redis4, this is the current state, in case you are in a hurry
ded13-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:4.0.6

ded12-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:4.0.6

ded14-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:3.0.6

ded10-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:4.0.6

ded11-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:4.0.6

ded15-st.dia2.cartodb.net | SUCCESS | rc=0 >>
redis_version:3.0.6

All the dedicated machines in staging have been migrated to Redis 4.0.6

BOOM

I've been able to make the migration but some problems appeared:

[x] Migration complete but with some errors

[x] Custom icons are on the map and the organization settings

[ ] Avatar and group images are broken

Migration complete but with some errors

Which errors? Please check that the "error updating..." is not the false positive at #1982.

Custom icons are on the map and the organization settings

^ that's ok, isn't it?

 Please check that the "error updating..." is not the false positive at #1982.

If you look at the text it doesn't have the ":" at the end which will follow the error text so looks like another error but could be.

Custom icons are on the map and the organization settings

^ that's ok, isn't it?

Yep

If you look at the text it doesn't have the ":" at the end which will follow the error text so looks like another error but could be.

That's Central and you're seeing an old staging deployment. I'll check the broken avatars and make sure that at the next acceptance, the deployment is updated. Could you please send the reason why the images are broken? You can get them at the browser, either with JS errors or network errors.

Sure
The avatar error is a 403 from S3 for this image https://s3.amazonaws.com/com.cartodb.users-assets.staging/staging/ethervoid-movetest/assets/20171213162526GTA-V-Avatar-bugstars.jpg
and the same goes for the organization avatar
https://s3.amazonaws.com/com.cartodb.users-assets.staging/staging/ethervoid-movetest/assets/201712131626169SgGVP3r.png

@ethervoid the 403 errors have body at the response?

PS: did you manually delete the organization at the source cloud?

The body of the response is what you get when you enter the links I've provided
No, I didn't delete the org in any form

I can't reproduce :( @ethervoid would you meet and do a live check on this, please? If you want to try again, it's currently at rui and ded10.
PS: I had a problem with the map with the icon because I used a map with too many points for an icon composition, that should be checked, but I think that it will work as avatars do.

We've been reproducing the steps trying to get the same problems that it gave to me without success. So I think it could be some corrupted behavior or something like that.
For me is 🍏  and :shipit:


How to subscribe to a topic

I'm trying to connect to MQTT and receive messages.
PubSubClient is broken and dead , Espressif's mqtt_client example doesn't even compile, and MQTTClient simply doesn't work; this is next on the list.
But the example https://github.com/cyijun/ESP32MQTTClient/blob/main/examples/HelloToMyself/HelloToMyself.ino makes no sense: the functions onMqttConnect and handleMQTT are defined but never used.
Is it possible to use this to subscribe to a topic and receive messages? How?
Somehow handleMQTT is getting called, but it's unclear how to get the topic or payload.

onMqttConnect is the callback of connection established, you may start subscribe topics or print some log in it.
handleMQTT is dirty but necessary for encapsulation, you need to modify it when you need more than one MQTT client object.

You may read the source code of this library to get more information.


Youtube: ERROR: [youtube]  Unable to extract uploader id;

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Brazil
Provide a description that is worded well enough to be understood
https://github.com/ytdl-org/youtube-dl/issues/31530
Mistaken yt-dl for yt-dlp. That issue is still valid.
ERROR: [youtube] pjxa_BEZOHU: Unable to extract uploader id; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp.exe -4 --restrict-filenames --downloader aria2c -o "E:\FOLDER\Downloads\%(title)s.%(ext)s" https://www.youtube.com/watch?v=pjxa_BEZOHU -vU
[debug] Command-line config: ['-4', '--restrict-filenames', '--downloader', 'aria2c', '-o', 'E:\\FOLDER\\Downloads\\%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=pjxa_BEZOHU', '-vU']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-109541-g94aa70d757-20230109 (setts), ffprobe N-109541-g94aa70d757-20230109, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[youtube] Extracting URL: https://www.youtube.com/watch?v=pjxa_BEZOHU
[youtube] pjxa_BEZOHU: Downloading webpage
[youtube] pjxa_BEZOHU: Downloading android player API JSON
[youtube] pjxa_BEZOHU: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 429: Too Many Requests
[youtube] pjxa_BEZOHU: Downloading m3u8 information
WARNING: [youtube] Failed to download m3u8 information: HTTP Error 429: Too Many Requests
ERROR: [youtube] pjxa_BEZOHU: Unable to extract uploader id; 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 "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\youtube.py", line 4049, in _real_extract
  File "yt_dlp\extractor\common.py", line 1228, in _search_regex

yeah, i am getting the same error just now.

Me too, i am getting the same error just now.

Me too, i am getting the same error just now.

Me too

I am also having this problem here. Reading the debug, it shows that the error is in the limit of requests.

Same error here.

[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates

Duplicate of #6247 (which is both pinned and linked in the known issues). Refer to that issue for further conversation.
As said there, a new release will be coming soon. Alternatively you may install from master with pip.
Please always check the known issues before opening anything new, it makes our live a lot easier that way.

Seems they were waiting for me all the time...

Same here

For daily build users: the next version (2023.02.17.xxx) is expected to resolve this issue
I'll be fixing rebase issue before the build start


Link widget requires roles, ARIA properties, and keyboard support (Accessibility)

Use case
The Link widget requires roles, ARIA properties, and expected keyboard support to meet accessibility compliance requirements outlined in the Web Content Accessibility Guidelines (WCAG).
Proposal
WAI-ARIA Roles, States, and Properties

The element containing the link text or graphic is marked up as <a> or has role="link"
If the link requires an additional programmatic label to give context to assistive technology users, use aria-label or aria-labelledby="[IDREF]", with [IDREF] referencing the unique ID of the element that describes the purpose of the tab group

the topic seems to be addressed this document
as mentioned in this issue

https://github.com/flutter/flutter/issues/107861#issuecomment-2066989390

The linked document mentions Link widget. @jcollins-disney I will close this in favor of the linked issue. Please follow-up in it for further updates. If you disagree, write in comments and I'll reopen it.

Reopening based on https://github.com/flutter/flutter/issues/107861#issuecomment-2427190284

I thought this is already supported? cc @yjbanov

The ARIA attributes go into the semantics tree, not the widget itself. However, let's double-check, in case we're missing something.


Text input implementation lacks feature parity with React version

Detailed description
The Angular text input implementation lacks feature parity with the equivalent React version for Carbon Design System v10.
Specifically,

No inline label mode
No read-only mode
No ability to change placeholder text

Steps to reproduce the issue
Visit:

https://v7-react.carbondesignsystem.com/?path=/story/components-textinput--default (v10)
https://angular.carbondesignsystem.com/?path=/story/components-input--label (v10)

In the React version, make use of the "Inline variant (inline)" and "Readonly variant (readOnly)" knobs. None of the stories offer the ability to change the placeholder text, but it's implemented in React.
Additional information
React text input read-only:

React text input inline label:

I have created a PR that implements the read-only and inline inputs, but not sure what was meant by the last point -- "No ability to change placeholder text". Carbon-ng allows to change the placeholder text and this is in Storybook.
For textarea, is it not meant to have read-only state? The CSS from carbon-design-system doesn't quite work for it... but it's another input type that can be used with the ibm-label component in carbon-ng.


Color network icon in options must not depend on current network

@ilyar Thank you for your help!


Bump Glide to 4.3.0 to fix GIF rendering performance in ShotDetailFragment

Turns out there was some performance issues regarding gif decoding to support more gif
formats. Please refer to this issue in the Glide project - https://github.com/bumptech/glide/issues/1744.
This seems to be fixed in 4.3.0. Gifs play fluidly now compared to 4.0.0.

Thanks @pawelkw


[camera] Add PendingRecording class to CameraX plugin

Overview
Part of https://github.com/flutter/flutter/issues/111138.
In the CameraX library, the PendingRecording class is used to start a recording and allows for its configuration beforehand. Thus, this class essential to implementing video capture in the CameraX plugin.
Requirements
The following is a running list of the methods required for adding the PendingRecording class to the CameraX plugin:

[ ] Recording start(Executor listenerExecutor, Consumer<VideoRecordEvent> listener)
[ ] PendingRecording withAudioEnabled()

Completed by https://github.com/flutter/packages/pull/3467


LEAP prod hub unable to start Large profile notebooks

Context
Filed through support.
Get  a ValueError when spawning Expected option gpu-image for profile large, not found in posted form

[W 2023-02-21 17:07:50.443 JupyterHub base:1039] 2 consecutive spawns failed.  Hub will exit if failure count reaches 5 before succeeding
[E 2023-02-21 17:07:50.443 JupyterHub gen:630] Exception in Future <Task finished name='Task-439647' coro=<BaseHandler.spawn_single_user.<locals>.finish_user_spawn() done, defined at /usr/local/lib/python3.11/site-packages/jupyterhub/handlers/base.py:963> exception=ValueError('Expected option gpu-image for profile large, not found in posted form')> after timeout
    Traceback (most recent call last):
      File "/usr/local/lib/python3.11/site-packages/tornado/gen.py", line 625, in error_callback
        future.result()
      File "/usr/local/lib/python3.11/site-packages/jupyterhub/handlers/base.py", line 970, in finish_user_spawn
        await spawn_future
      File "/usr/local/lib/python3.11/site-packages/jupyterhub/user.py", line 851, in spawn
        raise e
      File "/usr/local/lib/python3.11/site-packages/jupyterhub/user.py", line 748, in spawn
        url = await gen.with_timeout(timedelta(seconds=spawner.start_timeout), f)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/jovyan/.local/lib/python3.11/site-packages/jupyterhub_configurator/mixins.py", line 45, in start
        return await super().start(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/site-packages/kubespawner/spawner.py", line 2645, in _start
        await self.load_user_options()
      File "/usr/local/lib/python3.11/site-packages/kubespawner/spawner.py", line 3103, in load_user_options
        await self._load_profile(selected_profile, selected_profile_user_options)
      File "/usr/local/lib/python3.11/site-packages/kubespawner/spawner.py", line 3034, in _load_profile
        raise ValueError(
    ValueError: Expected option gpu-image for profile large, not found in posted form

[E 2023-02-21 17:07:50.449 JupyterHub pages:373] Previous spawn for pnasrat failed: Expected option gpu-image for profile large, not found in posted form

kubectl get nodes -n prod
NAME                                       STATUS   ROLES    AGE     VERSION
gke-leap-cluster-core-pool-1cc6bf7d-5fnp   Ready    <none>   130d    v1.24.5-gke.600
gke-leap-cluster-core-pool-1cc6bf7d-5fwt   Ready    <none>   62d     v1.24.5-gke.600
gke-leap-cluster-core-pool-1cc6bf7d-7wg2   Ready    <none>   31d     v1.24.5-gke.600
gke-leap-cluster-nb-huge-cf099c13-pplg     Ready    <none>   68m     v1.24.5-gke.600
gke-leap-cluster-nb-medium-b9c8ba20-45v5   Ready    <none>   3h28m   v1.24.5-gke.600
gke-leap-cluster-nb-medium-b9c8ba20-c6gs   Ready    <none>   137m    v1.24.5-gke.600
gke-leap-cluster-nb-medium-b9c8ba20-xdtg   Ready    <none>   136m    v1.24.5-gke.600

The traceback looks to be in profile handling - specifidcally for profile_options.
The form posts:
small-image: pangeo
profile-option-medium-image: pangeo
profile: large
profile-option-large-image: pangeo
profile-option-huge-image: pangeo
profile-option-large-gpu-image: tensorflow

See https://github.com/jupyterhub/kubespawner/blob/main/kubespawner/spawner.py#L3034
        if profile.get('profile_options'):
            # each option specified here *must* have a value in our POST, as we
            # render our HTML such that there's always something selected.

            # We only honor options that are defined in the selected profile *and*
            # are in the form data posted. This prevents users who may be authorized
            # to only use one profile from being able to access options set for other
            # profiles
            for user_selected_option_name in selected_profile_user_options.keys():
                if (
                    user_selected_option_name
                    not in profile.get('profile_options').keys()
                ):
                    raise ValueError(
                        f'Expected option {user_selected_option_name} for profile {slug}, not found in posted form'
                    )

It doesn't look like the kubespawner side of this has changed lately but I suspect something is not working correctly having
profile-option-large-image
profile-option-large-gpu-image

It looks like potentially there was a change to how profile_options were configured in this commit by @yuvipanda in f20aa17c24955f2200b39595b215f3423cfe0165

That might be a red herring - trying to understand the flow
The form post will yield
{'profile': 'large',
 'profile-option-large-image': 'pangeo',
 'profile-option-large-gpu-image': 'tensorflow'}

This then gets parsed to be the options per profile ie having image and gpu-image for profile large.

Looking for hubs with profile lists with GPU
ack -- '\+ GPU'
m2lines/common.values.yaml
129:        - display_name: Large + GPU

leap/common.values.yaml
156:        - display_name: Large + GPU

2i2c-aws-us/researchdelight.values.yaml
79:        - display_name: "Large + GPU"

I tried on researchdelight and it worked, however the display name for large means the slug is profile-item-large-m5-2xlarge
 grep Large 2i2c-aws-us/researchdelight.values.yaml leap/common.values.yaml m2lines/common.values.yaml
2i2c-aws-us/researchdelight.values.yaml:        - display_name: "Large: m5.2xlarge"
2i2c-aws-us/researchdelight.values.yaml:        - display_name: "Large + GPU"
leap/common.values.yaml:        - display_name: Large
leap/common.values.yaml:        - display_name: Large + GPU
m2lines/common.values.yaml:        - display_name: Large
m2lines/common.values.yaml:        - display_name: Large + GPU

I suspect either setting slug or changing the display name might work around this.  PR to test. I'm also pulling down minikube to test kubespawner's logic (based on the unit tests of the spawner using a mock spawner)

Modified the kubespawner unit tests to replicate this failure
_test_profiles = [
    {
        'display_name': 'Training Env - Python',
        'slug': 'training-python',
        'default': True,
        'kubespawner_override': {
            'image': 'training/python:label',
            'cpu_limit': 1,
            'mem_limit': 512 * 1024 * 1024,
        },
    },
    {
        'display_name': 'Training Env - Datascience',
        'slug': 'training-python-datascience',
        'kubespawner_override': {
            'image': 'training/datascience:label',
            'cpu_limit': 4,
            'mem_limit': 8 * 1024 * 1024 * 1024,
        },
    },
]

async def test_user_options_set_from_form():
    spawner = KubeSpawner(_mock=True)
    spawner.profile_list = _test_profiles
    # render the form
    await spawner.get_options_form()
    spawner.user_options = {
            'profile': [_test_profiles[0]['slug']],
            f"{_test_profiles[1]['slug']}-image": "foo",
            f"{_test_profiles[0]['slug']}-image": "bar"
        }

   # assert spawner.user_options == {
   #     'profile': _test_profiles[1]['slug'],
   # }
    # nothing should be loaded yet
    assert spawner.cpu_limit is None
    await spawner.load_user_options()
    for key, value in _test_profiles[1]['kubespawner_override'].items():
        assert getattr(spawner, key) == value

self = <kubespawner.spawner.KubeSpawner object at 0x7f8c22f34400>, slug = ['training-python']
selected_profile_user_options = {'training-python-datascience-image': 'foo', 'training-python-image': 'bar'}

    async def _load_profile(self, slug, selected_profile_user_options):
        """Load a profile by name

        Called by load_user_options
        """

        # find the profile
        default_profile = self._profile_list[0]
        for profile in self._profile_list:
            if profile.get('default', False):
                # explicit default, not the first
                default_profile = profile

            if profile['slug'] == slug:
                break
        else:
            if slug:
                # name specified, but not found
>               raise ValueError(
                    "No such profile: %s. Options include: %s"
                    % (slug, ', '.join(p['slug'] for p in self._profile_list))
                )
E               ValueError: No such profile: ['training-python']. Options include: training-python, training-python-datascience

kubespawner/spawner.py:3011: ValueError

Deleted prior kubespawner comment as not properly wired the test data.

Thanks for excellent overview of your investigation!
In the spawn page, pressing start on the large option, I found that the sent form data:

So, all options are passed, but only the "large" is relevant. But when kubespawner consideres these options, we have a failure because it reacts on the profile-option-large-gpu-image option as it was a problem - an option beloning to the large profile as compared to the large-gpu profile.
I assume the issue is that kubespawner fail to distinguish between <profile-name-slug-form>-<profile-option-slug-form> because the separator can be part of the slug name as well.
I've confirmed this via this code segment, which just looks on a prefix. The large profile fails to start because its profile name is part of large-gpu.
https://github.com/jupyterhub/kubespawner/blob/main/kubespawner/spawner.py#L2981-L2991
I think the change that won't disrupt users is to add a slug (the name of the profile in a computer friendly format) that ensures Large + GPU doesn't get a similar slug to large, such as just gpu.

I opened https://github.com/jupyterhub/kubespawner/issues/702 but doesn't look to resolve it myself now that its documented well enough.
For us right now, the workaround should be to add a slug for the Large + GPU profile list entry so its not generated to be large-gpu, but to let it be declared like gpu or gpu-large.
Note that we should not try to combine the GPU profile_list entry with the Large server entry, as I know that we want to start using n2-highmem servers for non-gpu servers, but they can't have GPUs etc.

Deployer failed on LEAP staging health check but checking the staging hub the change is there and the hub is healthy. Will check manually.

Restarting the workflow failed jobs succeeded the health check, if this is recurrent we might need to revisit the retry strategy to not have flaky failures due to slow bringup


ADD: Add Data Access Notebook

Add a data access notebook
Closes #46

@mgrover1 I think we can merge this. The PR was run with the "old" jupyter-book workflow. I'm still trying to get the new myst workflow running for PR's in #57. I'm almost there, only need to zip the thing, sigh.


Audio oembed Should Result in Playable Audio File

Posts that include an audio component, be it a podcast or something else, should be playable right in the browser with all of the appropriate controls that a person might want/need.

Done and done. Closing Issue.


[FLINK-27810][es][tests] Reduce number of bundled dependencies

No longer bundled log4j (as it is provided by Flink) nor transitive dependencies from flink-end-to-end-tests-common-elasticsearch (as they are necessary).
We still need flink-end-to-end-tests-common-elasticsearch itself for some utility classes though.

And perhaps also @afedulov

LGTM.


Web - Secondary acc validation - No validation error for the expired link

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/10026
Action Performed:

Add secondary account via OldDot and validate it
Logout form the NewDot
Try to use validation link with staging.new.expensify.com domain

Expected Result:
in Case 4, an error message would displayed below the password field stating: "This set password link is invalid or has expired...",
Actual Result:
There is no expiration error
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/186915749-8b8a8918-00e1-437f-abbd-eff5bf4413e2.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Not sure what priority this issue has, @robertjchen could you please help? I see you worked on ValidateLogin refactor and I thought you might have some context.

After looking at this SO, I think the issue isn't a daily because this isn't

a bug that prevents many users using the product

I believe this is resolved here: https://github.com/Expensify/App/issues/10754


Magic 8th Ball naming sideffects

Took me a few hours to figure out how to generate an AST file for c++that is scoped down to my namespace instead of the whole az c++ sdk type definitions.
Having that depend on how the resulting ast file is named, case sensitivity and string separators seems like the least optimal way of enabling/disabling such behavior. Gods forbid a typo.
Proposal :  have a --namespaces parameter that would allow to scope down the API view / ast file to the desired namespaces, vs having all of them create dand hope the name is correct,

This is no longer required after we switched to new API parser.


Breaking change from Bootstrap 4

https://github.com/twbs/bootstrap/commit/49153ecf4f1daa57c6f09e0cb01f7942cb7baf82
TL;DR: scss variable $grid-gutter-width was renamed to $grid-gutter-width-base, so the uikit _navbar.scss should be updated to use the new variable name. Sending PR your way.
Thanks,
Joe

fixed via 5d5499ad7 (#149)