I have the following problem when I want to use the client for CRI

transport: dial unix /var/run/dockershim.sock: connect: no such file or directory
any suggest..?

You should set the runtime-endpoint and image-endpoint to wherever your CRI server is running.

But those parameters where I look for them

@jhonfcp Which version of kubernetes are you running? dockershim.sock only exist after CRI is introduced in kubelet, e.g. v1.6+.

what is the difference with crt and crictl

crictl is the command line interface for CRI, but I'm not sure what is crt, where does it comes from?

I may have the same issue.
I

built crictl from master [1]
scped it to my server:/usr/local/bin
ran kubeadm init

Output:
 [ERROR CRI]: unable to check if the container runtime at "/var/run/dockershim.sock" is running: exit status 1`.

The file/socket /var/run/dockershim.sock does not exist.
crictl does, obviously, not work by itself either.
$ crictl ps
2017/12/23 02:57:23 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial unix /var/run/dockershim.sock: connect: no such file or directory"; Reconnecting to {/var/run/dockershim.sock <nil>}
FATA[0000] listing containers failed: rpc error: code = Unavailable desc = grpc: the connection is unavailable

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.0", GitCommit:"925c127ec6b946659ad0fd596fa959be43f0cc05", GitTreeState:"clean", BuildDate:"2017-12-15T21:07:38Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

$ uname -a
Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

$ file /usr/local/bin/crictl
/usr/local/bin/crictl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped

$ crictl --version
crictl version 1.0.0-alpha.0

$ docker --version
Docker version 17.03.1-ce, build c6d412e

[1] At the time of writing it's the same as v1.0.0-alpha.0 except changes code of conduct.

Any words of advice would be much appreciated.
I did not understand the following either

You should set the runtime-endpoint and image-endpoint to wherever your CRI server is running.

You should set the runtime-endpoint and image-endpoint to wherever your CRI server is running.

How do I know where it is running? What is that server? Is docker-engine a CRI server? Can I create the socket with crictl? Should I? Can crictl start a CRI server?
I have so many questions. kubeadm suddenly requires a working crictl to pass preflight, but I cannot find any info to help me debug this. The only thing I know is that the dockershim concept comes from kubectl (or was is kubelet?), and so kubectl should maybe create the socket somewhere? But that doesn't make sense either, cause it would be strange if kubeadm preflight checked for the socket before starting kubectl.

@nicolaiskogheim I'm assuming you are using docker runtime with kubelet. The file "/var/run/dockershim.sock" is created by kubelet. So could you verify whether kubelet is started properly?

I'm assuming you are using docker runtime with kubelet

Yes.
I just install kubelet, kubeadm and kubectl and then run kubeadm init. kubelet hasn't created that socket after just installing it, but the cluster works fine if I just ignore the kubeadm precheck for cri with kubeadm init --ignore-preflight-errors cri. Kubeadm falls back to regular docker stuff and probably uses /var/run/docker.sock or something.
This all is very strange to me, especially the part where kubeadm want to use something but it's very hard to find instructions to get everything installed and running. It wants crictl, which needs ocid/ocic from libpod, which is in alpha with no releases. Nothing has binary realeases, and has loads of deps. One is a prerelease of runc, (binary download, yay), and skopeo (no binaries, pre v1). I guess my gripe is with kubeadm failing precheck if you don't install loads of alpha/beta ware that's difficult to install. Sorry for ranting in your repo, I'm just so surprised that I'm the only one confused by the new cri check in kubeadm 1.9. /rant

It wants crictl, which needs ocid/ocic from libpod, which is in alpha with no releases.

Where is this from? crictl doesn't requires ocid or ocic

I also attempted to copy crictl binary manually to a new node, so that kubeadm doesn't complain. If it's true that /var/run/dockershim.sock is created by kubelet, then the issue at hand is circular dependency:

to start kubelet for the first time, kubeadm join must be run (resolves kubelet error: unable to load client CA file /etc/kubernetes/pki/ca.crt: open /etc/kubernetes/pki/ca.crt: no such file or directory)
to run kubeadm join without it complaining, crictl must be manually copied AND /var/run/dockershim.sock MUST already exist.
but, for that socket to exist, kubelet should have be already running, which is back to step 1)

Until this circular dependency is broken, --ignore-preflight-errors cri seems to be required to join node to a cluster.

@zcalusic  Seems this is a kubeadm issue. Could you open an issue at https://github.com/kubernetes/kubeadm?

Closing it since it's actually a kubeadm issue.

--runtime-endpoint value, -r value  Endpoint of CRI container runtime service (default: "unix:///var/run/dockershim.sock") [$CRI_RUNTIME_ENDPOINT]```

You should set the runtime-endpoint and image-endpoint to wherever your CRI server is running.

I have the given error, Where I can set runtime-endpoint and image-endpoint?

running this command resolved the issue for me
crictl config runtime-endpoint unix:///var/run/containerd/containerd.sock

crictl config --set runtime-endpoint=unix:///run/containerd/containerd.sock --set image-endpoint=unix:///run/containerd/containerd.sock


Bug, Shaderc (GLSL): Switch and specialization constants

Environment

LWJGL version: 3.3.0-SNAPSHOT
LWJGL build #: X
Java version: Java 16
Platform: Linux
Module: org.lwjgl.util.shaderc.shaderc_compile_into_spv(...)

Description
This minimal GLSL code crashes the JVM with a SIGSEGV when it is compiled at runtime:
#version 450
#extension GL_ARB_separate_shader_objects : enable

layout (local_size_x = 1,local_size_y = 1, local_size_z = 1) in;
layout(constant_id=10) const int SPHERE_T = 0;

void main() {
    int index = int(gl_GlobalInvocationID.x);
    switch(index) {
        case SPHERE_T:
            break;
    }
}

The following code was used to compile the snippet:
public static void main(String[] args) {
       stackPush();

        SPIRVCompiler.compileFileToComputeSPIRV("SwitchTest.comp",
                """
                        #version 450
                        #extension GL_ARB_separate_shader_objects : enable

                        layout (local_size_x = 1,
                            local_size_y = 1, local_size_z = 1) in;
                        layout(constant_id=10) const int SPHERE_T = 0;

                        void main() {
                            int index = int(gl_GlobalInvocationID.x);
                            switch(index) {
                                case SPHERE_T:
                                    break;
                            }
                        }
                        """
, stackGet());
    stackPop();
}
public static ByteBuffer putStringIntoByteBuffer(String string, MemoryStack stack) {
        int size = string.length();
        ByteBuffer buffer = stack.calloc(size);
        string.chars().forEachOrdered(c -> buffer.put((byte)c));
        return buffer.rewind();
}

public static ByteBuffer compileFileToComputeSPIRV
            (String sourceCodeName, String sourceCode, final MemoryStack stack) {
        ByteBuffer sourceCodeBytes = putStringIntoByteBuffer(sourceCode, stack);
        long compiler = shaderc_compiler_initialize();
        long compileOptions = shaderc_compile_options_initialize();
        shaderc_compile_options_set_generate_debug_info(compileOptions);

        if(compiler == NULL) {
            throw new RuntimeException("Failed to create shader compiler");
        }

        long result = shaderc_compile_into_spv(compiler, sourceCodeBytes, shaderc_glsl_compute_shader,
                stack.UTF8(sourceCodeName), stack.UTF8("main"), compileOptions);

        if(result == NULL) {
            throw new RuntimeException("Failed to compile shader " + sourceCodeName + " into SPIR-V");
        }

        if(shaderc_result_get_compilation_status(result) != shaderc_compilation_status_success) {
            throw new RuntimeException("Failed to compile shader " + sourceCodeName + "into SPIR-V:\n " + shaderc_result_get_error_message(result));
        }

        ByteBuffer compiled = shaderc_result_get_bytes(result);
        assert compiled != null;
        ByteBuffer ret = stack.malloc(compiled.remaining());
        ret.put(compiled).rewind();

        shaderc_result_release(result);
        shaderc_compile_options_release(compileOptions);
        shaderc_compiler_release(compiler);

        return ret;
    }

I have attached the crash log here.
Note that the snippet compiles (although I have not tested if it does so correctly) when the command line is used (CLI:
glslc snippet.comp). I am thus not sure if I should forward this issue to the shaderc repository, because I don't know which version/build of shaderc LWJGL uses.
I have not yet tested if this behavior also happens with the native C bindings because I do not work often in C.

The ByteBuffer you construct with putStringIntoByteBuffer() is missing the necessary terminating null-character '\0'.

We could reproduce this shaderc/glslc bug.
This particular GLSL shader also crashes the glslc compiler distributed (or built) with shaderc (it doesn' produce a SPIR-V output file but just exits).
Ultimately it seems this is a weird bug in glslc when using push-constants in a switch-case statement.
But this should be reported as an issue on the glslc repository.


Initial CMake building with deps

Based very heavily on Caffe1's cmake build system (and incorporating multiple of their files unchanged for now).
Builds a test binary using shared libs with some external dependency resolution (cuDNN, NCCL etc.)
Pushing so @bwasti and @Yangqing can see + build on it.

hi @slayton58
when i use your branch for build caffe2, it occurs error either, can't find pthread.h
i just use the command by:
mkdir build & cmake ../ & make

@neil1899 this is a very experimental and currently incomplete branch - it's not expected to work yet.
That said, it shouldn't have any issues finding pthread.h

Ok, so this is now compiling the vast majority of the project - enough so that I can successfully run a python example.
I was compiling with:
cd build;
cmake ../ -DCUDNN_ROOT=<path to cudnn> -DNCCL_ROOT_DIR=<path to NCCL root> -DCMAKE_INSTALL_PREFIX=<path to install to>;
make -j8 install

Added different BLAS backends (per @Yangqing request), some refactoring, fixed a couple of issues (not building NCCL correctly when it isn't found in system directories for example)

Should it require an installed protobuf if the source files for protobuf are in third_party?  Am I misreading this error/cmake files?  I'm testing on a fresh install of OS X right now.
CMake Error at /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindProtobuf.cmake:393 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/ProtoBuf.cmake:4 (find_package)
  cmake/Dependencies.cmake:5 (include)
  CMakeLists.txt:44 (include)

Hmm, I didn't add that functionality - let me do that now

Took a while longer than expected (cmake's external_project is not particularly pleasant to work with in my opinion), but I've pushed support - based on the USE_SYSTEM_PROTOBUF option.
Not as clean as I'd like, but I (or someone else) can go back and refactor as needed.

looks good!


Tableau Filter feature - include and exclude dashboard and charts

Add dashboard and chart filtering for tableau connector

I will be taking this up


Time Issue

I really enjoyed this tool,but there's something that i think make this tool more impressive is to reduce the time delay to recieve the mail.

Fair enough. I'll reduce the inbox check interval to 200ms and will add the ability to configure this

Fair enough. I'll reduce the inbox check interval to 200ms and will add the ability to configure this

Thank you


llvm-strip error

process '"cargo" "rustc" "--target" "x86_64-linux-android" "--lib" "--target-dir" "target" "--release" "--" "-L" "target/cargo-apk-temp-extra-link-libraries"' finished with: exit status: 0
/usr/local/Caskroom/android-ndk/23b/android-ndk-r23b/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-strip: error: 'target/x86_64-linux-android/release/demo': No such file or directory
/usr/local/Caskroom/android-ndk/23b/android-ndk-r23b/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-strip: error: 'target/x86_64-linux-android/release/demo': No such file or directory
process '"/usr/local/Caskroom/android-ndk/23b/android-ndk-r23b/toolchains/llvm/prebuilt/darwin-x86_64/bin/llvm-strip" "-s" "target/x86_64-linux-android/release/demo"' finished with: exit status: 1

路径问题，已经修复。


Tests

I would like to add python3 support but this first there should be some more tests.

Thanks for the input, I'll try and get started on some unit-tests this week.

tests added


added Saveetha University

Add Saveetha University

@Kahol-g Pull request merged. Thank you!

Glad to know, Appreciated @philipto


Fix ResourceName!=UnpytedResourceName name runtime test failure bug

When a message expects any resource name, and actual resource name is used, in Assert.equals() they have type mismatch, because getResourceNameAsName() always returns UntypedResourceName, while equals implementation for resource names checks for instanceof.

Codecov Report

Merging #1430 into master will decrease coverage by <.01%.
The diff coverage is 88.23%.

@@             Coverage Diff              @@
##             master    #1430      +/-   ##
============================================
- Coverage     86.37%   86.36%   -0.01%
- Complexity     4066     4073       +7
============================================
  Files           392      392
  Lines         16501    16512      +11
  Branches       1815     1817       +2
============================================
+ Hits          14252    14261       +9
- Misses         1779     1780       +1
- Partials        470      471       +1

Impacted Files
Coverage Δ
Complexity Δ

...m/google/api/codegen/transformer/SurfaceNamer.java
77.99% <0%> (-0.26%)
181 <0> (ø)

...en/transformer/StaticLangApiMethodTransformer.java
95.65% <100%> (ø)
72 <0> (+1)
:arrow_up:

...nsformer/java/JavaGapicSurfaceTestTransformer.java
100% <100%> (ø)
30 <0> (ø)
:arrow_down:

...e/api/codegen/transformer/InitCodeTransformer.java
94.51% <100%> (+0.08%)
75 <0> (+2)
:arrow_up:

...api/codegen/transformer/java/JavaSurfaceNamer.java
86.66% <100%> (+0.18%)
38 <1> (+1)
:arrow_up:

...odegen/viewmodel/testing/ClientTestAssertView.java
87.5% <100%> (+1.78%)
8 <2> (+2)
:arrow_up:

...ava/com/google/api/codegen/config/FieldConfig.java
60.21% <50%> (-0.66%)
38 <2> (+1)

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 8e30669...4fc0dce. Read the comment docs.

Overall LGTM, two notes about adding comments

PTAL.
The format of the non-compiling string is chosen to be similar to the output of SufraceNamer.getNotImplementedString().

LGTM


ページが応答しない / Page hangs a lot

The page is reported by Chrome as being unresponsive, usually after moving some dots, and I have to wait a lot time until it stops being frozen so I can move points again or do anything. This is very inconvenient. Now the page just crashed with Error code: Out of Memory, maybe you have a memory leak in there.

Thank you for your report.
I'll do some more research on memory leaks.


Improve file extensions

Template file extensions were always kind of weird, and i know they're arbitrary, but it just makes more sense to follow some pattern, thats why the whole *config.json and *metaconfig.json stuff happened in the first place. However, the current way without any delimiter, makes it harder to programmatically go over the different config types (*metaconfig.json also contains *config.json, y know) and it's generally just harder to read when you look over a repo and see this

I would suggest; for the future atleast, you enforce such a naming scheme for Pull Requests that want to be merged into the official template repo

I'm closing this since it would be a breaking change as we found out. A fix has been put in to address it, but old versions of AMP before the fix would error with these changes.
The plan is to combine templates into one JSON file in the near future which would overcome this problem as well.


Add complex number support to asarray

This PR

adds complex number support to asarray. Importantly, if one or more values are complex numbers, the output data type must be the default complex floating-point data type.

I fail to see why complex should appear before (or after) float with the "precedence" clause, I must be missing something...

@leofang Because if at least one value is complex, then the returned array must have a complex data type. Hence, if provided a mixture of complex and float, complex takes precedence. This follows type promotion semantics.

Thanks, @leofang! As this now has two approvals, will merge and any further changes can be addressed through subsequent PRs...


size() Function Has Been Remove From jQuery Since 3.0

Just hope author can make jquery.validation work out on jquery 3.0 .

I think the size() you are referring to is another function in the script also called size() and not from jQuery. https://github.com/jzaefferer/jquery-validation/blob/master/src/core.js#L575
Are you finding any problems with using jQuery 3.0 with this script?

@RehanSaeed  is right. we internally have a size() method. we dont rely on the deprecated jquery method (at least not in the core.js).
in case you spotted it somewhere else, please get back to us.


Defining 360_day calendar axis, cant define a calendar using the string 30-Feb-yyyy

Reported by Ansley B Manke on 14 Jul 2008 19:09 UTC
! Reported by Jaison Kurian 14-July-2008
yes? ! This is fine; the day 30-feb-1909 is a valid date in 360-day calendar:
yes? define
axis/t=28-feb-1909:07-mar-1909:2/units=days/calendar=360_days/t0=1-jan-1909 time
yes? list t[gt=time]
VARIABLE : T
axis TIME
SUBSET   : 6 points (TIME)
CALENDAR : 360_DAYS
28-FEB-1909 00 / 1:  57.00
30-FEB-1909 00 / 2:  59.00
02-MAR-1909 00 / 3:  61.00
04-MAR-1909 00 / 4:  63.00
06-MAR-1909 00 / 5:  65.00
08-MAR-1909 00 / 6:  67.00
yes? ! But cannot use the date 30-feb-1909 in the definition.
yes? define
axis/t=30-feb-1909:07-mar-1909:2/units=days/calendar=360_days/t0=1-jan-1909 time
**ERROR: command syntax: 30-feb-1909
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1585

Comment by<EMAIL_ADDRESS>on 7 Aug 2008 23:01 UTC
In get_context_mods, see if there is a calendar definition for the grid and
axis, and set the calendar ID before translating the date string to an axis
coordinate.


Errno::EACCES: Permission denied @ rb_file_s_rename -

bundle install
--- ERROR REPORT TEMPLATE -------------------------------------------------------

What did you do?
I ran the command /Users/Santi/.rbenv/versions/2.3.3/bin/bundle install

What did you expect to happen?
I expected Bundler to...

What happened instead?
Instead, what happened was...

Error details
Errno::EACCES: Permission denied @ rb_file_s_rename - (/var/folders/_2/cwkt7tsj6pgc7ll0lbwgzrbw0000gn/T/bundler-compact-index-20161222-58582-1gh34ur/versions, /Users/Santi/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47/versions)
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:528:in `rename'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:528:in `block in mv'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:1571:in `block in fu_each_src_dest'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:1587:in `fu_each_src_dest0'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:1569:in `fu_each_src_dest'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/fileutils.rb:517:in `mv'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb:55:in `block in update'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb:29:in `update'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/compact_index_client/lib/compact_index_client.rb:65:in `update'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/compact_index_client/lib/compact_index_client.rb:56:in `update_and_parse_checksums!'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/fetcher/compact_index.rb:67:in `available?'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/fetcher/compact_index.rb:15:in `call'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/fetcher/compact_index.rb:15:in `block in compact_index_request'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/fetcher.rb:157:in `use_api'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:332:in `block in api_fetchers'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:332:in `select'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:332:in `api_fetchers'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:337:in `block in remote_specs'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/index.rb:10:in `build'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:336:in `remote_specs'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/source/rubygems.rb:83:in `specs'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:261:in `block (2 levels) in index'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:259:in `each'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:259:in `block in index'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/index.rb:10:in `build'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:256:in `index'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:250:in `resolve'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:174:in `specs'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/definition.rb:162:in `resolve_remotely!'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/installer.rb:225:in `resolve_if_need'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/installer.rb:78:in `run'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/installer.rb:24:in `install'
  /usr/local/Cellar/rbenv/1.1.0/rbenv.d/exec/gem-rehash/rubygems_plugin.rb:27:in `install'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/install.rb:71:in `run'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:189:in `install'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:20:in `dispatch'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:11:in `start'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:34:in `block in <top (required)>'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:26:in `<top (required)>'
  /Users/Santi/.rbenv/versions/2.3.3/bin/bundle:22:in `load'
  /Users/Santi/.rbenv/versions/2.3.3/bin/bundle:22:in `<main>'

Environment
Bundler   1.13.6
Rubygems  2.5.2
Ruby      2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
GEM_HOME  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0
GEM_PATH  /Users/Santi/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0:/Users/Santi/.gem/ruby/2.3.0
Git       2.6.4
--- TEMPLATE END ----------------------------------------------------------------

Please make sure that Bundler has the appropriate permissions to read/write to /Users/Santi/.bundle and any sub folder & directory.

See the other Permission denied issues. A suite of permission errors have been addressed by #5007 which will release in Bundler 1.14.
Let us know if you're still having trouble and none of those solutions worked for you.

Closing as duplicate


Consider adding Heading component aliases

Create a set of heading components that map to different styles, per https://app.zeplin.io/project/596d11bc29e9db6303116850/screen/59ce5f3e7dae84848ceb589e
E.g.
const TitleXL = props => (
  <Heading
    fontSize={6}
    {...props}
  />
)

Closing this as it seems unneeded


Add default timestamp to not-yet-existant parent dirs

So this defines a strong behavior for parents that don't exist in the layer yet.

order matters, a directory can only be configured if it's added to the layer before any of its children
for a file with parent(s) that doesn't exist yet, a default modified time is applied.

fixes #1648
NOTE: This does not fix the out of order issue for defining directory permissions. That should be fixed in a followup (#1650)

probably going to have to do a cherry pick release off 1.1.1? wdyt?

You mean 1.1.2, right? Sounds right.


[Feature][Registry] Support consul as registry

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Consul as one of the most popular registry center. We can support it maybe.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

It's a big feature. PTAL @EricGao888 @caishunfeng @zhongjiajie @ruanwenjun

It's a big feature. PTAL @EricGao888 @caishunfeng @zhongjiajie @ruanwenjun

@MichaelDeSteven It's a good idea, looking forward to your pr.


Fix disabled tab can be enabled via rearranging inside TabContainer

Fixes #58791
When rearranging tabs, dropped tab was activated even if it was disabled.
Before :

After :

Thanks!


Enable exact match in non-default models

Non-default models need exact match too, otherwise they might regress compared to the default model, or be hard to control.
This is a sub-issue of #418

Fixed by #442


Switching over to reorganized hook modules

Deleted original hook modules and tests
Next step is to break new modules into 1 file per hook

👍 Looking forward to the next step :) I think it'll help to make it more easy to navigate (and see what's happening).

:shipit:


Release kedro-datasets 1.8.0

Changes that should go into this release (TBC):

[ ] https://github.com/kedro-org/kedro-plugins/pull/360
[ ] https://github.com/kedro-org/kedro-plugins/pull/352
[ ] https://github.com/kedro-org/kedro-plugins/pull/350
[ ] https://github.com/kedro-org/kedro-plugins/pull/341
[ ] https://github.com/kedro-org/kedro-plugins/pull/281
[ ] https://github.com/kedro-org/kedro-plugins/pull/251

[ ]  perf(datasets): delay Engine creation until need #281

I think I just need to implement this for Snowflake; will try and do this now. :fingers_crossed:


/timer/ only for 1s?

I thought when I saw:
ui.Handle("/timer/1s", func(e ui.Event) {...}
you could modify to something like:
ui.Handle("/timer/100ms", func(e ui.Event) {...}
to get 100ms delays for it to be called, but doesn't seem to work. Am I missing something?
Thanks!

Hi @Chillance In this case you need to add a timer by termui.Merge("timer", NewTimerCh(100*time. Millisecond)). This will add a 100ms timer into the underlying event system.

Wouldn't it be cool if it was possible to specify the timer that way I mentioned above? With your suggestion, it works, but this will set the same timeout for all timers, right?

That is actually a good idea! Parse the event string and add the timer accordingly, so that there is no need to add it by invoking ui.Merge.
And yes, if without explicitly using a different EvtStream, all events will share one DefaultEvtStream, then all events will be piped into it.

Will you create a feature request for it here on github so I can track it?


[REQUEST] Custom Installation directory

Describe the feature you're suggesting.
Hey, due to the very convoluted way I have my system installed, I have two tf2 installations, would it be possible for me to select which installation/directory I want to install an HUD in?
Additional information
N/A

This is already a feature in the current release (2.5), though it's a bit hard to find which we'll correct in the 2.6 release.

Closing. The feature is already available in the current release.


[Bug]: Action Email Validator missing

Apache Hop version?
2.2
Java version?
openjdk version "18.0.2-ea" 2022-07-19
Operating system
Linux
What happened?
The Action for validating Emails (https://hop.apache.org/manual/latest/workflow/actions/mailvalidator.html) can't be found.

Trying to select Action in a Workflow

Trying to select Action in a Pipeline

Issue Priority
Priority: 3
Issue Component
Component: Actions

.take-issue

This action seems not to be present in actions' plugins directories. Wasn't that action ever migrated from PDI to Hop?

It's in our other plugin repository I'm going to migrate everything that we can from there to the main repository.


PyWin32 as dependency?

Hi!
Not sure if thats an issue, but I had to install pywin32 on Windows 10 myself, shouldn't it be listed somewhere or shouldn't it be installed in a portalocker installation process as a depedency? (I'm not quite good at writing setup.py files, so can't provide PR, but I beleve this problem can be solved by adding package name somewhere)
Win 10, Python 3.6.4, virtualenv

Oh, I believe last closed issue was right about this problem.

It should install, can you show me the output of this script?
import os
print(os.name)

It should show nt, if it does than I think it could be due to an old version of setuptools/pip/whatever. Just to be safe it could help to do a:
pip install -U pip setuptools

It does show nt, yes. I updated pip and setuptools to latest versions (10.0.1 and 39.1.0) on my main system interpreter (not venv) and tried to install portalocker - only one package was added, pywin32 wasn't installed. Pip output also doesn't say anything about pywin32.
C:\Users\n_ame\Repositories\testing>pip install portalocker
Collecting portalocker
  Using cached https://files.pythonhosted.org/packages/0a/22/6a54021b020dd085d6cc03bf2243bbb7cf8808ac23be2db716780e7935c1/portalocker-1.2.0-py2.py3-none-any.whl
Installing collected packages: portalocker
Successfully installed portalocker-1.2.0

I found the issue, when using wheels the setup.py requirements are not used anymore so I'll need to update the system a bit. Thanks for letting me know :)
I'll push out a new release soon

The new release is online :)

That's great, thank you!


{AKS} Replace default pool used by test pipelines

This checklist is used to make sure that common guidelines for a pull request are followed.
Change the pool used by AKS test pipelines to 1ES-AKS-DevInfra-Auto-TearDown-Pool-EastUS.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

AKS

/azp run


add port setting

Add a port setting so that sherlock service can use either 3306 or 9001 as required.
Related to https://github.com/lsst-uk/lasair-deploy/issues/111

Looks good, thanks Gareth


⚠ ClamAV has degraded performance

In fdeef77, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in ae70b9f.


feat: add vanities

Adds vanities support.
A new mixin pattern is introduced, which adds the vanity attributes to the ContentItem class. This abstraction is still a bit leaky. For example, the create_vanity method assumes the URL path is /v1/content/:guid/vanity. But I find this design helpful since it collocates everything regarding vanities into a single file. In addition, the Content class has started to get a little unwieldy due to its size.
The use of TypedDict, Unpack, Required, and NotRequired from typing_extensions is also introduced. Thanks to https://blog.changs.co.uk/typeddicts-are-better-than-you-think.html, I discovered this pattern provides a much more succinct way to define pass-through arguments. It also greatly simplifies the verbosity of overload methods. That isn't shown here, but I have a test on another branch.
Resolves #175

Sorry for the churn on this. While writing out the cookbook recipes, I discovered a few improvements. This should be good to go now.

Ok, I'm pretty sure I'm actually done now :)


Fix topaxis bottomhover rangeofthres

add info for upload local or remote, And add a short tutorial in comments for upload data, And then fix the bug for filepath

Can one of the admins verify this patch?


Set Base URL as string or as function.

As mentioned in #18 it would be handy to have a configurable BackendURL at execution time.
My preferred approach is to pass the @BaseUrl annotation a function instead of a string.
example:
@BaseUrl(
    _ => sessionStorage.getItem("url") || "http://localhost:8080"
)

The important commit is https://github.com/Paldom/angular2-rest/pull/22/commits/2da6d04dd0803e269e4c64c6a1f6fae79a7d70e1.  Feel free to cherry-pick it.
All the other changes have been committed to satisfy Travis CI.


fix(UX): corrected overflow of instruction content

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue

Closes #16174
Description
The instruction content for challenges is flowing out of the pane.
See: https://beta.freecodecamp.org/en/challenges/basic-css/adjust-the-margin-of-an-element
All of the pane borders are offset by 4 pixels to the left. When the content doesn't reach the end of the pane, it looks fine. However, when it does reach the end of the pane, the content 'overflows'.
The update here is to make sure the pane borders are centered properly. Once centered, a small amount of padding is added to the individual panes to recapture a clean look without the overflow issues.

@67shafar This is an elegant fix! Thank you for tackling this so quickly! And congratulations on your first open source contribution to this community! 👍 🥇


fix single step method of parameterviewer

@NicoHendrickx

Why do you specifically check for a _treewidgetitem to continue? Isn't the inverse (checking if it's a valid type, instead of checking for 1 invalid one) better, or keeping the try/except as I suggested? In case later different type items get added to the viewer.

Why do you specifically check for a _treewidgetitem to continue? Isn't the inverse (checking if it's a valid type, instead of checking for 1 invalid one) better, or keeping the try/except as I suggested? In case later different type items get added to the viewer.
The try-except from the other PR silences all errors, which we do not want. I agree that the specific check on _treewidgetitem is not really nice.


Custom appendQueryParameters support

Would it be possible to add support for a custom appendQueryParameters function that could be specified when instantiating easyXDM.
e.g.
accountCommunicator = new easyXDM.Rpc({
  remote: "http://some/url/",
  appendQueryParameters: function(url, parameters, useHash, appendQueryParameters) {
    // return custom url
    return url;
  }
});

Basically I want to be able to custom build a url like so:
http://test.com/?redirect=http%3A%2F%2Ftest.com%2Fsave.html%3Fxdm_e%3Dhttp%253A%252F%252Forigin.test.com%26xdm_c%3Ddefault5740%26xdm_p%3D1

instead of the way it is build automatically:
http://test.com/?redirect=http%3A%2F%2Ftest.com%2Fsave.html&xdm_e=http%3A%2F%2Forigin.test.com&xdm_c=default5740&xdm_p=1

Why would you want to do this in appendQueryParameters? I'm guessing that what you really want is to run the finished url through a transformation (replacing it with a new url with the original url added as a urlencoded argument)?
If that is the case, feel free to make such an extension and if it looks like something that is useful (it might just), then I'll pull it in :)


DataDog support added

Added reporting task, that reports NiFi flow and JVM metrics to DataDog service. It also reports data to DataDog from every processor. All metrics are represented as Gauges. The name of each metric for processors has following format: “nifi.<processor_name>.<metric_name>”. In order to use this module, you need to have DataDog agent installed on your machine. You can configure time period to send metrics to DataDog by changing “DataDog reporting period” property when adding reporting task in NiFi UI.

@Ramizjon this is really cool.  have you already opened a JIRA for it?  Please do so and/or link the commit message to it.  More information on contribution process please see here https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide

Hello @Ramizjon, I'm gonna review this for you. Couple admin things to start.
First, the versions of the datadog poms are "0.6.1". These should be changed to "1.0.0-SNAPSHOT". Second, the datadog bundle should be listed in the nifi-nar-bundle pom as a module. Also the classes you create should have the ASF license at the top. Here is an example. The offending files are listed below. Lastly the nar should include a License in addition to the notice.
Unapproved licenses:
/Users/jpercivall/projects/nifi/nifi-nar-bundles/nifi-datadog-bundle/nifi-datadog-reporting-task/src/main/java/org/apache/nifi/reporting/datadog/DataDogReportingTask.java
/Users/jpercivall/projects/nifi/nifi-nar-bundles/nifi-datadog-bundle/nifi-datadog-reporting-task/src/main/java/org/apache/nifi/reporting/datadog/DDMetricRegistryBuilder.java
/Users/jpercivall/projects/nifi/nifi-nar-bundles/nifi-datadog-bundle/nifi-datadog-reporting-task/src/test/java/org/apache/nifi/reporting/datadog/TestDataDogReportingTask.java
/Users/jpercivall/projects/nifi/nifi-nar-bundles/nifi-datadog-bundle/nifi-datadog-reporting-task/src/test/java/org/apache/nifi/reporting/datadog/TestMetricsService.java

Also the nar needs to be added as a dependency of the nifi-assembly nar and the license/notice information added to the nifi-assembly license/notice if there is any new deps that need to be added.

@Ramizjon could you explain the flow of logic that is going on? I think you're mixing up what each of the ReportingTask methods do and not letting the framework help.
The flow of logic from the NiFi side is, the user will configure a period for the Reporting task to run. When they "start" the task the "@OnScheduled" method will be run. After that the framework will keep calling the "ontrigger" method, with the period the user set, in order to report.
I believe what you want to do is to initialize the "datadogReporter" in the OnScheduled using the user defined properties and then in the onTrigger call the "report" method of "datadogReporter".

Also doesn't DataDog use API keys in order to communicate? Shouldn't that be configured in the ReportingTask?

@JPercivall Thank you for your comments.
About two last notes: in order to report to DataDog the DropWizard metrics "Gauges" are used (A gauge is an instantaneous measurement of a value). They work in such way, that you register some metric and specify where to take the value of every metric from (line with ConcurrentHashMap<String, AtomicDouble> metricsMap). After that, DropWizard framework gets metric values from that structure with specified period of time.

Also doesn't DataDog use API keys in order to communicate? Shouldn't that be configured in the ReportingTask?
In order do deliver metrics to DataDog, the DataDog agent is used. It is the best way do to so. It collects metrics and events and reports them to DataDog. This approach doesn't require any of  API keys, but only agent installed.

@Ramizjon, the gauges make sense but the last part, "DropWizard framework gets metric values from that structure with specified period of time", doesn't. It seems (looking at this line of code[1]) that the "start" method of the DatadogReporter is causing the reporting with a specified period of time. If you just used one of the "report"[2] methods every onTrigger call you would achieve what I am suggesting.
Installing an agent may be very simple, I don't like the idea of requiring a user to install something on the box in order to work (the person configuring the flow may not have access to install locally). I would very much prefer go the extra mile to make this work without an agent locally. You mention that it's the "best way", this means you're able to report without having an agent locally?
[1] https://github.com/apache/nifi/pull/655/files#diff-3f6f231dd20c75c7f8830cc0fd156770R55
[2] https://github.com/coursera/metrics-datadog/blob/master/metrics-datadog/src/main/java/org/coursera/metrics/datadog/DatadogReporter.java#L71

@JPercivall Yes, i've already did it in the way you recommend, by calling report() method every onTrigger() call.
DataDog agent is very commonly used approach of sending metrics to DataDog. Firstly, it goes about aggregation. It is used to aggregate many data points from different sources (not only from NiFi) and send them. So if user is using DataDog for a lot of purposes it's obvious that it is more efficient to use such unified module as agent. Secondly, it works much faster than direct approach, because of accepting custom application metrics points over UDP.  The application won’t stop its actual work to wait for a response from the metrics server, which is very important if the metrics server is down or inaccessible. Thirdly, DataDog provides single-line install commands for every OS, so it is absolutely painless. However i suggest to add direct approach as additional feature, for users that don't want to install an Agent.

@JPercivall However, if you strongly recommend using direct approach, i can implement it.

@Ramizjon if there are signifiant improvements to do the local agent vs direct, I would suggest making it configurable. That way the user can use the Reporting task without needs access to the box but also make the option available for the users that need the extra performance.

@JPercivall totally agree with you.

Making it configurable makes sense. That being said the recommended method would be to submit metrics via metrics-datadog's statsd implementation.  This ensures the metrics are emitted asynchronously, and are buffered should connectivity between NiFi and Datadog be interrupted any reason.

@JPercivall PR updated

@JPercivall , the type of DataDog transport is now configurable, as we've discussed, with way to specify API key. Changed logic of reporting, now it's reporting metrics to DataDog every onTrigger call.  Added licenses and fixed dependencies. Some more refactoring is done.

@Ramizjon, thank you for updating the PR. I will probably be able to review it this weekend. Could you rebase against the latest master?

@JPercivall Thank you for your attention. I've synced with latest master.

@JPercivall PR updated. I will be grateful for the further review.

@JPercivall could you please take a look on PR when you'll have time? Thanks

Hey @Ramizjon, I will take a look now. Sorry I haven't gotten a chance to look at it earlier, been very busy getting out 1.0.0-Beta

@Ramizjon, I am attempting to test but I think there is something wrong with my Datadog account itself because I tried connecting to it with both NiFi and the OSX Agent and it doesn't get past the initial "Install your first Datadog Agent".
I reached out to @irabinovitch (works for Datadog doing community building) out of band in order to see what's wrong with my account and will comment again when I get things working.
In the mean time, could you squash your commits so that it'll be easier to merge them into master? We like to have one commit per ticket/PR in order make the history easier to understand.
Thanks again @Ramizjon for taking the time work to work on this!

Hey @Ramizjon, it looks like your squash didn't quite go right. I think you somehow squashed all the commits ever. That commit says  it has "4,279 changed files with 19,598 additions and 0 deletions." Honestly I'm not really sure how you managed to do that. You're supposed to squash all the commits you did into one commit.
Functional testing the Reporting Task, I got my OSX Datadog agent to report but the Reporting Task doesn't seem to report. I tried both HTTP and Agent configurations but neither seem to work and there are no errors being reported. Also I see in the logs the output of the report but I see nothing in my Datadog dashboard. Any suggestions?

@JPercivall yes, i faced some difficulties while squashing all commits into one. Still trying to do that in valid way.
So, you have added some widgets on the dashboard and specified metrics for them, but charts are still empty? I've tried to do the same right now, and it works..

@JPercivall Trying to squash all commits seems to be unsuccessful, as it causes squashing upstream commits as well and generally is painful. Probably i'll create new repo with current state of the working copy and open new PR from there with only one commit?

@Ramizjon don't need to create a whole repo. You can probably achieve it this way (first do "git fetch --all" to make sure you're up to date):
1: branch off of your master branch (the one with the Datadog changes) to a new branch
2: do a soft reset far enough back that you can later fast-forward to the latest apache master commit
3: commit just the changes you want to make (may need to do a "git reset HEAD --hard" after committing your changes to get rid of any random changes you don't want to commit)
4: do "git rebase origin/master".
This should fast forward your Datadog commit ahead of the latest of the master branch. Also you may want to check out this documentation on how to re-write history in Git[1]. If you get too messed up you can always use "reflog" to rewind. Let me know if you have any questions.
Also I didn't realize I needed to explicitly create a dashboard, I thought it would at least show a notification that I connected (especially when using HTTP). I will re-test once we get everything squashed.
[1] https://www.atlassian.com/git/tutorials/rewriting-history

@JPercivall Thank you for you answer. Just a few moments to clarify:

2: do a soft reset far enough back that you can later fast-forward to the latest apache master commit
Should i soft reset to my very first commit, by specifying it's hash?

And after performing all the steps you've described, should i do some extra steps for squashing or that will be enough?
Sorry, i am not very confident with extra git features, that's why i want to clarify all to do everything right.

No problem, happy to help get it right and learn.
When you do "git status" on the master branch it will tel you "you are X number of commits ahead of origin/master and Y number of commits behind origin/master" (may be other way around, did it from memory). This just means that you start differing from what origin/master has X commits ago and there are Y more commits beyond that point in origin/master.
So you will do "git reset HEAD~X" where X is the number of commits you are ahead. This will bring you back to a common point with origin/master but leave the changes that were made as unstaged/uncommitted changes.
After performing the steps you should be at a point where it says (when running "git status") "you are 1 commit ahead of master". This 1 commit should have all the changes you made for the Datadog implementation (and only those changes).
The "reflog" is a history of all the git commands you do. So if you get too mixed up, you can use reflog to rewind back to a certain command (ie. before you started everything).

@Ramizjon, another great resource for learning Git is this "Explain Git with D3" page[1]. It visually and interactively explains the different commands.
[1] https://onlywei.github.io/explain-git-with-d3/

Thank you a lot for detailed explanation.

I'm on master. Do git fetch --all. Then git status says

Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

I do git checkout -b ramizjon_datadog. Switched to new branch.
When i do git show HEAD~8 i see "added datadog bundle" commit message. Well, this is my first commit.
Do git reset --soft HEAD~8. git status shows me hundreds of files.
I do git reset to unstage all the files.
I add all my files(that i've ever created or modified) via git add <filename>.
I do git commit -m "squashing commits".
As you've recommended i do git reset HEAD --hard to get rid of changes i don't want to commit. I see

HEAD is now at da9ceac squashing commits

I do git rebase origin/master. And see

error: The following untracked working tree files would be overwritten by checkout:
....

Ok, i add all files to index.
I do git rebase origin/master again. I see some messages with content like this.

CONFLICT (rename/delete): nifi-nar-bundles/nifi-ambari-bundle/nifi-ambari-reporting-task/src/main/java/org/apache/nifi/reporting/ambari/api/MetricBuilder.java deleted in squashing commits and renamed in HEAD. Version HEAD of nifi-nar-bundles/nifi-ambari-bundle/nifi-ambari-reporting-task/src/main/java/org/apache/nifi/reporting/ambari/api/MetricBuilder.java left in tree.
error: Failed to merge in the changes.
Patch failed at 0001 squashing commits

At this step i realize that something went wrong. Could you please tell at what step has occured the mistake? Sorry for taking your time while resolving this issue...

It looks like your "origin" is not the apache or github repo so your not comparing to the correct master commit. Could you run this "git remote -v"?
That will list all the remote repos you have set up and their destinations.

@JPercivall i see this

git remote -v
origin	https://github.com/Ramizjon/nifi.git (fetch)
origin	https://github.com/Ramizjon/nifi.git (push)
upstream	https://github.com/apache/nifi.git (fetch)
upstream	https://github.com/apache/nifi.git (push)

@Ramizjon so it looks like you have the github repo added with the name "upstream" but the current upstream repo is your "origin" repo (given that when you do "git status" it checks with origin). So try running this while on your master branch:
git branch --set-upstream upstream
This will set the upstream of master to point to the github repo (which you've name "upstream"). After running that, try doing a "git status"

@JPercivall After performing this, i'm still up-to-date, but this time with upstream.

Your branch is up-to-date with 'upstream'

@Ramizjon Hmmm, that is unexpected. When you do git log do you see "commit fa639e2596cc125af80615066f500cc908d4db6a" as the first (Matt Gilman's commit for NIFI-2542)? Sorry I thought master still had the changes you made

@JPercivall actually not. I see my commit first in the git log(screenshot attached)

Well that is very weird. Could you do a "get fetch --all" and then "git status" and take a screenshot of the output?
Also Mac is super easy to take screen shots on, just hit command shift 4, then you can click and drag to select what to screenshot (hitting 3 takes the entire screen). It saves it as a file to the desktop.

@JPercivall Yes, surely. So here is the output

Yes, i know about that, thanks. I use Lightshot screenshot, it allows to copy to clipboard, save or instantly upload to server and retrieve a link.

This is very odd. If you try modifying anything does the "git status" output change? I ask because, I tried searching for a possible solution and came across this SO question: http://stackoverflow.com/questions/22067873/git-nothing-to-commit-working-directory-clean
Does it sound like what is going on (up to date but have changes committed)?
Oh ok, from your pictures it looks like there are shadows so thought I'd offer the tip.

@JPercivall Yes, as you can see, git status output changes, depending on my modifications.

Btw, when i was trying to squash commits i tried all approaches described here, and neither of them seemed to work..
http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git
Ah, that's probably because my terminal window is set up transparent x)

Hmmm the only odd difference between your "git status" and mine is that mine explictly states that it is up to date with the branch of the remote.

If you do "git branch -v" do you have a branch named "upstream"?
Ah, lol that would be it.

@JPercivall Hm, yes i have such branch..

Aha, let's first renaming the remote:
git remote rename upstream github
Then try setting it as the upstream again (added "/master" from before)
git branch --set-upstream github/master

@JPercivall doing this steps causes following error (used --set-upstream-to as --set-upstream is deprecated:

warning: refname 'github/master' is ambiguous.
fatal: Ambiguous object name: 'github/master'.

Ah ok, going off of this SO question[1] try:
git branch master --set-upstream-to github/master
[1] http://stackoverflow.com/questions/4878249/how-do-i-change-the-remote-a-git-branch-is-tracking

@JPercivall still getting the same error. I've sent you an email, let me know about your decision, please

Hey @Ramizjon, I'm actually multi-tasking on a couple of different things so can't jump on a call with you. Looking at this SO[1] try this:
`git branch master --set-upstream-to refs/remotes/github/master
If that doesn't work I'll just work on squashing everything my self on my machine when I get a chance.
[1] http://stackoverflow.com/questions/3782893/git-fatal-ambiguous-object-name-origin-release-2-6

@JPercivall Yes, it finally works. I received following message (when git status)

On branch master
Your branch and 'remotes/github/master' have diverged,
and have 9 and 34 different commits each, respectively.

@Ramizjon awesome! Now you can try resetting back 9 commits, committing just your changes, resetting to HEAD --hard. Then rebasing to github/master (may need to do the ref/ thing again).

Also you can do "git clean -i -d" in order to clean your repo of things that aren't tracked and may have snuck in.

@JPercivall , what about this option? Are you not able to do that after all when doing merge?

@JPercivall It seems like i've succeeded to squash commits. Neither of methods didn't work, until i've tried to apply patch from PR to the necessary history point.

@JPercivall please let us with Ilan Rabinovitch know, if you'll be able to perform functional testing. Thanks.

@Ramizjon I am traveling currently but yes, I will be performing basic functional testing when I am able

I will be adding a patch on top of this to fix a couple issues with styling (see travis-ci build) and licensing but:
+1
Visually verified the code and did a contrib check build. In a standalone instance and secure cluster I did basic functional testing in both Agent and HTTP mode (both require adding the dashboard in Datadog with the appropriate metrics). Thanks @Ramizjon for the contribution, I will merge it in.

Once you're ready we'd be happy to work with you all to create a tile / listing in the Datadog app, as well as a default dashboard so that users can hit the ground running with this.


24 change default number of tautomers to be enumerated

I am accepting this pull request as it improves OpenFEPOPS making it closer to the original paper implementation (5 tautomers) and has the added benefit of improving performance.

I am accepting this pull request as it improves OpenFEPOPS making it closer to the original paper implementation (5 tautomers) and has the added benefit of improving performance.


How do we pass arguments to debug a project ?

This is what I am trying to do once the build is completed on Linux box.

Right click on the executable in the solution explorer in VS and select  'Debug and launch settings" .
That  opens a launch.vs.json file which has configurations JSON object corresponding to the project/binary I want to debug.
I am unable to find out what property do I need to set in order to pass the argument before debugging the project.  Can someone help, please ?

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

ID: 296f6914-b366-1ab8-4c08-6d51fc7212fa
Version Independent ID: 04aec2e0-f39a-2e52-6a09-354222d47146
Content: Configure a Linux CMake project in Visual Studio
Content Source: docs/linux/cmake-linux-project.md
Product: visual-cpp
GitHub Login: @corob-msft
Microsoft Alias: corob

For the sake of completeness -
What property has to be set in order to pass arguments to debug mysqld  process in the below configuration json ?
"configurations": [
{
"type": "cppdbg",
"name": "mysqld (\runtime_output_directory\mysqld)(2)",
"project": "CMakeLists.txt",
"projectTarget": "mysqld (\runtime_output_directory\mysqld)",
"cwd": "${debugInfo.remoteWorkspaceRoot}",
"program": "${debugInfo.fullTargetPath}",
"MIMode": "gdb",
"externalConsole": true,
"remoteMachineName": "${debugInfo.remoteMachineName}",
"pipeTransport": {
"pipeProgram": "${debugInfo.shellexecPath}",
"pipeArgs": [
"/s",
"${debugInfo.remoteMachineId}",
"/p",
"${debugInfo.parentProcessId}",
"/c",
"${debuggerCommand}",
"--tty=${debugInfo.tty}"
],
"debuggerPath": "/usr/bin/gdb"
},
"setupCommands": [
{
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"visualizerFile": "${debugInfo.linuxNatvisPath}",
"showDisplayString": true
}
]

You need to specify the "args" element in your launch.vs.json, for example
"args": ["one", "two", "three"]
will invoke you program with three parameters.

@paulmaybee   Thanks for the reply. I added the two arguments as following and expected them to retrieve in the main() method of the program but they were not passed to the main program.  Hope I am not missing something here.
"args": [
"--port=15000",
"--datadir="/work/trunk_datadir""
],

It may be a parsing issue with the second param try
"--datadir=/work/trunk_datadir"
or if you need the quotes passed
"--datadir="/work/trunk_datadir""

@RahulSisondia is this working for you now?

I tried the above solution with a simple C app, but the arguments were not passed to the executable.


Added missing laz extension

The laspy library allows to read not only las but also laz files (assuming that laszip is installed)
Btw: Are you aware of the pylas  / lazperf libraries?
They also allow to read las/laz files and can be installed using pip (which is more convenient than the installation of laspy and laszip)

I've just made a simple timing comparison and it looks like there is a drastic performance difference between laspy and pylas when reading laz files
laspy: elapsed time: 14.988102674484253
pylas: elapsed time: 0.7680809497833252

I think that difference stems from the fact that laspy calls the command line tool of laszip

Hola @SBCV !

I've just made a simple timing comparison and it looks like there is a drastic performance difference between laspy and pylas when reading laz files
laspy: elapsed time: 14.988102674484253
pylas: elapsed time: 0.7680809497833252

I think that difference stems from the fact that laspy calls the command line tool of laszip

Nice!. I did not know about the existence of pylas (I think it did not exist back when the .las reader was added). It looks like a good and more active alternative, would be nice for a P.R.

In order to add the requested test to test_from_file.py , I opened diamond.las with Cloudcompare and stored the imported point cloud as diamond.laz.
 Or should we change the assertions?
Any recommendations?

In order to add the requested test to test_from_file.py , I opened diamond.las with Cloudcompare and stored the imported point cloud as diamond.laz.
 Or should we change the assertions?
Any recommendations?

I'm guessing that CloudCompare is exporting with float64:
http://www.danielgm.net/cc/forum/viewtopic.php?t=4167#p18933
I don't know if you can change the exported precission.
Rather than changing assertions, I think that the best option would be to cast the point coordinates to float32 (maybe using a default argument in order to let someone get float64 if needed):
https://github.com/daavoo/pyntcloud/blob/master/pyntcloud/io/las.py#L28

Rather than changing assertions, I think that the best option would be to cast the point coordinates to float32 (maybe using a default argument in order to let someone get float64 if needed):

Added default arguments for float and color. The test case for pytest runs now successfully (including color information).
Squashed the commits to keep it in a clean state.

Thank you for merging.
Regarding  pylas / lazperf: Do think it would be better to provide an alternative to laspy or should we replace it entirely?


Bitstamp trading doesnt make real API requests

docker-compose exec server zenbot trade bitstamp.ETH-USD --period=5m
output:
https://gist.github.com/webdevua/b914d2ad2706cb2f81ac002d032773b6      `
Config is correct, but there no real sell buy API calls had happened, any ideas how to fix?

Duplicate of https://github.com/DeviaVir/zenbot/issues/1288


Add config for grpc transport scheduler

Codecov Report
Patch coverage: 33.33% and project coverage change: -0.01 :warning:

Comparison is base (5f0cfee) 50.30% compared to head (305dda2) 50.29%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #89      +/-   ##
=============================================
- Coverage      50.30%   50.29%   -0.01%
  Complexity       996      996
=============================================
  Files            150      150
  Lines           6196     6201       +5
  Branches         655      655
=============================================
+ Hits            3117     3119       +2
- Misses          2844     2847       +3
  Partials         235      235

Impacted Files
Coverage Δ

...java/tech/ydb/core/impl/MultiChannelTransport.java
0.00% <0.00%> (ø)

...ava/tech/ydb/core/impl/SingleChannelTransport.java
0.00% <0.00%> (ø)

...main/java/tech/ydb/core/impl/YdbTransportImpl.java
0.00% <0.00%> (ø)

.../java/tech/ydb/core/grpc/GrpcTransportBuilder.java
51.28% <25.00%> (-1.43%)
:arrow_down:

...n/java/tech/ydb/core/impl/YdbSchedulerFactory.java
60.00% <100.00%> (+1.66%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add ability to include custom styles to the export API

There should also be a way to turn off the downloading of GitHub's styles in case you want to replace all of them yourself.

This is possible as of #150:
from grip import Grip, ReadmeAssetManager, export

CUSTOM_STYLES = []  # TODO: Add custom styles here

class CustomAssetManager(ReadmeAssetManager):
    def retrieve_styles(self, asset_url_path):
        return []

class CustomStylesGrip(Grip):
    def default_asset_manager(self):
        return CustomAssetManager(
            super(CustomStylesGrip, self).default_asset_manager().cache_path,
            style_urls=CUSTOM_STYLES)

export(grip_class=CustomStylesGrip)

Even though it's possible now, it could probably be made simpler. I don't believe this is a common use case, but if this is something you need, feel free to open a new issue to start a discussion.


Proposals: v2

Design
https://xd.adobe.com/view/b3579d9c-c8b7-43c1-9fe1-a5a11f92e3ad-e604/
Passing Criteria

[ ] as a DAO user, I want to have the ability to see staging proposals in the list view
[ ] as a DAO user, I want to have the ability to see the proposal history
[ ] as a DAO user, I want to have the ability to see the circle name on the proposal card
[ ] as a DAO user, I want to have the ability to see the archetype name on the proposal card

Notes

@arsenijesavic can you update design link because this link have not proposal card design?


Add PR builds with unsafe disabled

Motivation:
We recently had a bug which only showed up when the memoryAddress of a direct buffer could not be accessed directly. We didnt catch this as the memory address always was accessible by unsafe. Let's add a PR build job which explicit disable unsafe.
Modifications:

Add profile which disables unsafe during build
Add job which builds with unsafe disabled

Result:
Better test coverage

/cc @JBou

Nice ... already found another bug :)


[Bug]: Arize Phoenix non-default port only works when set through the environment PHOENIX_PORT

Bug Description
You can set the Phoenix port in code or in the environment, and that will launch the Phoenix app to that port.  However, Llama Index will only use the default port 6060 unless the Phoenix port is set in the environment.  If you set the Phoenix port in code only, Llama Index's callback won't communicate with Phoenix.
if os.getenv("PHOENIX_IS_ON") == "TRUE":
    import phoenix as px
    from llama_index import set_global_handler
    session = px.launch_app(port=6081) # <--- this alone doesn't help
    set_global_handler("arize_phoenix")

You need this:
Environment
PHOENIX_PORT=6081

Version
839.post1
Steps to Reproduce
You can probably reproduce with the phoenix tutorial
https://docs.llamaindex.ai/en/stable/end_to_end_tutorials/one_click_observability.html
https://colab.research.google.com/github/Arize-ai/phoenix/blob/main/tutorials/tracing/llama_index_tracing_tutorial.ipynb
I am using an Azure OpenAI gpt 3.5 turbo, but I doubt this would change anything...
Relevant Logs/Tracbacks
No response

hi @aerickson-clt one of the maintainers of phoenix (https://github.com/Arize-ai/phoenix). Glad you tried it out!
We have the port documented but agree it's kinda confusing that you would have to use the environment variable instead of the parameter in the case of traces. In the cases the tracer's exporter and the phoenix app need to talk on the same port so this is why it fails.
https://docs.arize.com/phoenix/api/session#environment-variables
Hope that helps and let me know if anything else needs clarifying.


Write GKE deployment guide for Reporting server.

This change is

Depends on #649.

Awesome Work Team.
M3 is now complete and available.


Add mockup for calendar grid preview

On hold until needed endpoints is completed

Not sure why I put this on hold; this was for a mockup which was created.


Clean up installation guides

Description
Since the developer and user installation docs are tangled with each other right now, this PR aims to simplify them.
Fixes #3195
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[ ] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Made some formatting changes as I was not able to request changes on some of the lines.

Thanks @Saransh-cpp 🙂


jwm in a non-GNU toolchain based system

Hi, joe, long time no contact.
Can I have some comments on the possability of using JWM in a non-gnu system such as nenuzhnix  (https://github.com/tpimh/nenuzhnix) please. I know it's early days, but a few thoughts at this time would be appreciated.
were considering a musl/clang/llvm/ etc system and no-one has gotten into a desktop yet.

So without X11, I'm not sure how much use JWM would be, but I've successfully used JWM on BSD-based systems using LLVM.  The license certainly shouldn't be a problem.

Greetings, thought we'd lost you.
I'm considering building a nenuzhni with a musl/clang/llvm/etc base, since it may be at least be possible with JWM, then i'll look at it and see if it can be done.
As I said it's eartly days and we really don't have a selected (or any idea of a real) desktop yet, let alone quite a number of other packages. It  just is not to contain any of poettering's bloatware in base system (this means no systemd, yay!), xorg or any other xserver (wayland ftw!), scripts written not in posix shell in base system and their interpreters, any code from gnu project (this makes this projects a pain).
I thought of JWM of course from Puppy, but also looked at a few others (which failed) and am looking at ede at present and have cde yet to even approach. I think i'm missing jwm 'bits' though and will use JWM as the third alternative to work with.


Creating Fully Functional Docker Image

Fixes #18

Such a great work! Thank you so much @taiidani !

This is code

Closing due to Kelsey already making this change to master outside PR. Good times!


Fool-proof class instantiation

$module is provided by the user
Maybe we can get rid if $instance

Thanks!


AD authentication at server-level for standard users

It is unclear how to allow an AD group standard users to login to the db using user's AD credentials at the server level.
I've created a group for them at the DB instance level and the master level, and assigned the group to the DB instance's read-only role, but I'd like them to be able to authenticate to the SQL server using SSMS so they can view all DB instances in one place.
Can you please cover that in your doc?

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

ID: 2d4a33b0-87d0-f60c-1b52-aeafa889e657
Version Independent ID: c281bdb7-c98c-6853-5077-41b3dd44d3a2
Content: Configure Azure Active Directory authentication - Azure SQL Database & SQL Managed Instance & Azure Synapse Analytics
Content Source: articles/azure-sql/database/authentication-aad-configure.md
Service: sql-database
Sub-service: security
GitHub Login: @GithubMirek
Microsoft Alias: mireks

@sarah026 Thank you for making us aware of this gap in the documentation. If you want server-level logins based upon Azure AD entities, please see: Creating a login for a local Azure AD account. Just like you create contained database users by only running CREATE USER ...  at user database, if you want server level login based upon Azure AD identities, you would run CREATE LOGIN ... against master.

CREATE LOGIN<EMAIL_ADDRESS>FROM EXTERNAL PROVIDER
GO

Thanks Mike, I've already tried that, but unfortunately the synatx doesn't work
CREATE LOGIN [mygroup] FROM EXTERNAL PROVIDER
GO
It says :
Msg 102, Level 15, State 48, Line 1
Incorrect syntax near 'PROVIDER'.

Thank you for this additional detail. Non-Admin users do not have access to server-level roles. They only have access to database-level roles.
You could achieve this with SQL Authentication but in the case of contained database users that are part of an AD Group, there is no means to apply server-level roles and the database name must be passed for the authentication to be successful. This narrows the scope to list only the database the user has access to. With SQL Auth, a user would be able to access an Azure SQL (logical) Server and see all databases it hosts. In the case of an AD USER, they will only see the database they are currently accessing. In the case of an AD Admin, they will see all databases.

@sarah026 If there are no further questions regarding this, we will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


bgpv1: Disable PodCIDR Reconciler for unsupported IPAM modes

PodCIDR shouldn't take any effect for the unsupported IPAM modes. Modify ExportPodCIDRReconciler's constructor to not provide ConfigReconciler for unsupported IPAMs.
bgpv1: Disable PodCIDR Reconciler for unsupported IPAM modes

/test

/test

Conformance AKS: https://github.com/cilium/cilium/issues/31216
Conformance Runtime: https://github.com/cilium/cilium/issues/31217


Page - Templates

Feature description
Allows users to quickly create a new story from scratch, or start with one of the 10+ included templates

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Closing this ticket as it is not actionable. Please file smaller, actionable issues.


Merge pull request #2 from keplerproject/master

merge from keplerproject/copas

merge from keplerproject/copas


chore: support specify the branch for downloading dependencies through env variable

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/11575
Related to this PR: https://github.com/PingCAP-QE/ci/pull/3111
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
[x] No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/retest

/retest

/check-issue-triage-complete

/cc @wk989898 @CharlesCheung96 @lance6716

Need to modify the part involved in the download-Integration-test-binaries.sh https://github.com/pingcap/tiflow/blob/4ccbc94a2dad710e30c94464bcb87a3e18cbded6/Makefile#L606-L608
https://github.com/pingcap/tiflow/blob/4ccbc94a2dad710e30c94464bcb87a3e18cbded6/tests/integration_tests/README.md?plain=1#L6

prepare_test_binaries

No modifications are needed. The prepare_test_binaries in the Makefile is for community users to download, and this modification still retains that functionality (downloading from a public address instead of an internal address).

Need to modify the part involved in the download-Integration-test-binaries.sh
https://github.com/pingcap/tiflow/blob/4ccbc94a2dad710e30c94464bcb87a3e18cbded6/Makefile#L606-L608
https://github.com/pingcap/tiflow/blob/4ccbc94a2dad710e30c94464bcb87a3e18cbded6/tests/integration_tests/README.md?plain=1#L6

The modifications of this PR are mainly to configure changes on the CI side(https://github.com/PingCAP-QE/ci/pull/3111), supporting the passing of environment variables in tiflow CI to specify dependent branches.

/retest

/retest


[improve] Removed usages of SafeRun

Motivation
With BK 4.16, we don't need to pass SafeRunnable instances to the OrderedExecutor anymore. The executor has embedded the logic of checking and logging exceptions.
Removing the SafeRun will avoid extra allocations in critical path and clutter of the code
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: (https://github.com/merlimat/pulsar/pull/6)

Codecov Report

Merging #20060 (163cf54) into master (470b674) will increase coverage by 39.81%.
The diff coverage is 82.88%.

@@              Coverage Diff              @@
##             master   #20060       +/-   ##
=============================================
+ Coverage     33.13%   72.94%   +39.81%
+ Complexity    12164     3575     -8589
=============================================
  Files          1497     1857      +360
  Lines        114032   137560    +23528
  Branches      12373    15135     +2762
=============================================
+ Hits          37782   100345    +62563
+ Misses        71340    29234    -42106
- Partials       4910     7981     +3071

Flag
Coverage Δ

inttests
24.38% <35.16%> (?)

systests
24.97% <37.91%> (?)

unittests
72.22% <81.81%> (+39.08%)
:arrow_up:

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

Impacted Files
Coverage Δ

...che/bookkeeper/mledger/LedgerOffloaderFactory.java
50.00% <0.00%> (+50.00%)
:arrow_up:

...ain/java/org/apache/pulsar/broker/rest/Topics.java
100.00% <ø> (+100.00%)
:arrow_up:

...va/org/apache/pulsar/broker/service/ServerCnx.java
71.17% <0.00%> (+32.69%)
:arrow_up:

...ker/stats/prometheus/metrics/LongAdderCounter.java
0.00% <0.00%> (ø)

...lsar/sql/presto/PulsarConnectorMetricsTracker.java
30.82% <0.00%> (ø)

...d/filesystem/FileSystemLedgerOffloaderFactory.java
0.00% <0.00%> (ø)

...r/offload/jcloud/JCloudLedgerOffloaderFactory.java
0.00% <0.00%> (ø)

...java/org/apache/pulsar/broker/rest/TopicsBase.java
58.45% <42.85%> (+58.45%)
:arrow_up:

...g/apache/pulsar/client/impl/ClientBuilderImpl.java
84.76% <50.00%> (+45.31%)
:arrow_up:

...a/org/apache/pulsar/client/impl/TableViewImpl.java
85.95% <54.54%> (+30.95%)
:arrow_up:

... and 20 more

... and 1505 files with indirect coverage changes


specify modular project & implementation

@todo

[ ] plan for modules and repositories and define their content
[ ] make repositories

datdot/           # main repo
datdot-substrate/ # blockchain
datdot-service/   # manage dat hyper-*
datdot-electron/  # cross-platform menubar app
datdot-daemon/    # offers RPC/IPC API to interact with chain and service
datdot-vault/     # standalone user account management
datdot-webapp/    # https://github.com/ninabreznik/pinning-service-webpage
datdot-research/  # research

added to spec here


Rename Stores that are directly associated with a page to ViewModels

An ongoing task to rename stores and move them into the page folders for ease of identification and ease of finding in the project structure


Container/Component file structure proposal

Currently the containers/components are organized in //index.js
Problem is if I search for the App Container in Subline/IntelliJ I get a lot of index.js files but no App.js
That makes is really hard to find, and slow to switch between files.
Proposal: change the folder structure to use index as a "dummy" wrapper.
- containers
| - App
  |- index.js
  |- App.js
  |- ...
|- OtherContainer

with index.js only importing and exporting as a wrapper
import App from './App';
export default App;

Pro: Unique File names, faster switching
Cons: 1 additional file
Happy to create Pull request if people agree.

 See the last few posts in #27.

@nikgraf ping you're going to love this


perf: use stream methods from api

Don't operate on whole buffers of files, instead use the stream methods from the files api.
Also updates deps and adds a bit of logging.

This repo needs CI, ping @ipfs-shipyard/dx

Interesting idea, it'd be good to benchmark them.

@dominictarr had some very good benchmarks comparing both. I'm not being able to find them right now but if I do, I'll forward it to you :)

there are some very mirco benchmarks in the pull-stream repo: https://github.com/pull-stream/pull-stream
There is also a simple benchmark for reading a large file in pull-file https://github.com/pull-stream/pull-file/blob/master/examples/bench.js I managed to get this faster than node streams with minimal effort, although when doing actual IO, because you are mostly waiting for IO to happen means that pull-streams probably doesn't make as much difference.


Mask query strings in backend logs

Currently we display username and passwords in the log.
i.e
{"time":"2018-02-15T16:46:30Z","remote_ip":"<IP_ADDRESS>","method":"POST","uri":"/v1/auth/login/cnsi?cnsi_guid=32b6c1ec-9e47-4f1c-9412-e433fab7dec5&username=admin&password=changeme","status":401, "latency":113,"latency_human":"113.882µs","bytes_in":2,"bytes_out":43}

Done


newlayout DVS 0.6.2 chinese community feedback

https://bitsharestalk.org/index.php?topic=13811.msg179892#msg179892

fixed. see https://github.com/BitShares/web_wallet/issues/567


Error while running the pretrained model

I am trying to use the pretrained model on my own data set and find the coreference resolutions. However, after loading the pretrained model using setup_pretrained.sh, when I try to run python singleton.py best I am getting an IOError that glove.840B.300d.txt.filtered file is not found. I checked the stack trace and my directory files and the txt.filtered is not created any time during the execution.
Am I missing anything here, please clarify. Also, can you please tell me what exactly I need to do if I intend to use your model to work on my dataset and give me the output? How do I specify my input file (assume it is a text file with the data) for the program to process and give output?

The best config is used for training only, and uses the filtered glove file generated by setup_training.sh. You should use the final config instead; this uses the original unfiltered glove file which should have been downloaded by setup_all.sh

Is there any minimum memory requirement for the program? I am currently trying to run this on a virtual instance of Ubuntu 16.04 with 2GB RAM.
Whenever I run singleton program/demo/test_single programs, it gets Killed.

The model is quite memory intensive, though I'm not sure what the exact requirements are.
A lot of memory is wasted on keeping around glove embeddings for extremely rare words. You might want to try truncating the embeddings file as suggested here: https://github.com/kentonl/e2e-coref/issues/1.


cmd/compile: vargen numbering collisions

This program is valid and the sub package successfully compiles, but then fails at import: https://play.golang.org/p/sGmXu0Bix_W
This is because we reset vargen numbering at function literals, so the two x variables both get exported with the same name. We should probably just get rid of vargen for ONAMEs. We can disambiguate by the Names directly.
/cc @danscales

This is fixed on dev.regabi.

This is fixed on dev.regabi.


Page refreshing when navigate inside tabs

Bug Report
Ionic Info
ionic V4.0.2
Describe the Bug
I’m getting problem of page refreshing when navigate to others tabs. for example I got 3 tabs (homepage, account, feedback) then inside account tabs got a link that navigate to other page (give name as detail page) then I go back to account tabs by pressing ion-back-button inside detail page. Then, when I want to navigate to feedback tabs, the page will become white like refreshing and go to homepage by default.
Steps to Reproduce
Steps to reproduce the behavior:

Go to any tabs and create one button or link that will navigate you to other page lets say detail page.
Then click that link/button and navigate to detail page.
Inside detail page, click on ion-back-button to go back to previous tabs
Then try to navigate to any different tabs
See error (page will refresh and go back to default tabs)

Expected Behavior
Can navigate to others tabs smoothly without refreshing page occurs.

I have same problem

The same here, but there’s already open issues related.


stasis beds could use an on/off functionality

would make it easier to treat patients on them instead of having to move them around different beds

But you'd have to move patients around anyway, since stasis bed doesn't provide medical bed stats


Adapted 'fr-FR' translation based on the 'en-US' one

Following missing translations in the French version of the app, this PR proposes a new version of the 'fr-FR' translation:

Completed some missing FR translations
Changed file order based on 'en-US' translation file to ease future maintenance
Added missing translation fields based on 'en-US'

Hell yeah, thank you!


hello_world: "No rule found for alias ..."

I cloned jbuilder, cd'ed to jbuilder/example/sample-projects/hello_world, and entered jbuilder build @install, as specified in README.org in that directory.  I get this error:
No rule found for alias example/sample-projects/hello_world/install
This is with OCaml 4.05.0 after opam update and opam upgrade.
On discuss.ocaml.org, Thomas Leonard pointed out that adding --root=. to the jbuilder build command line fixes the problem, and that "Moving the example directory outside of the main jbuilder tree also fixes it."  He suggested that it might have to do with the jbuild-ignore file.  I assume he means the one in the examples directory.
Removing examples/jbuild-ignore allows jbuilder build @install to compile hello_world.exe, although then it's placed under a _build directory in the root of the jbuilder repo.

Yes, the jbuilder tree itself is somewhat complicated by the need to stop jbuilder from always building examples and tests (since tests for jbuilder necessarily include jbuild files themselves, the composability of jbuilder of kinda not our friend here!).
The obvious fix is to update README.org, but I wonder if we need an additional step in the determination of the root (see also #234, which is loosely related) - I've had it on other projects where it would be useful if determination of the root didn't go past directories which are supposed to be ignored (opam's latest build system sets up all kind of weirdness in src_ext both to vendor libraries and bootstrap jbuild itself as part of its own build system). Two possible mechanisms:

Introduce a new file jbuild-stop - the traversal in bin/main.ml would know that the workspace root is not allowed to be considered above this directory. Thus, if we put example/sample-projects/jbuild-stop and example/sample-projects/hello_world/jbuild-workspace.dev then cd example/sample-projects/hello_world && jbuilder build would work, since the root jbuild-workspace.dev would not be traversed.
Do (1) implicitly based on jbuild-ignore and require that the root may not be in a directory which involves passing through an ignored directory. In this case the sample-projects entry in example/jbuild-ignore would mean that the jbuild-workspace.dev in the repo root would be ignored and the root would be computed as example/sample-projects.

I think (2) is probably the better idea - (1) may be explicit, but it adds yet another piece of clutter in the worktree...
/cc @diml, @lpw25, @rgrinberg

(2) seems fine to me since jbuilder does nothing interesting in an ignored sub-tree

I requested a feature like jbuild-stop here.
The reason why I suggested a jbuild-stop, is because I can't control the contents of other packages/repos/dependencies, which I might be building in a directory like ./temporary_build_sandbox. I can't make them include a jbuild-workspace.dev, or even a jbuild-ignore. I can, however, force there to be a jbuild-stop at ./temporary_build_sandbox (or perhaps a temporary_build_sandbox/jbuild-ignore that includes ./temporary_build_sandbox within itself.

IMO jbuild-stop would also be a good feature. Though, I would prefer to call it jbuild-root.

As long as there's some way to prevent jbuilder from climbing higher, it will work for us. Files are nice because they're easy to debug and witness from the command line. Environment variables need to be set by your package builder/test suites and once the tests/builds are done running it's hard to dig in and prove it was setting the environment variable correctly at the right time

@jordwalke

I can't make them include a jbuild-workspace.dev, or even a jbuild-ignore

Can't you already do this with $ touch jbuilder-workspace? Jbuilder will still traverse up in this situation to look for a higher level jbuilder-workspace but it will not find it in your case. Seems like it would ignore exactly as a jbuild-stop in your case.

I believe this issue has been solved by dune-project files


python310Packages.angr: 9.2.33 -> 9.2.34

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 211453 run on x86_64-linux 1

3 packages failed to build:

python311Packages.angr
python311Packages.angrcli
python311Packages.angrop

13 packages built:

python310Packages.ailment
python310Packages.angr
python310Packages.angrcli
python310Packages.angrop
python310Packages.archinfo
python310Packages.claripy
python310Packages.cle
python310Packages.pyvex
python311Packages.ailment
python311Packages.archinfo
python311Packages.claripy
python311Packages.cle
python311Packages.pyvex


Connect to a specific domain

Hello, sorry to disturb again. Is it possible to connect to a specific domain? In config.yml i have 3 different domains, can I connect to a specific domain for example:
$ldap = $this->get('ldap_tools.ldap_manager.domain1');

Currently the way you would do it is to switch context of the LDAP manager:
$ldap = $this->get('ldap_tools.ldap_manager');
$originalDomain = $ldap->getDomainContext();

$query = $ldap->switchDomain('domain1')->buildLdapQuery();
$groups = $query->fromGroups->select(['name', 'members'])->getLdapQuery()->getResult();

// Switch back to the original domain context...
$ldap->switchDomain($originalDomain);

But that does feel kinda clunky/awkward if you're doing it a lot.

Also, if you want the authentication to use a specific domain you can use a select element in your HTML with an ID of _ldap_domain. Then your different options for your select element would be your domains with the domain FQDN as the value. I should probably add an example for that to the docs.

I tried using $query = $ldap->switchDomain('domain1')->buildLdapQuery();
I have this set in config.yml
domains:
domain1:
domain_name: "%par1%"
username: "%par2%"
password: "%par3%"
servers: "%par4%"
base_dn: "%par5%"
When I run the site I'm getting error:
Domain "domain1" is not valid.
500 Internal Server Error - InvalidArgumentException

The domain name you use in the switchDomain() method is the value of the domain_name from your config (your FQDN essentially).

It is working. Thank you very much!!!
2016-09-27 23:25 GMT-03:00 Chad Sikorra<EMAIL_ADDRESS>
The domain name you use in the switchDomain() method is the value of the
domain_name from your config (your FQDN essentially).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ldaptools/ldaptools-bundle/issues/5#issuecomment-250055324,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUOJ8nRRgv_03QK_B_moxMKcgdd7mbwvks5qudApgaJpZM4KFWlR
.

--
Jakob Eissler
Ingeniero Civil en Computación e Informática
<EMAIL_ADDRESS>

I also made the switchDomain() method exception message more helpful now: https://github.com/ldaptools/ldaptools/commit/2fb7cee7757ffc13a0679544c61491d9b0c4db77. Glad you got it working!


Change of tablet IP adress

Hiya
I have changed my tablet's IP address that is running Fully (realised it was not static - have fixed now) - so how do I now change the IP address in the integration to regain connection?
Thanks!!

NM - I just deleted and reinstalled.


Collection Log - Item picture in embed notification

Sorry if I'm opening to many issues but me and my friends love this plugin and we still think we have some good idea's to add to this plugin.
Would it be possible to put a picture of the item in the collection log embedded message?
If i remember correctly embedded messages can include up to 4 images.
Would be great if this could be toggled so that I could disable screenshots and include item pictures.
Thanks in advance!

Already added in #128
Will be available in 1.2.1 runelite/plugin-hub/pull/3798

Great, sorry I missed that.


make sure setState for same state do not come on same ms

see https://forum.iobroker.net/post/835579

Thank you

let's wait for a test ok from forum, then a release would be great


Remove timed property from setMass and setColor

Apparently some addons use the "CanTool" hook to log tool usage (instead of actually using the tool), so having a setColor/setMass gate would spam that log many times per second.
The setter gates have no point in being timed, unless you have something else changing the color.
This leaves the example case when a color gates sets the color to red, but the player uses the color tool to change it to green. I see two possible options:

Color stays green (this PR in current form)
Color changes back to red immediately (current behavior)

Current behavior could be retained by not removing timed, but instead checking if the current color/mass of the entity matches the target color/mass before actually calling CanTool and applying the color/mass.

Looks good, I just need to see what all 'timed' does to be sure.

Cantool checks are pretty annoying for server logs. I think we can make a Wirelib function that defaults the CPPI and falls back to cantool.

So the effect of this is that the attached entity will only have the property set when the input is triggered rather than continuously.


Rework to greatly simplify Xilinx execution

This was not necessarily a wise allocation of time, but I have been meaning to overhaul the way that we invoke the Xilinx toolchain for a long time. The end result is that it sets the necessary environment stuff internally now, so instead of doing this (which was required before):
EMCONFIG_PATH=`pwd` XCL_EMULATION_MODE=hw_emu XRT_INI_PATH=`pwd`/xrt.ini bash -c 'source /scratch/opt/Xilinx/Vitis/2020.2/settings64.sh ; source /scratch/opt/xilinx/xrt/setup.sh ; fud e foo.xclbin --to fpga -s fpga.data data.json'

You can just do:
fud e foo.xclbin --to fpga -s fpga.data data.json

…and all the necessary configuration stuff comes from your fud config. (This is part of #1037 and #856 but does not completely address them. (It should now hopefully be simple to fix those.))
The underlying mechanism is that we now have a standalone tool, called xclrun, that gets invoked as a subprocess from the relevant fud stage. This means the fud stage can do all its sourceing and all that before invoking the subprocess. xclrun is also not too hard to use as a standalone utility if you need to debug things.
The documentation and tests are also updated. I needed to some cleanup in the Xilinx tests too; that is done. Finally, this also adds --disable-verify to the Calyx compiler invocation when we're generating code for the Xilinx toolchain (which is necessary---otherwise, xsim detects a spurious conflict for a reason I'm only partially clear on and crashes, leaving the PYNQ host process hung). This is probably relevant to #1470.

I've not read the code yet but the description is awesome! Feel free to merge without approval!