Memory error is occurred when running aqt install-qt windows desktop 6.2.0 on 32bit python on windows

 λ aqt list-qt windows desktop --modules 6.2.0 win64_msvc2019_64
debug_info qt3d qt5compat qtactiveqt qtcharts qtconnectivity qtdatavis3d qtimageformats qtlottie qtmultimedia qtnetworkauth qtpositioning qt

quick3d qtquicktimeline qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtshadertools qtvirtualkeyboard qtwebchannel qtwebengine

qtwebsockets qtwebview

 /cygdrive/c/Users/rotter/Downloads/PraktikSW.Praktik.cz  chyba ❗
 λ aqt install-qt --outputdir C:\\Qt windows desktop 6.2.0 win64_msvc2019_64 -m qtwebengine qtmultimedia qtwebchannel qt5compat qtimageformats
aqtinstall(aqt) v2.0.0 on Python 3.8.3 [CPython MSC v.1925 32 bit (Intel)]
Downloading qtimageformats...
Downloading qtmultimedia...
Downloading qtwebchannel...
Downloading qtwebengine...
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Finished installation of qtwebchannel-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 0.60492760
Downloading qt5compat...
Finished installation of qtimageformats-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 0.89102150
Downloading qtbase...
Finished installation of qtmultimedia-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 0.97993880
Downloading qtsvg...
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Finished installation of qt5compat-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 0.86194740
Downloading qtdeclarative...
Finished installation of qtsvg-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 0.71559730
Downloading qttools...
Redirected: ftp.fau.de
Redirected: ftp.fau.de
Finished installation of qttools-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 19.06611700
Downloading qttranslations...
Redirected: ftp.fau.de
Finished installation of qttranslations-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 1.56577150
Downloading d3dcompiler_47...
Redirected: ftp.fau.de
Finished installation of d3dcompiler_47-x64.7z in 1.16161100
Downloading opengl32sw...
Redirected: ftp.fau.de
Finished installation of qtbase-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z in 23.20178640
Finished installation of opengl32sw-64-mesa_11_2_2-signed.7z in 3.37533860

multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "c:\programy\python\lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "c:\programy\python\lib\multiprocessing\pool.py", line 51, in starmapstar
    return list(itertools.starmap(args[0], args[1]))
  File "c:\programy\python\lib\site-packages\aqt\installer.py", line 893, in installer
    szf.extractall(path=base_dir)
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 948, in extractall
    self._extract(path=path, return_dict=False, callback=callback)
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 604, in _extract
    self.worker.extract(
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 1165, in extract
    self.extract_single(
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 1276, in extract_single
    raise e
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 1261, in extract_single
    crc32 = self.decompress(fp, f.folder, ofp, f.uncompressed, f.compressed, src_end)
  File "c:\programy\python\lib\site-packages\py7zr\py7zr.py", line 1313, in decompress
    tmp = decompressor.decompress(fp, out_remaining)
  File "c:\programy\python\lib\site-packages\py7zr\compressor.py", line 630, in decompress
    tmp = self._decompress(self._unused + data, max_length)
  File "c:\programy\python\lib\site-packages\py7zr\compressor.py", line 602, in _decompress
    data = decompressor.decompress(data)
MemoryError
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "c:\programy\python\lib\site-packages\aqt\installer.py", line 99, in run
    args.func(args)
  File "c:\programy\python\lib\site-packages\aqt\installer.py", line 294, in run_install_qt
    run_installer(qt_archives.get_packages(), base_dir, sevenzip, keep)
  File "c:\programy\python\lib\site-packages\aqt\installer.py", line 835, in run_installer
    pool.starmap(installer, tasks)
  File "c:\programy\python\lib\multiprocessing\pool.py", line 372, in starmap
    return self._map_async(func, iterable, starmapstar, chunksize).get()
  File "c:\programy\python\lib\multiprocessing\pool.py", line 771, in get
    raise self._value
MemoryError
Arguments: `['C:\\Programy\\Python\\Scripts\\aqt', 'install-qt', '--outputdir', 'C:\\Qt', 'windows', 'desktop', '6.2.0', 'win64_msvc2019_64'

, '-m', 'qtwebengine', 'qtmultimedia', 'qtwebchannel', 'qt5compat', 'qtimageformats']` Host: `uname_result(system='Windows', node='PC-MARTIN

', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel')`
===========================PLEASE FILE A BUG REPORT===========================
You have discovered a bug in aqt.
Please file a bug report at https://github.com/miurahr/aqtinstall/issues.
Please remember to include a copy of this program's output in your report.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "c:\programy\python\lib\multiprocessing\connection.py", line 312, in _recv_bytes
    nread, err = ov.GetOverlappedResult(True)
BrokenPipeError: [WinError 109] Přesměrování bylo ukončeno

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\programy\python\lib\threading.py", line 932, in _bootstrap_inner
Exception ignored in: <function Pool.__del__ at 0x04BA86A0>
Traceback (most recent call last):
  File "c:\programy\python\lib\multiprocessing\pool.py", line 268, in __del__
    self._change_notifier.put(None)
  File "c:\programy\python\lib\multiprocessing\queues.py", line 365, in put
    self._writer.send_bytes(obj)
  File "c:\programy\python\lib\multiprocessing\connection.py", line 200, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File "c:\programy\python\lib\multiprocessing\connection.py", line 280, in _send_bytes
    ov, err = _winapi.WriteFile(self._handle, buf, overlapped=True)
OSError: [WinError 6] Neplatný popisovač

I tried to reproduce this error locally, using Python 3.10 32-bit on Windows, and I think I have narrowed it down to the qtwebengine module. Every time I try to install that file, I get a MemoryError, sometimes preceded by SystemError: deallocated bytearray object has exported buffers.
The qtwebengine file is here, for future reference: https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt6_620/qt.qt6.620.addons.qtwebengine.win64_msvc2019_64/6.2.0-0-202109261527qtwebengine-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z
I tried to extract the file using the standalone py7zr tool, and I always get this error:
> python -m py7zr x D:\Downloads\6.2.0-0-202109261527qtwebengine-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z
SystemError: deallocated bytearray object has exported buffers
Traceback (most recent call last):
  File "D:\Users\dave\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Users\dave\AppData\Local\Programs\Python\Python310-32\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\__main__.py", line 29, in <module>
    sys.exit(main())
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\__main__.py", line 25, in main
    return cli.Cli().run()
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\cli.py", line 99, in run
    return args.func(args)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\cli.py", line 358, in run_extract
    a.extractall(callback=cb)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 955, in extractall
    self._extract(path=path, return_dict=False, callback=callback)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 613, in _extract
    self.worker.extract(
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 1172, in extract
    self.extract_single(
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 1283, in extract_single
    raise e
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 1268, in extract_single
    crc32 = self.decompress(fp, f.folder, ofp, f.uncompressed, f.compressed, src_end)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\py7zr.py", line 1320, in decompress
    tmp = decompressor.decompress(fp, out_remaining)
  File "D:\Documents\PycharmProjects\aqtinstall\venv_32w\lib\site-packages\py7zr\compressor.py", line 648, in decompress
    res = self._buf[self._pos :] + tmp[: max_length - current_buf_len]
MemoryError

Note that this error is specific to 32-bit Python; I cannot reproduce the error with 64-bit Python.
I am going to open an issue in the py7zr repo to track this.
I am skeptical that this is an out-of-memory error, and I think we should consider changing our error messages. I watched both py7zr and aqt try to unpack this file in Task Manager, and I never saw memory usage go over 880 MB. The file itself is 141MB compressed, and ~643MB decompressed. I am unclear on why py7zr is using so much memory; is it holding the entire uncompressed archive in memory at once?

@martinrotter @ddalcino could you test it again with a small modification of aqtinstall?
Change installer.py#L395 from
        with py7zr.SevenZipFile(archive, "r") as szf:
            szf.extractall(path=base_dir)

to
        with py7zr.SevenZipFile(archive, "r", blocksize=32768) as szf:
            szf.extractall(path=base_dir)

This parameter forces py7zr  to set memory buffer size 32KB instead of  default, 1MB.

@martinrotter @ddalcino could you test it again with a small modification of aqtinstall?
Change installer.py#L395 from
-        with py7zr.SevenZipFile(archive, "r") as szf:
+        with py7zr.SevenZipFile(archive, "r", blocksize=32768) as szf:
            szf.extractall(path=base_dir)

This parameter forces py7zr to set memory buffer size 32KB instead of default, 1MB.

This change still results in a MemoryError for me.
I have noticed that running py7zr x 6.2.0-0-202109261527qtwebengine-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z results in a successful decompression, when blocksize is set to 32768. Watching py7zr's memory profile in Windows Task Manager shows that it never occupies more than about 40-45MB.
However, running aqtinstall with blocksize=32768, I can see several child processes spawned by aqtinstall, and several of them occupy between 200 and 800 MB each. They use a lot of network bandwidth, and then they write a lot of data to disk, and then they stop doing anything at all, but they still occupy the same amount of space in memory. It looks like they are just taking up space that they don't need, after finishing the decompression. To me, it looks like the one file that takes the longest to download (qtwebengine) gets decompressed last, after all the other files have been decompressed, and at that point, the other processes are all done, but they still occupy ~500MB of memory.

#462 bump py7zr @ v0.17.0 which include a fix for 32bit python.

I've added leak check test as #464.
It report aqtinstall leaks object reference counter.
I've also added leak check for dependency py7zr  at https://github.com/miurahr/py7zr/pull/388 but py7zr does not leak at least for extraction.

I found that multiprocessing.Pool parameter maxtasksperchiled help force garbage-collect when numbrer of tasks done. #464 tune it when on 32bit python.

Is there any further claims?


Control selected rows from the component

Issue Type (delete the irrelevant ones)

[x] Question

Question
How can I control the selected rows from the component itself? E.g. I'd like to check certain rows or all rows at time of instantiation of the table / or with a method?

hey @KINKCreative please refer to this closed issue:
https://github.com/xaksis/vue-good-table/issues/287
you can use vgtSelected property to achieve what you're looking for.
closing.


Handle no data in metric chart

Currently when our MetricSeriesChart encounters a timeseries with no data in it for the selected time period, it will fail ungracefully. Specifically, it will throw an internal assertion failure that's visible on the console, but not immediately apparent to the user. This PR handles this failure by ensuring the chart informs the user there's no data if it encounters a timeseries with no data for the selected time period.
Closes https://github.com/act-now-coalition/act-now-packages/issues/541
Before

After

The loading state now shows the "no data in the time range" message for a bit https://act-now-packages--pr549-faihegberg-handle-no-2xez2ang.web.app/storybook/index.html?path=/story/components-metricserieschart--loading-delay, I think the check is still not quite what we need


Account verification is not working as intended

Description
Users can perform actions that require account verification such as password/username recovery, Email OTP login when both "account verification" and "activate account immediately" is selected.

How to reproduce

Navigate to login and registration section
Go to self registration and enable both "account verification" and "activate account immediately"
Create a new user but don't verify the email
Try to login with email OTP enabled flow
Try to recover username or password

Expected behaviour
Users with not verified account should be able to login but be restricted to do actions such as username/password recover, Email OTP etc.

This is not a bug but the intended behaviour as documented in https://is.docs.wso2.com/en/latest/guides/account-configurations/user-onboarding/self-registration/
Currently Identity Server does not block user actions based on the account verification status.

If you think this sort of capability is needed let's open a feature type issue


Add 'recreate' option that will always recreate the slug

Added the 'recreate' option (defaults to false). It will always re-create the slug, regardless if the slug fields have changed or not. I found it useful when wanting to existing documents that don't have the slug yet.

Thanks @PeterJausovec.
I'll review this over the weekend, sorry for the delay.


Rename the repo and project files

Background Information

[x] Rename the repository to sdtm.oak
[x] the package name to sdtm.oak
[x] Make the package public
[ ] Update the description file.

Definition of Done
Completion of the above tasks

The update on the DESCRIPTION is done already: https://github.com/pharmaverse/sdtm.oak/blob/7f1bc0a846376a4e3cd03a325e065b278b736da5/DESCRIPTION#L1.
So I guess we can close this issue.


Applying Persistent Volume resource to failover cluster

Currently, to be able to failover the application to a Disaster Protected peer cluster, VolumeReplicationGroup uploads the PV metadata to an object store. Later, at the time of the failover those PV metadata can be applied to the failover cluster. Though initially it was supposed to be VolumeReplicationGroup resource on the peer cluster which should be pulling and PV metadata and applying them, currently it is ApplicationVolumeReplication (AVR) controller which applies the PV metadata manifest on the appropriate managed cluster to which failover is happening.
One of the major reasons for choosing ApplicationVolumeReplication to do this instead of VolumeReplicationGroup on  the managed cluster was, the unavailability of mechanisms to check from the hub whether the VolumeReplicationGroup that has been applied to the appropriate managed cluster (i.e. failover cluster to be precise) is in a ready state for subsequent deployment of the application.
With PR https://github.com/RamenDR/ramen/pull/57 there is a way to get the status of the VolumeReplicationGroup resource from the managed cluster. So, with this, would it be better for VolumeReplicationGroup from the failover cluster to pull down the PV metadata from the object store and apply them locally? ApplicationVolumeReplication (AVR) can check the status of VolumeReplicationGroup that has been applied to the failover cluster to decide whether to go ahead with deployment of application or not (depending upon whether VolumeReplicationGroup is ready or not).

I would go with the current pattern of AVR applying the PV manifest for failback as well. There is PV garbage collection that needs to be done by AVR as well.

Failback is coordinated by AVR, so we need PVs restored before PVCs are created on the system

So if VRG has to restore PVs in a failback situation, it needs to know it is failback (or some toggle to restore PVs and not bother with PVCs at all)
AVR has to create VRG in this format, and then only shift the placement to the preferred (failback) cluster
Instead of the above, as AVR restores PVCs for failover, it can restore it for failback before changing the placement

PV MW garbage collection

As AVR creates the PV ManifestWork, these need to be deleted when a cluster is no longer holding the VRG
This needs to be done as otherwise OCM will keep maintaining the MW on the managed cluster and keep recreating the PVs
This has to be done post VRG deletion, and hence cleaning up any PV MWs on the cluster

This is so that we first mark the PV as reclaim and then later delete the PV MW

Overall, for the coordination steps in between changing placement (and hence creating PVCs on a cluster) and having PVs on the cluster ready to bind, AVR doing the same would be appropriate and easier to reason with.

I would go with the current pattern of AVR applying the PV manifest for failback as well. There is PV garbage collection that needs to be done by AVR as well.

We are changing VRG to restore (and also gaarbage collect) PVs from the S3 stores.

* Failback is coordinated by AVR, so we need PVs restored before PVCs are created on the system

  * So if VRG has to restore PVs in a failback situation, it needs to know it is failback (or some toggle to restore PVs and not bother with PVCs at all)
  * AVR has to create VRG in this format, and then only shift the placement to the preferred (failback) cluster

A basic condition as per the above is what DRPC does in #197

  * Instead of the above, as AVR restores PVCs for failover, it can restore it for failback before changing the placement

* PV MW garbage collection

  * As AVR creates the PV ManifestWork, these need to be deleted when a cluster is no longer holding the VRG
  * This needs to be done as otherwise OCM will keep maintaining the MW on the managed cluster and keep recreating the PVs
  * This has to be done post VRG deletion, and hence cleaning up any PV MWs on the cluster

As MW is no longer in play, as in #197 garbage collection is handled by VRG directly.

    * This is so that we first mark the PV as reclaim and then later delete the PV MW

Overall, for the coordination steps in between changing placement (and hence creating PVCs on a cluster) and having PVs on the cluster ready to bind, AVR doing the same would be appropriate and easier to reason with.


add batch processor

Description

Fixes WB-NNNNN
Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.
Testing
How was this PR tested?

#3167  👈 (View in Graphite)
master

This stack of pull requests is managed by Graphite. Learn more about stacking.


Remove TinyDB as a dependency

What does this changes
This PR removes TinyDB as a dependency.
What was wrong
TinyDB is an unnecessary external dependency.
How this fixes it
Remove TinyDB as a dependency and use json in the Python standard library instead.
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[X] Passed code styles and structures
[x] Passed code linting checks and unit test

Hello @BLKSerene! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pythainlp/corpus/__init__.py:

Line 56:40: E251 unexpected spaces around keyword / parameter equals
Line 56:42: E251 unexpected spaces around keyword / parameter equals

In the file pythainlp/corpus/core.py:

Line 50:46: E251 unexpected spaces around keyword / parameter equals
Line 50:48: E251 unexpected spaces around keyword / parameter equals
Line 381:50: E251 unexpected spaces around keyword / parameter equals
Line 381:52: E251 unexpected spaces around keyword / parameter equals
Line 429:54: E251 unexpected spaces around keyword / parameter equals
Line 429:56: E251 unexpected spaces around keyword / parameter equals
Line 477:46: E251 unexpected spaces around keyword / parameter equals
Line 477:48: E251 unexpected spaces around keyword / parameter equals
Line 480:80: E501 line too long (80 > 79 characters)
Line 486:50: E251 unexpected spaces around keyword / parameter equals
Line 486:52: E251 unexpected spaces around keyword / parameter equals

PEP 8 should be happy now, please approve running CI and review the PR.

Initialization of the local database file fixed. Now should be fully compatible with the behavior of TinyDB.
The CI has passed, except for one test relating to ConceptNet API, it seem to be a network error from the API provider, hence irrelevant to this PR.

Awesome Work!
Thank you.


Update + activate linux aarch64 and ppc64le builds

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Travis gets triggered twice, probably .com vs. org., one of it is failing, which can be ignored as done in other feedstocks.


events for add & removing widgets

any chance you could add events for when a widget gets added, and one for removal of a widget too

Sure, I can do this.

While playing with the code for add and remove, could you check this issue.
Thanks !

Duplicate of #54. Emitting events for adding and removing widgets will be completed for v0.2.5 and the original ticket will be updated when the feature has been completed.


Suppress Reboot for SecombaGmbH.Boxcryptor

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

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.1 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Resolves #66759

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


NIO autoReadClear should also clear the SelectionKey

Motivation:
Prior to 5b48fc284ebe85ca4974985e3be005d37626e980 setting readPending to false when autoReadClear was called was enough because when/if the EventLoop woke up with a read event we would first check if readPending was true and if it is not, we would return early. Now that readPending will only be set in the EventLoop it is not necessary to check readPending at the start of the read methods, and we should instead remove the OP_READ from the SelectionKey when we also set readPending to false.
Modifications:

autoReadCleared should call AbstractNioUnsafe.removeReadOp

Result:
NIO is now consistent with EPOLL and removes the READ operation on the selector when autoRead is cleared.

@normanmaurer @trustin - PTAL

@Scottmitch please cherry-pick.

Cherry-picked 4.1 (0bc93dd)


Fix warnings from collections

Specifically, the following DeprecationWarning due to changes in Python
3.7 [1]
/home/yen/Projects/python-frozendict/frozendict/__init__.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  class frozendict(collections.Mapping):

Tested with:
$ PYTHONWARNINGS=all python3 -c 'from frozendict import frozendict'
$ PYTHONWARNINGS=all python2 -c 'from frozendict import frozendict'

[1] https://github.com/python/cpython/pull/5460

Hi I noticed that this pull request is approved but not merged. Is there anything left to be fixed?

@slezica ping

@yan12125 I'm worried this project is more-or-less abandoned, @slezica hasn't committed to github in a long time.

I created this pull request to make ycmd compatible with future Python versions. Now I switched to coc.nvim, so the issue is no longer relevant.
I hereby declare the commit cd5b529cbcce4e86f3c5ddc99b5f1d900fdebc0c licensed as MIT, the same license as python-frozendict. If anyone else want to continue the work, feel free to take my patch.


[Feature test] Test Imgur, Gfycat and Webmshare externally hosted file support

I'd like someone to test if the new support for downloading Imgur.com, Gfycat.com and Webmshare.com linked files within tumblr posts does affect the stability of TumblThree. In particular, does it stall or crash the application or miss files that are externally hosted on any of those three hosters?
Thanks!
TumblThree-v<IP_ADDRESS>-Application.zip

Thank you for introducing new features into the program!
Tested at http://coppermailman.tumblr.com, where there are imgur links in the posts and all of them seem to download normally. But I also noticed that video files were not downloaded, although judging by the information from the blog setting, they had to download in the amount of 111 items. With the exception of this bug, the program itself behaves normally, without freezes and crashes.
I did not test Gfycat and Webmshare though, because I have not yet met blogs that publish content from these sites, but if I meet them, then I'll check the behavior of the program on them and write about it.

Thanks!
I've only added picture support for imgur since I didn't know/checked at all what kind of files you can upload there. Adding video support should only be a couple of additional lines.
Thanks for the information!

I've only added picture support for imgur since I didn't know/checked at all what kind of files you can upload there.

No, I was talking about tumblr hosted video, or rather, during the writing of the comment, I thought they were them. I now downloaded video metadata file and it looks like all the mentioned videos from vid.me, not from tumblr.com and I also checked several links in the browser and it seems that these videos are removed by the request of copyright. So this is not a bug, I apologize for the false alarm.

I found this blog http://diejetty.tumblr.com, judging by the metadata files, there must be at least more than 60 links from Gfycat and they seem to have all been downloaded to the folder (I see that there are more than 60 such files). All in mp4 format and they are successfully played in the video player. And the download process went smoothly and without problems. So for me, the function of downloading external files works successfully. This is a really good addition to the program, it is very good to be able to download additional files from blogs. Thanks for updates!

Thanks, I still did some minor changes and will probably release a new version this weekend including these changes.


[darwin-framework-tool] Add discover module to scan and list the discovered commissionable devices over BLE and Mdns

Problem
This PR implements discover start, discover stop,  discover list as well as pairing by-index for Darwin-framework-tool and using Matter.framework
Similarly to the chip-tool implementation it allows to listen for commissionable device over the networks and commission one if needed.

https://github.com/project-chip/connectedhomeip/pull/27483 tracks most of the above comments; the remaining ones are https://github.com/project-chip/connectedhomeip/pull/27318#discussion_r1235687746 and https://github.com/project-chip/connectedhomeip/pull/27318#discussion_r1235685411


Flight details

Hello, I'm relatively new with AR Drones and am using Terminal to launch flights and also correcting flight paths using the controller.js file present.
However, is there a way I can get the flight details of each flight that I have launched? Details such as altitude, yaw angle etc? Thank you!

I realised there's a command "mission.log(path)" for me to get data of the flight. However, I'm unsure where I should be inserting this. Controller.js? Mission.js? flight.js (my own flight path created)?
Thanks!


Whether anonymous users without certificates can complete the attack when certificate authentication is enabled

As shown in the figure above, no certificate seems to return directly to 403, and can't go to upgradeaware.go.

@xu-xiang I'm not sure I follow you're issue.
If you disable anonymous authentication (--anonymous-auth=false on kube-apiserver), or otherwise restrict what the kubernetes user system:anonymous has access to bia RBAC, the bug cannot be exploited by unauthenticated users, but can still be exploited by authenticated users.
So the idea is, that this tool will try and test whether

anonymous authentication is allowed, by testing a path that on a default installation will work.
Use an authenticated connection from the loaded kubeconfig, to see whether an authenticated user is able to exploit the bug, thus indicating the system is unpatched.

We're working on a blog post to try and better explain the original bug, and how it applies, because it is configuration specific.

From what I've read, the metrics-server should be a fairly common endpoint on newer clusters, so it should be possible to make an anonymous request to the discovery api for the metrics endpoint using the websocket headers, and then use the connection to hit the metrics api unauthenticated.

I found that this project has also increased the judgment of 403. If it is 403, it is considered to be Unable to determine if cluster allows privilege escalation, received unexpected authorization failure from apiserver.
	if resp.StatusCode == 403 { 		// if the request is specifically rejected for an authentication failure, we'll assume this is a failure on 		// the API server side 		fmt.Println("> Unable to determine if cluster allows privilege escalation, received unexpected authorization failure from apiserver.") 		fmt.Println(body.String()) 		return nil 	}

This is correct.
client -> apiserver -> kubelet
If we're not authorized to reach the pod/kubelet we're running the test against, the apiserver will return a 403, without bridging the connection to kubelet. This means our second request won't actually be to kubelet, but simply back to the apiserver, which leads to a false positive in the test.
This was reported in #2


feat: basic message for multi-tenant

[x] API - POST Basic message by connection Id
[x] API - GET Basic message by connection Id

Closing as completed


Tracking Issue - Improve Documentation

Steps

[x] #706
[x] #707
[x] #708
[x] #723

Unresolved Questions

None.
Implementation history

None.

Large parts of the documentation have been updated. The rest will follow when things become more stable.


Response interrupted

I am getting a (Response interrupted) error for all requests. I confirm my API key works and OpenAI is not down. The extension has become unusable :(

This is due to significant changes in the Cursor API, and we have migrated the extension to the nearest API. Updating your extension to the latest version will solve the problem.

Awesome work, works way better now. Best OpenAI extension available!


@Option didn't recognized :

I have this code:
@CommandLine.Command(name = "de",
    mixinStandardHelpOptions = true,
    version = "Version 0.0.1",
    description = "R")
public final class Main implements Callable<Integer> {

    @CommandLine.Option(names = { "-f, --format" },
        defaultValue = "false"
    boolean format;

    @CommandLine.Parameters(index = "0"
    File file;

    @Override
    public Integer call() throws IOException {
        new MyClass(this.file.toString(), this.format).exec();
        return 0;
    }

    public static void main(final String[] args) {
        new CommandLine(new Main()).execute(args);
    }
}

and I run :
java -jar target/de-1.0-SNAPSHOT-jar-with-dependencies.jar C:\Users\user\Documents\Git\test.txt --format=false

and it gets:
Unknown option: '--format=false'

I tried to call option --format by different ways like --format="true",--format true, --format "true" and many others, but error the same

understood ;)

I’m glad you were able to work it out. 👍
Enjoy using picocli! 😉


Feature request

Add suport for plugin orebfuscator, because engine mod in paper can obfuscate blocks only to stone -_-, mod 2 can use only blocks from config and engine mod 3 the same, and i wont that blocks will be replaced with blocks are which are nearby becouse it's much more better to prepair gameplay for cheaters

For exmple this is without antixray

This is paper angine mod 1

This is my engine mod 4

Add suport for plugin orebfuscator

This is not how this works. This would require modifying how Orebfuscator works. For the built-in Paper Anti-Xray I'm doing this by basically replacing parts of the server's internal Anti-Xray implementation by the plugin's one. Also note that Orebfuscator also has a ray tracing feature. However, it works quite a bit different, less accurate and less efficient (hence RayTraceAntiXray, which uses Paper Anti-Xray, which also does the block replacements in a more efficient way to begin with).

paper can obfuscate blocks only to stone

That's not quite true. engine-mode: 1 replaces specified blocks (hidden-blocks) with other "fake" blocks, stone (deepslate at y < 0), netherrack, or end_stone based on the dimension. (See Paper docs.) Hiding ores is the primary scope of Paper Anti-Xray and this plugin.

i wont that blocks will be replaced with blocks are which are nearby

Duplicate of #2. Read my comment in this issue. As you can see, I've even implemented custom block replacement for testing purposes. However, this is at the expense of efficiency (the Paper Anti-Xray obfuscation algorithm is highly optimized, custom block replacement is not envisaged) and config backward compatibility.


autoconnect reconnects to the wrong wallet after refresh when connecting to multiple wallets

I tried connecting to Argent X, then disconnect from it and then connect to Braavos. After I hit refresh, I was connected to my Argent X wallet, while I was expecting to be connected to my Braavos wallet

This is because the library is stateless, so it cannot track the last connected wallet.
We should add an option to use local storage to track of this.

Ok I see ! I can work on it if needed 👍🏽 You can give me some pointers on how you want it to be implemented if you want 😄

Fixed in #186


[Bug]: Unexpected end of input error for JS files that contain curly apostrophes

Please confirm that you have:

[x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[x] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
The file synced should be the same as the local file
Actual behavior
The file does not get synced correctly, resulting in an “Uncaught SyntaxError: Unexpected end of input”
This seems to be related to https://github.com/Shopify/cli/issues/4525 and gets fixed with npm i -g<EMAIL_ADDRESS>Verbose output
2024-09-26T14:27:54.368Z: ← 200 (request_id: 2c1d0c57-3b07-462f-b6a7-f5bbb02e5f15-1727360873)
2024-09-26T14:27:54.832Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/128731349105/assets/bulk.json completed in 952 ms
With response headers:

cache-control: no-cache
content-type: application/json; charset=utf-8
server-timing: processing;dur=847, socket_queue;dur=6.913, cfRequestDuration;dur=915.999889
x-request-id: dd4d5f17-d170-4099-8297-3f645fd92eee-1727360873

• 10:27:54 Synced » update assets/utils.js
Reproduction steps

This file works: https://gist.github.com/nikitaourazbaev/99ea8d0c071662f82d3e1c5c0b585346#file-will-work-js
This file won’t work – only difference is the apostrophe after the word Shopify: https://gist.github.com/nikitaourazbaev/99ea8d0c071662f82d3e1c5c0b585346#file-wont-work-js

Operating System
macOS Ventura 14.7
Shopify CLI version (check your project's package.json if you're not sure)
3.67.2
Shell
Warp, fish
Node version (run node -v if you're not sure)
v20.11.1
What language and version are you using in your application?
Liquid

@nikitaourazbaev Thanks for the reproduction files! As mentioned above, this is fixed in 3.68.0 (I've tested your files with and without the fix).


Custom current time

Description
I want to set custom current Time like i want play a song directly from 20s then how to set  current time
Thank you
Expect Api Name

https://github.com/lijinke666/react-music-player/blob/1c7b9f732b12e4516b8f079533ded821fe81b157/src/index.js#L333
Welcome PR !


Resize Coordinates Position

Hello Honchar,
I know little English. So, I've a problem associated with this plugin. I use your cropper plugin in my AngularJS Project. But resize coordinates doesn't work. Resize coordinates and mouse coordinates looks different from each other when resizing. How to fix this problem?
I'm using AngularJS v1.3.7 and Bootstrap v3.3.5

Please start with codepen link of your options and the scenario which you try to do.

Your plugin is running on Codepen. But it doesn't work on my project. It gives the following warning in the console display: This plugin is deprecated in the name of the u-cropper. You can find it under the https://github.com/crackerakiua/ui-cropp. Maybe this warning can help you for fix my problem.

Strange, this log is from our previous plugin page.

Are you sure you are not using this one?
https://github.com/CrackerakiUA/ngImgCropFullExtended

And if your scenario is running on codepen, uselly it's something with your angular code.

@CrackerakiUA Thank you for your help. ngImgCropFullExtended is running.

You should use this ui-cropper version. The other one is deprecated.


Project description in github

It seems like this project supports "Amazon Cloud Drive", but when searching for "Amazon Cloud Drive" in github it does not show up on the each result list; it was difficult to find it. I think if all suported cloud providers are mentioned in the description of the project, more people will be able to find it, because it would actually show up in the results.

Good idea.  I've done that - thanks for the heads up!


Proper Check for Admin

Can't have a failed admin check call into Set-LogActivity as this sets values in the registry. Can't set values in the registry without being an Admin.
Running without Admin before fix:

After fix:

@dbacon247 done


message [CANNOT USE these API proposals 'inlineCompletions'.]

please complete the following information:

OS version: Mac Monterey
Editor version: VSCode  1.65.2
Programming language: [e.g. js, ts, c++]
TabNine extension version: 3.5.36

Editor console logs:
CRITI Extension 'TabNine.tabnine-vscode CANNOT USE these API proposals 'inlineCompletions'. You MUST start in extension development mode or use the --enable-proposed-api command line flag
Help -> Toggle Developer Tools
Issue Details:
While creating the VSCode extension, I was getting the above message when I opened DevTools. Share information.
　VSCode 拡張機能作成中、DevTools を開くと上記のメッセージが出ていた。情報共有します。

gz#12819

Hi, does the extension functions properly? Do you get any Tabnine suggestions?

I'm pleasure to be of some help. In normal use, such a message is displayed.
参考になりましたら幸いです。通常使用ではこのようなメッセージが出ています。

Thanks!

The error is present also on Windows under Tabnine 3.5.45.
[renderer4] [critical] Extension 'TabNine.tabnine-vscode CANNOT USE these API proposals 'inlineCompletions'. You MUST start in
extension development mode or use the --enable-proposed-api command line flag

I don't use extension development, only normal development with VS Code 1.67.1
I receive suggestions even if many of them are not pertinent.
Thanks for looking!
mario


Changes to run always idempotent retry tests.

@anuragsrivstv I've rebased the retryConformanceTesting branch on main to fix the commit history on this PR, which broke when you merged main on the PR. Please always prefer rebasing on main instead of merging main. Now you have some conflicts on the PR, but you can fix those locally by rabasing your local PR branch on upstream\retryConformanceTesting. Thanks!

@anuragsrivstv I've rebased the retryConformanceTesting branch on main to fix the commit history on this PR, which broke when you merged main on the PR. Please always prefer rebasing on main instead of merging main. Now you have some conflicts on the PR, but you can fix those locally by rabasing your local PR branch on upstream\retryConformanceTesting. Thanks!

Done. Thank you for rectifying it.

Merging now


[SQL] BROADCAST_TIMEOUT conf should be a TimeoutConf

What changes were proposed in this pull request?
The construction of BROADCAST_TIMEOUT conf should take the TimeUnit argument as a TimeoutConf.

LGTM. Pending tests.

Can one of the admins verify this patch?

ok to test

Test build #77755 has started for PR 18208 at commit 8a2d37a.

Test build #77755 has finished for PR 18208 at commit 8a2d37a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77755/
Test PASSed.

Thanks. Merging to master.


[BUGFIX] The inverse of deleting a record is creating a record

@cibernox thanks!

@dgeb can you release a new version?

@cibernox sure, I'll release a new version once I finish some work on #546. Should be soon.

@cibernox this has been published in<EMAIL_ADDRESS>


find new database path - fixes #100

Codecov Report

Merging #105 (136c2e5) into main (f313165) will decrease coverage by 0.55%.
The diff coverage is 66.66%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              main     #105      +/-   ##
===========================================
- Coverage   100.00%   99.45%   -0.55%
===========================================
  Files            2        2
  Lines          363      368       +5
===========================================
+ Hits           363      366       +3
- Misses           0        2       +2

Impacted Files
Coverage Δ

things/database.py
99.17% <66.66%> (-0.83%)
:arrow_down:


⚠ Redacted has degraded performance

In 66b2250, Redacted ($RED) experienced degraded performance:

HTTP code: 502
Response time: 4260 ms

Resolved: Redacted performance has improved in 6c42921.


Creating offset file takes a very long time

We have a jsonl file with ~1.5 lines, each line has a lot of characters (big JSONs). Running esrally starts with creating the offset file but that step takes a very very long time. During that time, we observe a very low CPU usage by esrally in a single core (usually 1-2%).
This happens on AWS and a SSD drive with provisioned IOPS.
For now we create a snapshot right after the offset file has been written, but why is this needed and why is it taking so long?

Hi @synhershko, Thank you for your interest in Rally! We reserve Github for bug reports and feature requests only. Please ask questions like these in the Rally forum instead. Thank you!

Hi @ebadyano , as a long time contributor to Elastic I'm well aware of that policy and I do believe this falls under the category "bug". Can you please reopen, and let me know if I can provide any further details to let you handle this better?
cc @danielmitterdorfer

Thanks for the feedback but I don't see how this is a bug. You ask:

For now we create a snapshot right after the offset file has been written, but why is this needed and why is it taking so long?

Rally uses the offset file as a persistent mapping table from line numbers in the document file to bytes offsets. We need this because if you bulk-index with multiple clients, each client will read one section of the document file and send documents from that section to the bulk API. Suppose you have a file with 1000 documents and want to bulk index with 4 clients:

client 0: reads lines 1 - 250
client 1: reads lines 251 - 500
client 2: reads lines 501 - 750
client 3: reads lines 751 - 1000

So apart from client 0, all other clients need to skip lines in the file. In the intial implementation we did this by reading the file from the beginning but noticed that skipping ahead can take a long time even on an SSD (see https://github.com/elastic/rally/issues/158). This means that contrary to user expectation we start to apply load gradually but instead all clients should start at the same time.
The file I/O commands only allow to skip a number of bytes, not a number of lines so we need a means means to quickly jump to the correct line. And this is what the offset file is for. It needs to be created the first time by linearly reading through the file, identifiying line breaks and creating that offset table. After this is done, the offset file is reused (unless you change the corresponding document file, then Rally will notice that and recreate the offset file).
Now we could get rid of the offset file if we have one document per client but that does not help either if you want to quickly change the number of clients so this is the design tradeoff that we made.
I hope that makes more sense now and if there are follow-up discussions we should really take them to the forums where this is more visible instead of a closed Github issue.

Thanks @danielmitterdorfer . The bug referred to the amount of time it takes to build the offset file - I will continue the discussion on the forums.


ST_Circle function：when radius is too large，the result is 20015118.2119

1、execute sql，Numbers of radius exceed 8 digits
SELECT ST_AsText(ST_Circle(111, 64, 123456789));

except：the result is NULL

i will check this

this is not  a bug, when the radius is larger than  half of circumference of earth, it will be zoomed to this scale


Convert Config API to Stable endpoints.

Description
Convert Config API to Stable endpoints and client interface.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@dapr/maintainers-java-sdk For the error with Actors IT, I have created a separate issue in dapr runtime.
https://github.com/dapr/dapr/issues/6268
The example validations with the new APIs pass as expected.

@artursouza qq Should this PR be blocked on failures unrelated to config API? I am seeing actors, secrets and service invocation failing with the edge(probably a few days ago) version of dapr

We need to fix upstream. It is concerning to merge a PR that breaks the integration testing.

I do agree on the part of merging something that breaks Java IT.
Then this PR will remain open till changes are done in runtime to fix any issues.


zglfw/zgui: Added ability to set standard cursors and keep zgui from overriding.

I attempted to add the setCursor method which needed the Cursor struct to be created, as well as the Shape enum. I followed what was done on the previous wrapper, but maybe you don't want to go that route?
I believe I found an issue while trying this however: I believe this function doesn't work in conjunction with zgui, as when setting the cursor to a standard cursor, I get no errors, and see the cursor momentarily when the window loads, but after things are running I lose the ability to set the cursor. I know Dear Imgui has cursor functionality as well and I believe this may be overriding the glfw cursor?
So this may be a good way to test or a placeholder PR to serve as a reminder. I believe this issue shows we may need to set some flags with zgui to get that functionality back?
EDIT: Found the issue to indeed be what was listed in the above issue, I added a way to set the config flags in io and now setting the config flags to no_mouse_cursor_change allows glfw to control the mouse cursor visuals normally. This may be something you want to set by default?

Thanks for the PR!
Mouse cursor shape and visibility is automatically handled by our imgui GLFW backend. If you want to disable this default behavior you need to set no_mouse_cursor_change flag, this is expected. I think this is fine because most users that want to bother with setting custom cursors. What do you think?
I will tweak Cursor definition a bit (we want to use *opaque instead of extern struct.

I have added this functionality in below commits:
https://github.com/michal-z/zig-gamedev/commit/74381e0dc4b1114725221e9f6c3b6bdd703d7089
https://github.com/michal-z/zig-gamedev/commit/f553ec442ce854cb57896d7fbdda79647f6308ae
Please let me know if this is all you need, thanks!

Works for me! Thank you! I'll likely want to be able to create custom cursors at some point but for now this works, appreciate it!


[firebase_messaging] iOS build fails since 2.0.3

Running flutter build ios fails with the following log on versions 2.0.3 and 2.1 (works fine on 2.0.2):
Building com.app.app for device (ios-release)...
Automatically signing iOS for device deployment using specified development team
in Xcode project: XXXXXXXXXXX
Running pod install...                                      14.8s
Starting Xcode build...
Xcode build done.                                            3.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:79:33: error: type-id cannot
    have a name
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable
            instanceIDResult,
                                    ^~~~~~~~~~~~~~~~~~~
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:79:53: error: expected ')'
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable
            instanceIDResult,
                                                        ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:79:32: note: to match this '('
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable
            instanceIDResult,
                                   ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:79:31: warning: type specifier
    missing, defaults to 'int' [-Wimplicit-int]
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable
            instanceIDResult,
                                  ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:81:15: error: use of
    undeclared identifier 'error'
              if (error != nil) {
                  ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:82:63: error: use of
    undeclared identifier 'error'
                NSLog(@"getToken, error fetching instanceID: %@", error);
                                                                  ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:85:20: error: use of
    undeclared identifier 'instanceIDResult'
                result(instanceIDResult.token);
                       ^
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:79:9: error: no visible
    @interface for 'FIRInstanceID' declares the selector
    'instanceIDWithHandler:'
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable
            instanceIDResult,
            ^~~~~~~~~~~~~~~~~~~~~
    /Users/alex/dev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messagin
    g-2.1.0/ios/Classes/FirebaseMessagingPlugin.m:99:11: warning: incompatible
    integer to pointer conversion initializing 'BOOL *' (aka 'bool *') with an
    expression of type 'BOOL' (aka 'bool') [-Wint-conversion]
        BOOL *value = [[FIRMessaging messaging] isAutoInitEnabled];
              ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2 warnings and 6 errors generated.

Encountered error while building for device.

flutter doctor -v output:
[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.14.1 18B75, locale en-RO)
    • Flutter version 0.11.3 at /Users/alex/dev/flutter
    • Framework revision 72bf075e8d (9 days ago), 2018-11-09 20:36:17 -0800
    • Engine revision 5646e86a6f
    • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/alex/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/alex/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.5)
    • IntelliJ at /Users/alex/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 30.0.2
    • Dart plugin version 182.5124

[✓] VS Code (version 1.29.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Yes, I have run flutter clean beforehand.

I have the same issue. Added firebase_messaging: ^2.1.0.

The pod update did the trick, thanks.

@derTuca
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/573. Any further collaboration will be done there.


Merge Lab and Notebook Subprojects

Proposal
Merge the JupyterLab and Jupyter Notebook sub-projects into a single Jupyter Frontends sub-project
Description
Jupyter Notebook 7 has now been available for a couple of months (final was released in July 2023). There is a migration guide for Classic Notebook (v6) users, but now most of the development work is focused on Notebook 7.
As Notebook 7 is built on top of JupyterLab, there seems to be more overlap between the JupyterLab and Jupyter Notebook subprojects, in terms of scope, community, features, code base, and contributors.
For end users, installing the notebook package also brings the jupyterlab package automatically. Both JupyterLab and Jupyter Notebook also offer UI elements to seamlessly switch between the two user interfaces.
For contributors and maintainers, the Notebook 7 application is a simpler JupyterLab re-assembled in a different way. So developers who are familiar with JupyterLab development would also be comfortable working on Notebook 7, since they both follow the same structure and extension system.
For JupyterLab and Jupyter Notebook developers, merging the two sub-projects would help catch potential issues from decisions and technical choices happening upstream in JupyterLab, which can have an impact downstream in Notebook 7.
In other words, merging the sub-projects would help put Notebook 7 on the radar and keep the Notebook 7 use case in mind when designing features or making changes in JupyterLab. This would benefit end users as developing the two frontends more closely could help improve UX, general design decisions, and accessibility.
References
Original discussion: https://github.com/jupyterlab/team-compass/issues/230
EC members/voting checkboxes

@afshin

[ ]  Yes
[ ]  No
[ ]  Abstain

@ellisonbg

[ ]  Yes
[ ]  No
[ ]  Abstain

@jasongrout

[ ]  Yes
[ ]  No
[ ]  Abstain

@fperez

[ ]  Yes
[ ]  No
[ ]  Abstain

@Ruv7

[ ]  Yes
[ ]  No
[ ]  Abstain

@blink1073

[ ]  Yes
[ ]  No
[ ]  Abstain

SSC members/voting checkboxes

@marthacryan

[ ]  Yes
[ ]  No
[ ]  Abstain

@gabalafou

[ ]  Yes
[ ]  No
[ ]  Abstain

@ivanov

[ ]  Yes
[ ]  No
[ ]  Abstain

@johanmabille

[ ]  Yes
[ ]  No
[ ]  Abstain

@echarles

[ ]  Yes
[ ]  No
[ ]  Abstain

@rpwagner

[ ]  Yes
[ ]  No
[ ]  Abstain

@zsailer

[ ]  Yes
[ ]  No
[ ]  Abstain

@ibdafna

[ ]  Yes
[ ]  No
[ ]  Abstain

@minrk

[ ]  Yes
[ ]  No
[ ]  Abstain

@fcollonval

[ ]  Yes
[ ]  No
[ ]  Abstain

@SylvainCorlay

[x]  Yes
[ ]  No
[ ]  Abstain

Overall, I am in favor of this. From a practical perspective, is the idea to merge before they new SSC reps are elected to avoid having to figure out how to combine the two existing reps into one?

I'm also in favor, and would indeed prefer to officialize the merger right at SSC rep election time, as @ellisonbg suggests. That seems the cleanest solution.

Thanks @ericsnekbytes for starting this.
I'm in favor of this too.
However I announced some weeks ago that I'm stepping down as lab representative and that I'm reducing my involvement in the project. Therefore as much as I feel responsible for organizing the election of the next lab rep', I don't have time to do more or something else (like helping with this and its consequences). So I have a request to stop the current vote for Jupyterlab rep' in light of this proposal, we need a volunteer to carry out the nomination and election of the new group rep' (or the lab rep' if this was to be rejected).
Otherwise I would prefer to carry out with the current election for an elected "volunteer" to be designated by the lab council to help driving this.

@fcollonval It was a pleasure working with you...the knowledge you share, the help you've offered, and your contributions to Jupyter are immense. Sad to hear you'll be less involved, but thank you for everything you've done :)
How should we proceed with this merger vote?

What should we do with the non-overlapping team members. While the two projects share a lot of the same people, some folks are listed on only one team.
I would propose we just merge the two teams to start and then poll the group to see who would like to remain active.

So I have a request to stop the current vote for Jupyterlab rep' in light of this proposal, we need a volunteer to carry out the nomination and election of the new group rep' (or the lab rep' if this was to be rejected).

Thanks @fcollonval for taking care of this process!
One option could be to send a message to the current JupyterLab council members and ask if someone would like to volunteer. Given the size of the council, there is a chance someone will agree to carry out the nomination and election.

I would propose we just merge the two teams to start and then poll the group to see who would like to remain active.

That sounds good :+1: Also what was originally suggested in https://github.com/jupyterlab/team-compass/issues/230#issue-2064039201

@jupyter/software-steering-council, please vote on this when you can.

It looks like we've reached consensus with a majority of Yes votes, can someone on the Software Steering Council or Executive Council approve/merge this? Thanks everyone!

Thanks, @ericsnekbytes! Merging away!


[BUG] Manual Chapter to Chapter Exceeding Last Chapter URL

I tried to use manual chapter to chapter. It works fine at first, but it does not seem to stop crawling in the last chapter I indicated. It would still go on so I just had to make it stop grabbing chapters. I hope it would be resolved soon!
Thank you for your efforts!

Please post both links and the next chapter button css selector.

I used a novel from asianovel.net. But since the recent update, I could already download it through the automatic tab! Thank you!
But this was what I used before, for example:
First chapter URL:  https://www.asianovel.net/novels/435/chapter-1/
Last chapter URL: https://www.asianovel.net/novels/435/chapter-77/
CSS selector: a.pagination-single__left

Took me a bit too see where it went wrong.  The website uses http and not https in the href so they are not equal when comparing.

Oh ok thank you!

Hi, I just ran into this problem as well and took a while to find this issue.
I used first chapter: https://cangji.net/qiangjinjiu/qiangjinjiu-c1
Last chapter: https://cangji.net/qiangjinjiu/qiangjinjiu-c4
Selector: a:has(img[src$=/wp-content/uploads/2021/08/navnext.png])
Turned out that the website's next button was redirecting from https://cangji.net/bl/qiangjinjiu/qiangjinjiu-c4 to the link above (has an extra "bl/")
Perhaps you could add a warning that the link must exactly match the link in the next chapter button? To be fair, in hindsight it seems pretty obvious
Appreciate your work!


Fix incorrect event input variable name

In the build workflow, when building deps, the github variable was specified as input.events, instead of event.inputs
So this PR fixes that issue.

By the way are you on the Discord server? I can give you the developer role there if you ping me (same username).


Getting RabbitMQ Message Delivery Tag

https://stackoverflow.com/questions/47026864/getting-rabbitmq-message-delivery-tag-stratio-spark-rabbitmq

Have you tried the below?
https://github.com/Stratio/spark-rabbitmq/blob/master/src/test/scala/org/apache/spark/streaming/rabbitmq/RabbitMQDistributedConsumerIT.scala

Yes, I saw this on the test folder. And I still didn't see how I get the
delivery tag on the stream.
On Tue, Oct 31, 2017 at 2:42 PM, kaveh-hariri<EMAIL_ADDRESS>wrote:

Have you tried the below?
https://github.com/Stratio/spark-rabbitmq/blob/master/
src/test/scala/org/apache/spark/streaming/rabbitmq/
RabbitMQDistributedConsumerIT.scala
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Stratio/spark-rabbitmq/issues/118#issuecomment-340862739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC5fYmBfVY_UIA3B1cspKXLdeL5bobTks5sx2n4gaJpZM4QMud4
.

--
--
Daniel de Oliveira Mantovani
Perl Evangelist/Data Hacker
+1<PHONE_NUMBER>

I haven't tested this out, but it would be s omething like this --except change "body" with "deliveryTag"
val ssc = new StreamingContext(spark.sparkContext, Seconds(window))

import scala.collection.JavaConverters._
val stream = RabbitMQUtils.createDistributedStream[Map[String,Any]](ssc,distributedKey,rabbitMQParams,
  (rawMessage: Delivery) =>
    Map(
      "body" -> new Predef.String(rawMessage.getBody),
      "exchange" -> rawMessage.getEnvelope.getExchange,
      "routingKey" -> rawMessage.getEnvelope.getRoutingKey,
      "deliveryTag" -> rawMessage.getEnvelope.getDeliveryTag
    ) ++ {
      //Avoid null pointer Exception
      Option(rawMessage.getProperties.getHeaders) match {
        case Some(headers) => Map("headers" -> headers.asScala)
        case None => Map.empty[String, Any]
      }
    })
stream.start()
  stream.foreachRDD(rdd => {
  new AvroIngest[v001.asset]().transformAvro(rdd.map(_.get("body").toString),spark,classOf[v001.asset].getName,dp_source,dp_source_type,avroKlass,outPath,Some(List("assetMetadata.data" -> "contextualMetadata")))
  })

ssc

Worked, thank you very much!
On Tue, Oct 31, 2017 at 3:42 PM, kaveh-hariri<EMAIL_ADDRESS>wrote:

I haven't tested this out, but it would be s omething like this --except
change "body" with "deliveryTag"
val ssc = new StreamingContext(spark.sparkContext, Seconds(window))
import scala.collection.JavaConverters._
val stream = RabbitMQUtils.createDistributedStream[Map[String,Any]](ssc,distributedKey,rabbitMQParams,
(rawMessage: Delivery) =>
Map(
"body" -> new Predef.String(rawMessage.getBody),
"exchange" -> rawMessage.getEnvelope.getExchange,
"routingKey" -> rawMessage.getEnvelope.getRoutingKey,
"deliveryTag" -> rawMessage.getEnvelope.getDeliveryTag
) ++ {
//Avoid null pointer Exception
Option(rawMessage.getProperties.getHeaders) match {
case Some(headers) => Map("headers" -> headers.asScala)
case None => Map.empty[String, Any]
}
})
stream.start()
stream.foreachRDD(rdd => {
new AvroIngestv001.asset.transformAvro(rdd.map(_.get("body").toString),spark,classOf[v001.asset].getName,dp_source,dp_source_type,avroKlass,outPath,Some(List("assetMetadata.data" -> "contextualMetadata")))
})
ssc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Stratio/spark-rabbitmq/issues/118#issuecomment-340884429,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAC5fShyWsVQoSGxJLxLU4oN-_zvNBI_ks5sx3gsgaJpZM4QMud4
.

--
--
Daniel de Oliveira Mantovani
Perl Evangelist/Data Hacker
+1<PHONE_NUMBER>


[Feature Request] Add the ability to copy the generated svg

It would be great to be able to copy the code of the SVG rendered in Obsidian, to paste it into other windows, would this be possible?
Perhaps by adding an option to the right-click drop-down menu, to copy the SVG block.

You can copy the svg using the inspector tool

Open the inspector (with ctrl+shift+i / option+cmd+i for mac)
Select the svg block you want to copy using the element-select tool in the top-left corner of the inspector window.
This should highlight an svg block, which you can copy/paste

Example:

The element-select tool is the curser in a dashed square located top-center of the image.


chore: node 10.x & ES6 syntax

As promised, here a 1st PR related to improving the codebase.
Besides, I was wondering we could introduce conventionalcommits for commit messages. Using this would help the implementation of automatic release using semantic-release tools: it will allow us to generate automatically the CHANGELOG of the release.
If you agree we can enforce the convention using commitlint
@develohpanda @reynolek

@develohpanda I've reverted the change on the engine attribute.
Concerning conventionalcommits + commitlint, I've always used it with a Rebase & Merge strategy. But I know that the tool ignores merge messages so it does not require anything related to the PR merge strategy
Do you agree to merge this PR or do you prefer I work on configuring Babel and update the source code after that?

I'm guessing the main requirement of conventionalcommits is to keep commit messages in the main branch. I tend to merge PRs with a Squash & Merge strategy so that the PR can have any number of commits but the history in the default branch will remain clean. I'm not opposed to using a different strategy in this repository, though, so can switch to rebase and merge if that's what is required.

I've reverted the change on the engine attribute.

I'm not totally familiar with upgrading older libraries like this one. My only concern is, even though older versions of Node are being deprecated, there are bound to be projects that still use them for whatever reason, and it would be good to make sure changes we make don't cause breaking issues for others, unless we have a valid reason to do so (in which case we do a major version bump). But I also agree that it would be nice to modernize the code-base so we can work with it. So long as we can upgrade without significant impact to consumers, I'd be comfortable with that.
With that, we can potentially look towards Babel, or just look straight to TypeScript (given TS and JS can co-exist).
Let's work through these topics one at a time and with a plan - would you like to open separate issues with proposals for each of the following topics you have raised, so that they can be addressed and discussed before forging ahead with code?

conventionalcommits + commitlint
ESLint
CD pipeline / automated deployments
upgrading Node & ES6 + Babel (or TypeScript 👀)
and anything else

Do you agree to merge this PR or do you prefer I work on configuring Babel and update the source code after that?

Both options work since this framework is never on the critical path / requires urgent releases. Given there are very few changes (only moving to const and let), I'd favor closing this and working through configuring Babel or TS first.
How does that sound? 😄


New plugin registration

part of RFC here: https://github.com/prooph/event-store/issues/232
Event-Store will be updated accordingly, once this is accepted.

Coverage decreased (-0.01%) to 99.407% when pulling b8a3e71c36d04dfbc075523be8f322770d7e6ac3 on rfc-plugins into 91c34182fc583a2d6ddffae5d944e4723c07f0ca on develop.


Improve CMake build system

Use 'SDL2IMAGE_' prefix for all options
Create SDL2_image::SDL2_image when building a shared library,
create SDL2_image::SDL2_image-static when building a static library
Aim is to use same CMake layout as SDL_ttf/SDL_mixer
Create libSDL2_imaged.so symbolic link ('d' suffix) (when building debug build type)
Add PrivateSdlFunctions.cmake script for common functionality between SDL_ttf/SDL_mixer
Add FindXXX.cmake scripts for dependencies that don't provide cmake configuration files
Bring jpeg/png saving support to cmake (#235)
Update the git submodules
Test CMake on mingw64 (using system dependencies there)
Add MacOS CI
Create symbolic link at build time + install it
Only install SDL2_image.pc when building a shared SDL2_image (to avoid overwriting when later installing a static SDL2_image)
Allow parallel installation of cmake support of a static and shared SDL2_image
Add a single SDL2IMAGE_VENDORED option to use vendored libraries for everything, or none at all.
Add Macos dylib versioning

I haven't added these scripts to EXTRA_DIST in Makefile.am yet, to allow some maturing + extra tests.
Need review on:

ease of use: the cmake recipe is strict with its configuration options. When an option is configured to be enabled (-DSDL2IMAGE_xxx=ON), the cmake script will complain loudly instead of silently ignoring the option.
vendored libraries: build these as shared or static libraries? Always building these as static libraries makes perhaps most sense.

vendored libraries: build these as shared or static libraries? Always building these as static libraries makes perhaps most sense.

I think so. The possible build configurations for a library (let's say libpng) are:

use the system libpng

as a static library
as a shared library, linked with -lpng to be a mandatory dependency
as a shared library, dynamically loaded with dlopen() at runtime to be a "weak" dependency

use the vendored libpng

as a static library
as a shared library, linked with -lpng to be a mandatory dependency
as a shared library, dynamically loaded with dlopen() at runtime to be a "weak" dependency

But if you're using the vendored libpng, then I don't think the two shared-linking options really make sense: you're paying the compile time and disk space cost of a copy of libpng anyway, whether it's shared (a separate file) or static (copied into the SDL_image library) . Having it as a shared library seems like it just brings more reasons why the overall system can fail, for instance conflicts with a system copy that happens to have the same SONAME.
In particular, building your own vendored shared library for zlib seems like a recipe for disaster, because on Linux and macOS there are likely to be OS components that depend on the OS's zlib. If you release a game that includes SDL_image, then wait 5 years, the OS zlib will probably be newer than your bundled zlib, so other OS components will expect to find that newer version, and will crash if they find a vendored shared library instead.
I like the way SDL_ttf handles this: if it's building a vendored Freetype or Harfbuzz, then the vendored copy is statically linked into the SDL_ttf library. This makes the SDL_ttf library larger than it would be when using an OS copy, but avoids conflicting with an older or newer system copy of Freetype or Harfbuzz.
SDL_ttf also uses C_VISIBILITY_PRESET "hidden" to make sure it doesn't accidentally export symbols from its vendored libraries, making them into merely an implementation detail.

I'm not a maintainer, but:
I think if there are things that are functionally necessary (like being able to enable JPEG and PNG saving), it might be good to carve those out into smaller PRs, which will be quicker to review and less likely to conflict with other parallel work like #242.
Major refactoring and stylistic changes are basically guaranteed to conflict with everything else that touches the same files, so it's good to do those when the same files are otherwise quiet.

Major refactoring and stylistic changes are basically guaranteed to conflict with everything else that touches the same files, so it's good to do those when the same files are otherwise quiet.

When I've done this sort of refactor in other projects, the way I generally do it is to choose the piece of refactoring that I think is highest-priority or most likely to be accepted quickly, do that as its own PR, get it reviewed, and iterate until everything I want has gone in.

@madebr, I'd like to make an SDL_image release candidate soon. I think this is the only work outstanding before I can do that. Do you have an ETA of having everything settled and ready for public eyes?

Is this a blocker for a SDL_image release candidate? At the moment the source code releases aren't going to include CMakeLists.txt anyway.

vendored libraries: build these as shared or static libraries? Always building these as static libraries makes perhaps most sense.

For SDL_ttf, using FreeType and HarfBuzz as static libraries makes sense because they are core pieces of the library functionality. For SDL_image and SDL_mixer, the codecs are all optional pieces that can be used, or not, depending on an application's needs.
For pre-built binary redistributables like DLLs for Windows or Frameworks for macOS, I like distributing the dependencies as optional shared libraries that can be present or not, depending on the application they're shipped with.
For building with Linux distributions, it makes sense to build in all supported codecs with dependencies on other codec libraries in the system. Distributions have often chosen to depend on those packages rather than have them be optional.
For building with CMake, this could either be a developer building a custom library for their own needs, or a Linux distribution choosing to use cmake instead of autotools. In the former case, it probably makes sense to use vendored libraries linked statically and defaulting off. In the latter case, the distribution maintainers will set whatever flags makes sense for the distribution.
For Android.mk, which is the build system most closely analogous to CMake, I've chosen to default external dependencies off, and include them as static libraries when they are enabled. I will probably do the same for SDL_mixer for the next release.

Is this a blocker for a SDL_image release candidate? At the moment the source code releases aren't going to include CMakeLists.txt anyway.

Yes, I'd like the next SDL library releases to have the improved CMake support.

#246 sets up the vendored libraries to be built as static libraries if the _SHARED option is not enabled. Does that make sense?

#246 sets up the vendored libraries to be built as static libraries if the _SHARED option is not enabled. Does that make sense?

This pr does the same.
It makes sense to not let the number of configurable options explode.

I'm going to mark this pr as finished so other work can be done on top of it.


⚠ Bofrost.at has degraded performance

In 797838d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 819 ms

Resolved: Bofrost.at performance has improved in fad64ea.


VSphere Support?

Hi Joe,
Great contribution - i've been using this successfully in vagrant its great. Just wondering what you'd need to do to add vSphere support to the code? It'd be hugely beneficial...
Thanks

Hey Tom. You should be able to use this with vSphere today by adding the vSphere post-processor to your .json: https://packer.io/docs/post-processors/vsphere.html

There also is this packer post processor at https://github.com/frapposelli/packer-post-processor-better-vsphere, but I don't know the status of it. Fabio then implemented packer post processors vor vCenter and vCloud at https://github.com/gosddc/packer-post-processor-vagrant-vmware-ovf.

Post-process is the current supported way to go. It would be nice to directly work against vSphere, but that would need to be added to core Packer.


Feature Request: more syntax highlighting customization.

Feature request to add more customization to syntax highlighting.
As of version 5.5.0 of Spyder only a few types of text can be color customized, and at times two different types are attached to each other and can't be independently altered. (See images as examples).
Using the Pastel theme:

All variable i, parenthesis and operator != are using the "normal text" color #f8f8f8.

(Although very similar the values of strings and numbers are independent from one another, as per the first image).
Desirable behavior is to be able to customize them independently of one another, similar to what Notepad++ does. (See following images)

Example of how it should show in the editor:

Spyder version: 5.5.0
Python version: 3.8.10
Qt version: 5.15.2
PyQt version: 5.15.10
Operating System name/version: Windows 10 (AMD64)

Hi @RodrigoTR04 thank you for the feedback! Makes sense to me but what do you think @spyder-ide/core-developers ?

I think we'll have that once we add support for PySyntect to the editor.
I'd also be in favor of closing this one as a duplicate of issue #1500 because we'll need to expand our syntax highlighting capabilities to solve that issue.

I'd also be in favor of closing this one as a duplicate of issue https://github.com/spyder-ide/spyder/issues/1500 because we'll need to expand our syntax highlighting capabilities to solve that issue.

Doing a quick check seems like there are a couple of issues related with syntax highlighting like: https://github.com/spyder-ide/spyder/issues/4683
Are those also worthy to be closed as duplicates of #1500 @ccordoba12 ?

Yeah, I think that's a good idea. Let's centralize everything related to syntax highlighting improvements in issue #1500.
But I'm not sure if our Pysyntect integration would be able to highlight differently docstrings from regular strings, so let's leave #295 open for now.

Closing this as a duplicate of #1500 then


Two new kubelet active hunters.

Description
I'm introducing two new active hunters:

FootholdViaSecureKubeletPort
MaliciousIntentViaSecureKubeletPort

Both active hunters enable a deeper analysis on how malicious actors could benefit of a mis-configured secure kubelet port.
Contribution Guidelines
Please Read through the Contribution Guidelines.
Fixed Issues
Please mention any issues fixed in the PR by referencing it properly in the commit message.
As per the convention, use appropriate keywords such as fixes, closes, resolves to automatically refer the issue.
Please consult official github documentation for details.
Fixes #(issue)
"BEFORE" and "AFTER" output
To verify that the change works as desired, please include an output of terminal before and after the changes under headings "BEFORE" and "AFTER".
BEFORE
Any Terminal Output Before Changes.
AFTER
Any Terminal Output Before Changes.
Contribution checklist

[x] I have read the Contributing Guidelines.
[ ] The commits refer to an active issue in the repository.
[x] I have added automated testing to cover this case.

Notes
This piece of work is unrelated to any active issue in the repository. It brings additional functionality.

Please, review accordingly

Hi @abdullahgarcia, thanks for your contribution!
It might take us some time to review since it's not a little PR.

Hi @iYehuda,
No worries.
Please, let me know if you need any assistance or you have further doubts.
Thanks!
Abdullah

Hi @iYehuda,
Just following up.
Thanks!
Abdullah

Hi @abdullahgarcia! I started looking at this but got waylaid by some other issues in active hunters. Thanks for the reminder :-)

Codecov Report

Merging #344 into master will increase coverage by 3.64%.
The diff coverage is 95.34%.

@@            Coverage Diff             @@
##           master     #344      +/-   ##
==========================================
+ Coverage   57.68%   61.32%   +3.64%
==========================================
  Files          40       40
  Lines        2037     2252     +215
==========================================
+ Hits         1175     1381     +206
- Misses        862      871       +9

Impacted Files
Coverage Δ

kube_hunter/modules/hunting/kubelet.py
59.38% <95.34%> (+28.47%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a012765...4b31c1e. Read the comment docs.

Hi @lizrice,
Just following up.
Thanks!
Abdullah

Hi @lizrice,
Just following up.
Thanks!
Abdullah

Hi @lizrice,
Just checking if it would be easier to go together over the changes.
Thanks!

So many apologies @abdullahgarcia. I started testing this out, got distracted by finding #350 and then other things got in the way! We are looking at it now, thank you for highlighting this in yesterday's call.

Hi @danielsagi,
Just following up after the changes.
Thanks!
Abdullah

Hi @abdullahgarcia ,
Thanks for the ping.
We're just doing some tests on our side to make sure everythings as expected, I believe that in the next few days this will be done.
I will update you.

Hi @danielsagi,
I've addressed your comments.
Please, let me know if anything else is required.
Thanks again!
Abdullah

Thanks again for this @abdullahgarcia, and for your patience!

Thanks again for this @abdullahgarcia, and for your patience!

Thanks to you and the team! Expect more contributions! =)


feat: cname emitter

Allow emit CNAME file, providing better exp for Github Pages

Thanks for the correction. Updated.


feature request: allow specifying desired client version in get_random_rpc()

Sometimes I have to repeatedly call get_random_rpc() until I get a node of a certain type.  For example, I am testing something with Parity, I have to keep retrying until i get a node with parity client version. It would be nice if I can give it a parameter for this so it only returns to me a random RPC of a certain client version (e.g. geth or reth)

Don't think that information exists in this data set. And still think deps like an HTTP client should stay out of this lib.
Instead of leveraging a random return though, what if you just iterated through get_rpcs(ecosystem, network) rather than trying to use get_random_rpc()?


Feat: Making Privacy policy page for the "Privacy Policy" feature mentioned in the footer section

Describe the feature
Description
I would like to contribute by adding a privacy policy page for EVNotify.
Why add a Privacy Policy Page
Users are more likely to trust and engage with a website that openly communicates its data practices. A privacy policy builds trust and transparency between users and the website as it openly communicates its data practices.
Features

Relevant Content
Responsiveness and Interactivity
Visual appeal

About Me
I am an aspiring developer and blockchain enthusiast, especially passionate about Technologies such as Next.js and Solidity.
As a GGSoC'24 contributor, I am looking forward to make the proposed contribution and promise to put all my efforts into it, hoping to learn a lot in the process.
Please assign me the issue under GGSoC'24
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

do you still want to work on this

do you still want to work on this

Yes sure, will do it

go ahead, I have assigned it to you

go ahead, I have assigned it to you

ok, thank you


Enable loading graph data from DocumentDB to Gremlin through Spark

Enable loading graph data from DocumentDB to Gremlin through Spark

Added DocumentDBInputRDD which transforms DocumentDB graph format to Gremlin.
Since the latest release of Spark-Gremlin was built with Spark 1.6.1 and not compatible with the current Spark version 2.1.0, in order to run the unit tests, we need to build tinkerpop 3.3.0-SNAPSHOT and and install locally to run the tests.
Updated Spark version back to 2.0.2 since the latest Spark-Gremlin plugin works with this version.
Added a config value to specify a custom query that will be used to fetch data from DocumentDB.
Added simple tests.

@shireeshkthota @dennyglee

@khdang,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Add Atom for all primitives

All primitives, and preferably other similar useful types form the stdlib should have an Atom instance.

Fixed with #18.


[main -> 2.2] ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0)

Cherry-pick of #22259 and #22264 to the 2.2 release branch.
Updates the marocchino/sticky-pull-request-comment action to its latest version, 2.9.0. This upgrade was needed because some options used in recent workflows are not available in the older version.
I confirmed that the commit 331f8f5b4215f0445d3c07b4967662a32a2d3e31 corresponds to the v2.9.0 tag in the
marocchino/sticky-pull-request-comment repo:
https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
I also updated the triggering event to pull_request_trigger from pull_request.

Merging because this is an infrastructure change and doesn't imply a release.


{gpauth,gpclient}: Minor changes + 2.3.7 -> 2.3.9

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@tomodachi94 I went ahead with updating my commit messages. Thanks for the feedback. We have time before 24.11 is staged, so no point in rushing these things.

Happy to merge this after CI passes, given that there are no other blocking comments 🙂


Update release doc

Based on my last release experience, add more details.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   48.59%   48.59%
=======================================
  Files           8        8
  Lines         107      107
=======================================
  Hits           52       52
  Misses         47       47
  Partials        8        8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d830bfe...21d5174. Read the comment docs.


Reactive Form Array Object updated but Virtual Scroll list not updating

Reproduction
https://stackblitz.com/edit/angular-rf-virtual-scroll
Expected Behavior
Data should append in Virtual Scroll list.
Actual Behavior
=> Virtual Scroll list not updating
=> Reactive Form Array Object updated perfectly
Environment

Angular: 7
CDK/Material: 7
Browser(s): All
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Solved:
in addOneNew function
added: this.items.controls = [...this.items.controls]
and its working


Add unit.TimestampParam class for plugins

This unit class is useful to get a timestamp value as a config
parameter. It accepts intersection of ISO 8601 & RFC 3339 and UNIX
timestamp in seconds.

Just an idea. If we think of parsing fractional seconds by ourselves, it is possible to treat nano second as I did in embulkf-filter-timestamp_format https://github.com/sonots/embulk-filter-timestamp_format/blob/master/src/main/java/org/embulk/filter/timestamp_format/TimestampParser.java#L177-L187


MSID: 96957 Version: 1 DOI: 10.1101/2<IP_ADDRESS>8431

MSID: 96957
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8431
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=96957
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8431

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/96957v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8431
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/96957/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Introducing Huanghe Yang's email from eJP


Tag drone docker image with ${DRONE_COMMIT_SHA}

A lot of us are actually using/testing drone in production. It would be great if we were able to pin to specific drone binary when running drone.
At the moment every build is tagged with 0.5.0 and 0.5. Would it be possible to tag docker image with ${DRONE_COMMIT_SHA} as well?

this was discussed in https://github.com/drone/drone/issues/1438#issuecomment-177075899
the problem right now is that individuals using 0.5 are using an unstable pre-release and I'm not really keen on tagging pre-releases. Once 0.5.0 is officially released the 0.5.0 tag will be frozen and we'll bump to 0.5.1
the goal will be to have much more frequent tagging to allow for more reliable version pinning. 0.5 pre-release is just a special case due to the duration of the pre-release and the amount of change taking place.
so my suggestion is that once 0.5.0 and 0.5.1 are released we re-evaluate the tagging to see if that is meeting your needs. If not, we can discuss alternative approaches.

Thanks. That's fair enough. Right now I am building my own docker image and using that, just to have control when and what changes I introduce to drone.


Fix verify-std-check outcome check

It looks like I used output instead of outcome variable.
I noticed that this PR should've failed the workflow but it didn't because of this mistake.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

We currently have the following blob at the top of the workflow file:
# We expect toolchain updates to potentially break this workflow in cases where
# the version tracked in the `verify-rust-std` is not compatible with newer
# versions of the Rust toolchain.
#
# Changes unrelated to the toolchain should match the current status of main.

Do you have anything else in mind?

We currently have the following blob at the top of the workflow file:
# We expect toolchain updates to potentially break this workflow in cases where
# the version tracked in the `verify-rust-std` is not compatible with newer
# versions of the Rust toolchain.
#
# Changes unrelated to the toolchain should match the current status of main.

Do you have anything else in mind?

Just maybe a small clarification like ->
# We expect toolchain updates to potentially break this workflow in cases where
# the version tracked in the `verify-rust-std` is not compatible with newer
# versions of the Rust toolchain.
# For example, toolchain upgrade breaks such as
# https://github.com/model-checking/kani/issues/3369.
#
# Changes unrelated to the toolchain should match the current status of main.

It's okay if this change is not added, this is purely for me because i like examples in comments.

I agree that an example can be very helpful, but I'm not sure the PR you mentioned is a good reference. Maybe we can add a better link later.
The PR didn't actually fail the workflow, and the workflow logs themselves won't be available for more than a few days. So it might be confusing to use this as a reference.


Added My New Theme ARIA.

Hi @AlynxZhou thank you. Lets do this without changing package.json or trimming the trailing line-break. Okay?

@tcrowe I think package.json is changed by npm itself and my editor delete trailing space automatically，not by myself. Anyway I'll update soon.

@tcrowe Chanted and covered.


Headbreaker is not defined

Hey,
I feel like a right dunce writing this. But from my understanding you can use this as an HTML puzzle game without a backend.
So I've made a blank project, index.html contents below:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Puzzle</title>
</head>
<body>
    <!-- just add a div with an id... -->
    <div id="my-canvas">
    </div>

    <script>
      // ...and a script with the following code:
      let dali = new Image();
      dali.src = './data/images/Earth.png';
      dali.onload = () => {
        const canvas = new headbreaker.Canvas('my-canvas', {
          width: 800, height: 800, image: dali
        });
        canvas.autogenerate();
        canvas.shuffle(0.7);
        canvas.draw();
      }
    </script>
</body>
</html>

However it says "headbreaker is not defined", this makes perfect sense because I'm not adding it in anywhere, but where can I get the file which defines headbreaker? :-)

I grabbed the JS file hosted externally and linked it in the head of the HTML.


tap latency need accelerometer

Now tap latency need accelerometer. If the tap speed is different, the result will different. Is there any way to test tap latency not use accelerometer?

Sorry, touch up and touch down latency need the accelerometer.

Yes, as Andrew mentioned, tap latency measurement needs the accelerometer. It is used to detect when the probe physically touches the screen. We experimented with other methods, but those were way less accurate.
The result should not depend much on speed, I would expect the variability from speed to be on the order of 1 ms. One way to reduce it is to always do a fairly quick and firm tap.

Can I know what is the sample rate of the accelerometer?

Mark may know for sure. Looking at the code, the accelerometer is probed in a tight loop without fixed frequency. Thus I would expect it's thousands of times per second. Note that this is an educated guess, not confirmed.

It should be at least several kHz. The accelerometer output is analog and as Andrew mentioned, the microcontroller samples it in a tight loop with no sleep. The ADC on Teensy is known to handle 44.1 kHz audio sampling well, so I would expect it to be in the tens of kHz. But I don't remember ever measuring the actual rate.

OK，I will try quick and firm tap to reduce the result change.


HV-1471 Properly reset the context after constraint validation

https://hibernate.atlassian.net/browse/HV-1471

LGTM, merging.