Share jail: how to rename shares?

Describe the bug
Before the share jail, renaming a share is a MOVE on the mountpoint in the personal home via webdav v2 personal home.
After the share jail, renaming a share would be a MOVE on a webdav root, i.e. dav/spaces/<share jail id>!<share id>. Which is kind of expected. But this brings up the question of how to rename a share per user. Is that forbidden in oCIS for now? Does it need an entirely new concept?
We've disabled renaming shares in the web ui for now when the share jail is enabled via capabilities. So this is not urgent, but still a regression.

https://github.com/cs3org/reva/pull/2884 got merged. It should be possible to do a rename in the share jail.

I think we can drop the needs concept tag

stat and move requests need to handle more cases to make this possible. work is started with https://github.com/cs3org/reva/pull/2886 but I'll go play with the parallel deployment now ...

should be fixed with https://github.com/cs3org/reva/pull/2904, https://github.com/cs3org/reva/pull/2886 was only a partial fix

With https://github.com/owncloud/ocis/releases/tag/v2.0.0-beta.3 the share jail can be used to rename a share mount point by sending a MOVE /dav/spaces/{sharejailid}/oldname with a Destination: .../dav/spaces/{sharejailid}/newname.


Proper response for invalid commands

This is only relevant when we start writing code that accepts trivia customization, hand written answers (response with no reactions, just user submitting a discord chat response)

I don't think this is relevant now, but might be in the future if the project grows in this direction. I'm closing this for now; this can always be reopened if it becomes needed.


File.renameSync fails across linux partitions

I'm running Ubuntu 20.04 using ZFS.
df f -h
Filesystem                                        Size  Used Avail Use% Mounted on
rpool/ROOT/ubuntu_c520d1                          415G  4.6G  411G   2% /
rpool/USERDATA/bsutton_b4334o                     427G   17G  411G   4% /home/bsutton

When I call File.renameSync to move a file from /tmp to /home/bsutton I get the following error:
OS Error: Invalid cross-device link, errno = 18
I believe this is due to dart using a hardlink to do a rename and hardlinks are not allowed across partitions.
I'm uncertain as to whether this is a bug however the only work around that I can think of is to call rename, catch the exception and then do a copy/delete.
Ideally the dart rename would work regardless of the partition. Having said that I guess I wouldn't expect a rename across windows drives to work but then I can detect that the file paths are on different drives.
dart --version
Dart VM version: 2.8.4 (stable) (Unknown timestamp) on "linux_x64"

Renames are not supported across filesystems on Unix-like operating systems. The underlying rename(2) system call will atomically make the destination directory entry point to the file and remove the original source directory entry. This atomicity is a very useful and strong property because no observer will ever see any inconsistent state while the renaming is happening. Dart exposes that functionality through the File.rename API.
Programs such as mv(1) rely on rename(2) whenever possible to provide users with atomic renames, but it also has fallback support for renaming across filesystems by doing a copy + a delete.
dart:io provides you with the low level API. If you want to move a file across filesystems, you will need to use a higher level API that copies the file and deletes the source. This could be of your own making or in a package. dart:io doesn't expose all the low level abilities though to get all and set all the file meta data such as file permissions. If you need to preserve meta information, your best bet is to use the Process API to manually invoke the mv program with the appropriate options, or petition for us to add the missing functionality to dart:io (which is tricky to do cross platform and can easily be a breaking change).
I hope that helps. I'm closing this issue because Dart is working as it should. Be sure to let us know if you have any further questions.


[Question] Accuracy of VirusTotal report?

Checklist

FAQ, etc. down due to suppression of FOSS.

[X] I'm asking a question
[X] I've looked through the README and FAQ for similar questions
[X] I've searched the bugtracker for similar questions including closed ones

Question
Is this report from VirusTotal accurate (https://www.virustotal.com/gui/file/763744714819c4a63ecda89e869eab4767e8d4304d544ff000298d267d198646/detection)
? The previous release did not have this issue.
Release scanned: youtube-dlc 2020.10.26 (youtube-dlc.exe). It looks like a false positive to me, but surprised to see it.

That report is for the previous version 2020.10.26.
This one is for the newest version 2020.10.31.
It's however the same scanning engine "detecting" something, but it must be a false positive.

One AI/ML detection (infamous for their false positives), and one relatively generic detection which changes between the two versions. The x86 executable has 3 AI/ML detections.

That's due how pyinstaller is compiling/building the executable.
There is some code or signature similar or equivalent to some known malicious code/executables.
Maybe someone even used pyinstaller to compile their malicious code who knows.
The whole code is open source and the process of compiling is public too. You could always build it yourself if you don't 'trust' certain sources. There is nothing someone can really do about. When it's some $$$ application, companies may ask the anti virus companies to whitelist their software.
All you can do is either:

build it yourself
add it to exceptions
don't use it

More information here
https://stackoverflow.com/a/52054580/1515686

That's due how pyinstaller is compiling/building the executable.
There is some code or signature similar or equivalent to some known malicious code/executables.
Maybe someone even used pyinstaller to compile their malicious code who knows.

The Problem is: Windows Defender seems not to like it too since today...

@fnordson

The Problem is: Windows Defender seems not to like it too since today...

Windows Defender here (Windows 10 VM) doesn't complain at all (14:53)...


add missing authentication require_nested

otherwise we encounter the dreaded
warning: toplevel constant Authentication referenced by ManageIQ::Providers::AutomationManager::Authentication

warning
@miq-bot add_labels bug, providers/ansible_tower
@miq-bot assign @agrare

:+1:

That's weird the test passed a while ago but still says it is in progress there

Going to merge, the test clearly passed

cool, travis seems to have hickups today...

Hopefully those hiccups don't include saying a test is green when it is really still in progress :rofl:


Option value can't start with a dash

This test case fails:
TEST_CASE( "Opt value can start with a dash" ) {
    std::string name;
    bool showHelp = false;
    auto parser
            = Help( showHelp )
            | Opt( name, "name" )
                ["-n"]["--name"]
                ( "the name to use" );

    auto result = parser.parse( Args{ "TestApp", "-n", "-lfoobar" } );
    CHECK( result );
    REQUIRE( name == "-lfoobar" );
}

I have a program that receives compiler flags in arguments so a leading dash is common.

Also related to this issue:
if I have an option that takes an integer, it can no longer be negative, since Clara can't parse things that start this a minus.


Added optional connection and read timeout

Added the ability to set connect/read timeout for requests to prevent long (some tim every long) requests...

Thanks for PR


Android Studio doesn't respect the relative including path in cmake's android_gradle_build.json

We are generating JNI header files in the build dir when cmake starts, relevant CMakeList.txt can be found https://github.com/realm/realm-java/blob/master/realm/realm-library/src/main/cpp/CMakeLists.txt
set(jni_headers_PATH ${PROJECT_BINARY_DIR}/jni_include)
# ...
include_directories(${REALM_CORE_DIST_DIR}/include
    ${CMAKE_SOURCE_DIR}
    ${jni_headers_PATH}
    ${CMAKE_SOURCE_DIR}/object-store/src)

You can see from above, the jni_headers is a absolute path inside the build dir. But for some reason, the compile options becomes:
                {
                    "flags" : "   -DANDROID -Drealm_jni_EXPORTS -isystem /home/cc/.android-ndk/android-ndk-r10e/platforms/android-9/arch-x86/usr/include -isystem /home/cc/.android-ndk/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /home/cc/.android-ndk/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/include -isystem /home/cc/.android-ndk/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I/home/cc/repo/realm/realm-java-2/realm/realm-library/distribution/realm-core/core-1.0.0-BETA-3.1/include -I/home/cc/repo/realm/realm-java-2/realm/realm-library/src/main/cpp -Ijni_include -I/home/cc/repo/realm/realm-java-2/realm/realm-library/src/main/cpp/object-store/src  -fexceptions -frtti -fpic --sysroot=/home/cc/.android-ndk/android-ndk-r10e/platforms/android-9/arch-x86 -funwind-tables -funswitch-loops -finline-limit=300 -fsigned-char -no-canonical-prefixes -fdata-sections -ffunction-sections -Wa,--noexecstack  -DREALM_ANDROID -DREALM_HAVE_CONFIG -DPIC -pthread -fvisibility=hidden -std=c++14 -fsigned-char -DREALM_SYNC -Wall -Wextra -pedantic -Wno-long-long -Wno-variadic-macros -Wno-missing-field-initializers -Wmissing-declarations -Wno-error=uninitialized -Wno-error=maybe-uninitialized  -ggdb -Og -DNDEBUG    -c ",
                    "src" : "/home/cc/repo/realm/realm-java-2/realm/realm-library/src/main/cpp/object-store/src/sync_manager.cpp",
                    "workingDirectory" : "/home/cc/repo/realm/realm-java-2/realm/realm-library/.externalNativeBuild/cmake/objectServerDebug/x86"
                },

that the -Ijni_include points to the relative path to the workingDirectory .
This caused the header files in the jni_include cannot be found in the AS.
The question is:

Why the absolute path of jni_headers_PATH becomes a relative one after include_directories?
If the 1) is the desired behavior, I think the AS should respect the workingDirectory when finding the header files?

Thanks!

I thought the working directory at building time is at the binary directory, not the directory where the CMakeLists.txt is sitting.  I will follow-up after a couple of days [after keeping my current thing in order]

Now my workaround is adding a /./ before ${PROJECT_BINARY_DIR} like set(jni_headers_PATH /./${PROJECT_BINARY_DIR}/jni_include)`. So the absolute path won't be stripped into the relative path to the binary dir. I cannot find any reasons why does cmake has this behavior.

trying to compile it, something else get in the way:
Error:(20, 46) fatal error: object-store/src/object_schema.hpp: No such file or directory
when I tried with project under /realm-java/realm/, maybe I missed some pre-required steps?  thanks

Did you do a git submodule update --init before calling ./gradlew assemble from the project root directory?

yeah, that is it. thanks!

I think latest one ( Android Studio 2.3 Beta 1 from canary ) might fix it already; or you are using windows to build? I am using Mac. Please let me know
Either removing your workaround or leaving it does not matter, realm-library could build on my Mac.
you could see the compile flags in action with my build[ I deliberately added error into file io_realm_internal_CheckedRow.cpp to cause a stop so I could see what the compile options are at the time; just remove my-added-errors and rebuild, it will succeed, you got to trust me for this :-)]
I could also see, with your workaround, the option is:
-I/./Users/gfan/proj/bugfix/realm-java/realm/realm-library/.externalNativeBuild/cmake/baseDebug/arm64-v8a/jni_include
[it works too on Mac ]
My replicate environment:
use project in: realm-java/realm with

clone your source
git submodule -init
import realm-java/realm/build.gradle into android studio
add file(make_directory ${class_PATH}) to cmakelists.txt <=== this might need to be added into your repo
change the version back to its 2.2.1 [I could not deal with 2.3.0-SNAPSHOT version]
change ABI to ARM family only, does not support x86 and mips [build.gradle]
def ndkPathInEnvVariable = "/Users/gfan/dev/android-ndk-r10e" [you are asking both environ and local.properties to be same...]
changed SHA256 [dependencies.list]
#REALM_SYNC_SHA256=7bbaa9cdef722d85489feb1b70da11d5640869540d9a0fc40621de7352dd9ffd
REALM_SYNC_SHA256=3463fa7a3b232839c6205a616ce431ddedd7c667918971231ec2ff700618c25f

it is NOT your exact environment, BUT it should not matter for this include-path-issue either.
----- the compile flags in effect when building, after removing your "/./" workaround -------
/Users/gfan/dev/android-ndk-r10e/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-g++   -DANDROID -Drealm_jni_EXPORTS -isystem /Users/gfan/dev/android-ndk-r10e/platforms/android-21/arch-arm64/usr/include -isystem /Users/gfan/dev/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /Users/gfan/dev/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/libs/arm64-v8a/include -isystem /Users/gfan/dev/android-ndk-r10e/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I/Users/gfan/proj/bugfix/realm-java/realm/realm-library/distribution/realm-core/core-1.0.0-BETA-5.0/include -I/Users/gfan/proj/bugfix/realm-java/realm/realm-library/src/main/cpp -Ijni_include -I/Users/gfan/proj/bugfix/realm-java/realm/realm-library/src/main/cpp/object-store/src -fexceptions -frtti -Wno-psabi --sysroot=/Users/gfan/dev/android-ndk-r10e/platforms/android-21/arch-arm64 -funwind-tables -fsigned-char -no-canonical-prefixes -fdata-sections -ffunction-sections -Wa,--noexecstack  -DREALM_ANDROID -DREALM_HAVE_CONFIG -DREALM_HAVE_EPOLL -DPIC -pthread -fvisibility=hidden -std=c++14 -fsigned-char -Wall -Wextra -pedantic -Wno-long-long -Wno-variadic-macros -Wno-missing-field-initializers -Wmissing-declarations -Wno-error=uninitialized -Wno-error=maybe-uninitialized  -ggdb -Og -DNDEBUG -fPIC -MD -MT CMakeFiles/realm-jni.dir/io_realm_internal_CheckedRow.cpp.o -MF CMakeFiles/realm-jni.dir/io_realm_internal_CheckedRow.cpp.o.d -o CMakeFiles/realm-jni.dir/io_realm_internal_CheckedRow.cpp.o -c /Users/gfan/proj/bugfix/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_CheckedRow.cpp
/Users/gfan/proj/bugfix/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_CheckedRow.cpp:19:1: error: 'skfdljdsl' does not name a type
skfdljdsl;fkdsf;   //<=== this is [on purpose] an error to see what the compile options are
^                          // removes this compile fine

@ggfan Sorry, I didn't make issue description clear. The build part is fine with/without the workaround. The problem is in the AS (I mean the IDE), android_gradle_build.json is using the relative path of jni_include, and the AS needs to know the path to find header files to do the syntax checking. But AS cannot, since it doesn't know the working path of cmake, which you can see it will report header files cannot be found error in the AS when you opening the io_realm_internal_CheckedRow.cpp inside the AS editor.
BTW, I am using AS under Linux. AS reports more strange "header files cannot be found" issues with my mac, but that is another topic, i haven't spent too much time to investigate that yet.

Also, from your build log, i can see the command line is still using -Ijni_include which is the relative path to the cmake dir. I think that also means android_gradle_build.json is still using the relative dir which still causes trouble for AS cpp editor for finding the header files.

I see, this issue is about the AS, not about the gradle.  The AS-UI has more similar issues, like:  https://code.google.com/p/android/issues/detail?id=208114.
it is valid bug, added a link in the above issue to this one, we would follow up on that one and close down this one.  UI portion is tough to track : much more work I felt.

aging this one out


Audio is like fluctring, bouncing & jumping.

Hi there,
I found a strange issue.
I am on latest nightly build with using RN 0.70.0 (Issue is with both new Arch true & false).
For live streaming URL's it's sometimes fine and sometimes it's fast.
For MP3 URL's it's sometimes normal, sometimes fast & sometimes audio cutting or jumping. For example : 00:00 to 00:02, 02:31 to 02:33.
Why it happens?
Please take it seriously as it's fetching from past 10-15 nightly builds. I was waiting that it will be fixed in this or that. But still no luck and I am still facing this issue.
If audio required, I will create one demo video how audio is behaving.
Note : I have one more observation that issue is happening if app is in foreground & audio is playing. It is working fine if audio is in background and audio is playing.
Thanks.

@jspizziri ,I think it's hard to explain somehow. Can we connect directly so I can share my screen with you and show exact issue?

@ErHarinderSingh you can make a screen recording and post it here. Ultimately, if you want us to be able to fix it, you need to provide a way for us to reliably reproduce it. It's impossible for us to fix things we can't reproduce.

Hi @jspizziri , no worries. I have resolved it.
But I have something to explain that why it was happening.
I have add this in android/build.gradle file

We removed our ExoPlayer fork recently, and you probably don't need this piece code anymore. Good job on resolving it!

My pleasure @mpivchev, 😊


Cancelling deploy shows old instances are getting removed

When I cancelled a deploy, I saw this and was thrown off thinking that it was keeping my old, broken instances then I realized/verified it was just a typo. Probably not huge priority

I've reworded to just destroying instances since the message is used in multiple contexts.


fix debug format

This still complain for me, it seem to take a format string, like info, warning, message...etc.

Oh, yes, debug is just another level. I thought we fixed that before. Strange.

no we just switched from log to debug befor.


Add an action column to an angular table

Hi all,
I wanna add a column into an angular material table which has view, edit and delete actions as give in the following image. How can I do this?

Thanks.

@ruvishka , hello

maybe help you)


Add DNS for the BOD VPC

Add DNS for the BOD VPC
Change the names of some CyHy Terraform variables so they are distinct from the corresponding BOD variables.

Note that I do not use fixed IPs like the CyHy VPC does, but this still appears to work.

@felddy, can you also comment on the fixed IP issue?  That didn't seem to be an issue for me.


Fixed #23130 -- Added test for BooleanField when blank=True.

ticket-23130

This is not a test of described issue, please check a sample project attached to the ticket and previous versions of this patch. Issue described in the comment#4 is fixed but it's about validation of blank option for BooleanField with choices, e.g.
boolean = models.BooleanField(choices=[(True, "Special True"), (False, "Special False")],

so it's not a proper test. I'm also not sure if behavior for blank=True is correct, e.g.
boolean = models.BooleanField(choices=[(True, "Special True"), (False, "Special False")], blank=True)

because choosing a blank value causes:
django.core.exceptions.ValidationError: ['“” value must be either True or False.']`.


1.4.14

Coverage increased (+1.03%) to 96.471% when pulling 2b70673fe8a5325ba07678af671644a3e263a980 on development into 5bd5563967e2c8237e0e3e0a51846503c07bb755 on master.


Bump Quarkus version to 3.0.2.Final

Summary
Bumps Quarkus version to 3.0.2.Final.
Please check the relevant options

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[ ] Example scenarios has been updated / added
[ ] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

But please, take a look at CI failure

I'll re-run them and then I'll look again. Can't reproduce this locally.

Yeah, it is related. I will work on it, not sure why I didn't reproduce it previously.

run tests

Okay, so failures are my fault as I merged https://github.com/quarkus-qe/quarkus-test-framework/pull/771 and didn't mention 7.4.0 is not compatible with native. I confirmed that everything works with io.confluent:kafka-avro-serializer:7.3.3 although https://quarkus.io/guides/kafka-schema-registry-avro#confluent explicitly mention that only 7.2.x and lower are guaranteed to work in native. Therefore I'll revert that change and push it here because I don't feel comfortable to merging this without green CI.

run tests


Extending jax.checkpoint

I would like to extend the jax.checkpoint aprroach to implement binomial checkpointing for computing the vjp of a time stepping loop the performs computation in step():
  def timestep(A,N):
    for i in range(N):
      A = step(A,i)

Theremat approach, as I understand it, generates a version of a function that stores inputs of the function and none of the linearization points. For the vjp calculation, it reruns the function calculation thereby regenerating the intermediate linearization points.
If I use remat for step(A,i), then for each i, the arguments to step(A,i)will be stored. This is not what I want, because in my test case,A` is very large.
An alternate scheme such as binomial checkpointing can use some criterion to decide for which i to store the inputs instead of storing each them for each i. This allows for different tradeoffs between storage and recomputation. To implement such a checkpointing scheme, the following actions will need to be performed:

Store argument of step(A,i)
Restore arguments of step(Ai,)
Run step(i) without storing/restoring arguments based on step(A,i-1)’s completion.
Compute jvp for step(i) assuming that output of jvp(A,i+1)  and is available

Does this seem feasible to implement on top of the existing remat approach?
Are there any suggestions on how to go about it?

Remat itself can apply to general JAX functions that might not be straightforwardly broken down into steps, or for which estimating the costs of steps might be difficult. But JAX loop primitives like lax.scan and lax.while_loop will typically have similar cost per step, so implementing a binomially-checkpointed scan might be a good place to start? (Although scan itself is among the more complicated parts of the JAX codebase.)
See also https://github.com/google/jax/issues/2139.

This seems like a reasonable thing to have, so I started hacking on an implementation which I submitted as #4363. Right now the cost model is overly simple and it won't be able to handle loops that are not unrolled in jaxprs (i.e. your program is fine, but lax.scan will be counted as a single instruction). But this should not be very difficult to fix. I'll try do get that working tomorrow.

Tangentially, take a look at Example 5 in the PR message of #1749, which shows how you can use jax.remat recursively to manually implement divide-and-conquer / bisection checkpointing. I'll also copy it below for posterity.
That approach is "manual" in that you need to organize your code a certain way. (Also it only exists buried in a PR comment!) Adam's #4363 is superior in that you can just apply it to a function and it will do the program slicing for you. And over time we could make it smart about that slicing.
One detail is the difference between "binomial checkpointing" in the Griewank and Walther sense and divide-and-conquer / bisection / recursive checkpointing. I think the former may involve an explicit cost model for selecting the checkpoints.
In any case, great idea to start improving and flexing our AD capabilities here!
Copied from #1749:
Example 5: recursive checkpointing
def recursive_checkpoint(funs):
  if len(funs) == 1:
    return funs[0]
  elif len(funs) == 2:
    f1, f2 = funs
    return lambda x: f1(f2(x))
  else:
    f1 = recursive_checkpoint(funs[:len(funs)//2])
    f2 = recursive_checkpoint(funs[len(funs)//2:])
    return lambda x: f1(remat(f2)(x))

# forward pass
f = recursive_checkpoint([np.cos, np.sin, np.cos, np.sin])
print(make_jaxpr(f)(4.))

# forward and backward pass
f = recursive_checkpoint([np.sin, np.sin, np.sin, np.sin])
print(make_jaxpr(value_and_grad(f))(4.))

# longer forward pass
f = recursive_checkpoint([np.cos, np.sin, np.cos, np.sin,
                          np.cos, np.sin, np.cos, np.sin])
print(make_jaxpr(f)(4.))

# forward pass
{ lambda  ;  ; a.
  let b = remat_call[ concrete=False ] a
        { lambda  ;  ; a.
          let b = sin a
              c = cos b
          in [c] } [  ;  ]
      c = sin b
      d = cos c
  in [d] }

# forward and backward pass
{ lambda  ;  ; a.
  let b = sin a
      c = sin b
      d = sin c
      e = sin d
      f = cos d
      g = mul 1.0 f
      h = cos c
      i = mul g h
      j = remat_call[ concrete=False ] a i
        { lambda  ;  ; a b.
          let c = sin a
              d = cos c
              e = mul b d
              f = cos a
              g = mul e f
          in [g] } [  ;  ]
  in [e, j] }

# longer forward pass
{ lambda  ;  ; a.
  let b = remat_call[ concrete=False ] a
        { lambda  ;  ; a.
          let b = remat_call[ concrete=False ] a
                { lambda  ;  ; a.
                  let b = sin a
                      c = cos b
                  in [c] } [  ;  ]
              c = sin b
              d = cos c
          in [d] } [  ;  ]
      c = remat_call[ concrete=False ] b
        { lambda  ;  ; a.
          let b = sin a
              c = cos b
          in [c] } [  ;  ]
      d = sin c
      e = cos d
  in [e] }

For anyone following this old thread: I put together an efficient implementation of (online) recursive checkpointing, see also this comment.

Thanks, Patrick. I think we can close it as a duplicate of #2139 too.


fix: goroutine leak

we never really break out of that for loop, so, the goroutine would keep running there even long after the program that launched it finished.
this fixes it.

not sure @aymanbagabas, in theory, the context ends either way, will try to test it later to make sure...


Update README.md with bootstrap commands

Signed-off-by: Manuel Imperiale<EMAIL_ADDRESS>

Codecov Report

Merging #1138 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1138      +/-   ##
==========================================
+ Coverage   75.31%   75.33%   +0.02%
==========================================
  Files         101      101
  Lines        6853     6853
==========================================
+ Hits         5161     5163       +2
+ Misses       1335     1333       -2
  Partials      357      357

Impacted Files
Coverage Δ

things/service.go
90.44% <0.00%> (+1.47%)
:arrow_up:

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 cb3b70d...7ab1b6b. Read the comment docs.


Process get killed when running tensorflow.python.ops.linalg_ops.matrix_solve_ls

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
binary
Tensorflow Version
2.10.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
A bug happened!

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np
from tensorflow.python.ops import linalg_ops
try:
  try:
    with tf.device('/CPU'):
      arg_0_tensor = tf.random.uniform([16, 8, 127, 64, 1024], dtype=tf.float32)
      arg_0 = tf.identity(arg_0_tensor)
      arg_1_tensor = tf.random.uniform([16, 8, 127, 1], dtype=tf.float64)
      arg_1 = tf.identity(arg_1_tensor)
      fast = True
      l2_regularizer = 0.0
      out = linalg_ops.matrix_solve_ls(arg_0,arg_1,fast=fast,l2_regularizer=l2_regularizer,)
  except Exception as e:
    print("Error:"+str(e))
  try:
    with tf.device('/GPU:0'):
      arg_0 = tf.identity(arg_0_tensor)
      arg_0 = tf.cast(arg_0, tf.float32)
      arg_1 = tf.identity(arg_1_tensor)
      arg_1 = tf.cast(arg_1, tf.float64)
      linalg_ops.matrix_solve_ls(arg_0,arg_1,fast=fast,l2_regularizer=l2_regularizer,)
  except Exception as e:
    print("Error:"+str(e))
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-01-22 17:20:10.941818: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-22 17:20:11.263211: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-22 17:20:12.030442: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/:/home/nimashiri/anaconda3/envs/cuda11.2/lib/:/home/nimashiri/anaconda3/envs/cuda11.2/lib/:/home/nimashiri/anaconda3/envs/tf-2.10/lib/
2023-01-22 17:20:12.030745: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/lib/:/home/nimashiri/anaconda3/envs/cuda11.2/lib/:/home/nimashiri/anaconda3/envs/cuda11.2/lib/:/home/nimashiri/anaconda3/envs/tf-2.10/lib/
2023-01-22 17:20:12.030753: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-22 17:20:12.949847: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:12.977797: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:12.977916: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:12.979391: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-22 17:20:12.980124: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:12.980262: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:12.980370: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:13.588750: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:13.589162: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:13.589259: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:980] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-01-22 17:20:13.589343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 4286 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5
2023-01-22 17:20:13.608346: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of<PHONE_NUMBER> exceeds 10% of free system memory.
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Killed

</details>

Hi, @SuryanarayanaY
Could you please look into this issue ? Thank you!

Hi @nimashiri ,
I tried it on a VM with Ubuntu 22.04 OS with 2 GPUs(NVIDIA A100-SXM4-40GB) and the ran the code multiple times which executed without any crash even in multiple runs and outputs intended error.I have added the code print('Code executed sucessfully') at end of program to ensure success.
Please refer the below log.
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python 59410.py
2023-01-27 11:35:16.485315: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:35:16.611035: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-01-27 11:35:16.647928: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-27 11:35:17.344802: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:35:17.344903: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:35:17.344918: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-27 11:35:22.165950: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:35:23.471713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38239 MB memory:  -> device: 0, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:04.0, compute capability: 8.0
2023-01-27 11:35:23.473514: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 38239 MB memory:  -> device: 1, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:05.0, compute capability: 8.0
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Code executed sucessfully
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python 59410.py
2023-01-27 11:35:34.576381: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:35:34.703724: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-01-27 11:35:34.740759: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-27 11:35:35.435255: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:35:35.435363: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:35:35.435388: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-27 11:35:40.281001: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:35:41.594776: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38239 MB memory:  -> device: 0, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:04.0, compute capability: 8.0
2023-01-27 11:35:41.596454: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 38239 MB memory:  -> device: 1, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:05.0, compute capability: 8.0
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Code executed sucessfully
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python 59410.py
2023-01-27 11:35:59.249755: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:35:59.376665: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-01-27 11:35:59.414453: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-27 11:36:00.113341: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:36:00.113448: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:36:00.113463: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-27 11:36:04.937205: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:36:06.246962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 38239 MB memory:  -> device: 0, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:04.0, compute capability: 8.0
2023-01-27 11:36:06.248594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1616] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 38239 MB memory:  -> device: 1, name: NVIDIA A100-SXM4-40GB, pci bus id: 0000:00:05.0, compute capability: 8.0
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Error:cannot compute MatrixSolveLs as input #1(zero-based) was expected to be a float tensor but is a double tensor [Op:MatrixSolveLs]
Code executed sucessfully
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$ python3 -c "import tensorflow as tf; print(tf.__version__)"
2023-01-27 11:37:40.903992: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F AVX512_VNNI FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-01-27 11:37:41.029635: I tensorflow/core/util/util.cc:169] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2023-01-27 11:37:41.066969: E tensorflow/stream_executor/cuda/cuda_blas.cc:2981] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-01-27 11:37:41.766927: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:37:41.767043: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: :/home/suryanarayanay/miniconda3/envs/tf/lib/:/home/suryanarayanay/miniconda3/envs/tf2.11/lib/:/home/suryanarayanay/miniconda3/envs/tf2.10/lib/
2023-01-27 11:37:41.767059: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2.10.0
(tf2.10) suryanarayanay@surya-ubuntu-22-04:~$

This indicates the problem is due to Memory issue where OS crashed in allocating required memory which is expected.Please refer to the developer https://github.com/tensorflow/tensorflow/issues/59168#issuecomment-1405633596 related to malloc with High input size which will eventually lead to OS crash.

Closing as not a vuln.
@dmc1778 please stop posting vulns on GitHub. Please consult SECURITY.md for how to properly and ethically disclose them.


Proofread and improved formatting of Gemini API Cookbook

This commit includes a thorough proofreading of the Gemini API Cookbook, enhancing clarity and consistency throughout the text. Formatting issues, such as link spacing and capitalization, have been corrected for a more professional presentation. Additionally, grammatical adjustments were made to improve readability. Overall, these changes aim to provide a clearer and more polished user experience for developers utilizing the Gemini API.

Thank you for the feedback regarding my pull request! I have checked the Contributor License Agreement (CLA) and have made the necessary fixes.
It would be great if you could review my updated submission and approve it at your earliest convenience.

I would like to request the merging of the pull request I submitted. All checks have been successfully validated, and there are no errors present. The changes have been reviewed and approved.
Thank you for your attention to this matter.


Re-enabled additional tests

Fix load toOne association not referencing a PK with FetchMode.SELECT
Fix throw EntityNotFoundException when an association not mapped with  NotFound(IGNORE)

Thanks @beikov for the review!


Draggable marker: fix drag limits

This is my first PR so if I am doing somethign wrong please correct me. Today i noticed an bug while using the DraggableMarkerPlot with DragLimits. The limits for X-Axis works fine but for Y-Axis it does not work as intendet. The conditions are checking the X-Coordinate in all four cases, which is obviously wrong. As this is no big change i hope that my description meets the requirements for an PR.

Thank you @xmln17, this looks great! The fix will be in the next release.

This is my first PR

GitHub can be a little intimidating to get started with, but you did great! Congratulations! 🚀

meets the requirements for an PR

This library has improved thanks to many small contributions from developers like you - thanks for the bug fix!

https://scottplot.net/changelog/
https://scottplot.net/contributors/


External Network: liqoctl network connect

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

/build

/unhold


Parameters not being used?

I'm doing
  return algolia.search([
    {indexName: 'index1', query:'something', getRankingInfo:true},
    {indexName: 'index2', query'something', getRankingInfo:true},
  ])

And the hits are not coming back with _rankingInfo. Are the params properly being sent in multi-mode? Am I doing anything else wrong?

Sorry that's a little bit odd to do that right now, we did a 1:1 mapping with the REST API in term of parameters:
  return algolia.search([
    {indexName: 'index1', params: {query:'something', getRankingInfo:true}},
    {indexName: 'index2', params: {query:'something', getRankingInfo:true}},
  ])

Let me know if that works.
Ref: https://www.algolia.com/doc/api-client/javascript/search/#search-multiple-indices

That worked, thanks!


bb8_redis doesn't have the latest redis version

On master it depends on a later version, I think - please test and let me know if it works for you, I'll publish a release soon.

@djc yes I noticed it, thanks


compatibility update

Change few lines to make it work with newest versions of scikit-learn and numpy. Short overview:

new GP in scikit-learn >=0.23: add y_normalize=False
new GP in scikit-learn >= 0.23:  often throws nan error -> increase initial runs
numpy MaskArray -> numpy.ma.array
set matplotlib backend to Agg via export for conf.py

Hello @lucasplagwitz! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file doc/conf.py:

Line 24:1: E402 module level import not at top of file

In the file examples/exploration-vs-exploitation.py:

Line 64:1: E305 expected 2 blank lines after class or function definition, found 1
Line 64:54: E251 unexpected spaces around keyword / parameter equals
Line 64:56: E251 unexpected spaces around keyword / parameter equals

In the file examples/interruptible-optimization.py:

Line 71:15: E127 continuation line over-indented for visual indent
Line 71:80: E501 line too long (87 > 79 characters)
Line 115:15: E127 continuation line over-indented for visual indent

In the file examples/store-and-load-results.py:

Line 63:80: E501 line too long (82 > 79 characters)

The scikit-learn NaN (normalize_y=True and one point => std=0) error with GP version >= 0.23 is now mentioned in the  issue board: scikit-learn#18318. In future versions the n_initial_run increasment might not be necessary anymore, but I don't think they do any harm.

Thanks @lucasplagwitz , can you add [MRG] into the title of your pull request, when your PR is ready for review?
As soon as you added [MRG], I will start to review. Thanks again.

Thanks @holgern for your hint. Add the tag immediately. In case of merge, please be so kind and make a release so we can close #931, too. I saw the instruction on your readme but am not totally sure if it should be new 0.8....
Thanks for reviewing - hope it helped to bring scikit-optimize back to just work after pip/conda install.


Update README to reflect debug/release compiler optimizations

To myself: update the instructions on the README to reflect compilation with either debug or release, as the instructions default to debug which has an optimization level of 0.

This has been completed.


correct integration test

I don't know what happened, I think I did (again) forget all the needed files.
BTW, if you can rebase and merge instead of adding a merge commit?
So we have you commit and my integration test commit. If you can rebase t

@famartinrh hang on I'm rebasing things and fixing here

So, if you don't mind creating a PR just with this commit please? to avoid having too many merge commits etc ?


Release readiness status for v2.2.0

/kind user-story
User Story
As a user I want to know the status of v2.2.0 release that covers

[ ] Matrix on Blocker / TestBlocker / AutomationBlocker / Bugs
[ ] Test automation status
[ ] Defect Metrics (Defect Backlog, Defects Arrival, Defects Regression, Defects Resolution, Defects Reopen, Defects Verification, Defect Rejected)
[ ] Test platform coverage

Acceptance Criteria

[ ] The above story matrix should be documented and reviewed

Links

Feature Request: NA
Related issue: NA

/kind user-story

@prietyc123 do we still want to keep this one arond ?

@prietyc123 do we still want to keep this one arond ?

I think it does not make sense anymore.
/close


Set lhs of distance to cluster centers in Hierarchical clustering in store_model_features

every CDistanceMachine has to make sure that cluster centers are in lhs of distance variable, the task is to fix the todo in https://github.com/shogun-toolbox/shogun/blob/58b914a6b326cd5f799727e39737bc4b4b11b286/src/shogun/clustering/Hierarchical.h#L122
see KMeans for example

as if you need details

@karlnapf In the get_cluster_centers of KMeansBase also, we are extracting the feature matrix of lhs features.

#4510

@karlnapf  @vinx13  Referencing the pull request I sent here: #4510


feat(blockifier, starknet_api): add explcit typing and arithmetic to gas amount/price, and fee

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1174
#1173  👈
#1172
main

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

Join @dorimedini-starkware and the rest of your teammates on  Graphite


Crash on Arclight server

Mod Name
Arclight(Forge+bukkit) server
Mod Homepage
https://github.com/IzzelAliz/Arclight
Describe the bug
Crash on Arclight server
Steps to reproduce
1.Install Connector-1.0.0-beta.17+1.20.1-full and fabric-api-0.89.0+1.9.22+1.20.1
2.Start server
Logs
https://gist.github.com/Loopdream123/948e8bb88fb25abed020ebccc505da03
Additional context
Connector-1.0.0-beta.15+1.20.1-full and fabric-api-0.89.0+1.9.20+1.20.1 can barely run on Arclight light server with very many bugs.
When Connector and ForgifiedFabricAPI get updated to the latest version,The server can't be started.

Hybrids are not supported, sorry. Please use the vanilla/official server.


Add new HostFiltering package

Can we hold off on this until after we branch? I want to snapshot the dev branch and we'll have to wait until a successful build if this goes in which will be several hours

@pranavkm if we're going to make that a requirement of adding a new Package ID we should add it to the new package id creation wiki page in Coherence-Signed.


Support for Appium with TestNg

Describe the solution you'd like
AppCenter Support for Appium with TestNG
Describe alternatives you've considered
We considered Appium with JUnit which is supported - we have our testing framework already built in TestNg and that leverages TestNg specific features not available in JUnit such as parameterized test and dependency test
Additional context
Our automation testing framework based on TestNG is around 10 years old with lots of features implemented unrealistic to convert to JUnit.

I'm the program manager responsible for App Center Test and I'm working on a new idea which will support more frameworks in Test, allow unit testing, and browser testing. I would like to talk to you about it and understand your needs better.
Below is a link where you can sign-up for a 30-minute call with me. The agenda will be about the value of testing for you and your organization, and my new idea to allow more frameworks and testing styles in App Center Test.
Link to choose https://calendly.com/vigimm/appcenter-test

I'm also interested int this feature. I'm working on a UI testing codebase which uses TestNG and there is a huge appetite in my client to use Appcenter Test. But migrating to Junit seems to be a bit overkill.
Are there any roadmap or plans for supporting TestNG?


Redisson map get makes the thread waiting forever

The map is a regular <Integer, String> map, and by calling a get on some key we see the following thread trace:
{code}
"catalina-exec-140" #1291 daemon prio=5 os_prio=0 tid=0x00007fa0f0c21000 nid=0x7977 waiting on condition [0x00007fa0df19a000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for  <0x0000000685c35698> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:93)
at org.redisson.RedissonObject.get(RedissonObject.java:55)
at org.redisson.RedissonMap.get(RedissonMap.java:138)
at com.datorama.core.service.dist.impl.redis.RedisDistributedMapImpl.get(RedisDistributedMapImpl.java:78)
{code}

Which Redisson version do you use?

2.2.22

Do you see any errors above in logs?

Above that no. We are having 2 big issues with migration to Reddison - the biggest is we have many timeout exceptions:
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (RPUSH) with params: [lower_priority_lz_queue_3, message type = LZ_STAT, Message id = 2777709] at org.redisson.command.CommandAsyncService$7.run(CommandAsyncService.java:460) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:588) at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:662) at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:385) at java.lang.Thread.run(Thread.java:745)
The commands varies depending on the action we do. We are having difficulties understanding what are those timeouts.
The other big issue is thread being stuck on map get or lock that is unlocked.

We are having difficulties understanding what are those timeouts.

Those command can't be send during timeout.

Have you try to profile it?

Those command can't be send during timeout.
I'm not sure i understand what do you mean by 'during timeout'
We didn't try to profile it.
Another exception stuck trace you can see:
Exception: org.redisson.client.RedisTimeoutException: Command execution timeout for command: (EVAL) with params: [local value = redis.call('hget', KEYS[1], ARGV[2]); if value == false then return nil; end; local t, val = struct.unpack('dLc0', value); local expireDate =<PHONE_NUMBER>8547758; local expireDateScore = redis.call('zscore', KEYS[2], ARGV[2]); if expireDateScore ~= false then expireDate = tonumber(expireDateScore) end; if t ~= 0 then local expireIdle = redis.call('zscore', KEYS[3], ARGV[2]); if expireIdle ~= false then if tonumber(expireIdle) > tonumber(ARGV[1]) then local value = struct.pack('dLc0', t, string.len(val), val); redis.call('hset', KEYS[1], ARGV[2], value); redis.call('zadd', KEYS[3], t + tonumber(ARGV[1]), ARGV[2]); end; expireDate = math.min(expireDate, tonumber(expireIdle)) end; end; if expireDate <= tonumber(ARGV[1]) then return nil; end; return val; , 3, all_users_map, redisson__timeout__set__{all_users_map}, redisson__idle__set__{all_users_map},<PHONE_NUMBER>357, 1544] at org.redisson.command.CommandAsyncService$7.run(CommandAsyncService.java:460) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:588) at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:662) at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:385) at java.lang.Thread.run(Thread.java:745)

I'm not sure i understand what do you mean by 'during timeout'

Each command has timeout = config.retryInterval * config.retryAttempts (ms) During this timeout Redisson tries to send command config.retryAttempts attempts. Each attempt occurs after config.retryInterval. If command sent successfully it starts to count response timeout config.timeout if not it throws an exception like in your case.

So if i understand correctly onfig.retryInterval * config.retryAttempts (ms) is a request timeout and config.timeout is a response timeout? so if we'll increase those params it should help solving the timeouts exceptions?

@shaharco You're right. But default settings should enough

If the default setting should be enough then we have a different problem since we see many timeout exceptions in many different commands. Currently the settings we are working with are:

connectTimeout: 3000
timeout: 5000
retryInterval: 2000
reconnectionTimeout: 3000

I reproduced such case only when I has very slow Redis-server and had network latencies.

We have Redis-server that should be very fast (AWS elastic cache and Redis labs) which should also eliminate network latency.

you can try to rise *ConnectionMinimumIdleSize

Can you please explain the meaning of this parameter?
Thanks

it's a ready-to-use connections amount which initialized during Redisson start. This leads to absence of need to create connection additional connections in runtime which is expensive in terms of time.

@mrniko does the following error tell you something, or is it the same as above?
Exception: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.redisson.client.RedisTimeoutException: Redis server response timeout (5000 ms) occured for command: (EVAL) with params: [local value = redis.call('hget', KEYS[1], ARGV[2]); if value == false then return nil; end; local t, val = struct.unpack('dLc0', value); local expireDate =<PHONE_NUMBER>8547758; local expireDateScore = redis.call('zscore', KEYS[2], ARGV[2]); if expireDateScore ~= false then expireDate = tonumber(expireDateScore) end; if t ~= 0 then local expireIdle = redis.call('zscore', KEYS[3], ARGV[2]); if expireIdle ~= false then if tonumber(expireIdle) > tonumber(ARGV[1]) then local value = struct.pack('dLc0', t, string.len(val), val); redis.call('hset', KEYS[1], ARGV[2], value); redis.call('zadd', KEYS[3], t + tonumber(ARGV[1]), ARGV[2]); end; expireDate = math.min(expireDate, tonumber(expireIdle)) end; end; if expireDate <= tonumber(ARGV[1]) then return nil; end; return val; , 3, dingo_brand_5284, redisson__timeout__set__{dingo_brand_5284}, redisson__idle__set__{dingo_brand_5284},<PHONE_NUMBER>534, 61642f3c92287392b9101f25ed406ce1] channel: [id: 0x583fd8f1, L:/<IP_ADDRESS>:45513 - R:redis.stg.datorama.com/<IP_ADDRESS>:6379] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.datorama.core.service.process.GoalProcessService.runQueryAndProcessGoal(GoalProcessService.java:126)

does the following error tell you something, or is it the same as above?

No it's not the same. Now it's response timeout. Redisson didn't get response during defined timeout.

Timeouts also arises during GC pause on major collection

So increasing the config.timeout can help?

So increasing the config.timeout can help?
Yes


chore: use npm workspaces with lerna, update lint

coverage: 93.534% (-0.005%) from 93.539% when pulling 5231e5c1d75daef6c8add925ea526520a7119802 on embbnux:chore/workspaces into 5451c5a2687c79da3b1cb4bd5ed9ae6ef2e3a45c on ringcentral:master.


Added currency symbols and flags

Oh that would be a nice addition, we are currently using torann/currency for the symbols but it hasn't been updated for L5

Thank you for the PR. It's merged into the Laravel 5 and Laravel 4 branches.

No problem


Adapt to new bauhaus container behavior

Coverage remained the same at 100.0% when pulling 823afbf6d919250724b3aa0adcc05df2841f3d7b on adapt-to-new-bauhaus-container-behavior into 976ffb7d2da3f59dcb40180ad12d6556d30850d8 on master.

Coverage remained the same at 100.0% when pulling 11f8a42ef9bde333af38a8969a862a9a1e96157e on adapt-to-new-bauhaus-container-behavior into 976ffb7d2da3f59dcb40180ad12d6556d30850d8 on master.


Does it work when using proxy?

If I use curl --proxy and send it to http proxy, will it properly forward everything to destination server as intended?

I've tested with jsonip.com and response included proxy's ip, so I'd say yes, it should properly forward everything

The question is does the receiving server sees all headers/tls fingerprint properly? I tried against one site and it detected me.

maybe bad proxy? they know these ips as proxies

We are using curl-impersonate on large scale (100 requests/second) against akamai (one of the leading WAFs on the market) and it's going just fine, both in terms of headers and proxies. So I'd say curl-impersonate is working as intented and you probably have some other issues with your headers/IPs.
Bear in mind that curl-impersonate overwrites some headers (eg. User Agent), but it shouldn't be an issue for most cases and actually helps.

agree. highly depends on anti-bot vendor. maybe your proxy is bad. or they check tcp fingerprints

The whole idea of curl-impersonate is tcl fingerprint.

or they detect you on client side   we run huge anti-bot spoofing to bypass most advanced vendors. but they all check client side

agree. highly depends on anti-bot vendor. maybe your proxy is bad. or they check tcp fingerprints

The whole idea of curl-impersonate is tcp fingerprint.

you are stupid ))  this is not possible as for now   You are completely wrong, so I can imagine what you do.   Probably easy to detect

как русский, так долбоёб.
 Probably easy to detect

как русский, так долбоёб.
How about you show some solutions how to avoid tcp fingerprint detection instead?

  No reason to entertain further.
anti-bot is much wider.   we use a custom chrome build for advanced vendors.

btw did you read or forgot glasses again?  I wrote, it is not possible to spoof tcp as for now   only if you own proxy.   but still there are would be a problem with webrtc.  which is not possible to solve correctly as for now.  when using proxies   no mitigation possible

btw did you read or forgot glasses again? I wrote, it is not possible to spoof tcp as for now only if you own proxy. but still there are would be a problem with webrtc. which is not possible to solve correctly as for now. when using proxies no mitigation possible

Русский военный корабль, иди на хуй

I didn't quite follow this thread but please refrain from insults.
As for the original question: I do not believe a proxy will forward the TLS fingerprint as curl-impersonate sends it. A web proxy will use its own TLS code with its TLS library of choice. The HTTP headers will probably be fine though, but this is not sufficient in many cases.
If you'd like to make a thorough check, please use your proxy of choice with curl-impersonate and run the following
curl_chrome101 --proxy $YOUR_PROXY -X GET 'https://ja3er.com/json'

This will give some details about the TLS signature that the proxy emits.

I didn't quite follow this thread but please refrain from insults.
As for the original question: I do not believe a proxy will forward the TLS fingerprint as curl-impersonate sends it. A web proxy will use its own TLS code with its TLS library of choice. The HTTP headers will probably be fine though, but this is not sufficient in many cases.
If you'd like to make a thorough check, please use your proxy of choice with curl-impersonate and run the following
curl_chrome101 --proxy $YOUR_PROXY -X GET 'https://ja3er.com/json'

This will give some details about the TLS signature that the proxy emits.

Hello, some proxy providers forward it.  I've just checked my 3 providers and it works.  So depends on quality of proxy provider

On 2022-05-27 16:11, vladtreny wrote:

I didn't quite follow this thread but please refrain from insults.

As for the original question: I do not believe a proxy will
forward the TLS fingerprint as curl-impersonate sends it. A web
proxy will use its own TLS code with its TLS library of choice.
The HTTP headers will probably be fine though, but this is not
sufficient in many cases.

If you'd like to make a thorough check, please use your proxy of
choice with curl-impersonate and run the following

|curl_chrome101 --proxy $YOUR_PROXY -X GET 'https://ja3er.com/json' |

This will give some details about the TLS signature that the proxy
emits.

Hello, some proxy providers forward it. I've just checked my 3
providers and it works. So depends on quality of proxy provider

Nobody talks about proxy providers. We are talking about proxy servers
(e.g. squid on ubuntu). And which settings there should/could be changed
to make it 'forward' TLS fingerprint

Nobody talks about proxy providers. We are talking about proxy servers (e.g. squid on ubuntu). And which settings there should/could be changed to make it 'forward' TLS fingerprint

Then you should write clearly what exactly you want to know (I hope you do not suffer from bipolar disorder). So you want to know how to configure the server?
The original question was different

On 2022-05-27 16:26, vladtreny wrote:

Nobody talks about proxy providers. We are talking about proxy
servers (e.g. squid on ubuntu). And which settings there
should/could be changed to make it 'forward' TLS fingerprint

Then you should write clearly what exactly you want to know (I hope
you do not suffer from bipolar disorder). So you want to know how to
configure the server?
The original question was different
Message ID: @.***>

You have problems with reading text, not me (how old are you? 25?). The
original question was how to use it with proxy and not with proxy
provider. Read again 10 times if you can't understand what's written or
just stop responding at all.

You have problems with reading text, not me (how old are you? 25?). The original question was how to use it with proxy and not with proxy provider. Read again 10 times if you can't understand what's written or just stop responding at all.

Lol, what difference between proxy and proxy providers?) They use the similar stacks )
From your messages, I suspect you are a complete noob. Nothing personal, just facts.
Obviously, if you want to know how to tune your own server, then just google, are you banned in google for noob scraping? lol )

On 2022-05-27 16:32, João Drummond wrote:

@AndriusCTR https://github.com/AndriusCTR and @vladtreny
https://github.com/vladtreny can you please stop using this forum as
a mean to exchange insults/discuss between you two? It doesn't add to
the open issue.
As for the TLS FP being forwarded by any proxy providers/servers, if
your proxy provider does a sort of MiM attack to sniff the https
content, the the TLS will change, as they will need to redo the
handshake themselves. But if the https is just being forwarded, the
TLS FP should keep the same.
As @lwthiker https://github.com/lwthiker mentioned, you can test the
final FP here: https://ja3er.com/json https://ja3er.com/json
—
Reply to this email directly, view it on GitHub
https://github.com/lwthiker/curl-impersonate/issues/71#issuecomment-1139623632,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHUMIDWEYDJ35XA34JHMANLVMDFHZANCNFSM5W576RIQ.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks @João. The question is regarding using your own squid proxy
(another server). Not proxy providers.

@AndriusCTR and @vladtreny can you please stop using this forum as a mean to exchange insults/discuss between you two? It doesn't add to the open issue.
As for the TLS FP being forwarded by any proxy providers/servers, if your proxy provider does a sort of MiM attack to sniff the https content, the the TLS will change, as they will need to redo the handshake themselves. But if the https is just being forwarded, the TLS FP should stay the same.
As @lwthiker mentioned, you can test the final FP here: https://ja3er.com/json

Sorry, but if person tries to insult by nationality (to which I do not belong), then what do you expect? )
But anyway, you are right, if provider sniffs  then you are ok.  These top providers does it

We are using curl-impersonate on large scale (100 requests/second) against akamai (one of the leading WAFs on the market) and it's going just fine, both in terms of headers and proxies. So I'd say curl-impersonate is working as intented and you probably have some other issues with your headers/IPs.
Bear in mind that curl-impersonate overwrites some headers (eg. User Agent), but it shouldn't be an issue for most cases and actually helps.

what platform are you using this on, linux, windows? If linux would you mind sharing how you set up your project to get these libraries to work, I'm having some issues trying to use them with mine and an example would be nice


Fix typehint return on Response decorator

Only to correct a missing @return tag in method.

Please rebase your branch to current origin master

Cherry-picked to master and merged to develop.


Created a Columns widget documentation

Fixes #751

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


Would be great if could provide a typescript .d.ts

Would you consider provide a typescript declaration file ?
I tried many methods to import it in vue+typescirpt but failed.

yes please!!

yes please!!


istio envoy dont fallback to http1.1

Issue Template
we are using istio 1.1.7 which is using envoy under the hood and we have some external tools which is using http 1.1 and not http2, we have tried to change this config via the following which doesn't help, please advice .
see istio tread
https://github.com/istio/istio/issues/14708
kind: Gateway
metadata:
  name: wgateway
  namespace: istio-system
spec:
  selector:
    istio: ingressgateway
  servers:
    - port:
        number: 443
        name: https-w
        protocol: HTTPS
      tls:
        mode: SIMPLE
        credentialName: bide-tls
      hosts:
        - istio.dev1.stv.net.tsr
    - port:
        number: 80
        name: http-wd
        protocol: HTTP
      hosts:
        - istio.dev1.stv.net.tsr
      tls:
        httpsRedirect: true

Title: One line description
Description:

Describe the issue. Please be detailed. If a feature request, please
describe the desired behavior, what scenario it enables and how it
would be used.

@mattklein123 - IMO this is a bug and not question :)

The Envoy project has no knowledge of Istio config. I would bring it up with them. If you have Envoy config that we can look at happy to do so, otherwise I don't have enough information to determine if this is a bug or not.


Logo proposal for CACHEMANAGER

Hello, I'm a graphic designer and I like to collaborate with open source projects. I would like to design a logo for your Project I will be happy to collaborate with you :)

Hi @ggabogarcia
Sorry, I didn't respond in time, totally forgot.
I have kind of a logo for the nuget packages.
If you want, sure, you can go ahead and figure something out which is more cool ;)

@MichaCo Thank you for your reply :) . I understand your responsibilities :), it's okay, I'll make some sketches and send them to you :)


Pop_OS! isn't supported anymore (0.3.1=

deb-get issue template
Thank you for taking the time to report an issue to the deb-get project 🙂

Please complete one the appropriate sections below.
Delete all the sections that do not apply, including this one.
Any issues that do not use this template will be closed.
If you're not sure what to do, or have a general question about deb-get, then ask in Wimpy's World Discord.

Requesting a new app ✨
If you are requesting a new app to be added to deb-get please complete the
following section, only one app per issue please.

[ ] I have checked that this app does not already have a pending request and has not previously been declined.
App Name:
Download URL:
Website URL:
App Summary:

Requesting a new feature 🧑💻
If you are proposing a new feature for deb-get please describe the proposed
feature with as much detail as possible here:
Reporting a bug 🐛
Please make sure the version of deb-get you are using is up to date:
deb-get update
deb-get reinstall deb-get

Expected behavior
Updating and upgrading without any issue.
Actual behavior
sudo deb-get update && sudo deb-get upgrade
  [!] ERROR! Pop!_OS Jammy is not supported because it is not derived from a supported Debian or Ubuntu release.

Steps to reproduce
open a terminal and run deb-get.
System information
Run the following a paste the output below:
/etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

/etc/lsb-release
DISTRIB_ID=Pop
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Pop!_OS 22.04 LTS"

deb-get version
[!] ERROR! Pop!_OS Jammy is not supported because it is not derived from a supported Debian or Ubuntu release.

deb-get update
[!] ERROR! Pop!_OS Jammy is not supported because it is not derived from a supported Debian or Ubuntu release.

Looks similar to #328. A solution is being worked in #343.

Yes, it is. Thanks for your work :).

What is the solution? I didn't get it to work - I'm running a fresh install Pop 22.04 and don't have deb-get installed yet.  I've tried downloading the deb package and also using the curl installation method but I am still getting the error
[!] ERROR! Pop!_OS Jammy is not supported because it is not derived from a supported Debian or Ubuntu release.

A solution is already being worked on. Please wait until it is approved, merged and released.

The issue has come back with new update: 0.3.3-1.


Do not fail remove test resources step when env var is not set.

When the deploy test resources step fails before setting the env var, the current error condition can be misleading. We
should still warn but not fail.
Example

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Error in installing "torchac_cuda" with undefined symbol:  __nvJitLinkComplete_12_4, version libnvJitLink.so.12

Issue link for torchac_cuda:-
https://github.com/LMCache/torchac_cuda/issues/1

Create fresh conda environment with python==3.12
1) conda install pytorch torchvision torchaudio pytorch-cuda=12.4 -c pytorch -c nvidia
2) https://pypi.org/project/nvidia-nvjitlink-cu12/
3) export LD_LIBRARY_PATH=/nfs/scratch/miniconda3/envs/cachepy312/lib/python3.12/site-packages/nvidia/nvjitlink/lib:$LD_LIBRARY_PATH

fixed the issue.

Hi @kzos , thanks for submitting the issue. We had the same issue before: #180
Also, we do have a plan to release a binary package to solve this problem in the future.


Loopin on change orientation

When changing orientation with open fragment. The application loops. The same fragment is started and restarted eternally.

Thanks for reporting this and the feedback!
I'm closing this issue because I cannot reproduce it in this codelab. If you still think this is an issue with the codelab, please re-open this issue with the step number and/or location in the code where you encountered this issue.
If you think that this is a problem of the Navigation Component library, please open a bug on the Navigation public issue tracker: https://issuetracker.google.com/issues/new?component=409828&template=1093757


CM6 support for codemirror-graphql

Hey there!
I was looking to add graphql support to our app which uses CodeMirror 6 and stumbled upon the codemirror-graphql package in this repo. However, it looks like that package only works for CodeMirror 5 and is therefore not compatible with CM6. I also couldn't find any alternatives that do work with CM6.
I saw that there was a way to use CM5 language packages in CM6 (e.g. the modes in this repo: https://github.com/codemirror/legacy-modes/) but only if they implement the StreamParser interface which I don't think is the case here.
Just wondering if there were any plans to add support for CM6 in the codemirror-graphql package. Happy to help out in this effort myself as well and open up a PR if this is something you guys want and no one else can pick it up.
Thanks in advanced!

;)

any support for that would be more than welcome!
i’m deep into preparing monaco-graphql for 2.0, but we have contributors and co-maintainers who  care a whole lot about codemirror-graphql, and considering they are both using the same underlying language service libraries, they will continue to improve one another

funny enough, I tried serializing the JSONSchema response from webworkers, to hand off all the parsing and simple AST/business logic to the webworker, it seemed a bit slower than in main for a fill back and forth payload.
Of course, if benchmarked it could go the opposite way for large operations with many complex variables. The JSON Schema generation is deeply recursive, so making a web worker handle the work in a way that doesn't block the main process is fabulous

Adding support for CM6 would be great. I can try to support any efforts on this but unfortunately can't commit to picking this up this week. I should be able to do so by next week though if it isn't already being implemented by then.

I've added support for the stream parser. This only handles basic syntax highlighting.

To have support for all the other features, we would need to implement a Parser class. The current parser in graphql-language-service-parser is not compatible with that class.

Amazing thank you so much! Really appreciate the swift response.
Any plans to publish that package to NPM? Even just the basic syntax highlighting would be great.

released! 🥳  thanks @imolorhe !

thanks so much! Super excited for this.
However, just to let you know I think there may have been an issue publishing the package as I'm getting a "module not found" error when I try to import from codemirror-graphql/cm6-legacy/mode.
Indeed, when I dig into node_modules, I don't see a cm6-legacy folder at the top level (there is one under esm and src however.
When I cloned the example from this repo it worked because it's pulling in the package locally here: https://github.com/graphql/graphiql/blob/main/examples/cm6-graphql-parcel/package.json#L27
However, if you replace that line with the latest version published on npm the build will fail since the module fails to resolve.
Have a repl with a minimal repro here: https://replit.com/@SergeiChestakov/cm6-gql (hosted at https://cm6-gql.sergeichestakov.repl.co/)

Right.. I was supposed to add cm6-legacy to the files list in package.json

Created PR with the fix

yes, I also plan on upgrading graphiql@1 to use codemirror@6

FYI we're using this in production now :)
You can see it in action here: https://replit.com/@SergeiChestakov/gql-example?v=1
Thanks again! 😄

Oh wow.. it was for repl.it. Nice!

FYI we also released the full codemirror 6 graphql support with autocompletion, etc. https://www.npmjs.com/package/cm6-graphql

Amazing thank you! Will give it a try 😄

@imolorhe that package doesn't work with module import. The deps required for using dist/index.js are all into the devDeps.

@imolorhe Does this new package provide error messages and auto complete based on the schema?  Difficult to understand because there are no instructions in the package.

Yes it does. Sorry I'll try to draft a README for the package soon

https://github.com/graphql/graphiql/pull/3127

@imolorhe Thanks for the quick response.  I've got something working now.
My only outstanding concern is supporting a "variable" editor.  I see in graphiql which uses code mirror 5 there is a "graphql-variable" mode.  I had a look inside this new package which support cm6 but can't see anything similar?

No there is nothing similar for codemirror 6


Add CHANGELOG

Especially important to track syntax and AST changes since the split from djot.lua.

For future reference, the changelog was added in 2721c7e1b09d8b10fcb67d83af3ffb61316d1b23.


Cnn wet dry

Add a wet/dry function using the cnn method.

[ ] Add trained cnn files to subdirectory of wet/dry

[ ] Add function for (txrx_ch_1,txrx_ch_2)-->wet/dry

[ ] Add test for wet dry classification

Reference: https://doi.org/10.5194/amt-13-3835-2020

Codecov Report

Merging #67 into v0.3alpha will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           v0.3alpha      #67   +/-   ##
==========================================
  Coverage      63.83%   63.84%
==========================================
  Files             33       33
  Lines           1601     1604    +3
==========================================
+ Hits            1022     1024    +2
- Misses           579      580    +1

Impacted Files
Coverage Δ

pycomlink/processing/quality_control/simple.py
76.47% <0.00%> (-2.11%)
:arrow_down:

pycomlink/io/csv.py
15.15% <0.00%> (ø)

pycomlink/io/cmlh5.py
68.44% <0.00%> (ø)

pycomlink/vis/maps.py
14.28% <0.00%> (ø)

pycomlink/spatial/idw.py
67.27% <0.00%> (ø)

pycomlink/core/comlink.py
63.84% <0.00%> (ø)

pycomlink/util/temporal.py
95.45% <0.00%> (ø)

pycomlink/spatial/helper.py
53.33% <0.00%> (ø)

pycomlink/spatial/coverage.py
30.00% <0.00%> (ø)

pycomlink/spatial/interpol.py
17.39% <0.00%> (ø)

... and 12 more

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 564ed6e...e2b0750. Read the comment docs.

Test is done, but not perfect. Problem is that a new version of the cnn would change the results, therefore I just check if the output length of the array is fine.

Test is done, but not perfect. Problem is that a new version of the cnn would change the results, therefore I just check if the output length of the array is fine.

This does not seem to be very robust against unexpected changes. If a new version of the CNN gets added, then the test has to be adapted, or tests for individual "versions" of the CNN might be an option.

Test is done, but not perfect. Problem is that a new version of the cnn would change the results, therefore I just check if the output length of the array is fine.

This does not seem to be very robust against unexpected changes. If a new version of the CNN gets added, then the test has to be adapted, or tests for individual "versions" of the CNN might be an option.

What could be a meaningful test then? It is also risky to update the exact expected output for every new model version that we implement.

I would test using a given example trsl time series and a "known" expected result which you have to get from running your code and checking yourself if the result makes sense. There is no way (that I know of...) to write a generic test for this sort of data processing functions. The correctness, and this is what tests are about, can only be checked by applying it to an example dataset.
The problem is that e.g. updates to your imported dependencies might change your results. You want to make sure that this is caught by a test. For a new model, you will have to update the test. Yes. But I do not see any problem with this. You commit some code for the new model, anyway, so you can also update the test then.

This should be resolved now. Although I do not test on a real TRSL time series the test should test if the model always performs the exact same numerical operations.

Tests do not run because your new dependencies are not in https://github.com/pycomlink/pycomlink/blob/v0.3alpha/.travis.yml
Just add them there, or even better, parser the dependencies from requirements.txt.

Done

Looks good!
CNN wet-dry classification in pycomlink! 🚀


RST-1911: Welsh end session bug

Change description
After entering an email address and clicking 'save and complete later', 'You have been logged out' was displayed in Welsh while the rest of the text was shown in English. This PR corrects this behaviour by redirecting to apply_path instead of root_path.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Closing and will re-open as ADO pipeline broke


Scoring State Machine

Components

Arm
Gripper
LEDs

States
In my mind, this is an uber state machine because we need to control the gripper and the arm to pick and place game pieces and convey the robot's intention through a human-machine interface.

Game piece-specific states

Grabbing cone
Grabbing cube
Scoring cone
Scoring cube

Common states

driving
aligning
deploying
recovering

Thoughts
We will also need to think carefully about how we can abort from this state machine and recover appropriately if required. If we do this, it will need to take control of driving the robot, and we want to ensure that we can give ownership back to the drivers properly without causing any long-lasting problems on the bot. We will also want to let them know when they have complete control. We definitely need to draw this one out and make a solid plan before attacking this in code. Again sensors are going to be essential to aid in these transitions so get thinking ;)

Am gonna begin writing this, we can work on the aborting code (error handling?). Though if it needs to control the arm component we need to decide on an interface for it as mentioned in #33

After discussion we have decided on these states:

Pickup Cone
Pickup Cube Ground
Pickup Cube loading bay?
Score cone
Score cube
recovery (must finish)
Each state will set the movement controllers goal and tell the arm and gripper component what to do at what times, assume the movement controller has a time_to_goal and at_goal methods.

The driver will hold a button to engage the state machine and it will work out what state to be in, have a goto_correct_state method that will do this. When the button is released put the state machine in recovery.


Using these samples does not work

I have created a simple page as follows:

<Grid RowDefinitions="*,*,*" ColumnDefinitions="*,*,*">

    <Shell Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3">
        <TabBar>
                <ShellContent Title="Tab 1" ContentTemplate="{DataTemplate views:ContentPage1}"></ShellContent>
                <ShellContent Title="Tab 2" ContentTemplate="{DataTemplate views:ContentPage2}"></ShellContent>
        </TabBar>
    </Shell>
</Grid>

When I start the app (Android) it shows the ContentPage1 and both titles.  Clicking on a title then shows nothing and even  the first tab does not show.
[Enter feedback here]

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

ID: 8b75579a-1ca4-376a-f5df-41de5c690acc
Version Independent ID: 8b75579a-1ca4-376a-f5df-41de5c690acc
Content: .NET MAUI Shell tabs - .NET MAUI
Content Source: docs/fundamentals/shell/tabs.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @sqlguy6212
You shouldn't be putting a Shell element in a Grid. Shell should always be the root element of the XAML file.


Navigate to previous URL

How can I navigate to the previous url? I have tried
keyboard [alt][left]

and storing the url in a dom_result
dom return window.location.href;

// go do stuff on another page

`dom_result`

but neither of these seems to do the trick.
In chrome visible.

report_page = url()
`report_page`

also produces the error
ERROR - [LINE 21] cannot understand step '+report_page+'

For keyboard [alt][left], need to make sure Chrome browser is in focus, so that the keyboard shortcut is sent to browser instead of other app that is in focus. This can be done by using computer vision to click on the Chrome icon on the taskbar for eg.

To use dom step to send URL back, following works for me (shows URL). See below on visiting variable URLs.

www.google.com
dom return window.location.href
echo `dom_result`

You can't visit a URL variable directly because TagUI doesn't know that variable is a URL to visit or some other TagUI steps. You can visit a URL variable by prefixing with https:// and then provide the variable truncated part without https:// -

www.google.com
dom return window.location.href
echo `dom_result`
www.yahoo.com
wait
https://`dom_result.split('https://')[1]`


Crash while running Flutter run in the terminal

flutter_10.log
Steps to Reproduce
It all started when I updated my Flutter plugin and changed its channel from stable to dev. I'm no longer able to run any Flutter program on any kind of emulator nor on a real device. In fact, running Flutter run yields to a crash every single time.
When running Flutter run in the project's terminal, I get this kind of an output
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                                 /
Oops; flutter has exited unexpectedly.                                                                                Sending crash report to Google.
Crash report sent (report ID: 2f37491f98712877)
Initializing gradle...                                                  Crash report written to C:\Users\deviceName\Desktop\project\app\flutter_10.log;
please let us know at https://github.com/flutter/flutter/issues.

The output of running flutter doctor -v
[√] Flutter (Channel dev, v1.3.9, on Microsoft Windows [Version 10.0.17134.648], locale en-US)
    • Flutter version 1.3.9 at C:\src\flutter
 • Framework revision f91df4abe1 (4 days ago), 2019-03-09 21:19:28 -0500
   • Engine revision 4e54bc93ca
   • Dart version 2.2.1 (build 2.2.1-dev.1.0 2fb6cd9f5f)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at C:\Users\deviceName\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
  • Platform android-28, build-tools 28.0.3
• ANDROID_HOME = C:\Users\deviceName\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.
[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
   • Flutter plugin version 31.3.3    • Dart plugin version 182.5124
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
[√] IntelliJ IDEA Community Edition (version 2018.3)
  • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.3
• Flutter plugin version 31.3.4
   • Dart plugin version 183.5153.38
[√] VS Code (version 1.32.1)
    • VS Code at C:\Users\deviceName\AppData\Local\Programs\Microsoft VS Code
 • Flutter extension version 2.24.0
[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)
• No issues found!
`

Flutter crash report; please file at https://github.com/flutter/flutter/issues.

## command

flutter run

## exception

ProcessException: ProcessException: Process "C:\Users\nonna\Desktop\EZYGO\app\android\gradlew.bat" exited abnormally:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
  Command: C:\Users\nonna\Desktop\EZYGO\app\android\gradlew.bat -v

@Naw-alhmw can you try the solution proposed here https://github.com/flutter/flutter/issues/17280#issue-320202856?


#59 fixed

The web app sends a list of all chat groups, yes. But only the private chat groups. Not the MAIN_PUBLIC_GROUP_CHAT, which we included in our list. This caused the "double-sub", which is why we received messages from other meetings.
Tested, that it is enough to only send the id of the new chat group. Multiple chat groups still work.

Thanks!


[Question] Is it fully compatible with Postgres, including the existing Postgres drivers for Java / PHP languages?

如题：请问下我可以使用现存的各类开发语言的Postgres的客户端驱动来对接和Postgres语法吗？

Hi @fishfree . Thanks for your interest in PolarDB for PostgreSQL.

Hi @fishfree . Thanks for your interest in PolarDB for PostgreSQL.
PolarDB for PostgreSQL is 100% compatible with PostgreSQL, including protocols between client and backend server. So you are free to use PostgreSQL client drivers and grammar.

/close


Problem with the new type of ranked?

I have a problem getting the details of the new type of ranked: TEAM_BUILDER_DRAFT_RANKED_5x5
I tried to getting the details this way:
riotClient.Match.GetMatchById(server, game.MatchId);
// Server:  RiotApiConfig.Regions.EUW
//MatchId=2505961084

the problem is "JSON serialization error".
Anyway you have a great API here, good job ;)

"$id": "1"
"Message": "An error has occurred."
"ExceptionMessage": "JSON serialization error"
"ExceptionType": "RiotApi.Net.RestClient.Helpers.RiotExceptionRaiser+RiotApiException"
"StackTrace": " en RiotApi.Net.RestClient.ApiCalls.GenericRiotCaller.MakeCallToRiotApi[T](String baseUrl, String apiCallPath) en RiotApi.Net.RestClient.ApiCalls.Match.GetMatchById(Regions region, Int64 matchId, Nullable`1 includeTimeline)