expose more argument to feature option from the script-library

I wonder if we can expose more Arguments to Feature option?
For example, for go-install script, we would like to configure GOPATH due to some code generation requirements.
We understand we can do it through bash script-library, but it would be much cleaner to configure it through the feature option instead (devcontainer.json )

Argument
Feature option
Default
Description

Go version
version
latest
Version of Go to install. Use latest to install the latest released version. Partial version numbers are accepted (e.g. 1.17).

GOROOT

/usr/local/go
Location to install Go.

GOPATH

/go
Location to use as the GOPATH. Tools are installed under ${GOPATH}/bin

Non-root user

automatic
Specifies a user in the container other than root. A value of automatic will cause the script to check for a user called vscode, then node, codespace, and finally a user with a UID of 1000 before falling back to root.

Add to rc files flag

true
A true/false flag that indicates whether the PATH should be updated and GOPATH and GOROOT set via /etc/bash.bashrc and /etc/zsh/zshrc.

Install tools flag

true
A true/false flag that indicates whether to install common Go utilities.

"features": {
    "golang": "latest"
}

"features": {
    "golang": "latest"
}

Relates to: Codespaces && Remote - Containers

Definitely!  We would accept a PR of any options you find particularly useful.  I'd say ideally, all of the options possible to be passed to go-debian.sh should be surfaced as 'feature' options.
The changes would need to be done in the devcontainer-features.json and piped through to the install script following the pattern here.
docker-in-docker is an example of a feature with > 1 option.


Value properties and tagged values are not being sent/saved on the server

I installed OpenMBEE on a server using Alfresco 4.2f. I tested the server using MagicDraw 14.0.5 with MDK installed. My test project initialized, and I managed to get most of my elements sent and saved on the server. I could even get the Document Views to show up. I did run into a particular problem : None of the Default Values of my value properties or my tagged values are being saved on the server. The value property itself is saved (i.e. I can see the value property in DocWeb), but I can't get it's default value to the server. Commiting the value (right click on the error in the Validation window) results in a message that it is "Sending ..." then "Successful." However, when I validate the model, the same error "[VALUE] model: not null, web: null" . The same thing is true for tagged values.
Any ideas why this is happening? Perhaps point me to a log file either on the server or on the MagicDraw side that will shed some light or clues as to what's happening?
Andy Ko

You mean magicdraw 17.0.5 right...?
What kind of values are they? If they're element references, it could be the referenced elements were not found on the server.

there should also be a log what got sent and received in the magicdraw log (md.log or magicdraw.log)

the same error "[VALUE] model: not null, web: null"
Sounds eerily familiar :). This is the same stuff I have been fighting 2 months ago...
You mean magicdraw 17.0.5 right...?
Probably yes - there is no such thing as MD v14.0.5. Only MDv17.0.x series had a 3-tier numbering scheme (due to some questionable upper management decisions :^) )
What kind of values are they? If they're element references, ...
As far as I remember, it fails on simple values in the model - strings , reals, booleans. But maybe Andy has a different case.

Any ideas why this is happening? Perhaps point me to a log file either on the server
or on the MagicDraw side that will shed some light or clues as to what's happening?
there should also be a log what got sent and received in the magicdraw log (md.log or magicdraw.log)
Client side - MagicDraw log  - is under /AppData/Local/.magicdraw/magicdraw.log (on Windows) or /.magicdraw/magicdraw.log  (on Unixes).
There should be a fragment of JSON somewhere in there - the data that is being sent to server.

Sincerely,
Tomas J.

@dlamoris Yes - it's MagicDraw 17.0.5 - my mistake. I updated the posting to reflect this.

@dlamoris I'm seeing that the Default Value of value properties aren't being saved on the server. Here's an example - I have a block (let's call it 'test') in a package. In that block, I have a SysML Value Property called 'foo'. The Default Value of 'foo' is set to '20.5'. When I commit to OpenMBEE, the block 'test', and the value property 'foo' gets saved to the OpenMBEE server. To test, I can open DocWeb, and edit a View. In the edit dialog, I can click on "cf" and look for 'foo'. 'foo' shows up but no value is assigned to it. When I validate my model in MagicDraw, I get the "[VALUE] model: not null, web: null" error. When I commit the value, the info says it's sent successfully.

@tomasjkn I'll check magicdraw.log to see if I can glean anything that would help. Thanks.

@dlamoris You mentioned that you were fighting this 2 months ago? And it was failing on strings, reals and booleans? Are you still experiencing this? If not, do you remember what happened that fixed it?

Update:
Checked the log file and found an interesting message:
"Error! No element found for MMS_1423758197147_08587af3-60aa-41f1-8fd7-f025c7cc2f5e.\n[WARNING]: createOrUpdateModel deltas not posted properly\n"
So, what does it mean that "createOrUpdateModel deltas not posted properly", and how would I solve this?
Andy Ko


Auction Card - Min. next bid

On Auction cards, we need to put the prices based on DEX values on the Min. next bid. Check epic for more info #1856

@thedoublejay questions, when should we use DEX values and when should we use activePrice?
Because in loans screen > vault details we are using activePrice

And then suddenly in auction we use DEX values?

@kyleleow this should be DEX price also. The only time we use oracle price should be on taking a loan. Need more clarity with @ngyingzhong


Prefix js- classes

The current classes we're using are:

js-hidden
js-header-toggle
js-enabled

The class names used could very easily conflict with other app styles. We should therefore consider prefixing them eg. govuk-js-hidden.
The convention is to use the js- prefix to signal classes used by JS so alternatively we could consider js-govuk-hidden. Or something else?

Ollie, Hanna and I caught up to talk about this in relation to the tabs and conditional reveal component.
We decided to avoid a global utility for now, instead opting to have specific hidden modifiers.


plasma 5.8 Task Manager broken

Issue description
Since the most recent plasma5 update in nixos 17.03 (b1f8bd12d38fcf25533bb3765f8bea15ad2d0672 by @ttuegel) I'm unable to get the Task Manager widget to work.  It just displays an error message - see attached screenshot.
Technical details

System: NixOS 17.03 @ 58e227052d40021d82d015f3f8da011ae54ea430
Nix version: 1.11.8
Nixpkgs version: 58e227052d40021d82d015f3f8da011ae54ea430
Sandboxing enabled: yes

Related KDE bug: https://bugs.kde.org/show_bug.cgi?id=380240

I will revert the update until upstream gets its act together. Bumping dependency versions for a patch release is totally unacceptable.

@ttuegel How should I go about switching to the working build? I upgraded but it's still broken.

An idea of the update date on https://nixos.org/channels/nixos-17.03 ?

If you fell experimental :-) you could try something what I did:
git clone https://github.com/NixOS/nixpkgs-channels.git
cd nixpkgs-channels
git checkout nixos-17.03
git remote add nixpkgs https://github.com/NixOS/nixpkgs.git
git cherry-pick 2412cec456e48d97462c1046484cb3140f9046a2
nixos-rebuild switch -I nixpkgs=xxxxx/nixpkgs-channels
xxxxx = directory where you run your first command.
Was very smooth for me... but cannot promise anything :-)

It's work with 17.03


xrepo install poco failed under macOS

Xmake 版本
2.7.7
操作系统版本和架构
macOS Ventura 13.2.1
描述问题
xrepo安装poco库报错
附上命令行信息：
~ xrepo install poco                                                                                ✘ 255 master ✱
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> poco 1.12.4
please input: y (y/n/m)
y
  => install poco 1.12.4 .. failed

CMake Error at XML/CMakeLists.txt:23 (find_package):
  Could not find a package configuration file provided by "EXPAT" with any of
  the following names:
    EXPATConfig.cmake
    expat-config.cmake
  Add the installation prefix of "EXPAT" to CMAKE_PREFIX_PATH or set
  "EXPAT_DIR" to a directory containing one of the above files.  If "EXPAT"
  provides a separate development package or SDK, be sure it has been
  installed.
ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for C++14 compiler
-- Checking for C++14 compiler - available
-- Found OpenSSL<EMAIL_ADDRESS>(found version "3.0.8")
if you want to get more verbose errors, please see:
  -> /Users/gustaf/.xmake/cache/packages/2303/p/poco/1.12.4/installdir.failed/logs/install.txt
error: install failed!
error: execv(xmake require -j 10 --extra={system=false} poco) failed(255)

install.txt内容：
CMake Error at XML/CMakeLists.txt:23 (find_package):
  Could not find a package configuration file provided by "EXPAT" with any of
  the following names:

    EXPATConfig.cmake
    expat-config.cmake

  Add the installation prefix of "EXPAT" to CMAKE_PREFIX_PATH or set
  "EXPAT_DIR" to a directory containing one of the above files.  If "EXPAT"
  provides a separate development package or SDK, be sure it has been
  installed.

ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for C++14 compiler
-- Checking for C++14 compiler - available
-- Found OpenSSL<EMAIL_ADDRESS>(found version "3.0.8")
-- Found APR: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/apr-1 (found version "1.5.2")
-- Found APRUTIL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/apr-1 (found version "1.5.4")
-- Could NOT find Apache2 (missing: APACHE2_INCLUDE_DIR)
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR)
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- Could NOT find ODBC (missing: ODBC_INCLUDE_DIR)
-- Building without tests & samples
-- Using external sqlite, zlib, pcre2, expat, ...
-- Found PCRE2: /usr/local/Cellar/pcre2/10.42/lib/libpcre2-8.dylib
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Configuring incomplete, errors occurred!
See also "/Users/gustaf/.xmake/cache/packages/2303/p/poco/1.12.4/source/build_60fe0e32/CMakeFiles/CMakeOutput.log".
See also "/Users/gustaf/.xmake/cache/packages/2303/p/poco/1.12.4/source/build_60fe0e32/CMakeFiles/CMakeError.log".

期待的结果
顺利安装poco库
工程配置
No response
附加信息和错误日志
No response

在windows上用xrepo装了poco，但编译sample code报错了……不知道是xrepo的问题还是哪儿
总之在poco那边提了个issue

这是因为 xmake 能找到 xcode 内置的 expat 库，所以不再源码下载安装 expat 了，但是 poco 的 cmake find expat 找不到 xcode 里面的 expat
ruki-2:xmake-repo ruki$ xmake l find_package pkgconfig::expat
{
  links = {
    "expat"
  },
  linkdirs = {
    "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.
0.sdk/usr/lib"
  }
}

一种方式就是 add_requireconfs("poco.expat", {system = false})  强制让 expat 不走系统，源码安装，就可以。。
但这种没有根本从包上解决问题。
另外一种想办法对包打 patches ，强制让它找到 xcode 内的 expat，或者其他更好的方案。。你可以自己研究下，也可以提个 pr 过来改进包。。


Add quickstart sample for AKS private cluster with custom DNS

Add a quick-start sample for AKS private cluster with custom DNS.

@grayzu could you help to have a look again?

@feiskyer thanks. this works as expected except when there is an error with the cluster provisioning. When this is run via Azure devops for instance and there is an error with the AKS resource (say the resource already exists), I would want the wait for resource group to timeout and display the aks failure error but the the wait for resource group keeps running till you cancel the release. I'm experimenting with the timeout but havent gotten this to work as desired. Any recommendations?

@dejiaja what errors have you got when you said "an error with AKS resource"?


Methods' generic types are lost

If we pass a FunctionDeclaration into definition API's field methods or  methods(), TypeScript will strip generic types from it. Here's an reproducible example.
// wrong
glassEasel
  .registerBehavior({
    methods: {
      generic<T = any>(this: void, t: T) {
        return t
      },
    },
  })
  .getMethods()
  .generic<number>(11)
//         ^^^^^^ Expected 0 type arguments, but got 1.ts(2558)

// ok
const methods = {
  generic<T = any>(this: void, t: T) {
    return t
  },
}
glassEasel
  .registerBehavior({ methods: { ...methods } })
  .getMethods()
  .generic<number>(45)

By the way, we do not encourage the use of methods in chaining API.

A private (or exported) function in init can be used as an inner function (or event listener).
If a method is designed to be called by other components, use trait behaviors.

Seems not fixable. Closed.


GPL-878-8 - Multiplexing - I want to be able to fail a sample for QC

User story
I want to be able to fail a sample for QC
Who are the primary contacts for this story
e.g. John S (don't include surnames in public repos)
Acceptance criteria
To be considered successful the solution must allow:

[ ] I want to be able to fail a sample for QC? Do we do this in the pool or the sample?

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

References
This story has a non-blocking relationship with:

#<issue_no.>
sanger/#<issue_no.>

Additional context
Add any other context or screenshots about the feature request here.

Moved back to do as users want to also be able to perform QC steps alongside this:
Email from Craig:
Yes, my understanding is this QC state needs to be applied to the sample and would be applied to samples before pooling. Highlighting the well red then indicates that the sample should not be selected for a library pool. If a sample is in a QC failed state then we would be requesting additional material (which would arrive with a different plate ID) and the current sample would not proceed any further.
Ideally the QC steps would be performed in a separate section in TRACTION.
Plate Reception -> Samples -> Sample QC -> Pool/new -> Pools -> Runs
The QC section would then record:
Sample volume (ul)
Sample concentration (ng/ul)
Sample Fragment size.
Sample RIN.
Sample nanodrop QC. Three separate values: 260/280, 260/230 & ng/ul
QC: PASS/FAIL
However, I think there was some discussion as to whether this is the correct place to record the QC information and if quanthub should be used?
We would also want to be able to fail a sample in a pool. i.e. the QC on sample arrival is good but when we try to do the first part of the library prep the sample does not amplify/ something else goes wrong. In the current set-up this would be on the Pool/new page – with this scenario if a sample had been selected as a fail we would want to be able to add another sample to replace the failure. We would also want to be able to add another sample to the pool that may have the same barcode as the failed sample. A sample given a failed status in the pool/New section may be repeated and allocated to a new pool at a later date.
At this moment in time we have the option of not selecting any failures during the library prep step (pooling/new) – there is just no way to currently record failures during the initial stage of library prep pre-pooling.
I don’t know how critical it is to have this as MVP – Iraad would be best to advise further but he is on holiday at the moment. I have also not performed the IsoSeq lab processes myself so have also included Karen in, just to make sure I’m not providing incorrect information to you.


Not Grabbing Album text with Plex

Just shows N/A for album name, but works with everything else like Twitch, YouTube, Bandcamp, etc...

I have no way to get the album on plex. See https://wnp.keifufu.dev/supported-sites


History Listener lacks a open state

When you open a file, an entry isn't added to the history listener to represent the start state.
Usage wise, if I open a file and then makes a bunch of edits, the power to me of the history window is to be able to jump back changes, but I can't jump back to the initial state of the file, just back to the first change.
Is there a way we could get a basic "File Open" state in there like Photoshop that represents no changes?

Perfect thanks.


BUG

问题描述
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: virtualenv in /home/ubuntu/.local/lib/python2.7/site-packages (20.0.10)
Requirement already satisfied: distlib<1,>=0.3.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (0.3.0)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (3.0.12)
Requirement already satisfied: importlib-resources<2,>=1.0; python_version < "3.7" in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (1.3.1)
Requirement already satisfied: six<2,>=1.9.0 in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (1.14.0)
Requirement already satisfied: pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32" in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (2.3.5)
Requirement already satisfied: contextlib2<1,>=0.6.0; python_version < "3.3" in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (0.6.0.post1)
Requirement already satisfied: appdirs<2,>=1.4.3 in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (1.4.3)
Requirement already satisfied: importlib-metadata<2,>=0.12; python_version < "3.8" in /home/ubuntu/.local/lib/python2.7/site-packages (from virtualenv) (1.5.0)
Requirement already satisfied: singledispatch; python_version < "3.4" in /home/ubuntu/.local/lib/python2.7/site-packages (from importlib-resources<2,>=1.0; python_version < "3.7"->virtualenv) (<IP_ADDRESS>)
Requirement already satisfied: zipp>=0.4; python_version < "3.8" in /home/ubuntu/.local/lib/python2.7/site-packages (from importlib-resources<2,>=1.0; python_version < "3.7"->virtualenv) (1.2.0)
Requirement already satisfied: typing; python_version < "3.5" in /home/ubuntu/.local/lib/python2.7/site-packages (from importlib-resources<2,>=1.0; python_version < "3.7"->virtualenv) (<IP_ADDRESS>)
Requirement already satisfied: scandir; python_version < "3.5" in /home/ubuntu/.local/lib/python2.7/site-packages (from pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32"->virtualenv) (1.10.0)
Requirement already satisfied: configparser>=3.5; python_version < "3" in /home/ubuntu/.local/lib/python2.7/site-packages (from importlib-metadata<2,>=0.12; python_version < "3.8"->virtualenv) (4.0.2)
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--clear-app-data] [--discovery {builtin}] [-p py] [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_sep_list]
[--clear] [--system-site-packages] [--symlinks | --copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel]
[--symlink-app-data] [--prompt prompt] [-h]
dest
virtualenv: error: unrecognized arguments: --no-site-packages
admin.sh: line 43: ./venv/bin/activate: No such file or directory
问题描述
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.

sys.version_info < (3,) and warnings.warn(pre + "" * 60 + msg + "" * 60)
Traceback (most recent call last):
File "waller.py", line 6, in
from walle.app import create_app
File "/home/ubuntu/baoming/walle/walle-web/walle/app.py", line 16, in
from walle.api import deploy as DeployAPI
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/api/deploy.py", line 14, in
from walle.service.deployer import Deployer
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/service/deployer.py", line 25, in
from walle.service.git.repo import Repo
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/baoming/walle/walle-web/walle/service/git/repo.py", line 14, in
import git as PyGit
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/init.py", line 38, in
from git.exc import *                       # @NoMove @IgnorePep8
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/exc.py", line 9, in
from git.compat import UnicodeMixin, safe_decode, string_types
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/git/compat.py", line 16, in
from gitdb.utils.compat import (
File "/home/ubuntu/.local/lib/python2.7/site-packages/gevent/builtins.py", line 96, in import
result = _import(*args, **kwargs)
ImportError: No module named compat

**截图**

**运行环境**
 - OS: [e.g. ubuntu]

我安装也报错了。无法解决。后来看到https://github.com/openspug/spug 这个平台，就换这个了。


Callable collision

What steps will reproduce the problem?
class MyClass
{
    private string $param;

    public function __construct(string $param)
    {
        $this->param = $param;
    }

    public function getParam(): string
    {
        return $this->param;
    }
}

$factory = new Factory($this->createContainer());
$object = $factory->create(MyClass::class, ['param' => 'date']);

What is the expected result?
Not exception
What do you get instead?
Yiisoft\Injector\MissingRequiredArgumentException
Missing required argument "format" when calling "date".

Additional info
I think need remove support callable and use only \Closure.

I've added test for given example in #53. It passes successfully.
Please recheck your example.

I've added test for given example in #53. It passes successfully.
Please recheck your example.

This is test not equal problem.
Need set value as php function name. I'm added test: https://github.com/yiisoft/factory/pull/53/commits/17e8ce4b188f6f8deac07c4fe02895af57595ce0

Thank you!
I've added fix.


fix: cleanup html layer on component unmount

Pull request for cloudinary/frontend-frameworks
For which package is this PR?
@cloudinary/html
@cloudinary/react
What does this PR solve?
Add a fix to ensure the html layer is still in use when trying to update the img element.
In React 18 in <StrictMode />, the lazyload plugin does not work as expected. The issue is that since the plugin's promise is being resolved after a new instance of HtmlImageLayer is created, the previous HtmlImageLayer is updating the img element with the src which is not the expected behavior.
Final checklist

[ ] Implementation is aligned to Spec.
[ ] Tests - Add proper tests to the added code.
[ ] Relates to a github issue (link to issue).

@const-cloudinary i've added two tests, one for testing the "bad" behavior, and the second for the desired behavior


add -t flag to running example command line

Without the -t flag the following error is received:
/usr/bin/startup: line 94: /dev/tty: No such device or address

Please move the -t before the -p because it will affect the Docker-Proxy mapping.

Doh - I had it after the port map rather than in the middle of it whilst I was testing - the perils of editing something that's different from what you have in the terminal in front of you


Add --no-header-version CLI flag?

Hi folks. Congrats on the big success of uv. I'm an instant fan.
One thing I noticed using it is that by default the uv pip compile output is causing unnecessary git conflicts:
- # This file was autogenerated by uv v0.1.4 via the following command:
+ # This file was autogenerated by uv v0.1.5 via the following command:
#    uv pip compile requirements.piptools --upgrade --output-file requirements.txt

I know there is the flag --no-header for no header at all. I'd love to keep it there for people less familiar with the workflow. But the version of uv in there is not super important and is likely to conflict across machines unless the version of uv is carefully managed (and that seems not necessary once uv stabilizes how it works).
Thanks for the consideration and the amazing tool.

Hi @zanieb No there is not, because they never put the version of piptools in there:
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
#    pip-compile requirements.piptools
#

Ahhh that's interesting, I hadn't even thought of that.

(Thanks so much @mikeckennedy!)

Welcome! Thanks for the thoughts @charliermarsh

You all are legends.  Thank you. We'll be discussing this tomorrow on Python Bytes too (the project not necessarily this issue).


Support array sum aggregation function

Support Aggregation function SumArrayLong and SumArrayDouble to aggregate on Arrays to sum on the corresponding array positions.

Codecov Report
Attention: Patch coverage is 0% with 274 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (ad6fb9f).
Report is 563 commits behind head on master.

Files
Patch %
Lines

.../core/operator/docvalsets/RowBasedBlockValSet.java
0.00%
154 Missing :warning:

...ction/array/SumArrayDoubleAggregationFunction.java
0.00%
52 Missing :warning:

...unction/array/SumArrayLongAggregationFunction.java
0.00%
52 Missing :warning:

...che/pinot/segment/spi/AggregationFunctionType.java
0.00%
14 Missing :warning:

...gregation/function/AggregationFunctionFactory.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13324       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2471       +35
  Lines        133233   136267     +3034
  Branches      20636    21125      +489
=============================================
- Hits          82274        0    -82274
- Misses        44911   136267    +91356
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <0.00%> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Typo Update Private-Txns-Migration.md

PR description
I found a typo in the following part:
A critical issue for privacy users with private transactions created using Hyperledger Besu v1.3.4 or earlier has been identified. If you have a network with private transaction created using v1.3.4 or earlier, please read the following and take the appropriate steps:
The phrase "private transaction created" should be "private transactions created".
The corrected sentence:
A critical issue for privacy users with private transactions created using Hyperledger Besu v1.3.4 or earlier has been identified. If you have a network with private transactions created using v1.3.4 or earlier, please read the following and take the appropriate steps:
Thanks for sending a pull request! Have you done the following?

[x] Checked out our contribution guidelines?
[x] Considered documentation and added the doc-change-required label to this PR if updates are required.
[x] Considered the changelog and included an update if required.
[x] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[x] unit tests: ./gradlew build
[x] acceptance tests: ./gradlew acceptanceTest
[x] integration tests: ./gradlew integrationTest
[x] reference tests: ./gradlew ethereum:referenceTests:referenceTests

duplicate of already opened PR #7870 - in future please take a look at open PRs before submitting


Follow dotenv-flow variable precedence

Link to issue
Resolves #491
Description of changes being made

Change the order of merging multiple variables to:

Default env file (.env)
Local env file (.env.local)
Mode env file (.env.my-env)
Mode local env file (.env.my-env.local)
Command line variables

Add test cases for the variable precedence.

@goatandsheep I'd love if you could take a look when you get a chance. Thanks!

Sorry it will take a little bit longer. This looks ok but I want to do some local testing

i need a little bit longer. sorry for the delays.


Add AMBD platform support

Problem
Apply to support AMBD platform
Change overview
Added required files to add AMBD into the Device Layer
Added all-cluster-app example for AMBD
Added README file as the guide of the all-cluster-app example
Added build.sh to help on the compilation of the example
Testing
Tested all-cluster-app example with standalone chip-tool over WIFI.

 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.

Hi @andy31415 , the redundant comments will be removed, thanks

Hi @andy31415 , the redundant comments have been removed, please advice for the next step, thanks!

@AdamZhang0124 Thank you for your submission. Can you please sign the CLA? I've approved the PR run.
@mspang @saurabhst @msandstedt @Damian-Nordic @jmartinez-silabs @LuDuda can you review please? thanks!


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
405756e16c6afabbc7c7a3fb724c0ec7072b0893
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


A requester framework akin to Burp's turbo intruder.

Burp Suite has Turbo Intruder which personally I find very valuable and is the only thing that makes me still open burp from time to time. It allows you to easily and programmatically create very customized requests. It'd be nice to have it in EvenBetter. My thoughts is basically the same UI as Turbo Intruder and a abstracted version of Caido's requester class for the user to easily use.
Some core things:

Multiple arguments to be passed into the request, in any place of the request, path, method, headers, body, etc.
Allow the user filter what gets put into the results
Allow the user to specify the concurrent count

I know Turbo Intruder has some techniques for race conditions, and to my knowledge atm, Caido can't do the single packet http 2 technique yet, nonetheless I still use this often without wanting to do race condition stuff.
Screenshots:

I love this idea. Will see what's possible after EvenBetter v2.3 release :D Added to the EvenBetter TODO list


Change CLI command to publish-data-blob

Motivation
We're actually only publishing data blobs through that command
Proposal
Alter the command name so it's a better description of what's happening
Test Plan
CI

#2424  👈
main

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

Join @andresilva91 and the rest of your teammates on  Graphite

Merge activity

Aug 29, 1:37 PM EDT: @andresilva91 started a stack merge that includes this pull request via Graphite.


Call $apply instead of $digest directly

I have an instance where I need the dropdown to change values that are in a parent scope to the one which the control uses. Because we use $digest, this causes issues with updating the variable that is the parent scope. I know that using $digest is a performance optimization, but I think it's short-sighted to force the user to use the control only for variables which live on it's scope. Can we change the $digest calls to $apply, or at least have $digest as the default with the option to use $apply? What's your thoughts? I will submit a PR once we come to a decision.

Just a head's up, this look to be the reason for #34


Merge consul and instance-recovery features

Summary of changes

Move consul-related files into /instance-recovery
Update consul unit tests to be general instance-recovery tests
Remove 'sunbeam enable consul' function test from build-snap.yaml

@hemanthnakkina I updated the ConsulFeature object to consist of static methods that are simply called by InstanceRecovery when needed. I am noticing that the "Feature consul not found" message is still appearing then running sunbeam enable instance-recovery. Any thoughts on why this might be? I have this marked as draft for now.

Maybe its because manifests/edge.yml is not updated. Remove consul feature and add necessary charms under instance-recovery.
instance-recovery feature should not exist in rest of the yml files in manifest as this feature is supported only in edge.

LGTM, nice work!


ERROR: Command errored out with exit status 1

Getting an error on Windows 10 with venv py 3.9
partial error list:
nmslib.cc(454): error C2017: illegal escape sequence
  nmslib.cc(454): error C2001: newline in constant
  nmslib.cc(459): error C2059: syntax error: 'pybind11::enum_<similarity::DistType>'
  nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
----------------------------------------------------------
ERROR: Failed building wheel for nmslib
  Running setup.py clean for nmslib
Failed to build nmslib
Installing collected packages: nmslib, conllu, scispacy
    Running setup.py install for nmslib ... /
---------------------------------------------------------
ERROR: Command errored out with exit status 1: ....

This looks an nmslib error not a scispacy error, can you do:
pip install nmslib and see what happens ?

I just did again, and that is the error I get ...
nmslib.cc(454): error C2017: illegal escape sequence
  nmslib.cc(454): error C2001: newline in constant
  nmslib.cc(459): error C2059: syntax error: 'pybind11::enum_<similarity::DistType>'
  nmslib.cc(730): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit code 2
----------------------------------------------------------
ERROR: Failed building wheel for nmslib
  Running setup.py clean for nmslib

Closing as an nmslib issue.


Choose the reset type

Thank you for developing the awesome plugin!
Sometimes I want to adjust the work/break time. I found the timer is always reset to the start of the current state when I press the reset button. That is, when the timer is running for "work", it will return to the start of the work state. However, it seems the min time duration in the settings is limited to 1 minute, which means I have to wait for at least 1minute to start from another state. I think it's kind of inconvenient. Would you mind making the reset state switchable? Thank you very much.

Hi, you can click the break/work text on the timer to switch the session after reset


when i execute "python vid2vid/main.py ", something wrong happend

Traceback (most recent call last):
File "/root/autodl-tmp/project/StreamDiffusion/examples/vid2vid/main.py", line 106, in
fire.Fire(main)
File "/root/miniconda3/envs/streamdiffusion/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/root/miniconda3/envs/streamdiffusion/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/root/miniconda3/envs/streamdiffusion/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/root/autodl-tmp/project/StreamDiffusion/examples/vid2vid/main.py", line 99, in main
video_result[i] = output_image.permute(1, 2, 0)
RuntimeError: The expanded size of the tensor (364) must match the existing size (600) at non-singleton dimension 1.  Target sizes: [604, 364, 3].  Tensor sizes: [360, 600, 3]

replace line 99 :
video_result[i] = output_image.permute(1, 2, 0)
with:
video_result[i] = torch.permute(output_image, (2, 1, 0))

thanks


/etc/postfix/sender_access not created

Running radia_run vagrant-rsconf-dev I get this error:
curl -L -s -S -n file:///home/vagrant/src/radiasoft/rsconf/run/srv/host/v3.radia.run//etc/postfix/sender_access
curl: (37) Couldn't open file /home/vagrant/src/radiasoft/rsconf/run/srv/host/v3.radia.run//etc/postfix/sender_access
tail: cannot open ‘/root/radia-run-install.log’ for reading: No such file or directory
Unexpected error; Install failed.

@robnagler what's the proper behavior when whitelist_senders is empty? The sender_access file will be empty. And empty files aren't written. We then try to pull over this empty file that doesn't exist which blows up.

Looks like that line should be: file_contents is None

Thanks


Need to write a test/validation function for the class GaussianLinearModel

Aim
Either make a change in the abstract class api by having a test method, or make a separate test class which takes a model and a test set and carries out validation on the test set. We should also ideally add a  n fold cross validation function for a graph model, when no separate test set is available.
Notes
The nodes in GaussianLinearModel are labeled using the gremlin setProperty() method, maybe we can create a new apply() function (overload it) in the GaussianLinearModel object to take a training set and test set, create nodes for the test set data points and add them to the graph obejct as well. We can have separate labels for each of the training and test points.

Done partially in 0b1480c1fc2f0e4187435aa8aa74b41b310f15ed


Is SSE2 required? Can it not be?

Running jest with jest_workaround on an Apple Macbook Pro with an M1 Pro, I get:
thread '<unnamed>' panicked at 'failed to invoke plugin: failed to invoke plugin on 'Some("/Users/...path redacted.../dev/jest-setup-framework.js")'

Caused by:
    0: Failed to create plugin instance
    1: missing requires CPU features: "EnumSet(SSE2)"', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/swc-0.245.20/src/plugin.rs:228:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
 FAIL  test/models/article.db.test.js
  ● Test suite failed to run

    failed to handle: failed to invoke plugin: failed to invoke plugin on 'Some("/Users/...path redacted.../dev/jest-setup-framework.js")'

    Caused by:
        0: Failed to create plugin instance
        1: missing requires CPU features: "EnumSet(SSE2)"

      at Compiler.transformSync (node_modules/@swc/core/index.js:241:29)
      at transformSync (node_modules/@swc/core/index.js:348:21)
      at Object.process (node_modules/@swc/jest/index.js:73:45)
      at ScriptTransformer.transformSource (node_modules/@jest/transform/build/ScriptTransformer.js:542:31)
      at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:671:40)
      at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:723:19)

I don't know much about Rust, but it looks like maybe something is requiring SSE2? Could the build config be altered to not require it, or use ARM64 equivalents when building on that architecture?

@kdy1 @kwonoj Do you have any idea about this issue?

Are you using m1?
SSE is required for x86 but not m1

Can you check your node_modules?
I think you are using binary for x86.
Did you install node js for x86 with Rosseta?

I've installed node for arm64, and as far as I can tell, it is being used for running jest.
$ which jest
./node_modules/.bin/jest

Contents of ./node_modules/.bin/jest:
#!/usr/bin/env node
/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

const importLocal = require('import-local');

if (!importLocal(__filename)) {
  require('jest-cli/bin/jest');
}

node arch:
$ /usr/bin/env node
Welcome to Node.js v16.13.0.
Type ".help" for more information.
> process.arch
'arm64'

https://github.com/swc-project/swc/blob/5a598140c1c017bcde067781266c69a1fc51719a/crates/swc_plugin_runner/src/cache.rs#L243-L261 is all I know

This was resolved by removing the project's .swc directory, which had been checked into source control. If that directory is used for caching, it might make sense to include arch as part of the cache key.


War file for 1.0.15 release missing?

Will you be providing a war file for 1.0.15 and future releases?

Added. Sorry about that!

Thank you!


Problems with input disappearing

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.1
OS Version: macOS Ventura 13.0(Apple M1 Max)

Steps to Reproduce:

When I run it for the first time after booting, some of the letters typed on the keyboard (Korean) disappear.

Shutting down and running the program again resolves the problem.

What is the problem?

/duplicate #166158

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

@ZeroOnePro Yes, a screen recording accompanied by a detail explanation of what keys to press would be very helpful. Here's an example of good descriptions which allow us to reproduce issues in this area: https://github.com/microsoft/vscode/wiki/IME-Test#windows-korean

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


[T000475] Rep David Trott

Newly elected to the 114th, but no yaml was made via script. Happy to make a blank file, but what's the correct process here?

nm, missed #1334 somehow


Add changelog collection

Just a test

Testing multiline string testing with single new line testing with double new line


Hide bot token from public view and access

Exposing bot token for public would allow easy hijack of the bot. In
addition, assuming the best in everyone and we say no one will do
malicious act, it would not allow for 2 developers to run the bot at the
same time while developing.

I already revoked the API token, i accidentally pushed it. And what do you mean by '2 developers to run the bot at the same time', if you mean 2 developer running the bot in the same API token, the token is already revoked.

Hey, although you removed the bot token from the file, the token is still visible from the history page. I think easiest thing to do is create a new bot to generate a new bot token and just read the token from another file (e.g token.js) and add the token.js file to .gitignore I guess you can share the token with other trusted developers or make a private repository.

I already revoked the API token, i accidentally pushed it. And what do you mean by '2 developers to run the bot at the same time', if you mean 2 developer running the bot in the same API token, the token is already revoked.

I meant  running more than one instance of the bot with same token.
Its good that it is revoked that is the intention any developer who needs to run it should create his own token. No token should be included in the code.

Hey, although you removed the bot token from the file, the token is still visible from the history page.

Yes that's why git is there to track changes. Removing the token is not complete until you change the token using botfather.

I think easiest thing to do is create a new bot to generate a new bot token and just read the token from another file (e.g token.js) and add the token.js file to .gitignoreI guess you can share the token with other trusted developers or make a private repository.

Creating a bot to generate a bot token is too much work. In addition that is the job of botfather. We just have to make sure no token is included in the code. When any developer needs to run the bot he just has to create his own token and run an instance of the bot with the new token he created.
In order to add the token to environment variables we can use dotenv package. The only addition required is to add a .env file at the root directory that is not included in source control.
This just reminded me to add .env exception to .gitignore.


Fw 5465 flashcards styling

Description of Changes
styled flashcards to be more in line with fv-web and pulled in colors from fv-web to tailwind.config
Checklist
[] README / documentation has been updated if needed
[x] PR title / commit messages contain Jira ticket number if applicable
[] Tests have been updated / created if applicable
Reviewers Should Do The Following:
[x] Review the changes here
[] Pull the branch and test locally
Additional Notes
N/A

needs to merge to dev first


feat: 🎸 give the software more freedom with gpl

Went with AGPL-3.0 or any later version as opposed to GPL as I suspect Alphabet will try to absorb these into the cloud later and close them off using the loopholes in the GPL. Using AGPL helps mitigate that issue thanks to paragraph 13.
Note no explicit license is provided for visual assets as outlined in the README. Therefore, no rights are given for those particular items. Given we started from a boilerplate and not a more complex work I do not recommend adding file headers to each file indicating the license.
For more information on licenses and license compatibility with GPL please see:
https://www.gnu.org/licenses/agpl-3.0.en.html

closed by https://github.com/inblockio/VerifyPage/commit/4b81626353249d7a38a4d070376d2f793225fb1b


Getting "no step matching" error when executing BDD based test

This is my .feature file
Feature: Login to ASPEN
**Scenario Outline: Login to app with credentials
Given Hit the URL
Given Enter
Given Enter
When I click on login button
Then On successful login result is user is navigated to the landing page
Examples:
|url  | username | password |
|http://test.abc.com |<EMAIL_ADDRESS>| Password1@ |**
This is my .js file
const I = actor();
// Add in your custom step files
Given(/^Hit the URL "([^"]*)"$/, async function(url) {
I.amOnPage(url);
I.wait(5);
});
Given(/^Enter "([^"]*)"$/, async function(username){
I.fillField('#email',username);
});
Given(/^Enter "([^"]*)"$/, async function(password){
I.fillField('#password',password);
});
When('I click on login button', () => {
I.click('#submit');
});
Then('On successful login result is user is navigated to the landing page', () => {
I.see("My Protfolio");
});
I am getting this error
C:\bdd\tests>codeceptjs run --steps --features
CodeceptJS v1.3.3
Using test root "C:\bdd\tests"
Login to ASPEN --
Login to ASPEN with credentials {"url":"http://test.aspenengine.com","username":"yoginiu@valueaddsofttech.com","password":"Password1@"}
× FAILED in 280ms
-- FAILURES:

Login to ASPEN
Login to app with credentials {"url":"http://test.abc.com","username":"yyy@gmail.com","password":"Password1@"}:
No steps matching "Hit the URL http://test.aspenengine.com"

Run with --verbose flag to see NodeJS stacktrace

Could you try this
`Given(/^Hit the "([^"]*)"$/, async function(url) {
I.amOnPage(url);
I.wait(5);
});`

@yupadhye The way you wrote your cucumber file tells me that you forgot to pass in the values as well.
Try:
Feature: Login to ASPEN

**Scenario Outline: Login to app with credentials
Given Hit the URL "<url>"
Given Enter "<username>"
Given Enter "<password>"
When I click on login button
Then On successful login result is user is navigated to the landing page

Examples:
|url | username | password |
|http://test.abc.com |<EMAIL_ADDRESS>| Password1@ |**

Advanced Gherkin

Similar issue
            Scenario Outline: all vendors @test
                Given the user is on the "New Invoice" page
                When the invoice has header info <VendorName> and <InvoiceNumber>
                And entered line item with the information
                | Quantity | CostPer   |
                |    10    |   ?2.00   |
                And Leaving "Account" field blank
                And Click  "Create" at the bottom of the page
                Then User should see an Error message "The following required fields are missing for items: Account."
            Examples:
            | VendorName | InvoiceNumber |
            | 24 Locks | 261118_001 |

When(/the invoice has header info (\.+) and (\.+)/, async (VendorName,InvoiceNumber) => {
  // From "features/Invoice.feature" {"line":14,"column":17}
        // take values
        const _VendorName = VendorName;
        var date = new Date();

        const InvoiceName = InvoiceNumber;
        var _invoiceName = `${InvoiceName+'-'+date.getDate()+'-'+date.getHours()+'-'+date.getMinutes()+'-'+'QAT'}`

        await Promise.all([
          I.click('create an invoice without a document.'),
          //I.see('Invoice Details'),
          I.waitForNavigation({ waitUntil: 'domcontentloaded' }),
          I.waitForText('Invoice Details', 1),
          I.fillField('inv-vendor-name', _VendorName),
          I.pressKey('Tab'),
          I.waitForVisible('.inv-po-number-input-0',1)
        ]);

        await Promise.all([
          I.pressKey('Tab'),
          I.waitForInvisible('.inv-po-number-input-0',1),
          I.fillField('inv-invoice-number', _invoiceName)
        ]);
});

Error is get No steps matching "the invoice has header info 24 Locks and 261118_001"

Hey @innovation-ap,
Interesting approach you have there. I personally have never seen or heard of an approach like this actually working.
What confuses me and probably also cucumber is your feature steps.
Scenario Outline works with Examples tables, however the value table passed in for step 3 does not require scenario outline.
You can try changing your cucumber sentenced in the method declaration as such and see if it works as expected:
When("the invoice has header info {stringInDoubleQuotes} and {stringInDoubleQuotes}", async (VendorName,InvoiceNumber) => {

your feature step would need to look like this:
When the invoice has header info "<VendorName>" and "<InvoiceNumber>"

Let me know if this fixed your issue.

@yupadhye The way you wrote your cucumber file tells me that you forgot to pass in the values as well.
Try:
Feature: Login to ASPEN

**Scenario Outline: Login to app with credentials
Given Hit the URL "<url>"
Given Enter "<username>"
Given Enter "<password>"
When I click on login button
Then On successful login result is user is navigated to the landing page

Examples:
|url | username | password |
|http://test.abc.com |<EMAIL_ADDRESS>| Password1@ |**

Advanced Gherkin

Can someone provide the step definition for this Scenario Outline. Am trying to implement codeceptjs and struck at this stage ?

I got the same trouble and still stuck there

Same issue with no solution as of now :(
Can someone from the CodeceptJS team please help!!

This is how I solved:
Feature:
Then I should see the following main menu items "<MenuItems>"

		Examples:
			| MenuItems |
			| Menu One |
			| Menu Two |

Step:
Then('I should see following main menu items {string}', (mainMenuItem) => {
I.see(mainMenuItem);
}


fixes for s360 errors under a new api version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[x] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Please publish this PR (take it out of draft mode) when its ready and @ me for an ARM API review

@vasundhraManhas your PR contains cross version breaking change https://github.com/Azure/azure-rest-api-specs/pull/17190/checks?check_run_id=4666962430 and need do breaking change review.

@vasundhraManhas your PR contains cross version breaking change https://github.com/Azure/azure-rest-api-specs/pull/17190/checks?check_run_id=4666962430 and need do breaking change review.

@zhenglaizhang
the following are the 3 errors in cross-version problem
a) for the 1005-RemovedPath error, we have removed the mentioned operations API from datamigration.json (which was the latest stable swagger) but we have added this path in the sqlmigration.json (the new preview version) and we will make changes so that operations api request always goes to the new endpoint and returns both the old and new operations. Since we are keeping both datamigration.json and sqlmigration.json in the 2022-01-30-preview folder, will that be fine or is it still a breaking change problem?
b) for the 1006-RemovedDefinition error, there is no information being provided regarding the error . clicking on the provided links opens a page not found tab . Any suggestions here?
c) for the 1007-RemovedClientParameter error, again the referred parameter was removed from datamigration.json but it is there in sqlmigration.json and datamigration.json is referring to this parameter from sqlmigration.json (something like this : "$ref": "./sqlmigration.json#/parameters/SubscriptionIdParameter" ) . So, should this be fine too ?
We had these exact same issues in our previous PR (for 2021-10-30-preview version) and they got a pass without the breaking change review process. Here's the PR:  https://github.com/Azure/azure-rest-api-specs/pull/16032/checks?check_run_id=4555175737

Please publish this PR (take it out of draft mode) when its ready and @ me for an ARM API review

@pilor  Hi, the PR is ready for review

/azp run

/azp run

This guidance was not followed (from PR description):  "To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits."
Please rebase to accomplish that or point out which files have actual changes vs. the previous API version

This guidance was not followed (from PR description): "To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits."
Please rebase to accomplish that or point out which files have actual changes vs. the previous API version

@pilor  Hi, these are the actual files changed:-

Common.json
Projects.json
Services.json
Tasks.json
MigrateSchemaSqlServerSqlDbTask.json
MigrateSqlServerSqlDbTask.json
MigrateSqlServerSqlMITask.json
TasksCommon.json
ConnectToSourceSqlServerTask.json
MigratePostgreSqlAzureDbForPostgreSqlSyncTask.json

A list of properties added/deleted/modified in these files can be found in the table here : https://msdata.visualstudio.com/Database Systems/_workitems/edit/1564885

I checked with breaking change owner and removing path needs to do review, you can present to breaking change review board to get approval

/azp run

/azp run

/azp run


index.html

 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.:x: dennismasinde sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Check Git branch naming conventions.

Check for the use of common Git naming practices like "features/name" or "v3.3"

I'm not so sure about this one.
I think it might be a little too individual.
@basicallydan what do you think?

actually, that is true. feature branches can exist on the fork,  but are not required from the origin.

Hey @thinkingmedia I'm afraid I agree with @M-Zuber. Sorry to burst your bubble. Thanks for the suggestion though, we do really appreciate it :+1:

No problem. I can see how this would be a personal preference.


fix(storybook): fix package.json, use module.hot api

Summary
Fix types exports in package.json
use module.hot, as rspack do not support import.meta.hot

🤖 Generated by Copilot at 837d40d
This pull request fixes the TypeScript type resolution and the hot module replacement for the @modern-js/storybook and @modern-js/storybook-builder packages. It reorders the exports fields in the package.json files and uses module.hot instead of import.meta.hot in the virtual module template. It also adds a changeset file to automate the release process.
Details

🤖 Generated by Copilot at 837d40d

Add changeset file to specify patch versions and summarize fix for @modern-js/storybook and @modern-js/storybook-builder packages (link)
Reorder exports subfields to put types first, followed by jsnext:source and default in package.json files of both packages to fix TypeScript resolution issue (link, link)
Replace import.meta.webpackHot with module.hot in virtual module template for modern entry point to enable hot module replacement with esbuild-loader (link)

Related Issue

Checklist

[x] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

!canary

!canary


Differentiation rule for 'create_token'

Over on mpi4jax we use create_token to force a sequential dependence on MPI operations.
I would like to compute gradients of functions that call MPI operations (the use case TLDR is to use in jax linear solver custom distributed matrix multiplications).
So to compute the gradient I need to differentiate create_token.
As the derivative does not really make sense here, it would be possible to return a strong zero.
Does this make sense to you?

Something along the lines of
from jax.lax import create_token, zeros_like_array
from jax.lax.lax import create_token_p
from jax.interpreters import ad

def create_token_value_and_jvp(in_args, tan_args):
    x, = in_args
    res = create_token(x)
    jvp = zeros_like_array(x)
    return (res, jvp)

ad.primitive_jvps[create_token_p] = create_token_value_and_jvp

As you say, there isn't a derivative here, so we shouldn't define a false one. JAX allows differentiation with respect to only some function inputs. At the user level, this corresponds to passing argnums to functions such as grad. Does this resolve things within your use case?

this does not resolve our issue.
The function I want to differentiate is:
def Allreduce(x, op, comm=_MPI.COMM_WORLD, token=None):
    """
    if token is None:
        token = jax.lax.create_token(x)

   result, new_token = mpi_allreduce_p.bind(x, token, op=op, comm=comm)
   return result, new_token

(token is used to enforce a data dependency, because jax might reorder MPI operations).
We have implemented gradients for mpi_allreduce_p. If an user calls Allreduce by passing token kwarg a gradient can correctly be computed.
>>> arr = jnp.ones((3, 2))
>>> token = jax.lax.create_token(arr)
>>> res, grad = jax.value_and_grad(lambda x: mpi4jax.Allreduce(x, op=MPI.SUM, token=token)[0].sum())(Sto arrivando!)
>>> res, grad = jax.value_and_grad(lambda x: Allreduce(x, op=MPI.SUM, token=token)[0].sum())(arr)
>>> res
DeviceArray(6., dtype=float32)
>>> grad
DeviceArray([[1., 1.],
             [1., 1.],
             [1., 1.]], dtype=float32)

However, if I don't pass in the token, even with argnums jax will still attempt to differentiate through the jax primitive create_token:
>>> res, grad = jax.value_and_grad(lambda x: Allreduce(x, op=MPI.SUM)[0].sum(), argnums=0)(arr)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 1, in <lambda>
  File "/Users/filippovicentini/Dropbox/Ricerca/Codes/Python/mpi4jax/mpi4jax/collective_ops/allreduce.py", line 52, in Allreduce
    token = jax.lax.create_token(x)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/lax/lax.py", line 5703, in create_token
    return create_token_p.bind(x)
jax.traceback_util.FilteredStackTrace: NotImplementedError: Differentiation rule for 'create_token' not implemented

The stack trace above excludes JAX-internal frames.
The following is the original exception that occurred, unmodified.

--------------------

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

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/traceback_util.py", line 136, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/api.py", line 811, in value_and_grad_f
    ans, vjp_py = _vjp(f_partial, *dyn_args)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/api.py", line 1856, in _vjp
    out_primal, out_vjp = ad.vjp(flat_fun, primals_flat)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/interpreters/ad.py", line 110, in vjp
    out_primals, pvals, jaxpr, consts = linearize(traceable, *primals)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/interpreters/ad.py", line 97, in linearize
    jaxpr, out_pvals, consts = pe.trace_to_jaxpr(jvpfun_flat, in_pvals)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/interpreters/partial_eval.py", line 1095, in trace_to_jaxpr
    jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/linear_util.py", line 150, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
  File "<stdin>", line 1, in <lambda>
  File "/Users/filippovicentini/Dropbox/Ricerca/Codes/Python/mpi4jax/mpi4jax/collective_ops/allreduce.py", line 52, in Allreduce
    token = create_token_jax(x)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/lax/lax.py", line 5703, in create_token
    return create_token_p.bind(x)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/core.py", line 1571, in bind
    out = top_trace.process_primitive(self, tracers, params)
  File "~/pythonenvs/mpi4jax_env/lib/python3.7/site-packages/jax/interpreters/ad.py", line 254, in process_primitive
    raise NotImplementedError(msg)
NotImplementedError: Differentiation rule for 'create_token' not implemented

It's helpful to see the code example now, and in particular the token's dependence on x. If you replace the statement token = jax.lax.create_token(x) with:
token = jax.lax.create_token(jax.lax.stop_gradient(x))

I'd expect things to work as you intend. Do they?

yes! thanks a lot. That indeed solves the issue.
I had not thought about that...

As of #4330, you should no longer need to make that stop_gradient call yourself.

@froystig Sorry to reopen this issue, but I recently came across the need to have a linear_transpose rule for create_token.
The rationale is similar to what I had argued in the original post: we compute the transposition of some MPI reduction operation.
While now create_token includes stop_gradient, stop_gradient does not stop the transposition so the issue arises.
In general i'd argue that stop_gradient should not stop the transposition.
Moreover, for this operation, the transposition could either be 'stopped' (by a stop_transpose function) or simply return an hard zero?
@cc inailuig

I've opened #5218 to remove these tie-in operands altogether under omnistaging. Once that's done, we can avoid having to think about "transposing" create_token at all.

#5223 went in, closing #5218. You can now pass no arguments to create_token, and there won't be a need to transpose it.


Mainnet and calibnet faucets live under separate URLs

Summary

As mentioned in https://github.com/ChainSafe/forest-explorer/issues/32#issuecomment-2458962011, calibnet nad mainnet faucets should not live on a single page but have dedicated ones.
Completion Criteria

[ ] Forest Explorer displays faucets for different networks on separate pages

Additional Links & Resources

Consideration: should this be a separate deployment? @lemmih

Consideration: should this be a separate deployment? @lemmih

Would be nice to have, but likely not needed for the initial release.


Log parsing errors using log pkg.

Gets rid of annoying stderr messages. Consistent with the rest of the file.

This change is

This API is only intended for use with generated messages from protoc-gen-go, how were you able to trigger these failures in the first place?

This comes up a lot when trying to render Kubernetes psuedo-protos. Specifically this: https://github.com/kubernetes/apimachinery/blob/7b3d41122501114701f8d013ea1d9533f60c5dd5/pkg/apis/meta/v1/time.go#L34

Looks like history got overwritten. @dsnet should i re-open this or send it to some other repo?

We don't support message types other than the ones produced by protoc-gen-go, and I don't think we should set a precedent of accepting changes to support those types.

Hi Damien,
Not asking to support my special case - simply correcting what seems like
an inconsistency in this package which just so happens to present itself in
my admittedly non-standard use case.
Thanks,
-Dmitry
On Wed, May 15, 2019 at 2:54 PM Damien Neil<EMAIL_ADDRESS>wrote:

We don't support message types other than the ones produced by
protoc-gen-go, and I don't think we should set a precedent of accepting
changes to support those types.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/protobuf/pull/829?email_source=notifications&email_token=AAF3KACYXHZZYXRALAA2SNTPVSBAHA5CNFSM4HDCLK72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVQBYEY#issuecomment-492837907,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF3KAGMUKYDKC7EXTW5ZV3PVSBAHANCNFSM4HDCLK7Q
.

That's fair, and on a second look I do see that there are a lot of log.Print calls. We should be consistent. Go ahead and re-open this. (It was accidentally closed due to a config error--sorry!)
FWIW, the in-development revision of the package API neither logs nor prints.

Thanks for taking a look, @neild. Re-opened as #851.


Search requires the user to hit enter to trigger

Not the worst thing, but would be great to automatically trigger a search after a user has stopped inputting into the field.
Currently in order to trigger a search, they must hit the enter key after filling out the search field.
Pre Enter:

Post Enter:

@dstraffon
Part of the justification here is that entering a search will trigger an API call. So the tradeoff is the feeling of responsiveness for the user vs sparing costs to the app. Same tradeoff has now come up for the page change on the collection explorer page, although that one is responsive and doesn't require an enter.
I am down to make the search responsive, but let me know first if you think that this is still a good idea

Makes sense. I do like the responsiveness for collection search but think it's less necessary when it comes to searching by serial number. Would be fine saving on api calls when it comes to the collection page and requiring a trigger to execute the search.
Thinking if we keep it this way it would probably be good to add a search button in addition to the "enter" key to trigger search, just so users aren't expecting instant results.

Think search button should go right next to the search bar or have the
sorts in between?
On Mon, Apr 24, 2023 at 4:33 PM dstraffon @.***> wrote:

Makes sense. I do like the responsiveness for collection search but think
it's less necessary when it comes to searching by serial number. Would be
fine saving on api calls when it comes to the collection page and requiring
a trigger to execute the search.
Thinking if we keep it this way it would probably be good to add a search
button in addition to the "enter" key to trigger search, just so users
aren't expecting instant results.
[image: Image]
https://user-images.githubusercontent.com/25757801/234109424-87293702-fe81-43b9-bb9d-19e3f50e6501.png
—
Reply to this email directly, view it on GitHub
https://github.com/unbounded-enterprise/sample-app/issues/42#issuecomment-1520790534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6AR3R4M4FTTP7CAFHDBMTXC3PR5ANCNFSM6AAAAAAXJZKL4E
.
You are receiving this because you authored the thread.Message ID:
@.***>

Assuming the sort function also requires an enter to trigger then I think I prefer the search button all the way to the right so it's the last component in the sequence if that makes sense. Sharing two alternate versions for comparison though


PEAR-1561 : Cohort Builder non-days range values being converted to years

Description
pear-1561

Seems to work for me. Could you add some unit tests since we have tests for adjustYearsToDays but I didn't see any for adjustDaysToYears?


Download the full dataset

Hi, In the nff train, you show your results on a 600-small set.
Where can I find the function returning the train, test,val data loaders of the 100K dataset?

Which dataset are you referring to?


user sessions

Hello,
when yakuake is started with my user, regular-user.
i switch my session to root
sudo su

after that i run:
yakuake-session -t "Test title"

Two instances of yakuake are started.
regular-user   23421  1.3  0.4<PHONE_NUMBER>4 ?        Sl   10:25   0:31 yakuake
root     27520  3.6  0.2<PHONE_NUMBER>0 pts/29   Sl   11:03   0:00 yakuake

Second instance is started by root user. I expected that one instance run with 2 tabs

Hi,
Thank you for your report.
I only have a question. Do you expect the second tab is open as root or as regular user?

To avoid a second instance of Yakuake, the dbus instance of regular user must have to be accesible from root session.
Ok, we know we are in a root session inside a regular session thanks to SUDO_UID and SUDO_USER. The file <REGULAR_USER_HOME>.dbus/session-bus/ contains the variables to connect to the user dbus. But dbus refuses some connection attempts because the session EUID (root) doesn't match with the dbus user (regular user).
http://stackoverflow.com/questions/6496847/access-another-users-d-bus-session
The script must call seteuid(<REGULAR_USER_UID>) but I think it can't be done from BASH. I need to use some tool or scripting language with a seteuid() wrapper. For example, Perl.


Could not generate kibana dash for Test rule match: Could not parse filter

My rule is working just fine but I can't generate Kibana links. The rule is this:
es_host: "localhost"
es_port: 9200
index: "logstash-*"
name: "Test rule"
type: "frequency"
alert:
  - "slack"
description: "This is just a test"

generate_kibana_link: true
use_kibana4_dashboard: "http://crcmon1/app/kibana#/dashboard/Default"
kibana_url: "http://crcmon1/app/kibana"

slack_webhook_url: 'removed'

num_events: 1
timeframe:
  minutes: 5
filter:
  - query_string:
      query: ident:drupal* AND (@log_name:"syslog.local0.err" OR @log_name:"syslog.local0.emerg")
      analyze_wildcard: true

The full error message:
elastalert_error - {'message': 'Could not generate kibana dash for Test rule match: Could not parse filter {\'query_string\': {\'query\': \'ident:drupal* AND (@log_name:"syslog.local0.err" OR @log_name:"syslog.local0.emerg")\', \'analyze_wildcard\': True}} for Kibana', 'traceback': ['Traceback (most recent call last):', '  File "/usr/local/lib/python2.7/dist-packages/elastalert-0.0.75-py2.7.egg/elastalert/elastalert.py", line 909, in send_alert', '    kb_link = self.generate_kibana_db(rule, matches[0])', '  File "/usr/local/lib/python2.7/dist-packages/elastalert-0.0.75-py2.7.egg/elastalert/elastalert.py", line 783, in generate_kibana_db', '    kibana.add_filter(db, filter)', '  File "/usr/local/lib/python2.7/dist-packages/elastalert-0.0.75-py2.7.egg/elastalert/kibana.py", line 221, in add_filter', '    raise EAException("Could not parse filter %s for Kibana" % (es_filter))', 'EAException: Could not parse filter {\'query_string\': {\'query\': \'ident:drupal* AND (@log_name:"syslog.local0.err" OR @log_name:"syslog.local0.emerg")\', \'analyze_wildcard\': True}} for Kibana']}

Looks like we are having trouble with that filter?

I have the same issue with this filter
filter:
- query:
    query_string:
      query:
        "error.status.code:500"

This feature is only for Kibana 3, https://elastalert.readthedocs.io/en/latest/ruletypes.html?highlight=generate_kibana_link#generate-kibana-link, so it hasn't received much attention from me recently.
I see there is a slight bug, when using Elasticsearch 5 or 6 with this (would that even work with Kibana 3?), it will break if you are using query string filters.

@Qmando So how can generate the a kibana link with Kibana 6.2.3 ?

You can't

@Qmando then I think I can generate it my self if I can get the now the alert is fired on the alert_text
I there a way to do it?

You can do
alert_text: "https://kibana/{}"
alert_text_args: "@timestamp"


WIP Update just to test ci with podman

Signed-off-by: Brian Carey<EMAIL_ADDRESS>

Test successfully ran : https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/nmstate_nmstate/2070/pull-nmstate-integ_tier1-k8s/1583372208846147584


Instant Insights: Hover to Reveal Project Descriptions.

Instant Insights" enriches user experience by revealing project details upon hovering, fostering quick comprehension. Users effortlessly explore projects without the need for additional clicks, enhancing engagement and efficiency.

@Priya-49 Thank you for providing your insight but it is not required as of now.


Bluetooth Xbox Series Controller

Hello,
i'm trying to connect and use xbox wireless controller on my RG353M device. I had no problem with pairing it however bindings in games are wrong. LB is always select and RB start, there are also missing some buttons. How to configure it properly? Back button is hotkey but I'm not able to open retroarch menu as start doesn't do nothing(LB+RB+back+start also). When i configure controllers in emulationstation menu it doesn't change anything. Also i was trying to configure in retroarch launching it from menu but also there is no change in games. Pls help.

Hello,
See here: https://github.com/christianhaitian/arkos/issues/665

With all due respect but this does not "resolve" the bug.

Check
https://github.com/christianhaitian/arkos/issues/1064


Plugin is showing backslashes ("") instead of colons (":")

For some reason, the Approve plugin isn't working properly on my DokuWiki installation. It only works on pages located in the root namespace.
By placing the syntax component on a page, I could realize that backslashes (\) are shown instead of colons (:) and that hyperlinks to pages are broken.

With that in mind, I took a look at the code and found out that there are two replacement occurrences of / with : on that:

https://github.com/gkrid/dokuwiki-plugin-approve/blob/0c60a293fb92117ae4211b9e6d37af69354c10f0/admin.php#L41
https://github.com/gkrid/dokuwiki-plugin-approve/blob/0c60a293fb92117ae4211b9e6d37af69354c10f0/action/migration.php#L85

After replacing / with \\ in my files, the plugin started working as expected.

I'm not sure why this is happening on my installation, but I've considered important reporting the issue.
By the way, I'm running DokuWiki on a Windows 10 machine with AMPPS.

I've just tested the same scenario in a CentOS 7 machine, and I couldn't reproduce the issue. It seems it only happens in Windows or AMPPS environment.

@brsomartins pleas try the recent version of the plugin. Now it should support the Windows environment.


Getting GTDB taxID for newly generated MAGs

Hi there,
I have MAGs is generated from my own samples and annotated using GTDB-Tk. They have been de-replicated leaving me with a unique set which are not genetically close to any reference genome in GTDBr207. Can I use this tool to get taxIDs for my MAGs? I want to build a custom database with my MAGs and GTDB and for this I require taxIDs.
Its not clear to me if this is possible using this tool. Your help is greatly appreciated.
Kind regards,
P

Sure. This tutorial could be a reference.
Steps:

Exporting taxonomic lineages of taxa with rank equal to species from GTDB-taxdump, into tabular format.
 taxonkit list --data-dir gtdb-taxdump/R207/ --ids 1 --indent "" \
     | taxonkit filter --data-dir gtdb-taxdump/R207/ --equal-to species \
     | taxonkit reformat --data-dir gtdb-taxdump/R207/ --taxid-field 1 \
         --format "{k}\t{p}\t{c}\t{o}\t{f}\t{g}\t{s}" \
         -o gtdb.tsv

For the new MAGs, you need to prepare the full lineages in 7-column tabular format. You may create new species names.
 # custom.tsv
 $ cat custom.tsv
 A       B       C       D       E       F       G

Creating taxdump from lineages above.
 (cut -f 2- gtdb.tsv; cat custom.tsv) \
     | taxonkit create-taxdump \
         -R "superkingdom,phylum,class,order,family,genus,species" \
         -O taxdump

Some tests.
 $ echo G | taxonkit name2taxid --data-dir taxdump/
 G<PHONE_NUMBER>

 $ echo<PHONE_NUMBER> | taxonkit lineage --data-dir taxdump/ -r
<PHONE_NUMBER>      A;B;C;D;E;F;G   species

Thank you very much. This has worked perfectly

It was downloaded from here:
http://ftp.tue.mpg.de/ebio/projects/struo2/GTDB_release207/taxdump/
I am using another tool called Struo2 to generate a Kraken2 GTDB database and then update it with my custom MAGs. The creator of this tool says he produced this specific taxdump using your tool.

I see, the taxdump files in struo2 should be generated by @nick-youngblut with old versions of TaxonKit, which might produce different TaxId values for the same lineage.
I'm not sure whether @nick-youngblut performed other transforms cause TaxonKit began to save taxIds in int32 instead of uint32 since v0.14.0 (Nov 28, 2022), as BLAST and DIAMOND do since v0.14.0 (Nov 28, 2022).
Or you can also try v0.12.0, which should be the version he used, and regenerate new taxdump files.

I'm not sure whether @nick-youngblut performed other transforms cause TaxonKit began to save taxIds in int32 instead of uint32 since v0.14.0 (Nov 28, 2022), as BLAST and DIAMOND do since v0.14.0 (Nov 28, 2022).

I did not conduct any transformations. I used the taxdump as-is for GTDB-r207. The taxdump files were downloaded in June 2022.


🐛 Subnet does not use the specified CIDR

What this PR does / why we need it:
Right now the Subnet is created with the same CIDR as the whole network. This breaks native routing inside the Network, as the full range of the network is blocked by the Subnet. There is already a field for the subnet that should be used instead: SubnetCIDRBlock.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #612
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

I guess the tests failed because of this issue: https://github.com/kubernetes/release/issues/2862
The mentioned URL is used in the preKubeadm scripts for the failed tests.
https://github.com/syself/cluster-api-provider-hetzner/blob/a2e5c2328e9b6eb9f3fd3b8682d0f79e6c9a95b9/templates/cluster-templates/bases/hcloud-kcp-ubuntu.yaml#L208
https://github.com/syself/cluster-api-provider-hetzner/blob/a2e5c2328e9b6eb9f3fd3b8682d0f79e6c9a95b9/templates/cluster-templates/bases/hetznerbaremetal-kcp-ubuntu.yaml#L227
@janiskemper As the incident is over, could you retry the jobs?

That's correct ;) I also investigated this issue yesterday :D

Thanks :)
I just stopped working on hcloud-cloud-controller-manager yesterday, no fun if all e2e tests are broken.
Another good reason to pre-build the images using packer for production :+1:


Quarkus CDI add support for Primary beans

Describe the feature here
If Quarkus has a similar concept like Spring with @Primary beans then it would be good to add support for this too.
Here is how we did this for camel-spring
https://github.com/apache/camel/blob/main/components/camel-spring/src/main/java/org/apache/camel/spring/spi/ApplicationContextBeanRepository.java#L88
The method findSingleByType needs to favour the @Primary bean if there are 2+ beans of the same type.

I think there is no such Primary beans in Quarkus. @mkouba is there any plan to add this support or similar way in Quarkus CDI?

I don't know how exactly the "primary beans" work but in Quarkus you can inject multiple beans of the same type with @Inject @All List<Foo> foos/Arc.container().listAll() and the list is sorted by priority as defined by io.quarkus.arc.InjectableBean#getPriority(); higher priority goes first.
The @jakarta.annotation.Priority annotation can be used to assign the priority to a class bean, producer method or producer field. The priority is also honored if using the programmatic lookup via jakarta.enterprise.inject.Instance.

@davsclaus It seem there are some changes in https://github.com/apache/camel/blame/main/core/camel-support/src/main/java/org/apache/camel/support/DefaultRegistry.java to override public <T> T findSingleByType(Class<T> type) method. So this funtionality should be only in camel 4.2.0-SNAPSHOT?

Yes its only a change for 4.2 onwards


Default template ignores description

the default template has A VitePress Site hardcoded for the description, so without creating a template manually, users will not get their custom description from the settings object.

so, we need another REPLACE_ME call here, with the content coming from description in index.md? and if not available have a better default? like A site for "package_name" 😄 .

I merged #152 to fix that, it's just that the REPLACE_ME wasn't in the template.  Should be fixed now.


Debian Package Build

While packaging Redsea for the use with OpenWebRX+, I have created this Debian package build. Pushing it upstream, to save everybody else time. When merging, please, replace my name in debian/changelog with yours.

Of course, both need to be changed, since they currently list me as the maintainer, which is not true.

Are you sure you want to have redsea in the category "hamradio"?
And I propose to write "Radio Data System" as well to the text.

Yes, hamradio is fitting

A quick look at Ubuntu repositories shows that similar packages (dablin, rtl-433, multimon-ng) are all classified as "hamradio", so I guess the category is ok.
As to the name, it is up to the author how to name the thing.


In README.md file, 'fastapi run' command gives error

@chrismclarke The top-level README.md file contains the following Windows installation instructions:
    python -m venv .venv
    .\.venv\Scripts\Activate.ps1
    pip install -r requirements.txt
    fastapi run

The last line gives me an error.
Should it be something like uvicorn app.main:app --reload?
Or have I missed something?

FYI, the error was 'The term 'fastapi' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.'.
I would normally start to investigate the path, but I remembered that for Open CDMS we ran uvicorn so I thought I'd check with you first.

The cmdlet error usually means windows wasn't able to find the executable from the list of PATH environment variables, so could be an issue with how the virtual environment handles such things, and whether there's any inconsistencies with different versions of windows, python, fastapi etc.
It still works on my local machine, but I'd say no point deep-diving this one too much. If running the direct uvicorn script works for you then I'd say feel free to update the docs accordingly


Feature Request: Require a key to view output

It would be great to require a key to be provided as part of the request header. This will make sure people don't just scan your site for vulnerable plugins.

@sergeifilippov This was next on my to-do list! It has been added in the latest release :)


Evaluate Flatcar Linux as a replacement for Ubuntu on Docker Swarm Worker nodes

Is your feature request related to a problem? Please describe.
(Re)starting secondaries in an existing Swarm causes new network connections, which results in CPU intensive cloud-init activity in the Ubuntu VMs running on GCP.
Describe the solution you'd like
Flatcar Linux is a distribution intended to be used for hosting containers, and it should avoid some of the problems we see with Ubuntu, and also provide additional benefits.
Describe alternatives you've considered
Track down why cloud-init is consuming so much resource and turn it off

Flatcar is now installed on canary-02 and canary-03 using a gcloud script and ignition file that replicates our runbook actions.
Next step is to put some load onto it.

Moving to PR26 for load testing aspect

This is dependent on #411 being completed.

Flatcar nodes are now part of monitoring dashboard.


Back Navigation and Language Selection Error

PHP Version
8.2
Shopware Version
<IP_ADDRESS>
Affected area / extension
Platform(Default)
Expected behaviour
Switching between languages should work correctly and not cause any issues.
Expected Behavior:
When you use the browser's back button after switching to the English language and domain localhost/shop/public/en, the page should correctly return to localhost/shop/public without any loading issues.
After returning to localhost/shop/public, you should be able to select the English language from the dropdown menu without any problems.
Actual behaviour
While on the domain localhost/shop/public, I switch to the English language and the domain localhost/shop/public/en using a button. When I use the browser's back button to return to the previous page and domain /public, two errors occur:
Either the previous page (localhost/shop/public) starts loading but never finishes.
Or it successfully switches back to localhost/shop/public, but when I try to select the English language from the dropdown, it’s not possible.
How to reproduce
Open the domain localhost/shop/public in your browser.
Switch to the English language, which redirects you to localhost/shop/public/en.
Click the browser's back button to return to localhost/shop/public.
Observe the following issues:
Either the previous page (localhost/shop/public) starts loading but does not complete.
Or the page successfully returns to localhost/shop/public, but selecting the English language from the dropdown is no longer possible.

[public] Automated response: This issue is linked to the internal issue  https://shopware.atlassian.net/browse/NEXT-38029 Pending  .
[created from NEXT-38029, comment 489641]


Recent versions of sanitize break jruby

After 2.x, sanitize switched to using NokoGumbo for parsing, which requires c-extensions that break jruby. For 5.x, it would be good to switch to something that's easily updatable in the future.  An alternative sanitization gem could be loofah.

After discussing with @bartkamphorst we've decided to stick with sanitize.


ParallelClient responseContent enconding

Issue raised in https://groups.google.com/forum/#!topic/parallec/MB2QyGGnwTk
Need to add a parameter in http meta to get the response body with the proper encoding.
public String getResponseBody(String charset) throws IOException;
response.getResponseBody("UTF-8")

Customer indicates he is working on patching this. Close it for now and may reopen it if need further action

Any news on this issue? Encoding bug makes parallec unusable for production.

@devnewton  busy recently but should get it in 1 week.
It is better to pass a parameter per task but setting a global one would be super easy.
https://asynchttpclient.github.io/async-http-client/apidocs/com/ning/http/client/Response.html#getResponseBody(java.lang.String)
Need to add a parameter in http meta to get the response body with the proper encoding.
public String getResponseBody(String charset) throws IOException;
response.getResponseBody("UTF-8")

@devnewton  please check tests on none-unicode websites:
https://github.com/eBay/parallec/blob/930fc4d897cd4cc414799af917b9dafb8ccaf70a/src/test/java/io/parallec/core/main/http/ParallelClientHttpBasicMoreOptionsTest.java#L119
https://github.com/eBay/parallec/blob/master/CHANGELOG.md#version-0106

Thanks!

Released 0.10.6


what's the difference of ServiceHandler and ReportServiceHandler?

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question
what's the difference of TraceSegmentServiceHandler and TraceSegmentReportServiceHandler， JVMMetricsServiceHandler and JVMMetricReportServiceHandler?

There are for different versions of protocol. We have upgraded the protocol, because of concept changed. One for v5 protocol, the other for v6 protocl, started at 6.0.0-beta release.


process_killing.c

process_killing process code in c language it can be used for linix codes as well

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


Scheduler v0.1.19

Release embed-scheduler v0.1.19
fixes some calendar typos

opened under wrong repo


Be a little smarter about refreshing teams

Adds predicates on whether you're actually on the team page before we assault the service with load calls we might not be allowed to make. Gets rid of the black bars on leaving a team via the teams tab. If you're currently on a team page and someone else deletes it / removes you you'll be navigated up to the teams tab root. r? @keybase/react-hackers

@chrisnojima yep, thanks! Changed it to return an array of all selected teams. PTAL


Update docs for device plugin

https://docs.krustlet.dev/krustlet/topics/plugin_system/#what-is-not-supported
Krustlet now has support for device plugins, the doc should be updated to reflect that.
ref https://github.com/krustlet/krustlet/pull/621

This was completed in #12


Added function test and made defined test possible with strict mode.

Coverage decreased (-0.04%) to 99.207% when pulling d52c09b7c6675e88ea29f3a26aa511a869d166d7 on lyncodev:master into b4f65af571734a020886567710fc76a496899554 on jtwig:master.


[Suggestion] Fluid Regulator?

Would be amazing if the Regulator Mode would regulate fluids by specifying how much of the fluid should be kept in stock. Would make automating alloys with Tinkers for instance much less painful.

I currently accomplish this with Thermal Foundation endgame fluids by using Detectors next to Exporters attached to dedicated Magma Crucibles. I imagine a similar system would work for a series of minimum-size Smelteries.
Speaking of which, if you have Thermal Expansion installed, you can use the Induction Smelter to produce Tinker’s Construct alloys.

This feature would necessitate an interface change to specify the amount of mB to keep in stock, unless you want to click a thousand times per bucket. I think that’s overdue anyway, since specifying the amount of items to keep in stock is also tedious.

Clicking a thousand times to get a bucket in the regulator mode could quite indeed be a pain. There would be the need to implement either more keybinds for fluids (shift - 1000 mB, ctrl 100 mB (as an example)), or only allow for exactly buckets to be regulated.

Alternatively, there could be a keybind that allows you to click on an item or fluid to bring up a text box, in the same way that requesting a crafting operation brings up such a box. This would have the added benefit of allowing non-integer levels to be set. IndustrialCraft 2’s UU-Matter uses nanobuckets, for example.

@Saklad5 Thanks for the suggestion! Unfortunately the mod pack I'm playing with only allows Enderium to be made by the Smeltery. I don't think any mod has any sort of regulator that will work for only allowing, say, 16 mb of a fluid at a time through. I thought maybe Integrated Tunnels maybe but I don't think even it supports this, even with it's down-to-the-wire operators.

Wontfix. I'm planning to remove this feature for 1.13.

I thought it was getting changed to be an upgrade, not removed entirely.


Using CBC-ciphers is deprecated

What! Why do both of the two supported ciphers have CBC? Why aren't any sensible, actually secure, TLS 1.2 options available?
Quotes:
"CBC mode in context of TLS protocol has had security issues, and would have had to be reworked."
"CBC has proven difficult to use safely, and how recent trends in the adoption of secure ciphers by web clients have helped reduce the web’s reliance on this technology."
Please, re-think the set of supported ciphers.

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

ID: 3d5e31f8-a816-2b22-96c0-f763fa67f9e6
Version Independent ID: d1ff1bc0-c88e-f51f-c6d8-fb9f9b212b94
Content: Remove TLS 1.0 and 1.1 from use with Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-remove-tls-10-11.md
Service: cache
GitHub Login: @yegu-ms
Microsoft Alias: yegu

@HQJaTu Thanks for the feedback and we are forwarding your feedback to doc author for evaluation.
@yegu-ms Please check the feedback from user and share your thoughts.

@HQJaTu thanks for your feedback! Currently the Redis software is hosted on Windows Server 2012 and that limits what cipher suites are available. We had migrated to Windows Server 2016 but had to roll back because 2016 had higher memory requirement and didn't work well with the smaller VM's for the smaller caches. We plan to go to Windows Server 2019 if that improves the memory usage.
#please-close

Do I need to tell you this is completely unacceptable or can you figure it out by yourselves? :-(

@HQJaTu We do understand the need here and our product team is working on the same. Please do leave this feedback here - https://feedback.azure.com/forums/169382-cache
This will help others and PG team to look at it and work further on making this possible.