Developer APIs for SDDC stretched cluster

[x] I am using the latest SDK version
[x] This API is compatible with my vCenter version (You can get the info from the Java API Reference Documentation)
[x] I have searched existing issues

Environment

sdk binding version:

Java version:

vSphere version:

Operating System/Shell (used to run SDK-based apps):

Steps or code snippet to reproduce
Actual behavior
Expected behavior
I am currently looking for a way to provision stretched cluster SDDCs and perform operations such as Add/Remove host, Add/remove cluster etc through APIs. Currently, there's a way to provision stretched cluster SDDC only through vmc console UI

Hi,
you can find the latest vmc APIs here https://code.vmware.com/apis/603/vmware-cloud-on-aws#/sddc.
Let me know if you still need help.

I wanted to clarify that I am not looking for documentation on VMC APIs. Presently, the only way to provision a stretched cluster SDDC is through the VMC Console UI
The API for provisioning SDDC has the following request payload when trying to provision a stretched cluster through UI. I got the payload from the network call made in the developer console of firefox browser when I provisioned a stretched cluster SDDC through vmc console UI:
{
"name":"testStretchCluster",
"num_hosts":6,
"provider":"AWS",
"deployment_type":"MultiAZ",
"region":"",
"account_link_sddc_config":[
{
"customer_subnet_ids":[
"",
""
],
"connected_account_id":""
}
],
"sddc_type":"DEFAULT",
"host_instance_type":"i3.metal",
"skip_creating_vxlan":true
}
This does not look any different from trying to provision a multiAZ SDDC. It looks like creating a stretched cluster SDDC calls some other API in the background. What's the difference in payload when provisioning a multi-AZ  SDDC versus stretched cluster SDDC?
It seems like there are no developer APIs available that deals with any stretched cluster SDDC operations. If I am wrong, could you point me to the right resource? If not, please consider this as a feature request


Combining js files problem

Laravel Mix Version: 1.4.3 (npm list --depth=0)
Node Version (node -v): 8.5.0
NPM Version (npm -v): 5.3.0
OS: Ubuntu 16.04.1 LTS

Description:
Not properly combining an array of files
Steps To Reproduce:
I'm running through ssh the npm run watch command
The webpack file has:
let mix = require('laravel-mix');

mix.options({ processCssUrls: false });

mix.disableNotifications();

mix.combine(['./resources/assets/js/functions.js', './resources/assets/js/app.js'], 'public/js/app.js');

mix.sass('resources/assets/sass/app.scss', 'public/css');

When I modify functions.js the compiled file has only the contents of app.js (and vice versa).

I think the mix way to do this is to call your functions.js from your app.js.
// if fonction.js is in the same subfolder
const functions = require('./functions.js')

The problem is that combine function is not adding the modified file to the final export. My files are plain js and I want them combined, as the naming implies.

My problem is that the modified is included as an empty file:
Before
Stats {
  dev: 26641,
  mode: 33188,
  nlink: 1,
  uid: 1001,
  gid: 1001,
  rdev: 0,
  blksize: 4096,
  ino: 5813099,
  size: 4525,
  blocks: 16,
  atimeMs:<PHONE_NUMBER>533.0298,
  mtimeMs:<PHONE_NUMBER>533.0298,
  ctimeMs:<PHONE_NUMBER>533.0298,
  birthtimeMs:<PHONE_NUMBER>533.0298,
  atime: 2017-11-15T15:44:09.533Z,
  mtime: 2017-11-15T15:44:09.533Z,
  ctime: 2017-11-15T15:44:09.533Z,
  birthtime: 2017-11-15T15:44:09.533Z }

After:
Stats {
  dev: 26641,
  mode: 33188,
  nlink: 1,
  uid: 1001,
  gid: 1001,
  rdev: 0,
  blksize: 4096,
  ino: 5813099,
  size: 0,
  blocks: 0,
  atimeMs:<PHONE_NUMBER>796.8928,
  mtimeMs:<PHONE_NUMBER>791.513,
  ctimeMs:<PHONE_NUMBER>796.8928,
  birthtimeMs:<PHONE_NUMBER>796.8928,
  atime: 2017-11-15T15:44:13.797Z,
  mtime: 2017-11-15T15:44:13.792Z,
  ctime: 2017-11-15T15:44:13.797Z,
  birthtime: 2017-11-15T15:44:13.797Z }

This is how my drive is mounted:
//<IP_ADDRESS>/www    /media/www        cifs    credentials=/root/.smbcredentials,iocharset=utf8,noperm,actimeo=0 0 0

It seems like the file is included before it gets written.

I've connected directly to the samba server and it seems that the problem is gone.


Attachments are not shown well in edit message mode (mobile view)

Verified on staging server successfully. Now in portrait mode attachments are shown one by one; in landscape no, but user can click on the file name and see the full file name.


Fixing host model support heterogeneus cluster v0 48

What this PR does / why we need it:
Calculate selectors only for the initial Node to remeber the required features,
allow vmi with host-model to migrate when target node does't have the same host-model cpuModel.
manual backporting #7672,#7770 from main
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 #
Special notes for your reviewer:
Release note:

NONE

/retest

/cherrypick release-0.47

/cherrypick release-0.46

/cherrypick release-0.46

/cherrypick release-0.45

/cherrypick release-0.44

/retest

/approve

/lgtm


How to get current value of the height of bars?

something like this.

current value is undefined.

@nkli what is current value in this screenshot?

The value of the wave column when the current time passes.

The peaks are always numbers (floats). It looks like you're transforming or outputting them wrong.


Issue with hardwired marshaller

https://github.com/infinispan/infinispan-spring-boot/blob/785b74403dc4ba46257f34e62e7069a2d20953bd/infinispan-spring-boot-starter-remote/src/main/java/org/infinispan/spring/starter/remote/InfinispanRemoteAutoConfiguration.java#L118
Hello, the highlighted line is hardwiring JavaSerializationMarshaller regardless of the marshaller configured by a InfinispanRemoteConfigurer or any other form of property configuration. I haven't been able to change the marshaller after changing to a version with this addition. I think this should not be done, to allow users to set their preferred marshaller, or , at leats, check if none is set previously.
In addition, in this line 113 it is called builder.build()  but after thar the builder is again used and modified (lines 116, 117 and 118) and finally the builder.build() is again called in line 119. Do you consider this a proper use of the builder pattern?
These are relatively recent changes, introduced in a documentation related issue, that is also confusing for  me.
Any thoughts? I can help if you consider this need to be fixed.
Thanks in advance for reading this.

@juliojgd which marshaller would you like to use? overriding the marshaller should be working. The idea for this change was to override the default infinispan marshaller that does not work with spring session objects right now. But using an additional configurer should override this. However might indeed be a bug. I'm releasing the starter soon with the upcoming 11.0.1.Final.
Could you please provide a reproducer?
Thanks

@karesti The InfinispanRemoteConfigurer is applied before the referenced line.
How a configurer could possibly change this hardwired Marshaller if this hardwiring is donde in the last line before building the RemoteCacheManager? And after the appying of any configurer and properties) And I saw that is not possible to change the marsahller in a already built 'RemoteCacheManager '
Am I missing something? In the code it seems fairly clear.

@juliojgd again, this is probably a bug introduced to fix that the protostream marshaller does not work with spring session and spring data right now.  Which marshaller would you like to use?
Maybe we should let users to configure always the marshaller instead of trying to avoid the configuration.

If the documentation says that the marshaller can be freely chosen using a configuration property,  I think it should let the user chose the marshaller by means of that property, the problem is not for a specific marshallerI need to use.
In addition I think the builder is not used according to the builder pattern, making changes after building it.
If you want help with this I can issue a PR, please let me know.

@juliojgd concerning the builder, infinispan adds white list classes and these classes were not accessible from the builder object without building it. because if these marshaller changes, to get those white list classes and add them to the builder object, I needed to call "build" before. It's not code I'm happy about, and not the way the builder should be using generally speaking, but this is the way I found at the time I fixed the problem of marshalling and spring objects in the stater

the documentation and the change was unaliged. I just wanted to avoid users to set up a marshaller all the time and deal with the white list classes of spring :(((
I will log a jira and remove the change of the hardcoded marshaller

https://issues.redhat.com/browse/ISPN-12069

@juliojgd would you mind testing with this ? https://github.com/infinispan/infinispan-spring-boot/pull/153

@juliojgd we are bringing some of the tutorials that were in the repo into https://github.com/infinispan/infinispan-simple-tutorials/pull/107 (going to get merged soon)
we are releasing 11.0.1.Final very soon so I think I will upgrade here and release the starter once this is done

@juliojgd would you mind testing with this ? #153

Sure, I'll get to you with the test results.

in 11.0.1.Final we do have a new testing utility with infinispan remote out of the box and test containers.
happy to get feedback if you use it :)

@juliojgd would you mind testing with this ? #153

Sure, I'll get to you with the test results.

With this change https://github.com/infinispan/infinispan-spring-boot/pull/153 I have been able to change the marshaller and add a regexp to the whitelist by means of a InfinispanRemoteConfigurer. Sounds good for me. Thanks for the quick fix 😄

@juliojgd we have just released 2.3.1.Final. just the time it lands to maven central


GH-33317: [C++] Utility method to ensure an array object meetings an alignment requirement

This PR adds a utility function which is responsible for ensuring that all the buffers of an arrow object are properly aligned. It checks all the buffers in an arrow object for alignment, and if not aligned properly, then allocates a buffer by specifying the required alignment and copies data from the previous buffer.

Closes: #33317

In most cases the alignment will already be correct. We want this method to be really fast in that scenario. So this means that methods should look like...
std::shared_ptr<Array> Foo(std::shared_ptr<Array> thing) {
  if (needs_alignment(...)) {
    // a copy needs to be made
  } else {
    return std::move(thing);
  }
}

This way we can call it like so...
std::shared_ptr<Array> aligned = EnsureAlignment(std::move(unaligned), ...);

Then, if unaligned is already aligned it will be a straight move into aligned without ever making any copies (not even copies of shared_ptr)

The current implementation might be a bit complicated, so comments and suggestions for optimized approaches will be very helpful. Thanks in advance!
Currently, we have Check functions for various Arrow objects, which check their constituents for alignments. For ChunkedArray, RecordBatch, and Table, we use a boolean vector to track the constituents which require alignment thus avoiding unnecessary function calls.

@sanjibansg It seems that this breaks our nightly CI. Could you check this?
https://github.com/ursacomputing/crossbow/actions/runs/4518357593/jobs/7958180632#step:6:1378
[ 34%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/async_util.cc.o
cd /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/src/arrow && /usr/lib64/ccache/c++  -DARROW_EXPORTING -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_WITH_BACKTRACE -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD -DUTF8PROC_STATIC -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/src -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/generated -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/thirdparty/flatbuffers/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/thirdparty/hadoop/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/boost_ep-prefix/src/boost_ep -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/orc_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/zstd_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/protobuf_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/utf8proc_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/re2_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/xsimd_ep/src/xsimd_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/jemalloc_ep-prefix/src  -Wno-noexcept-type -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches    -m64 -mtune=generic -fdiagnostics-color=always  -Wall -fno-semantic-interposition -msse4.2  -DNDEBUG -ftree-vectorize -fPIC   -pthread -std=c++1z -o CMakeFiles/arrow_objlib.dir/util/async_util.cc.o -c /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/async_util.cc
/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/align_util.cc: In function 'arrow::Result<std::shared_ptr<arrow::Buffer> > arrow::util::EnsureAlignment(std::shared_ptr<arrow::Buffer>, int64_t, arrow::MemoryPool*)':
/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/align_util.cc:104:12: error: could not convert 'new_buffer' from 'std::unique_ptr<arrow::Buffer>' to 'arrow::Result<std::shared_ptr<arrow::Buffer> >'
     return new_buffer;
            ^~~~~~~~~~
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/util/align_util.cc.o] Error 1

@sanjibansg It seems that this broke our nightly CI. Could you check this?
https://github.com/ursacomputing/crossbow/actions/runs/4518357593/jobs/7958180632#step:6:1375
[ 34%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/align_util.cc.o
cd /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/src/arrow && /usr/lib64/ccache/c++  -DARROW_EXPORTING -DARROW_HAVE_RUNTIME_AVX2 -DARROW_HAVE_RUNTIME_AVX512 -DARROW_HAVE_RUNTIME_BMI2 -DARROW_HAVE_RUNTIME_SSE4_2 -DARROW_HAVE_SSE4_2 -DARROW_HDFS -DARROW_WITH_BACKTRACE -DARROW_WITH_BROTLI -DARROW_WITH_BZ2 -DARROW_WITH_LZ4 -DARROW_WITH_RE2 -DARROW_WITH_SNAPPY -DARROW_WITH_TIMING_TESTS -DARROW_WITH_UTF8PROC -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -DURI_STATIC_BUILD -DUTF8PROC_STATIC -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/src -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src -I/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/generated -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/thirdparty/flatbuffers/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/thirdparty/hadoop/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/boost_ep-prefix/src/boost_ep -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/orc_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/zstd_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/protobuf_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/utf8proc_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/re2_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/xsimd_ep/src/xsimd_ep-install/include -isystem /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/build/jemalloc_ep-prefix/src  -Wno-noexcept-type -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches    -m64 -mtune=generic -fdiagnostics-color=always  -Wall -fno-semantic-interposition -msse4.2  -DNDEBUG -ftree-vectorize -fPIC   -pthread -std=c++1z -o CMakeFiles/arrow_objlib.dir/util/align_util.cc.o -c /root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/align_util.cc
...
/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/align_util.cc: In function 'arrow::Result<std::shared_ptr<arrow::Buffer> > arrow::util::EnsureAlignment(std::shared_ptr<arrow::Buffer>, int64_t, arrow::MemoryPool*)':
/root/rpmbuild/BUILD/apache-arrow-12.0.0.dev290/cpp/src/arrow/util/align_util.cc:104:12: error: could not convert 'new_buffer' from 'std::unique_ptr<arrow::Buffer>' to 'arrow::Result<std::shared_ptr<arrow::Buffer> >'
     return new_buffer;
            ^~~~~~~~~~
make[2]: *** [src/arrow/CMakeFiles/arrow_objlib.dir/util/align_util.cc.o] Error 1

Thanks for letting me know. I will make a fix.

FYI: We can test this case by commenting @github-actions crossbow submit amazon-linux-2-amd64.

@kou It is passing now! https://github.com/apache/arrow/pull/34754
cc: @westonpace


Invisibility spell error

The invisibility spell makes you lose your armor and makes you permanently invisible to mobs until you use the spell again, all armor disappeared from one player except the helmet.

Unless I'm misunderstanding you, that is how the spell is intended to work.

It's a "toggle" spell, meaning you cast it once to turn it on and cast it again to turn it off. It stays on until you run out of mana (which may not happen if you're high level and/or don't cast many other spells)
It makes you invisible to mobs
It temporarily removes your armor so you're invisible to players (armor should come back when you turn the spell off)

Please elaborate if I've misunderstood. Does your armor not come back?

His armor did not return only the helmet

Aw :( Ok, bummer, sorry. There was an issue that got fixed in 8.4 where you'd lose armor when dying while cloaked.
Can you please try to update?
I'll also look into changing how Cloak works, I store your armor inside of temporary items thinking that'd be safer, but it may be best to just put them in player data.

Cloak doesn't replace armor at all any more so I'm really hoping this is no longer a problem.


Combination of Dependency Injection and custom handler is not detected

Hi,
thanks for fixing the other issues. However, I see that a combination of the issues I reported are not recognized. For example, having a Functional interface (#15 ) with Dependency Injection (#14 ) is not recognized:
public class DependencyInjection implements Function<String, String> {
    private final MyDependency myDependency;

    public DependencyInjection(MyDependency myDependency) {
        this.myDependency = myDependency;
    }

    @Override
    public String apply(String s) {
        return "Stuff";
    }
}

public class MyDependency {
    private final UUID random = UUID.randomUUID();

    public UUID getUUID() {
        return random;
    }
}

If I change the DependencyInjection to a RequestHandler Interface it works.
Best,
Max

Hi, thanks for the quick feedback. We are working to fix this.


Error trying to get token

I keep getting activity cannot be null or empty

If this is in your Android build, check MainActivity.kt, it should be:
class MainActivity: FlutterActivity()
Mine was FlutterFragmentActivity, which was causing this error.

Please go through the documentation else provide the complete details.

I was getting this error on Android because I was using the local_auth package, which requires FlutterFragmentActivity in MainActivity.kt. This package works if the main activity is FlutterActivity. Can msal_auth support FlutterFragmentActivity?


Fix Twitch livestreams Error 410: Gone (closes #25528)

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Fixes Twitch livestreams Error 410: Gone (closes #25528)

I think this was already fixed in ce3735df0


Add Usage Metering feature

Create BQ Table in Governance project and turn on usage metering feature in GKE clusters

Currently no API for enabling billing export https://github.com/hashicorp/terraform-provider-google/issues/4848


Unknown command line argument '--iree-flow-enable-aggressive-fusion`.

I am trying to build and test and play with the transform-dialect directory, I followed the steps from the dumped commands I get this error, is these some flag changes in iree-compile not updated in the script.sh ?
$ benchmark-transform-run-iree-compile -b cuda /tmp/reduction_2d_static_123x456xf32.mlir /tmp/iree_transform_dialect_aca3d2.mlir
iree-transform-compile /tmp/reduction_2d_static_123x456xf32.mlir -b cuda -c /tmp/iree_transform_dialect_aca3d2.mlir
iree-compile: Unknown command line argument '--iree-flow-enable-aggressive-fusion'.  Try: 'iree-compile --help'
iree-compile: Did you mean '--iree-llvmcpu-enable-pad-consumer-fusion'?

I'm not sure how current the transform_dialect directory is relative to the main IREE repository, but yes - that flag was changed:
~/code/iree$ git log -S "iree-flow-enable-aggressive-fusion"
commit bb1f986d5014be71bc38377a8ba5cefa5cf2a5d8 (tag: candidate-20230317.461)
Author: Jerry Wu<EMAIL_ADDRESS>Date:   Fri Mar 17 05:55:08 2023 +0000

    Rename aggrsssive fusion to fuse-multi-use (#12585)

https://github.com/openxla/iree/pull/12585
cc @pzread / @MaheshRavishankar


Drive AppDesigner folder from project properties

Removed PropertiesFolderProjectTreePropertiesProvider and MyProjectFolderProjectTreePropertiesProvider and merged into a single provider

Behavior differences are driven by <AppDesignerFolder> and <AppDesignerFolderContentsVisibleOnlyInShowAllFiles> properties

Implement IProjectTreeSettingsProvider on AppDesignerFolderProjectTreePropertiesProvider, which makes the PhysicalTreeProvider aware that it needs to call us back every time the AppDesignerFolder/AppDesignerFolderContentsVisibleOnlyInShowAllFilesproperties changes

This enables us to now add a rename tracker that when the properties folder changes, we fix update the name of the property, and the tree automatically sees the new value

tag @dotnet/roslyn-analysis

This fixes: https://github.com/dotnet/roslyn-project-system/issues/46

👍


CIP-???? |  On-Chain Token Metadata Standard

The following CIP proposes an on-chain metadata standard to work along aside existing off-chain metadata standards.

This PR also needs some discussion of the security aspects. As far as I can tell, it has the same issues as https://github.com/cardano-foundation/CIPs/pull/118.

To elaborate a little, this currently assumes that the first minting is performed by the party who "organized" the token creation. This is not necessarily the case, and so if this were to become a standard, anyone who used a scheme where they weren't the first minter could be attacked by whoever was the first minter (since they would get to set the metadata).
In other words, adopting this as a standard would make it an attack vector against people who use (perfectly reasonable) schemes of token issuance that don't happen to look like a typical NFT drop.

Hi all,
Given there is no agreed standard, this is having a big impact on those minting tokens right now. This is what I'm now doing for new tokens:
(1) Mint 1 token with this standard first
(2) Mint the rest of the tokens with the 721 NFT standard (so it can be seen in pool.pm)
(3) Register in the token registry
I'm doing this in the hope that any tool/wallet looks through all metadata and if it finds a '20' standard, it uses that over the 721. For projects like HOSKY, this was first minted with 721 and recently extended with a 20 and then another 721 update on top; it's now locked out.
I can see this problem getting worse as more people bring tokens to the table where they NEED to lock their policies. I really dislike the Token Registration, because this information (in my opinion) should be stored onchain; immutable. However, if we don't have a standard, things start to drift apart very quickly and trust will be lost in terms of the metadata side.
I continually explain to people that these standards only affect onchain metadata; i.e. the tokens are first class citizens and live and move like ADA. So we should be able to resolve this quickly?

Should specify min and max length for ticker and probably the rest of the string fields.Ticker max length has been recently increased from 5 to 9 in offchain-metadata-tools.

Hi all,
Given there is no agreed standard, this is having a big impact on those minting tokens right now. This is what I'm now doing for new tokens:
(1) Mint 1 token with this standard first (2) Mint the rest of the tokens with the 721 NFT standard (so it can be seen in pool.pm) (3) Register in the token registry
I'm doing this in the hope that any tool/wallet looks through all metadata and if it finds a '20' standard (and it could be just the first one), it uses that over the 721. For projects like HOSKY, this was first minted with 721 and recently extended with a 20 and then another 721 update on top; it's now locked out.
I can see this problem getting worse as more people bring tokens to the table where they NEED to lock their policies. I really dislike the Token Registration, because this information (in my opinion) should be stored onchain; immutable. However, if we don't have a standard, things start to drift apart very quickly and trust will be lost in terms of the metadata side.
I continually explain to people that these standards only affect onchain metadata; i.e. the tokens are first class citizens and live and move like ADA. So we should be able to resolve this quickly?
Kind regards
VEGAS Pool (sp33dy is simply my github handle)

I'm sorry I can't find a mint transaction of HOSKY where they use the '20' metadata. Could you please point me to one? Thanks!

Hi,
https://cardanoscan.io/token/f03c3a145fc45a873d999e0ef0b594d681a2238e?tab=minttransactions
Shows all the mint transactions.. So:
1e0612fbd127baddfcd555706de96b46c4d4363ac78c73ab4dee6e6a7bf61fe9 was our original 721 as 1 Quadrillion mint
f6f8192d0ba5649f0b9a18913003c41d122baa09190237353a30afddf38d09a8 was our '20' mint:
metadata:  https://cardanoscan.io/transaction/f6f8192d0ba5649f0b9a18913003c41d122baa09190237353a30afddf38d09a8?tab=metadata
cb1fa55134b120d652c6d17ad83029d67be23f02d0542cb54100f343839c295c was the burn of that additional token with '20' standard.
0a4a906b24d21c3f4b8c061fd9b98f1b14a3bc9d6744f21a3a767ce4c964c16f  was a new mint with 721 and the HOSKY image included
b67b3aa6713f9c8b313d38e56f0283304defbf1316848dac625a0ccdb770bd56 was a burn of it due to an error in the image
Finally:
2ca69dd7e0980e14d3a54a6c354a83e4a9a6969360a142e392691c2808541d0c was minted with the final 721 and correct HOSKY image. By rights, the '20' standard above should be picked up as the first and only '20' mint.
Kind regards
VEGAS

"When doing so, transaction metadata MUST be included in the same transaction that mints the asset id."
This does not precise which mint tx to use when there are several for the same asset.
CIP 25 requires to use the last mint tx (burns are not considered mints but this should be precised), which allows to update the metadata as long as the policy allows it by minting a duplicate then burning it.
This point should be precised in my opinion (for now I don't know how to implement the lookup).

Hi @savaki ,
Could you please provide an update on this PR?
Thank you very much.

Shouldn't the metadata not be signed with the policy.skey like we do with the metadata registry?

Hello everyone.
Can't we make this whole proposal a little bit more aligned with the already existing NFT Metadata standard? Where's the mimetype, why no subfiles, why does the asset name need to be hex-encoded?
{
  "20": {
    "<policy_id>": {
      "<asset_name>": {
        "ticker": "<string>",
        "name": "<string>,
        "image": <uri>,
        "mediaType": "image/<mime_sub_type>",
        "description": <string | array>,
            "files": [{
              "name": <string>,
              "mediaType": <mime_type>,
              "src": <uri | array>,
              <other_properties>
            }],
        "decimals": 6,
        "version": "1.0"
      }
    }
  }
}

would be my proposition.
What do you think?

Hello @savaki ,
Could you please provide an update on this PR?
Thank you very much.
M.

Can't we make this whole proposal a little bit more aligned with the already existing NFT Metadata standard?

... or why not just add an optional "decimals" and "ticker" fields to the existing 721 standard? Everything else is just duplication.

For those following this discussion: please visit new CIP PR https://github.com/cardano-foundation/CIPs/pull/298 in which an off-chain token metadata registry is being considered. 🧐

We don't have any update from the author after a handful of invitations over the course of the year, so I think it's appropriate to close this now.

I think @savaki left SundaeSwap which is where this CIP originated. Tagging @Quantumplation in case it needs re-opening.

thanks @AndrewWestberg for the follow-up 🙏

@rphair Sorry for the lack of response on this.  I have no particular skin in the game for metadata standards; I've had some chats with the Cardano Foundation about it, and about what my opinions on the topic are, but I'm happy to follow any (or multiple) standards that the community directs;
Given that this is deployed on-chain by a number of projects, though, could we assign it a CIP number for easy historical reference, as many tools will likely want to support this standard for legacy purposes until another standard emerges?

Just to comment on this PR: The hardware wallets with the decimals baked into the firmware are not using transaction metadata with key 20 as a source or any other metadata on the chain. Only reference is the cardano-token-registry

@Quantumplation we've been having a lengthy discussion (@KtorZ @michaelpj) as of https://github.com/cardano-foundation/CIPs/pull/331#issuecomment-1258047610 about whether CIPs can go on file with a Rejected status (e.g. https://github.com/cardano-foundation/CIPs/pull/336) indicating institutional or community support for not doing something in the way that's described.
What I gather you're suggesting here is that the same kind of reference be made... but for something that is in active use, except that by not following through with the CIP process, it would remain a de facto standard which nobody has taken the final responsibility to document officially.
My dogmatic belief is that it's not a standard if nobody is willing to document it conclusively, and therefore the content here should likewise be given a Rejected status (rejected as a standard in this case: not "rejected for use").  If agreed then this could & should in fact also be given a CIP number and a Rejected state just like the pending CIP-0070 which is our flagship "anti-standard" CIP.
The exact label & definition of "Rejected" is pending https://github.com/cardano-foundation/CIPs/pull/331 and whatever rewrite of CIP-0001 comes afterward, so I would propose that this CIP draft be assigned that classification as soon as that rewrite is complete.

@rphair I think we're on the same page, I'm speaking from a more pragmatic standpoint.
Specifically, I agree that we shouldn't consider this a "standard" without someone to take up the banner to get it over the finish line and document it in high-fidelity for new projects to adopt.  I would do so, but frankly I'm juggling enough as it is, and can't find the time to think through what the best version of this looks like, or whether an entirely different approach is better.
But, whether we like it or not, this format has been adopted by several projects; so, while I think we want to actively discourage new projects from adopting this for their token (until it or another standard reaches that bar), there are still people who will want to refer to this, mostly from a historical / legacy support perspective: wallets, block explorers, DEX's, etc. will want to present this data to users, because those projects still want to provide the best and most comprehensive user experience to their users.
So, those people need a moniker to refer to this by, for discussions, JIRA tickets, code, etc.
It sounds like, though, a rejected CIP would still be assigned a CIP number, which satisfies that need.


Update certificates used in test

The previous certificates were not actually valid, though older
versions of Go would accept them. See https://github.com/kubernetes/kubernetes/issues/38228#issuecomment-280213655
r? @carleton-stripe
cc @stripe/observability

This is already solved, right?
On Tue, Oct 3, 2017 at 12:57 AM, Aditya Mukerjee<EMAIL_ADDRESS>wrote:

Closed #245 https://github.com/elazarl/goproxy/pull/245.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/elazarl/goproxy/pull/245#event-1274945129, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAP4oh3Y7MM125L09u9E9G-c_iKt7Pdhks5soVw7gaJpZM4PrSX5
.

Yes - I meant to create the pull request against the master branch on our fork, not the upstream project. Sorry about that.


Allow multiple PNGs to be set as app icons instead of an ICNS file for macOS targets

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Hey all,
Firstly, I'd like to thank you for creating such a useful tool. I've been using electron-packager to pack my MacOS application for a while. Nowadays, I'm in the process of submitting the app to the App Store. But I'm facing with an issue about the icons. When I upload the app to the iTunes Connect for the App Store, the icon for the App Store doesn't seem neat. It seems like having some alpha blending issues. I couldn't find any related issue, article, Q&A, or post on the internet. If it exists somewhere, I'm sorry for taking the readers' time.
After investigating the issue, I've realised a note on the Human Interface Guidelines for MacOS Applications. There is a note as below;

Don't provide app icons in ICNS or JPEG format. Add de-interlaced PNG files in the app icon fields of your Xcode project's asset catalogue.

But according to the README file, we're supposed to use .icns for MacOS builds. I guess it causes some problems with iTunes Connect when we want to use some transparent background in the icons. We're suggested to add icons in the Xcode by using AppIcon part of the app. Is there any way to implement this in electron-packager? As far as I know, we can't open the electron project folder in Xcode and make some changes.
I'd like to hear any idea, opinion.
As a workaround, we had to put a solid background to the biggest two icons which are 512x512 and 512x512@2x.

macOS is not my area of expertise, so I would need to know what file types are allowed for CFBundleIconFile, which is what we're using to set the icon.

Also, it's not obvious to me that you can use multiple files.

Bad no-response bot...

CFBundleIconFile is marked as legacy here.

Don't provide app icons in ICNS or JPEG format. Add de-interlaced PNG files in the app icon fields of your Xcode project's asset catalogue.

The quote above is mentioned in this page
In Xcode, we have a section for AppIcon (Assets.xcassets). Here, we can add multiple png files. I've attached a screenshot of the screen. But as far as I see, this section doesn't create a .icns file as a result. So I believe we should improve the way that we're using to add app icons.
But since also I'm not an expert about this, I don't have any way to achieve this through electron.
Besides that, there is another thing confusing me. CFBundleIconFile is mentioned with an additional info which is "Use the CFBundleIcons or CFBundleIconFiles keys instead. See CFBundleIconFile for details.". The confusing part is that they don't seem supporting MacOS as a platform. Are we supposed to use them still!?
AppIcon section;

Right, it seems that the deprecation is only for iOS/watchOS, not macOS. Perhaps Apple is calling macOS legacy (which wouldn't surprise me since I remember hearing that they absorbed the macOS dev team into the iOS team...).
It would help to know what the resulting Info.plist looks like when you use multiple .pngs in a macOS project.

I couldn't find anything related to that in Info.plist. We have ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; as a build setting in project.pbxproj. AppIcon is a folder name and its path is <projectRoot>/Assets.xcassets/AppIcon.appiconset.

Anyone have successfully generate the icns icon? I can't make it either :(
Here is what I have done
electron-packager . --platform=darwin --overwrite --icon=build/icon.icns --purne=true

Given the lack of evidence, I'm going to close this issue. If someone can show me a proof-of-concept minimal bundled Electron app that can have multiple PNG files instead of an ICNS file on macOS, I will gladly reopen this issue so we can figure out how to integrate that into Electron Packager.

@dotku Hi, you can follow https://github.com/onmyway133/IconGenerator

Anyone found a way to use xcassets instead of icns?  It seems that it is really the way forward according to https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/

Don’t provide app icons in ICNS or JPEG format. The ICNS format doesn’t support features like wide color gamut or deliver the performance and efficiency you get when you use asset catalogs. [...] For best results, add de-interlaced PNG files to the app icon fields of your Xcode project’s asset catalog.


Using two scopes results in "Invalid cross-device link"

As soon as a temporary file is involved, the temporary file seems to cause problems:
stdout / stderr
❯ srgn -vv --py methods 'x' --py function-calls 'super'
[2024-10-05T13:03:02.670500Z INFO  srgn] Launching app with args: Cli { scope: "x", shell: None, composable_actions: ComposableActions { replace: Some("super"), upper: false, lower: false, titlecase: false, normalize: false, german: false, symbols: false }, standalone_actions: StandaloneActions { delete: false, squeeze: false }, options: GlobalOptions { glob: None, fail_no_files: false, invert: false, literal_string: false, fail_any: false, fail_none: false, join_language_scopes: false, line_numbers: false, only_matching: false, hidden: false, gitignored: false, sorted: false, stdin_override_to: None, threads: None, additional_verbosity: 2 }, languages_scopes: LanguageScopes { c: None, csharp: None, go: None, hcl: None, python: Some(PythonScope { python: [Methods, FunctionCalls], python_query: [] }), rust: None, typescript: None }, german_options: GermanOptions { german_prefer_original: false, german_naive: false } }
[2024-10-05T13:03:02.678043Z INFO  srgn] Detected stdin as readable: false.
[2024-10-05T13:03:02.678058Z INFO  srgn] Will walk file tree, applying actions.
[2024-10-05T13:03:02.678191Z INFO  srgn] Will walk file tree using 4 thread(s), processing in arbitrary order, starting from: Ok("/home/lukas/code/10ag/pycroft")
tests/ldap_sync/action/test_execution.py
[2024-10-05T13:03:02.695424Z ERROR srgn] Error walking at /home/lukas/code/10ag/pycroft/tests/ldap_sync/action/test_execution.py due to: I/O error at path /tmp/srgnXapArn: Invalid cross-device link (os error 18)
[2024-10-05T13:03:02.695451Z ERROR srgn] Aborting walk for safety
pycroft/lib/mail.py
[2024-10-05T13:03:02.698403Z ERROR srgn] Error walking at /home/lukas/code/10ag/pycroft/pycroft/lib/mail.py due to: I/O error at path /tmp/srgnJHwDBV: Invalid cross-device link (os error 18)
[2024-10-05T13:03:02.698425Z ERROR srgn] Aborting walk for safety
Error: Error processing path: I/O error at path /tmp/srgnJHwDBV: Invalid cross-device link (os error 18)

FS setup

tmp: /tmp   tmpfs  tmpfs           rw,nosuid,nodev,nr_inodes=1048576,inode64
working directory: /home  /dev/mapper/vghdd-lvhome    ext4            rw,relatime,data=ordered

How can I debug this further?

Sorry @issuedigger, these don't seem to be related :-)

Hi @lukasjuhrich , thanks for your report!
Apologies for @issuedigger, it's an experiment and safe to ignore.
To debug this further:

you could run it with -vvvv, which is trace and therefore maximum level of verbosity, then post that output again here, please?
I can look into reproducing the issue. What steps do I need to take? Is pycroft a repo I can fetch?

Initial thoughts:

let's confirm the command you invoke is doing what you hope it's doing. To reiterate:
it is searching for (Python) function calls within methods, and replacing every character x it finds with the string super. It does so recursively. For that, it will walk and look at all Python files (either with .py suffix or with a python3 or python shebang) starting at /home/lukas/code/10ag/pycroft.

it will then write out any new results to a temporary file, and replace those files more or less atomically (overwrite the original with the newly created temporary one). The temp should be /tmp/srgnXapArn etc. This step seems to fail. Is there some special setup involved on your machine regarding /tmp, beyond tmpfs?

My FS setup/OS is different from yours, but I've run srgn on a vanilla Ubuntu 24 machine and it worked fine. I'll try that again if you can help me with reproduction steps!

Oh and to try and clear up any confusion more: you titled the issue "two scopes", but your command actually uses 3:

--py methods (only regard methods)
x (only regard the literal character x)
--py function-calls (only regard function calls within methods aka the previous language scope)

It then also has one action:

super (replacement)

If this is not what you intended, do you feel UX could be better? Documentation? Some fail-safe errors or warnings which could've helped you?

Thank you very much for your insightful response! Indeed, the error is with replacing. As you conjectured, I did not intend to replace anything.
reproduction
We can simplify the example by creating a test.py with contents print(min(3, 5)).
❯ srgn --py function-calls min
test.py
1:print(min(3, 5))

❯ srgn --py function-calls min max
test.py
[2024-10-08T14:27:02.918687Z ERROR srgn] Error walking at /home/lukas/code/10ag/pycroft/test/test.py due to: I/O error at path /tmp/srgnvBNwyP: Invalid cross-device link (os error 18)
[2024-10-08T14:27:02.918705Z ERROR srgn] Aborting walk for safety
Error: Error processing path: I/O error at path /tmp/srgnvBNwyP: Invalid cross-device link (os error 18)

TRACE logs (not really revealling anything new)

❯ srgn -vvvv --py function-calls min max
[2024-10-08T14:27:53.884856Z INFO  srgn] Launching app with args: Cli { scope: "min", shell: None, composable_actions: ComposableActions { replace: Some("max"), upper: false, lower: false, titlecase: false, normalize: false, german: false, symbols: false
}, standalone_actions: StandaloneActions { delete: false, squeeze: false }, options: GlobalOptions { glob: None, fail_no_files: false, invert: false, literal_string: false, fail_any: false, fail_none: false, join_language_scopes: false, line_numbers: fals
e, only_matching: false, hidden: false, gitignored: false, sorted: false, stdin_override_to: None, threads: None, additional_verbosity: 4 }, languages_scopes: LanguageScopes { c: None, csharp: None, go: None, hcl: None, python: Some(PythonScope { python:
[FunctionCalls], python_query: [] }), rust: None, typescript: None }, german_options: GermanOptions { german_prefer_original: false, german_naive: false } }
[2024-10-08T14:27:53.884897Z DEBUG srgn] Assembling scopers.
[2024-10-08T14:27:53.891979Z DEBUG srgn] Done assembling scopers.
[2024-10-08T14:27:53.892000Z DEBUG srgn] Assembling actions.
[2024-10-08T14:27:53.892015Z DEBUG srgn] Loaded action: Replacement
[2024-10-08T14:27:53.892019Z DEBUG srgn] Done assembling actions.
[2024-10-08T14:27:53.892034Z INFO  srgn] Detected stdin as readable: false.
[2024-10-08T14:27:53.892038Z INFO  srgn] Will walk file tree, applying actions.
[2024-10-08T14:27:53.892159Z INFO  srgn] Will walk file tree using 4 thread(s), processing in arbitrary order, starting from: Ok("/home/lukas/code/10ag/pycroft/test")
[2024-10-08T14:27:53.892823Z DEBUG ignore::gitignore] opened gitignore file: /home/lukas/code/10ag/pycroft/.ignore
[2024-10-08T14:27:53.892879Z DEBUG globset] built glob set; 0 literals, 1 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
[2024-10-08T14:27:53.892986Z DEBUG ignore::gitignore] opened gitignore file: /home/lukas/code/10ag/pycroft/.gitignore
[2024-10-08T14:27:53.893201Z DEBUG globset] glob converted to regex: Glob { glob: "**/*~", re: "(?-u)^(?:/?|.*/)[^/]*\\~$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: To
kens([RecursivePrefix, ZeroOrMore, Literal('~')]) }
[2024-10-08T14:27:53.893221Z DEBUG globset] glob converted to regex: Glob { glob: ".idea/**/dataSources", re: "(?-u)^\\.idea(?:/|/.*/)dataSources$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_altern
ates: false }, tokens: Tokens([Literal('.'), Literal('i'), Literal('d'), Literal('e'), Literal('a'), RecursiveZeroOrMore, Literal('d'), Literal('a'), Literal('t'), Literal('a'), Literal('S'), Literal('o'), Literal('u'), Literal('r'), Literal('c'), Literal
('e'), Literal('s')]) }
[2024-10-08T14:27:53.893237Z DEBUG globset] glob converted to regex: Glob { glob: "**/npm-debug.log*", re: "(?-u)^(?:/?|.*/)npm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alter
nates: false }, tokens: Tokens([RecursivePrefix, Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
[2024-10-08T14:27:53.893251Z DEBUG globset] glob converted to regex: Glob { glob: "**/yarn-debug.log*", re: "(?-u)^(?:/?|.*/)yarn\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alt
ernates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMo
re]) }
[2024-10-08T14:27:53.893262Z DEBUG globset] glob converted to regex: Glob { glob: "**/yarn-error.log*", re: "(?-u)^(?:/?|.*/)yarn\\-error\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alt
ernates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('e'), Literal('r'), Literal('r'), Literal('o'), Literal('r'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMo
re]) }
[2024-10-08T14:27:53.893290Z DEBUG globset] glob converted to regex: Glob { glob: "**/*.py[cod]", re: "(?-u)^(?:/?|.*/)[^/]*\\.py[cod]$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false
 }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Literal('p'), Literal('y'), Class { negated: false, ranges: [('c', 'c'), ('o', 'o'), ('d', 'd')] }]) }
[2024-10-08T14:27:53.893317Z DEBUG globset] glob converted to regex: Glob { glob: "**/.coverage.*", re: "(?-u)^(?:/?|.*/)\\.coverage\\.[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates:
 false }, tokens: Tokens([RecursivePrefix, Literal('.'), Literal('c'), Literal('o'), Literal('v'), Literal('e'), Literal('r'), Literal('a'), Literal('g'), Literal('e'), Literal('.'), ZeroOrMore]) }
[2024-10-08T14:27:53.893341Z DEBUG globset] glob converted to regex: Glob { glob: "**/celerybeat-schedule.*", re: "(?-u)^(?:/?|.*/)celerybeat\\-schedule\\.[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: tru
e, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('c'), Literal('e'), Literal('l'), Literal('e'), Literal('r'), Literal('y'), Literal('b'), Literal('e'), Literal('a'), Literal('t'), Literal('-'), Literal('s'), Literal('c'), Literal('h
'), Literal('e'), Literal('d'), Literal('u'), Literal('l'), Literal('e'), Literal('.'), ZeroOrMore]) }
[2024-10-08T14:27:53.893365Z DEBUG globset] built glob set; 16 literals, 63 basenames, 14 extensions, 0 prefixes, 0 suffixes, 7 required extensions, 8 regexes
[2024-10-08T14:27:53.895993Z DEBUG ignore::gitignore] opened gitignore file: /home/lukas/code/10ag/pycroft/.git/info/exclude
[2024-10-08T14:27:53.896053Z TRACE srgn] Skipping path (not a file): "/home/lukas/code/10ag/pycroft/test"
[2024-10-08T14:27:53.896150Z TRACE srgn] Language scoper considers path 'test.py' valid: true
[2024-10-08T14:27:53.896156Z DEBUG srgn] Processing path: "test.py"
[2024-10-08T14:27:53.896169Z DEBUG srgn] Building view.
[2024-10-08T14:27:53.896175Z TRACE srgn::scoping::view] Exploding scopes: ROScopes([ROScope(In("print(min(3, 5))\n", None))])
[2024-10-08T14:27:53.896183Z TRACE srgn::scoping::view] Exploding scope: ROScope(In("print(min(3, 5))\n", None))
[2024-10-08T14:27:53.896190Z TRACE srgn::scoping::langs] Parsing into AST: "print(min(3, 5))\n"
[2024-10-08T14:27:53.896281Z DEBUG srgn::scoping::langs] S expression of parsed source code is: "(module (expression_statement (call function: (identifier) arguments: (argument_list (call function: (identifier) arguments: (argument_list (integer) (integer
)))))))"
[2024-10-08T14:27:53.896290Z TRACE srgn::scoping::langs] Running query: Query { ptr: 0x573921837b90, capture_names: ["function-name"], capture_quantifiers: [[One]], text_predicates: [[]], property_settings: [[]], property_predicates: [[]], general_predica
tes: [[]] }
[2024-10-08T14:27:53.896320Z DEBUG srgn::ranges] Merging ranges: Ranges { inner: [0..5, 6..9] }
[2024-10-08T14:27:53.896327Z DEBUG srgn::ranges] Merged ranges: Ranges { inner: [0..5, 6..9] }
[2024-10-08T14:27:53.896333Z TRACE srgn::scoping::langs] Querying yielded ranges: Ranges { inner: [0..5, 6..9] }
[2024-10-08T14:27:53.896341Z TRACE srgn::scoping::scope] Constructing scopes from raw ranges: [(0..5, None), (6..9, None)]
[2024-10-08T14:27:53.896351Z DEBUG srgn::scoping::scope] Scopes: [ROScope(In("print", None)), ROScope(Out("(")), ROScope(In("min", None)), ROScope(Out("(3, 5))\n"))]
[2024-10-08T14:27:53.896359Z TRACE srgn::scoping::view] Exploded scope, new scopes are: [ROScope(In("print", None)), ROScope(Out("(")), ROScope(In("min", None)), ROScope(Out("(3, 5))\n"))]
[2024-10-08T14:27:53.896367Z TRACE srgn::scoping::view] Done exploding scopes.
[2024-10-08T14:27:53.896376Z TRACE srgn::scoping::view] Exploding scopes: ROScopes([ROScope(In("print", None)), ROScope(Out("(")), ROScope(In("min", None)), ROScope(Out("(3, 5))\n"))])
[2024-10-08T14:27:53.896382Z TRACE srgn::scoping::view] Exploding scope: ROScope(In("print", None))
[2024-10-08T14:27:53.896391Z TRACE srgn::scoping::scope] Constructing scopes from raw ranges: []
[2024-10-08T14:27:53.896396Z DEBUG srgn::scoping::scope] Scopes: [ROScope(Out("print"))]
[2024-10-08T14:27:53.896401Z TRACE srgn::scoping::view] Exploded scope, new scopes are: [ROScope(Out("print"))]
[2024-10-08T14:27:53.896405Z TRACE srgn::scoping::view] Exploding scope: ROScope(Out("("))
[2024-10-08T14:27:53.896408Z TRACE srgn::scoping::view] Exploded scope, new scopes are: [ROScope(Out("print")), ROScope(Out("("))]
[2024-10-08T14:27:53.896413Z TRACE srgn::scoping::view] Exploding scope: ROScope(In("min", None))
[2024-10-08T14:27:53.896420Z TRACE srgn::scoping::scope] Constructing scopes from raw ranges: [(0..3, Some(CaptureGroups({Numbered(0): "min"})))]
[2024-10-08T14:27:53.896427Z DEBUG srgn::scoping::scope] Scopes: [ROScope(In("min", Some(CaptureGroups({Numbered(0): "min"}))))]
[2024-10-08T14:27:53.896433Z TRACE srgn::scoping::view] Exploded scope, new scopes are: [ROScope(Out("print")), ROScope(Out("(")), ROScope(In("min", Some(CaptureGroups({Numbered(0): "min"}))))]
[2024-10-08T14:27:53.896440Z TRACE srgn::scoping::view] Exploding scope: ROScope(Out("(3, 5))\n"))
[2024-10-08T14:27:53.896444Z TRACE srgn::scoping::view] Exploded scope, new scopes are: [ROScope(Out("print")), ROScope(Out("(")), ROScope(In("min", Some(CaptureGroups({Numbered(0): "min"})))), ROScope(Out("(3, 5))\n"))]
[2024-10-08T14:27:53.896451Z TRACE srgn::scoping::view] Done exploding scopes.
[2024-10-08T14:27:53.896455Z DEBUG srgn] Done building view: ScopedView { scopes: RWScopes([RWScope(Out("print")), RWScope(Out("(")), RWScope(In("min", Some(CaptureGroups({Numbered(0): "min"})))), RWScope(Out("(3, 5))\n"))]) }
[2024-10-08T14:27:53.896464Z DEBUG srgn] Applying actions to view.
[2024-10-08T14:27:53.896468Z DEBUG srgn::scoping::view] Appending 'print'
[2024-10-08T14:27:53.896473Z DEBUG srgn::scoping::view] Appending '('
[2024-10-08T14:27:53.896478Z DEBUG srgn::scoping::view] Mapping with context: Some(CaptureGroups({Numbered(0): "min"}))
[2024-10-08T14:27:53.896485Z DEBUG srgn::actions::replace] Available capture group variables: {Numbered(0): "min"}
[2024-10-08T14:27:53.896492Z TRACE srgn::actions::replace::variables] Injecting variables. Current output is: '', current state is Noop
[2024-10-08T14:27:53.896499Z TRACE srgn::actions::replace::variables] Injecting variables. Current output is: 'm', current state is Noop
[2024-10-08T14:27:53.896505Z TRACE srgn::actions::replace::variables] Injecting variables. Current output is: 'ma', current state is Noop
[2024-10-08T14:27:53.896511Z TRACE srgn::actions::replace::variables] Finished character iteration, output is 'max', state is Noop
[2024-10-08T14:27:53.896517Z TRACE srgn::actions::replace::variables] Done injecting variables, final output is 'max', final state is Noop
[2024-10-08T14:27:53.896523Z DEBUG srgn::scoping::view] Replacing 'min' with 'max'
[2024-10-08T14:27:53.896530Z DEBUG srgn::scoping::view] Appending '(3, 5))\n'
[2024-10-08T14:27:53.896536Z DEBUG srgn] Writing to destination.
[2024-10-08T14:27:53.896543Z DEBUG srgn] Done writing to destination.
test.py
[2024-10-08T14:27:53.896556Z DEBUG srgn] Got new file contents, writing to file: "test.py"
[2024-10-08T14:27:53.896589Z TRACE srgn] Writing to temporary file: "/tmp/srgna54Gb0"
[2024-10-08T14:27:53.896635Z ERROR srgn] Error walking at /home/lukas/code/10ag/pycroft/test/test.py due to: I/O error at path /tmp/srgna54Gb0: Invalid cross-device link (os error 18)
[2024-10-08T14:27:53.896648Z ERROR srgn] Aborting walk for safety
Error: Error processing path: I/O error at path /tmp/srgna54Gb0: Invalid cross-device link (os error 18)

However, strace -f !! reveals some more information (truncated to the relevant part):
[pid 2307447] ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
[pid 2307447] write(2, "\33[90m[\33[0m2024-10-08T14:34:42.90"..., 118[2024-10-08T14:34:42.905065Z DEBUG srgn] Got new file contents, writing to file: "test.py"
) = 118
[pid 2307447] openat(AT_FDCWD, "/tmp/srgnmKcnCp", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 3
[pid 2307447] ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
[pid 2307447] write(2, "\33[90m[\33[0m2024-10-08T14:34:42.90"..., 113[2024-10-08T14:34:42.905232Z TRACE srgn] Writing to temporary file: "/tmp/srgnmKcnCp"
) = 113
[pid 2307447] write(3, "print(max(3, 5))\n", 17) = 17
[pid 2307447] renameat(AT_FDCWD, "/tmp/srgnmKcnCp", AT_FDCWD, "test.py") = -1 EXDEV (Invalid cross-device link)
[pid 2307447] unlink("/tmp/srgnmKcnCp") = 0
[pid 2307447] close(3)                  = 0
[pid 2307447] ioctl(2, TCGETS, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
[pid 2307447] write(2, "\33[90m[\33[0m2024-10-08T14:34:42.90"..., 215 <unfinished ...>
[pid 2307450] <... clock_nanosleep resumed>0x776875bff5d0) = 0
[pid 2307449] <... clock_nanosleep resumed>0x77686fdff5d0) = 0
[2024-10-08T14:34:42.905502Z ERROR srgn] Error walking at /home/lukas/code/10ag/pycroft/test/test.py due to: I/O error at path /tmp/srgnmKcnCp: Invalid cross-device link (os error 18)
[pid 2307450] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=1000000},  <unfinished ...>
[pid 2307449] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=1000000},  <unfinished ...>
[pid 2307447] <... write resumed>)      = 215
[pid 2307448] <... clock_nanosleep resumed>0x776875fff5d0) = 0
[pid 2307447] ioctl(2, TCGETS <unfinished ...>
[pid 2307448] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=1000000},  <unfinished ...>
[pid 2307447] <... ioctl resumed>, {c_iflag=ICRNL|IXON|IUTF8, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST|ONLCR, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ICANON|ECHO|ECHOE|ECHOK|IEXTEN|ECHOCTL|ECHOKE, ...}) = 0
[pid 2307447] write(2, "\33[90m[\33[0m2024-10-08T14:34:42.90"..., 97[2024-10-08T14:34:42.905694Z ERROR srgn] Aborting walk for safety
) = 97

The renameat syscall error confirms that the rename is a problem, precisely because /tmp and <destination dir> lie on different file systems.
man 2 renameat confirms that this should not work:
ERRORS
       […]
       EXDEV  oldpath and newpath are not on the same mounted filesystem.  (Linux permits a filesystem to be mounted at multiple points, but rename() does not work across different mount points, even if the same filesystem is mounted on both.)

uname -a says Linux juhrilaptop 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 x86_64 GNU/Linux.
Are you sure you have a proper tmpfs in your environment, and not just a /tmp folder?
UX
I'm not sure how to solve this, but let me present what I think the problems are.
First, that I can "push forward" the search argument (in this case, x) is a surprise to me, because the scope arguments are order dependent. This causes me to think of the whole chain of arguments as a pipeline, and even though I think I've read the docs telling me otherwise, I was convinced that I was searching for method bodies containing x and then narrowing further.
Second, I think it is very dangerous to have a destructive operation so "close" to a nondestructive one. I can think of two scenarios by which one can switch from search to replace by accident:

What I did here:

starting with --py methods --py function-calls super and
naively trying to add something between the two --py scopes to narrow it down

Using a pipe like srgn … | less and accidentally removing or forgetting to type the pipe character
Fat-fingering the return key and accidentally adding a letter after the command line

I tend to be afraid of tools which punish me for mistakes like that, because I tend to make many. I feel this is contrary to the "fast" and "light-weight" tool that srgn aims to be (and for me already is) if I have to be careful like that all the time; this is nontrivial cognitive load.
I can think of two options:

a separate replace subcommand, ideally with an abbreviation like r, so I can use srgn r ….
a --go flag you can place wherever you like, where omission would cause a "dry run" of the replacement.

Both require changing the default to "don't replace unless told to", which might require a deprecation period.
Re documentation, I think changing the semantics is more desirable than documenting the existing semantics better for the reasons I've outlined.
what I actually wanted to achieve
I guess this would  bettor belong in a disussion instead of an issue, but since you asked, let me tell you of my use case: I wanted to find all the super() function calls inside methods without a certain decorator attached (@overload). I have not yet found out how to do so or whether srgn can do this.

i'm having the same issue with a simple rename operation (srgn --python 'imports' app.core.celery_app app.celery_app). the the OP, i have the repo i'm working in on a different device from my /tmp .

i believe the issue is due to the way the dependency tempfile works. here:
https://github.com/alexpovel/srgn/blob/9238fc161ceaf88dd754d71b4fb65393dcee964b/src/main.rs#L541-L543
we declare file to be the result of tempfile::Builder (random question, i'm new to rust -- how the heck is tempfile even a valid symbol in this scope without a use tempfile at the top of the module?). this is probably created in the system temporary directory (/tmp on most linuxes). we then, after performing some replacement, call file.persist. the documentation for persist: https://docs.rs/tempfile/latest/tempfile/struct.NamedTempFile.html#method.persist

Note: Temporary files cannot be persisted across filesystems. Also neither the file contents nor the containing directory are synchronized, so the update may not yet have reached the disk when persist returns.

probably because persist tries to create a hardlink to the temp file at the persisted destination, and hardlinks do not work across filesystems. hard to tell from all the code, definitely a hard-link is in one of the paths...
probably, we should be using the tempfile_in argument to Builder and creating the temp files in a local temporary directory created at the start of the run to avoid potential cross-filesystem hardlink issues.

Hey folks,
version 0.13.3 is released via #135 , which should fix this issue (the original one). #149 was created to track improvements to the UX, for which there's various options. More feedback, suggestions or even collaboration welcome!


Modified DeveloperGuide.adoc

Pull Request Test Coverage Report for Build 167

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 59.934%

Totals

Change from base Build 166:
0.0%

Covered Lines:
1089

Relevant Lines:
1817

💛  - Coveralls


About usage of text description

Hi, thanks for your great work on ICCV. I have a question about the usage of text description. As we know, there could be multiple description for each motion animation. However, the proposed method is one-to-one mapping deterministic method. Do we also use mutiple descriptions for each motion during training, or we just keep using one specific description?

Hi, thanks for your interest in our work. The method is trained with multiple text descriptions for a motion. You'll find  the dataset has multiple annotations for the same kind of action so it's more of a many -to-one mapping. We also used a pose discriminator to train the model so it's not deterministic.

Thanks for your reply. I have two further questions if you don't mind. During inference, does the proposed method use the ground truth initial pose, and motion length (Number of frames)?

Hi, we downsample the training data to a fixed length.  Yes, during inference the method uses the ground truth initial pose and we can mention the number of frames we want to generate (we have trained with 32 frames).

Hi,
When you are evaluating your method against the ground truth motion, which text sequence do you use? (if there are several available for a particular sequence)
As your output has a fixed size, how do you compare with previous work for the evaluation?
Thanks for your help

Hi, in the data preprocessing, we create a one-to-one mapping with the text description and pose sequence and use that as our ground truth data. Previous work like language2pose also has fixed output size. We calculate the mean position and variance metrics so evaluation can be done for a fixed sequence length for previous methods as well.

Ok thanks, to be sure I get it, given a motion M1 with the annotations A1/B1/C1, M2 with the annotations A2/B2, you will create (M1/A1), (M1/B1), (M1/C1), (M2/A2) and (M2/B2)?
About the metric computation, I still did not understand. For example with the APE:

Let say hypothetically that:

the ground truth P^hat has 40 frames, so t varies between 0 -> 39.
your generation P^ghosh have 32 frames, so t varies between 0 -> 31.
language2pose P^jl2p have 35 frames, so t varies between 0 -> 34.

How do you compute "P^ghosh_t - P^hat_t"? What will we the "t"?

Ok thanks, to be sure I get it, given a motion M1 with the annotations A1/B1/C1, M2 with the annotations A2/B2, you will create (M1/A1), (M1/B1), (M1/C1), (M2/A2) and (M2/B2)?

Yes, we create such pairs during data preprocessing.

How do you compute "P^ghosh_t - P^hat_t"? What will we the "t"?

During evaluation you can take fixed number of timesteps (for us t=32). We have downsampled the dataset and taken first 32 frames to train and evaluate.  We have done the same with jl2p for comparison.

Thanks it is much clear now.
I have another question about the number of data for the test set.
When I sample the sequences with the command:
python sample_wordConditioned.py -load save/ghosh/exp_124_cpk_2stream_h_model_nocurriculum_time_32_weights.p

I noticed that in the folder save/ghosh/exp_124_cpk_2stream_h_model_nocurriculum_time_32/test/ there is only 520 sequences. Whereas, in language2pose, I got 587 sequences for the test set. The 520 sequences are a subset of the 587.
Are you removing some sequences at some point?


Need .net sample to use Steeltoe circuit breaker

I have to use the steeltoe circuit breaker in my application(API) using .net. I could not find any sample to call the steeltoe circuit breaker using .net. Can anyone share me any sample app how to use steeltoe circuit breaker from .net app.

May I suggest you ask this question to the Steeltoe guys. This is the repository for Netflix Hystrix .
Go here => https://github.com/SteeltoeOSS/CircuitBreaker


chore: add latest tag

This PR

adds a latest tag to the docker image

Notes
I'm not sure if we need both latest and main tags. I left main there since it was previously defined.
Signed-off-by: Michael Beemer<EMAIL_ADDRESS>

Codecov Report

Merging #125 (e62d248) into main (1de6abc) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main    #125   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines        122     122
=====================================
  Misses       122     122

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


The md->tex converter breaks the Phys. Rev. (and possibly other)  template

The missing newline at the end of the comment delimiting the "acronyms & glossary" section breaks the Phys Rev template "acknowledgments" section.

Description
The \begin{acknowledgments} line from the template gets "glued" at the end of the comment line and effectively disabled. This can be worked-around in the template, but probably affects also other templates and sections. The resulting .tex file looks as follows:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%  acronyms & glossary  %%%%%%%%%%%%%
\printglossaries
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{acknowledgments}

Proposed solution
Trivial: add a newline at the end of the delimiting comment. Unfortunately, I do not know in which part it is generated, so I cannot propose actual patch.
Additional notes
This may affect multiple users/templates and generates a very frustrating "silent" bug in the otherwise correct myst document. This may be very discouraging for novice users. Particularly due to the fact that acknowledgments is a standard part of a PR paper and makes mystmd unusable for such a user/purpose.

Thank you for flagging this @jochym, we will aim to get a fix out fast for this.

This was addressed in #740 and is now released with mystmd v1.1.27!
Let us know if you still have any trouble with this.


XML documentation uses incorrect parameter names

Sample from DatastoreClient
/// <summary>
/// Queries for entities.
/// </summary>
/// <param name="project_id">The ID of the project against which to make the request.</param>
/// <param name="partition_id">
/// Entities are partitioned into subsets, identified by a partition ID.
/// Queries are scoped to a single partition.
/// This partition ID is normalized with the standard default context
/// partition ID.
/// </param>
/// <param name="read_options">The options for this query.</param>
/// <param name="query">The query to run.</param>
/// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
/// <returns>The RPC response.</returns>
public virtual RunQueryResponse RunQuery(
    string projectId,
    PartitionId partitionId,
    ReadOptions readOptions,
    Query query,
    CallSettings callSettings = null)

The <param name="project_id"> should be <param name="projectId">.

@jskeet Is this just for C#?

It was certainly a C#-specific bug, yes. (And it's now fixed - will close it.)
Whether there are similar issues for other languages, I don't know.


[BUG] : Resposive Missing

Issue Title:
[BUG] : Resposive Missing
closes #201
Type of change ☑
What sort of change have you made:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

How Has This Been Tested? ⚙
Describe how have you verified the changes made.
Screencast from 2024-06-26 12-37-52.webm
Screencast from 2024-06-26 12-38-33.webm

@singodiyashubham87 , I will finish it..

@sivaprasath2004 Well Done, Keep contributing :)


Update Cargo.lock file

Extends #190 by updating the Cargo.lock file

I'll go ahead and merge this one.

@emlautarom1 Actually, this doesn't yet solve the License Check CI. I'll leave you to get more details on it and fix it.


Files without noLines and authors

Maybe related to not handling merge commits
Running the parser on https://github.com/tjomson/bong-maps many files don't get line or author data

This file should have noLines and authors
  {
    "type": "blob",
    "hash": "2b23f593ed33dc84fba4860b3142d30514436c41",
    "path": "bong-maps/src/main/java/bong/OSMReader/OSMReader.java",
    "name": "OSMReader.java",
    "content": "",
    "authors": {}
  },

This file has it, but only has 1 commit (it should have more)
    {
      "type": "blob",
      "hash": "91b10a1bc1eacd5546012dcb53d11796d083c163",
      "path": "bong-maps/src/main/java/bong/controllers/MainController.java",
      "name": "MainController.java",
      "content": "",
      "authors": {
        "jglr": 2
      },
      "noLines": 849,
      "noCommits": 1
    },

Was related to not handling moved files


Fix case-sensitivity issue while sorting bedGraph.

Fix case-sensitivity issue while sorting bedGraph.
I got this error while running the dev version of the pipeline:
Error executing process > 'UCSC_BEDRAPHTOBIGWIG (KO6_27_Sh_R3)'

Caused by:
  Process `UCSC_BEDRAPHTOBIGWIG (KO6_27_Sh_R3)` terminated with an error exit status (255)

Command executed:

  bedGraphToBigWig KO6_27_Sh_R3.bedGraph GRCh38.primary_assembly.genome.fa.sizes KO6_27_Sh_R3.bigWig
  echo 377 > ucsc.version.txt

Command exit status:
  255

Command output:
  (empty)

Command error:
  KO6_27_Sh_R3.bedGraph is not case-sensitive sorted at line 1637255.  Please use "sort -k1,1 -k2,2n" with LC_COLLATE=C,  or bedSort and try again.

Work dir:
  /home/sturm/scratch/projects/2020/geley-rna-binding-proteins/work/a4/8c6d2169f59910a50bdcf1b4164809

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

adding LC_COLLATE=C indeed resolved the issue.
PR checklist

[x] PR is to dev rather than master
[x] This comment contains a description of changes (with reason)
[ ] ~If you've fixed a bug or added code that should be tested, add tests!~
[ ] ~If necessary, also make a PR on the nf-core/rnaseq branch on the nf-core/test-datasets repo~
[x] Ensure the test suite passes (nextflow run . -profile test,docker).
[x] Make sure your code lints (nf-core lint .).
[ ] ~Documentation in docs is updated~
[ ] CHANGELOG.md is updated
[ ] README.md is updated

Learn more about contributing: https://github.com/nf-core/rnaseq/tree/master/.github/CONTRIBUTING.md

Feel free to merge when the tests pass @grst 👍


Kured can reboot before end of upgrade

Kured check the /var/run/reboot-restarted file.
It is possible that dpkg create this file before the end of an upgrade, so kured can reboot the node during the upgrade.
After the reboot, dpkg can be in the state :
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
The more you reduce the --period check interval, the more risk you have to get this problem.
I think kured should also check that the upgrade process is finished before rebooting the node.

I think it's fair, but how do you propose to do it in a system agnostic way?
Do you want to take different approaches based on the distro?
Or do you want to ensure the user defines its own way?


[BUG]

Execute the command and paste the result below.
Command: uname -a && php -v && composer info | grep hyperf && php --ri swoole
Linux vip-pay-5cc94c5b87-bhhg2 5.4.119-19-0009.11 #1 SMP Wed Oct 5 18:41:07 CST 2022 x86_64 Linux
PHP 8.2.16 (cli) (built: Feb 21 2024 21:15:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.16, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.16, Copyright (c), by Zend Technologies
hyperf/amqp                      3.0.42            A amqplib for hyperf.
hyperf/async-queue               3.0.43            A async queue component for hyperf.
hyperf/cache                     3.0.37            A cache component for hyperf.
hyperf/code-parser               3.0.37            A code parser component for Hyperf.
hyperf/codec                     3.0.38            A codec component for Hyperf.
hyperf/collection                3.0.44            Hyperf Collection package which come from illuminate/collections
hyperf/command                   3.0.41            Command for hyperf
hyperf/conditionable             3.0.37            Hyperf Macroable package which come from illuminate/conditionable
hyperf/config                    3.0.37            An independent component that provides configuration container.
hyperf/consul                    3.0.37            A Consul Client for Hyperf.
hyperf/context                   3.0.37            A coroutine/application context library.
hyperf/contract                  3.0.37            The contracts of Hyperf.
hyperf/coordinator               3.0.37            Hyperf Coordinator
hyperf/coroutine                 3.0.37            Hyperf Coroutine
hyperf/crontab                   3.0.45            A crontab component for Hyperf.
hyperf/database                  3.0.49            A flexible database library.
hyperf/db-connection             3.0.37            A hyperf db connection handler for hyperf/database.
hyperf/di                        3.0.42            A DI for Hyperf.
hyperf/dispatcher                3.0.37            A HTTP Server for Hyperf.
hyperf/engine                    2.10.5            Coroutine engine provided by swoole.
hyperf/engine-contract           1.9.1             Contract for Coroutine Engine
hyperf/event                     3.0.37            an event manager that implements PSR-14.
hyperf/exception-handler         3.0.37            Exception handler for hyperf
hyperf/framework                 3.0.45            A coroutine framework that focuses on hyperspeed and flexible, specifically use for build microservices and middlewares.
hyperf/guzzle                    3.0.37            Swoole coroutine handler for guzzle
hyperf/http-message              3.0.37            microservice framework base on swoole
hyperf/http-server               3.0.45            A HTTP Server for Hyperf.
hyperf/json-rpc                  3.0.45            A JSON RPC component for Hyperf RPC Server or Client.
hyperf/load-balancer             3.0.37            A load balancer library for Hyperf.
hyperf/logger                    3.0.37            A logger component for hyperf.
hyperf/macroable                 3.0.37            Hyperf Macroable package which come from illuminate/macroable
hyperf/memory                    3.0.37            An independent component that use to operate and manage memory.
hyperf/model-cache               3.0.43            A model cache component for hyperf.
hyperf/model-listener            3.0.37            A model listener for Hyperf.
hyperf/paginator                 3.0.37            A paginator component for hyperf.
hyperf/pipeline                  3.0.37            Hyperf Macroable package which come from illuminate/pipeline
hyperf/pool                      3.0.37            An independent universal connection pool component.
hyperf/process                   3.0.37            A process component for hyperf.
hyperf/rate-limit                3.0.45            A rate limiter implemented for Hyperf or other coroutine framework
hyperf/redis                     3.0.40            A redis component for hyperf.
hyperf/rpc                       3.0.37            A rpc basic library for Hyperf.
hyperf/rpc-client                3.0.37            An abstract rpc server component for Hyperf.
hyperf/rpc-server                3.0.45            An abstract rpc server component for Hyperf.
hyperf/serializer                3.0.37            A serializer component for Hyperf.
hyperf/server                    3.0.39            A base server library for Hyperf.
hyperf/service-governance        3.0.37            A service governance component for Hyperf.
hyperf/service-governance-consul 3.0.37            A consul adapter for service governance.
hyperf/signal                    3.0.37            A signal library for Hyperf.
hyperf/snowflake                 3.0.37            A snowflake library
hyperf/stringable                3.0.40            Hyperf Stringable package which come from illuminate/support
hyperf/support                   3.0.43            A support component for Hyperf.
hyperf/tappable                  3.0.37            Hyperf Macroable package which come from illuminate/tappable
hyperf/token-bucket              2.0.0             Implementation of the Token Bucket algorithm.
hyperf/translation               3.0.42            An independent translation component, forked by illuminate/translation.
hyperf/utils                     3.0.37            A tools package that could help developer solved the problem quickly.
hyperf/validation                3.0.44            hyperf validation
yansongda/hyperf-pay             1.3.0             可能是基于 hyperf 的最优雅的支付宝、微信、银联支付 SDK 了

swoole

Swoole => enabled
Author => Swoole Team<EMAIL_ADDRESS>Version => 5.1.4
Built => Sep  5 2024 03:27:48
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 3.1.7 3 Sep 2024
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
pcre => enabled
c-ares => 1.19.1
zlib => 1.2.13
brotli => E16777225/D16777225
mutex_timedlock => enabled
pthread_barrier => enabled
async_redis => enabled
coroutine_pgsql => enabled
coroutine_odbc => enabled
coroutine_sqlite => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608

Description:
现在数据库配置是 使用了 read,write,与stickey为 ture的时,如下图

会时不时的产生报警
Packets out of order. Expected 1 received 0. Packet size=145
Steps To Reproduce:

如果不采read,write，与sticky一直是正常的，不会产生上述报警。
然用了读写分离的数据库配置，会时不时的产生上述问题

报错后能正常重连就没问题


No tests are ever found using pytest

Summary
Using vim-test to run tests using :Testfile, :TestSuite, or :TestNearest doesn't find any tests. However, using the equivalent pipenv run pytest ... command will find the test.
Description
I have python project that is using pipenv + pytests for our test suite. I can run the following command
pipenv run pytest ./path/to/test_file.py

and have it successfully run the test.
However, if I do :TestNearest, :TestFile, or :TestSuite from the same file, it will never find any tests and always return
----------------------------------------------------------------------
Ran 0 tests in 0.015s

OK

I have tried this with and without manually setting the test runner to be let test#python#runner = 'pytest'. Am I doing something wrong?
Relevant Configuration

Neovim: 0.5.2
macOS Big Sur
pipenv run python --version is 3.7.9

What is the file structure? Where do you have vim open? What's your test#project_root(echo test#project_root)?

I recently updated the test pattern for pytest, so this should now work. Please reopen this issue if you're still having issues.


Add myself to the translator and the proofreader

Summary
Added Eun Kyung Lee to localization contributor for Korean language.
Details and comments
I am working at IBM Watson Yorktown and Qiskit advocate and want to contribute to the project.

 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.

 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.


HammerJS does not work with Cypress due to frame busting

Cypress and HammerJS do not work together, it appears this may be due to frame busting code in HammerJS. See the stackoverflow issue here:
https://stackoverflow.com/questions/54750440/cypress-e2e-test-dock-closing-on-cy-visit/54790469#54790469
Is there any way to get HammerJS to not run the frame busting code short of removing it?

@ryanlangton not sure if you're still trying to use cypress, but I was able to get it to trigger hammer.js panstart / pan / panend events in an Angular app.
panstart was the hardest to get, turns out the trick is you need to click down and move on the same element:
 cy.get("element")
  .trigger("pointerdown", { button: 0 })
  .trigger("pointermove", "right");

@lworkman the "pointerdown" worked for the hammer.js app i'm testing. Thanks!


fix issue caused by Lerna 7+ useWorkspaces deprecation

Description
Lerna 7.0.0 introduced a breaking change that deprecates useWorkspaces. Instead Lerna now relies on a npmClient property to detect workspaces, unless package list is overriden by a packages property.
This in turn breaks the @rnx-kit/metro-config, since it is no longer able to correctly populate watchFolders property for metro config.
Please refer to the issue for more details
Resolves #2555
Test plan
Minimal example: https://github.com/poniraq/lerna7-tools-workspaces-bug-example
Alternatively, any workspace with Lerna 7+ will reproduce the issue unless you manually populate packages for Lerna.
My only concern is that this change technically introduces an uncovered edge case:

Lerna pre-7
workspace setup via pnpm or yarn
useWorkspaces is deliberately set to false in lerna.json

I've added requested changes as a new commit on top of "changeset" one, for the time being. let me know if you want me to squash/reorder them.

I've set this to automerge when CI passes. I will make a new release next week. Thank you ❤

I've set this to auto-merge when CI passes. I will make a new release next week. Thank you ❤

@tido64 I think the merge is blocked by unresolved conversations. Could you please resolve them if you're satisfied with the changes?

@tido64 I think the merge is blocked by unresolved conversations. Could you please resolve them if you're satisfied with the changes?

Ah, the mobile client hides conversations so I didn't see it. In the future, feel free to resolve it yourself when you've addressed it. We always review the changes regardless.


Quarterly reports

Looks like the quarterly reports may have recently broken. Attempted to pull income and cash flow on a quarterly basis, and was returned a "HTTP Error 403:"
Appears to be new as I was able to pull quarterly financials previously without issue. Maybe an update to the "Period" field?

Unfortunately, the data source (FinancialModellingPrep) decided to set the quarter datapoints to a Premium subscription. Therefore, you are not able to collect the data.
See for example:

Annual (working)
[Quarter (not working)(https://financialmodelingprep.com/api/v3/income-statement/TSLA?period=quarter&apikey=a015eaace08a8d46cfd49c849258a2bd)

This URL is the same as the request URL I make within this package. Therefore, the only solution is to upgrade your plan. I will be adding this error message in the code for other users as well.

Please update to version 0.2.8


fix(image-preview): prohibit triggering long press event when pinch zoom

Checklist
List of tasks you have already done and plan to do.

[x] prohibit triggering long press event when pinch zoom

Change information
Describe your modifications here.
Issues
The issues you want to close, formatted as close #1.
Related Links
Links related to this pr.
Reproduction  link.
Try it.

I added the judgment of the number of touch points to fix this bug for the long press event.
In the next major version, I will refactor the logic here with hammerjs
@haoziqaq


[Error] SlamCalculator is not a function

When one character os the selcted and another os targeted and than the /slam command is called, this error apears:

Found and fixed in the next release. Thanks for reporting this issue!


Generalize CLI command for query connection/channel end

Part of #392.
Summary
This task focuses on generalizing the CLI code for querying the connection end and channel end. The generalized components can be placed in the hermes-cli-components crate.
You can check related PRs such as #391 on how this can be done.
Things to note

The original CLI checks for whether the state is uninitialized, and return error if so. This is not needed for the generalized CLI, as the ConnectionEnd type is generic. This would already been handled by the Cosmos-specific implementation of CanQueryConnectionEnd.
We don't need to use AnyCounterparty in the query, as the type of the connection end depends on the target chain.

@thaodt you can work on this issue.

@thaodt you can work on this issue.

thanks Soares, I'm gonna finish the last Querier PR and take this one.


[FEA] look into CSV support for multi-line and ignore leading and trailing space

Is your feature request related to a problem? Please describe.
The CSV options for multi-line and ignore leading and trailing space are currently not really supported all that well.  It would be great to look into what it would take to actually support these properly, or at least better than we do right now.

The white space handling should probably be split off from multi-line support.
CUDF has inconsistent white space handling, but if we can clean it up and get it working properly for strings then we could use the CSV parser to pull back strings for everything, and then clean those stings up with similar code we use for casting.


Transaction lost

Hello friends
I sent a large amount of dfi to cake yesterday on my app. The transaction was displayed by the app al complete. No dfi arrived on cake. According to explorer there was no transaction and the coins are still on my address. But the balance is 0. I sent 4 dfi to this address as a test and withdrew again. It worked without any problems. Reindex, uninstall did not work. With the command send to address I could not send the coins to a new address either. Can you help me I am very worried.

Hi @hielscher92 , thanks for your feedback. Please refer to screenshot on how to save app logs and attach it in your next comment.

May I know what's the transaction ID & your address?

Yes I will do in the evening after work.
Thanks for helping👍

Adress from my app I should send you here? Tid I was not save and under transactions in app is nothing

dWZ5uFLNifNzRyNWHANhP6RFsei7Lj6UN4 my address from app. The coins still on this address

Here the logs
logs 22.12.2020.log

Can you type the following commands and post the results?
getaccount dWZ5uFLNifNzRyNWHANhP6RFsei7Lj6UN4
getaddressinfo dWZ5uFLNifNzRyNWHANhP6RFsei7Lj6UN4

I'm not a dev, just trying to help.
Can you type this als post the result?
listaccounts {} true true true

Then I get only ()

You said that you tried to send the funds manually afterwards but that didn't work, what command did you use for that?
Did you get an error message?

Send to address xy
Insufficient funds
But when you check explorer I have my coins on this address

What do you get if you type getbalance ?

0

dWZ5uFLNifNzRyNWHANhP6RFsei7Lj6UN4 my address from app. The coins still on this address

Thank you may I have the transaction ID?

I did not save the transaction ID. And when I check history I can't see this transaction

Hi @hielscher92 , i see. Please give us time to investigate this issue. Thank you.

Hi problem is fixed with command clearmempool and restart after this the app


Documentation for v2.0 catalogue

The documentation seems to be out of date and not relevant if you are trying to purchase a subscription with a v2.0 catalogue.
I have got it working, but I am unsure if this is the recommended approach.

Hi, SDK works with Chargebee's product catalogue v1.0 and v2.0. Recommended approach is to use v2.0.


filter - CTRL+V work but not Paste from context menu

If i use the filter and i paste in cron with CTRL+V to list all the cron tasks in running processes it will show only the cron task but if i'm instead use the mouse and from the context menu use Paste the filter won't work until i press enter or type another char.
Authentic theme version 19.38
Firefox 68.0.1 (64-bit)

Hi, Sopor! :smiley:
Look, it works for me in all browsers? I remember I was fixing it a while ago.
Can you provided the screenshot of where exactly do you use searching?

I can't show you a screenshot because when i do it, it will trigger the filter. It is in the Running Processes. I did an animated gif instead :)

I am confused, to be honest. Do you use any extensions? Can you try doing it with extensions disabled or in incognito tab? Can you try other browser?
What OS is that?
For me in Linux at Firefox/Chrome this is how it goes (works as expected):

In Chrome it seems to work when i paste from the context menu, but if i instead delete the filter it won't work. The same thing happens in Firefox when i delete the filter...
Filter empty but it will only show the cron task

Chrome doesn't have any Delete in the context menu so you need to use Cut instead.
Private window in Firefox, not working. Same thing with extensions disabled, not working.
I'm running Windows 10 in all they above tests.
If i instead run Ubuntu 18 it seems to work in Firefox, but it won't work if i delete the filter with the context menu. So at least they all have one thing in common :)

Interesting. There is a cross button to delete and clear the filter. Those events (delete and cut) were not meant to work, although, I just fixed it. Why not, I just personally never used those and never found it convenient to be used.
Thanks for pointing out though.

Okay, It works for me in Linux, (GNOME and KDE), and in MacOS. If it doesn't work for you in Windows, there might be something wrong on your side. For example, keybinding apps could break things unintentionally.


Question: why is pod-restarts and pod-status disabled by default in ver. 2

Migrating from Kuberhealthy 1 to 2, I've noticed that pod-restarts and pod-status are not enabled by default. What's the reasoning behind this change? I've also notice they are missing the Service Account Name podSpec. I'd get permission errors for the checks because they inherited the default Service Account Name in the namespace they were applied.

Moving from KH 1 to 2 is a pretty large change.  In v1, Kuberhealthy checks ran as part of the main kuberhealthy binary.  In v2, checks are scheduled as their own pods that report back to kuberhealthy over HTTP.  We had to make a lot of changes to code and behavior to pull this off.
If you want to set a serviceAccountName, you just need to put it in the podSpec section of the khcheck (kubectl get khcheck).
Having the pod-restarts and pod-status checks disabled by default probably wasn't a design decision - it probably just got over looked or those checks weren't stable enough on the original release of v2.  You can of course re-enable them by creating a khcheck again.
Here are the check pages for those:
https://github.com/Comcast/kuberhealthy/tree/master/cmd/pod-restarts-check
https://github.com/Comcast/kuberhealthy/tree/master/cmd/pod-status-check
Keep in mind that you must put one khcheck in every namespace that you want to run your checks.

@integrii That's exactly what I did. I've created khcheck manifest files for pod-restarts and pod-status. Like you mentioned, if things are meant to be decoupled from the kuberhealthy core, maybe we should removed all of the checks from helm chart then? Are the pod-status and pod-restarts check now considered stable for V2?

Sorry for the late reply here.  Yes, all checks are stable for version 2.  Version 1 actually didn't have external checks at all!
I thought about removing all checks from the helm chart, but new users would have to figure out that no checks were running on first install - so I feel like giving them a starting point is useful.


Add the client configuration section of the RocketMQ documentation best practices.

What is the purpose of the change
RocketMQ Developer Guide doc
Brief changelog
Client configuration section of the RocketMQ documentation best practices.
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.08%) to 44.901% when pulling 19a47c9740abccb4e5a18fa9a7be348eac1a8035 on Byron4j:develop into 6a573a773a87edbcdcc138614b756019fc280988 on apache:develop.


Feature/import injects scope

Adds:

scope injection
working directory base path for the REPL
updates examples and readme

@osaatcioglu