Compatibility with Fisherman?

How do I get tmux-zen to work with Fisherman? Doesn't work out of the box.
Oh-My-Fish project was served with a DMCA notice.

At the moment, Fisherman is not supported.
The DMCA against Oh My Fish! is a temporary miscommunication and should be fixed in a few days.

Sorry to jump in @coderstephen, but @ewilliam I already explained the reasons why it does not work. This plugin is too coupled with Oh My Fish! as it uses its internal variables.

Actually, it is likely possible to adapt tmux-zen to work with other frameworks, though I don't have the time to do it myself right now. All that is required is the ability to run some code when the shell first starts in some sort of init script; see init.fish.
@bucaran Where does this plugin use Oh My Fish! internal variables? git grep OMF_ gives me nothing.

@coderstephen I miss-quoted myself, this plugin is fine, the issue is that it uses config which is the one that is coupled with OMF_ variables.

@bucaran Ah, yes that is correct. However, the only variable being used is $OMF_CONFIG, which is a path simply being used as a storage location to keep config files. It would likely be trivial to improve that setting to use a configurable location.
If you're interested in making the config plugin more compatible with other frameworks, I recommend that you also open an issue on that plugin here.

It would likely be trivial to improve that setting to use a configurable location.

Definitely. You can use XDG_CONFIG_HOME/<plugin-name>/<key and value>.

I recommend that you also open an issue on that plugin here.

Funny.

This has now been fixed in the latest version of config, which uses the $FISH_CONFIG directory that defaults first to $OMF_CONFIG, then $XDG_CONFIG_HOME, and finally to $HOME/.config.


please remove confidential info from log

This line will log secret id and secret key.https://github.com/imroc/cert-manager-webhook-dnspod/blob/9d6f1593ec1cb694ffdc47fa14d726c9889d2acf/main.go#L124
could you please remove it?

fixed by @imroc


fix 1.48.x version and move 1.49.x in August month

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66b471b6edc751a5f7915fd5--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66b4739e9cf946b56f04d92c--harness-developer.netlify.app


Add documentation for the catalog resource

Address https://github.com/NuGet/NuGetGallery/issues/4913
This depends on the V3 API docs PR and must go in after that.
/cc @emgarten @xavierdecoster

@joelverhagen,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/API/_data/catalog-index.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-delete.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-details.json
:white_check_mark:Succeeded

docs/API/_data/catalog-page.json
:white_check_mark:Succeeded

docs/API/catalog-resource.md
:white_check_mark:Succeeded

docs/API/overview.md
:white_check_mark:Succeeded

docs/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/API/_data/catalog-index.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-delete.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-details.json
:white_check_mark:Succeeded

docs/API/_data/catalog-page.json
:white_check_mark:Succeeded

docs/API/catalog-resource.md
:white_check_mark:Succeeded

docs/API/overview.md
:white_check_mark:Succeeded

docs/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/API/_data/catalog-index.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-delete.json
:white_check_mark:Succeeded

docs/API/_data/catalog-package-details.json
:white_check_mark:Succeeded

docs/API/_data/catalog-page.json
:white_check_mark:Succeeded

docs/API/catalog-resource.md
:white_check_mark:Succeeded

docs/API/overview.md
:white_check_mark:Succeeded

docs/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Error 500 using bot emulator v3.5.25 on localhost

Hi, I've downloaded bot emulator v3.5.25 and connect the emulator to http://localhost:3979/api/messages to test the bot.
When testing the bot using the emulator on localhost (in Visual Studio F5 mode), I keep getting error 500 with the following details:
"message": "An error has occurred.",
"exceptionMessage": "Could not find any recognizable digits.",
"exceptionType": "System.FormatException"
Anyone else having the same issue?

This is a callstack from your bot. It appears to be failing to parse a GUID. You should be able to catch it in your code. Perhaps set a breakpoint here:


fix(coral): Fix flash of stale content on TopicOverview

What the problem is
isLoading only is true on first load, not on refetch. Therefore, when navigating through different topics, we have a flash of stale content showing :
https://github.com/aiven/klaw/assets/20607294/ea09e0ef-1a53-4c1b-9694-4c0e21e6c161
What the fix is
Use isFetching, which will be true on first load and subsequent fetches. This flashes the loader, which is more appropriate.
https://github.com/aiven/klaw/assets/20607294/9a3e18fc-84f1-461e-b9d2-de1b52deab8e
Follow up
Probably would be even more graceful after implementing this: https://github.com/aiven/klaw/issues/1296

Ah, I didn't noticed that happened, great catch!
Instead of adding isRefetching (which will also introduce the loading spinner flashing for changing environment again), we have to add topicName to the query key:
["topic-overview", topicName, environmentId]
That way, this query key is unique for the topicName
So fetching topic-a is querykey-topic-a  and will show isLoading for topic-a.
Fetching topic-b will not use the cached data from topic-a now, because it has a different query key and therefor will return isLoading  for this call for the first time like expected.


Config + Code Examples in Readme

Hi @Sec-ant , thanks for the great Prettier plugin!
Would be great to see a few complete config examples like the config code examples in comments in https://github.com/Sec-ant/prettier-plugin-embed/issues/16
Either:
A) full interactive examples (eg. CodeSandbox) or "recipes"
B) including configuration and code as in below
prettier.config.js
/** @type {import('prettier').Config} */
const prettierConfig = {
  plugins: ['prettier-plugin-embed', 'prettier-plugin-sql'],
};

/** @type {import('prettier-plugin-embed').PrettierPluginEmbedOptions} */
const prettierPluginEmbedConfig = {
  embeddedSqlIdentifiers: ['sql'],
}

/** @type {import('prettier-plugin-sql').SqlBaseOptions} */
const prettierPluginSqlConfig = {
  language: 'postgresql',
  keywordCase: 'upper',
}

const config = {
  ...prettierConfig,
  ...prettierPluginEmbedConfig,
  ...prettierPluginSqlConfig,
};

export default config;

index.ts (before)
const animals = await sql`
      SELECT
*
                       FROM
       animals
`;

index.ts (after)
const animals = await sql`
  SELECT
    *
  FROM
    animals
`;

If there are any further dependencies for prettier-plugin-sql such as @xml-tools/parser, as mentioned in my bug report about the plugin crash below, then maybe that would also be a good thing to add to the documentation.

https://github.com/Sec-ant/prettier-plugin-embed/issues/21


GUI cleanup

[ ] Remove .ui file? - code everything manually

Based on preview conversations:

We should keep .ui approach as it is standard in the Slicer community
rqt is still something to investigate though it seems it is mostly a Python based library - this needs to be investigated further

Current GUI assumes there's only one ROS 2 node in the module but we now support multiple ones.  We need to make some decisions re. how many nodes/tfbuffers should be added by default to the module's logic.


Use document_type and schema_name

The format field is deprecated and should not be used anymore.
Includes some new schema testing for the taxons.

👍 getting too stale to not merge


ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

I am having trouble running a python script on a computing cluster and the problem is reproduced when I run my job on slurm:
I get the error

2020-07-17 19:30:57.289439: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-07-17 19:30:57.289506: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    from acme.agents.tf import dqn
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/agents/tf/dqn/__init__.py", line 18, in <module>
    from acme.agents.tf.dqn.agent import DQN
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/agents/tf/dqn/agent.py", line 20, in <module>
    from acme import datasets
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/datasets/__init__.py", line 17, in <module>
    from acme.datasets.reverb import make_reverb_dataset
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/datasets/reverb.py", line 22, in <module>
    from acme.adders import reverb as adders
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/adders/reverb/__init__.py", line 21, in <module>
    from acme.adders.reverb.base import DEFAULT_PRIORITY_TABLE
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/acme/adders/reverb/base.py", line 26, in <module>
    import reverb
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/reverb/__init__.py", line 27, in <module>
    from reverb import item_selectors as selectors
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/reverb/item_selectors.py", line 19, in <module>
    from reverb import pybind
  File "/home/armas/temp/dist_rl/lib/python3.7/site-packages/reverb/pybind.py", line 1, in <module>
    import tensorflow as _tf; from .libpybind import *; del _tf
ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

On my local machine, I was struggling with same issue when I was running a virtual environment, I solved this problem simply with sudo apt-get install libpython3.7.
Here's some other things that may be helpful to know.
$which libpython
/usr/bin/which: no libpython in (/home/armas/temp/dist_rl/bin:/om2/user/armas/anaconda/bin:/om2/user/armas/anaconda/condabin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)

$echo $PATH
/home/armas/temp/dist_rl/bin:/om2/user/armas/anaconda/bin:/om2/user/armas/anaconda/condabin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin

If there's anything I missed please let me know and I'll be sure to add, thank you again!

Hello! Try export LD_LIBRARY_PATH=/path/to/libpython/directory before executing your python script. If you are using Conda, the path should be /path/to/conda/envs/your_env/lib.

@Juze1500 Thank you! I had done that many times before and it didn't work out. Turns out I had installed an outdated python version for my anaconda environment. After getting that figured out I got the same problem but changing my LD_LIBRARY_PATH variable fixed it. Appreciate the help man!

Hello! Try export LD_LIBRARY_PATH=/path/to/libpython/directory before executing your python script. If you are using Conda, the path should be /path/to/conda/envs/your_env/lib.

This worked for me. Thanks!

Recommend putting the export LD_LIBRARY_PATH=.. into $CONDA_PREFIX/etc/conda/activate.d/env.sh, so that this environment variable set whenever the conda environment is activated.
You can do this with a one line command:
echo "export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:\$LD_LIBRARY_PATH" > $CONDA_PREFIX/etc/conda/activate.d/env.sh

@wookayin do you know how this same principle could be used to remove $CONDA_PREFIX/lib from LD_LIBRARY_PATH if the environment is deactivated? Or if you are using the base conda environment?
Thanks!

For anyone looking how to deactivate what I did is posted here: https://github.com/opensim-org/opensim-core/issues/2968#issuecomment-1008208138
I still am not sure if there is anything that can be done to add/remove from path when the base conda is used.

Hello! Try export LD_LIBRARY_PATH=/path/to/libpython/directory before executing your python script. If you are using Conda, the path should be /path/to/conda/envs/your_env/lib.

thanks, it helps me!


Fix indent of example (denoland#777)

↓

using replace

another solution
https://github.com/denoland/deno_website2/pull/795

thanks - i fixed this in another way tho https://github.com/denoland/deno_website2/commit/e762d14d5c5bcc2beaa045467833d3f05ef916e4


Medperf doc: tutorial sticky images

Which image should be shown right now
Changed the logic how to calculate current sticky image for the tutorial. Instead of supporting a separate dict or anchoring onto header content, we just add a necessary images in the original .md files in the proper places. In MKdocs, these images are hidden (width: 0; height:0) and we just check which image is upper then threshold border (300px from top) to take its src for stickyImageElement.
images are stored in the same repo now
In particular, moving images definition to .md makes MKDocs to serve them; so we don't need a hardcoded absolute paths.
Sticky image is responsive now
Modified css styles a bit. Now instead of fixing image position & resolution, we use the whole power of css & mkdocs responsiveness. Image is hidden when there is too much space for it; it takes 35% of content area; no overlaps, no layout breaks, stable behavior on different zooms & page sizes.

Works properly here as well, believe it's all ok. Really appreciate the help @VukW, I'm not that comfortable with CSS, wouldn't have had the idea to add the images at their place, hiding and recovering only the src to use. It was really nice to see your solution. Thanks again!

Great, thanks :)
If it's ok for you, lets merge it. So we may discuss the fate of the main PR in it's link


Upgrade Build Tools

This PR hopes to incorporate gulp, eslint, and whatever else is necessary without breaking the current branch.
gulpfile.js currently has:

gulp watch -- the build works but the watch doesn't.  I like this method, but I couldn't get a basic build to work with it yet.
gulp build -- a method for building abstracted from a blog.  Also not working yet, but close.

To-do:

[ ] Find a working basic build for React/Browserify/Gulp
[ ] Get sass/eslint/minify working

This'll have to happen on a later day when I need it more, if that day even comes.  Otherwise, it's just over-engineering a simple task.


🚧 Dev ➾ Use pure-ipfs-only-hash instead of ipfs-only-hash

🔗 Epic|Feature Link
No response
🚥 Definition of Done

[ ] 🎯 Planning and Design
[ ] 🏎 Dev Implementation Complete
[ ] ♾ PR Merged
[ ] 🏆 Product Acceptance

🧰 Work Description
The ipfs pinata plugin uses the ipfs-only-hash library, which uses deprecated dependencies.
✅ To Do

Switch to pure-ipfs-only-hash or some other library which is well maintained

⚖ Acceptance Criteria

All tests must pass

🔭 Scope
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Using the helix package which seems to be the official IPFS client for NodeJS


Missing Node info when saving to Milvus

Hi Community, I think there is a bug on missing save the node info when trying save to milvus database. When the database try to save text, it called the node.get_text(). This only includes the node.extra_info not the node_info so when you try to query it and recompose it as the node, the node info is missing. Also want to know what is a better way to fix it(Putting the text and extra_info together does not like a good implementation since it is hard to separate when query it).

This should be fixed in the latest version of llama-index, since we can load/serialize the entire node now. Feel free to reopen or reach out on discord with more questions!


Status of DriftFX integration

Hi,
I just tried how far I could get with the new DriftFX integration using the nightly build via Maven on my MacBook Pro Retina macOS 10.14.6. As an example I used the application HelloDriftFX from the demos.
I first tried it with OpenJDK 11 and OpenJFX 13.0.1. That compiled but failed at run-time. I then tried it with Oracle JDK 8 (built-in JavaFX) and the example worked, giving me roughly 3000 FPS on my old MacBook (from 2012) but Java crashes unexpectedly each time when I try to terminate the application via ESC.
To my knowledge OpenJDK 11 cannot work because you would have to build DriftFX from the specific Java 11 branch, which seems to be a little bit outdated too. Do you have any plans to support OpenJDK 11?
The crash when terminating on Java 8 is not nice. Is this a known bug or can anything be done against it? The line libc++abi.dylib: Pure virtual function called! is in red, so I assume it is an error.
GLContext name: drift-3/surface1-4
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce GT 650M OpenGL Engine
GL_VERSION: 4.1 NVIDIA-12.0.24 3<IP_ADDRESS>.10.103
1800 fps
3273 fps
2682 fps
3037 fps
3310 fps
3245 fps
3225 fps
3051 fps
3062 fps
2772 fps
2926 fps
3138 fps
3106 fps
2905 fps
2402 fps
libc++abi.dylib: Pure virtual function called!
[C] [ INFO] TransferModeManager.cpp: 87 - RegisterTransferMode Registering TransferMode Instance 'IOSurface' as 0
[C] [ INFO] TransferModeManager.cpp: 87 - RegisterTransferMode Registering TransferMode Instance 'MainMemory' as 1
[C] [ INFO] TransferModeManager.cpp: 87 - RegisterTransferMode Registering TransferMode Instance 'NoOp' as 2
[C] [ INFO] Configuration.cpp: 59 - Initialize Loaded native driftfx configuration:
[C] [ INFO] Configuration.cpp: 60 - Initialize debug = 0
[C] [ INFO] Configuration.cpp: 61 - Initialize logLevel = 1
[C] [ INFO] Configuration.cpp: 62 - Initialize useWinFallback = 0

Hey @mipastgt,
I've made a comment about the current status of the DriftFX bindings here. Indeed, only JavaFX 8 is supported and there are obvious stability/performance issues. These issues must be resolved upstream, so please report your findings to efxclipse-drift.

I did that. See https://github.com/eclipse-efx/efxclipse-drift/issues/17

DriftFX has been updated in LWJGL and now supports JavaFX 11 (as well as JavaFX 8, via the multi-release JAR functionality). However, the current implementation is still slow, outputs random stuff on stdout and crashes for me on OpenJFX 11.
I'm now waiting for the 2.x version mentioned in the above issue.

Hope to support Java15

Hope to support Java15


Run analyzer against Flutter examples so we remember to update them

We should analyze the following first-party sample Flutter apps with Flutter's Travis to make sure they're up-to-date when Flutter APIs change.
example/flutter_example in http://github.com/dart-lang/usage/
all steps in http://github.com/flutter/firechat-flutter
https://github.com/flutter/game

@Hixie

Might also be aided by us having a flutter travis template: https://github.com/flutter/flutter/issues/2267, presumably one which tracks head.

Triage: closing because this is too old.


iPhone SE & Smaller Android Devices: Seed Validation, Button is Off Screen

Can be reproduced using iOS Simulator or an Android device with a smaller screen.

We are unsure how to fix it. Should button we fixed on the screen bottom or we should collapse content somehow?

this will be fixed when #550 is fixed/closed.


Problem with integration testing

Hi,
I started implementing API for Network - I created few unit tests and everything was working quite good but when I started working on integration tests I'm getting 'not implemented' exception when I'm trying to create new network:
(integration) root@lxd-test:/opt/pylxd# python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylxd import Client
>>> c = Client()
>>> c.networks.all()
[<pylxd.models.network.Network object at 0x7f49fa1e8840>, <pylxd.models.network.Network object at 0x7f49fa1e88b8>, <pylxd.models.network.Network object at 0x7f49fa1e8930>]
>>> c.networks.create(name='test')
<pylxd.client._APINode object at 0x7f49fa5454a8>
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/pylxd/pylxd/models/network.py", line 67, in create
    client.api.networks.post(json=network)
  File "/opt/pylxd/pylxd/client.py", line 157, in post
    self._assert_response(response, allowed_status_codes=(200, 201, 202))
  File "/opt/pylxd/pylxd/client.py", line 104, in _assert_response
    raise exceptions.LXDAPIException(response)
pylxd.exceptions.LXDAPIException: not implemented

But when I run the same code on my local machine (not in container) everything is working correctly:
$ python3
Python 3.6.5rc1 (default, Mar 14 2018, 06:54:23)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylxd import Client
>>> c = Client()
>>> net = c.networks.create(name='test')
<pylxd.client._APINode object at 0x7fd87d76ee48>
/home/ppkt/workspace/pylxd/pylxd/models/_model.py:116: UserWarning: Attempted to set unknown attribute "status" on instance of "Network"
  key, self.__class__.__name__
/home/ppkt/workspace/pylxd/pylxd/models/_model.py:116: UserWarning: Attempted to set unknown attribute "locations" on instance of "Network"
  key, self.__class__.__name__
>>> net.marshall()
{'name': 'test', 'description': '', 'type': 'bridge', 'config': {'ipv4.address': '<IP_ADDRESS>/24', 'ipv4.nat': 'true', 'ipv6.address': 'fd42:b17:be25:6bdf::1/64', 'ipv6.nat': 'true'}, 'managed': True}
>>> net.delete()
>>> c.networks.get('test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ppkt/workspace/pylxd/pylxd/models/network.py", line 38, in get
    response = client.api.networks[name].get()
  File "/home/ppkt/workspace/pylxd/pylxd/client.py", line 148, in get
    is_api=is_api)
  File "/home/ppkt/workspace/pylxd/pylxd/client.py", line 103, in _assert_response
    raise exceptions.NotFound(response)
pylxd.exceptions.NotFound: not found
>>>

I also ran grep on container to check where this exception is raised but also without success:
root@lxd-test:/opt/pylxd/pylxd# grep -R 'not implemented'
deprecated/profiles.py:        '''Update the LXD profile (not implemented)'''
models/storage_pool.py:        raise NotImplementedError('save is not implemented')
models/storage_pool.py:        raise NotImplementedError('delete is not implemented')
Binary file models/__pycache__/storage_pool.cpython-35.pyc matches
tests/models/test_network.py:        """delete is not implemented in networks."""
tests/models/test_storage.py:        """delete is not implemented in storage_pools."""
tests/models/test_storage.py:        """save is not implemented in storage_pools."""

I guess this bug is quite easy to fix but I couldn't find the solution for a while.

Hi @ppkt, I suspect that that exception is coming from lxd itself. I reckon we could make that clearer in the exception that pylxd raises, so it's clear where it's being generated.  However, to try to help with your issue, could you have a look at the versions of lxc, lxd, and pyxld in the two testing environments?

Thanks for quick responses - yes, it's quite possible - I'm using run_integration_tests script to run tests and apparently in Ubuntu 16.04 there is older version of LXD. I'll check this tomorrow and I'll let you know.

@ajkavanagh @stgraber you were right, on 16.04 LXD is in version 2.0.11. I bumped it to 17.10 and problem disappeared (LXD 2.18). Thank you for your time :)


Fixing code so that it can build

The default path for where the webapps-deploy runs is different from the dotnet publish step, therefore the way it was written, published content could never be found and the deployment stage of the build would fail.

Sample where the modified template is being used and is building/deploying correctly: QrCodeApiApp


whatsie on Wayland

I would like to know when it will be supported on Wayland.
ATM, It uses xwayland which is not a practical solution.

Hi,
I'm on Kubuntu 23.10 using wayland, however there is somehow a huge cpu usage, maybe it will not be the case for you

I dont see CPU spikes like that on x11. We probably need to migrate the app to qt6 in coming days.

I see. Thanks for the info.

Any progress on this? Lack of native Wayland causes fcitx5 to be clunky with WhatSie on Hyprland since it's running under XWayland.
As for CPU spikes, I just noticed a quick spike as I checked on Mission Control - From 0% CPU usage to to 10% and back within a few seconds.


TextPainter line metrics test flaked on Linux

From https://cirrus-ci.com/task/6466421722185728
00:16 +16 ~1 -1: /tmp/flutter sdk/packages/flutter/test/painting/text_painter_test.dart: TextPainter line metrics [E]
  Expected: <false>
    Actual: <true>

  package:test_api                                   expect
  package:flutter_test/src/widget_tester.dart 231:3  expect
  test/painting/text_painter_test.dart 749:5         main.<fn>

It passed on the next PR afterwards

This happened again in https://api.cirrus-ci.com/v1/task/4795481758105600/logs/main.log

cc @GaryQian

Hmm, this test should not be flaky, it is not dependent on anything but the engine LibTxt code, which is performed synchronously and deterministically.
Do you know how frequently the test is flaking?

I've seen it fail twice in a single day

I am unable to repro flakiness locally, Ran over 100 times with zero flakes. I'll continue to keep an eye out for it and will revisit if it becomes a problem.

@jonahwilliams are you still seeing these flakes?

Negative

I have not done anything, but I haven't seen them either. Seems to have gone away by itself.

Going to add the waiting for customer response flag, reply if this is still relevant in near future.

Happened again: https://api.cirrus-ci.com/v1/task/6486989225852928/logs/main.log

And again: https://api.cirrus-ci.com/v1/task/6040160726155264/logs/main.log

Ok, this must be real then, will look when i get a chance

Just ran into this again -- https://api.cirrus-ci.com/v1/task/6244159039471616/logs/test_framework.log

Happened again on LUCI: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8896305037073337408/+/steps/run_test.dart_for_framework_tests_shard/0/stdout

Happened again: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8896249721706362304/+/steps/run_test.dart_for_framework_tests_shard/0/stdout

Yeah this flake is definitely real. Still unable to repro locally.

Looks like it does reproduce on cirrus? Maybe push a PR with a bunch of extra logging up and see if you can reproduce it there and figure out why it's happening?

Experiment PR: https://github.com/flutter/engine/pull/13966

Happened twice in a row on Cirrus here: https://cirrus-ci.com/task/4548185002868736

Here in a pre-submit check: https://cirrus-ci.com/task/4616674262646784

So it looks like it doesn't happen on Engine presubmit runs of framework tests. I'll see if I can come up with a way to repro it in the Framework presubmit or locally.

Attempting a similar process but on the framework side: https://github.com/flutter/flutter/pull/46213

Happened again: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8894507654043620080/+/steps/run_test.dart_for_framework_tests_shard/0/stdout

Happened again on cirrus: https://cirrus-ci.com/task/5038874639728640

Is there a way to mark a flutter test as flaky? I don't want this to block/slow people but reproing reliably it is very difficult. I'm currently rerunning a PR with logging on Cirrus.

Negatory. Would it be possible to amend the test to dump all of the info you need to debug on a failure? It would still block people but you might get your feedback more quickly

Or, as a last resort you could skip on linux

Let's not skip, as this could be indicative of a real bug affecting users.

@GaryQian Where you able to figure anything out here by any chance?

not yet. I'll go ahead an "prescreen" the test for the failing result, and dump data as Jonah suggested. The flake still seems too rare to just keep hitting rerun on my flake-detection PR.

https://github.com/flutter/flutter/pull/46213 should now be landed, and any flakes that happen in the wild will log the metrics reported. Not sure what other information is useful at this point as it is unclear what is causing.
Looking for review :)

From a recent failure:
LineMetrics called: 4
0: true
23605080: true
23605080: true
23605080: true

04:03 +2237 ~3 -1: /tmp/flutter sdk/packages/flutter/test/painting/text_painter_test.dart: TextPainter line metrics [E]
  Expected: <false>
    Actual: <true>

  package:test_api                                   expect
  package:flutter_test/src/widget_tester.dart 348:3  expect
  test/painting/text_painter_test.dart 758:5         main.<fn>

What's with those line numbers?

@GaryQian could this be a race between layout and computeLineMetrics?  Are we using the new Skia text shaping stuff, and if so is it doing anything multi-threaded?

Thanks for finding that.
Values look too small to be overflow, maybe something with the way we encode it? It's a good place to start looking at least.
This is still totally from LibTxt and is done on the same thread.

again: https://cirrus-ci.com/task/5931335038533632?command=main#L1094

seeing it here: https://cirrus-ci.com/task/6339835417853952?command=main#L1286

Here's another one: https://cirrus-ci.com/task/5831446229155840

Once more with feeling: https://cirrus-ci.com/task/6677267694747648

Going to add FML checks to ensure we aren't accidentally calling the linemetrics getter before layout is done, which can cause this strange behavior.

Closing this since the test is disabled now.


Escaped characters do not work in prompts.

Such as in shrug \(clothing\)
(venv) D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger>python bayesian_merger.py --init_points 10 --n_iters 10 --batch_size 10 --model_a "D:\My Stuff\Extra Stuff\stable-diffusion-webui\models\Stable-diffusion\AOM3A2.safetensors" --model_b "D:\My Stuff\Extra Stuff\stable-diffusion-webui\models\Stable-diffusion\7th_anime_v3_C.safetensors" --skip_position_ids 2
Loading aestetic scorer model
Loading CLIP
Traceback (most recent call last):
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\bayesian_merger.py", line 98, in <module>
    main()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\bayesian_merger.py", line 92, in main
    bo = BayesianOptimiser(*args, **kwargs)
  File "<string>", line 14, in __init__
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\sd_webui_bayesian_merger\optimiser.py", line 49, in __post_init__
    self.prompter = Prompter(self.payloads_dir, self.wildcards_dir)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\sd_webui_bayesian_merger\prompter.py", line 83, in __init__
    self.load_payloads()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\sd_webui_bayesian_merger\prompter.py", line 102, in load_payloads
    raw_payload = load_yaml(payload["path"])
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\sd_webui_bayesian_merger\prompter.py", line 45, in load_yaml
    return yaml.safe_load(f)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\__init__.py", line 81, in load
    return loader.get_single_data()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\composer.py", line 64, in compose_node
    if self.check_event(AliasEvent):
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\parser.py", line 98, in check_event
    self.current_event = self.state()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\parser.py", line 449, in parse_block_mapping_value
    if not self.check_token(KeyToken, ValueToken, BlockEndToken):
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 116, in check_token
    self.fetch_more_tokens()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 251, in fetch_more_tokens
    return self.fetch_double()
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 655, in fetch_double
    self.fetch_flow_scalar(style='"')
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 666, in fetch_flow_scalar
    self.tokens.append(self.scan_flow_scalar(style))
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 1152, in scan_flow_scalar
    chunks.extend(self.scan_flow_scalar_non_spaces(double, start_mark))
  File "D:\My Stuff\Extra Stuff\stable-diffusion-webui\venv\lib\site-packages\yaml\scanner.py", line 1223, in scan_flow_scalar_non_spaces
    raise ScannerError("while scanning a double-quoted scalar", start_mark,
yaml.scanner.ScannerError: while scanning a double-quoted scalar
  in "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\payloads\aki_rosenthal.yaml", line 1, column 9
found unknown escape character '('
  in "D:\My Stuff\Extra Stuff\stable-diffusion-webui\extensions\sd-webui-bayesian-merger\payloads\aki_rosenthal.yaml", line 1, column 276

interesting...
what's the purpose of escaping brackets?

Certain tags have parentheses to differentiate from others with the same name. Perhaps to indicate it as a clothing item shrug \(clothing\) or for different variants artoria_pendragon_(fate) artoria_pendragon_(lancer)_(fate) artoria_pendragon_(lancer_alter)_(fate)
Escaping these parenthesis ensure that they don't get read as prompt weighting, so artoria_pendragon_(fate) doesn't become artoria_pendragon, (fate)

I see, thanks for explaining, I wasn’t aware of it
it may be because of the yaml library I’m using, I’ll do some tests to fix this

Maybe doing shrug \\(clothing\\) might work? Escape the slashes.

Can confirm escaping the backslashes work.

@CyberLykan
I had a look and \\( something \\) doesn't raise that error
that should render as \( something \) which in turn is parsed as ( something ) by webui literally (not weighting that to 1.1)


:pencil: fix typo in docs

:sunglasses:

good catch! 💪

PR Review Report
according to this guide lines

TL;DR: No code changed. The formatting/spelling checks out.

Understand the problem
The typo can not be solved in a different way.
Check the code
Reproduce the claimed solution

No code to be run.
No need for a local clone.

Tests
Nothing to test.
Documentation
I looked at the linked docs preview and the formatting/spelling checks out.

Great, thanks! :rocket:


Remove support for deprecated Ruby 2.1

See https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended
Also updates Travis to run the latest version of Ruby as well.
See https://travis-ci.org/Fullscreen/squid/builds/272110689

Coverage remained the same at 100.0% when pulling ec095a10bc3c0bd7f8b92e2db7ad65d8a67fc890 on claudiofullscreen:bump-ruby into 496a395471c3548ef4eb9feba308483598d6e525 on Fullscreen:master.


ci: Add apk to release tag

What
Upload the signed apks to created releases
A request from Slack
Only runs for real release-please releases, not for internal releases.
+ Added a check to only run on the official repo, we don't need releases on forks...

@monsieurtanuki @M123-dev a load of tests failing

Seems to not be related and I can't reproduce locally. Lets hope they are gone after merging develop in here

thanks @M123-dev


Calling np.dot with integer arrays

When I used data of all float typed, its working fine.
But in the case of a dataset of all integer data typed, the below error pops.
TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Invalid use of Function(<function dot at 0x7f5a87be81e0>) with argument(s) of type(s): (array(float64, 2d, C), array(int64, 2d, C))

parameterized
In definition 0:
TypingError: np.dot() arguments must all have the same dtype
raised from /usr/local/lib/python3.6/dist-packages/numba/typing/npydecl.py:961
In definition 1:
TypingError: np.dot() arguments must all have the same dtype
raised from /usr/local/lib/python3.6/dist-packages/numba/typing/npydecl.py:961
This error is usually caused by passing an argument of a type that is unsupported by the named function.
[1] During: resolving callee type: Function(<function dot at 0x7f5a87be81e0>)
[2] During: typing of call at /usr/local/lib/python3.6/dist-packages/elpigraph/src/distutils.py (179)

File "../usr/local/lib/python3.6/dist-packages/elpigraph/src/distutils.py", line 179:
def euclidean_distance_square_numba(x1, x2):
distances =  np.sqrt(-2 * np.dot(x1, x2.T) + np.expand_dims(sum_squares_2d_array_along_axis1(x1), axis=1) + sum_squares_2d_array_along_axis1(x2))
^

Thanks for the report. Numba only supports floating point arrays (float32, float64, complex64, complex128 dtypes) in its np.dot implementation. This is for a couple of reasons 1) Numba hands off the work in np.dot to BLAS routines, these are only available for floating point types 2) due to 1) it's not clear whether to convert integer arrays to float32 or float64, this depends on the use case. The work around is to simple call .astype() on the arrays in the np.dot call to convert them to a floating point type of your choice.

Closing this question as it seems to be resolved. Numba now has a discourse forum https://numba.discourse.group/ which is great for questions like this, please do consider posting there in future :) Thanks!


Forgot Username and Password,How to reset?

I guess you  should either get into database  container (with docker exec) and edit manually the login table, or just destroy/rebuild the shipyard-controller container manually.


Vulnerabilities with npm build on BigSur

Hi, this is a beautiful project! :=)
I was building this project and found 108 vulnerabilities, with 5 labeled as severe. I was wondering if something has been done within Chart JS to prevent these from being exploited.
Regards!

Is this from npm audit?

Yes, that's correct.

I've upgraded dependencies in #9102. Not all of these issues are fixable. The trim dependency is likely difficult to fix according to https://github.com/eslint/eslint-plugin-markdown/issues/186
All of these dependencies come for the build chain, not for the actual library.

Thanks! Yes, I will be trying to reduce the risk. If a good idea comes up, I'll let you know in a PR. Have a good one!


Make a release/tag

Hi there,
It's been a while since the latest release (Feb 2016) and updates have been done since.
To make dependency management easier for applications it would be great if mergo can make a new tag/release for changes.
What do you think?

Sorry for being so late. I'm going to fix several issues so I made a new release (0.2.3) before changing anything: https://github.com/imdario/mergo/releases/tag/0.2.3


ScyllaDB Compatibility

If SquirrelDB works with Apache Cassandra, could you also test for use with ScyllaDB? You can use our shard-aware GoCQL driver and GoCQLX extension:
https://github.com/scylladb/gocql
https://github.com/scylladb/gocqlx
It should be fully compatible. Would love to hear whether it works.

Hello,
it's a good idea to test compatibility with ScyllaDB. We had done some test very early in the project, but since we use LWT transations which were only experimental at that time with stick with Apache Cassandra.
Since it now supported, it should indeed work out-of-the-box. I'll do some test and comment the result in this issue.

Sounds good! one of my colleagues suggested you check this out when the time comes:
https://docs.scylladb.com/kb/lwt-differences/

Closing the issue as I believe the question is answered. Feel free to re-open if you want more information.


APILatency is -1 within first few minutes of bot starting

The title says it all. When running /ping, for APILatency, it will return -1. This only happens within the first few minutes.
Potential Solutions:

Maybe this is a bug with discord. If so, handle this case and inform the user, it cannot return APILatency at this time.
If this is a bug with my program, then figure out what is going wrong to make it return -1.

I leave this issue here on my own repository because I believe that this is a good first issue for beginners. If you'd like to work on this issue, please comment.

Hi, I'd like to work on this issue.


FileNotFoundError: [Errno 2] No such file or directory: 'paper_reading/relation2id.txt

How to fix the error "FileNotFoundError: [Errno 2] No such file or directory: 'paper_reading/relation2id.txt"? Thanks.

Hi @gitfans5  Thank you for your interest in our research. Please follow the instructions to download the paper reading dataset. Feel free to email me if you have any other questions.

Thank you for your reply. But I got a new error "networkx.exception.NetworkXError: Node 13593 in nodelist is not in G". So how to fix it? Thanks.

Can you share your screenshot with me?

NetworkX version not matched

Which version of NetworkX does your package need? Thanks.

@OliveS9 Please check https://github.com/EagleW/PaperRobot#pacakges

The networkx is NetworkX 2.3


Dependabot Github Action Automation

Dependabot updates require code review and repo admin merge.
This could be changed to be approved and merged automatically if tests pass.

@JChrist not sure if I understood what needs to be done here... ? 🤔

@JChrist you mean something like: https://github.com/marketplace/actions/dependabot-auto-merge ?
you sure you want that?

Yes, something along those lines:

Send an approval of the PR
Inform dependabot to merge the PR once checks pass


Chapter 6 examples have core_version_requirement: '>=9'

shouldn't modules' mymodule.yml.info files include
core_version_requirement: '>=9 || >=10'

core_version_requirement: '>=9' is the correct format, since it means 9 and every version above:

To define a module as compatible with all versions of core from 8.7.7 onwards, you may use the notation ">=8". If your module is unaffected by Drupal 8 or Drupal 9 deprecations, this will allow it to continue to be installed on Drupal 10 and later releases without having to update the .info.yml each time.

name: My Module
type: module
core_version_requirement: ">=8"

From New 'core_version_requirement' key in info.yml files for modules, themes and profiles allows Composer semantic version constraints including specifying multiple major versions of core.


fix(dependencies.js): changed the way dep is checking for package.json

fixes #10

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The changes include the Node and some resources

node modules added
and some resource files added for the future deveopment on future updates it will be modified

this is just a starter or step one for the journey of the FULL STACK MERN development


20221113-CMST-submission

Hi, has the submission process changed? This pull request started two weeks ago but not yet been processed. If the evaluation process has changed, could you please inform me of the new procedure?


Allow accessing AudioSessionID, prepare

I'm working on audio effects, and I wanted to add the ability into RNTP (or the downstream consumer), which for android can be done using AudioEffect. The audio effects all expect an AudioSessionID in their constructor (see for example Bass Boost).
ExoPlayer has a getAudioSessionID() method and the Player interface has an event for when the audio session ID is set EVENT_AUDIO_SESSION_ID.
Additionally, as the effects should be setup before playback starts, I've added prepare() to MediaSessionCallback in expectation of being able to utilize this.
I've made this PR against your fork, mainly because this functionality didn't exist before your PR and I believe it is a complementary change.
If you don't agree, feel free to close this PR, of course any comments would be appreciated.
Note: I haven't yet made any corresponding changes to RNTP, but I don't think any are necessary for this change (haven't looked through it fully yet)

I dont have enough native experience to comment:/ and i realized it's probably better to not merge this and rather makes a separate PR, so the devs may have a better chance accepting this one. But good work though! I want to add fxs too

hey @zeyus, I saw event.onPlayerActionTriggeredExternally.collect in RNTP's MusicService.kt now asks to handle MediaSessionCallback.PREPARE. I have no idea what's going on:( Just to let you know, this change in KA would need changes in RNTP and other places too


Custom data filtering is the current component when it is empty

Custom data filtering is the current component when it is empty

I released https://pub.dev/packages/flutter_awesome_select with fixed null safety.
Could you check that everything works for you?

Hi everyone,
I'm really sorry for not maintaining the smart_select package in a long time. It's been a great project, but it's become too difficult for me to maintain, especially since I've been going through a tough time for the past few years.
In its place, I've released a new package called choice. The combination to smart_select and chips_choice with cleaner, more flexible, and composable API for creating inline or prompted choice widgets with single or multiple selection.
I hope you'll check out choice. I think you'll find it to be a great replacement for smart_select.
Thanks for your understanding.


Contribution to "Prototype pollution in Plist"

Updates

Affected products

Hey @mario-canva, do you have a reference to support this change?

Hey @darakian, the PR is a continuation of #129 where has plenty of references and is linked to this PR. You can see this comment from @taladrane where she asked me to tell her once a new version is released. This PR is just about that.
Not sure what other reference do you need?

@mario-canva, my bad and thanks :)
I've added in the fix commit as well as updating the affected versions. Many thanks 👍


tx.input -- viout is actually sequence of previous output

Within the tx.input property, the 'vour' field is actually the sequence of the previous outpoint.
Is there any way to fix?
Thanks,
Matt

@Congyuwang  -- I'm sorry, and don't mean to come off as argumentative or anything, but no, that's not right.  Here's an example "vin" JSON block from a tx on the testnet, but mainnet is the same format:
  "vin": [
    {
      "txid": "8be9aed6e69c8ed996857615e3640d3af94acd20c262909bff0c59fdd5629ee9",
      "vout": 1,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": [
        "3044022050a5d768f88873aaf312976d34f2c58fa1e61c4018155e59df99f3d0939f8f2102207d612a948c700aea34d30cb3cee727f412b9dc48f5269db151538465a32d6e4c01",
        "032c8c3c6e914ea8d28a30c013cedf57ec711e4258405c8947fd06ef1974bee918"
      ],
      "sequence":<PHONE_NUMBER>
    },
    {
      "txid": "494654fc5b1b7a804dd7a6c6639fca6208569bd8961c46ee0027c829c4a0fa9e",
      "vout": 2,
      "scriptSig": {
        "asm": "",
        "hex": ""
      },
      "txinwitness": [
        "3044022002938ac59987cd2cfbc81567f875def9d4701af4a2d92f78a6bd2000b865013d022063234d126632455cfed32ef7c39c956a6db5e37b63ca50b60864d4a0ceb0fc3d01",
        "036efcd037511d066b6536528788fb2175e916ea2d993a7e49bea8fd61da75a527"
      ],
      "sequence":<PHONE_NUMBER>
    }
  ],

Within bitcoin_explorer crate, you have the sequence doubled in both, tx.input.vout and tx.input.sequence.  The sequence variable is fine, and that's correct.
However, tx.input.vout is supposed to be the "vout" field as shown in the above JSON object.  It's basically the "n" field of the previous output or UTXO, and lets you determine exactly which output was spent for that input.
Also, while at it, and change of including that "n" field as tx.output.n?  Example JSON object below:
  "vout": [
    {
      "value": 0.00011000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_DUP OP_HASH160 04b65d8b04b9cf20de22e3368b2432b942fd8cca OP_EQUALVERIFY OP_CHECKSIG",
        "hex": "76a91404b65d8b04b9cf20de22e3368b2432b942fd8cca88ac",
        "address": "mfwsTnsMEMGA1jG4jToX5vLhAdwbi167tN",
        "type": "pubkeyhash"
      }
    }

Then when the above output is spent, the "vout" of the input will be the same as the "n" in the output, in this case 0.
Would there be any chance in fixing these two things?  In exchange, I'll do my part for open source software and shortly (like in a few days) release a create that allows you to scan the blockchain and gather all UTXOs, and place them in a RocksDB.  If you're unwilling to fix them, would you accept a PR from me, or would it be rejected?
Great crate btw though, I love it.
Best,
Matt

I see what you mean. I'm wondering which format are you using (SBlock or SBlock)? the later is a simplified version.

Really sorry to bother you, but I'm blind and Rust docs aren't overly accessible.
Can you give me a quick example of how to grab / translate into fBlock, and subsequence fTransaction?  All I'm doing right now is basically:
for block in db.iter_block::<fBlock>(100000, 101000) {

    for tx in block.txdata {
        // Process the tx
    //}

}

Much appreciated if you by chance have the time.

This is weird, I think especially  directly grabs data from rust-bitcoin crate, even without much modification. I've updated the rust-bitcoin dependency version. Could you try the newer version?

To access the vout / prev_txid of each inputs of each transactions:
for block in db.iter_block::<FBlock>(100000, 101000) {
    for tx in block.txdata {
        let inputs = tx.input;
        for input in inputs {
            let prev_txid = input.previous_output.vout;
            let vout = input.previous_output.vout;
            let script_sig = input.script_sig;
            let sequence = input.sequence;
            let witness = input.witness;
        }
    }
}

Are you using the same loop and accessing the same vout field?


Decouple ModuleTemplates from Channels

Context
Side quest from: https://github.com/kyma-project/lifecycle-manager/issues/1681
It has been requested to decouple ModuleTemplates from channels. ModuleTemplates will always define concrete versions of a module. Those version are created once and never changed. The assignment of these module versions to channels shall happen at a different place.
It is proposed that an additional CR will be introduced that maps a given module version to a channel.
Questions to be clarified:

have 1 CR per module version and channel, or group multiple assignments (or even all) together into one resource?

how does this affect the watch mechanism?
how does this affect the sync to the SKR

does the new CR for channel assignments need to be synced to the SKRs?

likely yes, since Dashboard/CLI need to be able to display available channels, but to be confirmed
can the sync be optimized, e.g., using a dedicated controller insead of the Kyma controller?

note that previously, it has been requested that KLM is the only KCP component that should write into the SKR. Maybe this decision is worth being re-evaluated to increase performance?

does the Key Assumption hold that once a ModuleTemplate is available, this version is installable by the end user?

or do we need a separate mapping to determine which versions are installable directly

Goals: align on above questions so we can feed this back to #1681
Decision
To be proposed
Consequences
To be proposed
Attachments
Given ModuleTemplates like
# ModuleTemplate
apiVersion: operator.kyma-project.io/v1beta2
kind: ModuleTemplate
metadata:
  name: api-gateway-2.3.1
  namespace: kcp-system
spec:
  moduleName: api-gateway
  version: 2.3.1
  ## ...

And Module Status in KymaCR like
# KCP Kyma
apiVersion: operator.kyma-project.io/v1beta2
kind: Kyma
metadata:
  name: default
  namespace: kcp-system
spec:
  channel: regular
status:
  activeChannel: regular
  modules:
  - channel: regular
    fqdn: kyma-project.io/module/api-gateway
    manifest:
      apiVersion: operator.kyma-project.io/v1beta2
      kind: Manifest
      metadata:
        name: 0c979a42-f521-41d8-b5ee-eabbaff6abd1-api-gateway-1209152227
        namespace: kcp-system
    name: api-gateway
    resource:
      apiVersion: operator.kyma-project.io/v1alpha1
      kind: APIGateway
      metadata:
        name: default
        namespace: ""
    state: Ready
    template:
      apiVersion: operator.kyma-project.io/v1beta2
      kind: ModuleTemplate
      metadata:
        generation: 12
        name: api-gateway-regular
        namespace: kcp-system
    version: 2.5.0

And ModuleChannel CR like
# ModuleChannel
apiVersion: operator.kyma-project.io/v1beta2
kind: ModuleChannel
metadata:
  name: api-gateway-regular
  namespace: kcp-system
spec:
  channelName: regular
  moduleName: api-gateway
  moduleVersion: 2.5.0

We could change the watch for ModuleTemplates roughly as follows:
watch(obj) {
  moduleChannel := getModuleChannel(obj)
  kymas := getKymas()

  affectedKymas := getAffectedKymas(kymas, moduleChannel)
  return createReconcileRequestsForObjects(affectedKymas)
}

getAffectedKymas(kymas, moduleChannel) {
  affectedKymas := []
  for kyma := range kymas {
    for statusModule := range kyma.status.modules {
      if statusModule.channel == moduleChannel.channelName {
        affectedKymas.push(kyma)
      }
    }
  }

  return affectedKymas
}

In addition, Kyma reconciliation could be changed so that instead of looking up module templates directly, it must first lookup the ModuleChannel CR, from there determine the module version currently assigned to the channel, and with that fetch the correct module template.

PBs gut feeling in arch round today was to group by module. A full list may be to cumbersome to work with in the module repo.

Context
It has been requested to decouple ModuleTemplates from channels. ModuleTemplates will define specific versions of a module, and these versions will be immutable after creation. The assignment of module versions to channels will be managed via a new CR.
Proposal

CR structure for module-channel assignments

Based on the feedback from the Architecture round (04.09.2024), it’s clear that smaller, more focused CRs are preferred over a single large CR containing all module-channel assignments. This leads to a more modular and manageable solution.
Proposed Option: Use a ChannelAssignment CR

Structure: The ChannelAssignment CR contains a list of version-channel pairs, where each item specifies a module version and its assigned channel.

apiVersion: operator.kyma-project.io/v1beta2
kind: ChannelAssignment
metadata:
  name: Eventing
spec:
  assignments:
    - version: "1.0.0"
      channel: "regular"
    - version: "1.1.0"
      channel: "fast"
    - version: "1.2.0"
      channel: "experimental"

Pros:

Granular control: Each module team can manage its own ChannelAssignment CR, giving them ownership over their module's version-channel assignments.
Cleaner separation: The smaller CRs offer modularity and prevent a single, large CR from becoming a bottleneck.

Cons:

Potential overhead: Managing multiple smaller CRs could add complexity and impact performance, particularly during sync operations.
Syncing to SKRs: Each CR needs to be synced to the SKRs, which could increase the number of resources to monitor.

Syncing ChannelAssignments to SKRs

It is confirmed that Busola (dashboard) and the Kyma CLI need to display available modules and correspdoning channels/versions. Currently, these tools use synced ModuleTemplates to determine available modules, but with the removal of channel from ModuleTemplate.spec, the ChannelAssignments will need to be synced as well to make sure the channels are shown as well.
Possible Approaches:

Option 1: Busola and the CLI could rely solely on ChannelAssignments to show which modules are available, but this would not cover user-installable modules. TBD: Discuss specific usecase, if it is still valid.
Option 2 (Preferred): Continue syncing both ModuleTemplates and ChannelAssignments, ensuring Busola and the CLI have access to complete data (both managed and user-installed modules).

Optimizing the Sync:

The current sync process for ModuleTemplates happens inside the Kyma Controller (check here). Adding ChannelAssignments to this process could slow down the Kyma reconciliation loop.
Proposal: Introduce a dedicated controller for syncing ChannelAssignment CRs and ModuleTemplate CRS to the SKRs, separate from the Kyma Controller. This improves:

Separation of concerns: The Kyma reconciliation loop doesn’t depend on ModuleTemplates or ChannelAssignments, so syncing these resources via a separate controller improves performance.
Focus on syncing: This controller could handle both ModuleTemplates and ChannelAssignments, adding their condition to the Kyma CR while keeping the Kyma reconcile loop efficient. This could leed to raceconditions, when two reconcile loops try to update the same Kyma CR, but this is somehow expected in a K8s application.
Main Reason: Reduces load on the Kyma controller and allows the sync operation to be optimized independently. Separation of concerns

ModuleTemplate installability

Assumption: Once a ModuleTemplate is available, it is installable. However, some modules may need additional checks or conditions before they are installable by the end user.
Proposal: Modify the ChannelAssignment CR to include all installable managed module versions (whether or not they are linked to a specific channel).

The channel field becomes optional for modules that are available but not tied to a specific channel. For example, earlier versions or special cases could be included here without channel assignments.
Potential rename: Consider renaming the CR to something like ModuleVersion, as it would contain both channel-assigned and unassigned versions.

Example:apiVersion: operator.kyma-project.io/v1beta2
kind: ChannelAssignment
metadata:
  name: Eventing
spec:
  assignments:
    - version: "0.1.1"
    - version: "0.1.2"
    - version: "1.0.0"
      channel: "regular"
    - version: "1.1.0"
      channel: "fast"
    - version: "1.2.0"
      channel: "experimental"

This structure allows for flexibility in defining which versions are installable, regardless of their channel assignment.

Thanks for the write up. Only minor comments at this point in time

CR structure for module-channel assignments

should we include the module name also as part of the spec?

ModuleTemplate installability

if plain versions are added, we need to find another name for the CR. Overall no strong opinion, but I think we could also start by allowing to install all versions that have a template. If in the future we find that we need to allow it explicitly, we could either add this explicit info, or think about alternatives like labels/annotations preventing the template to be installed directly and synced to the SKR.

Summary from refinement 2024-09-09:

decision for explicitly listing installable versions postponed

only relevant when supporting installations of specific versions in the future
at that point in time: a) check with module teams if explicit listing is desired, b) check implications on ModuleTemplate sync and other boundary conditions
until then: design the new CR so that it can be extended with the explicit versions list

watch mechanism on channel changes still desired

Proposal:

name: ModuleReleaseMeta

specific enough that it hosts any kind of metadata related to a module release
generic enough to add further info in the future

candidates for extension:

list of versions
deprecation info

apiVersion: operator.kyma-project.io/v1beta2
kind: ModuleReleaseMeta
metadata:
  name: eventing
spec:
  moduleName: eventing
  channels:
  - channel: regular
    version: 1.0.0
  - channel: fast
    version: 1.1.0
  - channel: experimental
    version: 2.0.0
## future
  versions:
  - version: 0.0.9
    deprecationDate: 2024-09-09
    deprecationMessage: v0.0.9 has been deprecated, use a newer version instead
  - version: 1.0.0
  - version: 1.1.0

Follow-Up Issues:

Introducing new CRD: https://github.com/kyma-project/lifecycle-manager/issues/1848
Introduce Logic for new CRD: https://github.com/kyma-project/lifecycle-manager/issues/1849
Adapt watch mechanism: https://github.com/kyma-project/lifecycle-manager/issues/1850
Create SyncResources controller: https://github.com/kyma-project/lifecycle-manager/issues/1851


Generate sample version of data download (in JSON format)

Wire up the "Download JSON" button on Fact-Check Insights to the appropriate full-data query, even though the data is still back-filling.


fix twill dependency for population data download

Changes and Information
See issue https://github.com/DLR-SC/memilio/issues/820.
Twill was fixed to 3.1
Please briefly list the changes made, additional Information and what the Reviewer should look out for:

Merge Request - Guideline Checklist
Please check our git workflow. Use the draft feature if the Pull Request is not yet ready to review.
Checks by code author

[ ] Every addressed issue is linked (use the "Closes #ISSUE" keyword below)
[ ] New code adheres to coding guidelines
[ ] No large data files have been added (files should in sum not exceed 100 KB, avoid PDFs, Word docs, etc.)
[ ] Tests are added for new functionality and a local test run was successful
[ ] Appropriate documentation for new functionality has been added (Doxygen in the code and Markdown files if necessary)
[ ] Proper attention to licenses, especially no new third-party software with conflicting license has been added

Checks by code reviewer(s)

[ ] Corresponding issue(s) is/are linked and addressed
[ ] Code is clean of development artifacts (no deactivated or commented code lines, no debugging printouts, etc.)
[ ] Appropriate unit tests have been added, CI passes and code coverage is acceptable (did not decrease)
[ ] No large data files added in the whole history of commits(files should in sum not exceed 100 KB, avoid PDFs, Word docs, etc.)

please link the issue so it will be automatically merged :-)


Treat broken Serf connection as a fatal condition

I'm unsure why this happens, but catalyst-node can get into a state where it keeps getting timeouts from <IP_ADDRESS>:7373 when it's trying to connect to Serf. While it might be undesirable to crash immediately in such cases, Serf being broken for any meaningful length of time should be treated as a fatal condition and crash the node.

Fixed by https://github.com/livepeer/catalyst/pull/262


[MRESOLVER-369] Introduce update check policy scope

This change introduces new configuration: update check policy scope, that limits where (artifact, metadata, both) the update policy is applied. If update policy is not applied, presence/absence decides instead.
To achieve "old" behaviour (ie. for use in Maven3), the configuration properties should always be set to "all" in session factory.

https://issues.apache.org/jira/browse/MRESOLVER-369

PR is on-hold: testing shows that now when Maven "remembers" that Artifact cannot be downloaded, there is no way to get out of it (-U does not help, as policy is not applied to artifact by default anymore, before it simply went here as -U was "always", and implicitly cleared the error flags as well, so it "fixed" things).
IMO, this stems from the fact that policy ALWAYS was simply misused on Maven side (-U), and instead, "force update" on maven side may mean something else, like:

set update policy to ALWAYS
set cache not found/transfer to false
... (what else?)

MRESOLVER-377 is proper fix


fix Packer URL

Updated packer to latest version 0.8.6
Package downloaded directly from hashicorp instead of bintray.

I've been using this version for some time without issue. If that's a problem I'll submit with existing version 0.8.1 URL.
Resolves issue #5

Awesome! Thanks, Zach.


Add support for styling last accordion item

Following up on Issue https://github.com/petalframework/petal_components/issues/229, here's what I came up with. This takes advantage of the new naming convention to allow for new styles that are intended for the last item only. As described in the issue, the main use case I had in mind when wanting this was rounding the bottom of the accordion to allow for a fully border-radius'd appearance instead of rounded on top and flat on bottom. The problem is that sometimes the bottom of the table is the last accordion button itself and sometimes it's the last accordion item's content box. (Guessing this is why the accordion was made flat on the bottom to begin with)
This PR doesn't explicitly add styles for rounding the table by default, but it adds logic to apply an always on class: pc-accordion-item--last (let me know if you want to make this a different name, I'm slightly concerned about this conflicting with the old name for what is now all-except-last) as well as a conditional class: pc-accordion-item--last--closed, which is only applied when the last accordion item is closed.
This can be used in conjunction with pc-accordion-item__content-container--last to style the bottom of the table to be rounded via style overrides and some rounded-b-lg on them both. I tried my best to follow naming conventions here, and apologies if this is a bit rough around the edges. There's also a small range of frames where this does look a bit janky if you're using the smooth expand from Alpine. I don't think it's too bad, but any ideas on how to get around this would be great.

Thanks for this! Looks great!


Makes crop mask size more accurate (except web)

Fix a UI glitch in the editor crop mask.
This fix cannot be applied on web due to https://github.com/flutter/flutter/issues/44572

BlendMode.clear supports for web now


The logger doesn't log objects. It only .toString()'s them

This is very annoying for development. I need to investigate this and find a better alternative.

Check out my logger module https://github.com/hawkerboy7/de-logger.
https://github.com/hawkerboy7/de-logger/blob/master/src/server/logger.coffee#L149
I had the same problem and solved it by creating a new array result = [], pushing all required arguments to it and then call console.log.apply null, result


#1355 Updated Review page to correctly show answers related to Welsh posts

Author checklist

✅  Include primary ticket number in title - e.g. "#123 New styling for widget" - and any additional tickets in description
✅  Fill in the details below and delete as appropriate
[ ] Be proactive in getting your work approved 💪

What's included?
Made small changes to Review component to correctly show answers related to Welsh posts/requirements.
Who should test?
✅ Product owner
✅ Developers
✅ UTG
How to test?
As a candidate apply for a vacancy with Welsh posts and Welsh requirements.
Ensure that candidate answers on the application Review page->Welsh posts section correctly reflect provided information.
Risk - how likely is this to impact other areas?
🟢 No risk - this is a self-contained piece of work
Additional context
Application Review page:

PREVIEW:DEVELOP

Sent to UTG 5/7/21. Feedback to follow.


[Request] Ask for confirmation before liking or boosting a note.

I see people talking about this, so I added an issue.
Since you can't delete or undo any posts.

boosting already talked about in #21

I like this idea - but it should be up to the user. Kind of like an 'only once ' or 'never ask again' prompt.

Btw, why the boost or like cannot be undone. The protocol is not supporting it? Why? I think technically it should be possible.

It's like sending an email. Once you hit send, the email is in many servers and other clients already. Even if you ask servers to remove, there is no guarantee relays or clients will delete.

@vitorpamplona yes, I understand, but I can send another email (Nostr event) saying, this (reference to the boost) is undone.
Yes, its not 100% guaranteed all clients implement this, and its not 100% guaranteed that they got the message, but thats also case for any Nostr event.
Everything in distributed system is only eventually consistent.

Sure, but from a UI perspective, it's going to get real confusing if people think they have deleted something just to see it coming back later. I am not sure how to make this super clear.

What do you mean? Local version of data will be consistent (retweet was undone). No confusion there. Rest of the network may see this with delay or never (so it will display the boost).
Its not wrong, its just that information about the state is not distributed evenly. So some people can look on the older state.

Local data will be overridden when the same old event comes back from the relay people are using.

state is not distributed evenly

And that is extremely confusing to a non-tech user.
Plus, we cannot state that something has been "deleted" if it is still out there, right? That's just not cool.

This, honestly I think some aspects are so crucial that they cannot be abstracted away form the user. I would not call it deleted. I would called it "undone" or maybe better "reverted".
I think the UI should reflect the event-driven nature of the system that does write-only (edit does not exists).
I can imagine there can be 3 states of the boost icon (and similar for others).

Boosted
Not boosted
Boost reverted

I am now reading through the spec, and event deletion is a thing ad it is defined in NIP-09

v0.17.5 has a popup to Boost/Quote. Do we really need to implement this for likes?

v0.17.5 has a popup to Boost/Quote. Do we really need to implement this for likes?

Because you can simply undo a like now, I don't think asking for confirmation is needed.
Should this be closed because it isn't as needed as before?

I would say we can close this ticket. We don't need this "confirmation check" for likes.


Problem: BigchainDB does not support newer MongoDB

Solution: Update driver to the last version, that is compatible with all versions of MongoDB.
Related to @ttmc's comment on #2296.

I changed the image in our docker-compose.yml to use Mongo 3.6. There is also the one in k8s/mongodb/container/Dockerfile to change, I can do that but I don't know much about k8s.

It is not k8s related, just a normal Docker image file. You can change the version.

Should we release a new version of BigchainDB after this PR gets merged, so that pip install bigchaindb... will use the proper version of PyMongo?


Sort repos by owner and name (UI)

Clear and concise description of the problem
As a user having permissions on a lot of repos in different organisations, I would like to have the option to sort the list of repos by organisation and repo
Suggested solution
The easiest option would be to add a sort function and always sort by owner / repo. Another option would be to add a drop down with different sort methods:

Sort by Owner / Repo name
Sort by Repo name only
Sort by last build time
...

Alternative
none
Additional context
Looking for input on what would be the best sort option(s) and if a single sort is enough.
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Any preferences? I have a local versiun whch just sorts by owner / repo-name and I am happy with it.

sort or filter? -> #1229

sort or filter? -> #1229

My main point is, that after filtering the list of repost the order is random instead of sorted. I will just file a PR to sort the search result alphabetically.

resolved by #1548


Create deployment instructions for Chainlink node and adapter setup

https://github.com/NotarizedScreenshot/external-adapter/blob/master/README.md


bug: Pixel 5 not firing

Plugin version:

2.1.1
Platform(s):
Android Pixel 5 API 32
You can use the Android Simulator to reproduce.

Current behavior:
Should fire when the App go into pause.
On other Android Phones this fires when i press the square on Android or when i move the App up to see all open Apps.
Expected behavior:
The Privacy Screen should fire when you move the App up hold 1-2 Seconds to see the open Apps.
Steps to reproduce:
Move the App up hold 1-2 Seconds to see the open Apps.

Hi @danielehrhardt,
i cannot reproduce the problem:

If you look in the code you will see that I am just setting a simple flag. Maybe the behavior has changed with API 32. But there is nothing I can do about that.

I close the issue due to inactivity.


Fixed rslora scaling in lora_manager

Addressing issue mentioned in
https://github.com/NVIDIA/TensorRT-LLM/issues/1668
When weights were trained using rslora scaling  they should be scaled differently.   Code initially was always normalizing by rank regardless of "use_rslora" flag in huggingface adapter_config.json file.
Scaling has also been updated in examples/hf_lora_convert.py

Could you share a model trained by rslora?

Hi @TheCodeWrangler , thanks for your contributing. We've merged your contribution into code base and will add you into contributor list.


@cycle/state unecessary delay, probable race condition

I think this piece of code https://github.com/cyclejs/cyclejs/blob/479f5566850de92ff3fcb35fb389044c534f48ec/state/src/withState.ts#L42-L46 may be introducing a non necessary possibility of a race condition.
I was playing around with sampleCombine to do multiple things when reacting to a http response (updating state and dispatching another http request) ... but the state inside the "outer" state from sampleCombine, and the inner state from the reducer I was sending back in the sink sometimes were out of sync, something like this:
const responseHandler$ = sources.HTTP.select()
	.map(response$ => response$
		.replaceError(err => xs.of(err.response)) // Just passthru errors
	)
	.compose(flattenConcurrently)
	.compose(sampleCombine(sources.state.stream))
	.map(([res, outerState]) => {
		return {
			state: xs.of(prevState => {
				if (prevState !== outerState) {
					console.error(new Error('Race condition detected'));
					process.exit(1);
				}
				return someMutateFunction(prevState);
			}),
			HTTP: xs.of({
				url: // Using outerState here
			}),
		};
	);

// I use this to split event after that and feed it into sinks
const split = whatToSplit => stream =>
	stream
		.map(x => x[whatToSplit])
		.filter(x => !!x)
		.flatten();

I guess if two http responses come back "too quick" ... the reducer is called with the correct state, but because the event on the reducerMimic$ is delayed (it's using quicktask which uses process.nextTick on node), then the sampleCombine code responsible for updating the values is not being called before the second response handler is added. So I guess ...
Race condition:
Event loop: [  Http response 1 available, Http response 2 available ]
We start executing the first one, which schedules the _n
Event loop is then: [ Http response 2 available, mimic._n ]
So the response 2 sampleCombine is executed with "wrong" values.
I then used this patch and the race condition disappeared (and tests are still fully green):
diff --git a/state/src/withState.ts b/state/src/withState.ts
index 030084c1..aa91388f 100644
--- a/state/src/withState.ts
+++ b/state/src/withState.ts
@@ -39,11 +39,13 @@ export function withState<
         xs.fromObservable<Reducer<T>>(sinks[name]),
         xs.never()
       );
-      stream$.subscribe({
-        next: i => schedule(() => reducerMimic$._n(i)),
-        error: err => schedule(() => reducerMimic$._e(err)),
-        complete: () => schedule(() => reducerMimic$._c()),
-      });
+      schedule(() => {
+        stream$.subscribe({
+          next: i => reducerMimic$._n(i),
+          error: err => reducerMimic$._e(err),
+          complete: () => reducerMimic$._c(),
+        });
+      })
     }
     return sinks as any;
   };

With this patch the sampleCombine internal values are immediately updated as soon as possible, and so when handling the second one everything is good to go.
I guess the intent is still the same, ensure the first event happens off the main execution thread, asynchronously (unless I'm missing something). But with no possibility of sampleCombine and the inner state being off sync.
Thoughts ? (ping @jvanbruegge because gitter conv)
I also want to ping staltz because he's the only who probably knows why the schedule delay is there, but ...

I avoided the error by reworking my code, there must be a race condition "somewhere", but I had no luck finding it. I don't know if it's a bug or I was just mis-using something.
So closing this.

Thanks @Sinewyk even though this is now closed, it still serves as a potential reproducible use case later.
There is certainly a race condition in cycle/state, and it should/will be fixed when we move from drivers to plugins, and make cycle/state a plugin not a wrapper. Then it can share the (supposedly) race-condition-free machinery inside cycle/run.

Proof: https://github.com/Sinewyk/cycle_state_race_condition

Now I will try to reproduce the race condition WITH my patch, because in my real project it also happened.


Vulnerability roundup 75: opensc-0.19.0: 2 advisories

search, files

[ ] CVE-2019-15945 (nixos-unstable)
[ ] CVE-2019-15946 (nixos-unstable)

Scanned versions: nixos-unstable: e19054ab3cd. May contain false positives.

opensc-0.19.0 already patched on 19.09 (see https://github.com/NixOS/nixpkgs/pull/72073) but not on master yet.


cilium v1.15.4 network ping fails metallb's LoadBalancer, curl   LoadBalancer can pass

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
[root@node1 metallb]# curl -I <IP_ADDRESS>
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 08 May 2024 02:19:02 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/8.2.7
[root@node1 metallb]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=1 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=2 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=3 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=4 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=5 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=6 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=7 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=8 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=9 Destination Port Unreachable
^C
--- <IP_ADDRESS> ping statistics ---
9 packets transmitted, 0 received, +9 errors, 100% packet loss, time 8225ms
[root@node1 metallb]# kubectl get svc -n nginx
NAME            TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
nginx-service   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>    80:32022/TCP   16h
[root@node1 metallb]#
Cilium Version
v1.15.4
Kernel Version
[root@localhost ~]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)
[root@localhost ~]# uname -r
5.14.0-284.11.1.el9_2.x86_64
Kubernetes Version
kubectl version：v1.29.4
Regression
No response
Sysdump
No response
Relevant log output
[root@node1 metallb]# kubectl get ipaddresspools.metallb.io -A
NAMESPACE        NAME      AUTO ASSIGN   AVOID BUGGY IPS   ADDRESSES
metallb-system   primary   true          false             ["<IP_ADDRESS>-<IP_ADDRESS>"]
[root@node1 metallb]# kubectl get l2advertisements.metallb.io -A
NAMESPACE        NAME      IPADDRESSPOOLS   IPADDRESSPOOL SELECTORS   INTERFACES
metallb-system   primary   ["primary"]
[root@node1 metallb]# kubectl get svc -n nginx
NAME            TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
nginx-service   LoadBalancer   <IP_ADDRESS>   <IP_ADDRESS>    80:32022/TCP   16h
[root@node1 metallb]# curl -I <IP_ADDRESS>
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 08 May 2024 02:10:38 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/8.2.7

[root@node1 metallb]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=1 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=2 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=3 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=4 Destination Port Unreachable
^C
--- <IP_ADDRESS> ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3099ms

[root@node1 metallb]# crictl images | grep cil
quay.io/cilium/cilium                                 v1.15.4             aebfd554d3483       209MB
quay.io/cilium/operator                               v1.15.4             cf4b9cdd4ba07       36.1MB
[root@node1 metallb]# kubectl exec -it -n kube-system          cilium-mbjx2 /bin/bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
Defaulted container "cilium-agent" out of: cilium-agent, mount-cgroup (init), apply-sysctl-overwrites (init), clean-cilium-state (init), install-cni-binaries (init)
root@node1:/home/cilium# cilium status
KVStore:                 Ok   etcd: 1/1 connected, leases=1, lock leases=1, has-quorum=true: https://<IP_ADDRESS>:2379 - 3.5.12 (Leader)
Kubernetes:              Ok   1.29 (v1.29.4) [linux/amd64]
Kubernetes APIs:         ["EndpointSliceOrEndpoint", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumNetworkPolicy", "cilium/v2alpha1::CiliumCIDRGroup", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:    Partial   [eth0   <IP_ADDRESS> fe80::20c:29ff:fe7b:3822]
Host firewall:           Disabled
SRv6:                    Disabled
CNI Chaining:            none
Cilium:                  Ok   1.15.4 (v1.15.4-9b3f9a8c)
NodeMonitor:             Disabled
Cilium health daemon:    Ok
IPAM:                    IPv4: 6/254 allocated from <IP_ADDRESS>/24,
IPv4 BIG TCP:            Disabled
IPv6 BIG TCP:            Disabled
BandwidthManager:        Disabled
Host Routing:            Legacy
Masquerading:            IPTables [IPv4: Enabled, IPv6: Disabled]
Controller Status:       45/45 healthy
Proxy Status:            OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000, Envoy: embedded
Global Identity Range:   min 256, max 65535
Hubble:                  Disabled
Encryption:              Disabled
Cluster health:          2/2 reachable   (2024-05-08T02:11:35Z)
Modules Health:          Stopped(0) Degraded(0) OK(11) Unknown(3)
root@node1:/home/cilium#
root@node1:/home/cilium# exit;
exit
[root@node1 metallb]# kubectl version
Client Version: v1.29.4
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.4
[root@node1 metallb]#
[root@node1 metallb]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=1 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=2 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=3 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=4 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=5 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=6 Destination Port Unreachable
From <IP_ADDRESS> icmp_seq=7 Destination Port Unreachable
^C
--- <IP_ADDRESS> ping statistics ---
7 packets transmitted, 0 received, +7 errors, 100% packet loss, time 6186ms

# MetalLB deployment
metallb_enabled: true
metallb_speaker_enabled: "{{ metallb_enabled }}"
metallb_namespace: metallb-system
metallb_protocol: "layer2"
metallb_config:
  address_pools:
    primary:
      ip_range:
        - <IP_ADDRESS>-<IP_ADDRESS>
      auto_assign: true
  layer2:
    - primary

Anything else?
No response
Cilium Users Document

[ ] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

[root@node1 metallb]# tcpdump -i any host <IP_ADDRESS> -s0 -A tcpdump: data link type LINUX_SLL2 dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes 10:26:33.131273 lo    In  IP node1 > node1: ICMP echo request, id 6, seq 1, length 64 E..Te:@.@.}*..................:f....}....................... !"#$%&'()*+,-./01234567 10:26:33.131305 lo    In  IP node1 > node1: ICMP node1 protocol 1 port 42460 unreachable, length 92 E..pe;..@..M................E..Te:@.@.}*..................:f....}....................... !"#$%&'()*+,-./01234567 10:26:34.165170 lo    In  IP node1 > node1: ICMP echo request, id 6, seq 2, length 64 E..Th&@.@.z>...........W......:f............................ !"#$%&'()*+,-./01234567 10:26:34.165194 lo    In  IP node1 > node1: ICMP node1 protocol 1 port 3927 unreachable, length 92 E..ph'..@..a................E..Th&@.@.z>...........W......:f............................ !"#$%&'()*+,-./01234567 10:26:35.194465 lo    In  IP node1 > node1: ICMP echo request, id 6, seq 3, length 64 E..Tl&@.@.v>..................:f....X....................... !"#$%&'()*+,-./01234567 10:26:35.194505 lo    In  IP node1 > node1: ICMP node1 protocol 1 port 51171 unreachable, length 92 E..pl'..@..a................E..Tl&@.@.v>..................:f....X....................... !"#$%&'()*+,-./01234567 10:26:36.218668 lo    In  IP node1 > node1: ICMP echo request, id 6, seq 4, length 64 E..TnS@.@.t...........1.......:f.....U...................... !"#$%&'()*+,-./01234567 10:26:36.218798 lo    In  IP node1 > node1: ICMP node1 protocol 1 port 12676 unreachable, length 92 E..pnT..@..4................E..TnS@.@.t...........1.......:f.....U...................... !"#$%&'()*+,-./01234567

Is this the same as  https://github.com/cilium/cilium/issues/14118 ?

Interesting. I tried this with a regular ClusterIP SVC and ping fails the same while curl works:
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
58 packets transmitted, 0 received, 100% packet loss, time 58374ms

Interesting. I tried this with a regular ClusterIP SVC and ping fails the same while curl works:
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
58 packets transmitted, 0 received, 100% packet loss, time 58374ms

UPD: Nevermind. TIL kubernetes services can’t be pinged.

ping svcIP will not work with kube-proxy ipvs mode
https://github.com/kubernetes/kubernetes/issues/72236
https://github.com/kubernetes/kubernetes/pull/108460

After changing the mode ipvs to iptables, ping also fails.
[root@node1 ~]# ping <IP_ADDRESS> PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data. From <IP_ADDRESS> icmp_seq=2 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=3 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=4 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=5 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=6 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=8 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=11 Redirect Host(New nexthop: <IP_ADDRESS>) From <IP_ADDRESS> icmp_seq=9 Destination Host Unreachable From <IP_ADDRESS> icmp_seq=13 Destination Host Unreachable From <IP_ADDRESS> icmp_seq=14 Destination Host Unreachable From <IP_ADDRESS> icmp_seq=15 Destination Host Unreachable

After changing the mode ipvs to iptables, ping also fails.
[root@node1 ~]# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=2 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=3 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=4 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=5 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=6 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=8 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=11 Redirect Host(New nexthop: <IP_ADDRESS>)
From <IP_ADDRESS> icmp_seq=9 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=13 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=14 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=15 Destination Host Unreachable

Is this a self-managed MetalLB installation, or the one installed as part of the Cilium BGP control plane?
Either way, I would not expect pinging service IPs to work, ever.


[Bug] rsbuild MF plugin URL path loses host

Describe the bug
This is a comparison between rsbuild and webpack terminal prints in development:
rspack:

config:
// rsbuild.config.ts

import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { ModuleFederationPlugin } from '@module-federation/enhanced/rspack';

export default defineConfig({
  plugins: [
    pluginReact(),
  ],
  output: {
    assetPrefix: 'http://localhost:3000/',
  },
  tools: {
    rspack: (config, { appendPlugins }) => {
      config.output!.uniqueName = 'federation_provider';
      appendPlugins([
        new ModuleFederationPlugin({
          name: 'federation_provider',
          exposes: {
            './button': './src/button.tsx',
          },
          shared: ['react', 'react-dom'],
        }),
      ]);
    },
  },
});

webpack:

The mf-manifest URL of rsbuild loses the host.
Reproduction
Not need
Used Package Manager
pnpm
System Info
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M3
    Memory: 517.03 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/Library/Caches/fnm_multishells/48951_1714833067919/bin/node
    Yarn: 1.22.22 - ~/Library/Caches/fnm_multishells/48951_1714833067919/bin/yarn
    npm: 10.2.3 - ~/Library/Caches/fnm_multishells/48951_1714833067919/bin/npm
    pnpm: 9.0.6 - ~/Library/Caches/fnm_multishells/48951_1714833067919/bin/pnpm
    bun: 1.1.5 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 124.0.6367.93
    Safari: 17.2.1

Validations

[X] Read the docs.
[X] Read the common issues list.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Module federation issue and not a framework-specific issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

// rsbuild.config.ts
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { ModuleFederationPlugin } from '@module-federation/enhanced/rspack';

export default defineConfig({
  server: {
    port: 3000,
  },
  dev: {
    // It is necessary to configure assetPrefix, and in the production environment, you need to configure output.assetPrefix
+    assetPrefix: 'http://localhost:3000',
  },
  tools: {
    rspack: (config, { appendPlugins }) => {
      // You need to set a unique value that is not equal to other applications
      config.output!.uniqueName = 'federation_provider';
      appendPlugins([
        new ModuleFederationPlugin({
          name: 'federation_provider',
          exposes: {
            './button': './src/button.tsx',
          },
          shared: ['react', 'react-dom'],
        }),
      ]);
    },
  },
  plugins: [pluginReact()],
});

You can fix this by adding dev.assetprefix（https://rsbuild.dev/config/dev/asset-prefix）

Because output.asset prefix is valid for production mode, dev.asset prefix is valid for development environment


Web Stories Embed Shortcode

Summary
Allow for a shortcode to render an embedded story.
Relevant Technical Choices
To make sure there lots of code was not repeated, some refactor was required. Much of the repeated logic was moved to parent class, called Embed_Base that could be extended by shortcode and block.
Much of these changes relate to moving shortcode and block into there own namespaces. This mean all reference to the block class had to be updated.
Embed_base into is called, so that html tag filter and script / styles are only registered once.
I add a class option, so that embed block and shortcode have different classes for easier theme styling.
To-do

User-facing changes

Testing Instructions

Create a new post.
Insert a shortcode block.
Copy the following in block.

Testing shortcode
[web_stories_embed url="https://stories-new-wordpress-amp.pantheonsite.io/web-stories/13010/" height="300" width="200" title="Testing" align="right"]

Test the story renders.

Transform test.

Create a new post.
Paste above snippet into editor.
Shortcode should be transformed into embed story block.

Fixes #3135

I like this pattern of having a base class with share functionality and extended classes that implement an interface. Meaning we could use this base class for say widgets, we could reuse this class.

I like this pattern of having a base class with share functionality and extended classes that implement an interface. Meaning we could use this base class for say widgets, we could reuse this class.

I am not disagreeing with that.
All I am saying is that the init part should not be part of this base class.

All I am saying is that the init part should not be part of this base class.

Not sure what you mean here @swissspidy ? Can you expand on this? Should we move the asset register to a function like init_assets like this.

I think the asset registration should be in an entirely different class, not Embed_Base.

I think the asset registration should be in an entirely different class, not Embed_Base.

But why? What benefit would that add?

Separation of concerns is the main benefit. This class should really not be doing two things. It also helps prevents things like https://github.com/google/web-stories-wp/pull/4780#discussion_r498706673

@spacedmonkey Could you add a quick example of the shortcode in the PR description?

@swissspidy Done.

Can we implement this part from the IB?

For the existing Web Stories Embed block, add a transform function that allows transforming instances of this shortcode into the embed block.

See https://developer.wordpress.org/block-editor/developers/block-api/block-transforms/#shortcode for an example.

FYI, Dashboard integration tests are also failing on main. Known issue as per https://xwp.slack.com/archives/CCCAUAH6F/p1601955965079000

This probably needs some testing instructions for Claudio

This probably needs some testing instructions for Claudio

testing details have been added.