redirects on existing json resources don't seem to work

Description

create a tabular resource and preview it, eg /foo.json
add a redirect for that resource /foo.json -> https://www.adobe.com
preview the redirects sheet

observe: the  json is rendered instead of the redirect response.

As discussed on slack, this is a bug that we'd like to have fixed for Adobe Express as well.
https://adobe-mwp.slack.com/archives/C9KD0TT6G/p1681398155073459
@tripodsan @rofe @trieloff

I think the issue mentioned on Slack applied to HTML, not JSON.

It did - Maybe the issues have something to do with each other, but I've gone ahead and created and created a separate bug now just in case 👍 - https://github.com/adobe/helix-html-pipeline/issues/296


translate undefined intrinsics to an unreachable and a lint

rendered
includes #1477 up to has_native_atomic_ops

Why not trap instead?

@comex
Not that sure of it. Maybe a trap would be better. Both should have roughly the same effect.

The run-time aspect of this kinda scares me, and I remain hopeful for type-level naturals someday like Haskell :). How about we have some system to try compiling one set of items, and if a compilation error is encountered, compile this other set of items instead? Kinda like  "Substitution Failure Is Not An Error" meets http://alexcrichton.com/cfg-if .

I don't like this. We should try to stop undefined behavior in all cases, not just in safe code, and whenever we find something that would be undefined behavior we should error out. A much better idea, imho, would be to make the intrinsics' errors better.

Hear ye, hear ye! This RFC is now entering final comment period.

Hmm wasn't something for rustc to calculate layouts just landed? That + specialization would seem to be the way to go.

I'd prefer INT3 as well.

It seems like it would be best to provide a way to select different code paths based on, e.g., atomic availability at compile time. If that's not practical I would prefer if the default were still to generate an error during compilation, with a way to assert that your code is doing the appropriate run-time checks and opt-in to generating unreachable.

Hmm. I am trying to remember the details of a conversation that @arielb1 and I had recently on the topic of this RFC, but I remember that I was feeling generally sympathetic to its aims -- however, I do prefer generating a trap to generating undefined behavior.
I guess the most urgent questions to resolve are:

when intrinsics can have edge cases, should we try to rule those out statically, or use the "trap+lint" approach advocated here?

examples:

transmute
atomics
etc

it seems plausible that there might be edge cases where the unsafe code knows that the trap path will not be reached at runtime (but can't prevent it from being generated);
currently the transmute restriction rules out a lot of generic code patterns; this could be fixed with some magic traits, but it would certainly be easier to just generate a trap

at the time when we removed the transmute code, we didn't track spans through inlining, so when you did have a failure, you had no good way to know which transmute it was that died

I've been using a workaround for transmutes in generic code for atomic-rs: https://github.com/Amanieu/atomic-rs/blob/master/src/nightly.rs#L39
The basic idea is to just perform size checks using mem::size_of and then use transmute_copy which can be used with generic types.

Considering atomic intrinsics only work with integer types and that trasmute restrictions on generic types can easily be bypassed by using transmute_copy, I don't see much point in this RFC.

We discussed this in the @rust-lang/lang meeting and decided not to accept this RFC at this time (though I think there is some interest in potentially revisiting this approach at a later time). Basically the feeling is that the point is to some extent moot: As @Amanieu commented, the atomic question has been resolved, and transmute is being handled (for the moment) in a satisfactory way, and has a workaround for the known limitations.
If we did want to revisit transmute, there are basically two options:

the way advocated in this rfc (perhaps with trap);
or, adding a special trait that means "can transmute", so that one can use transmute in generic code.

This RFC ably described the former option, but we'd like to explore the latter a bit before deciding.

(Thanks @arielb1!)


[Catch2] find_package failure on wasm32-emscripten

Operating system
Linux
Compiler
em++
Steps to reproduce the behavior
I used this vcpkg.json:
{
  "name": "typst-cpp",
  "version-semver": "0.1.0",
  "dependencies": [
    {
      "name": "fmt",
      "version>=": "10.1.0"
    }
  ],
  "default-features": [],
  "features": {
    "test": {
      "description": "Dependencies for testing",
      "dependencies": [
        {
          "name": "catch2",
          "version>=": "3.4.0"
        }
      ]
    }
  },
  "builtin-baseline": "16ee2ecb31788c336ace8bb14c21801efb6836e4"
}

CMake fails at find_package(Catch2 REQUIRED) in my project.
Failure logs
Preset CMake variables:

  BUILD_MCSS_DOCS="ON"
  CMAKE_BUILD_TYPE="Debug"
  CMAKE_CXX_CLANG_TIDY="clang-tidy;--header-filter=^/home/bobini/typst-cpp/"
  CMAKE_CXX_EXTENSIONS="OFF"
  CMAKE_CXX_FLAGS="-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS=1 -fstack-protector-strong -fcf-protection=full -fstack-clash-protection -Wall -Wextra -Wpedantic -Wconversion -Wsign-conversion -Wcast-qual -Wformat=2 -Wundef -Werror=float-equal -Wshadow -Wcast-align -Wunused -Wnull-dereference -Wdouble-promotion -Wimplicit-fallthrough -Wextra-semi -Woverloaded-virtual -Wnon-virtual-dtor -Wold-style-cast"
  CMAKE_CXX_STANDARD="20"
  CMAKE_CXX_STANDARD_REQUIRED="ON"
  CMAKE_EXE_LINKER_FLAGS="-Wl,--allow-shlib-undefined,--as-needed,-z,noexecstack,-z,relro,-z,now,-z,nodlopen"
  CMAKE_EXPORT_COMPILE_COMMANDS="ON"
  CMAKE_FIND_DEBUG_MODE="OFF"
  CMAKE_SHARED_LINKER_FLAGS="-Wl,--allow-shlib-undefined,--as-needed,-z,noexecstack,-z,relro,-z,now,-z,nodlopen"
  CMAKE_TOOLCHAIN_FILE="/home/bobini/vcpkg/scripts/buildsystems/vcpkg.cmake"
  VCPKG_CHAINLOAD_TOOLCHAIN_FILE="/home/bobini/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
  VCPKG_MANIFEST_FEATURES="test"
  VCPKG_TARGET_TRIPLET="wasm32-emscripten"
  typst-cpp_DEVELOPER_MODE="ON"

Preset environment variables:

  VCPKG_ROOT="/home/bobini/vcpkg"

-- Running vcpkg install
Detecting compiler hash for triplet x64-linux...
Detecting compiler hash for triplet wasm32-emscripten...
All requested packages are currently installed.
Total install time: 381 ns
The package fmt provides CMake targets:

    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt)

    # Or use the header-only version
    find_package(fmt CONFIG REQUIRED)
    target_link_libraries(main PRIVATE fmt::fmt-header-only)

catch2 provides CMake targets:

  # this is heuristically generated, and may not be correct
  find_package(Catch2 CONFIG REQUIRED)
  target_link_libraries(main PRIVATE Catch2::Catch2 Catch2::Catch2WithMain)

catch2 provides pkg-config modules:

    # A modern, C++-native test framework for C++14 and above (links in default main)
    catch2-with-main

    # A modern, C++-native, test framework for C++14 and above
    catch2

-- Running vcpkg install - done
CMake Error at /home/bobini/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package):
  Could not find a configuration file for package "Catch2" that is compatible
  with requested version "".

  The following configuration files were considered but not accepted:

    /home/bobini/typst-cpp/build/dev/vcpkg_installed/wasm32-emscripten/share/catch2/Catch2Config.cmake, version: 3.4.0 (32bit)

Call Stack (most recent call first):
  test/CMakeLists.txt:15 (find_package)

-- Configuring incomplete, errors occurred!

Additional context
This might be related: https://github.com/bincrafters/community/issues/419. Or not.

This issue can't reproduce on x64-linux and x64-windows.
Please refer to https://discourse.cmake.org/t/find-package-error-the-following-configuration-files-were-considered-but-not-accepted-what-does-it-mean/5003.

After more investigation, this was actually caused by not running the activate command of emsdk. Env variables were not set correctly. Thank you for your help.


MessageAttributes are not persisted/available when retrieved

I am using the serverless-offline-sqs wrapper around a dockerer-ised version of elasticmq (specifically
s12v/elasticmq:latest / ElasticMQ server (0.14.1))
I am using the AWS client and called 'sendMessage' in the following manner...
    const messageAttr = {
      id: { DataType: 'String', StringValue: '123' },
      fileURL: { DataType: 'String', StringValue: 'http://baconmockup.com/600/400/' }
    };

    result = await sqs
      .sendMessage({
        MessageBody: 'some body',
        MessageAttributes: messageAttr,
        QueueUrl: `http://<IP_ADDRESS>:9324/queue/<my_queue_name>`
      })
      .promise();

In wireshark, I can see the request that the AWS client makes to elastic, and all looks good (POST = 200)

However, when I retrieve the message, the messageAttributes are not present.

Implementation of serverless-offline-sqs does not send a value for MessageAttributeNames when using the AWS Client so they are not retrieved.
ElasticMQ working as expected :)


[Feature Request] - Support MLST and MLSD

Description
The MLST and MLSD commands allow getting more detailed metadata about a file.
Changes
Add something like this:
fn mlsd(pathname: Option<&str>) -> Vec<FileInfo>{

}

fn mlst(pathname: &str) -> FileInfo {

}

struct FileInfo {
    pathname: String,
    size: Option<usize>,
    created: Option<DateTime>,
    modified: Option<DateTime>,
    type: Option<TypeFact>,
    unique: Option<String>,
    perm: Option<String>,
    lang: Option<String>,
    media_type: Option<String>,
    charset: Option<String>,
    custom: HashMap<String, String>
}

enum TypeFact {
    File,
    Directory,
    CurrentDirectory,
    ParentDirectory
}

Implementation
Should be fairly straightforward

I want these commands as well, but when I searched the doc and found nothing, my intuition was searching for some api to send raw command. After reading source code, I was surprised to find ImplAsyncFtpStream.perform being private.
Is there a reason that sending raw command not public? It forbids users to utilize lots of advanced features.

Reference https://www.rfc-editor.org/rfc/rfc3659#page-23

701071d6


Prevent select field from being changed to select1

Right now, we allow a select1 field to be changed to a select field (a select-multiple) and vice versa. (I think that in XLSForm, select_one is an alias for select1, and select_multiple is an alias for select.) We allow such a change because select1 and select fields are both type string, and our restrictions around field changes mostly have to do with type.
Conceptually, it seems fine for a select1 field to be changed to a select. In submissions, all select1 values are valid select values. However, the reverse change — changing a select field to a select1 — seems potentially problematic. Not all select values are valid select1 values.
That said, I can't think of anything offhand that would break in Central if a select field were changed to a select1. Also, even if a user were to change a field from a select to a select1 and something went wrong, they could probably just change the field back to a select in a new version. I doubt that changing a select field to a select1 is a common choice. If it were to happen, it could be an issue for downstream tools. Then again, we don't generally validate field values, so maybe downstream tools should just be prepared for unexpected values in general.
@lognaturel and @ktuite, what do you think? Maybe we make this a "help wanted" issue for now? Or perhaps just close?

I could see someone wanting to change the interface between select one and many without changing the underlying path of the field and I don't think we should stop them.
I can also see the data getting a little messed up (two responses in the same string where only one is expected) but a) it doesn't break anything in central, b) they can change it back to a select to get central to separate the responses again, and c) like you said, this sounds like something they could manage in their own tools; it's not going to break an odata export.

OK, I'll go ahead and close as a "won't fix" then! We can always reopen if need be.


Improve reCAPTCHA implementation to support Google reCAPTCHA v3

Currently, Identity Server supports v2 of Google reCAPTCHA. Provide the support for Google reCAPTCHA v3.

Verified Below Flows with Pack IS 6.0 RC https://drive.google.com/file/d/1h3ynCA_1kLKPovRahbDtrtGvFYxXkbvs/view
Invisible Recaptcha with V2

[x] Recaptcha for SSO login (verified with pickup distpatch app, pickup dispatch manager app, myaccount)

[x] Recaptcha during Failed login Attempts flow

[ ] Recaptcha During Self Registration flow

There are multiple concerns when going forward with the implementation

The score returned by reCAPTCHA can vary from development environment to production environment [1]. Also if the traffic to the server is less, the accuracy of the scores will be lower [2].

Currently if the score is less than the threshold, the requests are blocked by the backend. Therefore, there is a possibility of blocking out user requests due to false positives. Unlike V2, V3 does not give a captcha puzzle if the request is identified as a bot, and the documentation [1] recommends to implement actions based on our context.

[1] https://developers.google.com/recaptcha/docs/v3#interpreting_the_score
[2] https://www.google.com/recaptcha/admin/

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

This issue is already completed


macos-arm64 binaries fail to run on macOS M1/2

RE: https://github.com/05nelsonm/kmp-tor/issues/285
Binaries for macos-arm64 are not developer signed and fail signature checks when trying to execute on them. ~Binaries from the expert bundle worked though which is weird?~
Will repackage binaries from each expert bundle and then publish a -SNAPSHOT

There are 3 paths going forward, each with their own trade offs.

Download TorBrowser, extract tor binaries and repackage them
Download tor-expert-bundles, extract binaries, repackage

Will need to codesign with developer id the macOS aarch64 and macOS x64 binaries, unless the Tor Project starts
shipping signed binaries in the expert bundles (still waiting to hear back).

Refactor the build script such that binaries are reproducibly built, and add a signing step such.

This will also require a new tool to be developed such that signatures are stripped for the published binaries and compared with the unsigned binaries so library consumers can easily verify by building binaries themselves and comparing with the unsigned binaries.

Looks like Option 3 it is, using the tool referenced here. Awesome!
https://github.com/05nelsonm/kmp-tor/issues/285#issuecomment-1472164161


Missing files on npm install

After downloading (both by using the ZIP and Git), I am instructed to execute npm install. However, this results in an enormous amount of warmings due to missing files and the end result are errors.
gulp serve als gives errors.
So I'm stuck on getting the files before starting.
How can I get all the files and all dependencies and/or make sure that the code I download is complete and working?

@Momus2302 , I'm pretty new at this myself.  One of the first things to check that may not be mentioned on the sample Readme is that you should go first go to the folder for the sample.
So like I am currently re-using the react-facebook-plugin example.
I have to go to this folder and then run the npm install and gulp serve from it:
C:\FolderWhereThisRepoIsIn \sp-dev-fx-webparts\samples\react-facebook-plugin\
Basically one folder up from the src folder of the sample you are trying to use.
If you want to reply back with the example you are trying to use and the folder you are currently in, it would help :)

@ChrisMenning did @Rondellio 's answer help you solve this issue?
I'll go ahead and mark this as closed, but if you still need help with this, feel free to re-open the issue.


Acknowledge messages in a direction connection scenarios

Once WebRTC is done, Light push server could be implemented to ack messages received.

Look into MVDS


Prototypical change in interpretation of query

You can easily see the change in interpretation of queries via diff. Some tests are failing because of the change.

Fixed failing, tests. Only 2 tests were failing and the only reason was the change in interpretation

Notice that if there is no valid initial state necessarily executable scenario returns true and possibly executable scenario returns false. This is the desired behaviour since mathematically general quantifier succeeds for all elements in empty set and existential quantifier always fails.


modd: init at 0.8

Motivation for this change
Neat tool that watches files in a project directory and re-runs linters/tests or restarts daemons when a file is modified. More info at project homepage.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Now just need to rebase such that no merge commits are in there

@Infinisil done

Thanks :+1:


Declared License

Type: Incomplete
Summary:
Declared License
Details:
Adding MIT
Resolution:
https://github.com/Microsoft/ApplicationInsights-Home/blob/master/LICENSE
Affected definitions:

Microsoft.ApplicationInsights 2.0.0

@geneh - can you please help with the conflicting files issue?  Not sure what is happening here...

Done!


http to https global redirecting is not working

I have the following docker-compose.yml file
`version: "3.3"
services:
traefik:
image: "traefik:v2.0.0"
command:
- --providers.docker.exposedbydefault=false
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --providers.docker
- --api.insecure
- --certificatesresolvers.leresolver.acme.caserver=https://acme-v02.api.letsencrypt.org/directory
-<EMAIL_ADDRESS>- --certificatesresolvers.leresolver.acme.storage=/acme.json
- --certificatesresolvers.leresolver.acme.tlschallenge=true
ports:
- "80:80"
- "443:443"
- "8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./acme.json:/acme.json"
labels:
# global redirect to https
- "traefik.http.routers.http-catchall.rule=hostregexp({host:.+})"
- "traefik.http.routers.http-catchall.entrypoints=web"
- "traefik.http.routers.http-catchall.middlewares=redirect-to-https"
  # middleware redirect
  - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"

my-app:
image: containous/whoami:v1.3.0
labels:
- "traefik.http.routers.my-app.rule=Host("test.casagrande.ch")"
- "traefik.http.routers.my-app.entrypoints=websecure"
- "traefik.http.routers.my-app.tls=true"
- "traefik.http.routers.my-app.tls.certresolver=leresolver"
`
How it works.
When i set "exposedbydefault" value to "true" then the http to https redirecting is working properly.
Question
Is it possible to have set "exposedbydefault=false" and global redirecting?

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Docker image link broken

https://github.com/GoogleCloudPlatform/monolith-to-microservices-example/blob/35a3e7384b1329353f520d20666fec0a589b041f/monolith/deploy.yaml#L63
Step to reproduce :
$ docker pull gcr.io/cloud-solutions-images/ecomm
Using default tag: latest
Error response from daemon: pull access denied for gcr.io/cloud-solutions-images/ecomm, repository does not exist or may require 'docker login': denied: Permission denied for "latest" from request "/v2/cloud-solutions-images/ecomm/manifests/latest".

hi @augustinsangam, this will be fixed after this PR https://github.com/GoogleCloudPlatform/monolith-to-microservices-example/pull/3
meanwhile, the workaround will be to:

build the image manually and upload it to gcr.io
then edit manually monolith/deploy.yaml to point to the new url of the gcr.io image created on step #1


[BUG] Default MaxPoolingOp/AvgPoolingOp only supports NHWC

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux CentOS 7
TensorFlow installed from (source or binary): pip install tensorflow with virtualEnv
TensorFlow version (use command below): 1.4.0
Python version: 2.7.5
Exact command to reproduce:

import numpy as np
import tensorflow as tf
a = tf.nn.max_pool(np.random.rand(1, 1,10,10), [1,1,2,2], [1,1,1,1], 'VALID', data_format='NCHW')
sess=tf.InteractiveSession()
sess.run(a)

Describe the problem
When I try to run a node of type max or avg pool with data_format : 'NCHW' I got an error.
This seems to be a bug because the TF docs affirms that :

data_format: A string. 'NHWC', 'NCHW' and 'NCHW_VECT_C' are supported.

Error logs
With max:

2017-12-14 12:40:23.250331: E tensorflow/core/common_runtime/executor.cc:643] Executor failed to create kernel. Invalid argument: Default MaxPoolingOp only supports NHWC.
[[Node: MaxPool = MaxPoolT=DT_DOUBLE, data_format="NCHW", ksize=[1, 1, 2, 2], padding="VALID", strides=[1, 1, 1, 1], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

With Avg:

tensorflow.python.framework.errors_impl.InvalidArgumentError: Default AvgPoolingOp only supports NHWC.
[[Node: AvgPool_1 = AvgPoolT=DT_FLOAT, data_format="NCHW", ksize=[1, 1, 2, 2], padding="VALID", strides=[1, 1, 1, 1], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

#2660

@zheng-xq Can you comment on this? Maybe we should update docs to say that all data formats are not supported? Thanks...

For now, many kernels only supports NCHW on GPU. In the future, we are introducing a layout optimizer so models can use NHWC and still get the best performance as if they are written for NCHW.

@zheng-xq Thanks.
@ dr4b Can we update the documentation on nn_ops.py for function "max_pool"?

@andydavis1 we could do it, or if @zheng-xq wants to submit a PR fixing the docs that would also work?  You just need to update the doc string in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn_ops.py

I am running the following command:
export CUDA_VISIBLE_DEVICES=“0,1”; python tf_cnn_benchmarks.py --num_gpus=2 --batch_size=64 --model=resnet101 --variable_update=parameter_server --local_parameter_device=cpu --data_format=NHWC
and the warm up is really slow. I changed the data_format because of the error

Basically this command runs on cpu. It's really strange because --device=gpu

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Just to clear some potential confusion around this. If you compile tensorflow with MKL support you can use these ops with NCHW.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@zheng-xq has there been progress on a layout optimizer?  Is NCHW now supported?

Nagging Assignee @wolffg: It has been 22 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I think you are getting this error because of the code you provided. You are trying to max pool from numpy array. When I run your code I got the same error. When modified it is working properly.
import numpy as np
import tensorflow as tf

a = tf.random_uniform((1, 3,10,10))
b = tf.nn.max_pool(a, ksize=[1, 1, 2, 2], strides=[1, 1, 1, 1], padding='VALID', data_format='NCHW')
sess=tf.InteractiveSession()
sess.run(tf.global_variables_initializer())
res = sess.run(b)
print(res.shape)

Nagging Assignee @wolffg: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I think this may tie to this Todo.

Nagging Assignee @wolffg: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 74 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 89 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 104 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 119 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @wolffg: It has been 134 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Closing due to staleness. Please check with the latest version of TensorFlow. Feel free to reopen if the issue still persists. Thanks!

I tried all the aforementioed methods. nevertheless of these methods were overcome this bug. I still have had the same issue:
InvalidArgumentError: Default MaxPoolingOp only supports NHWC on device type CPU
[[{{node max_pooling2d_2/MaxPool}}]]
When I trying to execute this code in jupyter notebooke:
Training
hist = model.fit(X_train, y_train, batch_size=16, epochs=num_epoch, verbose=1, validation_data=(X_test, y_test))
Pleasem I need your support

same problem here:

I tried all methods, but still cant solve this error. Please help me with this code:
from keras import optimizers
ada = keras.optimizers.Adadelta(learning_rate=1.0, rho=0.95)
model.compile(optimizer=ada,
loss='sparse_categorical_crossentropy',
metrics=['accuracy'])
history = model.fit_generator(train_generator,
validation_data=validation_generator,
steps_per_epoch=100,
validation_steps=100,
epochs=10)
error:
InvalidArgumentError:  Default MaxPoolingOp only supports NHWC on device type CPU
[[node functional_3/max_pooling2d_9/MaxPool (defined at :10) ]] [Op:__inference_train_function_7377]
Function call stack:
train_function

pip install intel-tensorflow==2.3.0
pip install keras==2.4.3
works for me, but run slowly.


auto-add prefix / folder-name for images

Since Obsidian come up with an "Attachment Folder Path" function, images in notes can use filename directly without need to type a full path:
 ![](untitled1.jpg)
which in html:
<img src="untitled1.jpg" />
However in MindStone, if the directory of the image isn't included in the path, the image will be seen as a normal note / .md. (if we don't convert the image link from the note and open it directly, the image link will become like: https://sitename/note/untitled1.jpg which will show 404 in the browser.)
Is there any way to have a config about this?? (e.g. change the routing rules maybe??)

change default images path in obsidian-image.js in lib


what does "character level-up material" mean?

I thought character level-up material meant that its a material for leveling up your characters but I saw a material
  {
    "name": "Brilliant Diamond Chunk",
    "description": "Character Ascension material.\n\"Welcome to this world.\"",
    "rarity": "4",
    "category": "AVATAR_MATERIAL",
    "materialtype": "Character Level-Up Material",
    "source": [
      "Adventure Rank Reward"
    ],
    "images": {
      "redirect": "https://genshin-impact.fandom.com/wiki/Special:Redirect/file/Item_Brilliant_Diamond_Chunk.png",
      "fandom": "https://static.wikia.nocookie.net/gensin-impact/images/7/74/Item_Brilliant_Diamond_Chunk.png",
      "nameicon": "UI_ItemIcon_104103"
    },
    "url": {
      "fandom": "https://genshin-impact.fandom.com/wiki/Brilliant_Diamond_Chunk"
    }
  }

The description says character ascension material but the material type is character level up material

"materialtype": "Character Level-up Material" is what shows up on the item card

"category": "AVATAR_MATERIAL" is the broader category of every materials that pertains to characters (talent books, monster mats, etc)

Sorry I dont play genshin but I saw a guide on character exp materials https://gamewith.net/genshin-impact/article/show/22366 and in the guide it shows 3 items that gives ex

p
But I don't see them in the database

Actually my bad, turns out it was a problem with my code that caused it not to appear. I see it in the database now


Support impl CellValue on View without wrapper type

The render_value method returns impl IntoView. It'd be great if CellValue is implemented on leptos_dom::View, and we can have a field like FieldGetter<View> directly. It's not possible currently without an extra wrapper type because of the orphan rule.
Thank you for the great work!

Thanks for the nice words. I'll see what I can do


Make adding metadata fields in JestResult optional

JestResult#getSourceAsObjectList() and JestResult#getSourceAsObject() used to
add the metadata fields "es_metadata_id" and "es_metadata_version" unconditionally,
which might be the desired for all use cases.
This change set adds a boolean parameter to these methods which controls whether
the metadata fields should be added to the result.

@ferhatsb Is anything missing or has to be changed before this can be merged?


Add color augmentations (RandomBrightness, RandomContrast, RandomSaturation)

Random color augmentations similar to torchvision.transforms.ColorJitter.
Lack of my ability, augmentations don't contain adjusting hue and are divided into 3 parts with RandomBrightness, RandomContrast, RandomSaturation.
To avoid errors, I changed some of the methods which occur error on my env.
(changing torch unsqueeze, expand operations to numpy expand_dims, repeat operations occurs error)
Reference from torchvision tensor operation
# Pipeline Examples
pipelines = {'image': [RandomResizedCropRGBImageDecoder((224, 224)),
                       RandomBrightness(0.2), RandomContrast(0.2), RandomSaturation(0.2),
                       RandomHorizontalFlip(), Cutout(16),
                       ToTensor(), ToTorchImage(), ToDevice(0),
                       NormalizeImage(IMAGENET_MEAN, IMAGENET_STD, np.float16)],

             'label': [IntDecoder(), ToTensor(), ToDevice(0)]}

Hi, thanks for the PR! I took a brief look, and I think that some of these could be done in-place instead of allocating new memory (e.g., brightness?)

Thanks for working on that @Jasonlee1995


Add 4d sprite 0x0a 0x0b

Synthesized with wldcom. Not sure if there's a pattern for using FragmentRef with varying types so I kept them as numbers.

Yeah, that's still kind of an unsolved problem. At least some of the multi-type references I've seen seem to point at certain "classes" of fragments (e.g. geometry). If that's generally the case then we could create a specific reference type for those classes of fragments with variants for each potential fragment type. But I haven't explored it enough to know if that really makes sense.


configuration: Renamed "Arg" to "Plugin"

Fixes #326

Codecov Report

Merging #521 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #521   +/-   ##
=======================================
  Coverage   87.86%   87.86%
=======================================
  Files         100      100
  Lines        6361     6361
  Branches      944      944
=======================================
  Hits         5589     5589
  Misses        601      601
  Partials      171      171

Continue to review full report at Codecov.

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

@sakshamarora1 can you merge master and put this under the unreleased section?


TODO

[ ] Add balance overdue to initial payment screen.
[ ] Fire off two actions || Give payment_amount a payload => For Displaying Credit Card Component.
[ ] Appropriate response.
[ ] Add credit card payment type to live DB.
[ ] Clean up config/routes.
[ ] disable paypal button until has been initialised
[ ] Check the logged error in paypal flow.. Cannot read property then of undefined

@ivanmauricio I have started with the response, and second point. I didn't move the initial request into redux as it is 2 requests so a bit more time consuming than i first thought..

[ ] Get paypal sorted out for production.
[ ] Get ENV sorted out for production.
[ ] Error message 'Do not honor' => Sort it out.
[ ] Prettify cvv... fields
[ ] Sort out placeholders
[ ] Decide on AVS


Initialize time as part of basic initialization.

gpr_time_init must happen in do_basic_init, because
for normal initialization we may need the precise clock
(e.g., if profilers are enabled).
Otherwise, we will have an stack overflow.
Fixes #18589

please feel free to submit, once approved.

Thank you @nicolasnoble


no an issue but a question. Anyway to debug (f9) step by step with chrome or firefox ?

Hi!
How to debug (f9) step by step with chrome or firefox ?
Thanks in advance,
Thierry

The same as with Bridge? You need source map... I guess.
But if you have a real problem it is much better to debug generated JS or Console.WriteLine and check the output.

Agreed - I also disable the source-code mapping as I prefer to debug the generated JS.
Otherwise, yes you can debug using the browser developer tools.


Why is React-Dom a part of this package?

With the move to separate React and React-Dom, I am curious as to why this package contains both. My team is currently migrating from bower to yarn and part of the issue that has arisen is adding new mappings to our legacy architecture since we now have to resolve 2 NPM packages instead of one Bower packages. I'm not expecting a change from this issue, I'm just curious about it is all :)

If you go to bower.io and search for "react-dom" it comes up with something else.  In other words, I think that when they made to split, the name was taken.


WebScan red test report not shown as expected in new HTML report

Situation
The test report report_webscan-3-red.html looks in old variant like this:

The new variant (with summary) looks currently like:

Wanted
Details etc. shall be visible again.

Remark: the json file seems to be correct:

Hm...
After #2878 the single report still does not show up the entry. But
for the new added report report_client-test-4-webscan-multiple-findings.html it looks okay:


Improvement suggestions

We from sulu-cmf wants to use your crawler to create a http cache warmer and website information extractor. I will start today to use your class in a new SymfonyBundle.
Because of this reason i would like to ask you if you had time to contribute to your class?
I will create a PR to include some improvements we need:

Extract metadata
Get status_code of external links to check broken links
Perhaps the possibility to add a "progress bar"

I hope you will be able to merge this PR and thanks to your good work until now (= it saves me a lot of time.
With best regards
sulu-cmf

link to our homepage and github-account

also return 301 status code to determine which urls are redirects!
could be solved with:
$client = new Client();
$client->followRedirects(false);

$crawler = $client->request('GET', $url);
if ($client->getResponse()->getStatus() >=300 && $client->getResponse()->getStatus() <= 400) {
    $crawler = $client->followRedirect();
}

save statuscode for first url.

add the page where the link is used to result.


Automated cherry pick of #2628: Improve NodePortLocal documentation

Cherry pick of #2628 on release-1.3.
#2628: Improve NodePortLocal documentation
For details on the cherry pick process, see the cherry pick requests page.

/skip-all


flutter web apple safari on the keyboard

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

is there anyway for web opened on iphone safari read sms on the keyboard or autofill?

Hi @mohamadhadibi, did you find the solution for this issue of read sms in safari? I am also facing this issue currently.

The code should pop up automatically on top of the keyboard. If not there might be the problem with the language and the format of the SMS. Try something like
Your code is 1234

Since there has been no response or follow-up, I am closing this issue for now. If you still encounter the problem or need further assistance, feel free to reopen the issue or create a new one. Thank you!


Attributes table wider than available width

When selecting the JMImplementation node on the JMX tree, the Attributes page shows a table wider than the available width, forcing the user to scroll horizontally to see all the data.

Had a similar issue with e.g. class path when working on runtime plugin, and tried to solve by limiting column with and forcing breaks: https://github.com/skarsaune/hawtio-jmx/blob/runtime_plugin/plugins/runtime/less/runtime.less


Horizontal ListView

In the Remarks section it is said that: "Use a ListView to display a collection of items stacked vertically or horizontally."
However I did not find a mention of how to set the ListView to stack items horizontally. From the first paragraph it seems it is not supported (Why?) if so a link to a control that supports it would be nice.

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

ID: 8a7325e2-abc5-2071-45dc-60468cfd4525
Version Independent ID: 8a7325e2-abc5-2071-45dc-60468cfd4525
Content: ListView Class (Microsoft.UI.Xaml.Controls) - Windows App SDK
Content Source: winapps-winrt-build/xml/Microsoft.UI.Xaml.Controls/ListView.xml
Product: reunion
Technology: reunion-reference
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

@Michal-MK, thanks for raising this issue. You can find an example of a horizontal list view in the List view and grid view article linked at the top of the Examples section. I'll look into making this information more obvious in the ListView class page.


avoid canceling dialog on touch outside?

how to prevent the dialog to cancel on touch outside the dialog?
I want the dialog stays...
thanks...

try
picker.getDialog().setCanceledOnTouchOutside(false);


Build broken with go 1.18

With go 1.18, the make controller-gen target fails to create a bin/ directory and to create bin/controller-gen. All of the targets that depend on make controller-gen (e.g. make docker-build) therefore fail as well.
See also https://github.com/HewlettPackard/dws/issues/14

Resolved in PR 57.


Mockito documentation out of date

http://www.scalatest.org/user_guide/testing_with_mock_objects links to http://doc.scalatest.org/3.1.1/#org.scalatest.mock.MockitoSugar which hasn't existed for a while.
It used to be at org.scalatestplus.mockito.MockitoSugar, but I see that that's not there anymore either.
The documentation could do with an update to reflect the current version.

Just an FYI for anyone like me who was looking for where MockitoSugar has been moved.  It is now part of scalatestplus: org.scalatestplus.mockito.MockitoSugar
https://mvnrepository.com/artifact/org.scalatestplus/scalatestplus-mockito

@heyestom thanks for sharing I was stumped by this for quite some time until I spotted this. Are there plans to update the docs?

It links here now: https://www.scalatest.org/plus/mockito
I think this can be closed

Nice 👍


New version: Unity.Unity.6000.WebGL version 6000.0.13f1

Created by 🥟 Dumplings in workflow run #7048.

Log
Updated: 6000.0.12f1 → 6000.0.13f1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000 version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165881
Handling Unity.Unity.6000.Android...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.Android version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165883
Handling Unity.Unity.6000.iOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.iOS version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165884
Handling Unity.Unity.6000.tvOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.tvOS version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165885
Handling Unity.Unity.6000.visionOS...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.visionOS version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165886
Handling Unity.Unity.6000.LinuxIL2CPP...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxIL2CPP version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165887
Handling Unity.Unity.6000.LinuxMono...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxMono version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165888
Handling Unity.Unity.6000.LinuxServer...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.LinuxServer version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165889
Handling Unity.Unity.6000.MacMono...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.MacMono version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165890
Handling Unity.Unity.6000.MacServer...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.MacServer version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165891
Handling Unity.Unity.6000.UWP...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request
Pull request created: New version: Unity.Unity.6000.UWP version 6000.0.13f1 - https://github.com/microsoft/winget-pkgs/pull/165892
Handling Unity.Unity.6000.WebGL...
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Depends on: https://github.com/microsoft/winget-pkgs/pull/165881

/azp run

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335226
2024-08-06 09:48:26.223 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFFCE83C11F: (caller: 00007FFFCE5C8D6F) LogHr(1) tid(14fc) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFFCE742B08: (caller: 00007FFFCE7EBC20) Exception(1) tid(14fc) 8A15005E ]
2024-08-06 09:48:38.651 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(757)\WindowsPackageManager.dll!00007FFFB22FC11F: (caller: 00007FFFB2088D6F) LogHr(1) tid(874) 8A15005E     Msg:[D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(30)\WindowsPackageManager.dll!00007FFFB2202B08: (caller: 00007FFFB22ABC20) Exception(1) tid(874) 8A15005E ]
2024-08-06 10:12:39.923 [CLI ] ShellExecute installer failed: 2

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
Automated error analysis suggests 8A15005E may mean APPINSTALLER_CLI_ERROR_PINNED_CERTIFICATE_MISMATCH - The server certificate did not match any of the expected values.
(Automated response - build 887.)

/azp run


[Feature Request] MultiHeadAttention ops and Layer

Multi Head Self Attention is reaching SOTA results in a wide variety of fields:

NLP (Attention is all you need, GPT, Bert, etc)
Graphs
Computer Vision: 1 and 2
Time Series
Audio/Speech Recognition

Nvidia already added this operation to cudnn and pytorch already has an official MultiHeadAttention module. Its about time Tensorflow gets this operation too as it would enable researches and developers to get started quicker.
Currently there is an Attention layer in tf.keras but it only covers the main single head equation, has no learnable parameters, and can't be used as a basis for an efficient MultiHeadAttention implementation.

@Cibifang, I would like to contribute.

@monk1337 @fchollet Any updates?

This layer is already implemented:
https://www.tensorflow.org/addons/api_docs/python/tfa/layers/MultiHeadAttention

This layer is already implemented:
https://www.tensorflow.org/addons/api_docs/python/tfa/layers/MultiHeadAttention

This layer do not use cudnnMultiHeadAttnForward.
https://github.com/tensorflow/addons/commit/3b0d97804c15e65fdf9e8e3bbc2e93de0091e5bc

cudnnMultiHeadAttnForward has not been defined as TF ops/kernel yet? @reedwm @zongweiz
We have tracked this.

@cgarciae,
Can you please let us know if MultiHeadAttention Layer is the functionality that you are looking for? Thanks!


T411.io: Adapted SUB_CATEGORIES to the new site inputs

Just passing by :)
The format of the inputs on t411.io has changed since jul 8th approx.
This PR is to reflect these changes.
Keep up the good work!

I'm assuming this is right as i don't use t411.io..


uninitialized constant Faraday::Request::Retry::DEFAULT EXCEPTION

I installed this gem and I am getting this error "uninitialized constant Faraday::Request::Retry::DEFAULT EXCEPTION" when I try to process an image using "from_file" method.

Hi @waaux thanks for your bug report. Please could you confirm which version of Faraday you're using?

If you're using a Gemfile & bundler (recommended), you can find out with: bundle info faraday
If you ran gem install remove_bg to install the gem, you can find out with: gem info faraday

Hi @waaux,
I was able to replicate the issue - turns out we have a compatibility issue with Faraday 0.14. If you could please update your Faraday version to >= 0.15.0 this should resolve the issue.
The latest version of remove_bg reflects the real minimum version of Faraday required, so if you bundle update remove_bg it should resolve a compatible Faraday version too. Sorry about the confusion.
Many thanks,
Oli


Arena-Unity Launching

These commits add the logic for launching Arena-Unity directly through arena-core together with the corresponding commit form the Arena-Unity repo.
A new ROS package for launching Arena-Unity was added. This package is called from the unity launch file which in turn is called by the start_arena.launch.
Notice that the Arena-Unity project must be build through the script as explained in the Arena-Unity PR.
Arguments:

development_mode:=true  -  this stops arena-core from launching Unity when Unity is the simulator. For development, when Arena-Unity should be started manually through the Unity Editor. Default: false
headless:=true  -  this starts Arena-Unity in headless mode. The window still pops up but there is nothing displayed and user input is ignored. Default: false

Example launch:
roslaunch arena_bringup start_arena.launch simulator:=unity task_mode:=scenario model:=burger map_file:=map_empty

works


stereo with epipolar alignment does not work with --left-image-crop-win --right-image-crop-win

It works though with affine epipolar alignment. To be looked into.

Fixed in d2754d555411bdbc4b40e1524cff6788240d989c


Mak setSeekBackIncrement / setSeekForwardIncrement accessible for caller

Use case description
It would be nice to have the option available to customize the two increments in the PillarboxPlayer class. At the moment those two are hard-coded and commented out.
Acceptance criteria
No response
Proposed solution
No response
Alternatives considered
No response
Is there an existing similar feature request?

[X] I have searched existing features and found no similar request.

[X] I have browsed the available API and found no way to achieve the use case I described.

Hi @chjaeggi thanks for the new feature request. For sur we could add some parameters to the PillarboxPlayer to allow seek increment customization. We still have to discuss the feature within the team.
Proposed solution
data class SeekIncrement(val forward:Duration, val back:Duration)

PillarboxPlayer(.., seekIncrement : SeekIncrement = DefaultSeekIncrement, ...)

nice thanks!

For information this feature is already supported by the Apple implementation, where intervals might be configured differently in forward and backward directions.
We'll discuss this topic and align our APIs accordingly.


Why Keras can use test data as validation data?

I found that test data was using as validation in cifar10_cnn: fit(X_train, Y_train, batch_size=batch_size, nb_epoch=nb_epoch, validation_data=(X_test, Y_test), shuffle=True). Why Keras can use test data as validation data? Thanks!

Just look test_data as valid_data, namely use the test_data evaluate the model at the end of epoch

Thanks for you quick reply! As far as I know, validation set is used to tune the parameters and test set should be some new images which are not contained in train set and validation set. But If I used test_data as valid_data, is that ok?

cross-validation:we split the data to train_data and valid_data, use valid_data as monitor,we can save the modal by min val_loss or max val_acc,validation_data can not tune the parameters,when validation_data=(x_test, y_test), we can see it as x_train, x_test, y_train,y_test, = split_data(data, labels, test_size=percent)


[SPARK-9785] HashPartitioning compatibility should consider expression ordering

HashPartitioning compatibility is currently defined w.r.t the set of expressions, but the ordering of those expressions matters when computing hash codes; this could lead to incorrect answers if we mistakenly avoided a shuffle based on the assumption that HashPartitionings with the same expressions in different orders will produce equivalent row hashcodes. The first commit adds a regression test which illustrates this problem.
The fix for this is simple: make HashPartitioning.compatibleWith and HashPartitioning.guarantees sensitive to the expression ordering (i.e. do not perform set comparison).

/cc @rxin @yhuai

Merged build triggered.

Merged build started.

Test build #40307 has started for   PR 8074 at commit 0b4d7d9.

@JoshRosen Could you add a sql test (join two DataFrame they are already partitioned on the same group of keys but different orders)? otherwise LGTM.

Test build #40307 has finished for   PR 8074 at commit 0b4d7d9.

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

Merged build finished. Test PASSed.

LGTM. In future, it will be good to generate hashcodes for a hash partitioning in a ordering insensitive way.

@davies, I don't know whether it's actually straightforward to write an end-to-end DataFrame test case which is partitioned on the same keys in different orders, although it might be achievable by joining together two group-by results.

Merged build triggered.

Merged build started.

Test build #40400 has started for   PR 8074 at commit b61412f.

I've had a hard time contriving an end-to-end test where this bug presents a problem, but nevertheless I think that we should merge this fix.

LGTM

Test build #40400 has finished for   PR 8074 at commit b61412f.

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

Merged build finished. Test PASSed.

I am merging it to master and branch 1.5.

I think you can use
SELECT ...
FROM (SELECT key1, key2 FROM t1 GROUP BY key1, key2) tmp1
JOIN (SELECT key1, key2 FROM t1 GROUP BY key2, key1) tmp2
ON (tmp1.key1 = tmp2.key1 AND tmp1.key2 = tmp2.key2)

to expose the problem.


How do I link a Ghidra Script in Eclipse with the application so that I can debug it?

I have written a Java script for Ghidra in Eclipse IDE using GhidraDev GhidraScript. GhidraDev is aware of the Ghidra directory and I am able to access all shipped scripts from within Eclipse. Frankly, everything else seems linked properly. However, when I set a breakpoint and Debug As -> Ghidra, Ghidra launches but the current script file that I am working on is not in Ghidra's Script Manager anywhere. I think this is because the script that I created in Eclipse is in /home/eclipse-workspace/GhidraScripts/bin as .class files, but Ghidra's Script Manager checks $GHIDRA_HOME/Debug/.../ghidra_scripts for .java files. How can I sync these so that the debugger actually will break Ghidra from within the script I'm trying to debug?

Where does your .java file live on disk? If you didn't make it in '~/ghidra_scripts', you likely need to add your script's directory to the "Bundle Manager" in Ghidra, which is accessible from a button in the Script Manager, as well as a menu item under "Window".

detail: The class could not be found. It must be the public class of the .java file:

Where does your .java file live on disk? If you didn't make it in ~/ghidra_scripts, you likely need to add your script's directory to the "Bundle Manager" in Ghidra, which is accessible from a button in the Script Manager, as well as a menu item under "Window".

I guess my confusion here is that in Eclipse, when I right click and click Debug As -> Ghidra, it just launches Ghidra - no JAR file is even made to my knowledge, nor does it place the .java file anywhere special. Do I need to separately export the JAR before debugging? Sorry if this seems obvious, I come from C, Python, C#, and Rust background but not much Java.

The Bundle Manager wants the directories of where your GhidraScript java source lives. When you run the GhidraScript from Ghidra, Ghidra will compile it behind the scenes before running in.

Thank you. This solution has worked - the issue was that I had another separate issue occurring simultaneous to this issue, and it was obscuring my ability to get this to work properly because I actually did exactly this to begin with, however, there were a bunch of errors, that strangely, providing the classpath directory instead of the .java dir seemed to resolve, but again, that was due to another issue and actually now that that issue is resolved, the dir with the .java files does work as expected.
If anyone is curious, there was an unintentional JDK discrepancy occurring between Ghidra itself and Eclipse, which presumably was causing a bunch of classes and such to not be found and other malfunctions... If anyone else is concerned this may be an issue: Make sure to check the Eclipse Workspace JDK default in Workspace preferences, as well as the classpath/modulepath JDK in Eclipse Package Explorer... Then check the Ghidra splash screen or Help -> About Ghidra to make sure that it's the same JDK as the one in all areas of Eclipse. In my case, there was a strange situation where Ghidra would be launched with the correct matching JDK when not debugging, but when debugging, Eclipse was somehow starting it with another JDK but checking all of these areas, fixing any alias or PATH issues with regard to where java was located on the linux work machine, plus finally making sure that the entry in ~/.config/ghidra/ghidra_11.1.2_PUBLIC/java_home.save matches the proper JDK as well. I don't necessarily recommend changing java_home.save directly if it is incorrect though, because the file seems to be opaque and direct changes can be overwritten by ghidra's launching discovery functionality in https://github.com/NationalSecurityAgency/ghidra/tree/master/GhidraBuild/LaunchSupport/src/main/java/ghidra/launch such as JavaFinder, JavaConfig, and so on...
I apprecate your help with this @ryanmkurtz , nice intro to ghidra dev/JDK stuff. :)


issue 25 - Query method POST, double sending all params

This is a very simple patch for issue #25.

AsyncSolrClient URL forming code has a bug that duplicates parameters twice when working with POST method (parameters is Form data as expected, but also once more in the URL).
Patched this by making URL without wparam values, for POST (non-stream POST) case. This is the expected behavior, and the same to corresponding SolrJ part.

How to verify it works?

Make a search query via post method. Without this patch, all query parameters appear twice in the Solr server side. Depending on query parser, this could make exceptions and break query (e.g. MoreLikeThis) With this patch, parameters are no longer duplicated with POST method.

Great! Maybe we should have a test for this, e.g. in AsyncSolrClientFunSpec?

Sure, having a test for the patch would be logical. It is missing for the moment ... just because I don't have a good idea how test this case -- that is, how to detect this duplication, since for most queries, they normally won't fail.
Well, I will spend some time and come up with one and extend the pull request.

You could mock AHC, such things are already done in AsyncSolrClientSpec.

Hey --- I've added two small tests, that would fail, if run without the proposed patch. I've used parameter echoes from Solr server, to check correctness of parameter passings.
Feel free to change / reduce as you see fit... :-)

Changed as suggested :-)

Great, thanks!

This is now released with 2.0.0-RC5, thanks again for the PR!


SCVI integrated embeddings and pre-trained models are incorporated into the Census

Goal
To enable users to readily start atlas-level analysis of Census for any or all cells of an organism.
User stories
Census currently allows access to single-cell data from hundreds of different datasets, cells from one dataset are in a different numerical space as compared to cells from any other dataset.
Therefore, while users can access all of these data, they cannot readily start their analysis to answer scientific questions about cell biology.
Integration aligns the numerical space of all cells, enabling a multitude of user stories. Below are just a selection of some of the most relevant stories that we will fulfill with this project.

I want to perform differential gene expression between any two groups of cells in Census.
I want to perform cell cluster analysis to understand underlying causes for similarities and differences across cell groups.
This is usually done directly with the embeddings. An example of this type of analysis is here.
I want to project my dataset onto the Census embeddings for inference workflows.
Embedding generation of non-Census data, cell type prediction, tissue prediction, cluster analysis.
I want to obtain an integrated expression matrix for a slice of Census data for downstream analysis.
I want to visualize cell clusters in a scatter plot for any slice of Census data.
Gene expression exploration on clusters, cluster analysis, etc.

Approach
We are to accomplish the goal by providing scVI-based integrated embeddings in the Census SOMA data along with the trained model.
As detailed in this document, and for the first iteration of project, at a high-level we need to create a workflow that can be manually triggered behind the following tasks:

An scVI model is trained, to be done on latest LTS build
[Stretch] An scVI model is fine-tuned or retrained, to be done on all weekly data.
The model is used to generate embeddings
The embeddings are incorporated into, and published with, the Census SOMA object.
The model is accessible for download and re-use.

KRs

The LTS Census build, projected to release in November, has scVI latent spaces in obsm for both the mouse and human SOMA.Experiment.
The model associated with the Census build is available for download.
Notebooks that demonstrate user stories:
Accessing embeddings and making umap plot on a slice of data, differential gene expression, getting normalized gene expression matrix for a slice of Census, non-census data projection, cell type prediction.

Assumptions and Risks
Assumptions

scVI produces biological relevant models for Census data (discovery work ongoing).
scVI code for modeling is ready for production use with minimal re-engineering.
scVI training and tuning can be done within CZI’s computing constraints.

Risks

The models may not produce true biological integration, and thus it may not be usable in the first iteration. Current ongoing discovery work is addressing this.
Engineering work to accommodate or improve scVI is too large to do by CZI or in one quarter.
Compute resources at CZI are not sufficient to train the model or perform the hyper-parameter search space.

Plan
Important notes about the plan

All the steps below are performed using the AnnData workflow as it is the least risky path albeit its compute intensity.
As a reach goal we’ll assess the possibility of using the Census PyTorch loaders.
All of the processes below should be CLI-driven, stand-alone python scripts to execute the workflows. Usually the only input for these should be a YAML config to set the params (e.g, census S3 URL, plus the other params from your the workflows)

View high-resolution schematic at FigJam here
Private Zenhub Image
To  create a process to train an scVI model across all unique human and mouse cells.

Pre-process data (e.g. select primary data, filter cells/genes, subset to highly variable genes).
Train a full scVI model and save for later use.

To create a process to generate and save embeddings from a trained model across all human and mouse cells

Do a forward pass of all cells through a pre-trained scVI model and extract embeddings (i.e. latent spaces)
Add matrix of embeddings to Census data under obsm[“scvi”] (requires schema change). Add model provenance, e.g. a scvi_summary data frame with relevant information about the run.
Perform lightweight QA to check for integrity of embeddings.

To create a process to save and expose the trained/fine-tuned model for API access

The model used for embedding generation is stored somewhere accessible by users via the API
The model torch model should be saved via torch.save and be available for loading via torch.load. Mimic scVI’s save and load
A notebook should demonstrate examples to load and use the model, in particular how to obtain latent spaces on user’s data.

[STRETCH] To create a process to find best hyper-parameters for an scVI model across all unique human and mouse cells.

Run the hyperparameter search and create a report. Automatically select the best combination of parameters.

[STRETCH] To create a process to fine-tune an scVI model across new unique human and mouse cells not previously seen by the model.

Pre-process newly added data  (e.g. select primary data, filter cells/genes, subset to highly variable genes).

Fine-tune scVI model and save it.
Note: The need for fine-tuning should depend upon:

Whether the cost/time of doing a full training weekly is prohibitive.
Whether a fine-tuned model will improve materially with new weekly data.

[STRETCH] To Assess/prototype usage of Census PyTorch loader for use in the training pipeline

Provide a delineation of the work necessary to translate the anndata workflow into the PyTorch workflow.

completed


How to set the number of repetitions of images folder ?

Does ai-toolkit support setting the number of repetitions of images folder like koaya? The number of repetitions of multiple folders is different

Does one really need repetition number?
((number of image *number of epoch you need) = total number of steps to set in the config.
So you don't need repetition and you don't need epoch in the config file, just set the number of steps to be in accordance wit the number of epoch yo would like to get.
If I a wrong please correct me so that I can learn.

Does one really need repetition number? ((number of image *number of epoch you need) = total number of steps to set in the config. So you don't need repetition and you don't need epoch in the config file, just set the number of steps to be in accordance wit the number of epoch yo would like to get.
If I a wrong please correct me so that I can learn.

Repetitions is needed to balance a dataset. Let's say one folder with 10 bad images one folder with 10 high quality images. I might want to ser the repetition to? 3_good quality / 1_bad quality...
Of course you could just do this manually by copy pasting the images in those proportions, but it would be a lot of trouble.
You can do this with Ostris, but I didn't use it yet. In the Discord there are explanations.

Common training questions
Q: Can I train multiple concepts or characters in a single LoRA?
A: Yes! You can train a single LoRA on multiple concepts, characters, or styles. Here's how:

    Multiple Datasets: In your config.yml file, define multiple datasets under the datasets section. Each dataset can have its own folder_path and captions.
    Balancing Influence:
        num_repeats: Use this parameter to control how many times a dataset is repeated during training. If one dataset is smaller, you can set a higher num_repeats for it to balance its influence.
            reg_weight: If you are using a regularization dataset (is_reg: true), use reg_weight to control its impact on the training. A lower value gives it less influence.

Does one really need repetition number? ((number of image *number of epoch you need) = total number of steps to set in the config.真的需要重复次数吗？ ((图像数量 * 需要的纪元数) = 在配置中设置的总步骤数。 So you don't need repetition and you don't need epoch in the config file, just set the number of steps to be in accordance wit the number of epoch yo would like to get.因此，您不需要重复，也不需要配置文件中的纪元，只需将步骤数设置为与您想要获得的纪元数一致即可。
If I a wrong please correct me so that I can learn.如果我说得不对请指正，以便我学习。

Repetitions are needed to balance a dataset. You can balance it considering quality, or concepts, etc.需要重复来平衡数据集。您可以考虑质量或概念等来平衡它。 Let's say one folder with 10 bad images one folder with 10 high quality images. I might want to set the repetition to: 3_good quality / 1_bad quality...假设一个文件夹包含 10 张不良图像，一个文件夹包含 10 张高质量图像。我可能想将重复设置为：3_好质量/1_坏质量... Of course you could just do this manually by copy pasting the images in those proportions, but it would be a lot of trouble.当然，你也可以按照这些比例手动复制粘贴图像，但这会很麻烦。 You can do this with Ostris, but I didn't use it yet. In the Discord there are explanations.你可以用 Ostris 做到这一点，但我还没有使用它。 Discord 中有解释。

Common training questions
Q: Can I train multiple concepts or characters in a single LoRA?
A: Yes! You can train a single LoRA on multiple concepts, characters, or styles. Here's how:

    Multiple Datasets: In your config.yml file, define multiple datasets under the datasets section. Each dataset can have its own folder_path and captions.
    Balancing Influence:
        num_repeats: Use this parameter to control how many times a dataset is repeated during training. If one dataset is smaller, you can set a higher num_repeats for it to balance its influence.
            reg_weight: If you are using a regularization dataset (is_reg: true), use reg_weight to control its impact on the training. A lower value gives it less influence.

excuse me, how to set reg folder path? is that [reg_path: "..."] or some thing else? where can I see the details of other commenders?

excuse me, how to set reg folder path? is that [reg_path: "..."] or some thing else? where can I see the details of other commenders?

On the discord channel > Help_me > pinned messages
I had dome trouble setting the reg arguments because of the yaml file structure, but using notepad++ and setting language to yaml makes it easier to see.
This is how I set up my last training with reg:
``
job: extension
config:
name: sweaty_shirt_flux_v5
process:

type: sd_trainer
training_folder: output/sweatyFlux5
device: cuda:0
network:
type: lora
linear: 2
linear_alpha: 16
save:
dtype: float16
save_every: 760
max_step_saves_to_keep: 24
datasets:

folder_path: J:/train/sweatpit/img/2_s3t shirt
caption_ext: txt
caption_dropout_rate: 0.0
shuffle_tokens: false
cache_latents_to_disk: true
resolution:

512
768
1024

folder_path: J:/train/sweatpit/img/reg
caption_ext: txt
is_reg: true
caption_dropout_rate: 0.0
shuffle_tokens: false
cache_latents_to_disk: true
resolution:

512
train:
reg_weight: 0.25
batch_size: 1
steps: 7800
gradient_accumulation_steps: 1
train_unet: true
train_text_encoder: false
content_or_style: content
gradient_checkpointing: true
noise_scheduler: flowmatch
optimizer: adamw8bit
linear_timesteps: true
lr: 0.0005
skip_first_sample: true
ema_config:
use_ema: true
ema_decay: 0.99
dtype: bf16
model:
name_or_path: black-forest-labs/FLUX.1-dev
is_flux: true
quantize: true
sample:
sampler: flowmatch
sample_every: 760
width: 1024
height: 1024
prompts:
photo, Prince Harry is wearing a light blue shirt with sweat and has his arms
raised in the air holding a sign that says 'SMELL MY ARMPITS!'. He is surrounded
by a group of people some of whom are wearing military uniforms. There is
a woman with blonde hair in the foreground looking up at the man with her
arms raised as well.  The t-shirt is dripping with sweat and there are measurement
markings on the shirt that show the amount of sweat dripping from it. The
man's face is serious and he is looking directly at the camera.

Does one really need repetition number? ((number of image *number of epoch you need) = total number of steps to set in the config. So you don't need repetition and you don't need epoch in the config file, just set the number of steps to be in accordance wit the number of epoch yo would like to get.
If I a wrong please correct me so that I can learn.

Repetitions are needed to balance a dataset. You can balance it considering quality, or concepts, etc. Let's say one folder with 10 bad images one folder with 10 high quality images. I might want to set the repetition to: 3_good quality / 1_bad quality... Of course you could just do this manually by copy pasting the images in those proportions, but it would be a lot of trouble. You can do this with Ostris, but I didn't use it yet. In the Discord there are explanations.

Common training questions
Q: Can I train multiple concepts or characters in a single LoRA?
A: Yes! You can train a single LoRA on multiple concepts, characters, or styles. Here's how:

    Multiple Datasets: In your config.yml file, define multiple datasets under the datasets section. Each dataset can have its own folder_path and captions.
    Balancing Influence:
        num_repeats: Use this parameter to control how many times a dataset is repeated during training. If one dataset is smaller, you can set a higher num_repeats for it to balance its influence.
            reg_weight: If you are using a regularization dataset (is_reg: true), use reg_weight to control its impact on the training. A lower value gives it less influence.

You actually dont need to have multiple datasets.  So just add them to your main dataset and train. If you need more repetitions on specific images, just add them twice (that is basically the whole math behind it) yes setting repetitions looks cleaner, but it is no special feature.

... Of course you could just do this manually by copy pasting the images in those proportions, but it would be a lot of trouble...

You actually dont need to have multiple datasets.  So just add them to your main dataset and train. If you need more repetitions on specific images, just add them twice (that is basically the whole math behind it) yes setting repetitions looks cleaner, but it is no special feature.

That is just what I said. I never said they are special in any way.
It can be a big mess to have repeated dataset for balancing (i've been there). Specially if you are mixturing that with regularization images. Also, there are options specially for regularization images weight like "reg_weight".

Hi there.
Does the regularization files for Flux training needs captioning ?

Hi there. Does the regularization files for Flux training needs captioning ?

I caption them.


[bug]  Vue2.0.0-rc6 slot and v-if

mu-test

     <slot></slot>

            <slot name="test"></slot>

use
<mu-test>

this is test msg

</mu-test>

result

this is test msg

when v-if  is  false, the  test slot  to default, why ?

use v-show Is also the result

Please use jsfiddle to reproduce

and the last version of Vue too, please

update last version, but  no effect

This is not a bug, you have more than 1 root element in your template and in Vue 2.0 only 1 root element is allowed.

no,  I only have one root element, i cant use jsfiddle` for Vue2
<template>

          <slot></slot>

            <slot name="test"></slot>

</template>

use
<mu-test>

this is test msg

</mu-test>

but result is

this is test msg

when v-if  is  false , the test slot to default, why ?

Why can't you use jsfiddle? You can use<EMAIL_ADDRESS>

thank you, I think I find a solution


Add Experimental Tab and Including Hosting Mode

Final UI Pane

[ ] Add a new tab called Experimental
[ ] Add a selection called Hosting Mode, and allows user to select different hosting modes. Can be done using "COREWEBVIEW2_FORCED_HOSTING_MODE and it should be set to COREWEBVIEW2_HOSTING_MODE_WINDOW_TO_VISUAL"

This enhancement covers #74

Or consider:

Name it preview? Experimental is also fine
Checkbox for selfhosting canary?


VideoOnDemand from ivi.ru issue

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2019.08.02
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.ivi.ru/watch/137070']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.08.02
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: none
[debug] Proxy map: {}
[ivi] 137070: Downloading video JSON
ERROR: Unable to download video 137070: Контент 137070 недоступен для просмотра на площадке s183
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwvl_v2x\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwvl_v2x\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpjwvl_v2x\build\youtube_dl\extractor\ivi.py", line 108, in _real_extract
youtube_dl.utils.ExtractorError: Unable to download video 137070: Контент 137070 недоступен для просмотра на площадке s183

Description

The video plays fine in Google Chrome browser. But if I'm running youtube-dl I got this error: "Content 137070 is not available for viewing on site s183"

I have the same error on this movie:
https://www.ivi.ru/watch/100108

@remitamine thank you I'm appreciate it! But istill can't play such videos, i got this log:
_[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.ivi.ru/watch/100108']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.11.22
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[ivi] 100108: Downloading video JSON
ERROR: This feature does not work from bundled exe. Run youtube-dl from sources.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwnp2jh
33\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwnp2jh
33\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpwnp2jh
33\build\youtube_dl\extractor\ivi.py", line 146, in real_extract
youtube_dl.utils.ExtractorError: This feature does not work from bundled exe. Ru
n youtube-dl from sources.
is the any way to watch through .EXE-file ?

No, as clearly said in the error message.

No, as clearly said in the error message.
@dstftw thank you for answering


Link feedback to issues

Add urgency options to feedback UI

Done and deploy to test. release 2.1.9

@NickCondon  Please give it a test. Each feedback results in one issue here.

looks good


Prefer Display over Debug

Objective
Fixes #16104
Solution
I removed all instances of :? and put them back one by one where it caused an error.
I removed some bevy_utils helper functions that were only used in 2 places and don't add value.
Testing
CI should catch the mistakes
Migration Guide
bevy::utils::{dbg,info,warn,error} were removed. Use bevy::utils::tracing::{debug,info,warn,error} instead.

@SpecificProtagonist feel free to review or point out good places to use disqualified::ShortName here.

Why is there a migration guide? There's no information in the description about this change.
I would prefer this to be blocked until after the 0.15 is released, as it has high chances of conflicts during cherry picks.

Controversial by extension of #16113 as it was used to do this PR

I agree with the changes made here, but I don't think it's worth it unless we have some lints to enforce the new standard. If we had format_debug_instead_of_display and format_parameter_instead_of_inline (made-up names) then we'd be in a better position to make this change long-term. Right now, this change will be made and then almost immediately regressed, since we have neither tooling nor policy to enforce it.

I agree with the changes made here, but I don't think it's worth it unless we have some lints to enforce the new standard. If we had format_debug_instead_of_display and format_parameter_instead_of_inline (made-up names) then we'd be in a better position to make this change long-term. Right now, this change will be made and then almost immediately regressed, since we have neither tooling nor policy to enforce it.

There is https://rust-lang.github.io/rust-clippy/master/index.html?levels=allow%2Cwarn%2Cnone&groups=nursery%2Cpedantic%2Crestriction%2Cstyle#uninlined_format_args

I refined this PR to not have the formatting changes

@BenjaminBrienen CI failures are real; I think you need to revert a couple of things here.


[BUG]: Visa Multi array support documentation improvements

Bug Description
Visa Multi array support documentation improvements
Logs
logs not required
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
its documents documentation improvements
Expected Behavior
its documents documentation improvements
CSM Driver(s)
its documents documentation improvements
Installation Type
its documents documentation improvements
Container Storage Modules Enabled
its documents documentation improvements
Container Orchestrator
its documents documentation improvements
Operating System
its documents documentation improvements

PR merged


code

Hello, I'm particularly interested in your work. Can you publish your code?

Hi @LOUGBERTI, thank you for your interest! We will be releasing our code sometime in July. If you leave an email address here (or send it to jinwoo-kim@kaist.ac.kr), we will let you know once we release it.

Thanks! Open code is very much appreciated.

Thank you for this very exciting work! Looking forward to giving it a try once the code is released.

你好@LOUGBERTI， 感谢您的关注！我们将在 7<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

Hello, I'm particularly interested in your work. Can you publish your code?

嗨@LOUGBERTI，感谢您的关注！我们将在 7 月的某个时候发布我们的代码。如果您在此处留下电子邮件地址（或将其发送给<EMAIL_ADDRESS>
<EMAIL_ADDRESS>

Hi everyone, sorry for the delay, the code for the PCQM4Mv2 experiment is available now. We will shortly also release the code for the synthetic experiment.


Investigate why OSGi services are not exported

Equinox doesn't export OSGi services defined in MANIFEST file. It means that Camel can't resolve components and languages by name without prior manual registration of those.
My question is - why? :)

So apparently equinox ignores [1] exports defined in manifest, as declarative services are supposed to be used to register services.
We could created a dedicated declarative service responsible for registering the components and languages. However such code is hardly testable, as it requires an OSGi environment with SCR support to verify it works. I would prefer to add manual registration of components and labguages in KuraRouter.
[1] https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01090.html

Closed on the behalf of the https://github.com/eclipse/kura/issues/116 .


Reset the state after aborting a print job

When aborting a print job during the pre-print phase (heat up, leveling,...) the printer shows a message dialog with something like "Aborted, do you want to retry?"
When you abort from remote or from the digitalfactory you don't have any chance to start a new print again until someone presses the Abort button on the printer itself.
This new feature will allow you to clear/reset the state, that the printer is ready again to accept new print jobs.

I have implemented not only the situation after aborting a print, but also after an successful print job, when you have for example removed the object, but forgot to click the button that you have cleared the print bed.
The new command is called clearbed - check the README for more information.


mongomock has no attribute 'Connection'

The sample code in the README to create a collection seems to have stopped working.
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mongomock
>>> collection = mongomock.Connection().db.collection
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'Connection'
>>>

Yes. That is because the mongomock version 3.x only supports pymongo 3.x which has backwards incompatible changes (e.g.: the Connection class has been removed). I'll adapt the README accordingly.

Thanks! I got my tests to pass again :+1:


Allow recovery from errors, and make method signatures consistent.

I was really happy to find C-Sharp-Promise. After using it for nearly a year, however, I've started to feel that it doesn't quite match the spirit of promises in JavaScript. At the same time, it's been incredibly reliable and useful; it's by far the best promise implementation for C#; and I've developed even more respect for the code's creators and contributors.
I made some small changes to my own copy of the code - mainly just method signatures - to make what I see as a cleaner implementation of promises. (See the release notes for more details.) I'm offering these back as thanks, more to show that I care, than from expecting that other people will like what I like. I won't be offended if you don't accept this pull request, but I'll be pleased to have helped, if you do.

Thanks for your contribution. It's awesome that you have C-Sharp-Promise useful.
There are quite a few changes here and it's going to take same time to work out if this fits our vision.
Thanks so much for doing the release notes that really helps us understand what you are trying to achieve.

Thanks for looking!

Unfortunately this breaks the build and has conflicts with the current master, so we cannot merge it

No worries, it's been a long time since it could have been merged. Thanks for all your work, @RoryDungan.


Do we have enough experience to remove this

Happened to run across this comment while poking around...
https://github.com/visit-dav/visit/blob/69efc8f3433696ac56c4fe97f5ae416c5e48ee03/src/avt/Database/Database/avtSourceFromDatabase.C#L205-L219.
Turns out this was done 14 years ago.
Maybe we have enough experience to remove it now?

Resolved in #17998, #18011


Generic Test: Not Null if another column if not null

Describe the feature
This is a little weird to explain but if you have two columns: column a and column b. Having a test to say if column a is null then column b should not be null.
This is especially helpful if you have a case when statement that you want to make sure is correct.
Describe alternatives you've considered
I dont see this as a generic test already - I did implement this as a test within my project that I thought other people might benefit from.
Additional context
Should be database agnostic.
Who will this benefit?
Teams who want to use testing more.
Are you interested in contributing this feature?
Yes! This would be my first contribution so a little guidance might be helpful

Hey @culpgrant! This is already possible using out of the box functionality:
models:
  - name: my_model
    columns:
      - name: column_b
        tests:
          - not_null:
              config:
                where: column_a is null

Check out https://docs.getdbt.com/reference/resource-configs/where for more details; for now I'll close this but lmk if there's some context I'm missing

Ahh thank you!! I will implement that and remove my test.


csv upload

Hello,
I'm stuck.
I'm trying to upload CSV file to Postfinance Testplatform.
According to their documentation it should be done via XTC command (the description is: Service Name = OTH, Service Scope = BIL, Service Option = CH002LMF, MsgName = csv) and csv file should contain the first row with header and other rows with transaction records.
I created some sort of XTC (from YCT):
EbicsClient.php
    public function XTC(OrderDataInterface $orderData, DateTimeInterface $dateTime = null): UploadOrderResult
    {
        if (null === $dateTime) {
            $dateTime = new DateTime();
        }

        $transaction = $this->uploadTransaction(function (UploadTransaction $transaction) use ($dateTime, $orderData) {
            $transaction->setOrderData($orderData->getContent());
            $transaction->setDigest($this->cryptService->hash($transaction->getOrderData()));
            return $this->requestFactory->createXTC($dateTime, $transaction);
        });

        return $this->createUploadOrderResult($transaction, $orderData);
    }

RequestFactoryV3.php:
    public function createXTC(DateTimeInterface $dateTime, UploadTransaction $transaction): Request
    {
        $btfContext = new BTUContext();
        $btfContext->setServiceName('OTH');
        $btfContext->setScope('BIL');
        $btfContext->setServiceOption('CH002LMF');
        $btfContext->setMsgName('csv');
        $btfContext->setFileName('xtc.csv');
        return $this->createBTU($btfContext, $dateTime, $transaction);
    }

And I'm trying it this way:
use AndrewSvirin\Ebics\Models\CsvCreditTransfer;
try {
    $orderData = new CsvCreditTransfer();
    file_put_contents("xtc_order.csv", $orderData->getContent());
    print("\n orderData:\n"); var_dump($orderData->getContent());
    $client->XTC($orderData);
} catch (EbicsResponseExceptionInterface $exception) {
    echo sprintf(
        "XTC request failed. EBICS Error code : %s\nMessage : %s\nMeaning : %s",
        $exception->getResponseCode(),
        $exception->getMessage(),
        $exception->getMeaning()
    );
}

(I use couple months older version of you lib.)
CsvCreditTransfer is like this:
<?php

namespace AndrewSvirin\Ebics\Models;

final class CsvCreditTransfer extends OrderData
{
    private string $csv = "Product;Channel;Account;Currency;Amount;Reference;Name;Street;Number;Postcode;City;Country;DebtorAddressLine;DebtorAddressLine;DebtorAccount;ReferenceType;UltimateDebtorName;UltimateDebtorStreet;UltimateDebtorNumber;UltimateDebtorPostcode;UltimateDebtorTownName;UltimateDebtorCountry;UltimateDebtorAddressLine;UltimateDebtorAddressLine;RemittanceInformationText"
        ."\r\n"
        ."QRR;PO;CH1430000001250097798;CHF;100;11 11111 11111 11111 11111 11110;D001;Musterstrasse;1;1111;Musterstadt;CH;;;;QRR;D001;Musterstrasse;1;1111;Musterstadt;CH;;;"
    ;

    public function getContent(): string
    {
        return $this->csv;
    }

    public function getFormattedContent(): string
    {
        print("\n\n getFormattedContent \n\n");
        return $this->csv;
    }

}

If I leave only header in the CsvCreditTransfer, then Postfinance accepts the file and later on their web it shows me I'm missing data.
But when I add CR+LF characters then XTC command seems to finish ok (ReturnCode = 000000, ReportText = [EBICS_OK]) but there are no data in the test platform web.
And I can upload the same CSV via Postfinance website.
(Before this I was uploading pain.001 XML files via XE2 command and it was ok. But I guess that pain.001 XML is single row.)
Is there please any trick (or basic knowledge which I don't have) to upload files containing CR+LF?

Hi @jk987 maybe the issue with EOF sign. Try to use PHP_EOF, and also you can experiment with encoding.

I think you meant PHP_EOL but no that wasn't it. I tried "\r\n", "\r" and "\n" and nothing worked.
But using "\0" as line separator was bingo!
Don't ask me why.  :)
Thank you for your help.

Fantastic research and fix. @jk987 thank you


support bulk load using spark

subtask of https://github.com/tikv/tikv/issues/10563

https://github.com/tikv/migration/pull/1


completion in bash

Hi,
Maybe it's a PEBKAC :/
I followed install procedure :

fasd is in /usr/local/bin
and I added eval "$(fasd --init auto)" to my bashrc.

When I type z something it cd somewhere appropriate.
But when I type cd d,something<tab><tab>, nothings appends.
So it seems that bash completions have not been enabled.
I can't figure out why.
I use bash, version 4.3.46(1)-release.

Same thing for me with Bash version 4.4.12(1)-release.


feat: add brazilian portuguese language

Added template json for Brazilian Portuguese (pt-BR)

Thanks!

Thanks!


Update information-barriers.md

Updated licensing requirements per MC290063

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/6568

@msbemba , thank you for updating me - it seems the changes to the document have not been merged - is that because the message center announcement regarding availability of Information Barriers feature for Microsoft 365 A1 and A3 licenses is no longer current?

Thank you @robmazz 👍


[AutoRelease] t2-resourcehealth-2023-05-04-34708(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4118
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=2806

issue link:https://github.com/Azure/sdk-release-request/issues/4118


Is it possible to remove the subdomains from the URL in multiple databases?

I am writing because I have a doubt if it is possible to identify the domain without it appearing in the URL of the browsers.
For example currently I tested the library and I manage to have a central client tenancy.test but when I create a new tenant as it forces me to have the subdomain and the idea I have is that it is always the same url and that the subdomain will not be added, I do not know if you understand the idea.
Example
tenant 1: Jeremiah belongs to the subdomain app1.tenancy.test => I want him to be able to log in without problems and always navigate through tenancy.test/login or that the dashboard is seen as tenancy.test/dashboard and not as app1.tenancy.test/dashboard.

Maybe you could use https://tenancyforlaravel.com/docs/v3/tenant-identification/#request-data-identification but of course you still need to know wich tenant are you calling. I mean, since you are not recognizing it by the subdomain you must set a way to know for sure (a tenants selector along with the user login?)


Fix incorrect FCM connection logic

Prior to this, when running the Example app for the first time, the
following error was being printed in the console:
Unable to connect to FCM. Error Domain=com.google.fcm Code=501 "(null)"
After accepting the notifications permission, the following error was
being printed in the console:
Unable to connect to FCM. Error Domain=com.google.fcm Code=2001 "(null)"
The first error means that the app tried to connect to FCM while there
was no Firebase registration token available. It now checks for the
current token and exits early if it's null.
The second error means that the app tried to connect to FCM while
another connection is already available. It now disconnects from any
existing connection prior to trying to connect again.
The better solution would be to have an isConnected property on the
FIRMessaging shared instance and if it is set to YES, exit early
instead of re-connecting to FCM.
This could also be achieved by a similar private property in the
AppDelegate class but I though that would be outside the example's
scope and having only parts of the code in the documentation would make
users not to understand it properly.
I also don't understand the reasoning behind these cryptic errors.
Firstly, the error codes should be added to an errors enum. Secondly,
an error message would immensely help, instead of those null values.
Even with these added, I don't understand the "call methods and ignore
the errors in case of problems" reasoning behind this Example, when they
could be avoided. It took me days to figure out what those errors really
mean.

Thanks for the PR, just a small change requested and them I'm happy to merge.

What's the change?

Also, this could also be handled by the connectWithCompletion: method internally.

Indeed the changes in this PR are handled by the connectWithCompletion method, while checking that the token is not nil before connecting will make the logs a bit cleaner it's not necessary.
So I'll close this PR and let connectWithCompletion handle things for this sample. Thanks for the PR though.

@kroikie, No, they are not! I said that it will be nice if it did handle them.
With the current state of the SDK and the Example app, it is throwing errors in the console, which it shouldn't.
And also they're cryptic and misleading for newcomers, so they waste a lot of time figuring what's up.
If you don't want to merge this, then add them in the documentation (with the risk of looking bad), because people need to know about them.

@revolter I was wrong here, sorry my mistake. I was thinking of another method. This should be handled by the SDK, I filed an internal issue to update this, your PR can be used till that is fixed.
If you can add the log message that I requested then I'll be happy to merge.

Done


[vue3-apollo-quasar] Create component for search input and filter / sort buttons

Background
This is intended to be a reusable component, wrapping around a few different items that will have their functionality added in another ticket. The focus of this ticket is to create the items themselves and a wrapper around them, so the section can be used in multiple pages. This component will contain an input field for search queries, and a series of dropdown buttons for filtering and sorting.
Acceptance

[ ] component will contain the following items - for design of pieces only, do not need functionality yet

[ ] search input with “find a repository..” placeholder
[ ] type dropdown button (does not need to contain options yet)
[ ] language dropdown button (does not need to contain options yet)
[ ] sort dropdown button (does not need to contain options yet)
[ ] divider line
[ ] space for showing text relating to selected options
[ ] clear filter button with x icon (does not need functionality yet)

Notes

Completed by another issue