Adding I2C devices to device tree with the same address on different busses generates excessive warnings.

Describe the bug
Given the following scenario, build warnings are generated when adding devices to device tree:

I2C1:

Device address: 0x48
Device address: 0x49

I2C2:

Device address: 0x48

To Reproduce
Add 3 devices to the device tree as shown below. Two devices on different busses must have identical I2C addresses:
&i2c1 {
	status = "okay";
	max31875_0: max31875@48 {
		compatible = "maxim,max31875";
		reg = <0x48>;
		status = "okay";
		label = "MAX31875_0";
	};
	max31875_1: max31875@49 {
		compatible = "maxim,max31875";
		reg = <0x49>;
		status = "okay";
		label = "MAX31875_1";
	};
};
&i2c2 {
	status = "okay";
	max31875_2: max31875@48 {
		compatible = "maxim,max31875";
		reg = <0x48>;
		status = "okay";
		label = "MAX31875_2";
	};
};

Building will generate the warnings shown in Screenshots or console output below. Making any of the following changes will cause the build warnings to go away (but are not acceptable workarounds):

Disable any of the three devices
Change  reg for max31875_2 to 0x50 (or any non-conflicting value)

Expected behavior
To be able to add devices with the same I2C address to different busses without build errors or warnings.
Impact
We consider this a blocking issue for our board bring-up. The amount of warnings generated is severe and makes it difficult to discern other warnings and errors.
Screenshots or console output
Build warnings for one file being built. These warning repeat multiple times.
[161/162] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
In file included from /home/djbroxson/xxx/third-party/zephyr/zephyr_rtos/v2.1.0/zephyr/include/generated_dts_board.h:16:0,
                 from /home/djbroxson/xxx/third-party/zephyr/zephyr_rtos/v2.1.0/zephyr/include/arch/arm/arch.h:20,
                 from /home/djbroxson/xxx/third-party/zephyr/zephyr_rtos/v2.1.0/zephyr/include/arch/cpu.h:17,
                 from zephyr/isr_tables.c:7:
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:338:0: warning: "DT_MAXIM_MAX31875_0_BASE_ADDRESS" redefined
 #define DT_MAXIM_MAX31875_0_BASE_ADDRESS __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005800_MAXIM_MAX31875_48_BASE_ADDRESS
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:233:0: note: this is the location of the previous definition
 #define DT_MAXIM_MAX31875_0_BASE_ADDRESS __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005400_MAXIM_MAX31875_48_BASE_ADDRESS
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:339:0: warning: "DT_MAXIM_MAX31875_0_BUS_NAME" redefined
 #define DT_MAXIM_MAX31875_0_BUS_NAME __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005800_MAXIM_MAX31875_48_BUS_NAME
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:234:0: note: this is the location of the previous definition
 #define DT_MAXIM_MAX31875_0_BUS_NAME __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005400_MAXIM_MAX31875_48_BUS_NAME
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:340:0: warning: "DT_MAXIM_MAX31875_0_LABEL" redefined
 #define DT_MAXIM_MAX31875_0_LABEL __DEPRECATED_MACRO    DT_ST_STM32_I2C_V2_40005800_MAXIM_MAX31875_48_LABEL
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:235:0: note: this is the location of the previous definition
 #define DT_MAXIM_MAX31875_0_LABEL __DEPRECATED_MACRO    DT_ST_STM32_I2C_V2_40005400_MAXIM_MAX31875_48_LABEL
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:341:0: warning: "DT_MAXIM_MAX31875_0_STATUS" redefined
 #define DT_MAXIM_MAX31875_0_STATUS __DEPRECATED_MACRO    DT_ST_STM32_I2C_V2_40005800_MAXIM_MAX31875_48_STATUS
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:236:0: note: this is the location of the previous definition
 #define DT_MAXIM_MAX31875_0_STATUS __DEPRECATED_MACRO    DT_ST_STM32_I2C_V2_40005400_MAXIM_MAX31875_48_STATUS
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:342:0: warning: "DT_MAXIM_MAX31875_0_STATUS_ENUM" redefined
 #define DT_MAXIM_MAX31875_0_STATUS_ENUM __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005800_MAXIM_MAX31875_48_STATUS_ENUM
zephyr/include/generated/generated_dts_board_unfixed.h.deprecated:237:0: note: this is the location of the previous definition
 #define DT_MAXIM_MAX31875_0_STATUS_ENUM __DEPRECATED_MACRO   DT_ST_STM32_I2C_V2_40005400_MAXIM_MAX31875_48_STATUS_ENUM

Environment (please complete the following information):

OS: Linux
Toolchain: Zephyr SDK / GCC
Zephyr version: 2.1.0

Additional context
N/A

max31875 doesn't seem to be a driver in the code base.  As I'm assuming this is your own driver, then you are using deprecated DTS generated macro's and thus you are getting those warnings. This is expected behavior.

@jbroxson-fbrl you need to convert your driver to use the new macros.


Added prefix and delimiter support to file list API call.

Thanks @crazyscience for the PR.
Are you able to update the failing tests and push another commit.
Then I can merge and publish 👍

@yakovkhalinsky There ya go.


net/http: Program crash when handling panic with wrapped http.ErrAbortHandler

What version of Go are you using (go version)?

$ go version
go version go1.21.0 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN='/home/eric/work/bin'
GOCACHE='/home/eric/.cache/go-build'
GOENV='/home/eric/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/eric/work/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/eric/work'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/home/eric/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/eric/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.0'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build978392017=/tmp/go-build -gno-record-gcc-switches'

What did you do?

The net/http.conn.serve method is equipped to handle a special case for when panic is called with http.ErrAbortHandler by downstream http.Handler implementations where it silently recovers and prevents the program from crashing.
When chaining http.Handler implementations, if an http.Handler uses  golang.org/x/sync/singleflight.Group, and an http.Handler downstream of that panics with http.ErrAbortHandler, the singleflight package recovers from the panic first, wraps the panic value in its own private error type, and re-panics with its private type. When the new panic gets to net/http.conn.serve, a direct comparison is made to see if err != ErrAbortHandler. Since technically err is not ErrAbortHandler, just another error type that wraps ErrAbortHandler, net/http.conn.serve does not handle the special case and allows the program to crash.
Example where net/http.conn.serve handles the panic and the program does not crash:

https://go.dev/play/p/kremq3UCgEy

Example using golang.org/x/sync/singleflight.Group where net/http.conn.serve does not handle the panic and the program crashes:

https://go.dev/play/p/KSRab3EybtA

What did you expect to see?
When using golang.org/x/sync/singleflight.Group in a chain of http.Handler implementations where a panic(http.ErrAbortHandler is called downstream, net/http.conn.serve is able to unwrap errors to determine if the error is actually http.ErrAbortHandler and handle the panic without allowing the program to crash.
What did you see instead?
The program crashes with the message panic: net/http: abort Handler.

cc @neild

Since technically err is not ErrAbortHandler, just another error type that wraps ErrAbortHandler, net/http.conn.serve does not handle the special case and allows the program to crash.

net/http swallows all panics from handlers. ErrAbortHandler just controls whether it logs an error or not.If the program is crashing, something else is going on.

The net/http change in https://go.dev/cl/526418 seems reasonable to me in isolation--we're checking for ErrAbortHandler, I don't see a good reason not to check for errors which wrap ErrAbortHandler.

singleflight's abstraction is leaky for panics: If the function passed to singleflight.Group.Do panics, then Do propagates the panic, but it hides the original panic value in a type which adds a stack trace. There is no way for the caller to recover the original panic.
singleflight does not document how it handles panics.
https://go.dev/cl/526171 proposes changing singleflight to wrap the original panic value, when that value is an error. This will allow recovering the original panic value, but only when that value is an error.
I'm uncertain about the special handling of error values; what if the panic value isn't an error, but the caller wants it anyway? On the other hand, it seems useful for singleflight to add stack information for the source of the original panic, and when the original value is an error using error wrapping to augment that error is fairly sensible.


Allow disabling color picker

Use case: I'm writing an extension for a CSS preprocessor. As part of our syntax, we have imported variables. When those variables are color values, I present return a ColorInformation for them, so they get the color indicator. However, I would like to disable the color picker when hovering over the indicator, as users can't change the value of the variable.
I send an empty result for the color presentation request in this case, which prevents the color picker from changing the color, but I would like it not to open at all. Is it possible to make the color picker not open when the color presentation result is empty?
Good color picker (with presentation result, will change color on click):

Unwanted color picker (no presentation result, will not change value on click):

Let's track this issue in https://github.com/Microsoft/vscode/issues/34341, thanks for your feedback!


Why still calculate loss when conducting evaluation? and IndexError reported also

[2022-10-09 21:10:13,443 main.py:283 INFO consistency-regularization] Construct dataset.
[2022-10-09 21:10:13,478 main.py:129 INFO consistency-regularization] 4485536 training items found.
[2022-10-09 21:10:13,478 main.py:131 INFO consistency-regularization] 62944 valid items found.
[2022-10-09 21:10:13,478 main.py:133 INFO consistency-regularization] 147209 test items found.
[2022-10-09 21:10:13,478 main.py:289 INFO consistency-regularization] Construct model.
[2022-10-09 21:10:13,789 model_vision.py:38 INFO consistency-regularization] Read vision model from workdir/semimtr_vision_model_real_l_and_u.pth.
[2022-10-09 21:10:33,487 model_language.py:38 INFO consistency-regularization] Read language model from workdir/abinet_language_model.pth.
[2022-10-09 21:10:33,537 main.py:292 INFO consistency-regularization] Construct learner.
[2022-10-09 21:10:33,597 main.py:301 INFO consistency-regularization] Start testing
Traceback (most recent call last):------------------| 0.00% [0/2 00:00<?]
File "main.py", line 306, in
main()
File "main.py", line 302, in main
test_on_each_ds(learner)
File "/media/disk4/flbl/cdsme/semimtr/semimtr/utils/test.py", line 19, in test_on_each_ds
last_metrics = learner.validate(dl=dl)
File "/home/lbl/miniconda3/envs/semimtr/lib/python3.7/site-packages/fastai/basic_train.py", line 391, in validate
val_metrics = validate(self.model, dl, self.loss_func, cb_handler)
File "/home/lbl/miniconda3/envs/semimtr/lib/python3.7/site-packages/fastai/basic_train.py", line 59, in validate
val_loss = loss_batch(model, xb, yb, loss_func, cb_handler=cb_handler)
File "/home/lbl/miniconda3/envs/semimtr/lib/python3.7/site-packages/fastai/basic_train.py", line 30, in loss_batch
loss = loss_func(out, *yb)
File "/home/lbl/miniconda3/envs/semimtr/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/media/disk4/flbl/cdsme/semimtr/semimtr/losses/consistency_regularization_loss.py", line 73, in forward
pt_lengths_teacher, *args[2:], mask=threshold_mask)
File "/home/lbl/miniconda3/envs/semimtr/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/media/disk4/flbl/cdsme/semimtr/semimtr/losses/losses.py", line 62, in forward
gt_labels, gt_lengths = gt_dict['label'], gt_dict['length']
IndexError: too many indices for tensor of dimension 3

Why does a dict type variable turn to be a Tensor? @aaberdam I used the lmdb data the author provided.
https://github.com/amazon-research/semimtr-text-recognition/blob/9263639dda4a8323b29e7c52663046a5d190ba2a/semimtr/losses/losses.py#L61

I am facing the same issue. The error occurs in finetuning stage only.

Hi,
Thank you for raising this issue.
As you said, you don't have to calculate the loss on the test set; however, it does indicate what is the distribution shift with the train set, and therefore, we calculate it.
I will soon provide a fix for this and update here in the issue.
Thank you

Please take a look on this commit: https://github.com/amazon-research/semimtr-text-recognition/commit/73956fb35b870cf73d02b070b389572ee471e1a4
I believe it solves the issue.
Please let me know otherwise.
Thank you again for raising this issue,
Aviad

@aaberdam Thank you very much for the follow-up and updates. For me the problem is solved after the update of the commit https://github.com/amazon-research/semimtr-text-recognition/commit/73956fb35b870cf73d02b070b389572ee471e1a4. I think we can close the issue.


Increase code cov

The LCOV tool does seem to have a few false flags, such as the following part in the priority queue is claimed to not be covered
      if (!_has_next_from_bucket && has_next_bucket()
          // && (_overflow_queue.empty() || LabelExt::label_of(_overflow_queue.top()) != front_bucket_label())
          && (!has_stop_label || stop_label != front_bucket_label())) {
        adiar_debug(!has_stop_label || _label_comparator(front_bucket_label(), stop_label),
                    "stop label should be strictly ahead of current level");
        adiar_debug(!_overflow_queue.empty(),
                    "'has_next_layer()' implied non-empty queue, all buckets turned out to be empty, yet overflow queue is also.");

        label_t pq_label = LabelExt::label_of(_overflow_queue.top());
        stop_label = has_stop_label && _label_comparator(stop_label, pq_label)
          ? stop_label
          : pq_label;

        if (_label_comparator(front_bucket_label(), stop_label)) {
          setup_next_bucket();
          while (has_next_bucket() && _label_comparator(front_bucket_label(), stop_label)) {
            if (label_mgr::can_pull()) {
              _buckets_label[_front_bucket_idx] = label_mgr::pull();
              _back_bucket_idx = _front_bucket_idx;
            }
            _front_bucket_idx = (_front_bucket_idx + 1) % (Buckets + 1);
          }

          calc_front_bucket();
        }

but that is flat out wrong. We have multiple tests for this; a commit even extends the test suite to cover them even better. The gcovr tool seems to not have that issue, but it instead has weird flags in the bdd_apply algorithm and the coloured lines make no sense. Some comments are highlighted, while some lines of code are ignored.

Codecov Report

Merging #106 (e0191e2) into master (6645ac6) will increase coverage by 0.77%.
The diff coverage is 74.19%.

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
+ Coverage   87.50%   88.27%   +0.77%
==========================================
  Files          26       25       -1
  Lines        1672     1654      -18
==========================================
- Hits         1463     1460       -3
+ Misses        209      194      -15

Impacted Files
Coverage Δ

src/adiar/bdd/count.cpp
100.00% <ø> (ø)

src/adiar/bdd/quantify.cpp
92.46% <ø> (ø)

src/adiar/data.h
0.00% <ø> (ø)

src/adiar/file.h
39.21% <ø> (ø)

src/adiar/priority_queue.h
95.55% <73.33%> (+0.81%)
:arrow_up:

src/adiar/dot.cpp
100.00% <100.00%> (ø)

src/adiar/homomorphism.cpp
98.66% <0.00%> (+1.33%)
:arrow_up:

src/adiar/bdd/build.cpp
100.00% <0.00%> (+4.65%)
:arrow_up:

Continue to review full report at Codecov.

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


Long audio files over an hour long (DJ mixes) show as minutes

Long audio files like DJ mixes don't show the hour designation. They show as minutes.
For example, 1:06:58 shows as 66:58.
PS, great player!

很正常......吧?

Done. https://github.com/DIYgod/APlayer/commit/02058ad17fbef09799b9a06d4f8c52a731f7f953


shogun - for JADE ICA maybe needed update if needed the env.

conda install -c conda-forge shogun

shogun is limited to python 3.6 :(


floatingLabel set default value?

react-native, react and native-base version
react: 15.4.2
react-native: 0.42.3
native-base: 2.1.0
Expected behaviour
When setting "value" on <Input the floating label show go to the up position.
Actual behaviour
The floating label is above the <Input text
Steps to reproduce
    <Item floatingLabel>
              Förnamn
              <Input keyboardType='default'
              returnKeyType='next'
              autoFocus={false}
              autoCorrect={false}
              multiline={false}
              onChange={(event) => {
                let text1 = event.nativeEvent.text;
                self.setState({textFirst:text1});
              }}
              value={this.state.textFirst} />
            </Item>

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
Only tested ios
Any other additional info which would help us debug the issue quicker.
Create a view with a floatingLabel and set a default value.

I got problems

@iambanh2 @fbacker seems to work fine .

@GeekRishabh if you add this to the Input
value={this.state.selected1}

now when running it should have moved 'Förnamn' up and written 'key1' in the input. This does not happen :(

i have the same problem. pre-filled inputs with floatingLabel doesn't floatUp the label

+1

same problem, too

+1 fields falling with value populated when form renders

I'm also using redux-form for managing state. A bit of a pain, looks like NB is managing the state of the label in the Item component and don't check in the constructor if there are values in the component. When you submit and come back to the view with errors or pre-populate the view with input text  you lose the internal component state that's holding the text value.  I just switched the type on the Item component from using a "floatingLabel" to a "stackedLabel", they look the same when there's text present in the Input.
A little hackish, but needed a fix:
Add a constructor on your component so it's only run on component creation.
constructor(props) {
      super(props);
      const { input } = props;
      this.hasValue = false;
      if (input.value !== undefined && input.value.length > 0) {
        this.hasValue = true;
      }
  }

In your render use the hasValue variable to determine which label to render:
    render() {
          const { input, secureTextEntry, label, meta: { touched, error }, ...custom } = this.props;
          {this.hasValue &&
            <Item
             stackedLabel
            >
             {label}
                <Input {...input} {...custom} />
            </Item>
          }
          {!this.hasValue &&
            <Item
             floatingLabel
            >
              {label}
                <Input {...input} {...custom} />
            </Item>
          }

        ...

An Easier/Cleaner way of doing this would be
<Item stackedLabel={!!this.state.val} floatingLabel={!this.state.val}>
  Your Title
  <Input
    value={val}
    onChangeText={(val) => this.setState({val})}
  />
</Item>

+1  have same problem too.

True that, thx
On Mon, May 22, 2017 at 9:54 PM, Jordan Piggott<EMAIL_ADDRESS>wrote:

An Easier/Cleaner way of doing this would be

Your Title
 this.setState({val})}
  />

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GeekyAnts/NativeBase/issues/708#issuecomment-303267914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEKtj4xJ9IacZygQm2H0Qx35Kdhq5W_2ks5r8jxRgaJpZM4MxYDX
.

#627

Same problem here. Works fine on iOS emulator, but when I go to device, doesn't work. :(

I am having the same issue for the version 2.12.1

I am having the same issue for the version 2.13.13


Upgrading to Bullet 2.83

I took two hours to attempt the upgrade to Bullet 2.83, and here's where things stand:
Our setup scripts do just fine, much of the physics and simulation API is the same.
The rendering API has totally changed, as has the examples API. Examples are now passed to an Example Browser, which reads in a list of examples and can run them all.
In my first attempt, I tried making tgSimViewGraphics a subclass of OpenGLExampleBrowser, and calling the appropriate functions. This included some questionable passes of NULL, and I'm not confident this is the right way to go.
The current roadblock to this approach is that OpenGLExampleBrowser is not packaged up in a library, so I get linker errors when I try to compile. I'm really hoping to avoid patching Bullet this time around, so we'll need to make our own library for this purpose. I still think OpenGLExampleBrowser has a lot of functions we need.
I haven't figured out what the current equivalent of btIDebugDraw is (for rendering cables and markers), so there's some more work to do there as well.
I think we may give up too much low level control by re-factoring tgSimulation in accordance with the Bullet examples. They do not appear to have a step call, and we need that. This may be solvable with lots of subclassing, which we may need to do anyway.
This branch has the current state, I may have more time for this next week:
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/tree/Bullet283

Bullet has released 2.86: http://bulletphysics.org/wordpress/?p=472

that looks like it has some really interesting new features — specifically the use of pybullet:
https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3 https://docs.google.com/document/d/10sXEhzFRSnvFcl3XxNGhnD4N2SedqwdAvK3dsihxVUA/edit#heading=h.2ye70wns7io3
Key things:
With pybullet you can load articulated bodies from URDF, SDF and other file formats. pybullet provides forward dynamics simulation, inverse dynamics computation, forward and inverse kinematics and collision detection and ray intersection queries.
 URDF is a really useful format that came out of ROS, and is the go-to format for describing traditional robots for simulation.  useful if we wanted to do comparisons with traditional legged robots, for example, and one should be able to quickly find existing URDF models of robots….
Another key thing:
pybullet wraps the new Bullet C-API https://github.com/bulletphysics/bullet3/blob/master/examples/SharedMemory/PhysicsClientC_API.h, which is designed to be independent from the underlying physics engine and render engine, so we can easily migrate to newer versions of Bullet, or use a different physics engine or render engine. By default, pybullet uses the Bullet 2.x API on the CPU. We will expose Bullet 3.x running on GPU using OpenCL as well.
And finally:
pybullet can be easily used with TensorFlow and frameworks such as OpenAI Gym.
we built up our own neural network toolset before modern things like TensorFlow were available.  Going forward, it could be good to migrate to using TensorFlow, when we update to the current version of bullet.  When that will be is less clear, but I’m working on an NSF proposal and a NASA project proposal that would both explicitly get us funding to support NTRT.
vytas

On Feb 7, 2017, at 8:52 PM, Brian Mirletz<EMAIL_ADDRESS>wrote:
Bullet has released 2.86: http://bulletphysics.org/wordpress/?p=472 http://bulletphysics.org/wordpress/?p=472
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/issues/170#issuecomment-278228798, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCmpsbqvjjY8P75N_ewZxLeXOjjwi6zks5raUnxgaJpZM4F7YJI.

Vytas SunSpiral
Dynamic Tensegrity Robotics Lab
cell-<PHONE_NUMBER>
Office:<PHONE_NUMBER>
N269     Rm. 100
Stinger Ghaffarian Technologies
Intelligent Robotics Group
NASA Ames Research Center
I will not tiptoe cautiously through life only to
arrive safely at death.


Provide a mutation execution strategy to sync between top-level fields

@eapache for review
Problem
Loaders could get batched across top-level mutation fields, which are supposed to be executed serially.
Solution
Provide a MutationExecutionStrategy with a FieldResolution that waits for promises to resolve after the field is resolved.  It also switches to the batch ExecutionStrategy to resolve sub-selections followed by execution of all of its batch loads.

LGTM


Fix reference to PaaS app in CD example pipeline

This PR fixes the reference to the PaaS app in the CD example pipeline

Thanks Karl!


Update Advice.txt

Hi! Thanks for your contribution. As per the Contributing guide, your advice must be 100 characters or less. If you can shorten it up, I'll be happy to merge your pull request.


Expection when iframe with UC is in srcdoc iframe

Problem
On web, when universal creative is loaded in an iframe with srcdoc attribute, or src=about:blank, or blob URL, an exception happens when postMessage is sent.
In my case, the specific error message would be:
DOMException: Failed to execute 'postMessage' on 'Window': Invalid target origin 'about://a65bbe00eb976c003b3913c8207a7a4f.safeframe.googlesyndication.com' in a call to 'postMessage'.

To Reproduce
The following example would create an iframe and use blob to create it's contents.
let auctionFrameCode = `
\x3Cscript src=".....a code that runs auction and eventually loads UC....">\x3C/script>`;

let $auctionFrame = jQuery("");
// OR: let $auctionFrame = jQuery(`<iframe srcdoc='${auctionFrameCode}'></iframe>`);
// OR: let $auctionFrame = jQuery(`<iframe src='about:blank'></iframe>`);

$("body").append($auctionFrame);

const blob = new Blob([auctionFrameCode], {type: 'text/html'});
$auctionFrame.attr('src', window.URL.createObjectURL(blob));

In renderingManager in line 125 it would eventually fail, because publisherDomain would have a blob: or about: prepend/protocol.
Expected behavior
To be conceous of non-standard protocols and/or origins, and, maybe, replace targetOrigin to "*" in such cases? Not sure.

This should be an issue only when Prebid (not the creative) lives in an origin-less frame. I don't think just broadcasting the message to '*' is a good idea because it opens up some attacks (a malicious frame could read the message and, among other things, reply with a counterfeit ad - which can include any js code that the creative would run).
To support this use case, we could change the flow to:

Prebid generates an additional nonce for each bid (let's call it adToken), which is passed to the ad server via targeting keys (in the same way adId is now).
If the origin (pubUrl) is not available, creative sends request to '', using adToken instead of adId as identifier.
Prebid looks up the bid through adToken, and replies as it does now
If the target used was '*', creative discards replies whose adId does not match the one sent through targeting.

This should be backwards compatible and lock out actors that are not in possession of a valid adToken.

@Zer0Divis0r could you expand a bit on the use case here? Why wound UC be loaded in an iframe with srcdoc attribute or src=about:blank?

The use case is implementation of ad stack without adserver, and the container creative frames are created manually. This is very similar to the basic implementation, but with sandboxed frames.


Added support for flat data structures

I added support for key value instances, where the li element's text is the value and no complex data structure is used.

Sorry, but this is not a feature I want to add. Thanks anyways!


Record SimControl results into a Rosbag

System information

**OS Platform and Distribution Linux Ubuntu 14.04 **:
Apollo installed from (https://github.com/ApolloAuto/apollo):
Apollo version (3.0):

Hello Apollo developers, I have a question regarding to the rosbag recording function for the SimControl function in the dreamview HMI interface. I am wondering how can I record the simulation information into a rosbag so that I am able to have the full access to all planning and control data.
Steps to reproduce the issue:

I used the python scripts under the directory /apollo/modules/data/tools/recorder/data_recorder_control.sh start.
However, once I run the command, the system reports that "you need to select a vehicle first".
Hence, I pick the MKZ Example from the dreamview HMI interface, then it reports an error again saying "No such file found in the directory".

I am wondering if I am using the script correctly or not. I really appreciate your help!
Supporting materials (screenshots, command lines, code/script snippets):
yangydavid@in_dev_docker:/apollo$ /use_sim_time is not set, will not subscribe to simulated time [/clock] topic Traceback (most recent call last):   File "modules/data/tools/recorder/data_recorder_manager.py", line 512, in <module>     main()   File "modules/data/tools/recorder/data_recorder_manager.py", line 503, in main     launch_data_recorder(cp)   File "modules/data/tools/recorder/data_recorder_manager.py", line 445, in launch_data_recorder     recorder_manager.start_recorder()   File "modules/data/tools/recorder/data_recorder_manager.py", line 330, in start_recorder     self.create_task_id()   File "modules/data/tools/recorder/data_recorder_manager.py", line 120, in create_task_id     os.mkdir(self.output_directory) OSError: [Errno 2] No such file or directory: '/media/apollo/data_storage/MKZ EXAMPLE_20180904113628'

modules/data/tools/recorder has some assumptions such as the external disk path.
Please try scripts/record_bag.py which simply calls "rosbag record ...".

Hi xiaoxq,
Thanks for your help, it works!


fix: component bg hover color, ref #4805

Ref #4805

@alter-eggo I merged and I will change the name as part of https://github.com/leather-wallet/mono/issues/41 then publish a new package


Bug: rotating Light2D affects LIGHT_VEC

Windows 10 64bit.
Normal mapping works fine when all lights are omni. It's not that easy when trying to achieve spotlights.

As the light rotates, the bricks begin to be lit from the wrong side.
The LIGHT_VEC constant in light shader gets altered on light rotation. If my understanding is correct, it should remain the same.
example_scene.zip

This issue also affects 3.0a2, with built-in normal mapping.
It seems that LIGHT_VEC rotates with the light, and it really should not. In following example, a light is a child of object on center:
https://www.youtube.com/watch?v=qYCd0fl5zWg

This is still broken for me.


Large Types breaks merge predicate pruning

Environment
Delta-rs version: 0.18.1
Binding: python

Bug
What happened:
The default behavior of large_dtypes=True on merge() causes partition pruning to not work correctly for strings. This is my understanding of why this happens:
large_dtypes=True causes the source table strings to be casted to LargeUTF8. Thus, when datafusion optimizer runs type_coercion step on the physical plan, it goes from:
TableScan: t, partial_filters=[LargeUtf8("a") = p]

to
TableScan: t, partial_filters=[LargeUtf8("a") = CAST(p AS LargeUtf8)]

Then, datafusions pruning does not support casts of non numeric types:
https://github.com/apache/datafusion/blob/35.0.0/datafusion/core/src/physical_optimizer/pruning.rs#L813-L832
This means that the pruning predicate is not actually pruning any files. This is evident via the ParquetExec list of files, which shows all files, regardless of if they match the partition or not.
If you set large_dtypes=False, you see the following after the type_coercion optimization step:
TableScan: t, partial_filters=[CAST(Utf8("a") AS Dictionary(UInt16, Utf8)) = p]

Because there is no cast on the right-hand-side, the partition pruning works, and the ParquetExec only has the files from the a partition.
This also seems to be inadvertent an side-effect of the following change in #2326 cc @Blajda
https://github.com/delta-io/delta-rs/pull/2326/files#diff-12f59fe3c4440b7ae4ee1a5ac810b42c1d7357c246aae7b5770e840e52d3ec52L1036-R1039
Before, the extra Filter means that even though the ParquetExec had all files, we could still filter out row groups based on the metadata. However, without this, we have to actually load in all the data, which is the symptom I experienced - this renders https://github.com/delta-io/delta-rs/pull/1958 ineffective.
The correct resolution seems to be to add support in DataFusion's pruning for comparing between strings and large strings.
For my use case, setting large_dtypes=False seems to be a workaround.

@echai58 I am going to close this because I ran into the same issue recently (#2844) and I believe that the default larger_dtypes setting was incorrect/problematic.
Please let me know if you believe a different issue persists here


Update LICENSE

As requested in b/70893145, any repository that is expected to be Apache 2.0 should have the exact license file from Apache with no modifications.

I think this is the wrong change and it's ancient, so I'm going to close this.


Is there an up to date changelog somewhere?

Description
Hello! I'm looking to bump @kusto/monaco-kusto to latest (10.0.8 at time of writing) but I'm struggling to find a changelog that details what was changed. The readme has a changelog until 7.8.0 and there are no github releases or tags other than a major zero release. We're currently relying on 7.7.0 and would find it helpful to see what changed (particularly breaking changes) between versions to decide the effort and benefits of doing so (other than just being up to date).
Steps to Reproduce
N/A
Expected behavior: To have a changelog that details changes between releases
Actual behavior: Can refer to changelog in readme until 7.8.0. Only option to discover changes beyond 7.8.0 is to look through closed pull requests.

Awesome stuff. Thanks for the update @sagivf .


f1 score is -1, pred_num =  0

The same issue as 22#. We use our dataset to train the NER model. The tag scheme is BIOES (The only difference is we used "M-" instead of "I-"). These data have been test on your "Lattice LSTM model". They can get accurate p,r,f1 value. So I am confused about this. Why our f1 score is -1 and pred_num = 0 on this   model?

Please provide me with your log and sample data. Thanks.

Please find them in your e-mail! Thank you!

I checked your log file.
There are three main problems:

Based on your sample data, you are using the Chinese character-based model. In this case, the input word embeddings should be character embeddings. And you can set use_char=False as your basic unit is already characters.

Your input word embeddings (should be your character embeddings) has a very large OOV (>99%), it will heavily affect your system performance.

 It is not surprising that you got F1= -1 with the previous incorrect settings.

The word embedding is trained by segmenting the corpus into words. Such as "长江大桥". The char embedding is as "长", "江","大","桥". The word embedding is not needed at this time?

I have changed the word embedding as you said. The code can only find English characters. I print the embedding dict that match the corpus, and find only English characters are matched. But both the dataset and embedding files are Chinese. This lead to the large OOV. Is this tool only suit English corpus? Here is the log file. The embedding file is same with we used in your Lattice model. It can work well in that model.

Epoch: 0/50
Learning rate is setted as: 0.015
Instance: 2000; Time: 36.69s; loss: 28537.5034; acc: 50014.0/51917.0=0.9633
Instance: 4000; Time: 38.72s; loss: 8965.4812; acc: 102685.0/105929.0=0.9694

It can be used in Chinese.
My lattice LSTM have several embeddings, which one do you use?
If you use the character embeddings, then I guess it may have some Character encoding mismatch in your train/dev/test data.

I have followed your comments. The f1 score is still -1. Please help us to find the problems. The log file is as follows.

Epoch: 0/50
     Instance: 2000; Time: 140.87s; loss: 11691.8186; acc: 45882.0/47404.0=0.9679
     Instance: 4000; Time: 140.68s; loss: 7558.7781; acc: 88926.0/91768.0=0.9690
     Instance: 6000; Time: 128.61s; loss: 5567.9442; acc: 135566.0/139719.0=0.9703
     Instance: 8000; Time: 125.62s; loss: 4629.0814; acc: 181789.0/187174.0=0.9712
     Instance: 10000; Time: 120.99s; loss: 4022.0119; acc: 230511.0/237038.0=0.9725
     Instance: 12000; Time: 153.70s; loss: 4401.6414; acc: 278995.0/286922.0=0.9724
     Instance: 14000; Time: 133.53s; loss: 4090.0612; acc: 323919.0/333180.0=0.9722
     Instance: 16000; Time: 152.85s; loss: 4675.8454; acc: 372036.0/382784.0=0.9719
     Instance: 18000; Time: 123.16s; loss: 4129.2788; acc: 418833.0/430928.0=0.9719
     Instance: 20000; Time: 121.94s; loss: 3834.2694; acc: 466650.0/480024.0=0.9721
     Instance: 20390; Time: 30.99s; loss: 867.0348; acc: 476172.0/489836.0=0.9721
Epoch: 0 training finished. Time: 1372.94s, speed: 14.85st/s,  total loss: 55467.7651672
totalloss: 55467.7651672
gold_num =  424  pred_num =  0  right_num =  0
Dev: time: 35.98s, speed: 59.17st/s; acc: 0.9729, p: -1.0000, r: 0.0000, f: -1.0000
Exceed previous best f score: -10
Save current best model in file: /home/yangqiuxia/WCNNNCRFpp/model.0.model
gold_num =  472  pred_num =  0  right_num =  0
Test: time: 43.23s, speed: 53.74st/s; acc: 0.9767, p: -1.0000, r: 0.0000, f: -1.0000

You can find that the token accuracy has been largely  improved from ~80% to 97%. Your result is the first iteration, you can use more iterations to give a better result.

And it is strange that your dev/test dataset have more than 2000 sentences but only contain ~400 entities. This means that your entity is too little, which is difficult to identify by system.

We waited for the result after enough epochs and this phenomenon is still existed. We used the same dataset in your Lattice model, it worked well. Besides, the dataset also worked well on other DNN models. So I have no idea of this. Is there any clue?

Maybe it is not the unbalanced data that lead to the poor performance. We use another datasets, the phenomenon is still existed. Please help us. The log file is below.
Seed num: 42
MODEL: train
Load pretrained word embedding, norm: False, dir: /home//model.txt
Embedding:
pretrain word:331830, prefect match:3730, case_match:0, oov:673, oov%:0.152815622162
Training model...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DATA SUMMARY START:
I/O:
Tag          scheme: BIO
MAX SENTENCE LENGTH: 250
MAX   WORD   LENGTH: -1
Number   normalized: True
Word  alphabet size: 4404
Char  alphabet size: 105
Label alphabet size: 8
Word embedding  dir: /home/yangqiuxia/WCNNNCRFpp/model/sohu.model.txt
Char embedding  dir: None
Word embedding size: 100
Char embedding size: 30
Norm   word     emb: False
Norm   char     emb: False
Train  file directory: /home//my.train
Dev    file directory: /home//my.dev
Test   file directory: /home//my.test
Raw    file directory: None
Dset   file directory: /home//model/
Model  file directory: /home//model
Loadmodel   directory: None
Decode file directory: None
Train instance number: 16628
Dev   instance number: 4208
Test  instance number: 4628
Raw   instance number: 0
FEATURE num: 0
++++++++++++++++++++++++++++++++++++++++
Model Network:
Model        use_crf: True
Model word extractor: LSTM
Model       use_char: False
++++++++++++++++++++++++++++++++++++++++
Training:
Optimizer: SGD
Iteration: 50
BatchSize: 16
Average  batch   loss: False
++++++++++++++++++++++++++++++++++++++++
Hyperparameters:
Hyper              lr: 0.015
Hyper        lr_decay: 0.05
Hyper         HP_clip: None
Hyper        momentum: 0.0
Hyper              l2: 1e-08
Hyper      hidden_dim: 200
Hyper         dropout: 0.5
Hyper      lstm_layer: 1
Hyper          bilstm: True
Hyper             GPU: True
DATA SUMMARY END.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
build network...
use_char:  False
word feature extractor:  LSTM
use crf:  True
build word sequence feature extractor: LSTM...
build word representation...
build CRF...
Epoch: 0/50
Learning rate is setted as: 0.015
Instance: 2000; Time: 62.56s; loss: 1508746.1278; acc: 73698.0/93881.0=0.7850
Instance: 4000; Time: 55.43s; loss: 1649292.3662; acc: 148086.0/187737.0=0.7888
Instance: 6000; Time: 46.77s; loss: 1349588.6406; acc: 221823.0/280404.0=0.7911
Instance: 8000; Time: 50.71s; loss: 1488015.7256; acc: 294780.0/373006.0=0.7903
Instance: 10000; Time: 51.54s; loss: 1311897.2812; acc: 369806.0/467554.0=0.7909
Instance: 12000; Time: 46.40s; loss: 1151453.0967; acc: 443310.0/559870.0=0.7918
Instance: 14000; Time: 44.21s; loss: 1001844.0859; acc: 518360.0/653931.0=0.7927
Instance: 16000; Time: 46.27s; loss: 1094421.0596; acc: 589905.0/744602.0=0.7922
Instance: 16628; Time: 13.23s; loss:<PHONE_NUMBER>; acc: 612711.0/773637.0=0.7920
Epoch: 0 training finished. Time: 417.13s, speed: 39.86st/s,  total loss: 10838012.0712
totalloss: 10838012.0712
gold_num =  6540  pred_num =  0  right_num =  0
Dev: time: 34.64s, speed: 123.72st/s; acc: 0.8918, p: -1.0000, r: 0.0000, f: -1.0000
Exceed previous best f score: -10
Save current best model in file: /home/yangqiuxia/WCNNNCRFpp/model.0.model
gold_num =  7455  pred_num =  4  right_num =  0
Test: time: 35.72s, speed: 130.93st/s; acc: 0.8866, p: 0.0000, r: 0.0000, f: -1.0000
Epoch: 1/50
Learning rate is setted as: 0.0142857142857
Instance: 2000; Time: 49.18s; loss: 1157811.4463; acc: 74168.0/94638.0=0.7837
Instance: 4000; Time: 43.51s; loss:<PHONE_NUMBER>; acc: 147283.0/185909.0=0.7922
Instance: 6000; Time: 44.03s; loss:<PHONE_NUMBER>; acc: 221901.0/280555.0=0.7909
Instance: 8000; Time: 42.80s; loss:<PHONE_NUMBER>; acc: 294712.0/373338.0=0.7894
Instance: 10000; Time: 41.63s; loss:<PHONE_NUMBER>; acc: 368879.0/466311.0=0.7911
Instance: 12000; Time: 42.12s; loss:<PHONE_NUMBER>; acc: 442761.0/558860.0=0.7923
Instance: 14000; Time: 45.02s; loss:<PHONE_NUMBER>; acc: 516136.0/651572.0=0.7921
Instance: 16000; Time: 39.56s; loss:<PHONE_NUMBER>; acc: 590281.0/744204.0=0.7932
Instance: 16628; Time: 13.17s; loss:<PHONE_NUMBER>; acc: 613311.0/773637.0=0.7928
Epoch: 1 training finished. Time: 361.01s, speed: 46.06st/s,  total loss: 7682171.5293
totalloss: 7682171.5293
gold_num =  6540  pred_num =  7  right_num =  0
Dev: time: 32.92s, speed: 130.17st/s; acc: 0.8918, p: 0.0000, r: 0.0000, f: -1.0000
gold_num =  7455  pred_num =  12  right_num =  0
Test: time: 38.22s, speed: 123.80st/s; acc: 0.8865, p: 0.0000, r: 0.0000, f: -1.0000
Epoch: 2/50
Learning rate is setted as: 0.0136363636364
Instance: 2000; Time: 62.19s; loss:<PHONE_NUMBER>; acc: 75197.0/94685.0=0.7942
Instance: 4000; Time: 61.69s; loss:<PHONE_NUMBER>; acc: 150347.0/188708.0=0.7967
Instance: 6000; Time: 44.54s; loss:<PHONE_NUMBER>; acc: 224016.0/281337.0=0.7963
Instance: 8000; Time: 48.63s; loss:<PHONE_NUMBER>; acc: 296610.0/374062.0=0.7929

Your loss exploded (loss: 1508746.1278). You can try to set the ave_batch_loss=True first.


R_F_Suggestions

Hello all,
I have done some suggestions for Random Forest notebook.

Added information: In random forest Heuristic is applied to select the best feature
I added df.head() that can be very helpfull for students to know which kind of data are they dealing with.
Also using describe() it is very interesting even more for a R_F Regressor to get some statistical information about our data
I suggest to add information in the beginning of the notebook about which kind of features do we have and their units
Improvements in the graphics could be done adding for example a reference line.

I hope this can help :)

Awesome!

Notebook has been updated. Closing this issue.


Unable to login in app after last update

Describe the bug
After last few updates (may be after this one) application on Android doesn't allow to login if time is not set to automatic update.
Red error line says "You can't use application useless time is customised!"
To Reproduce
On Android phone turn off "Set time automatically" in settings
Expected behavior
This application should not force me to change time settings on my phone

Hey, We add it for security reason


[Bug][Sonarqube] data too long

Search before asking

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

What happened
When running collect data sonarqube i am getting error that "data too long for column name. when i check in the mysql table column name varchar was 500

What do you expect to happen
The process should end without an error.
How to reproduce
Add SonarQube project and run.
Anything else
No response
Version
v0.21.0@ac4f7fe
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

i was increase the lenght of the name, still get error

@irkhamdayat  I think it's name field in table _tool_sonarqube_accounts.
Can you check the actual length of account names in your SonarQube ?

my lenght of account names in _tool_sonarqube_accounts is

@irkhamdayat  I mean the username's length in sonarqube, not in devlake's database.
We should change database's fields according to the real name's length.

@irkhamhidayat You can try changing the 'name' field in the '_tool_sonarqube_accounts' table and the 'full_name' field in the 'accounts' table to 'text' type, and then try again. It seems you have some dirty data or very special data that is causing the 'name' field to be too long. We apologize, but we can't indefinitely expand the field length to accommodate all possible data, as no other users have encountered the same issue. So, we can only trouble you to make this temporary change for now.


[New game]: Add Memory Game

🎮 Game Request
I would like to add a memory game to the website to engage users and provide an interactive element.
This addition aims to attract and retain users by offering a fun, casual activity that complements our existing content. The memory game will involve a grid of cards that users can flip to reveal images, with the goal of matching all pairs of images within the grid.
The implementation should focus on providing a smooth user experience, maintaining consistent design aesthetics with our current website, and ensuring accessibility for all users.
Point down the features
Game points

Grid Layout
Timer
Restart Option
Winning Message
Styling
Accessibility

Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @jency1!
We are already having a similar game request in #4933 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @jency1 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Search all notes with Telescope (:ObsidianSearch)

🚀 The feature, motivation and pitch
I am wondering how to easy search inside Obsidian (filename, tags) with Telescope from within a random buffer. I guess a :ObsidianSearch command would be needed, or is it possible to configure Telescope directly?
Alternatives
At the moment I have to open a Neovim instance inside the Obsidian folder to search within with Telescope. Or use the Obsidian app
Additional context
While working on a random Project I want to be able to quickly search and open an existing Obsidian note with Telescope.

Hey @codingluke, having an :ObsidianSearch command is a great idea! I just gave it a shot in #27. Can you see if that works for you?


How to actually build the application?

I am a Linux newbie and have trouble to install the app. I downloaded the files and got a bunch of random files. What should I do to actually make the software work?

Built executables are available on the website http://ratiomaster.net/

OK but let's say you download them...  How do I actually launch the software?

Problem still not resolved.


$_ needs to reflect the path to the last command run

_=/usr/bin/env
bash-3.2$ ls
LICENSE		built_in.o	main.c		out2		signals.o
Libft		built_in2.c	main.o		output		the_plan.c
Makefile	built_in2.o	minishell	parsing.c	tools.c
README.md	env_handling.c	minishell.h	parsing.o	tools.o
built_in.c	env_handling.o	out		signals.c	unit_tests.c
bash-3.2$ echo $_
ls
bash-3.2$

So after we run a command, we need to update this environment variable, in the parent, and maybe in the child also.

Per our discussion this is not required in the subject so we won't be implementing it.


Automated Package Upgrade

:tada: This PR is included in version 5.0.389 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


don't inherit terminal from container when exec

Signed-off-by: Lai Jiangshan<EMAIL_ADDRESS>

LGTM

LGTM :+1:


Inspect excessively high peculiar velocities

As reported by Rick Kessler, our peculiar velocities are suspiciously high. In the plot below, a cut on stellar mass logsm>9.5 was made. The typical velocity is a bit north of 500 km/s, which is a bit uncomfortably high. The very first check would be to repeat this measurement separately for host halos and satellites.

As a first pass, I compared the peculiar velocity distributions in cosmoDC2 and roman_rubin_v1.1.2_elais (in a singlr healpixel). Here are 2 plots: the first looks at all non synthetic galaxies, the second shows galaxies with log_10(M*) > 9.5.

Apart from having more galaxies in the roman-rubin, the distributions are similar.

And now with the distributions separated by centrals and satellites:

Again, they look very similar.

These velocities are in comoving units.


processing: send back previous signatures on happy case

Instead of sending None, if they ask again for the Same set of inputs,
send it.
This implements https://github.com/revault/practical-revault/pull/92

ACK bec6ddb


style guide updates

We should remove this stuff from the root directory.

Moved to new directory style-guidelines.


Optionally require ctrl to be held to zoom

To prevent accidental movement.
@Stickaplex on discord

Something like this please...

I've got ctrl + wheel click working locally. Might see if I can add an option for requiring ctrl & submit a PR.

is there any progress on this?


feat: Enable event triggers in single user mode

Addresses https://github.com/electric-sql/pglite/issues/258
In regular postgres, event triggers are disabled in single user mode as per the docs:

Event triggers are disabled in single-user mode (see postgres). If an erroneous event trigger disables the database so much that you can't even drop the trigger, restart in single-user mode and you'll be able to do that.

I've patched event_triggers.c to skip the check in order to enable them in single user mode and thus PGlite. I'm not sure what "layer" the patch belongs to @pmp-p would love your input.
I've also added a test suite for the event triggers, and did a little bit of cleanup on the build scripts since I encountered some issues while working on this.

Merging this but @samwillis please do have a look when you're back from holiday to check this is the right approach as well.

Amazing! Let me take it for a spin.


Encoding problems with special characters

Hi,
When using mega.py to upload files, I encountered some encoding problems:
Some files with special filename(emoji, special character, etc) will cause unusual phenomenon, the filenames are misinterpreted on MEGA Android client and MEGASync
For example, the ✦ character will be displayed as &, ６０(full-width number) as garbage characters, and some appear to be BLANK on Android client(decoding failure, I guess)
Furthermore, these files cannot be synced with MEGASync(it just can't see them, I think)
However, these filenames can be displayed normally on MEGA Web; And if uploaded with MEGA official clients, everything is fine
So I'm wondering whether there's something different in encoding between mega.py and official clients, as is stated in the api doc(https://github.com/meganz/sdk/blob/develop/doc/source/internals.rst):

As JSON is not binary clean, all non-ASCII data has to be encoded. For binary data, the MEGA API uses a variation of base-64 with the characters -_ used instead of +/ and the trailing = stripped (where necessary, the actual payload length is heuristically inferred after decoding, e.g. by stripping trailing NULL bytes). Unicode text has to be encoded as UTF-8.

I also found that:

In web client, these files can cause filename conflicts with normally uploaded files
If you rename the files in web client or copy from one place to another, then it comes back to normal(this process fixes the wrong encoding, I think)
These files can be downloaded with correct filename with web client and mega.py

PS: As for version 1.0.8 this issue still exists.
Thanks for your work!

Can't you try to upload them without the emojies in their names? Maybe its in the Mega servers code and you can't edit that...

Can't you try to upload them without the emojies in their names? Maybe its in the Mega servers code and you can't edit that...

That's the final option. The point is that these files can be handled properly using Mega official client, so I doubt that the API implementation is somewhat different from the official SDK, and it would be better if we can fix it.


Add "this.parse" in /invite command

Add a reply in /invite command if there is no target.

I will squash the commits later, because I'm not in my home.

Comment after you squash.

Updated.


Can not use integrated terminal when running locally

Hello Ivan,
Running kexp locally I am not able to use the integrated terminal.
kexp version:
$ kexp --version
kexp version 0.0.4 (build: 2023-10-13T10:27:27Z commit: 9d3786b51993927c6c9f657464fa7e8f227b2ffd)

Steps to reproduce:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

$ kind version
kind v0.20.0 go1.20.4 linux/amd64

$ kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.27.3) 🖼
 ✓ Preparing nodes 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
 ✓ Installing StorageClass 💾
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a nice day! 👋

$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.27.3

$ kubectl get pods -A
NAMESPACE            NAME                                         READY   STATUS    RESTARTS        AGE
kube-system          coredns-5d78c9869d-fnw28                     1/1     Running   0               106s
kube-system          coredns-5d78c9869d-xrsj5                     1/1     Running   0               106s
kube-system          etcd-kind-control-plane                      1/1     Running   0               2m48s
kube-system          kindnet-9nfc7                                1/1     Running   0               106s
kube-system          kube-apiserver-kind-control-plane            1/1     Running   0               2m52s
kube-system          kube-controller-manager-kind-control-plane   1/1     Running   1 (2m28s ago)   2m48s
kube-system          kube-proxy-gsrlq                             1/1     Running   0               106s
kube-system          kube-scheduler-kind-control-plane            1/1     Running   1 (2m24s ago)   2m48s
local-path-storage   local-path-provisioner-6bc4bddd6b-dbsjc      1/1     Running   1 (67s ago)     106s

$ kexp --version
kexp version 0.0.4 (build: 2023-10-13T10:27:27Z commit: 9d3786b51993927c6c9f657464fa7e8f227b2ffd)

$ kexp
{"contexts":[{}],"level":"debug","msg":"Kube context discovery finished","time":"2023-10-15T04:09:24+02:00"}
{"level":"info","msg":"Starting server on <IP_ADDRESS>:5173","time":"2023-10-15T04:09:24+02:00"}
[GIN-debug] [WARNING] Running in "debug" mode.  We recommend you to set a value.
Please check https://pkg.go.dev/github.com/gin-gonic/gin#readme-don-t-trust-all-proxies for details.
[GIN-debug] Listening and serving HTTP on <IP_ADDRESS>:5173
[GIN] 2023/10/15 - 04:10:14 | 301 |      47.803µs |       <IP_ADDRESS> | GET      "/"
[GIN-debug] redirecting request 301: /ui/ --> /ui/
[GIN] 2023/10/15 - 04:10:14 | 200 |    3.444919ms |       <IP_ADDRESS> | GET      "/ui/"
[GIN] 2023/10/15 - 04:10:14 | 200 |       72.75µs |       <IP_ADDRESS> | GET      "/ui/fonts/inter/inter.css"
[GIN] 2023/10/15 - 04:10:14 | 200 |     397.437µs |       <IP_ADDRESS> | GET      "/ui/assets/index-bc11076a.js"
[GIN] 2023/10/15 - 04:10:14 | 200 |     154.111µs |       <IP_ADDRESS> | GET      "/ui/assets/index-1d5c257f.css"
[GIN] 2023/10/15 - 04:10:14 | 200 |      81.783µs |       <IP_ADDRESS> | GET      "/api/kube/v1/contexts/"
[GIN] 2023/10/15 - 04:10:14 | 200 |     102.147µs |       <IP_ADDRESS> | GET      "/ui/favicon.ico"
[GIN] 2023/10/15 - 04:10:14 | 200 |    3.725723ms |       <IP_ADDRESS> | GET      "/api/kube/v1/contexts/kind-kind/resources/"
[GIN] 2023/10/15 - 04:10:14 | 200 |      64.526µs |       <IP_ADDRESS> | GET      "/ui/logos/github.png"
[GIN] 2023/10/15 - 04:10:14 | 200 |     189.231µs |       <IP_ADDRESS> | GET      "/ui/fonts/inter/Inter-roman.var.woff2?v=3.19"
[GIN] 2023/10/15 - 04:13:19 | 301 |      45.704µs |       <IP_ADDRESS> | GET      "/"
[GIN-debug] redirecting request 301: /ui/ --> /ui/
[GIN] 2023/10/15 - 04:13:19 | 200 |      40.252µs |       <IP_ADDRESS> | GET      "/ui/"
[GIN] 2023/10/15 - 04:13:19 | 200 |      81.454µs |       <IP_ADDRESS> | GET      "/ui/fonts/inter/inter.css"
[GIN] 2023/10/15 - 04:13:19 | 200 |     240.904µs |       <IP_ADDRESS> | GET      "/ui/assets/index-1d5c257f.css"
[GIN] 2023/10/15 - 04:13:19 | 200 |     595.604µs |       <IP_ADDRESS> | GET      "/ui/assets/index-bc11076a.js"
[GIN] 2023/10/15 - 04:13:19 | 200 |      28.716µs |       <IP_ADDRESS> | GET      "/api/kube/v1/contexts/"
[GIN] 2023/10/15 - 04:13:19 | 200 |     100.288µs |       <IP_ADDRESS> | GET      "/ui/favicon.ico"
[GIN] 2023/10/15 - 04:13:19 | 200 |    8.701133ms |       <IP_ADDRESS> | GET      "/api/kube/v1/contexts/kind-kind/resources/"
[GIN] 2023/10/15 - 04:13:19 | 200 |      72.513µs |       <IP_ADDRESS> | GET      "/ui/logos/github.png"
[GIN] 2023/10/15 - 04:13:20 | 200 |     147.648µs |       <IP_ADDRESS> | GET      "/ui/fonts/inter/Inter-roman.var.woff2?v=3.19"
[GIN] 2023/10/15 - 04:13:45 | 200 |      85.755µs |       <IP_ADDRESS> | GET      "/ui/fonts/inter/inter.css"
[GIN] 2023/10/15 - 04:13:45 | 200 |     131.744µs |       <IP_ADDRESS> | GET      "/ui/assets/index-1d5c257f.css"

When I click on the Terminal button - it opens just a black block without any prompt. Tried with Google Chrome and Firefox:

Thanks,
Vladimir

Hi @vlgermanov! Yes, I'm afraid it's not supported yet. The primary use case for kexp so far has been labs.iximiuz.com, where one can easily get a link for a web terminal session of the playground via an API call. kexp leverages the iximiuz Labs API and simply embeds an iframe with the link it gets in the response. When I use kexp outside of the Labs, I often pair it with github.com/yudai/gotty. With gotty, it's also easy to get a link for a web term session, but some hardcoding is required then to make kexp use it.
A "plug-in" web term implementation may solve the problem. On different environments, different means can be used to obtain a session URL (the native iximiuz Labs API, manually obtained gotty link, and even built-in web term implementation). Contributions are always welcome!

Hello, @iximiuz  is there any way to pass the URL of the Iframe, when running kexp locally ? can it  get passed down as parameter or is there any config param where i can set the terminal URL to be embedded inside the UI ??
Thank you

Never mind i found it, i replaced the URL WebTerm.vue Line 31 with as static Webterminal url

Hey @ayoub-tl - yes, that's pretty much what I do when I test kexp locally. Usually, I start a separate https://github.com/yudai/gotty process and then just hardcode the URL that it produces. Ideally, of course, it should be "out-of-the-box" behavior. Hopefully, I'll find time to implement it soon, or someone could open a PR.


Wire-up excluded resource types list to the CRD check and update logging

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Unrelated failure in e2e-pilot-noauth-v1alpha3-v2
gateway "istio-ingressgateway" deleted
--- FAIL: TestIngressGateway503DuringRuleChange (62.84s)
	ingressgateway_test.go:263: Could not parse response codes from the client
=== RUN   TestVirtualServiceMergingAtGateway

This is the new GoLand version updating the copyright notice during commits. Given that they've added this as part of the commit model and enabled it by default, I assumed this was acceptable. Happy to revert if this is not the right thing to do.
Things LG otherwise?

The changes LGTM sans the updated copyright date.

Updated Copyright dates.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ozevren: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
f6a5fc84d780944aa37cc35bbecbfacdc2d85f55
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
6fe951594780df739fae093b5abb2e015225e284
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj, ozevren
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS [ayj,ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@duderino This wires-up the excludedResourceKinds to the CRD check. It ensures that Galley can start when CRDs are missing (and when explicitly set on the command-line).


Update AuthenticatesAndRegistersUsers.php

Allow a logout path to be specified too

logoutPath seems a little strange in wording. It's not the path to the logout screen. It's the path you want to go to after logging out.

Yeah was thinking that afterwards, maybe $logoutRedirect?


About text_mot_match

Dear authors:
I notice that you use ./checkpoints/kit/text_mot_match/model/finest to match the text and motion.  If I have a new dataset, how should I to train a new model?

Hello, the pretrained model for text-motion consistency metric is trained on KIT and HumanML datasets. If you want to use a new dataset, it's better to pretrain the evaluation model on the new data.


Test harness

updates test harness to test python 3.10 and not 3.6

Tests are failing until https://github.com/oasis-open/cti-stix-validator/pull/195 is merged in.


distinguish OS for DamlScriptRunner

We noticed that on Windows DamlScriptRunner did not work with default Daml SDK installation and the PR includes a fix for this issue.

@tamaskalcza-da https://app.circleci.com/pipelines/github/digital-asset/lib-daml-jvm-test?branch=fix-daml-script-runner-for-windows I can see that the tests seem a bit flaky, failed occasionally on CircleCI.
Yet I tested locally and all of them can pass without issue. Can we ignore the test failure for now and merge this PR directly?
I don't think the failure is related to my change at all as we are on unix based system.


Add SymbolGenerator plugin

In the testapp of the upstream Map SDK we support generating images from Views to be used as Symbols for a SymbolLayer. Since the code isn't part of the SDK itself it would be usefull creating a small plugin around this functionality.
Atm SymbolGenerator only generates symbols from Views but we could look into allowing to inflate from a Layout file. Having an easy way of hanlding click events specific to views would be a great example to incorporate (eg. generate a container view with two buttons, allow to have a click event for each button seperatly).

Where can I find the testapp? I've searched for SymbolGenerator to find example of generating of Symbols, but found nothing.

@fdermishin-radargeo you can find the code in https://github.com/mapbox/mapbox-gl-native/blob/master/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/style/SymbolGeneratorActivity.java.


Fix for tags not being enterable via Enter keypress when they match an existing search result

This pull request includes a

[ x ] Bug fix

The following changes were made

Check if an item exists in the query results array that exactly matches the search parameter. If it does and the results:select trigger is fired, it will select that item instead of the highlighted one (which may be a partial match for an existing item, when you really wanted to select a newly-entered tag).

This fixes #4093

Tried applying this patch locally and after applying it, could no longer add any tags under any circumstances. (Completely new name, substring, or exact same as an existing one). I am guessing that some other work that has been done has caused this patch stop working. I recommend it either get closed or the fix updated.
Here is the options I passed to select2 to test with:
    $('#program_name').select2({
        placeholder: "Select Program or type new Program Name",
	    //selectOnBlur: true,
        tags: true,
        tokenSeparators: [],
        //selectOnClose: true,
	    createTag: function(params){
	        return {id:params.term, text:params.term};
        },
	    data: ${json(programs)}
    });

On Master:HEAD pressing enter on a tag with these options creates a new tag. Typing the name of an already existing tag selects that tag. Typing a substring of the currently selected tag does not create the new tag (The bug this Pull Request is supposed to fix)

Unfortunately this pull request contains files in the dist folder, and as a result there is a merge conflict. Because this pull request is also pretty old (our fault), we are closing this off.
If you are still interested in making this contribution, feel free to remove the dist changes from this pull request and leave a comment asking for this to be re-reviewed. Or make a new pull request from the same branch, and we'll try to get around to reviewing it this time.


Add possibility to use it on Browser source

Is there a possibility to use this plugin on a browser source?
(I would like to use it with output of vdo.ninja)
Currently the detection seems not possible on browser source.
Thanks

@snip It's not a plugin issue. please open an issue on obsproject/obs-studio.

So no workaround exist?
Can something like https://vingester.app/ may works?

@snip I have an idea! Which use two instance of OBS Studio.
OBS1: Browser Source -> VirtualCam output
OBS2: VirtualCam input -> virtualBG filter -> Live Streaming.

I just tested and it does works correctly with https://vingester.app/ & NDI pluggin on which i can add the detection.


listener: h2 sniffing for outbound listener

Add h2 to the ALPN match to support sniffing for H2 and GRPC traffic.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn h2 should also be supported for inbound but we need more works on inbound listener related with mTLS. I would prefer separate the change and make each PR as small as possible.

@yxue: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yxue: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-mixer-k8s-tests_istio

racetest_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test racetest_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test racetest_istio

@yxue: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-mixer-k8s-tests_istio

racetest_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test racetest_istio

integ-pilot-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yxue: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-mixer-k8s-tests_istio

integ-pilot-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@yxue: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
b1197f37f0495d190db71dc23da45547e35904ca
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/cherrypick release-1.3

@yxue: #17103 failed to apply on top of branch "release-1.3":
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pilot/pkg/networking/core/v1alpha3/cluster.go
M	pilot/pkg/networking/core/v1alpha3/listener.go
M	pilot/pkg/networking/core/v1alpha3/listener_test.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/networking/core/v1alpha3/listener_test.go
Auto-merging pilot/pkg/networking/core/v1alpha3/listener.go
Auto-merging pilot/pkg/networking/core/v1alpha3/cluster.go
CONFLICT (content): Merge conflict in pilot/pkg/networking/core/v1alpha3/cluster.go
Patch failed at 0001 support h2 sniffing in outbound listener

In response to this:

/cherrypick release-1.3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Support adding attributes through iterators

Please foregive me if this is already possible, as I did not find it in the book. But I am trying to componentize some markup, and need to support adding arbitrary attributes. So for example, let's take an <input>
struct Input {
  attrs: Vec<(String, String)>
}

impl Render for Input {
  fn render(&self) -> Markup {
    html! {
      input type="text" ...self.attrs;
    }
  }
}

Is something like this currently possible? I understand the security implications, but this is intended to be done at compile time, by adding attributes in different parts of the app, not dynamically.

If not currently possible, perhaps iterators and a spread operator might be good additions to the syntax?
Attribute spreading needs to implement Iterator<Item = (impl Display, impl Display)> and could use the rust spread operator ..while classes can be spread via. ..or something similar? Would only need to implementIterator<Item = impl Display>`


Node process should not exit if DuckDB throws exception on C++ side

Steps to reproduce, two node-duckb instances on NodeJS side. One opens a DuckDB database in AccessMode.ReadWrite and the other one AccessMode.ReadOnly concurrently. One of them throws.
  terminate called after throwing an instance of 'duckdb::IOException'
   what():  IO Error: Could not set lock on file "test.db": Resource temporarily unavailable

The same thing happens with the DuckDB client:
# shell 1
% duckdb test.duckdb
v0.2.4 d1b02c270
Enter ".help" for usage hints.
D CREATE TABLE t(t INTEGER);
D

# shell 2
% duckdb -readonly test.duckdb
Error: unable to open database "test.duckdb":

resolved


Display mixed node type doesn't work

React-sigma-v2 version: ^3.0.3"
Sigma.js version : "^2.3.1"
Graphology version : "^0.25.0"
Operating system: Ubuntu 20.04
Web browser: chrome 106.0.5249.103 (64-bit)

Steps to reproduce

Have a graph with multiple types (circle, image, etc) leads to error, in my specific example, it was a mix of image nodes and regular/circle nodes

Expected behavior
Image nodes would show as images
Regular/Circle nodes would show as circles
Actual behavior
Exactly the same error as the one reported in this ticket: https://github.com/sim51/react-sigma/issues/32#issuecomment-1282545745
Uncaught TypeError: Cannot read properties of undefined (reading 'process')
at Sigma.process (sigma.js?2055:622:1)
at Sigma._refresh (sigma.js?2055:698:1)
at Sigma.refresh (sigma.js?2055:1191:1)
Additionally, include (as appropriate) console logs, stacktraces, screenshots, and other debug info.

I did an example that works
Take a look here : https://codesandbox.io/s/react-sigma-example-qlkqg8
In fact you have to define the full list of program that you want to use (in the example circle & image), otherwise there is an issue.
But in the next version of sigma (probably the 2.4) if you provide a list program, it will be merged with the default (see this commit https://github.com/jacomyal/sigma.js/commit/d318cf63c983ba8b2d613b876ccc6f84c37f5b55 )

Fixed, thanks, and looking forward to the next version :)


Creating e2e test for udp logs

What does this PR do?
This updates the test logger app to log in various different ways.
Which scenarios this will impact?
None as ghcr.io/datadog/apps-logger:main not used anywhere yet.
Motivation
Want ability to send logs to Agent via stdout, stderr, UDP and TCP.
Additional Notes

/merge

/merge

/merge


[Gui] Add uic to the list of components

In PyQt4 and PyQt5 there is a uic module which can be used to load .ui file created with Qt Designer (there is something similar in PySide). Would it be possible to have this under silx.gui?

This was looked up in #155, but not implemented.
As it is a recurrent demand, I think we should add uic.loadUi to silx.gui.qt.
The rational not to add it was that there is no uic module in PySide and that PyQt4.Qt does not provide a uic module.
We can provide a loadUi for PySide: https://gist.github.com/cpbotha/1b42a20c8f3eb9bb7cb8 (used in PyFAI).

From the point of view of the library the uic module is not needed because the application using the library can make the choice. However, if there is an existing solution I'm not against.


Interactivity false is throwing errors rather than gracefully failing

Load this URL and change container to Windows Timeline or Windows Live Tile
http://adaptivecards.io/visualizer/?card=/explorer/cards/Action.Submit.json

Fixed


fix: Update dispose method

If developer give a controller, developer will dispose it. The package should not do it. Else we will have a double call to dispose.

dispose call the stop method. Which create an error when you called stop before.


Enabling NuGetPackageVerifier

@Eilon

Hi @ajaybhargavb, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Does the test pass with this package? If no, and the package description is required, please see #409 for the right strings.

It passes. Note that the RequiredPackageMetadataRule is currently not being run.It will be enabled later.

Thanks. Looks :shipit: to me.

:shipit:


Begin adding support for multiple OCI runtimes

Containers already remember the runtime they were created with in their configs. Now, let's allow them to request that runtime on subsequent runs of Podman. This greatly improves support for running multiple OCI runtimes at once - containers started on crun or kata will continue to use those runtimes even if the default runtime swaps to runc, for example.

Step 2 from here is add support for probing runtime features on those runtimes, so I can be able to detect whether a runtime supports something (for example, https://github.com/opencontainers/runc/pull/2062 - which we need to prevent systemd from closing down our scopes immediately on shutdown request - but probably isn't as relevant to, say, kata).

The problem in CI is the --runtime flag, which appears to be setting the default OCI runtime to a path, instead of a name. I'll poke around tomorrow and get it resolved.

[+0750s] Error: requested OCI runtime /usr/bin/runc is not available: invalid argument
Do we not have runc in the test images? What's going on here?

Oh wait, I got it. Working on it now.

Prow appears to be blowing up. Infra problems?

/retest

Tests going green, ready for review

LGTM
@giuseppe PTAL

tested locally
/lgtm


GeoWorks maintenance?

Is there currently a community of interest around GeoWorks?
Maintenance is far behind current Hyrax. I have a project that's trying to evaluate existing tooling, and we're wondering whether GeoWorks has existing adopters.
If not, should we move it to samvera-deprecated?

I can add this as an agenda item for the next Core Component Maintenance WG meeting, but my hope would be to postpone this. It was my hope that a revived Geospatial Interest Group would either call a Working Group to order which would maintain this, or lead this to deprecation.


Wrong content?

The page says: "When declaring a ShouldSerialize or Reset method, use the private access modifier."
But the ShouldSerialize method is only being called if the access modifier is public. It doesn't work with private, at least not with the example below:
    public class C
    {
        [XmlAttribute("myProp")]
        public int MyProp{ get; set; }

        private bool ShouldSerializeMyProp()
        {
             // never reaches here if access modifier is private, but works with public
        }
   }

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

ID: e32682fb-671a-8f6e-045c-e92a96ca029e
Version Independent ID: 42210b30-f3ee-9975-b3f2-8752f9aca815
Content: Defining Default Values with the ShouldSerialize and Reset Methods - Windows Forms .NET Framework
Content Source: dotnet-desktop-guide/framework/winforms/controls/defining-default-values-with-the-shouldserialize-and-reset-methods.md
Product: dotnet-framework
Technology: dotnet-winforms
GitHub Login: @adegeo
Microsoft Alias: adegeo

Sorry for the delay in response, this got lost in my inbox. Did you ever get this figured out? Please attach the project and source code for me to take a look at as I was unable to replicate your problem.


Reducing redundancy in  scalar_factor.py

Reduce redundancy in the code and make it easier to maintain by storing the era-to-exponent mapping in a dictionary.

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

In the file src/einsteinpy/utils/scalar_factor.py:

Line 34:7: E111 indentation is not a multiple of four
Line 34:7: E113 unexpected indentation
Line 37:1: W293 blank line contains whitespace
Line 68:7: E111 indentation is not a multiple of four
Line 68:7: E113 unexpected indentation

@sheetalneeraj Thanks for the PR. Please run tox -e reformat before pushing. It should fix the PEP8 issues / style checks.

Closing due to inactivity.


adding publish to bower

@bolshchikov @odedcagan

@Amit-Shvil
git@github.com:wix/react-module-container.git instead of git@github.com:wix-private/react-module-container

git@github.com:wix-private/react-module-container--bower-component.git is a repos that don't exist. By default bower-auto-release will clone that current repo. Why can't we use the default (which is git@github.com:wix/react-module-container.git)? We don't need to pass a --git-repo option.

@odedcagan @ronami  both of you are right we are using it in N build one repo this is not the case here I will fix


GEODE-4789: upgrade system-rules from 1.16.1 to 1.17.1

Change DistributedRestoreSystemProperties implementation to delegate
to RestoreSystemProperties.
After seeing the WAN GFSH Command dunit tests fail, I had to widen the scope of this pull request to fix those tests by using a new constructor on ClusterStarterRule that accepts the total number of VMs.
If you use DistributedRestoreSystemProperties but don't create all of the DUnit VMs before the Rule invokes its "before" then "after" will now throw NPE for that VM.

I've pushed some new changes:

DistributedRestoreSystemProperties now invokes RestoreSystemProperties before and after via overriding the access modifiers on those methods instead of using reflection
DistributedRestoreSystemProperties now records the beforeVmCount (number of VMs that were present for before) and asserts that the afterVmCount is not greater -- because that would mean that one or more VMs were not captured for the before


Error by MemoryDataset

If I init MemoryDataset it raise
OD_DATA = datasets.MemoryDataset(train_np, valid_X=val_np)
ValueError                                Traceback (most recent call last)
 in ()
----> 1 OD_DATA = datasets.MemoryDataset(train_np, valid_X=val_np)
/home/retina18/Downloads/opendeep/opendeep/data/dataset.pyc in init(self, train_X, train_Y, valid_X, valid_Y, test_X, test_Y)
283             self.train_Y = sharedX(numpy.array(train_Y))
284
--> 285         if valid_X:
286             valid_X = numpy.array(valid_X)
287             self._valid_shape = valid_X.shape

Sorry had that fixed in my development but hadn't pushed. Should be fixed now if you pull.


Registration feature implementation

Though, the implementation is incomplete and I am still working on it, @aleffert @nasthagiri Please review.

Really good start. Just needs a few minor changes.


pull request for e2e test at 11/16/2016 01:45:11

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Consider ways to reduce storage space of large tables

The database backups are getting larger, which could eventually become a problem if left unchecked. Some of this is unavoidable with an increase in players, however there are several tables which could have their size drastically reduced.
Here is the leaderboard of table size - some of the smaller tables have been omitted:

table_name
pg_size_pretty
pg_relation_size

PlayerSummonHistory
701 MB
578150400

PlayerQuests
463 MB
353370112

PlayerStoryState
444 MB
290078720

PlayerPartyUnits
332 MB
237289472

PlayerDragonData
197 MB
149061632

PlayerCharaData
172 MB
141688832

QuestClearPartyUnits
141 MB
111976448

PlayerWeapons
112 MB
99090432

PlayerWeaponSkins
102 MB
66453504

PlayerAbilityCrests
81 MB
59899904

PlayerTalismans
54 MB
42074112

PlayerMaterial
67 MB
41172992

PlayerFortBuilds
49 MB
39321600

PlayerDragonReliability
53 MB
37748736

PlayerPresentHistory
40 MB
32178176

PlayerMissions
33 MB
24772608

PlayerTrades
35 MB
22544384

PlayerPassiveAbilities
33 MB
20185088

PartyData
30 MB
19791872

QuestEvents
14 MB
11010048

Emblems
16 MB
10354688

EquippedStamps
14 MB
8650752

Obtained via
select
  table_name,
  pg_size_pretty(pg_total_relation_size(quote_ident(table_name))),
  pg_relation_size(quote_ident(table_name))
from information_schema.tables
where table_schema = 'public'
order by 3 desc;

There are some obvious things we can do which stick out immediately:

[ ] PlayerSummonHistory, PlayerPresentHistory: Stop retaining indefinitely, and purge it after a certain time period
[ ] PlayerDragonData: #670
[ ] PlayerTalismans: #671

PlayerSummonHistory down to 77 MB after #775.
The new leaders are

table_name
pg_size_pretty
pg_relation_size

PlayerQuests
630 MB
480485376

PlayerStoryState
610 MB
391110656

PlayerPartyUnits
552 MB
336420864

PlayerDragonData
339 MB
235675648

PlayerCharaData
244 MB
200179712

QuestClearPartyUnits
222 MB
170442752

PlayerWeapons
151 MB
132857856


Easy way to update theme - a rake task?

I'm in the scenario where I'm developing my own theme. Of course the most clear way to do it is from the git repo at _theme_packages. However after I do a pull/commit to my theme repo (not the blog repo) I cant easily re-apply them.
I would have expected that rake theme:install name="theme" would overwrite theme files and thus update theme but it keep asking me whether I want to overwrite each file.
Is it possible to provide an override argument for the install task? Something like rake theme:install name="jb-svbtle" --force
Or make a separate task theme:update ?

I have a few ideas around this to support https://bootswatch.com/ themes. Not sure it will help in your scenario, but comes closer to your comment:

I would keep the current theme management but instead of cloning I would add themes as submodules so that when I commit stuff:

I don't have duplicated files in the repo.
I still have reference to the theme.

While my work on this is promising, I think it's too big a risk (too many changes, too little time to test, and really more of a feature than a simple fix) to include in the v0.4.0 milestone. Bumping to v0.5.0.
v0.4.0 - https://github.com/plusjade/jekyll-bootstrap/issues?utf8=✓&q=milestone%3A"v+0.4.0"+
v0.5.0 - https://github.com/plusjade/jekyll-bootstrap/issues?utf8=✓&q=milestone%3A"v+0.5.0"+

Moving Rakefile tasks to new v 0.6.0 release.


can we make an error code like ErrRecordNotFound not arrays as well.

Describe the feature
Just like ErrRecordNotFound works for "First" queries, can we make it work for "Find" queries as well.
Motivation
Had to write separate logic to handle "Find" queries element not found. so I was thinking that we can do something similar for arrays as well.
Related Issues

You can enable the RaiseErrorOnNotFound flag before query:
db.Statement.RaiseErrorOnNotFound = true
err := db.Where("name = ?", "foobar").Find(&r).Error // err will be ErrRecordNotFound


Add an option to get back a proper vfs object stream

The current exotic API (that returns an object {js, dts}) is breaking any gulp setup relying on pre-hooked transforms using stream combination stream-combiner-2. For instance, check this file, that can be piped as a transform anywhere (after a watch, via gulp-inject, etc.).
Having a merge: true or stream: true options forcing this plugin to return a merged stream of objects would be great. For now, it looks like the base object emits source files.

I've been thinking to change the base object to a combined stream by default in the next major version (as that would be a breaking change). Currently that stream only streams js files. The different streams make it easier to add more plugins after gulp-typescript, as you might want to minify your js files (but not the definition files).

+1
This is my use case:
gulp.task("scripts", function () {
    var tsProject = gp.typescript.createProject("tsconfig.json");

    var vendorScripts = [
        // ...
    ];

    var tsResult = tsProject.src()
        .pipe(gp.typescript(tsProject));

    return tsResult.js
        .pipe(gulp.src(vendorScripts))
        .pipe(gp.concat('main.js'))
        .pipe(gulp.dest("build/assets/scripts"));
});

gulp.src is supposed to add files to pipeline at any point:
https://github.com/gulpjs/gulp/blob/master/CHANGELOG.md#380
But output currently doesn't include compiled typescript files.

@rayshan I don't think that's related to this issue. I did a quick test and it was working for me.

@ivogabe it's happening consistently for me. I tried 2.8 and HEAD. I also tried to use just 1 vendor script src and remove all compilerOptions. Any other info I can provide? Should I open a new issue?

@rayshan Yes, create a new issue and include your gulpfile, tsconfig, and directory structure.

+1. This seems to be the most actively developed TypeScript Gulp plugin but right now it does not conform to Gulp's way of doing things. My use case is that I want to use gulp-typescript in the middle of my gulp task and only for .ts files using gulp-if.
Right now, I'm using gulp-tsc instead.
var typeScriptProject = typescript.createProject({
    noImplicitAny: true,                    // Warn on expressions and declarations with an implied 'any' type.
    suppressImplicitAnyIndexErrors: false,  // Suppress noImplicitAny errors for indexing objects lacking index signatures.
    target: "ES5",                          // Specify ECMAScript target version: 'ES3' (default), 'ES5' or 'ES6'.
    module: "system", charset               // Specify module code generation: 'commonjs', 'amd', 'umd' or 'system'.
});
gulp.task("build-js", ["clean-js", "lint-js"], function () {
    return gulp                             // Return the stream.
        .src(source.paths)                  // Start with the source paths.
        .pipe(plumber())                    // Handle any errors.
        .pipe(gulpif(
            environment.isDevelopment(),    // If running in the development environment.
            sourcemaps.init()))             // Set up the generation of .map source files for the JavaScript.
        .pipe(gulpif(                       // If the file is a TypeScript (.ts) file.
            "**/*.ts",
            typescript(typeScriptProject))) // Compile it to JavaScript (.js) using typeScriptProject for quicker incremental compilation.
        .pipe(concat(source.name))          // Concatenate JavaScript files into a single file with the specified name.
        .pipe(sizeBefore(source.name))      // Write the size of the file to the console before minification.
        .pipe(gulpif(
            !environment.isDevelopment(),   // If running in the staging or production environment.
            uglify()))                      // Minifies the JavaScript.
        .pipe(sizeAfter(source.name))       // Write the size of the file to the console after minification.
        .pipe(gulpif(
            environment.isDevelopment(),    // If running in the development environment.
            sourcemaps.write(".")))         // Generates source .map files for the JavaScript.
        .pipe(gulp.dest(paths.js));         // Saves the JavaScript file to the specified destination path.
});

@RehanSaeed The gulpfile you posted should work fine with gulp-typescript. The resulting stream only contains the javascript files, not the definition files. For you, that should be working fine.
The downside of merging the two streams is that it either can breaks existing gulpfiles (if we do it by default), or it requires a new non-standard option, what I want to prevent.

@ivogabe Excellent, it was not clear to me reading the doc. Perhaps an example with more traditional gulp.src -> typescript -> gulp.dest could be added to make it more clear for others.

@RehanSaeed I've updated the readme and added such example


Un-deprecate etag handler pipe or introduce alternative

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
When making use of an Api Listener in a RESTful way, certain etags are updated automatically. But it does occur that in other processes changes has been made to certain resources which would require to manually flush the etag value.
An example is a scheduled job, which sync objects from an external source to our database. These adapters have java listeners, the framework will not clear cached etags. In this case there should be a way to manually clear the related etag entries.
Reporter
Laurens

remark for documentation : memcache for multinode use
revert is accepted