Gh 863 ssl proxies

Before this is merged some more work is needed on deserialising the responses from gaffer as they are not always json.

Ready for review, closes #863


Core dump using forge script --debug

I'm suddenly having trouble debugging my scripts -- forge crashes.  It may have something to do with console.log.

The Foundry version you are on (and that it is up to date)

foundryup: installed - forge 0.2.0 (6b3db2a 2022-08-19T00:04:42.579272325Z)
foundryup: installed - cast 0.2.0 (6b3db2a 2022-08-19T00:04:42.579272325Z)
foundryup: installed - anvil 0.1.0 (6b3db2a 2022-08-19T00:04:43.018478595Z)

The platform you are on (Windows, macOS, an M1 Mac or Windows)

Description:    Ubuntu 22.04.1 LTS

Code snippets if this is happening in relation to testing or building code

I'm attaching a zip'ed project.  The crashing contract is:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;

import {Script} from "forge-std/Script.sol";
import {console} from "forge-std/console.sol";

contract ContractScript is Script {
    function setUp() public {}

    function run() public view {
        console.log("Beginning run()");
    }

}

Concrete steps to reproduce the bug

$ ./anvil.sh
$ RUST_BACKTRACE=full forge script script/CoreDump.sol --debug
[⠆] Compiling...
No files changed, compilation skipped
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is 0
Location: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/revm-1.9.0/src/interpreter/contract.rs:149

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __libc_start_call_main<unknown>
      at ./csu/../sysdeps/nptl/libc_start_call_main.h:58
   2: __libc_start_main_impl<unknown>
      at ./csu/../csu/libc-start.c:392

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Aborted (core dumped)

forge-crash.zip

Could reproduce on the specified version, but it was fixed - we can close this

Closing as resolved per @DaniPopes' comment


Add option to obtain image data after fitting SecondLevelModel

I want to conduct a second-level analysis (compare sMRI images of patients vs. healthy controls) using the SecondLevelModel. SecondLevelModel uses NiftiMasker under the hood to preprocess the images provided as list for second_level_input in the fit() method. It would be nice to add the option to obtain the resulting numpy-array after .fit() was called, because I would like to also do other analyses with this array. If I don't miss anything here, currently you would have to set up the preprocessing one more time using NiftiMasker if you would like to obtain this array.

As a default, we prefer not to give access to low-level data structures (array) because they are meaningless without a context, eg a mask that identifies what voxels are used.
The problem is that storing all intermediate models will result in memory issues with large datasets.

Okay, that makes sense. But at least, it should work to use NiftiMasker again and to use the cache folder right?

Yes.


Implemented Any support with wildcards instead of downcast; improved …

…instantiation behavior

Postponed, superseded by #1428


set device name to Chrome

Description
More accurately reflect the status of the "web" devices as a chrome instance.

Smoke test added for name and other fields

In the future would we have other browsers appear as devices? If so, should the ID by something more-specific to Chrome too? (we do have categories on there to know it's a web device).

Renamed the web/web device to Chrome/chrome

Thanks, this works great:

Well, forgot to update a devicelab test, but I will reland soon


There is nothing downloaded except empty directory

Dear developers,
I just tried your tools. After running it, it immediately shows an indicator bar and a correct number of likes as shown below

It is so fast to be true to download so many items in a second, and indeed,  when I check the download directory, there is nothing downloaded. What is wrong?
best regards

Run it again in verbose mode like so and let me see the output:
$ tumblr-likes -v -a <API_KEY> -b <BLOG_NAME>

@subnomo OK, here is the output. I hide the privacy part

Info URL: https://api.tumblr.com/v2/blog/zzzzzzzz/likes?api_key=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&limit=1
Response {
url: "https://api.tumblr.com/v2/blog/zzzzzzzz/likes?api_key=yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy&limit=1",
status: 200,
headers: {
"server": "ATS",
"date": "Wed, 12 Dec 2018 11:04:26 GMT",
"content-type": "application/json; charset=utf-8",
"x-content-type-options": "nosniff",
"vary": "Accept-Encoding",
"vary": "Accept-Encoding",
"x-ratelimit-perday-limit": "5000",
"x-ratelimit-perday-remaining": "4991",
"x-ratelimit-perday-reset": "72298",
"x-ratelimit-perhour-limit": "1000",
"x-ratelimit-perhour-remaining": "999",
"x-ratelimit-perhour-reset": "3600",
"x-rid": "72cpb0de11qpq",
"strict-transport-security": "max-age=15552000",
"p3p": "CP="Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy"",
"x-ua-compatible": "IE=Edge,chrome=1",
"public-key-pins-report-only": "max-age=2592000; pin-sha256="2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY="; pin-sha256="I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o="; pin-sha256="Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw="; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY="; pin-sha256="r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E="; pin-sha256="uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc="; pin-sha256="dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A="; includeSubdomains; report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"",
"accept-ranges": "bytes",
"referrer-policy": "no-referrer-when-downgrade",
"age": "0",
"connection": "keep-alive",
"via": "https/1.1 e16.ycpi.dca.yahoo.com (ApacheTrafficServer [cMsSf ])",
"expect-ct": "max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"",
"x-xss-protection": "1; mode=block"
}
}
Info: ReturnVal {
response: Response {
liked_count: 609,
liked_posts: [],
_links: None
}
}
Downloading likes...
Renaming files...
████████████████████████████████████████████████████████████████████████ 609/609

Make sure your blog is marked as explicit in the blog settings. You won't be able to download explicit posts otherwise.

Where would the setting be to do that?  I'm not seeing any "this blog is explicit" switch anywhere in the blog settings or dashboard

@KoenigKrote Hmm you're right, it seems like Tumblr has removed the feature 😕. It's normally under the blog visibility settings.

Actually, I marked my blog explicit long before the adult content madness began.

It is indeed still available under the android app.  Set it there, tried again, no change unfortunately :(
Finds the same viewable-with-no-login amount of photos.
Info URL: https://api.tumblr.com/v2/blog/<blog>.tumblr.com/likes?api_key=<key>&limit=1 Response {     url: "https://api.tumblr.com/v2/blog/<blog>.tumblr.com/likes?api_key=<key>limit=1",     status: 200,     headers: {         "server": "ATS",         "date": "Fri, 14 Dec 2018 05:42:04 GMT",         "content-type": "application/json; charset=utf-8",         "x-content-type-options": "nosniff",         "vary": "Accept-Encoding",         "vary": "Accept-Encoding",         "x-ratelimit-perday-limit": "5000",         "x-ratelimit-perday-remaining": "4877",         "x-ratelimit-perday-reset": "85277",         "x-ratelimit-perhour-limit": "1000",         "x-ratelimit-perhour-remaining": "877",         "x-ratelimit-perhour-reset": "2477",         "x-rid": "2i1biqde16glc",         "strict-transport-security": "max-age=15552000",         "p3p": "CP=\"Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy\"",         "x-ua-compatible": "IE=Edge,chrome=1",         "public-key-pins-report-only": "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"",         "accept-ranges": "bytes",         "referrer-policy": "no-referrer-when-downgrade",         "age": "0",         "connection": "keep-alive",         "via": "https/1.1 e15.ycpi.swb.yahoo.com (ApacheTrafficServer [cMsSf ])",         "expect-ct": "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"",         "x-xss-protection": "1; mode=block"     } } Info: ReturnVal {     response: Response {         liked_count: 1735, // Exactly one post exists after this } }

@KoenigKrote
Not to advertise competition, I like Alex's tools better, yet TumblThree works good enough. )
it has quite an interface, you gonna need a lot of patience to comprehend the logic of teh app. But it works with usual credentials and works with blog urls you feed.
So. I guess it's your chance

@KoenigKrote Yeah, unfortunately it seems Tumblr has removed that option in their backend, so the app has no effect. Pretty sure TumblThree has the same issue too (https://github.com/johanneszab/TumblThree/issues/337). I don't know if there's a workaround :disappointed:.

Hey - first off thanks for the tool!
I am getting a status 403 error, and I'm not sure its related to the posted issue, but, maybe I'm just missing something...
Response {     url: "https://api.tumblr.com/v2/blog/<BLOG>/likes?api_key=<API>&limit=1",     status: 403,     headers: {         "server": "ATS",         "date": "Mon, 17 Dec 2018 14:04:11 GMT",         "content-type": "application/json; charset=utf-8",         "x-content-type-options": "nosniff",         "vary": "Accept-Encoding",         "vary": "Accept-Encoding",         "x-ratelimit-perday-limit": "5000",         "x-ratelimit-perday-remaining": "4986",         "x-ratelimit-perday-reset": "85168",         "x-ratelimit-perhour-limit": "1000",         "x-ratelimit-perhour-remaining": "986",         "x-ratelimit-perhour-reset": "2368",         "x-rid": "3iaqga1e1fb6r",         "strict-transport-security": "max-age=15552000",         "p3p": "CP=\"Tumblr's privacy policy is available here: https://www.tumblr.com/policy/en/privacy\"",         "public-key-pins-report-only": "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"",         "referrer-policy": "no-referrer-when-downgrade",         "age": "0",         "connection": "keep-alive",         "via": "https/1.1 e8.ycpi.sja.yahoo.com (ApacheTrafficServer [cMsSf ])",         "expect-ct": "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"",         "x-xss-protection": "1; mode=block"     } } There was an error fetching your likes. Please make sure you provided the correct API key and blog name.
Is there something obvious I'm doing wrong, or have they broken the tool?
Thanks in advance.

@justingrantca Are your likes set to public? See #1.

@justingrantca I have the same issue. And have set my likes to public. Even before creating the API Key.


Add API allowing "last object before"

What?
Let's add an API to return the last object with a given prefix!  For instance, if I have objects with these keys:
/aa/000/x
/ab/000/y
/ab/001/abc
/ab/001/def
/ab/001/xyz
/ab/002/abc

then I would like statLastObject(repo, branch, prefix="/ab/001/", maybe_some_other_params) to stat /ab/001/xyz.
Why?
This frequently comes up in services that need to scan lakeFS.  For instance: say the names of my objects contain a timestamp field.  I would be able to find the key of the latest object by using a single API call.
How?

PebbleDB iterators have SeekLT.
DynamoDB Query let you set ScanIndexForward=false
Badger iterators can scan backwards
CosmosDB appears to support DESC ordering on its indexes, and we already get some indexing policy.

Hi @arielshaqed can you please add a few use cases for this addition? How do you expect users to use it?

@arielshaqed we will appreciate your feedback on this one, thanks!


a very small advice

in the notebook, there's this package called tqdm.notebook. so instead of from tqdm import XXX use from tqdm.notebook import XXX. this would make the progress bar much cleaner as vanilla tqdm prints a line for every epoch trained in colab.
also the image is not displaying in colab for some reason. so i changed 'png' to 'jpg' in the filename and checked the save progress button.

@mikelty updated Mike! let me know if that works for you!

yeah i think so thanks.


Added sample Event Grouper that transforms events (Grouping + FanOut)

@jeremydmiller, do you think we could add some syntactic sugar to enable such a scenario when you need both grouper and fan out?

@jeremydmiller, I sprinkled the example with a bit of syntactic sugar. I added:

TransformsEvent that marks transformed event to be handled without the hack with dummy Apply method,
WithData to make cloning events with different event data easier.

I also refactored a bit the transformation.
If you're not against that, then I'll go ahead and merge it. We could add a dedicated grouper with transformation, but I'll suggest something in separate PR.
Thoughts?
@kluhman FYI


Add privacy policy page

Updated https://github.com/panvol/pandemic-volunteers/pull/37

Changes made:

Added styling to the layout.
Added a header with the style matching other pages.
Added a col-md-12 and pb-5 classes for padding.
Cleared unnecessary ids and classes.
Moved section ids to divs from titles.

Thanks @ozkc!


[Question] How to do GCS streaming transfers

I want to use https://cloud.google.com/storage/docs/streaming
I anyway tried codes which passes an IO object like
          r, w = IO.pipe
          w << '{"foo":"bar"}'
          body = {
            name: object,
          }
          opts = {
            upload_source: r,
            content_type: 'application/json'
          }
          response = client.insert_object(bucket, body, opts)

but I had no success with an error message like
:message=>"No such file or directory - No such file or directory - local.path"

Does google-api-ruby-client supports GCS streaming transfers? How to do it?

At the moment, no. The current upload implementation in the client assumes a stream where the length is known.

Hmm, thank you for answering.


Installed system does not work if user's shell is zsh

The default /etc/profile is for sh and bash; zsh doesn't even look at it. Apparently it does look for /etc/zprofile, so maybe we could patch that if it exists or provide one from the installer? macOS switched to zsh as the primary shell for users a long time ago, and frankly I agree with that choice in the general sense.

FWIW, Slackware has /etc/zprofile as a symlink to /etc/profile

Yeah, in their package, they have this doinst.sh script (that runs when the package installs)
if ! grep zsh etc/shells 1> /dev/null 2> /dev/null; then
  echo "/bin/zsh" >> etc/shells
fi
if [ ! -e etc/zprofile ]; then
  ( cd etc ; ln -sf profile zprofile )
fi

Unfortunately that won't work for us because the syntax for doing in zsh what /etc/profile does is different. We'd need a custom one.

What's different about it? I thought zsh was fully Bourne compatible.

Try sourcing the FreeBSD /etc/profile from zsh.


IsSelectedObject return value does not match RhinoScript

I'm working with Python script with rs.IsObjectSelected(object). This return 0,1,2 or 3 like the RhinoCommon and not True or False as in the Python script.

http://mcneel.myjetbrains.com/youtrack/issue/RH-30066


Import Failed

Good morning,
I have been trying to install this extension, but it always gives me the Import failed error.
All other extensions are working fine, and I have inclusively installed all dependencies using requiremnts.txt

Anyone else got the same problem? Would appreciate some help!
@meap158

Me too . Same would love to find a solution for this

File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement_init_.py", line 8, in
from .background_replacement import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\background_replacement.py", line 11, in
from .image_utils import ensure_resolution
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\image_utils.py", line 4, in
from .upscaler import upscale
File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\upscaler.py", line 4, in
from realesrgan import RealESRGANer
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan_init_.py", line 2, in
from .archs import *
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan\archs_init_.py", line 2, in
from basicsr.utils import scandir
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr_init_.py", line 4, in
from .data import *
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data_init_.py", line 22, in
dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames]
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data_init.py", line 22, in
dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames]
File "importlib_init.py", line 126, in import_module
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\realesrgan_dataset.py", line 11, in
from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels
File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\degradations.py", line 8, in
from torchvision.transforms.functional_tensor import rgb_to_grayscale
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement module for custom nodes: No module named 'torchvision.transforms.functional_tensor'
(IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement

File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement__init__.py", line 8, in from .background_replacement import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\background_replacement.py", line 11, in from .image_utils import ensure_resolution File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\image_utils.py", line 4, in from .upscaler import upscale File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\upscaler.py", line 4, in from realesrgan import RealESRGANer File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan__init__.py", line 2, in from .archs import * File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan\archs__init__.py", line 2, in from basicsr.utils import scandir File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr__init__.py", line 4, in from .data import * File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data__init__.py", line 22, in dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames] File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data__init_.py", line 22, in dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames] File "importlib__init_.py", line 126, in import_module File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\realesrgan_dataset.py", line 11, in from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\degradations.py", line 8, in from torchvision.transforms.functional_tensor import rgb_to_grayscale ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement module for custom nodes: No module named 'torchvision.transforms.functional_tensor'
(IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement

After googling a bit, I found and took the advice from this link:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13985#issuecomment-1813885266
After I did this, when ComfyUI was launched, several modules were downloaded and updated, and everything seemed to work. In fact, this is a rather complex and non-obvious solution to problems with installing only two nodes, so it would be great if the developer made corrections to his code.

File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement__init__.py", line 8, in from .background_replacement import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\background_replacement.py", line 11, in from .image_utils import ensure_resolution File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\image_utils.py", line 4, in from .upscaler import upscale File "C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement\upscaler.py", line 4, in from realesrgan import RealESRGANer File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan__init__.py", line 2, in from .archs import * File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\realesrgan\archs__init__.py", line 2, in from basicsr.utils import scandir File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr__init__.py", line 4, in from .data import * File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data__init__.py", line 22, in dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames] File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data__init_.py", line 22, in dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames] File "importlib__init_.py", line 126, in import_module File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\realesrgan_dataset.py", line 11, in from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels File "C:\ComfyUI_windows_portable\python_embeded\lib\site-packages\basicsr\data\degradations.py", line 8, in from torchvision.transforms.functional_tensor import rgb_to_grayscale ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'
Cannot import C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement module for custom nodes: No module named 'torchvision.transforms.functional_tensor'
(IMPORT FAILED): C:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Background-Replacement

After googling a bit, I found and took the advice from this link: AUTOMATIC1111/stable-diffusion-webui#13985 (comment)
After I did this, when ComfyUI was launched, several modules were downloaded and updated, and everything seemed to work. In fact, this is a rather complex and non-obvious solution to problems with installing only two nodes, so it would be great if the developer made corrections to his code.

that worked thanks

ME TO


fixed issue with type names with common prefixes

Coverage decreased (-6.3%) to 41.926% when pulling 93b86a99a655a1c245d53ea37bf3f71001b616ce on rfecher:fixes into 89769de246635ac4ed4aec24d56575ec6ea5b903 on locationtech:master.


Add Custom Animation

It would be nice to have ability to add your own NVActivityIndicatorType by conforming to Protocol and using this Protocol instead of NVActivityIndicatorType, that way we could implement our own activity indicators without need to fork and editing the library. Same would apply to NVActivityIndicatorShape.
Is there something what would block this approach? I could work on MR if you see no issues with this.

@abackys: Actually, it has been initiated and discussed a few times ago, just not yet be an official release. You can refer to these issues #39, #42, #98 for more information. There is also the branch features/custom-animation already there. Public the NVActivityIndicatorAnimationDelegate so that user can create custom animation should be straightforward. However, to make it works seamlessly with the current NVActivityIndicatorType, it requires a bit work on redesigning the code. And if we do so, it would be great to public NVActivityIndicatorShape as well, then user can take advantage of these utilities to create simple animation with ease. I think these two things are the most blockers. Although, contribution, PR on this is more than welcome.


Possibility to mark current day

I would love to see the feature to customize the look of current day in the month view. I didn't find anything related in the configuration. Do you think you could add that feature?

Hello! You can customize view of the current day via FastisConfig.DayCell object. For example:
FastisConfig.default.dayCell.dateLabelColor = .black
FastisConfig.default.dayCell.selectedLabelColor = .green

You can find the full list of available properties there

Resolved in PR #36


ingesting via file source often fails for no obvious reason to the user

Describe the bug
the new file "source" sends files by chunks of 5k lines, which on some dataset can go over the limit of what the ingest api accepts.
On gh-archive, I had to lower that number to 800 to not actually get errors, but on worst dataset (or worst batch of the same dataset), this might not even be enough.
Instead of counting lines, we should count bytes and send just what the api will allow
Steps to reproduce (if applicable)
Steps to reproduce the behavior:
try to ingest a few hours of gh-archive dataset with the file source.
Expected behavior
it ingests without throwing an error

I had the same issue on the wikipedia dataset. We should get the size of each json line and ensure that we respect the API limit.


Escape all commas in filtering suggestions.

The previous fix replaced the first comma only.
Fixes #2349.

I would use a regular expression in order to replace ALL of them. ?
input.val(value.replace(/,/g, '\\,'));

Which one is better ?? :smile:

I don't know which one is better, but isn't regex slower, most of the time? (And the regex g modifier didn't work in my quick test, don't ask me why.)

And the regex g modifier didn't work in my quick test

Is the value multiline ?

No, I don't htink so.

I get
var value = 'test1,test2,test3';
value.replace(/,/g, '\\,'));
"test1\,test2\,test3"

You're in Safari ?

But it looks likes it's only a tiny-tiny bit faster. http://jsperf.com/regexp-vs-split-join Leave it with split...

Your test code works fine in the Safari console. Let's see what @brendo thinks.

Yup.

Happy with the perf option, thanks @michael-e


Extend aspects framework for constructors

Currently there's no mechanism provided to instrument constructors. This is useful as some modules provide access to methods only through constructed objects.
Examples are socket.io, which has the following construct:
var io = require('socket.io')();
io.sockets.emit('broadcast_event');

Here the emit function is only accessible through the sockets field of the constructed io object.
There is a similar pattern for leveldown where all the functions hang off the constructed leveldown instance.

Closing based on PR #93


Fix how highlights are handled

Partially fixes #90 where highlighted actions were broken
Sent actions are correctly identified as self
Sent actions are correctly highlighted (previously this only worked when reloading from history)
Minor performance improvement where received messages are no longer split twice

This one seems to break notifications on highlight. I put my test instance on a random channel and highlighted myself, but I didn't get the desktop notification and the badge didn't turn white either. It just displayed as if it was any other non-highlight channel message.
I also noticed the line doesn't get colored at all, so it's not clear it's a highlight. It just stays orange.
Did I miss something? I did run npm run build before and cleared the browser cache.

Was there a .highlight class applied? Was it an  action?

Yes, the .highlight class gets applied properly. But with both actions and regular messages, no desktop notification gets received, and the badge doesn't turn white. With regular messages, the line does turn red as expected however.

		03:49

		Max-P_test

			Max-P: That still works

		03:48

		Max-P_test

		 highlights Max-P

Switching back to master, it all works again.

This PR doesn't fix color on highlight (the other PR does), so that's fine. Unsure about notification though.

Found it: highlight checked here and broken here
Since you're adding an highlight property it should be an easy fix actually.

Template adds the highlight class though, so that  doesn't make sense.

It's not checking the class, it's checking the message type directly from the server event.

Ah, my bad.

@maxpoulin64 Should be fixed now.

I confirm it works fine for me now, :+1:

:+1:


added SceneFactory for providing possibility to decorate Scene creation process

Hi! This pull request relates to https://github.com/kotcrab/vis-editor/issues/246

Unfortunately i could not test these changes, because latest version of vis runtime from github does not work with my project.
here is full stacktrace
stacktrace.txt
On the other hand,  version 0.3.4 from maven repository  works correctly.
Could you please help me with this?

LGTM.
However, @dmitrypotenko you have not applied to the current style of the code. You removed spaces between method names and brackets.


Signals have 'static lifetime

Signals have 'static lifetime and this is mostly a problem. That mean that signals closures can't access non 'static like the struct that created the UI.
For example
struct Dialog {
   button: gtk::Button,
}

impl Dialog {
    fn init() {
         button.connect_clicked(|| {
               self.do_button()
         }
    }

    fn do_button(&self) {
        // do something
    }
}

Not exactly sure how to fix that though.

I agree this is inconvenient. Consider ownership though. Here Dialog "owns" (in an Rc-like way) Button, which owns the closure. Now letting the closure borrow its owner is going to be problematic and will likely involve Rc and RefCell. So let's use them then:
struct Dialog {
   payload: Foo,
}

impl Dialog {
    fn init() -> Rc<RefCell<Dialog>> {
        let dialog = Dialog { payload: something() };
        let handle = Rc::new(RefCell::new(dialog));
        let handle1 = handle.clone();
        button.connect_clicked(move |_| {
              handle1.borrow_mut().do_button()
        };
        handle
    }

    fn do_button(&mut self) {
        // do something
    }
}

This way works. For some reason I was trying something more complex that didn't work.
Thanks!

If this issue is solved, then I close it. Don't hesitate to take a look at the examples @hfiguiere!

It is not really solved. It is just worked around. IMHO there is something that can be done to make this easier.

Yes but it won't be done before the release. I'm the first one sad about it. I'll reopen however to go back to it in the future.

@hfiguiere Let's be clear about what exactly is being worked around in this case.
If you set out to create a cyclic data structure (e.g. a struct borrowing its owner), Rust borrow checker is going to give you a hard time. We can't change that.
On top of that widgets (or any GLib objects) inherently feature shared ownership, you're not supposed to be able to fully own one. I'm pretty sure async programming without control over either ownership or recursion requires Fn + 'static.
--
If you're looking for a nicer pattern than what I've sketched above, we need to understand your needs better.
--
I can see one way of making signal handlers non-'static and that is to mimic a scoped threads API:
let data = something();
let button = Button::new();
scoped(|scope| {
    button.scoped_connect_clicked(scope, |_| {
        // This closure can capture anything from outside the `scoped` call
        let i_can_haz_data = &data;
    });
    gtk::main();
    // When the scope ends the signal is disconnected and the closure is destroyed.
});

This doesn't seem worth the effort.

Another issue with the workaround suggested is that calling anything that trigger a signal "connected" to the same RefCell will cause an abort.

That's an issue of incompatibility between mutable borrows and recursion. It follows from the reasons why mutable aliasing is unsafe even in single-threaded code. RefCell blowing up prevents undefined behavior.

Back to the subject of this issue, I'm not aware of ways to make circular references more ergonomic so I'm closing this. Feel free to reopen with evidence that the 'static bound can be usefully relaxed.
let button = gtk::Button::new();
button.connect_clicked(|_| { /* this closure outlives any 'a except 'static */ }); //
mem::forget(button);

can is not what I mean. should, but it is not about relaxed, it is about implementing it to allow it. Not exactly sure how yet.
FWIW Gtkmm (the C++ wrappers) implement signal connection using "sigc::trackable" so that disconnect when the target is deleted. not sure about the use of closure, but it is possibly something we could do through proper functors.
I know about the mutable borrow recursion and I was just listing it as a consequence of the stactic lifetime of the signal handler.
To me the signal handler lifetime should be shorter than the the target's (struct the signal is connected to), and this could be implemented by knowing the "target" lifetime.
pub fn connect_window_added<T: Slot, F: Fn(&mut T, &Application, &Window)>(&self, slot: T, f: F) -> u64

Where Slot is a Trait that will track connect and disconnect properly.
On connect, object implementing Slot know they got connected
If an object implementing Slot, is destroyed, it will disconnect said signal.
If the source object gets destroyed, its signals get disconnected and the Slot gets notified too.
This requires quite some work in gir-rs and the rest.
The current situation is not really practical IMHO.

I know about the mutable borrow recursion and I was just listing it as a consequence of the static lifetime of the signal handler.

I fail to see what recursion vs FnMut issue has to do with lifetimes.

FWIW Gtkmm (the C++ wrappers) implement signal connection using "sigc::trackable" so that it disconnects when the "target" is deleted.

Correct me if I'm wrong, from a brief look it seems to be used with custom classes, which we don't have. In Gtk-rs when an object is destroyed its signal handler closures are dropped. But we can't know at compile time when exactly, if ever, this is going to happen.

To me the signal handler lifetime should be shorter than the the target's (struct the signal is connected to), and this could be implemented by knowing the "target" lifetime.

I don't think this can get you far because the objects and the closures have to outlive the event loop and that's where the interesting things are happening. My "scope" example above illustrates that you could make it possible to capture data which outlives the loop but that still is very limiting.

On connect, object implementing Slot know they got connected
If an object implementing Slot, is destroyed, it will disconnect said signal.

Objects do know this at run time. Getting rid of 'static requires knowing things statically, at the borrow checking stage. So forget about gir and the big picture, just try to make a proof of concept with a single signal where 'static can be safely removed.

FWIW Gtkmm (the C++ wrappers) implement signal connection using "sigc::trackable" so that it disconnects when the "target" is deleted.

Correct me if I'm wrong, from a brief look it seems to be used with custom classes, which we don't have. In Gtk-rs when an object is destroyed its signal handler closures are dropped. But we can't know at compile time when exactly, if ever, this is going to happen.

No. It is used for just any signal handling.
class MyObject : public sigc::trackable {
public:
    void on_click();
};
Gtk::Widget w = Gtk::Button("ok");
MyObject *obj = new MyObject;
w.signal_clicked().connect(sigc::mem_fun(*obj, &MyObject::on_click));
//
//...
//
delete obj; // <- the signal above will be disconnected. w still in scope, safe.

Thanks.
So we want connect (or a closure we pass to it) to borrow obj. the handler must outlive obj. When the borrow's scope ends the signal needs to be disconnected. How do we do that? The following is unsound because we can just forget the guard and skip cleanup:
impl<'a> SignalGuard<'a> {
    fn drop(&mut self) { /* disconnect the signal */ }
}

impl ObjectExt {
    fn connect<'a, F: Fn() + 'a>(&self, f: F) -> SignalGuard<'a> { ... }
}

There's the scope pattern, which guarantees that nothing escapes the scope. Anything else?
For completeness, without touching lifetimes your example can be approximated like this:
struct MyObject;

impl MyObject {
    fn on_click(&self) { ... }
}

let obj = Rc::new(MyObject);
let weak_obj = obj.downgrade();
button.connect_clicked(move |_| {
    if let Some(obj) = weak_obj.upgrade() {
        obj.on_click();
    }
});
// do things with `obj`

This pattern could be streamlined.


only emit 'node' event for new nodes

Thanks! Published as 3.2.0.
I just added you as a collaborator on this repo! :) Please follow the contributor guidelines here: https://github.com/feross/webtorrent/blob/master/CONTRIBUTING.md

awesome, thanks!, will do


Quantinuum rebrand

This draft PR begins changes needed to update Quantinuum targets to reflect their recent rebranding.

Thanks for all your help, @cesarzc, and for your review @vxfield! The PR now works locally, so moving this out of draft and marking as ready to review.


Link not working

Describe the issue here.
https://docs.influxdata.com/influxdb/v2.0/tools/client-libraries/go/
This link for go client is not working

Thanks @khushwant-HG. This has been fixed.


[raylib] Error: Building package raylib:x86-windows failed with: BUILD_FAILED

Host Environment

OS: Windows
Compiler: - VSC cl.exe

To Reproduce
Steps to reproduce the behavior:
./vcpkg install raylib
Failure logs
Console Log
Computing installation plan...
The following packages will be built and installed:
    raylib[core,use-audio]:x86-windows -> 4.0.0
Detecting compiler hash for triplet x86-windows...
Restored 0 packages from C:\Users\there\AppData\Local\vcpkg\archives in 159.6 us. Use --debug to see more details.
Starting package 1/1: raylib:x86-windows
Building package raylib[core,use-audio]:x86-windows...
-- Using cached raysan5-raylib-4.0.0.tar.gz.
-- Cleaning sources at C:/Users/there/OneDrive/Documents/Projects/Raylib/vcpkg/buildtrees/raylib/src/4.0.0-2383c6a191.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/there/OneDrive/Documents/Projects/Raylib/vcpkg/downloads/raysan5-raylib-4.0.0.tar.gz
-- Using source at C:/Users/there/OneDrive/Documents/Projects/Raylib/vcpkg/buildtrees/raylib/src/4.0.0-2383c6a191.clean
-- Configuring x86-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: ninja -v
    Working Directory: C:/Users/there/OneDrive/Documents/Projects/Raylib/vcpkg/buildtrees/raylib/x86-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      C:\Users\there\OneDrive\Documents\Projects\Raylib\vcpkg\buildtrees\raylib\config-x86-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:415 (vcpkg_execute_required_process)
  ports/raylib/portfile.cmake:39 (vcpkg_cmake_configure)
  scripts/ports.cmake:142 (include)

Error: Building package raylib:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+raylib
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[raylib]+Build+error
including:
  package: raylib[core,use-audio]:x86-windows -> 4.0.0
    vcpkg-tool version: 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761
    vcpkg-scripts version: bba8794b8 2022-01-14 (77 minutes ago)

Additionally, attach any relevant sections from the log files above.

CMakeError.log
Run Build Command(s):C:/Users/there/OneDrive/Documents/Projects/Raylib/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe cmTC_364e6 && [1/2] Building C object CMakeFiles\cmTC_364e6.dir\testCCompiler.c.obj

[2/2] Linking C executable cmTC_364e6.exe

FAILED: cmTC_364e6.exe

cmd.exe /C "cd . && C:\Users\there\OneDrive\Documents\Projects\Raylib\vcpkg\downloads\tools\cmake-3.21.1-windows\cmake-3.21.1-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_364e6.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_364e6.dir\testCCompiler.c.obj  /out:cmTC_364e6.exe /implib:cmTC_364e6.lib /pdb:cmTC_364e6.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

RC Pass 1: command "rc /fo CMakeFiles\cmTC_364e6.dir/manifest.res CMakeFiles\cmTC_364e6.dir/manifest.rc" failed (exit code 0) with the following output:
The system cannot find the file specified

ninja: build stopped: subcommand failed.

Additional context
I am new to installing raylib. I used the simple git clone, and then vcpkg set up. The last step, the build for Raylib, fails.
Apparently cmake and the other dependencies were downloaded successfully.
I have run git pull, and vcpkg update. Both tell me I am up to date.
After reading the config-x86-windows-out.log file, it seems that the VSC cl.exe compiler is failing to compile something. Apparently I am missing files, but should they not have downloaded with cmake or with raylib initially?

Please check the Visual Studio components in https://github.com/microsoft/vcpkg-tool/pull/314.
Thanks.

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


Esther/tooltip

Create tooltip which follows mouse, keeps a z index over the queries, and stays within the bounds of the graph.
Rewrite rerender logic to a switch -- store previous selections for switching off and on. Remove selection graph rerenders to avoid resetting position of tooltip.

Branch needs bug resolution with tooltip covering queries before merging


Upgrade to latest Luat pack file

no changes except to upgrade to the 1.1.9 DFP pack file from 1.1.2

Thank you, I will merge this.


Customize Loading Components

Hello, I want to customize Loading Components with this package: https://lucasleandro1204.github.io/vue-content-loading/.
How can I do this?

You can use the spinner slot, insert your loading element through the slot feature of Vue.js. And it would be better if you read the documentation before create an issue.

Thank you!


Fix issue #14

This fix's the block demo.

@minitriga - thank you; my bad when I was refactoring.


Test Plain (non Fractal) Safe UX

Regular Safes should load, and transactions / treasury should be visible, without any buttons or links related to Fractal.

We have plainsafe.eth, which is a 1/8 multisig Safe (not Fractal) to test this on Georli:
https://app.dev.fractalframework.xyz/#/daos/0xcbCc131ab60AddB808766080CA8B00cD8B260452


only install gems if plugins exist

New Instance doesn't start without Internet:  Could not fetch specs from https://rubygems.org/
Installing gems required by plugins...
redmineTEST  | Could not fetch specs from https://rubygems.org/

after ~10 minutes, I get
redmineTEST exited with code 17, folowed by trying to start it again.
Is there a possibility to override this and/or use a proxy for this?

... setting the enviroment-variable for the proxy worked, but disabling this would still be nice!

Are you using any plugins?

No. Even on a fresh installation with no database and no mounted volume i get this.
I use mysql2 as database-driver, but database got created from the first start, so I don't think that
it's this.
I used now for test sameersbn/redmine:3.4.2, but had this also with sameersbn/redmine:3.3.4
here is the console-output before it is waiting for thwe timeout.
redmineTEST | Initializing logdir...
redmineTEST | Initializing datadir...
redmineTEST | Generating OpenSSH client keys...
redmineTEST | Symlinking dotfiles...
redmineTEST | Installing configuration templates...
redmineTEST | SSL keys and certificates were not found.
redmineTEST | Assuming that the container is running behind a HTTPS enabled load balancer.
redmineTEST | Configuring redmine...
redmineTEST | Configuring redmine::database
redmineTEST | Configuring redmine::unicorn...
redmineTEST | Configuring redmine::secret_token...
redmineTEST | Configuring redmine::max_concurrent_ajax_uploads...
redmineTEST | Configuring redmine::sudo_mode...
redmineTEST | Configuring redmine::autologin_cookie...
redmineTEST | Configuring redmine::email_delivery...
redmineTEST | Configuring redmine::fetch_commits...
redmineTEST | Configuring redmine::backups...
redmineTEST | Configuring nginx...
redmineTEST | Configuring nginx::redmine...
redmineTEST | Configuring nginx::redmine::hsts...
redmineTEST | Migrating database. Please be patient, this could take a while...
redmineTEST | Installing plugins...
redmineTEST | Installing gems required by plugins...
redmineTEST | Could not fetch specs from https://rubygems.org/
redmineTEST exited with code 17

If you are from china, please use china's mirror like below in pre-install.sh
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/ bundle config mirror.https://rubygems.org https://gems.ruby-china.org

no, europe. hm, i should mention that my server has no internet-connection, but i want to start it anyway... ;-)

redmineTEST | Installing plugins...
redmineTEST | Installing gems required by plugins...
redmineTEST | Could not fetch specs from https://rubygems.org/

So it looks like the install_plugins step runs bundle install regardless of you having any plugins. Since if there are no plugins theres no need to install any new gems or run the database migration.
https://github.com/sameersbn/docker-redmine/blob/master/assets/runtime/functions#L951
If you want to make a pull request that only runs the install when plugins exist.

unfortunately, I'm not a developer. so even don't know how to make a pull request, so i'm sorry, i can't help much here... but i will look into the code, maybe i find somehing useful.....

@pos-ei-don it would be enought to supply information we can handle the rest but as no of us has the problem we can't dig into that our self

@frank-dspeed That's true. But as a workaround, I don't think there is any reason the install_plugins function needs to call 'bundle install" if there are no plugins to install.  This is something we can we can implement and test without needing to reproduce his exact problem.
https://github.com/sameersbn/docker-redmine/blob/master/assets/runtime/functions#L928
It might be as simple as returning if after the rsync the plugins directory is still empty.
I've been meaning to get to this but this past month has been very busy for me.


Pull images with podman

Provide basic salinity check for images. The work to fix credentials is forthcoming.

Fixes #117

Fixes #117

I updated libpod to 2.2.1 to make it work with podman 2.2+

I updated libpod to 2.2.1 to make it work with podman 2.2+


pack released version of azure-vnet for CNI Installer

Reason for Change:

update cni.Dockerfile to pack released version of azure-vnet instead of local version.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

completing in parts since there isn't a release for azure-ipam yet. later I'd like to discuss how to create the release.


PDI-10657 - Upgrading Drools library

Another attempt at fixing http://jira.pentaho.com/browse/PDI-10657.
The previous attempt has been cancelled (https://github.com/pentaho/pentaho-kettle/pull/237).

Converted Rules step into a plugin to avoid downstream dependency conflicts
Upgraded Drools revision to 5.5.0.Final
Updated OraBulkLoaderMeta.java to remove dependency on Drools
Added two convenience constructors for Rules.Column

Closing this pull request - the final contribution on this was processed on this PR:
https://github.com/pentaho/pentaho-kettle/pull/1446
This is now in Master.


FTP profile creation error - "This is only valid on BIG-IP versions 14.0 and above."

Environment

Application Services Version: 3.43.0
BIG-IP Version: <IP_ADDRESS>

Summary
I am attemping to create an FTP profile using the F5 Extension in vscode. I connect to BIG-IQ <IP_ADDRESS> and the target device is BIG-IP <IP_ADDRESS>. It's complaining about two different parameters:
enforceTlsSessionReuseEnabled
activeModeEnabled
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "$schema": "https://raw.githubusercontent.com/F5Networks/f5-appsvcs-extension/master/schema/3.43.0/as3-schema.json",
    "class": "AS3",
    "action": "deploy",
    "persist": true,
    "declaration": {
        "class": "ADC",
        "schemaVersion": "3.43.0",
        "updateMode": "selective",
        "target": {
            "address": "<IP_ADDRESS>"
        },
        "SECURETRANSPORT": {
            "class": "Tenant",
            "QF0": {
                "class": "Application",
                "template": "generic",
                "ftp_SECURETRANSPORT": {
                    "activeModeEnabled": true,
                    "enforceTlsSessionReuseEnabled": false,
                    "ftpsMode": "disallow",
                    "inheritParentProfileEnabled": false,
                    "port": 20,
                    "securityEnabled": false,
                    "translateExtendedEnabled": true,
                    "class": "FTP_Profile"
                }
            }
        }
    }
}

Observe the following error response:

{
    "id": "8aa71a9b-b5d1-468e-a791-d78f8e11b836",
    "results": [
        {
            "message": "success",
            "dryRun": false,
            "host": "localhost",
            "tenant": "STS",
            "runTime": 19700,
            "code": 200,
            "warnings": [
                {
                    "tenant": "STS",
                    "dataPath": "/STS/QF0/ftp_STS/enforceTlsSessionReuseEnabled",
                    "keyword": "f5PostProcess(minVersion)",
                    "params": {},
                    "message": "FTP_Profile.enforceTlsSessionReuseEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."
                },
                {
                    "tenant": "STS",
                    "dataPath": "/STS/QF0/ftp_STS/activeModeEnabled",
                    "keyword": "f5PostProcess(minVersion)",
                    "params": {},
                    "message": "FTP_Profile.activeModeEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."
                }
            ]
        }
    ],
    "declaration": {
        "STS": {
            "class": "Tenant",
            "QF0": {
                "class": "Application",
                "template": "generic",
                "ftp_STS": {
                    "activeModeEnabled": true,
                    "enforceTlsSessionReuseEnabled": false,
                    "ftpsMode": "disallow",
                    "inheritParentProfileEnabled": false,
                    "port": 20,
                    "securityEnabled": false,
                    "translateExtendedEnabled": true,
                    "class": "FTP_Profile"
                }
            }
        },
        "class": "ADC",
        "schemaVersion": "3.43.0",
        "updateMode": "selective",
        "target": {
            "address": "<IP_ADDRESS>"
        },
        "controls": {
            "class": "Controls",
            "userAgent": "vscode-f5/3.14.0",
            "archiveTimestamp": "2023-08-08T19:43:52.143Z"
        },
        "id": "autogen_0f1458de-8393-423d-b94a-5e20d7ac37d5"
    }
}

Expected Behavior
I expect the FTP profile to be created without errors since I am deploying to BIG-IP version >14.0.
Actual Behavior
The FTP profile does not get created and the declaration fails with two errors:
"message": "FTP_Profile.enforceTlsSessionReuseEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."
"message": "FTP_Profile.activeModeEnabled ignored. This is only valid on BIG-IP versions 14.0 and above."

Thank you for your report.  The response code is 200 and these messages are contained in a warnings object.  Even with the warnings misfiring due to a bug I would of expected the profile to be created but maybe missing these properties.  If it really isn't being created that is quite troubling.  We will look into it.  For future reference this has been assigned AUTOTOOL-3966.

Please reach out to us  at<EMAIL_ADDRESS>so that we can prioritize AUTOTOOL-3966


OCPBUGS-32939: [IBU] Add localVolume presence check in CleanupStaleBackups

Adds a check to the CleanupStaleBackups function to detect if a localVolume is specified in the resources in Backup CRs, and ignores its cleanup.
Also, refactors a bit the ValidateOadpConfigmaps function to reduce time complexity.
/cc @browsell @Missxiaoguo @donpenney

/jira refresh

/test ibu-e2e-flow

/test ibu-e2e-flow
 Error: Transaction test error:
  package libtool-ltdl-2.4.6-45.el9.x86_64 is already installed

/lgtm

/lgtm


Fix odd-sized pixel snapping

[!WARNING]
This PR needs to be thoroughly tested before merging it.

This PR makes it so that it doesn't add 0.5 pixels to odd sized items before snapping them.
Fixes #94298.
Tests

[x] @KeyboardDanni's PixelPerfectTest.zip
[x] #94298's MRP
[ ] Test some RichTextLabels FX

Are we sure this is the right fix? Do we really want to change the behavior of odd pixels? I'd think we would want consistent rounding behavior for both even and odd pixels. I continue to be of the opinion that we should try to make the rounding behavior as simple as possible so that users aren't dealing with sudden surprises from corner cases.
What about the approach I suggested at https://github.com/godotengine/godot/issues/94298#issuecomment-2233892437 ?

Also the use of fmod here seems incorrect, as it returns a floating point remainder. It'd only perform rounding when the coordinate is exactly aligned with an even pixel, which kind of goes against the whole purpose of pixel rounding to begin with.


Support comment in PPM

Current version (0.5b) doesn't support comment in PPM file. Comment should be supported in PPM.

Closed in Version 0.6b.


Access request for andrew-m-leonard

Access level:

[ ] Non-privileged
[ ] jenkins user
[X] root/Administrative
[ ] other (Please specify):

System for which access is needed:
test-macstadium-macos1014-x64-1
test-macstadium-macos1014-x64-2
test-macstadium-macos1014-x64-3
test-macincloud-macos1010-x64-2
Please explain why you need this access including whether it is a temporary or permanent request:
Need "root/admin" access to be able to correct/debug   /cores testcase access issue

Granted to test-macstadium-macos1014-x64-1

Need jenkins user access on test-macstadium-macos1014-x64-1 please

You Can get to that via sudo - that should help :-)

@andrew-m-leonard Is this access still required?

nope, finished now thanks


Support for Record&Play plugin

I am building an application and would love Janode support for the Record&Play plugin

That is not planned in the short term unfortunately.


[HELP] Are There any examples to verify?

Here is my way  to install kpt-config-sync,
Create a directory to store the manifest bundle
mkdir -p <MANIFEST_DIR>
Extract the manifest bundle
tar -xzf <MANIFEST_BUNDLE> -C <MANIFEST_DIR>
Apply the manifests to your cluster
kubectl apply -f <MANIFEST_DIR>
BUT Are There any efficient and easy example to verify the kpt-config-syn ?
I need some tips. Thank you !

@mortent  Hi, would you give me some suggestion ?

ping @justinsb Hello

@mortent  Thanks for your tips. Can the Config Sync work on the alone Kubernetes ? I want  to try it on the alone kubernetes.

@oeular yes Config Sync should work on Kubernetes clusters, including KinD.

Most of the examples we've invested in so far have been for Anthos Config Management in https://github.com/GoogleCloudPlatform/anthos-config-management-samples, but ACM is a higher level abstraction which includes Policy Controller, Config Sync, and an ACM Operator to manage them. Some of the examples in the samples repo work with CS by itself, but some require the rest of ACM.
I would consider this a feature request for a set of Config Sync specific examples, perhaps in an /examples/ or /demos/ dir in this repo, like we've done for kpt and cli-utils.

@janetkuo  @karlkfi  Thanks.
I need some specific examples on Kubernetes（We don't have ACM or Google Cloud）.
Now I have installed Config Sync with https://github.com/GoogleContainerTools/kpt-config-sync/releases/download/launch/deployment-blueprint.tar.gz
Actually, I want to install Config Sync as an addon in Kubevela（https://github.com/kubevela/kubevela） for some component.

(I'm piggy-backing on this existing issue instead of filing a new one; if you'd prefer I can file a separate one.)
Is there any docs or an example somewhere of how to use cluster selectors with the OSS manifests? After running make build-oss and copying the manifests (except for dev.yaml which I suppose should probably not have been there...?) into a folder of my own, it seems I can just apply all of them and deploy Config Sync. However, since the ConfigManagement is now out of the picture, I don't find anywhere how to specify the cluster name that then defines which labels etc that are applicable for cluster selectors in my target repositories. How does that work in the OSS version?

—cluster-name is configured on the reconciler-manager, which in turn configures it on the reconciler containers with an env var: https://github.com/GoogleContainerTools/kpt-config-sync/blob/main/cmd/reconciler-manager/main.go#L42


Make need_reset for get_csr and set_cert clear

Fix: #2061
The current code meet the follow table.

I dont understand the patch. How you resolve #2061 ?

please add unit test to cover those 4 scenario.

please add unit test to cover those 4 scenario.

Thanks.
The libspdm_test_responder_csr_case1 coves the scenario 4:  The device can gen CSR without reset.
The libspdm_test_responder_csr_case6  covers the scenario 2 and 3. In the case6, the device need reset to complete the CSR. The first get_csr request cover the scenario 3.  The second request without device reset cover the scenario 2.
The libspdm_test_responder_csr_case6  covers the scenario 1 and 3. In the case12, the device need reset to complete the CSR. The first get_csr request cover the scenario 3.  The second request after device reset cover the scenario 2.

Where is test for set_cert ?

Where is test for set_cert ?

For normal set_cert request, the unit_test is follow:
https://github.com/DMTF/libspdm/blob/ccfa0f0b959c14c1f8f27051913887a0cb487baf/unit_test/test_spdm_responder/set_certificate_rsp.c#L14-L19
For second set_cert request, the unit_test is in the PR: https://github.com/DMTF/libspdm/pull/2144


prow playground issue

this is not a real issue. Use it to test out prow commands and see what you can make the bot do.

/hold

/cats

/meow

/woof

/bark

do these commands have to start the line /assign @carolynvs testing?
what happens if I /woof in the middle?

/bark seems to need to be at the start

or is it on it's own line?
/meow y wowy?

okay, meow takes an arg, dog doesn't
/woof
/meow caturday

hot potato!
/unassign
/assign @MHBauer

/kind bug

/shrug


Create a better LUA system

The system is currently beeing done BUT I have no clue how to handle the MySQL calls so that they are usefull
Since go sql package doesnt return a sql result but instead a sql.Row I am confused

This should be fixed with commit 69a2db072a885d2ee9b10513469959caa9a7966c


feat(ui): update image urls on connect

Add updateImageUrlsOnConnect RTK listener:

requests URLs for every image the app knows about, on connect: gallery, selectedImage, initialImage, canvas images, nodes images, controlnet images
only fires when shouldUpdateImagesOnConnect config is enabled

The changes do not affect OSS functionality bc shouldUpdateImagesOnConnect is disabled for OSS.

@maryhipp


Fix commandblocks

This will fix commandblocks. Minecarts are still broken.
only 1.8 commandblock features work!

Looks really good! Seems like a lot of work.


🚀 Feature: Support Haystack v2

Which component is this feature for?
Haystack Instrumentation
🔖 Feature description
Upgrade our instrumentation to support the new Haystack v2 APIs
🎤 Why is this feature needed ?

✌ How do you aim to achieve this?

🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
None

Hey @nirga!
That makes sense, I've started looking into this!

Hi @nirga !
I had a couple questions I could use clarity on

PromptNode alternative in haystack V2:
From my understanding, haystack moves away from the concept of PromptNode in v2.
In Haystack V2, you can create a custom component that can do any task from generation to retrieval . So is it okay to drop the wrapper for haystack.nodes.prompt.prompt_node?

EmbeddingRetriever alternative in haystack V2:
Similar reasoning: Haystack moves away from the concept of a generic embedding retriever.
It supports having custom components and gives a bunch of specific document store - retreivers

One possible approach I see to the problem is
a. Add wrappers for all existing generators/retreivers
b. Add wrapper for custom components.
Do let me know your thoughts. You can refer to my pull request as it has implementation for other wrappers.

Yep @mayankagarwals you can remove support for both!

That's great @nirga. Thanks
Can you help me with the command to test
openllmetry/packages/opentelemetry-instrumentation-haystack/tests/conftest.py
openllmetry/packages/opentelemetry-instrumentation-haystack/tests/disabled_test_simple_pipeline.py

Looks like these use vcr plugins. The pytest command isn't picking it up.

You need to change the file name and removed the disabled prefix

Ah, was wondering why is it called disabled and the GitHub workflow also excludes it haha. Thanks for clarifying, saved a ton of time!

Hi @nirga!
So I've fixed the test but there seems to be a decoding issue with respect to cassette. Would it be possible for you to re-record it? I'm not sure what exactly is breaking there and the issue should resolve anyway if the casette is re-recorded and re-versioned

For reference, this is the error: https://gist.github.com/mayankagarwals/457c8a51032a3bef8276e7737332963a

Hi @nirga ,
Small update. I have tested the current implementation using gpt-3.5-turbo as I had existing api key for it.
Can you please run pytest --record-mode=rewrite and commit the casette file? That will make sure the casette change uses the same model as before. TIA!


Remove MVC.DNX

It doesn't work anymore.
/cc @Eilon @DamianEdwards  RC2

I had a PR out for it, ir you guys give the ok, I'll update it and merge it.

@javiercn where is it

https://github.com/aspnet/Mvc/pull/4379

Ok I give up, let's do this for RC2.

Closing this one as it's a dupe of https://github.com/aspnet/mvc/issues/4187

059ec0f3531cbbd04258c6ea5b4951ca27eecc92


don't know what kind of error this is....

but when i try to link it to Zeus or Zap it gives this error before posting the qr code for the node. the wallets give me a error about not connecting each time.
fbi: no process found
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)
# lndconnect is already installed
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)
Wrote QR Code to file "lndconnect-qr.png"
# OK - file exists: /home/admin/lndconnect-qr.png

zap tells me Hostname verification failed, it does not match hostname provided in the cert. (?)
zeus says its there and active, but clicking on it says "error: stream was reset: internal error", i did have raspiblitz set it up to be used only on the local lan.... do i have to enable the local lan somewhere in the configs in raspiblitz.
BTW, its sync'd does receive btc to fund Lnd, but havent seen anything really take off yet.

also when scanning qr or pasting lndconnect urls with both lan and internet ips i get the same errors

@DrBlackross did you trued with the lastest scripts: MENU > UPDATE > PATCH > PATCHMENU > PATCH

no.... i did it when it was a beta (would have to check my post here), i still can't run update and pull it from github, right. i have to reflash the sdcard to do that update?

If you have a final main release like "v1.6" thane you can use the "MENU > UPDATE > PATCH > PATCHMENU > PATCH" to update even to a minor relase like "v1.6.1" or any smaller upadtes. If you had a Release Candidate or you want to make a jump to a niew main verison ... you would need go thru the sd card update.

I've been running on @openoms 64 bit image synced to the 1.6 branch for a week now and I'm getting similar errors related to the subscriptions. My first problem was that the subscriptions were pointing to an old IP, so I thought I would just cancel them and recreate them. But when trying to cancel them I run into this error too.
admin@raspberrypi:~ $ python /home/admin/config.scripts/blitz.subscriptions.ip2tor.py subscription-cancel fdff55b4-fbb5-48c6-afb5-11d0a9b9fd8f
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)

admin@raspberrypi:~ $ python /home/admin/config.scripts/blitz.subscriptions.letsencrypt.py subscription-cancel grnqrtr.duckdns.org
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.letsencrypt.py", line 14, in <module>
    from blitzpy import RaspiBlitzConfig,BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)

I've been running on @openoms 64 bit image synced to the 1.6 branch for a week now and I'm getting similar errors related to the subscriptions. My first problem was that the subscriptions were pointing to an old IP, so I thought I would just cancel them and recreate them. But when trying to cancel them I run into this error too.
admin@raspberrypi:~ $ python /home/admin/config.scripts/blitz.subscriptions.ip2tor.py subscription-cancel fdff55b4-fbb5-48c6-afb5-11d0a9b9fd8f
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.ip2tor.py", line 15, in <module>
    from blitzpy import RaspiBlitzConfig, BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)

admin@raspberrypi:~ $ python /home/admin/config.scripts/blitz.subscriptions.letsencrypt.py subscription-cancel grnqrtr.duckdns.org
Traceback (most recent call last):
  File "/home/admin/config.scripts/blitz.subscriptions.letsencrypt.py", line 14, in <module>
    from blitzpy import RaspiBlitzConfig,BlitzError
ImportError: cannot import name 'BlitzError' from 'blitzpy' (/usr/local/lib/python3.7/dist-packages/blitzpy/__init__.py)

@grnqrtr can you go to terminal and run: /home/admin/XXsyncScripts.sh -justinstall .. and check if you see any error nera the line # BlitzPy changed --> UPDATING to Version 0.3.0

@grnqrtr can you go to terminal and run: /home/admin/XXsyncScripts.sh -justinstall .. and check if you see any error nera the line # BlitzPy changed --> UPDATING to Version 0.3.0

I don't see any errors, but it looks like it's updating to Version 0.2.0 not Version 0.3.0
admin@raspberrypi:~ $ /home/admin/XXsyncScripts.sh -justinstall
# *** SYNCING RASPIBLITZ CODE WITH GITHUB ***
# This is for developing on your RaspiBlitz.
# THIS IS NOT THE REGULAR UPDATE MECHANISM
# and can lead to dirty state of your scripts.
# REPO ----> origin     https://github.com/rootzoll/raspiblitz.git (push)
# BRANCH --> v1.6
# ******************************************
Already up to date.
# Cleaning assets ..
# COPYING from GIT-Directory to /home/admin/
# ******************************************
# Checking if the content of BlitzPy changed ..
# checkSumBlitzPyBefore = af63c7d6fe324493cf759dd1711eef06  -
# checkSumBlitzPyAfter  = af63c7d6fe324493cf759dd1711eef06  -
# BlitzPy changed --> UPDATING to Version 0.2.0
# ******************************************
# OK - shell scripts and assets are synced
# Reboot recommended

I don't see any errors, but it looks like it's updating to Version 0.2.0 not Version 0.3.0
admin@raspberrypi:~ $ /home/admin/XXsyncScripts.sh -justinstall
# *** SYNCING RASPIBLITZ CODE WITH GITHUB ***
# This is for developing on your RaspiBlitz.
# THIS IS NOT THE REGULAR UPDATE MECHANISM
# and can lead to dirty state of your scripts.
# REPO ----> origin     https://github.com/rootzoll/raspiblitz.git (push)
# BRANCH --> v1.6
# ******************************************
Already up to date.
# Cleaning assets ..
# COPYING from GIT-Directory to /home/admin/
# ******************************************
# Checking if the content of BlitzPy changed ..
# checkSumBlitzPyBefore = af63c7d6fe324493cf759dd1711eef06  -
# checkSumBlitzPyAfter  = af63c7d6fe324493cf759dd1711eef06  -
# BlitzPy changed --> UPDATING to Version 0.2.0
# ******************************************
# OK - shell scripts and assets are synced
# Reboot recommended

I had this experience when pairing Zap mobile wallet on 1.6.2.
https://github.com/rootzoll/raspiblitz/issues/766#issuecomment-750619167

I had this experience when pairing Zap mobile wallet on 1.6.2.
https://github.com/rootzoll/raspiblitz/issues/766#issuecomment-750619167

This should be fixed for the v1.7 release ... test this with the mobile wallets again.


Make typed routes it's own thing

it doesn't need to be a part of ll and actually having them both published to npm makes negative sense if you think about it

There it is https://github.com/maddsua/mws-packages/tree/main/packages/typed-fetch


fix: fixing entity caching bug

Summary:
Fixing entity caching bug
Issue Reference(s):
Fixes #835
Build & Testing:

[x] I ran cargo test successfully.
[x] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly.
[x] I have performed a self-review of my code.
[x] PR follows the naming convention of <type>(<optional scope>): <title>

fixing in favour of #1078


Null island bug (support for 0,0 co-ordinates)

support for 0,0 co-ordinates
GeoJSON.parse([{ lat: 0, lng: 0 }], {Point: ['lat', 'lng']}, function(geojson){
  console.log( JSON.stringify( geojson, null, 2 ) );
});

before:
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {},
      "properties": {}
    }
  ]
}

after:
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          0,
          0
        ]
      },
      "properties": {}
    }
  ]
}

Thanks. Looks good. Do you mind rebasing on master and removing the merge commit? I'll merge this then publish a new release.

heya @caseypt how does that look now?

Thanks! Yeah, I'll take care of it.

Publish v0.2.1 to npm

awesome thanks!


Next JS deployment with internationalisation support is getting deploying without any hosting files being served. How can I fix this?

[REQUIRED] Environment info
firebase-tools: 11.14.3
Platform: Windows 10
[REQUIRED] Test case
When I run the app on local host (using both firebase serve or npm run dev), everything works as it should but when I deploy the app in production using the experimental Next JS hosting, one time only locale routes were served no root routes and other time nothing got served.
[REQUIRED] Steps to reproduce
Just deploy an internationalised app using next-translate and you will see the issue.
[REQUIRED] Expected behavior
Expected behaviour is the same as the local host i.e. all routes are served.
[REQUIRED] Actual behavior
One time only locale routes are served & no root routes available. Other time, nothing got served.
I have already written this in my threads and so far have not gotten any response. I am a bit disappointed as I always thought Firebase to be very developer friendly but it does not look like that from my experience so far.

I am really stuck for last 4 days now. I was ready to deploy the app after everything worked on Firebase serve and then the app does not get deployed on Firebase hosting. Please any help would be highly appreciated.

We're working on this now https://github.com/firebase/firebase-tools/pull/5335


labels: Keep LabelArrays sorted

Create labels.LabelArray in sorted order which allows interacting with KV-store without worrying about label order. To be safe, all other uses of LabelArrays are also changed to sorted order, which affects e.g., rule labels. Arguably this is better than the somewhat arbitrary order they were in before.
This PR makes the follow-up work on policy.SelectorCache (#7539) easier.

This change is

test-me-please

Coverage increased (+0.07%) to 41.284% when pulling f423db152333fa80dea1006fe649f883c73e0c8b on pr/jrajahalme/labels-sorted-labelarray into dd49111f0a557c0278319a23111186bc391082a3 on master.

test-me-please


bind: disable tests on 32-bit arm

Description of changes
Fix for https://github.com/NixOS/nixpkgs/pull/250563#issuecomment-1702271179

Things done

Built on platform(s)

[X] armv7l-linux
[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.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

[X] Fits CONTRIBUTING.md.

I'd probably use is32bit instead, e.g. https://github.com/vcunat/nixpkgs/commit/5842d103dc043697692265ecc65572b590e3ab37

Though practical difference is probably minimal.  I can't recall any other 32-bit platform using nixpkgs in practice recently.

I'd probably use is32bit instead, e.g. vcunat@5842d10

This looks better, I'll close my pull-request then

OK, opened as https://github.com/NixOS/nixpkgs/pull/252718


helm dependency update does not work with a dependency as tar ball

Output of helm version:
version.BuildInfo{Version:"v3.13.3", GitCommit:"c8b948945e52abba22ff885446a1486cb5fd3474", GitTreeState:"clean", GoVersion:"go1.20.11"}

The command helm dependency update cannot handle the case, when there is a tar ball in the charts directory.
Example:
Chart directory tree
.
├── charts
│   └── kowl-2.3.0.tgz
├── Chart.yaml
└── values.yaml

Chart.yaml
apiVersion: v2
name: kowl
description: A Helm chart for configuring kowl on Kubernetes

type: application

version: 1.0.0

dependencies:
  - name: kowl
    version: "2.3.0"
    repository: file://charts/kowl-2.3.0.tgz

The chart can be installed (demonstrated with helm template), but helm dependency update fails:
➜ helm template portal-kowl . | head
---
# Source: portal-kowl/charts/kowl/templates/secret.yaml
apiVersion: v1
kind: Secret
metadata:
  name: portal-kowl
  labels:
    helm.sh/chart: kowl-2.3.0
    app.kubernetes.io/name: kowl
    app.kubernetes.io/instance: portal-kowl

➜ helm dependency update .
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update [...]
Update Complete. ⎈Happy Helming!⎈
Error: Chart.yaml file is missing

The same works if the tar ball is unpacked:
.
├── Chart.lock
├── charts
│   └── kowl
│       ├── Chart.yaml
│       ├── templates
│       │   ├── configmap.yaml
│       │   ├── deployment.yaml
│       │   ├── _helpers.tpl
│       │   ├── hpa.yaml
│       │   ├── ingress.yaml
│       │   ├── NOTES.txt
│       │   ├── secret.yaml
│       │   ├── serviceaccount.yaml
│       │   ├── service.yaml
│       │   └── tests
│       │       └── test-connection.yaml
│       ├── values.schema.json
│       └── values.yaml
├── Chart.yaml
└── values.yaml

➜ helm template portal-kowl . | head
---
# Source: portal-kowl/charts/kowl/templates/secret.yaml
apiVersion: v1
kind: Secret
metadata:
  name: portal-kowl
  labels:
    helm.sh/chart: kowl-2.3.0
    app.kubernetes.io/name: kowl
    app.kubernetes.io/instance: portal-kowl

➜ helm dependency update .
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update [...]
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Dependency kowl did not declare a repository. Assuming it exists in the charts directory
Deleting outdated charts

Related issues:
https://github.com/helm/helm/issues/9987
https://github.com/helm/helm/issues/8479

https://github.com/helm/helm/issues/9987#issuecomment-890114094
I think @mattfarina has explained the problem there. The error message could certainly be improved. Or, Helm could support tgz inside the chart's directory, the details of that improvement would need to be worked out, agreed on and implemented.


OpenAI Tests: Separate Request and Response Compare Tests

Can add stop token test after this is merged in #5551


Add example calculating W spectra

Example for calculating of W spectra from SPRED spectrometer as a function of temperature.

@fsciortino could you merge it, please?

Hi @odstrcilt , sorry for the slow reaction and thanks for opening the PR. It wasn't yet clear to me if you were done with your commits.
Before merging, I would like some clarifications for the reasoning behind some changes (see comments above). Thanks!


Duplicated players in the multiplayer scoreboards

Somehow Dueling Grounds is now running 2 copies of my code for the same team (humans), with 2 different scores.  It seems I'm both the 4rd and 5th place player for my team.
One of them is an older version of my code that's using a different hero.

No idea what could have caused that second session to be created, but I've gotten rid of it, so you should be good to go. I'll wait until we can see some sort of pattern to the duplicate session creation to investigate that issue. Did you happen to open Dueling Grounds in the level editor or anything like that?

No, I just updated my code and the hero I was using.  Nothing out of the ordinary.


Update install.md

document separation between sui_framework and sui_programmability

Hanging for no particular reason it seems, requires an extra button to be pushed somewhere I think.


Google Drive Link for data not available

Hi, thank you for sharing your code so quickly!
I clicked the data download link, and found "File is in owner's trash". It seems you have moved the file to the trash. Can you share the data again?

BTW, with ros(catkin), the pip install -e . would fail, and then vgn is not installed as a package and running python scripts/generate_data.py -h would fail since it import vgn.

Ups, that was my mistake, thanks for letting me know! The link should work again :)
The instructions for pip are meant for installing the package on a system without ROS. However, installing vgn into a virtual environment using pip should also work on a machine that has ROS installed, you will just not be able to use roslaunch and rosrun.

Thank you for your response! I work on a server without ros. When I run pip install -e, I got

It seems the setup.py needs catkin...

The setup.py script relies on catkin_pkg, so you need to install it into your virtual environment as well with pip install catkin_pkg. I'll add the package to the requirements. Let me know if this fixes your problem :)

It works, thank you!

Hi @mbreyer, I just tried to download the data folder .zip and I also get the message "File is in owner's trash". Could you please share the file again? Thanks in advance :)

Looks like a screw-up from my local sync client. Should be fixed now.

Downloaded! Thanks :)

No problem. Thanks for letting me know :)


Clean up un-used artifacts: docker-compose.postgres.yml not used - should be removed

User Story

As report stream developer / code maintainer, I want the code base NOT holding un-used source code, docker files, etc.
./prime-router/docker-compose.postgres.yml seems NOT being used by any and NOT seeing it serves any purpose.
Description/Use Case

Remove un-used artifacts
Risks/Impacts/Considerations

No
Dev Notes

Search the code base, no any reference to the docker-compose.postgres.yml
and removed in POC PR for 11565, and did not see anything broken.
Acceptance Criteria

AC:
Unused docker-compose.postgres.yml removed

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @jalbinson @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean

Invite devops to this ticket - @JFU-NAVA-PBC please update

This file is used as part of our deployment pipeline, I do not think it can be removed

From Dev Ops: We are using that file as part of our pipeline, both for sonar and the built's tests


Show hide feature

'show()' / 'hide()' methods and 'visible' argument of init() has been implemented for all UIElements and UIContainer.
I also implemented several tests and wrote some docstrings.

Amazing!
Huge thanks for the giant contribution. I'll merge this into master and see about adding a button somewhere in the general UI example project that toggles show and hide on and off.


Return isn't lexical enough in quasi quotes

This has a nice error message:
$ perl6 bin/007 -e='return 42'
Attempt to return outside of any Routine
[...]

But look at this, that's internals leaking through:
$ perl6 bin/007 -e='macro m() { return quasi { return 42 } }; m()'
Variable '--RETURN-TO--' is not declared
[...]

Eew.
In fact, this is simply because the "Attempt..." error is a parse error, and that second return is inside of a macro... hm. We do have a similar throw in Runtime.pm, but maybe it's not triggered anymore.

[ ] investigate this

But the real problem is this:
$ perl6 bin/007 -e='macro m() { return quasi { return 42 } }; sub foo() { say("A"); m(); say("B") }; foo()'
A

See? It returns from foo(), a routine it has no business returning from. Very unhygienic. Clearly it should be returning from the macro m, and we should be getting an error very much like this:
Routine already returned

In short, return should bind lexically to its surrounding routine, even if it's in a quasi. Just like variables do.

[ ] fix this

wait, what? why should it return from the macro? if I want to quasi a return, what's the issue?

why should it return from the macro? if I want to quasi a return, what's the issue?

return lexically binds to its surrounding routine. Subs and macros are routines. Ifs and whiles and immediate blocks and BEGIN blocks and quasis are blocks, but they're not routines. As such, they are "transparent" to return.
If you want to return from a routine in your compiling context (the mainline), then we could support that, but that should probably be spelled COMPILING::return.

please no. That's mixing exactly the same level of things as my $a = 4; quasi { $a }, and it's only more confusing to everyone.

please no. That's mixing exactly the same level of things as my $a = 4; quasi { $a }, and it's only more confusing to everyone.

I'll be honest and say that I don't think that bit is going to change unless a significantly more attractive and consistent counter-proposal materializes.

proposal: leave the separated levels separated. don't eval quasi-level code at the macro-level (or opposite)

proposal: leave the separated levels separated. don't eval quasi-level code at the macro-level (or opposite)

There's only three possible outer contexts it makes sense for a quasi block to have:

The one it's in, lexically
The one it'll end up spliced in
The built-ins

The first one is the current proposed semantics, for Perl 6 and for 007. Among the three, I do find it the most useful and least confusing one, in that it works like all other blocks/lookup in the language.
The second one is easier to implement, but means that un-hygiene is the default. I'm all for allowing un-hygiene, but I don't think it should be the default.
The third one I haven't considered, but I don't really see an advantage to it. It feels strictly less powerful than either of the other two.
I confess to not relating well to your phrase "don't eval quasi-level code at the macro-level". (To me it's just scoping as usual.) Maybe that means I misunderstood; if so, please feel free to clarify.

I don't think return counts as "un-hygiene", FWIW, Hygiene is largely regarded as only being about name clashes. if you want to prevent returns from being inserted as unhygienic, do you also want to prevent throws?

I think implicit in my points is that in Perl 6, return is lexical. (Or, more exactly, lexotic.)
In other words, the relation between return and its surrounding sub is not all that different to the relation between variable use and that variable's declaration. They're both predictable because they're static, dependent only on lexical program structure.
To answer your semi-hypothetical question, die semantics does not fit into this thinking, because the "declare" end of that is an in-general-unknowable catch clause up the CALLER chain. In other words, die sets up a dynamic communication with its catch where return sets up a lexical one with its sub.

Putting it a third way, I consider this issue to be a special case of #47.


python3Packages.flux-led: 0.27.13 -> 0.27.17

Motivation for this change
https://github.com/Danielhiversen/flux_led/releases/tag/0.27.17
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 152280 run on x86_64-linux 1

2 packages built:

python38Packages.flux-led
python39Packages.flux-led


Werid radiation readings

I've been testing the firmware for a day, and something is wrong. When the device is booted, everything seems to be good. But after a minute or two, the readings raise from 0,2uSv/h to 100-200uSv/h. And no, I'm not in the vicinity of Chernobyl. :] When I covered the left side of the GC-01 counter with my hand, the readings dropped to normal. When I uncovered it, the device seemed to work fine for a while, and after a minute or two it started to show 100-200uSv/h again. Does anyone have a similar issue?

A picture of the inside might make it easier to tell what's going on. What tube does it have? If the seller replaced it with a cheaper one, which is what most sellers do, unless you bought it from F-NIRSI directly, they might not have bothered to change the voltage level to something appropriate for that tube. You need to set the proper conversion factor as well (but it's not going to solve the spiking).

the first GC01 I purchased did similar, it showed readings that would mean that my entire town would be cooked within minutes (over 300 uSv/h). i returned it.
second one works perfectly.
If it did work before the firmware upgrade check that:

you have selected the correct tube in the settings
you use the correct firmware for your CPU - try a reflash back to 1.6 and back again
if above is all ok, make/buy a high voltage probe and check the tube voltage - if it's too high you can either solder on a reducing resistor or create a new profile to reduce the voltage - there's a recent discussion on how to do this.

It's directly from F-NIRSI and with the stock firmware it was working well for over a year. With radpro it was also working well for a few hours, but suddenly it started to acct weird.
Here are the photo: https://imgur.com/a/IthGvlL

Stock firmware at https://github.com/Gissio/radpro/tree/main/docs/devices/FNIRSI GC-01/firmware
Your tube voltage is way too low. Should be between 360 and 440 Volts.

The stock firmware acts the same. So apparently something is wrong with the device.

Since you report the original firmware presents the same issue, I doubt the issue is related to Rad Pro.


Fix publishing a userless workflow

Description
When creating a new userless workflow (bioworkflow, notebook, service) that the .dockstore.yml specifies should be published, an error would occur logging the event.
Review Instructions
See instructions for #5976, but also add a publish: true to the .dockstore.yml
Issue
SEAB-5994, in particular this comment.
Security and Privacy
If there are any concerns that require extra attention from the security team, highlight them here and check the box when complete.

[x] Security and Privacy assessed

e.g. Does this change...

Any user data we collect, or data location?
Access control, authentication or authorization?
Encryption features?

Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Lots of new Optional.of(user) expressions. If we haven't already confirmed that user can't be null for any of them (if user is null it will trigger an exception), would recommend running this PR through the "Review Instructions" before merging, in the hope that we'd find said problem earlier...

Did another pass and I think I have all. I suppose we could just Optional.ofNullable everywhere, but as we were discussing, it impacts readability, IMO. I'll reassign the ticket to you, Steve, for review next sprint.


not working with storybook

I don't know if this is normal or it doesn't have support for storybook, in the test of the components ~/ worked but in the storybook it didn't work is this normal or am I doing something wrong or a bug?

eslint

.babelrc

tsconfig.json

jsconfig.json

"dependencies": {
"@types/next": "^9.0.0",
"next": "12.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.3.0",
"react-syntax-highlighter": "^15.5.0",
"remark-gfm": "^3.0.1",
"styled-components": "^5.3.5",
"typescript": "^4.8.3",
"vercel": "^28.4.2"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/plugin-syntax-jsx": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-webpack5": "^6.5.12",
"@storybook/manager-webpack5": "^6.5.12",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@styled-icons/material-outlined": "^10.34.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^28.1.8",
"@types/node": "^16.11.56",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-syntax-highlighter": "^15.5.5",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"babel-loader": "^8.2.5",
"babel-plugin-root-import": "^6.6.0",
"eslint": "8.23.1",
"eslint-config-next": "12.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-babel-plugin-root-import": "^1.1.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-storybook": "^0.6.4",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"jest-styled-components": "^7.1.0",
"jsdom": "^20.0.0",
"plop": "^3.1.1",
"prettier": "^2.5.1",
"prop-types": "^15.8.1"
}
}

@BrianRonin Do you ever resolve this out of curiousity?


Then

Song Name
Booyah
Artist Name
Showtek ft. We Are Loud & Sonny Wilson
Source
Youtube
Youtube Link
https://youtu.be/tbH3uTkIcD8?si=hv996qGpEscVp_bL
Direct File Link
No response
Song ID
181612
Start Offset [ms]
No response
Extra
Booyah

Accept
El lun., 14 de octubre de 2024 8:30 a. m., auto-nong[bot] <
@.***> escribió:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "Booyah",
"artist": "Showtek ft. We Are Loud & Sonny Wilson",
"source": "youtube",
"startOffset": 0,
"yt-id": "tbH3uTkIcD8",
"songs": [
181612
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/5040#issuecomment-2411281762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMBWWUFDK7EECIZB4FOQW4DZ3PBPPAVCNFSM6AAAAABP5AP4FCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJRGI4DCNZWGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, I am working on it.
El lun., 28 de octubre de 2024 9:36 p. m., github-actions[bot] <
@.***> escribió:

This submission is stale because it has been open for 14 days with no
activity. If it is still relevant, please leave a comment and we will
reopen it.
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/5040#issuecomment-2443045106,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BMBWWUC2SJ4SNAPSWLN7NKDZ53YBRAVCNFSM6AAAAABP5AP4FCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBTGA2DKMJQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


#150 Add .NET 8 support to samples projects

Setting Blazor.Shared project target framework to .net8

Setting Blazor.Client project target framework to .net8

Setting Blazor.Server project target framework to .net8

Setting AuthGettingStarted project target framework to .net8

Setting AuthorizationAndCleanArchitecture project target framework to .net8

Setting AuthorizationGettingStarted project target framework to .net8

Updating samples nuget packages to latest version

Please take a look at: samples/Directory.Build.props it has net6

We also need to update pipeline, because right now it fails because of deprecated github action 🙈