Annotations aren't allowed for enum methods

https://carc.in/#/r/4xb0
enum ModelReference
  Author
  Editor

  @[AlwaysInline]
  def key
    case value
    when 0 then "author_id"
    when 1 then "editor_id"
    else        raise "Bug: unhandled value #{value}"
    end
  end
end

# unexpected token: @[

@vladfaust no, enum is not a struct, it's a Value, Enum < Value and Struct < Value but not Enum < Struct.
Enums are just numbers with methods.

Ah, alright. So, no extended functionality for enums?

They are no structs, but annotations should work.

Why you say that enums aren't structs when
https://github.com/crystal-lang/crystal/blob/391785249f66aaf5929b787b29810aeb4af0e1e8/src/enum.cr#L89

@vladfaust well Struct < Value < Object and we have class Object. These are overridden by the compiler, it's declared as a struct even though it's not a struct.

The Enum base type is described as a struct, but in fact, it does not inherit from Struct but directly from Value.


Disable the table split feature by default

Each table partition splits a region in TiKV, this is due to:

Partition key encoding looks like a unique table.
TiKV enables the table split features by default.

These region split unintentionally. To avoid unnecessary region split, we can:

TiDB should split region actively and reliably (retry on error).
Disable the table split feature in TiKV side.

https://github.com/pingcap/tidb/issues/11950

but if we disable it, we may merge two regions of two tables sometimes. how to avoid this?

The current implementation of region merge scheduler does not merge regions from different tables.

got it.
maybe we can disable it by default.
/cc @zhangjinpeng1987

LGTM


drishti-assets @ 1.8

Improved face detection:

64x64 for speed real-time use
80x80 for accuracy

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.74


1.1.0g: test cases in ssl_old are failing on HP-UX

A make test TESTS=test_ssl_old V=1 on HP-UX 11i v3 leads to failing test cases 2-20 and 2-21:
15:10:56<PHONE_NUMBER>:error:0200F016:system library:getsockopt:Invalid argument:crypto/bio/b_sock2.c:166:
15:10:56<PHONE_NUMBER>:error:2008B086:BIO routines:BIO_listen:getting socktype:crypto/bio/b_sock2.c:167:
15:10:56<PHONE_NUMBER>:error:20087002:BIO routines:BIO_lookup:system lib:crypto/bio/b_addr.c:693:service not supported for socket type
15:10:56 Doing handshakes=1 bytes=256
15:10:56 TLSv1.2, cipher (NONE) (NONE)
15:10:56 ../../util/shlib_wrap.sh ../../test/ssltest_old -s_key keyU.ss -s_cert certU.ss -c_key keyU.ss -c_cert certU.ss -ipv4 => 1
15:10:56     not ok 20 - test TLS via IPv4
15:10:56
15:10:56     #   Failed test 'test TLS via IPv4'
15:10:56     #   at ../test/recipes/80-test_ssl_old.t line 411.
15:10:56<PHONE_NUMBER>:error:0200F016:system library:getsockopt:Invalid argument:crypto/bio/b_sock2.c:166:
15:10:56<PHONE_NUMBER>:error:2008B086:BIO routines:BIO_listen:getting socktype:crypto/bio/b_sock2.c:167:
15:10:56<PHONE_NUMBER>:error:20087002:BIO routines:BIO_lookup:system lib:crypto/bio/b_addr.c:693:service not supported for socket type
15:10:56 Doing handshakes=1 bytes=256
15:10:56 TLSv1.2, cipher (NONE) (NONE)
15:10:56 ../../util/shlib_wrap.sh ../../test/ssltest_old -s_key keyU.ss -s_cert certU.ss -c_key keyU.ss -c_cert certU.ss -ipv6 => 1
15:10:56     not ok 21 - test TLS via IPv6
15:10:56
15:10:56     #   Failed test 'test TLS via IPv6'
15:10:56     #   at ../test/recipes/80-test_ssl_old.t line 418.
15:10:56     # Looks like you failed 2 tests of 21.
15:10:56 not ok 2 - standard SSL tests

I am just logging this now and will analyze tomorrow...

Hm. Is it possible to disable these tests, from command line or environment variable?
Background: After skimming through man getsockopt and man xopen_networking on HP-UX 11i v3 I decided to try to build OpenSSL 1.1.0g using the documented "method B". I added -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API to the compiler flags. This fixes these particular test cases but breaks quite a number of other test cases. So it looks as if this might be solved already in new code and it might indeed be specific to the ssl_old test module.

Hm. Looks as if I have to remove 80-test_ssl_old.t before calling make test or is there another way?

I am closing this issue again. I will live with the incomplete test suite on HP-UX. What I do now is disabling these two test cases (sed is my friend, here) while still keeping all the rest.
For a couple of hours I have been searching for a way to compile it correctly, but it always breaks one way or the other. The order of the includes and the defines in ssltest_old.c is the most likely reason for the failure. Although I didn't go into the debugger to confirm this. My best guess is that the library build chooses the BSD sockets and - due to a #define _XOPEN_SOURCE_EXTENDED 1 - the ssltest_old build the X/Open implementation. On HP-UX there are these two implementations available. The BSD type sockets are sort of default. Which one is chosen at compile time depends on a combination of the effective macros mentioned in a previous comment. As an example, there are 5 definitions of getsocktopt() in sys/socket.h with only subtle differences, e. g. int *optlen versus socklen_t *optlen etc.
Not defining _XOPEN_SOURCE_EXTENDED in ssltest_old.c didn't change the situation, however.

But ssltest_old doesn't create socket by itself, socket are created by BIO, and in such case BIO simply has to be consistent with itself. In other words I find it hard to imagine that it would be some kind of flag mismatch when compiling library and ssltest_old...

As an example, there are 5 definitions of getsocktopt() in sys/socket.h with only subtle differences, e. g. int *optlen versus socklen_t *optlen etc.

If there is some inconsistency, then compiler ought to issue warning. We don't seem to have any warning flags in hpux targets (not even for gcc for some reason), but can you add some and see? Then those different flags should linking to different symbols, so that it would still be question of self-consistency of any given compile unit...

I added a +w to the cflags and am now sitting on 145k lines of build.log ... it seems to be "remarks" mostly, but there are a number of "warnings", too. No warnings, however, on compiling ssltest_old.c. But what escaped me so far, is that the other ssl-tests are not executed because "Unable to start up Proxy for tests". I simply just looked for failed tests. So reopening again and start digging ...

There are some warnings when compiling the test code, but nothing in the ssl tests. The BIO stuff, does have some warnings, however:
"crypto/bio/b_addr.c", line 69: warning #4232-D: conversion from "const struct sockaddr *" to a more strictly aligned type "const struct sockaddr_in *" may cause misaligned access
          ap->s_in = *(const struct sockaddr_in *)sa;
                      ^

"crypto/bio/b_addr.c", line 74: warning #4232-D: conversion from "const struct sockaddr *" to a more strictly aligned type "const struct sockaddr_in6 *" may cause misaligned access
          ap->s_in6 = *(const struct sockaddr_in6 *)sa;
                       ^

"crypto/bio/b_addr.c", line 410: warning #4232-D: conversion from "struct sockaddr *const" to a more strictly aligned type "BIO_ADDR *" may cause misaligned access
          return (BIO_ADDR *)bai->bai_addr;
                 ^

"crypto/bio/b_addr.c", line 74, procedure BIO_ADDR_make: warning #20207-D: Out of bound access (In expression "*(struct sockaddr_in6*)sa", variable "sa" [crypto/bio/b_addr.c:66] (type: struct sockaddr* ) has 16
bytes, reading byte range [0 .. 27].)

"crypto/bio/b_addr.c", line 80, procedure BIO_ADDR_make: warning #20207-D: Out of bound access (In expression "*(struct sockaddr_un*)sa", variable "sa" [crypto/bio/b_addr.c:66] (type: struct sockaddr* ) has 16 b
ytes, reading byte range [0 .. 93].)

"crypto/bio/b_sock.c", line 104: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *"
      i = getsockopt(sock, SOL_SOCKET, SO_ERROR, (void *)&j, &size);
                                                             ^

"crypto/bio/b_sock.c", line 359: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *"
                                &addr_len);
                                ^

"crypto/bio/b_sock2.c", line 164: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *"
      if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &socktype, &socktype_len) != 0
                                                           ^

"crypto/bio/b_sock2.c", line 243: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *"
                             BIO_ADDR_sockaddr_noconst(addr), &len);
                                                              ^

"crypto/bio/bss_dgram.c", line 312: warning #2167-D: argument of type "socklen_t *" is incompatible with parameter of type "int *"
                         BIO_ADDR_sockaddr_noconst(&peer), &len);
                                                           ^

... and line 164 in b_sock2.c among these warnings.

As socklen_t is used, I take it that X/Open implementation of the sockets is targeted. So the relevant part of the manual is a follows:
    Method A) Strict Compliance Method
      An X/Open conforming application is one that has all its parts
      compiled and built according to X/Open specifications.  For such
      conforming applications, this compilation method would be appropriate.

      Compilation

      UNIX 03
      Applications should ensure that the feature test macro _XOPEN_SOURCE
      is defined with the value 600.  To ensure portability, applications
      should define the macro either on the compilation command line, or at
      the beginning of each source module prior to the inclusion of any
      headers.

      For example, to compile a 64 bit object using HP ANSI Compiler:

           c99 +DD64 -D_XOPEN_SOURCE=600 -c main.c -o main.o

           c99 +DD64 -D_XOPEN_SOURCE=600 -c routines.c -o routines.o

      UNIX 95
      Applications should ensure that the feature test macros _XOPEN_SOURCE
      and _XOPEN_SOURCE_EXTENDED are defined.  To ensure portability,
      applications should define the macros either on the compilation
      command line, or at the beginning of each source module prior to the
      inclusion of any headers.

      For example, to compile a 64 bit object using HP ANSI Compiler:

           c89 +DD64 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -c main.c -o
           main.o

           c89 +DD64 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -c routines.c
           -o routines.o

      Linkage
      Link the program objects with Xnet library.

      For example:

           ld main.o routines.o -lxnet -lc -o prog

      Note if the C library is also specified in the link line, the Xnet
      library has to be specified before the C library.  Otherwise, X/Open
      Sockets calls would have been resolved to BSD Sockets functions in the
      C library instead of X/Open Sockets functions in the Xnet library.

... I'll find a fitting place for this setup and will give it a try. But its meeting time now and weekend later, so it has to wait until next week.

argument of type "socklen_t *" is incompatible with parameter of type "int *"

This is deadly in big-endian sizeof(size_t) != sizeof(int) case, such as HP-UX +DD64, and would totally explain reported failure in getsockopt. Key question is how does it happen, getsockopt should end up being declared with socklen_t * for last argument. Unfortunately I'm not in position to figure it out, but I bet that if you get rid of this warning it should work. For reference, I've been struggling with the ambiguity myself, but figured that it shouldn't be a problem with contemporary systems. On out-dated system I have access to, consistent declaration is observed with _XOPEN_SOURCE_EXTENDED, but in my case [of gcc, no vendor compiler] it gets defined somewhere without me doing anything...
[Just in case for reference. Where does size_t above come from. On HP-UX socklen_t is customarily size_t.]

I've been struggling with the ambiguity

And it's kind of coming back, the head ache that is. What HP does wrong is that they provide symbols with incompatible prototypes (like mentioned above) under same names. They are in different libraries, but since you don't have control over which library application is linked with, there is always a risk that you hit wrong one. Unless you do some controversial stuff like in 1.0.2 with union with size_t and int. Well, it works out in 32-bit, it's disaster only on 64-bit. And one can make shared library consistent with itself, but shared is not the only option we [try to] support.
Stuff in 1.0.2 is pretty old, and one can wonder how does it look now. The HP-UX system I have access to is quite out-dated, so it might be not representative, but here is what I see there. libc exports getsockopt that expects int * and _xpg_getsockopt that expects size_t *, while libxnet exports getsockopt what expects size_t *. This actually means that given the presented warning you should be able to resolve the problem by simply adding -lxnet. And as far as I can see if you specify -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API, then it will start using _xpg symbols, but then you don't have to link with -lxnet.

Right, because they define a set of wrapper functions for this case. They call it "Method B", because it should provide some sort of forward compatibility (whatever that means). This method fixes the ssltest_old cases and executes all newer socket using test cases, but quite a number of them do fail then. I'll check this and report back here next week.

To clarify. "what I see [on HP-UX system I have access to]" and "you should be able to resolve" actually means that I managed to reproduce the problem and resolve conundrum by adding either -lxnet or macro definitions. And "resolve conundrum" means that I can confirm that whole 'make test' passes(*), it's not like if test_ssl_old works, then something else breaks. And I find it hard to imagine a reason for why your experience would be different(**). Is it possible that you didn't 'make clean' between tries?
(*) Well, test_pkcs12 fails, but that's because shell involved in launching apps/openssl seems to mangle utf-8 string passed as argument from perl. If I execute the command manually, it does work. If it fails even for you, i.e. on more up-to-date system, then it might be appropriate to suppress the test on HP-UX.
(**) Though let's keep in mind that I don't have access to vendor compiler, only gcc, and as already mentioned _XOPEN_SOURCE _XOPEN_SOURCE_EXTENDED get defined somehow without me doing anything.

Basically the question is whether or not you can confirm that configuring with additional -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_HPUX_ALT_XOPEN_SOCKET_API does the trick.

I see, will have a look after the Easter holidays...

Here we go ...

I added the three flags to the shared_cflag
the above mentioned warnings in b_sock.c, b_sock2.c and bss_dgram.c are gone
the warnings in b_addr.c do persist
the tests build without warnings and the ssl_old test succeeds
the following tests are failing now (they were among the skipped tests previously):

Test Summary Report
-------------------
../test/recipes/70-test_sslcbcpadding.t  (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_sslcertstatus.t  (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_sslextension.t   (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_sslrecords.t     (Wstat: 1280 Tests: 11 Failed: 5)
  Failed tests:  1-3, 5, 7
  Non-zero exit status: 5
../test/recipes/70-test_sslsessiontick.t (Wstat: 1024 Tests: 10 Failed: 4)
  Failed tests:  1-3, 6
  Non-zero exit status: 4
../test/recipes/70-test_sslvertol.t      (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
../test/recipes/70-test_tlsextms.t       (Wstat: 1280 Tests: 9 Failed: 5)
  Failed tests:  1-4, 6
  Non-zero exit status: 5
Files=95, Tests=543, 490 wallclock secs ( 0.73 usr  0.29 sys + 454.07 cusr 28.49 csys = 483.58 CPU)
Result: FAIL
*** Error exit code 1

make test TESTS=test_sslcbcpadding V=1

the warnings in b_addr.c do persist

This is expected. The only way to resolve them would be to replace assignments with memcpy. But let's figure out configuration issues first.

The output is quite large, I'll redirect it into a log file and attach it ...

The log as text file:
test-sslcbcpadding.txt

Well, I don't see any warning that would be worthy to address. Some of code that triggers warning is intentional (we have static conditions that always false on some platforms or always true on others, conscious choice), some warnings are false positives (for example some of potential null dereference warnings after if (!ptr)), some warnings are already addressed in master...
Then there is a bunch or remarks. Some overlap with warnings in VC-WIN64 builds and trouble there is that not all of them can be resolved without breaking binary compatibility. In other words they are consciously ignored for now, with intention to revisit them when time is right. (But it's not that bad as it sounds, because we run sanitizers and fuzzing, which work as indication that warnings don't cause harm in practical situations). Another bunch of remarks is also result of conscious choice, choice of how command line options are handled in apps/*... Another bunch of remarks is about padding in structures. Yeah, it can be meaningful to rearrange some structures, but it's kind of a too big overhaul. Another bunch is about unused subroutine parameters. Some are false positives...
On related note, our normal workflow is to work in first hand on master and backport stuff to lower branches. If applicable or deemed appropriate. So that formally speaking we'd appreciate build log for master branch more. And as already mentioned elsewhere, I'd actually suggest to aim for 1.1.1. I mean it sounds like you are in process of migration from 1.0.2 (otherwise socket-related errors would be reported earlier), and since it's not over-night process, you probably can aim straight for 1.1.1.

I'm closing this. Real issues with fatal prototype mismatch are addressed. There will be some [possibly intermittent] errors in 1.1.0 in 70 range. It's suggested to ignore them and consider moving on to 1.1.1.

I see, thanks for your help!


SA1013 should not warn when pattern case

private static void M(InvocationExpressionSyntax invocation)
{
    switch (invocation)
    {
        case { Expression: MemberAccessExpressionSyntax { Expression: { } expression } }:
            break;
    }
}

https://github.com/dotnet/roslyn/issues/39683#issuecomment-549598612


Add a data migration to encrypt existing records

Any record that was stored in the database prior to the addition of
encryption still has sensitive values in plain text.
This data migration runs on all unencrypted records and performs the
encryption to change them.
The encrypt method updates all fields on a record marked for
encryption. It doesn't modify any timestamps, so the updated_at field
can still be relied on to represent the last user update.
I considered only encrypting records that hadn't been encrypted yet.
Either by checking the encryption status of all the required fields or
by using a timestamp of when we deployed the change.
Given the volume of records we have is low and the chances of missing
some data with whatever approach we take is non-zero, it seems safest to
simply encrypt every record in the DB. Fields that are already encrypted
will be re-encrypted.
The cost of this is that it extends the running time of the migration.
I believe this is an acceptable cost for the certainty that all records
have been encrypted correctly.
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Identity support UI


Removing dead link

Hey @yannbertrand,
just removing a dead link to the "Sentim-API"...
Cheers!

#1255 It's back up!

Ah good.


sw-precaching > README > add code snippets for all public methods

Library Affected:
sw-precaching
Browser & Platform:
All browsers
Issue or Feature Request Description:
A few of our public methods currently include a code snippet, but others reference the source implementation without providing one. If a public method is meant to be used, we could try to include a usage snippet so it's clear how to use it on it's own.

It would similarly be great if we could as much as possible make snippets complete. One example is the RevisionedCacheManager. We show examples of how to use an existing instance of RevisionedCacheManager but not how to create one or what the defaults for it are.
e.g https://github.com/GoogleChrome/sw-helpers/tree/master/packages/sw-precaching#cache-1

I've collapsed this in #164


Use release profile and omit unnecessary check

@Isaac-DeFrain I need help on this. Are the unit tests passing because they are incorrect? I think so. The alternative is that the Rust compiler generates incorrect code when using the 'release' profile, which I think unlikely.


Question about the relation between  --max_input_len  --max_output_len at building time and input_output_len at benchmark .

System Info
NVIDIA H20 97871MiB * 8
trt-llm 0.9.0
Who can help?
No response
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
Model: Llama2-70b-chat-hf  ; 8 GPU 1 node
python3 convert_checkpoint.py --model_dir /TensorRT-LLM/Llama2-70b-chat-hf \
                             --output_dir /TensorRT-LLM/examples/llama70b/tllm_checkpoint_8gpu_tp8 \
                             --dtype float16 \
                             --tp_size 8

trtllm-build --checkpoint_dir /TensorRT-LLM/examples/llama70b/tllm_checkpoint_8gpu_tp8 \
            --output_dir /TensorRT-LLM/examples/llama/tmp/llama/70B/trt_engines/fp16/8gpu_tp8 \
            --gemm_plugin float16 \
            --max_batch_size 16 \
            --max_input_len=4009 \
            --max_output_len=4009

mpirun -n 8 --allow-run-as-root \
python3  /TensorRT-LLM/benchmarks/python/benchmark.py \
    --model llama_70b \
    --mode plugin \
    --batch_size "1;4;8;16" \
    --csv \
    --engine_dir /TensorRT-LLM/examples/llama/tmp/llama/70B/trt_engines/fp16/8gpu_tp8 \
    --input_output_len "2048,2048"

Here when calling trtllm-build I set  --max_input_len=4009 \            --max_output_len=4009 ，but there is a bug when calling /TensorRT-LLM/benchmarks/python/benchmark.py with  --input_output_len "2048,2048" ：

Traceback (most recent call last):
  File "/TensorRT-LLM/benchmarks/python/benchmark.py", line 412, in <module>
    main(args)
  File "/TensorRT-LLM/benchmarks/python/benchmark.py", line 371, in main
    e.with_traceback())
TypeError: BaseException.with_traceback() takes exactly one argument (0 given)
[04/26/2024-04:57:33] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2991] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2991, condition: allInputDimensionsSpecified(routine) )
[04/26/2024-04:57:33] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2991] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2991, condition: allInputDimensionsSpecified(routine) )
Traceback (most recent call last):
  File "/TensorRT-LLM/benchmarks/python/benchmark.py", line 346, in main
    benchmarker.run(inputs, config)
  File "/TensorRT-LLM/benchmarks/python/gpt_benchmark.py", line 220, in run
    self.decoder.decode_batch(inputs[0],
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2803, in decode_batch
    return self.decode(input_ids,
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 789, in wrapper
    ret = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2993, in decode
    return self.decode_regular(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2642, in decode_regular
    should_stop, next_step_tensors, tasks, context_lengths, host_context_lengths, attention_mask, context_logits, generation_logits, encoder_input_lengths = self.handle_per_step(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2334, in handle_per_step
    raise RuntimeError(f"Executing TRT engine failed step={step}!")
RuntimeError: Executing TRT engine failed step=0!

Actually the pre-defined 4009 is greater than 2048 , so why this bug occurs?
I tried "2048,128" and it works but "2048,2048" fails.
What is the relationship between max_input_len max_output_len  and input_output_len ?
Expected behavior
No bug
actual behavior
bug
additional notes
What is the relationship between max_input_len max_output_len  and input_output_len ?

same error......

same error and only occurs when batch=16

Hi, we've removed max_output_len in the latest version, and the relation between those parameters are described here.
Please let me know if that does not address your questions, thanks very much.


Update to py 3.11, performance improvements, ESP USB camera improvement

I bumped up python version
Fixed a thing in camera.py that makes ESP serial cams connect on first app launch instead of requiring app restart
Tuned the One Euro Filter parameters (a lot more stable now)
Fixed pysimple gui setting to acheive ~4% better CPU usage

ELROND
(looking at the agenda scroll)
We have convened here today to address a matter of utmost urgency. A request has been made to merge a pull request into the repository of ProjectBabble, an open-source initiative for mouth tracking in virtual reality.
GANDALF
(raising an eyebrow)
ProjectBabble? An intriguing name, but what significance does it hold for the fate of Middle-earth?
LEGOLAS
(smirking)
Perhaps it aids in tracking the orcs' chattering in the dark corners of Mordor.
GIMLI
(disgruntled)
Orc chatter or not, we must consider the pull request seriously. We cannot dismiss technological advancements in these dire times.
ARAGORN
(nodding)
Indeed, Gimli. Let us hear the details of the pull request.
Elrond gestures to a representative from the realm of Men, who steps forward to present the request.
MEN REPRESENTATIVE
(clearing throat)
My lords and ladies, esteemed members of the council, we present to you a pull request for ProjectBabble. This contribution enhances the accuracy and efficiency of mouth tracking in virtual reality, ensuring a more immersive experience for users.
The council members exchange glances, intrigued but skeptical.
GANDALF
(squinting)
How can we be certain that this enhancement will not fall into the wrong hands? The power to track mouths in the virtual realm is not to be taken lightly.
MEN REPRESENTATIVE
(resolute)
Fear not, Gandalf. The code has been scrutinized by our finest developers, and the pull request comes from a trusted source. We believe this improvement will serve the Free Peoples well.
The council deliberates, discussing the potential risks and benefits of the pull request. The tension in the room builds as opinions clash.
ELROND
(raising his hand)
Enough! We must decide. All in favor of accepting the pull request for ProjectBabble, say "Aye."
The council members, one by one, express their opinions.
ARAGORN
Aye.
LEGOLAS
Aye.
GIMLI
Aye.
GANDALF
Aye.
The majority of the council votes in favor. Elrond nods approvingly.
ELROND
The pull request for ProjectBabble is accepted. May it serve the Free Peoples well in our quest for a more immersive virtual reality.


What about CLI tools that have a set of commands

This API and other CLI apis seem to be very focused on options (switches) and supporting their associated arguments.  However, what about command line tools that have a preset list of documented commands.  Take for instance a command like "minikube".  Minikube has a definitive and enumerated list of commands it can perform.
minikube [start|stop|status|version|ssh] to name a few. It also has a bunch of options and it also has the notion of "minikube start --help".
I'm not seeing examples on how to support this command line style in this API (I looked at args4j too).  Both CLI APIs appear to focus on the "options" problems, but what about those tools that have a fixed enumeration of commands.

Here is the help of minikube that I would like to pattern a tool from using the jopt-simple API.  Its this pattern possible with this API?  Is there an example in examples that addresses this pattern?:
Example usage help text.

minikube
Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.

Usage:
minikube [command]
Available Commands:
addons           Modify minikube's kubernetes addons
config           Modify minikube config
dashboard        Opens/displays the kubernetes dashboard URL for your local cluster
delete           Deletes a local kubernetes cluster.
docker-env       sets up docker env variables; similar to '$(docker-machine env)'
get-k8s-versions Gets the list of available kubernetes versions available for minikube.
ip               Retrieve the IP address of the running cluster.
logs             Gets the logs of the running localkube instance, used for debugging minikube, not user code.
service          Gets the kubernetes URL for the specified service in your local cluster
ssh              Log into or run a command on a machine with SSH; similar to 'docker-machine ssh'
start            Starts a local kubernetes cluster.
status           Gets the status of a local kubernetes cluster.
stop             Stops a running local kubernetes cluster.
version          Print the version of minikube.
Flags:
--alsologtostderr value         log to standard error as well as files
-h, --help                          help for minikube
--log_backtrace_at value        when logging hits line file:N, emit a stack trace (default :0)
--log_dir value                 If non-empty, write log files in this directory
--logtostderr value             log to standard error instead of files
--show-libmachine-logs          Whether or not to show logs from libmachine.
--stderrthreshold value         logs at or above this threshold go to stderr (default 2)
--test.bench value              regular expression per path component to select benchmarks to run
--test.benchmem value           print memory allocations for benchmarks
--test.benchtime value          approximate run time for each benchmark (default 1s)
--test.blockprofile value       write a goroutine blocking profile to the named file after execution
--test.blockprofilerate value   if >= 0, calls runtime.SetBlockProfileRate() (default 1)
--test.count n                  run tests and benchmarks n times (default 1)
--test.coverprofile value       write a coverage profile to the named file after execution
--test.cpu value                comma-separated list of number of CPUs to use for each test
--test.cpuprofile value         write a cpu profile to the named file during execution
--test.memprofile value         write a memory profile to the named file after execution
--test.memprofilerate value     if >=0, sets runtime.MemProfileRate
--test.outputdir value          directory in which to write profiles
--test.parallel value           maximum test parallelism (default 8)
--test.run value                regular expression to select tests and examples to run
--test.short value              run smaller test suite to save time
--test.timeout value            if positive, sets an aggregate time limit for all tests (default 0s)
--test.trace value              write an execution trace to the named file after execution
--test.v value                  verbose: print additional output
-v, --v value                       log level for V logs
--vmodule value                 comma-separated list of pattern=N settings for file-filtered logging
Use "minikube [command] --help" for more information about a command.

@javajon Agreed, I'd like to make subcommands simple. I haven't landed on an approach that I like, nor have I been able to spend many cycles on JOpt Simple lately. I'm open to proposals for API to support subcommands.

See also #102.


Automate lightweight tests

Provide CI automated capabilites to the tests introduced in #103.
Requirements

Docker image with rg, tflint, terraform, terraform-index and other needed tools
.travis.yml or other CI build pipeline spec, running the scripts in order:

tfinit
tflint
undeclared-variables
textual-search

@kerscher, is there a reason we should run on travis and not gitlab?

Not in my opinion, no. We have talked elsewhere about this, but here are the tradeoffs:
Travis

Has a hard limit on timeouts
Provides public badge

Gitlab

Integrated with rest of our tools
No public badge — but could be added?
Easier to add “deep” tests with AWS APIs later due to secrets management


Company detail not showing in personal page

After I save the data with all empty for enterprise... I don't have option to add company details in drawer later...

@bibash28
Company details fields is accessible for enterprise user not personal user


HDDS-11694. Safemode Improvement: Introduce factory class to create safemode rules.

What changes were proposed in this pull request?
Safemode Improvement: Introduce factory class to create safemode rules.
Currently, the SafeModeRule creation is tightly coupled within SafeModeManager. This can be decoupled with the introduction of Factory Class for Rule creation.
This will help us in implementing annotation based rule loading in future.
What is the link to the Apache JIRA
HDDS-11694
How was this patch tested?
Additional unit tests added to verify the Factory class behaviour.

Thanks @nandakumar131 for the patch.  Please enable the build-branch workflow in your fork.

@adoroszlai, I have enabled build-branch workflow in my fork.

Looks like there's still pending TODOs in the code. Should this be a draft PR?

Thanks @errose28 for taking a look at this.
The motivation here is to simplify and modularize the SafeMode code in SCM, as it got complex and messy over time.
As I started making changes, I realised that it will be hard for someone to review the whole change in a single PR.
So, I'm breaking it into multiple (easy to understand and review) Jiras/PRs. The whole task is tracked under the parent Jira HDDS-11693.
The TODO is added here to give hint to the reviewer that this code will be optimized/modified in the follow-up Jiras/PRs.

Got it. Could you add Jira IDs to the TODOs so it is easier to track? Untracked TODO messages tend to get missed and become permanent parts of the code base 😄

@errose28 , updated the Jira IDs to the TODOs.

Thanks @nandakumar131 for the patch, @ChenSammi, @errose28 for the review.

Thanks @adoroszlai, @ChenSammi & @errose28!


Remove superfluous junk from README

I think the Comments and interfaces.rtype chapters could be removed as well. The latter would require at least one IDE to support syntax coloring: it's too early.
cf

At the moment you can use this file for documenting your project. But we’re soon rolling out analysis tools for rtype. In the future they will be able to import the file and use your definitions for static type analysis.

Let's do that in a separate PR.


Picking UserStore Type in UI as LDAP even it is a JDBC secondary JDBC user store - IS 5.11.0

Describe the issue:

When migrating from IS 5.3.0 to IS 5.11.0, we can copy the JDBC secondary user store file from old to new environment and use it. In old version JDBC userstore class is "org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager" and IS 5.11.0 is using "org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager".
If we copied that old JDBC secondary user store manager XML file in the IS 5.11.0, it is deploying successfully. However, if we update this through the UI, it failed to deploy and throw the below error.
[2021-06-20 20:05:12,089] [] ERROR {org.wso2.carbon.user.core.config.XMLProcessorUtils} - Required mandatory property ConnectionURL is not defined!
[2021-06-20 20:05:12,089] [] DEBUG {org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor} - Error while building user store manager from file org.wso2.carbon.user.core.UserStoreException: A required mandatory field is missing.
	at org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfiguration(UserStoreConfigXMLProcessor.java:178)
DEBUG {org.wso2.carbon.user.core.common.UserStoreDeploymentManager} - The deployment of test.xml is not valid. org.wso2.carbon.user.core.UserStoreException: Error while building user store manager from file
	at org.wso2.carbon.user.core.config.UserStoreConfigXMLProcessor.buildUserStoreConfigurationFromFile(UserStoreConfigXMLProcessor.java:148)
:
Caused by: org.wso2.carbon.user.core.UserStoreException: A required mandatory field is missing.

Reason is, in IS 5.11.0 doesn’t exist that "org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager" in the user store type list and by default it is picking the "org.wso2.carbon.user.core.ldap.UniqueIDReadOnlyLDAPUserStoreManager". Therefore the user store XML also update with that value and above error has thrown.
How to reproduce:

copy a JDBC secondary user store file that used "org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager" to the IS 5.11.0 pack.
Start the server
Go to the carbon console and try to edit the secondary user store and update it.
Then the error will recreate.

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

We can use the below config to mitigate this.
[user_store_mgt]
allowed_user_stores = [
	"org.wso2.carbon.user.core.jdbc.UniqueIDJDBCUserStoreManager",
	"org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager",
	"org.wso2.carbon.user.core.ldap.UniqueIDActiveDirectoryUserStoreManager",
	"org.wso2.carbon.user.core.ldap.UniqueIDReadOnlyLDAPUserStoreManager",
	"org.wso2.carbon.user.core.ldap.UniqueIDReadWriteLDAPUserStoreManager"
]


Add Guide Page for Git Hosting

Replaced the stub with basic instructions to get started with setting up github pages.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


DOC - add example to RegularGridInterpolator

I just posted an example of RegularGridInterpolator on stackoverflow this morning, and then it occurred to me that it would be nice to have a similar example usage in the docs.
(Before accepting this PR, someone should please check that it builds properly with the doc-generator and that it passes doctests if applicable. Sorry that I am not doing that myself ... it seems complicated to set up. :-P)

OK, I have now gotten rid of the for loops.

It will build with the minor changes I commented on. We don't run doctests for scipy, so no worries about those.

Thanks! I just added another commit trying to follow all your good suggestions.

Squashed and merged in commit 25e741e. Thanks @sbyrnes321!


INTERNAL ERROR: Cannot read property 'fileNames' of undefined

Current behavior
INTERNAL ERROR: Cannot read property 'fileNames' of undefined when use fork-ts-checker-webpack-plugin instead of build-in TypeScript type checker
Expected behavior
No this error
Steps to reproduce the issue

I'll share to you my project during this issue is being opened. Please clone or download it.
In project directory, execute npm i && npm run developmentBuild. Once dependencies will be installed, webpack build will start.
You will see INTERNAL ERROR: Cannot read property 'fileNames' of undefined in your console.

Make sure that this error will not occur without your plugin. Comment out line 48 (transpileOnly: true), and also rows 73-76 in webpack.config.js.

Re-run  npm run developmentBuild. This time console will be clean:

If make somewhere the mistake intentionally, (e. g. write const a;) and save the file, you will see the errors casted by build-in TypeScript type checker:

Environment

fork-ts-checker-webpack-plugin: 1.6.0 (newest)
typescript: 3.6.3
tslint: 5.20.0 (but it is not integrated in webpack config, just for IDE highlight)
webpack: 4.40.2
os: Windows 10 Pro

Thanks for the repo. It's quite large and so that doesn't make diagnosis easy. Would you be able to confirm if your issue presents with<EMAIL_ADDRESS>? I'm curious as to whether there's a regression or if this might be user error

Thank you for the quick response.
Unfortunately, nothing changed with<EMAIL_ADDRESS>.

It's quite large and so that doesn't make diagnosis easy.
This bug occurred in my other smaller project. You can use this project to investigations instead. The npm command is long, so please use copy-paste to execute it:

npm run SourceCodeCompilingAndBunding:DevelopmentBuild

Okay, this took me too long to debug. No it's not a bug.
In your webpack config, you have to set the whole path to the tsconfig, including the filename, not just the folder:
 new ForkTsCheckerWebpackPlugin({
          tsconfig: Path.resolve(__dirname)
        })

this is wrong.

@phryneas,
You right, my mistake. Thank you for the investigation.
Well, this is not a bug, but could I call it "non-accurate error message"?
Could you please to determine the error like this in the future and output the error "The path to tsconfig.json is incorrect"?


Views disappears or not count

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
Hey,
Sometimes views not count or YouTube takes the views and watchtime back. Why this is happening ? I have used premium proxys but it didn't work too.
Any soloution ?
Environment
- OS :
- Python :
- Script version :

config.json
-

How can I say without seeing your config.json and without knowing if you have followed the best guideline mentioned in the readme. Also if you used rotating proxy whether correctly or not.

thats my config
{     "http_api": {         "enabled": true,         "host": "<IP_ADDRESS>",         "port": 5000     },     "database": true,     "views": 1000,     "minimum": 85.0,     "maximum": 95.0,     "proxy": {         "category": "f",         "proxy_type": false,         "filename": "GoodProxy",         "authentication": false,         "proxy_api": false,         "refresh": 0.0     },     "background": false,     "bandwidth": false,     "playback_speed": 1,     "max_threads": 10,     "min_threads": 5 }

yeah i switched it now because it didnt worked for me. but before it was "category":"p"

so your proxies have username and password and you bought those from where?

no verification is over ip. i tried proxyscrape but i have also used your prefer IpRoyal. its nearly always the same. first the views getting count on yt but yt takes it back after hours. should i turn monetization off ? i dont know.

Okay then you are using iproyal proxies in the wrong way. Maybe you set the TTL or you didn't set at all . Send me details of your proxy settings and how you are using it in details to my mail.


adding config load confirmation and throw runtime exception if unable…

… to load configuration.

will be sending another pull req.


Compile .sass and .scss out of the box

The library only compiles app.scss files by default. However, the documentation says it compiles both app.scss and app.sass. This PR adds support to compile both of them by default.

Thanks for the PR, but I'm afraid we used to do this and ended up pulling it out because it's incompatible with the use case where an addon is using ember-cli-sass. We all decided that simply specifying extension was the way to go. This may have already been fixed in ember-cli, so feel free to check if this works in an addon and reopen this PR.

In that case we should update this part of README. Here's the PR. Thanks.


Slow preview command with PowerShell on Linux

[ x] I have read through the manual page (man fzf)
[ x] I have the latest version of fzf
[ x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish
[x] pwsh

Problem / Steps to reproduce
fzf --preview 'echo {}'

You will see a delay of about three seconds for the preview window to update. This is because fzf runs $Env:SHELL -c <preview-command> which is very expensive for PowerShell. As a workaround, one can unset the environment variable.
On Windows PowerShell does not set $Env:SHELL , so there is no delay.
Is there a rationale why fzf by default forks a new shell to run preview command instead of running the command by itself - which seems to be the default if $Env:SHELL is unset?

Similar problem, if I have pwsh set as my default shell, and run fzf.vim commands, I get an error message by default, since it cannot execute preview.sh in PowerShell for some reason, even though from pwsh I can execute it without any issues directly.


Lagrange freezes when opening an new URL while it's loading

Hi,
I'm using Lagrange 1.5.2 on OpenBSD amd64, I found  a bug I can trigger reliably.
If you open a new URL in the current tab while Lagrange is loading, it will freeze. This is reproducible by clicking on bookmarks twice or different bookmarks quickly. It also works with "subscribed bookmarks" panel or even using the URL input (you need some dexterity skill to trigger using this way).
Lagrange requires a kill -9 to completely stops otherwise the window can be destroyed with xkill but a lagrange process will stay opened without a GUI associated.

Sounds like one of the network request threads get stuck. I'll need to try to reproduce this in a VM; at least macOS does not have this issue.

I've been able to reproduce the issue on Linux but it unstuck itself after some time between 5 or 10 seconds (approximately), it doesn't use unusual CPU while stuck.
I tried again on OpenBSD but I waited, however it stays stuck forever.

This commit may or may not affect this issue.

Status update: I haven't been able to reproduce this on any OS, but I haven't tried on OpenBSD yet.

I tried to import the commit on my 1.5.2 build and it didn't change the behavior.
I can reproduce the issue on Linux but it's harder, I had to click a lot between different bookmarks to get it broken.
As OpenBSD is slower in syscall execution, there may be a race condition somewhere that is much more noticeable on OpenBSD because it's based on time, so on Linux except if you really click too much you don't notice it while on OpenBSD I trigger it very often when changing from bookmark to bookmark.

there may be a race condition somewhere

I tried this in OpenBSD 6.9 in the virtual machine, but the overall X11 performance was so bad that race conditions might've been resolved by that. Could not reproduce any hangs.

Please test if https://github.com/skyjake/lagrange/releases/tag/v1.6.3 and see if this freezing still occurs.

I can still reproduce the bug on 1.6.3 on OpenBSD (development version, future 7.0) amd64

Thanks. I'll keep trying to repro...

I am now able to reproduce this bug. VMs weren’t helpful, but I installed OpenBSD 6.9 on an external drive and am now running it on real hardware.
Let’s see if I can figure out what’s going wrong here…

I believe I've found and fixed this bug (still running OpenBSD 6.9). The app would freeze because it was waiting for a thread to exit that had already been stopped and joined before. The fix in the dev branch (well, in the updated the_Foundation submodule).
Thanks to this foray into OpenBSD, I also discovered and fixed two other issues:

Crash when clicking on sidebar items due to accessing invalidated pointers.
A race condition that caused TLS request to wait indefinitely for data to arrive when some was already sitting in the incoming buffer.

v1.6.4 is out, hopefully fixing this.

I confirm the bug is fixed! Thank you very much.


Clicking in Datepicker will automatically reset to todays date

When populating the value of the datepicker with lets say a date in a past.
Click the date value cell, then
This will default to todays date.
We want this to keep the date in the cell without resetting to todays date.
Also clearing the datepicker has no effect.  We want this to remove the date set it to empty string.

I was able to get around this issue by using autoUpdateInput: false.  Then by setting the datepicker to val('')


add github-sync scripts for GitHub management

Summary

The Infrastructure WG first task is setting up GitHub management (membership, teams, repositories).
This PR leverages https://github.com/cpanato/pulumi-github-sync to setup an automation enabling GitHub management through a PR workflow.
Ticket Link

Part of https://github.com/sigstore/community/issues/53
Release Note

NONE

Still to complete:

[x] add a pre-check for sorted YAML entries
[ ] setup Pulumi stack

@endorama i will rebase your PR to move forward, hope you dont mind :)


tls: add the missing wrapper around SlotImpl allocation.

Description: Add Wrapper around newly allocated SlotImpl.
This was missed in PR 8135. Which means newly created TLS are deallocated in the old way( destructed on owner destruction possible race, but the race window is really small, see issue #7902 )
Risk Level: Medium
Testing: N/A
Docs Changes:  N/A
Release Notes: N/A

/assign htuch

Please add a test that covers whatever bug this is. Thank you!
/wait

/nostale
Sorry, this is on my radar. I have some cycles now, still adding test.

/assign mattklein123
Have to add the test as a friend.
PTAL.

thx!


Allow SRE to delete VirtualServices and Gateways

Spoke to Chris about this and we'll probably want to get a few more approvals than is normally required, but should be sound. SREs can already delete Service resources and these should live in git too.

This requires an ADR to supersede ADR032 (and probably a brief chat with IA) but overall is a good idea 👍

Also mentioned today was the CRDs for Metadata and CertificateRequest if we don't have them already

Those are Verify things rather than Istio, would do those separately. Not sure we want to introduce Verify references in this repo.

Can you link the ADR from the README in the directory

Also, can you edit the status of ADR032 to something like "superseded by ADR038"

I have linked it, and it's not really superseded. This is like an addition.

I think it's worth noting in the old ADR that stuff has changed since, and at least linking to the new ADR from it. Maybe Accepted, subsequently amended by ADR038?  I just want it to be clear for someone reading the ADRs later how to find what the current state of the world is.

sure


Team members and project link

Please follow the link to our project (Kanban board): https://github.com/SergSkol/space-travel/projects/1
There are 2 people in our team:

SergSkol (Sergiy Shkolnik)
Alabi12 (Robert O.Alabi)

STATUS: INVALID CODE REVIEW REQUEST 🛑 🛑
Hi @SergSkol and @Alabi12,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You are required to provide the link to the Kanban board, instead of your repo
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

It's done, thank you!

Hi Team  ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

your kanban is ready ✔

Good job implementing the requirements  :+1: Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional Suggestions  :

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


[esri.core.Promise] DEPRECATED: then() -- use .when(callback, errback) instead

Since v.3.1.0, I'm getting a bunch of these console errors:
[esri.core.Promise] DEPRECATED: then() -- use .when(callback, errback) instead
This happens even when just rendering a map component and the error gets spammed over and over when implementing a promise. When I revert the package to version 3.0.0, it is fine and the error doesn't occur at all.
BTW - Thanks for the package though! It's great :)

Okay it seems like some things internal the the JS API are using .then despite it being deprecated, so the warning gets logged regardless of what you do from outside of the API.
The way to disable this warning message is to add the following to your dojoConfig:
has: {
  “esri-promise-compatibility-deprecation-warnings”: 0
}

You can do this by invoking esriPromise() with this option set before your first react-arcgis component is mounted.
Here is an example entrypoint to your application:
import React from 'react';
import ReactDOM from 'react-dom';
import TestComponent from './testComponent';
import { esriPromise } from 'react-arcgis';

const config = {
  dojoConfig: {
    has: {
      "esri-promise-compatibility-deprecation-warnings": 0
    }
  }
};

esriPromise([], config).then(() => {
  ReactDOM.render(
    <TestComponent />,
    document.getElementById('react-container')
  );
});

Going to close this since it's not really an issue with the react-arcgis library.

@nicksenger , the code you suggested above didn't work for me. However, adding the following to my index.html silenced the deprecation warnings:
<script>   var dojoConfig = {     has: {       "esri-promise-compatibility": 1     }   }; </script>
Add the above before referencing arcgis . . .
`
 `
I found this info in the following posting: ArcGIS Making Better Promises
I think you are correct that the offending code is somewhere within the arcgis JS API.
Thanks for creating react-arcgis!


ProxyHandler causes excessive hostname resolution

ProxyHandler expects the connect to be performed against the target remote address so it can buffer it to compute the CONNECT request and propagate the connect event with he proxy address.
This logic is broken as:

it causes Bootstrap#connect to resolve the remote address, which is completely useless
in some cases, only the proxy itself is capable of resolving the target address, not the client host

The current ProxyHandler's logic is just not compatible with Bootstrap's one (always trying to resolve connect address).
@normanmaurer Any idea?

OK, so the trick is to force a NoopAddressResolverGroup on the Bootstrap so it doesn't try to resolve the remoteAddress. Sorry for the noise.


[Bug] Inline Parentheses/Brackets Syntax Doesn't Work in Tables

What happened?
When using either parentheses (key:: value) or brackets [key:: value] in a table, neither load the styling. It just displays as regular text.

DQL
||
---|---|
Table Row | (Table:: Testing)
Table Row | [Table:: Testing]
(Table:: Testing)
[Table:: Testing]
JS
No response
Dataview Version
0.4.21
Obsidian Version
0.13.4
OS
Windows

Ah, this is because I only search in paragraphs and spans currently; I should probably figure out a safe way to search in all text, but for now I'll add tables as well.


Patch w/ instructions to find updated IDs

This is a working patch as of 6/29/2018.
Also includes instructions if the extension is broken again due to mismatching IDs and you need to find them. Hope they are clear enough for anyone else!

@Kalaborative , thanks for your contribution. But changing id again and again is kind of cat and mouse game.
https://github.com/reuke/surviv.io-cheat/commit/f80e85098ee0210c32c481a055f544e25b3ae6bf introduce the early version of automatic detection of desired IDs.
So i have to reject this pull request.

That's even better thanks. I was hoping we wouldn't have to keep doing that. 😂


Package desktop app using Tauri

I added the package to build using tauri in #20
When I brought the app up on Webview on linux, it was a bit janky. The fonts were not smooth, the transitions were slow.
I am holding off a tauri build for v1.alpha and pushing it to v2.alpha
The good parts that came out of this exercise was that, I was able to decouple the nextjs app from being tightly coupled with electron. Now I plan to also make the app available on web
Initially I thought that I will have to ditch electron in favour of tauri. But after going through the exercise of splitting up the nextjs app separately and the electron packager into separate repos, this led me to the realisation that I can ship multiple distributions (electron, tauri, webapp, chrome extension)
In the long term Bruno will ship both Tauri and Electron builds.

This might help https://github.com/tauri-apps/tauri/issues/3988

Closing this as there our electron code based (IPC mechanisms) is fairly complex and I do not plan to support tauri builds in the future.

Maybe Tauri can make Bruno more lightweight and faster. I tried Yaak today and found that it not only has a smaller package size (160MB compared to Bruno's 300MB) but also runs very smoothly. Though I appreciate Bruno's Git integration and Bru lang a lot, I have to admit that the experience provided by Yaak is quite compelling.


Data Use Checkup -- Config Documentation

When granting access to User ID and User Profile what are the specific features we nee to request.  I'm assuming multiplayer/proton.  What are the others?

You can also add Oculus username since we display the username.

Thank you


chore: dogfood Cargo -Zlints table feature

What does this PR try to resolve?
-Zlints unstable feature just landed on nightly-2023-05-25 (rustc 1.71.0-nightly). It would be awesome if Cargo starts dogfooding itself.
How should we test and review this PR?
A shell script is added to check lint rules on nightly channel. This is expected to fail at this time. We probably want to fix lint errors in this PR or in follow-ups, depending on the review.
This does nothing on stable channel, which Cargo sticks to. Merely that cargo build becomes noisy because -Zlints triggers lots of unused manifest key: lints warnings, and has no way to turn them off. If people feel unease about this, we can wait.
Additional information

Just checking in to make sure this isn't waiting on me. This was marked as a Draft, but I'm not clear what's blocking or needs to be done.

I am not sure if we want to move on.

Remove lint attributes? At the cost of building with stable toolchain all clippy waring popping up.
Fix all lint errors for sub crates maybe? The change should be smaller without touching cargo crate.

:umbrella: The latest upstream changes (presumably #12767) made this pull request unmergeable. Please resolve the merge conflicts.

:umbrella: The latest upstream changes (presumably #12924) made this pull request unmergeable. Please resolve the merge conflicts.

This is ready for review 🚀

@bors r+
Thanks!

:pushpin: Commit e2f5925bb074f4d9d9fe5be3a8d9bc8fd2a2aa3e has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit e2f5925bb074f4d9d9fe5be3a8d9bc8fd2a2aa3e with merge e46d97cee8fe854d91ef4c9138477a4b7e8af111...

:broken_heart: Test failed - checks-actions

The failure was caused by a crates.io deployment. It's being rolled back, see this Zulip comment.

@bors retry

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 9f3b4883e88921de12c5a8bc1594707da2c7984c to master...


Need test server running on HTTPS

We're attempting to do some early integration with Grafana, utilizing VEDA Auth Central as an OAuth2 Provider.  However, we're not aware of any services running on HTTPS.
Known servers to date:

http://<IP_ADDRESS>:8081/swagger-ui/index.html
http://<IP_ADDRESS>:8081/swagger-ui/index.html

as an aside, I'm not sure what the difference is between these instances.

Relates to https://github.com/NASA-IMPACT/veda-backend/issues/373

This has already been addressed and test server is running on HTTPS


Version 1.0 release planning

#1 changes Certification and related elements
#3 adds ProdModule and ProdSolarCell objects
#4 adds ProdInverter
I'm anticipating a PR to add ProdRacking. What else should be on the list for v1.1 release?
Edit: changing title of Issue to Version 1.0, since there hasn't yet been a release.

Closed via #46


MWPW-152112: Mobile Widget Redirect

Resolves: MWPW-152112
Test URL:
https://mwpw-152112--dc--adobecom.hlx.page/acrobat/online/sign-pdf

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

Project coverage is 90.56%. Comparing base (54b7c12) to head (61217b1).
Report is 9 commits behind head on stage.

Files
Patch %
Lines

acrobat/blocks/mobile-widget/mobile-widget.js
94.59%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #699      +/-   ##
==========================================
+ Coverage   89.55%   90.56%   +1.01%
==========================================
  Files          37       37
  Lines        4584     4654      +70
==========================================
+ Hits         4105     4215     +110
+ Misses        479      439      -40

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

You will find similarities, the dc converted is not loaded, this will get users to the proper link


urllib3 v2.0 compatibility

urllib3 v2.0 came out during PyConUS 2023 and is resulting in hanging tests on windows, and test failures on Linux. We need to update our code/tests to ensure compatibility for this new version.

Hello fellow Elasticians :wave:
We just released urllib3 2.0.1 that includes https://github.com/urllib3/urllib3/pull/2992. We have extensive tests for cert pinning, but Tornado (our test server) can accept multiple connections at a time unlike pytest-localserver. So we did not see the resource leak that caused the deadlock in your case, sorry about that.
Would you mind giving 2.0.1 a try?

@pquentin worked wonderfully. Thanks!


is it possible to use softether vpncmd to connect the VPN-SERVER by L2TP/IPSec on the command line?

well, I intended to post this question in vpnusers.com,  but I counld't get through the register page again and again, and it seems no administrator tells me what is going on, so I decide to post here.
Environment:

OS：Centos 6.5
vpnlcient：softether-vpnclient-v4.21-9613-beta-2016.04.24-linux-x64-64bit

so I wanna know is that possible to use softether vpncmd to connect the remote VPN-SERVER on the command line by L2TP/IPSec protocol in the Linux environment?

No. Softether client only uses softether protocol.


Deprecate methods that take F[Request[F]] as a parameter

As a further step in #3345 @satorg has suggested deprecating methods that take F[Request[F]] as a parameter. I propose to discuss this suggestion here.

I just think that methods taking F[Request[F]] as a parameter are although harmless but quite useless.
Since Request[F] is supposed to be pure and safe then there are no real need to keep those method as first-class citizens of Client. Having same methods that take just Request[F] it is unlikely that they can be somehow optimized for F[Request[F]]. They can be implemented in a form of extension methods though, if necessary.

This makes sense to me. So I've opened #6651.


Dataset Viewer issue for tarteel-ai/everyayah

Link
https://huggingface.co/datasets/tarteel-ai/everyayah
Description
The dataset viewer is not working for dataset tarteel-ai/everyayah.
Error details:
Error code:   ResponseNotReady

OK, seems fixed now.


chore(merge main): patched commit → 688bce4

[ ] Run linters;
[ ] Run compilers;
[ ] Run tests;
[ ] Check documentation site: examples and contents;
[ ] Test cross-browser compatibility locally and with BrowserStack:

Firefox ESR
IE11 (v4 only)
Latest Edge, Chrome, Firefox, Safari
iOS Safari
Chrome & Firefox on Android

[ ] Including RTL mode;
[ ] Ask for reviews and accessibility testing;
[ ] sync with Bootstrap's release and probably wait for it;
[ ] npm run release-version $current_version $next_version to bump version number

if bumping a minor or major version:

[ ] Manually change version_short in package.json
[ ] Add docs version to _data/docs-versions.yml
[ ] Manually change docs_version in _config.yml
[ ] Update redirects in docs frontmatter
[ ] Move docs to the new docs' subfolder?
[ ] Ensure Algolia indexes new release content (probably requires a PR)

check wrong matches in CHANGELOG.md, and maybe site/content/docs/<version>/migration.md

[ ] if year changed recently, happy new year :tada: but please change © year in .scss main files (reboot, grid, utilities and main file) as well as in NOTICE.txt.
[ ] npm run release to compile dist, update SRI hashes in doc and package the release
[ ] Prepare changelog:

install Conventionnal Changelog and conventional-changelog-cli globally
run conventional-changelog -p angular -i CHANGELOG.md -s
and probably maintain a ship list (eg for v4.4.0)

[ ] commit and push dist with a chore(release) commit message
[ ] merge (on v4-dev or v5-dev)
[ ] tag your version, and push your tag
[ ] create a GitHub release:

attach zip file
paste CHANGELOG / Ship list in the release's description

[ ] run build/ship.sh x.x.x to…

Pull the latest changes update new version numbers
Compile CSS and JS
Compress dist files
Generate the hashes and update our config's cdn section
Compile the docs
Copy-pasta built docs to bs-docs-named clone of Boosted.

[ ] publish documentation on gh-pages:

[ ] copy ../_site (v5-dev) or ../bs-docs (v4-dev) to the gh-pages branch
[ ] check every index.html used as redirections to be redirecting to the new release
[ ] when bumping minor version: ensure dist URLs in examples' HTML has changed
[ ] double-check everything before pushing, starting by searching for forgotten old version number occurences

[ ] npm pack then npm publish

if you are already logged in NPM (with a personnal account, for example), you'd better use a repository scoped .npmrc file
if you're releasing a pre-release, use --tag, eg for v5-alpha1 npm publish boosted-5.0.0-alpha1.tgz --tag next

[ ] publish on Nuget
[ ] check release on NPM, Nuget, Packagist…
[ ] make an announcement in Plazza :tada:

Before asking a review

[ ] Create a v5.0.2 project and move the already "Done" cards developed between 5.0.1 and 5.0.2 there so that v5.1.0 will be coherent
[ ] Embed the last commit of Bootstrap (688bce4) or do the same thing via npm run commands
[ ] Re-sign the commit correctly
[ ] df72a21: Improve the conflicts resolution
[ ] b39b665: bundlewatch.config.json not gathered
[ ] fd985d3: Did nothing about this commit because --#{$variable-prefix}table-accent-bg: #{$table-bg}; did not exist but shouldn't be it in the file at least in a "Boosted mod" comment?
[ ] 649c2bb: Check the behavior of this commit (not tested)
[ ] 7d9adb7: Did not regenerate the package-lock.json. Can do it right now if necessary.
[ ] c0d21e1: :bug: Apply the good color for the popover header border
[ ] 46045b4: Check if .img-fluid class is necessary here.
[ ] f14d1a4: Check with the designs how to handle those new badges
[ ] f2b47e1: Study if there is any impact
[ ] be17444: Check if there are no missing modifications for Boosted mods

In the v5.0.2 of Bootstrap, there is a new section in Badges: Examples > Positioned which looks like this:

In this PR, without specific modifications, it looks like this:

This red background for the badge is not acceptable. The first naive solution I had in mind was to modify .bg-danger in .bg-secondary (or .bg-dark) in this example.
I had a quick conversation with the designers. To be confirmed but it is not allowed to have this kind of "notifiers" for buttons in the Orange design. It is only allowed for the icons.
If we stick exactly to the Bootstrap documentation examples here, we are sure that the developers will use it in Orange interfaces because it is in our documentation... and we don't want this to be propagated in our products.
So it seems there are 2 possibilities:

We get rid of this entire part
We modify this example by replacing the button with an icon (or a button-icon)

I prefer this 2nd solution because the "Positioned" section brings interesting information for the developers. It would help for example to develop some Global Headers where we can see some basket icons with notifications.
We could have this kind of example (⚠ this is just a quick example not sticking to the design, just to explain my point of view):

<button type="button" class="btn btn-icon position-relative">
  <svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 1000 1000">
    <path id="Buy" class="cls-1" d="M883.53,387.9H662V273.033C662,185.015,590.5,113,502.5,113S343,185.015,343,273.033V387.9H115a50.016,50.016,0,0,0-42.88,75.736L265,888H730L926.41,463.633c4.52-7.512,8.59-16.314,8.59-25.726C935,410.292,911.15,387.9,883.53,387.9ZM165,487.918H340l19.23,125.025H223.95ZM315,812.984L255,687.959H370.77L390,812.984H315Zm225,0H460L440,687.959H560Zm30-200.041H435L415,487.918H585ZM586.99,387.9H418.05l-0.13-114.864a84.556,84.556,0,1,1,169.11,0ZM685,812.984H609.69L630,687.959H745Zm91.05-200.041H639.3L655,487.918H830.17Z"/>
  </svg>

    99+
    unread messages

</button>

@Nurovek , @Lausselloic or @ffoodd , what do you think? You who have already had to deal with this kind of conflict between what is technically possible and what we don't want to see as a design in our applications.

Replace the button with an icon button, and drop a comment explaining what's different.
This way you keep the best of both sides.
IMHO the only moment to completely drop a doc part (or a component variant) is when it's explicitely forbidden or missing (like most if table variants).
And even in that case, start with asking GDL and look at the Master List, just in case it's in the backlog already.


Appease most of the Clippy lints

Part of #155
These should all be more or less obvious, maybe with the exception of:

~comparison_chain - in this case it might be more noise than it's worth, I'm fine with silencing it here, instead~
EDIT: Actually, let's drop it for now
single_char_pattern - in our case we do less "-escaping, so that's good enough for me (but I know it might be considered uncontroversial)
clippy::upper_case_acronyms - this helps follow the Rust naming convention (CLI -> Cli, which I'm strongly in favour; it's not a SCREAMING_CASE_CONSTANT)

Some select lints are explicitly allowed on a case-by-case basis here but in general are worthwhile to be linted against, e.g. enum_variant_names or manual_range_contains.
The only ones left now are:

comparison_chain - in this case it might be more noise than it's worth, I'm fine with silencing it here, instead
needless_return, which we will have many instances of and I'd like to have a separate PR for that (but I'm strongly in favour, as I find it to be one of the signature aspects of Rust)
should_implement_trait - needs to be silenced in one case for #[napi] fn clone, but ParserContext::next might or might not implement the Iterator, I'm not sure yet, so I'd like to defer it for now.

needless_return, which we will have many instances of and I'd like to have a separate PR for that (but I'm strongly in favour, as I find it to be one of the signature aspects of Rust)

**shudders**


Update Xavier

Make magnitude as a variable, which is more flexible

So I am not sure that kaiming is the correct name. I would prefer specifying the regularization as avg = (fan_in + fan_out) / 2; in = fan_in; out = fan_out and the the difference between xavier and kaiming is just the magnitude.
Also see https://github.com/BVLC/caffe/pull/1946 and https://github.com/BVLC/caffe/pull/1883 for some more discussion and http://arxiv.org/abs/1312.6120v3 for the paper where kaiming was first proposed the A in MSRA.

Also note they Caffe calculates fan_in and fan_out differently from us:
You should make sure the input blob has shape (num, a, b, c) where a * b * c = fan_in and num * b * c  = fan_out.

At least I think use fan_out directly is useless and will make training fail because it is too large. I prefer manual adjust magnitude instead of stick on some magic formula. eg, if you check keras there will be a different define of these stuff formula.

For me the concerns is consistency and flexibility. I think we shouldn't move to far away from prior tech with our  definitions. I think the most flexible thing is to separate it into regularization, magnitude and distribution. That also gets rid of the naming issue and as the documentation we can just describe how to get traditional variants of Xavier or MSR&A. I can implement my idea in MXNet.jl and we can then discuss which one is the better way.

@vchuravy I agree currently everyone is using their own way to name it which is a mass. For name kaiming comes from cxxnet and I just want to follow cxxnet way but not caffe way. I just changed the default magnitude and I suggest to use in this way first then we can discuss a better way then refactor.

Take a look ar https://github.com/vchuravy/MXNet.jl/commit/fc6b4ed990c4d43c318077d73a6d6984444981a4 and It also allows to side-step the naming issue.

@antinucleon Thanks for this and also thank you for the productive debate.


Fix t-SNE example gnuplot path

Expected behaviour
gnuplot shows t-SNE's result.
Actual behaviour
"examples/iris_plot.plt" line 7: warning: Cannot find or open file "iris.dat"
"examples/iris_plot.plt" line 7: No data in plot

It seems like the example code linfa/algorithms/linfa-tsne/examples/tsne.rs expects to be run from the linfa/algorithms/linfa-tsne/ directory (as it writes its result to examples/iris.dat), but at the end it calls gnuplot using just iris.dat path.

Should the same fix be applied to the other tsne example?

Codecov Report

Merging #218 (b0bde08) into master (e6f2a82) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   58.45%   58.36%   -0.10%
==========================================
  Files          93       93
  Lines        8062     8066       +4
==========================================
- Hits         4713     4708       -5
- Misses       3349     3358       +9

Impacted Files
Coverage Δ

algorithms/linfa-nn/src/kdtree.rs
43.90% <0.00%> (-2.44%)
:arrow_down:

...rithms/linfa-trees/src/decision_trees/algorithm.rs
50.18% <0.00%> (-1.47%)
:arrow_down:

algorithms/linfa-elasticnet/src/algorithm.rs
83.60% <0.00%> (-0.93%)
:arrow_down:

algorithms/linfa-svm/src/classification.rs
76.47% <0.00%> (-0.57%)
:arrow_down:

algorithms/linfa-kernel/src/lib.rs
71.91% <0.00%> (-0.31%)
:arrow_down:

...lgorithms/linfa-clustering/src/optics/algorithm.rs
49.10% <0.00%> (-0.30%)
:arrow_down:

algorithms/linfa-nn/tests/nn.rs
85.13% <0.00%> (ø)

algorithms/linfa-pls/src/utils.rs
92.68% <0.00%> (ø)

algorithms/linfa-nn/src/balltree.rs
59.82% <0.00%> (ø)

algorithms/linfa-hierarchical/src/lib.rs
42.25% <0.00%> (ø)

... and 1 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 e6f2a82...b0bde08. Read the comment docs.

Should the same fix be applied to the other tsne example?

Yes, @YuhanLiin, I've applied it


feat: add withMomentoLocal and option to connect without TLS to CredentialProvider

Works towards https://github.com/momentohq/momento-local/issues/13
Allows a user to specify whether each overridden endpoint should use TLS or not.
Also changes StringMomentoTokenProvider to detect whether :443 is contained in the endpoint to determine secure vs insecure when given no overrides.
Removed the auto-detect port 443 because it turns out endpoints like cache.etc.etc.momentohq.com don't contain the port number.

Also re: tests getting cancelled after 4 minutes, it might be a bug with ubuntu 24 (reference)


[TESTPLAN] Full Test Plan for 1.0/GA for Admin, KVM, ACS <IP_ADDRESS>-SNAPSHOT

Note: for User role test exclude after Account/User feature, for DomainAdmin role exclude after Infrastructure (except for Offerings)
Common

[x] Project selector
[x] Language selector
[x] Notifications / clear notifications
[x] Paginations
[x] Profile
[x] Help
[x] Logout
[x] Context-sensitive help

Dashboard

[x] Fetch latest (only on Admin dashboard)
[x] View hosts in alert state
[x] View alerts
[x] View events

Compute > Instances

[x] Basic search
[x] Extended search
[x] Sort
[x] Links
[x] Filter by
[ ] Create new instance

Compute > Kubernetes
This requires configuring and setting up CKS: http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Filter by
[ ] Add Kubernetes cluster
[ ] Start/stop a Kubernetes cluster
[ ] Scale Kubernetes cluster
[ ] Upgrade Kubernetes cluster
[ ] Delete Kubernetes cluster

Compute > Instances > selected instance

[x] View console
[x] Reboot instance
[x] Update instance
[x] Start/Stop instance
[x] Reinstall instance
[x] Take snapshot
[x] Assign VM to backup offering
[x] Attach ISO
[x] Scale VM
[x] Migrate instance to another host
[x] Change affinity
[x] Change service offering
[x] Reset Instance Password
[x] Assign Instance to Another Account (VM must be stopped)
[x] Network adapters
[x] 	- Add network to VM
[x] 	- Set default NIC
[x] 	- Add/delete secondary IP address
[x] 	- Delete VM network
[x] Settings
[x] 	- Add setting
[x] 	- Update setting
[x] 	- Delete setting
[x] Add / delete comment
[x] Add / delete tags
[x] Links

Compute > Instance groups

[x] Search
[x] Sort
[x] Links
[x] New instance group

Compute > Instance groups > selected instance group

[x] Links
[x] Update instance group
[x] Delete instance group

Compute > SSH Key Pairs

[x] Search
[x] Sorting
[x] Links
[x] New SSH key pair

Compute > SSH Key Pairs > selected SSH key pair

[x] Links
[x] Delete SSH key pair

Compute > Affinity Groups

[x] Search
[x] Sort
[x] Links
[x] New affinity group

Compute > Affinity Groups > selected affinity group

[x] Links
[x] Delete affinity group

Storage > Volumes

[x] Basic earch
[x] Extended search
[x] Sort
[x] Links
[x] Create volume
[x] Upload local volume
[x] Upload volume from URL

Storage > Volumes > selected volume

[x] Detach volume
[x] Take snapshot
[x] Recurring snapshot
[x] Resize volume
[x] Migrate volume
[x] Download volume
[x] Delete volume
[x] Links
[x] Add/delete tags

Storage > Snapshots

[x] Basic search
[x] Extended search
[x] Sort
[x] Links

Storage > Snapshots > selected snapshot

[x] Links
[x] Add/delete tags
[x] Create template
[x] Create volume
[x] Revert snapshot
[x] Delete snapshot

Storage > VM Snapshots

[x] Basic search
[ ] Extended search
[x] Sort
[x] Links

Storage > VM Snapshots > selected snapshot

[x] Links
[x] Add/delete tags
[x] Revert VM snapshot
[x] Delete VM snapshot

Storage > Backups

[ ] Import offering
[ ] Configure backup provider (Veeam)
[x] Create backup offering
[x] Assign VM to backup offering
[x] Revert to backup
[x] Delete backup

Network > Guest networks

[x] Basic search
[x] Extended search
[x] Sort
[x] Links
[x] Add network

Network > Guest networks > selected network

[x] Links
[x] Add/delete tags
[x] Update network
[x] Restart network
[x] Delete network
[ ] Acquire new IP (only for isolated networks) - N/A
[ ] Replace ACL list(only for VPC isolated networks) - N/A
[ ] Delete public IP address (only for isolated networks) - N/A
[ ] Add/delete egress rule (only for isolated networks) - N/A

**Network > VPC **  - N/A

[ ] Basic search
[ ] Extended search
[ ] Sort
[ ] Links
[ ] Add VPC

Network > VPC > selected VPC  - N/A

[ ] Links
[ ] Update VPC
[ ] Restart VPC
[ ] Delete VPC
[ ] Networks
[ ] - Links
[ ] - Paginations
[ ] - Add network
[ ] - Add internal LB
[ ] Public IP addresses
[ ] - Links
[ ] - Pagination
[ ] - Select tier
[ ] - Acquire new IP
[ ] - Delete IP address
[ ] Network ACL Lists
[ ] - Links
[ ] - Pagination
[ ] - Add network ACL list
[ ] Private Gateways
[ ] - Links
[ ] - Pagination
[ ] - Add private gateway
[ ] VPN Gateway
[ ] - Links
[ ] VPN Connections
[ ] - Links
[ ] - Pagination
[ ] - Create Site-to-site VPN connection
[ ] Virtual routers
[ ] - Links
[ ] Add/delete tags

Network > Security groups

[x] Search
[x] Sort
[x] Links
[x] Add security group

Network > Security groups > selected security group

[x] Links
[x] Add/delete tags
[x] Add ingress rule by CIDR
[x] Add ingress rule by Account
[x] Ingress rule - add/delete tags
[x] Ingress rule - delete
[x] Add egress rule by CIDR
[x] Add egress rule by Account
[x] Egress rule - add/delete tags
[x] Egress rule - delete
[x] Ingress/egress rules pagination

Network > Public IP Addresses

[ ] Search
[ ] Sort
[ ] Links
[ ] Acquire new IP

Network > Public IP Addresses > selected IP address

[ ] Links
[ ] Add/delete tags
[ ] Enable/Disable static NAT
[ ] Release IP
[ ] Firewall - add rule
[ ] Firewall rule - add/delete tags
[ ] Firewall rule - delete
[ ] VPN - Enable/Disable VPN
[ ] VPN - Manage VPN Users

Network > VPN Users

[ ] Links
[ ] Search
[ ] Sort
[ ] Add VPN user

Network > VPN Users > selected VPN user

[ ] Links
[ ] Delete VPN User

Network > VPN Customer Gateway

[x] Links
[x] Basic search
[ ] Extended search
[x] Sort
[x] Add VPN Customer Gateway

Network > VPN Customer Gateway > selected gateway

[x] Links
[x] Edit VPN Customer Gateway
[x] Delete VPN Customer Gateway
[ ] Add/delete tags

Images > Templates

[x] Links
[x] Basic search
[x] Extended search
[x] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[x] Register template
[x] Upload local template

Images > Templates > selected template

[x] Links
[x] Add/delete tags
[x] Edit template
[x] Copy template
[x] Update template permissions
[x] Delete template
[ ] Download template
[x] Zones pagination
[ ] Settings - add/edit/remove setting

Images > ISOs

[x] Links
[x] Basic search
[x] Extended search
[x] Sort
[ ] Change order (move to the top/bottom, move one row up/down)
[x] Register ISO
[x] Upload local ISO

Images > ISOs > selected ISO

[x] Links
[x] Add/delete tags
[x] Edit ISO
[ ] Download ISO
[x] Update ISO permissions
[x] Copy ISO
[x] Delete ISO
[x] Zones - pagination

Images > Kubernetes ISOs

[ ] Links
[ ] Basic search
[ ] Sort
[ ] Refresh
[ ] Pagination
[ ] Enable/Disable
[ ] Add Kubernetes Version

Projects

[x] Links
[x] Basic search
[ ] Extended search
[x] Sort
[x] Switch to project
[x] New project
[x] Enter token
[x] Project invitations

Projects > selected project

[x] Links
[x] Add/delete tags
[x] Edit project
[x] Suspend/Activate project
[x] Add account to project
[x] Accounts - Make account project owner
[x] Accounts - Remove account from project
[x] Delete project
[x] Accounts - pagination
[x] Resources - edit

Events

[x] Links
[x] Basic search
[x] Extended search
[x] Sort
[x] Archive event
[x] Delete event

Events > selected event

[x] Links
[x] Archive event
[x] View event timeline
[x] Delete event

Users

[x] Links
[x] Search
[x] Sort
[x] Add user

Accounts

[x] Links
[x] Search
[x] Sort
[x] Add account
[x] Add LDAP account

Accounts > selected account

[x] Links
[x] Update account
[x] Update resource count
[x] Disable/enable account
[x] Lock/unlock account
[x] Add certificate
[x] Delete account
[x] Settings

Users > selected user

[x] Links
[x] Edit user
[x] Change password
[x] Generate keys
[x] Disable/enable user
[x] Delete user
[x] Copy API Key
[x] Copy Secret Key

Domains

[x] Search
[x] Expand/collapse
[x] Add/delete note
[x] Add domain
[x] Edit domain
[x] Delete domain
[x] Update resource count
[ ] Link domain to LDAP Group/OU
[x] Settings

Roles

[x] Links
[x] Search
[x] Sort
[x] Create role

Roles > selected role

[x] Edit role
[x] Delete role
[x] Rules - add new rule
[x] Rules - modify rule
[x] Rules - delete rule
[x] Rules - change rules order

Infrastructure > Summary

[x] Links
[x] Setup SSL certificate

Infrastructure > Zones

[x] Links
[x] Search
[x] Sort
[x] Pagination
[ ] Add zone

Infrastructure > Zones > selected zone

[x] Links
[x] Edit zone
[x] Enable/disable zone
[x] Enable/disable out-of-band management
[x] Enable HA (disable?)
[x] Add VMWare datacenter
[x] Delete zone
[x] Settings - edit

Infrastructure > Pods

[x] Links
[x] Search
[x] Sort
[x] Add Pod

Infrastructure > Pods > selected Pod

[x] Links
[x] Dedicate/Release Pod
[x] Edit Pod
[x] Disable/enable Pod
[x] Delete Pod

Infrastructure > Clusters

[x] Links
[x] Search
[x] Sort
[x] Add Cluster

Infrastructure > Clusters > selected cluster

[x] Links
[x] Dedicate/Release cluster
[x] Enable/disable cluster
[x] Manage/unmanage cluster
[x] Enable/disable out-of-band management
[x] Enable/disable HA
[x] Configure HA
[x] Delete cluster
[x] Settings - edit

Infrastructure > Hosts

[x] Links
[x] Search
[x] Sort
[x] Add host

Infrastructure > Hosts > selected host

[ ] Links
[x] Add/delete notes
[x] Dedicate/release host
[x] Edit host
[x] Force reconnect
[x] Disable/enable host
[x] Enable/cancel maintenance mode
[x] Enable/disable out-of-band management
[x] Enable/disale HA
[x] Delete host (only if disabled)

Infrastructure > Primary Storage

[x] Links
[x] Search
[x] Sort
[x] Add Primary storage

Infrastructure > Primary Storage > selected primary storage

[x] Links
[x] Edit primary storage
[x] Enable/cancel maintenance mode
[x] Delete primary storage
[x] Settings - edit

Infrastructure > Secondary Storage

[x] Links
[x] Search
[x] Sort
[x] Add Secondary storage

Infrastructure > Secondary Storage > selected secondary storage

[x] Links
[x] Delete secondary storage
[x] Settings - edit

Infrastructure > System VMs

[x] Links
[x] Search
[x] Sort

Infrastructure > System VMs > selected system VM

[x] Links
[x] View console
[x] Start/Stop system VM
[x] Reboot system VM
[x] Change service offering
[x] Migrate system VM
[x] Run diagnostics
[x] Get diagnostics data
[x] Destroy system VM

Infrastructure > Virtual routers

[x] Links
[x] Search
[x] Sort

Infrastructure > Virtual routers > selected virtual router

[ ] Links
[x] View console (running)
[x] Start/Stop router
[x] Reboot router
[x] Change service offering
[x] Migrate router (running)
[x] Run diagnostics (running)
[x] Get diagnostics data
[x] Destroy router

Infrastructure > Internal LB VMs

[ ] Links
[ ] Search
[ ] Sort

Infrastructure > Internal LB VMs > selected internal LB VM

[ ] Links
[ ] View console
[ ] Stop router
[ ] Migrate router

Infrastructure > CPU Sockets

[ ] Search
[x] Sort

Infrastructure > Management servers

[x] Links
[ ] Search
[x] Sort

Infrastructure > Management servers > selected management server
Infrastructure > Alerts

[x] Links
[x] Search
[x] Sort

Infrastructure > Alerts > selected alert

[x] Archive alert
[x] Delete alert

Offerings > Compute offerings

[x] Links
[x] Search
[x] Sort
[x] Add offering

Offerings > Compute offerings > selected offering

[x] Links
[x] Edit offering
[x] Update offering access
[x] Delete offering

Offerings > System offerings

[x] Links
[x] Search
[x] Sort
[x] Change order (move to the top/bottom, move one row up/down)
[x] Add offering

Offerings > System offerings > selected offering

[x] Edit offering
[x] Delete offering

Offerings > Disk offerings

[x] Links
[x] Search
[x] Sort
[x] Change order (move to the top/bottom, move one row up/down)
[x] Add offering

Offerings > Disk offerings > selected offering

[x] Links
[x] Edit offering
[x] Update offering access
[x] Delete offering

Offerings > Backup offerings
Offerings > Network offerings

[x] Links
[x] Search
[x] Sort
[x] Change order (move to the top/bottom, move one row up/down)
[x] Add offering

Offerings > Network offerings > selected offering

[x] Edit offering
[x] Enable/Disable offering
[x] Update offering access
[x] Delete offering

Offerings > VPC offerings

[x] Links
[x] Search
[x] Sort
[x] Change order
[x] Add offering

Offerings > VPC offerings > selected offering

[x] Links
[x] Add / delete tags
[x] Edit offering
[x] Enable/Disable offering
[x] Update offering access
[x] Delete offering

Configuration > Global settings

[x] Links
[x] Search
[x] Sort
[x] Edit value

Configuration > LDAP Configuration

[x] Links
[ ] Search
[x] Sort
[x] Configure LDAP

Configuration > LDAP Configuration > selected LDAP configuration

[ ] TBD

Configuration > Hypervisor capabilities

[x] Data
[ ] Search
[x] Sort

Bugs listed in #563


PCC DCP IG is not following guidance

https://github.com/IHE/DCP
@brynrhodes is not following the recommendations and guidance of the IHE-FHIR workgroup. We need to engage to understand why not. Is this a simple case of not knowing? Or is there some fundamental issue that we should be working on resolving?

@brynrhodes is there some lessons learned that you can guide us on?


I tested a solution, which works very well. Its key point is to divide image into several small parts and then draw each part one by one.
The code as follow:
            int CountOfStepX = (int)Math.Round(srcPortion.Width / MaxDrawImageSidePixels + 0.5);
            int CountOfStepY = (int)Math.Round(srcPortion.Height / MaxDrawImageSidePixels + 0.5);

            float stepDstX = (int)(dstView.Width / CountOfStepX);
            float stepDstY = (int)(dstView.Height / CountOfStepY);
            float stepSrcX = (int)(srcPortion.Width / CountOfStepX);
            float stepSrcY = (int)(srcPortion.Height / CountOfStepY);
            for(int w=0;w< CountOfStepX;w++)
                for(int h=0; h<CountOfStepY;h++)
                {
                    rfDst = new RectangleF(dstView.X+ stepDstX*w, dstView.Y + stepDstY * h, stepDstX, stepDstY);
                    rfSrc=  new RectangleF(srcPortion.X+ stepSrcX *w, srcPortion.Y + stepSrcY * h, stepSrcX, stepSrcY);
                    Rectangle txtRect = new Rectangle((int)rfDst.X, (int)rfDst.Y, (int)rfDst.Width, (int)rfDst.Height);
                    g.DrawImage(this.Image, rfDst, rfSrc, GraphicsUnit.Pixel);
                }

Good grief - this never crossed my mind. Curiously enough I had a support ticket recently for another user who was having difficulties with the ImageBox and giant images. I'd made a "rainy day note" after that to try and do a demo where multiple separate images are drawn as though they were a single image, similar to how things like online maps work. It just didn't twig that I could have done the same thing as you suggest.
Thanks very much for the tip - I will give that a go!

I write a control derived from ImageBox. I would like to share the code here, and hope it could be useful. And hope the new version could be improved. Thanks!
public class PictureBox : ImageBox
{
public const float MaxDrawImageSidePixels = 5000;
    protected override void DrawImage(Graphics g)
    {
        Rectangle dstView = this.GetImageViewPort();
        RectangleF srcPortion = this.GetSourceImageRegion();
        if (srcPortion.Width <= MaxDrawImageSidePixels && srcPortion.Height <= MaxDrawImageSidePixels)
        {
            base.DrawImage(g);
            //TextRenderer.DrawText(g, srcPortion.ToString(), this.Font, this.ClientRectangle, this.ForeColor, this.BackColor, TextFormatFlags.VerticalCenter | TextFormatFlags.HorizontalCenter | TextFormatFlags.WordBreak | TextFormatFlags.NoPadding | TextFormatFlags.NoPrefix);
            return;
        }

        InterpolationMode currentInterpolationMode;
        PixelOffsetMode currentPixelOffsetMode;

        currentInterpolationMode = g.InterpolationMode;
        currentPixelOffsetMode = g.PixelOffsetMode;

        g.InterpolationMode = this.GetInterpolationMode();

        // disable pixel offsets. Thanks to Rotem for the info.
        // http://stackoverflow.com/questions/14070311/why-is-graphics-drawimage-cropping-part-of-my-image/14070372#14070372
        g.PixelOffsetMode = PixelOffsetMode.HighQuality;

        RectangleF rfDst=new RectangleF(0,0,100,100);
        RectangleF rfSrc = new RectangleF(0, 0, 100, 100);
        try
        {
            // Animation. Thanks to teamalpha5441 for the contribution
            if (this.IsAnimating && !this.DesignMode)
            {
                ImageAnimator.UpdateFrames(this.Image);
            }
            int CountOfStepX = (int)Math.Round(srcPortion.Width / MaxDrawImageSidePixels + 0.5);
            int CountOfStepY = (int)Math.Round(srcPortion.Height / MaxDrawImageSidePixels + 0.5);

            float stepDstX = (int)(dstView.Width / CountOfStepX);
            float stepDstY = (int)(dstView.Height / CountOfStepY);
            float stepSrcX = (int)(srcPortion.Width / CountOfStepX);
            float stepSrcY = (int)(srcPortion.Height / CountOfStepY);
            for(int w=0;w< CountOfStepX;w++)
                for(int h=0; h<CountOfStepY;h++)
                {
                    rfDst = new RectangleF(dstView.X+ stepDstX*w, dstView.Y + stepDstY * h, stepDstX, stepDstY);
                    rfSrc=  new RectangleF(srcPortion.X+ stepSrcX *w, srcPortion.Y + stepSrcY * h, stepSrcX, stepSrcY);
                    g.DrawImage(this.Image, rfDst, rfSrc, GraphicsUnit.Pixel);

                    //Rectangle txtRect = new Rectangle((int)rfDst.X, (int)rfDst.Y, (int)rfDst.Width, (int)rfDst.Height);
                    //TextRenderer.DrawText(g, rfDst.ToString() + " " + rfSrc.ToString(), this.Font, txtRect, this.ForeColor, this.BackColor, TextFormatFlags.VerticalCenter | TextFormatFlags.HorizontalCenter | TextFormatFlags.WordBreak | TextFormatFlags.NoPadding | TextFormatFlags.NoPrefix);
                }
        }
        catch (Exception ex)
        {
            TextRenderer.DrawText(g, ex.Message, this.Font, this.ClientRectangle, this.ForeColor, this.BackColor, TextFormatFlags.VerticalCenter | TextFormatFlags.HorizontalCenter | TextFormatFlags.WordBreak | TextFormatFlags.NoPadding | TextFormatFlags.NoPrefix);
        }

        g.PixelOffsetMode = currentPixelOffsetMode;
        g.InterpolationMode = currentInterpolationMode;
    }
}


Fixed #824 - BulkDownloader[/db/_bulk_get]: executeRequest() Exceptio…

…n: java.lang.IllegalStateException: _docReader is not defined
Problem:  Sync Gateway fixed https://github.com/couchbase/sync_gateway/issues/1163 which is to gzip encode entire response for _bulk_get REST api if Accept-Encoding is gzip. Previously Sync Gateway gzipped multi-part document independently. Android did not support entire gzipped encoding for _bulk_get.
Solution: Decode gzipped response for _bulk_get if it is gzipped.

@pasin Could you please review PR again?


Adds reviewed version of Snorkel tutorial

Sorry @javispp it took me so long to review. Very nice work overall!!
I have updated the images, simplified some sections, and removed (for now) the biome.text part, mainly because I didn´t have more time to review, but it could be a nice update for next round.
If you have time for a quick proof-reading tomorrow, that'd be cool otherwise we can merge for the release.

Hi @frascuchon and @javispp I did another pass with a fresh environment, on my side this should be included in the release as it contains great material related to our core features.


Add unclassified symbols to symbol table

The CHC symbol table now contains a list of "unclassified" symbols that are neither inputs, outputs, nor the term variable - that is, if there are un-annotated variables. This makes it trivial for a consumer to see if a CHC is appropriately annotated or not, as well as recording what symbols are in this set.

We're now going to always write the input and output lists, instead of reporting them as null when missing annotations. This is to work around a case where a CHC has no inputs (or outputs), and doesn't have an (empty) annotation. Before, this would report as null, but it should really be empty.
To distinguish this case from where annotations aren't provided, we added the unclassified category.