Some question about tensorflow results

Thanks for sharing the code! I'm trying to running the test phase with tensorflow version.
After I download the weights provided by you and run following script
mkdir -p ./logs/download_weights
mv ~/downloads/mini-1shot/*.npy ./logs/download_weights
python run_experiment.py TEST_LOAD
I got the log like this:
Test accuracies and confidence intervals
(array([0.32766578, 0.42566618, 0.48099986, 0.50733316, 0.52399987,
0.5353332 , 0.54933333, 0.5523333 , 0.554     , 0.5576667 ,
0.56033343, 0.5623334 , 0.5663333 , 0.5673332 , 0.56933326,
0.5709999 , 0.57166654, 0.57233316, 0.57133317, 0.5713332 ,
0.5716666 , 0.5723333 , 0.5723333 , 0.57199985, 0.57299984,
0.5736665 , 0.5746665 , 0.5746665 , 0.5763331 , 0.5766664 ,
0.5769998 , 0.5779998 , 0.5773331 , 0.5769998 , 0.57766646,
0.57766646, 0.57833314, 0.57766646, 0.5776665 , 0.57699984,
0.5769999 , 0.5773332 , 0.5773332 , 0.57699984, 0.57699984,
0.5766665 , 0.57599974, 0.57633317, 0.57666653, 0.57666653,
0.57666653, 0.57699984, 0.57699984, 0.5773332 , 0.5776665 ,
0.5776665 , 0.57833326, 0.57833326, 0.5773332 , 0.5773332 ,
0.5776666 , 0.5779999 , 0.5779999 , 0.57833326, 0.57833326,
0.5786665 , 0.5789999 , 0.5789999 , 0.5799999 , 0.5799999 ,
0.5799999 , 0.5799999 , 0.5799999 , 0.5799999 , 0.5799999 ,
0.5796666 , 0.5799999 , 0.5799999 , 0.5803333 , 0.5803333 ,
0.5803333 , 0.58      , 0.58      , 0.5803333 , 0.58066666,
0.5803333 , 0.5799999 , 0.5796666 , 0.5799999 , 0.5799999 ,
0.5799999 , 0.5799999 , 0.5799999 , 0.5799999 , 0.58033323,
0.58033323, 0.58033323, 0.58033323, 0.58033323, 0.5799999 ],
dtype=float32), array([0.01674007, 0.01800067, 0.01823004, 0.01856194, 0.0187241 ,
0.01853984, 0.01835733, 0.01825729, 0.01848205, 0.0183646 ,
0.01835622, 0.01856799, 0.01850209, 0.01847895, 0.0184084 ,
0.01839091, 0.01844387, 0.01847349, 0.01842903, 0.01849838,
0.0184901 , 0.01854268, 0.01858866, 0.01864282, 0.01864076,
0.01869269, 0.01875842, 0.01875842, 0.01878373, 0.0188431 ,
0.01883437, 0.01880805, 0.01880294, 0.01876625, 0.01872595,
0.01874873, 0.01873097, 0.01886222, 0.01888484, 0.01887964,
0.01890223, 0.01887092, 0.01887092, 0.0189248 , 0.0189248 ,
0.0189335 , 0.01892819, 0.01891959, 0.01897854, 0.01897854,
0.0189335 , 0.01894734, 0.01894734, 0.01896118, 0.01895253,
0.01888484, 0.01891236, 0.01891236, 0.01893866, 0.01893866,
0.01897504, 0.01898878, 0.01898878, 0.01900243, 0.01900243,
0.01897114, 0.01896226, 0.01896226, 0.01895796, 0.01895796,
0.01895796, 0.01895796, 0.01895796, 0.01895796, 0.01895796,
0.01894442, 0.01893543, 0.01893543, 0.01890382, 0.01890382,
0.01890382, 0.01893543, 0.01893543, 0.01894893, 0.01896236,
0.01897144, 0.01895796, 0.01894442, 0.01891287, 0.01891287,
0.01891287, 0.01891287, 0.01891287, 0.01891287, 0.01888123,
0.01888123, 0.01888123, 0.01888123, 0.01881329, 0.01884504],
dtype=float32))
Question:

What's the mean of this array? (I guess this array is the results for 100 test epoch, so the final result will be the last number 0.5799999 ± 0.01884504?)
How to get the 1-shot Acc 60.8 ± 1.8, 5-shot Acc 74.3 ± 0.9? I have also tried "Training from Scratch".

Hi Yitian,
Thanks for your interest in our work.
After reading this issue, I download the checkpoint from Google Drive again and run the meta-test phase again. My result for miniImageNet 5-way 1-shot is 60.2 ± 1.8.
As usual, you may directly get the reported results using the default setting. According to the information you provided, I am not sure what is the problem. Please check:

Do you download the data from this link?
Do you use Python 2.7 and TensorFlow 1.3.0?
Do you modify any part of the code?

If you have any further questions, feel free to add comments in this issue.
Best,
Yaoyao

YaoShen，
I'm calling Yaoshen because I find a issue named "YaoShenNB",  hahaha...
Thank you for your prompt reply.
I have checked so many times. I download the code/weights/data again, and I'm very sure I'm using Python2.7 and TensorFlow 1.3.0, but I got the same problem...
(mtl-tf) root@tensorflow-jdzb95ry7:/data1/meta-transfer-learning# python --version
Python 2.7.15
(mtl-tf) root@tensorflow-jdzb95ry7:/data1/meta-transfer-learning# python
Python 2.7.15 | packaged by conda-forge | (default, Mar  5 2020, 14:56:06)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.__version__
'1.3.0'

I got metaval_accuracies   in meta-transfer-learning/tensorflow/trainer/meta.py, line 301  in numpy array with shape(600,100).
Where 600 is the episode without any problems.  Then means = np.mean(metaval_accuracies, 0) stds = np.std(metaval_accuracies, 0) is calculated, so that I got the final results with 100 numbers, as shown in the logs above. It's really weird...
And I believe 100 is the test_base_epoch_num defined in meta-transfer-learning/tensorflow/main.py, line56
flags.DEFINE_integer('test_base_epoch_num', 100, 'number of inner gradient updates during test.')
Any help is appreciated!

Additionly, The second results is completely same as shown in the first comment.

Hi Yitian,
The issue you mentioned is created by one of my friends :)
It seems you're using the correct Python and TensorFlow version.
I just run the meta-test phase on another device and the performance is as follows,
(array([0.34633273, 0.43499938, 0.48166656, 0.5100002 , 0.5256669 ,
       0.5383337 , 0.54600036, 0.55033356, 0.5580002 , 0.5593335 ,
       0.56300026, 0.5673335 , 0.5690001 , 0.57333344, 0.57433337,
       0.5763335 , 0.57766676, 0.5790001 , 0.5806668 , 0.5816668 ,
       0.58266675, 0.5830002 , 0.5820002 , 0.58366686, 0.5850001 ,
       0.58500016, 0.5860001 , 0.5863334 , 0.5860001 , 0.58700013,
       0.58633345, 0.5870002 , 0.5873335 , 0.58733344, 0.58766675,
       0.58766675, 0.5883334 , 0.5883335 , 0.58900017, 0.5896668 ,
       0.5896669 , 0.5896669 , 0.5896669 , 0.5900003 , 0.5903336 ,
       0.5903336 , 0.59066695, 0.59100026, 0.591667  , 0.591667  ,
       0.5923337 , 0.5923337 , 0.5923337 , 0.59266704, 0.59266704,
       0.5923337 , 0.5923337 , 0.59200037, 0.59200037, 0.59266704,
       0.5923337 , 0.5930004 , 0.5930004 , 0.5923337 , 0.59266704,
       0.59300035, 0.59300035, 0.59333366, 0.59400034, 0.59466696,
       0.5946669 , 0.5943336 , 0.5943336 , 0.5943336 , 0.59466696,
       0.5950003 , 0.5950003 , 0.5940003 , 0.5943336 , 0.59466696,
       0.59500027, 0.59500027, 0.59500027, 0.59500027, 0.59466696,
       0.59466696, 0.5943336 , 0.5943336 , 0.593667  , 0.593667  ,
       0.593667  , 0.593667  , 0.5940003 , 0.5940003 , 0.5940003 ,
       0.59433365, 0.594667  , 0.594667  , 0.594667  , 0.5950003 ],
      dtype=float32), array([0.01700923, 0.01709469, 0.01719844, 0.01748813, 0.01745903,
       0.01750593, 0.0175826 , 0.01755509, 0.01757381, 0.01769064,
       0.01770602, 0.01770028, 0.01773155, 0.0175956 , 0.01752002,
       0.01744043, 0.01745171, 0.01755977, 0.01760844, 0.01765157,
       0.01762179, 0.01763597, 0.01769003, 0.01768832, 0.0177921 ,
       0.01776809, 0.01788107, 0.01782295, 0.01771318, 0.01775415,
       0.01767867, 0.01768188, 0.01764716, 0.01757444, 0.01758815,
       0.01758815, 0.01759102, 0.01766366, 0.0176664 , 0.01771725,
       0.01771725, 0.01771725, 0.01769314, 0.01765812, 0.01769555,
       0.01767141, 0.01770875, 0.01769777, 0.01777204, 0.01777204,
       0.01772592, 0.01772592, 0.01770183, 0.01773887, 0.01773887,
       0.01774999, 0.01774999, 0.01773703, 0.01773703, 0.01769068,
       0.01770183, 0.01770359, 0.01770359, 0.01770183, 0.01764235,
       0.01763112, 0.01763112, 0.01764403, 0.0176939 , 0.01764695,
       0.01767112, 0.01765838, 0.01765838, 0.01765838, 0.01762275,
       0.01765962, 0.01765962, 0.01766974, 0.01763419, 0.01764695,
       0.01768377, 0.01768377, 0.01768377, 0.01768377, 0.01764695,
       0.01764695, 0.01765838, 0.01765838, 0.01765691, 0.01765691,
       0.01765691, 0.01765691, 0.01766974, 0.01766974, 0.01764557,
       0.01768254, 0.01771937, 0.01771937, 0.01771937, 0.01773198],
      dtype=float32))

I guess it might be influenced by the random seed. You may try to run the coda with another random seed, or reinstall the environment. I am not sure. I think the performance drop should not be that high (e.g. 2%) on your device.
Here is all the package I used to run this project, I hope it is helpful to you:
_libgcc_mutex             0.1                        main
backports                 1.0                        py_2
backports.functools-lru-cache 1.6.1                     <pip>
backports.weakref         1.0rc1                   py27_0
blas                      1.0                         mkl
bleach                    1.5.0                    py27_0
ca-certificates           2019.5.15                     1
certifi                   2019.6.16                py27_1
cudatoolkit               8.0                           3
cudnn                     6.0.21                cuda8.0_0
cycler                    0.10.0                    <pip>
funcsigs                  1.0.2                    py27_0
futures                   3.3.0                    py27_0
html5lib                  0.9999999                py27_0
intel-openmp              2019.4                      243
kiwisolver                1.1.0                     <pip>
libedit                   3.1.20181209         hc058e9b_0
libffi                    3.2.1                hd88cf55_4
libgcc                    7.2.0                h69d50b8_2
libgcc-ng                 9.1.0                hdf63c60_0
libgfortran-ng            7.3.0                hdf63c60_0
libprotobuf               3.8.0                hd408876_0
libstdcxx-ng              9.1.0                hdf63c60_0
markdown                  3.1.1                    py27_0
matplotlib                2.2.5                     <pip>
mkl                       2019.4                      243
mkl-service               2.0.2            py27h7b6447c_0
mkl_fft                   1.0.14           py27ha843d7b_0
mkl_random                1.0.2            py27hd81dba3_0
mock                      3.0.5                    py27_0
ncurses                   6.1                  he6710b0_1
numpy                     1.16.4           py27h7e9f1db_0
numpy-base                1.16.4           py27hde5b4d6_0
openssl                   1.1.1c               h7b6447c_1
pip                       19.2.2                   py27_0
protobuf                  3.8.0            py27he6710b0_0
python                    2.7.16               h8b3fad2_4
python-dateutil           2.8.1                     <pip>
pytz                      2020.1                    <pip>
readline                  7.0                  h7b6447c_5
setuptools                41.0.1                   py27_0
six                       1.12.0                   py27_0
sqlite                    3.29.0               h7b6447c_0
subprocess32              3.5.4                     <pip>
tensorflow-gpu            1.3.0                         0
tensorflow-gpu-base       1.3.0           py27cuda8.0cudnn6.0_1
tensorflow-tensorboard    1.5.1            py27hf484d3e_1
tk                        8.6.8                hbc83047_0
werkzeug                  0.15.5                     py_0
wheel                     0.33.4                   py27_0
zlib                      1.2.11               h7b6447c_3

I'll check the code when I have time, maybe in several weeks if it is possible. If you have any further findings, you may leave comments in this issue.
Best,
Yaoyao


Make the returning function of thmenv an element function

I want to use the #set rule to change the background color of the axioms, however what I can do is only to change the source code where the axiom function is defined.
what the performance is:
#let axiom = thmbox(
  "axiom", "公理",
  inset: (x: 1.2em, top: 0em)
)

#set axiom(fill: rgb("cc99cc"))

I don't think that typst supports defining custom element functions yet. What I can do is change the format function of the thmbox; when I get that done, you might be able to use something like this:
#let axiom = thmbox(
  "axiom", "公理",
  inset: (x: 1.2em, top: 0em)
)

#let axiom = axiom.with(fill: rgb("cc99cc"))

The update (1.1.1) has gone through; now you can try something like this:
#import "@preview/ctheorems:1.1.1": *
#show: thmrules

#set page(width: 4in, height: auto, margin: 0.5cm)

#let axiom = thmbox(
  "axiom", "公理",
  inset: (x: 1.2em, y: 0.6em),
)

#axiom[
  Things which are equal to the same thing are also equal to one another.
]

#let axiom = axiom.with(fill: rgb("cc99cc"))

#axiom[
  If equals be added to equals, the wholes are equal.
]

// You can also do this now! Set block properties individually.
#axiom(fill: rgb("99cccc"))[
  If equals be subtracted from equals, the remainders are equal.
]

#axiom[
  Things which coincide with one another are equal to one another.
]

okay, that is great. I find myself still using the old 0.1.0 version :(
so I see there is a line below in the source code
      [#metadata(identifier) <meta:thmenvcounter>],

so does that means that the reference is auto-created? then how to use? like #link(<def11>) and #link(<ax42>)?

You can use the usual <label> and @reference syntax; look at this example or the manual.
Btw, we're currently at version 1.1.2.


chore(sqlsmith): reduce out of range occurrence

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Resolve errors in https://github.com/risingwavelabs/risingwave/pull/7761.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features).
[x] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer the issue)
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

Btw I've tried it on #7761, there are still some errors, which need some investigation:
---- END

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CapacityError: insufficient capacity', /Users/noelkwan/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.7.2/src/arrayvec_impl.rs:39:32
stack backtrace:
   0: rust_begin_unwind
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/panicking.rs:64:14
   2: core::result::unwrap_failed
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/result.rs:1790:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/result.rs:1112:23
   4: arrayvec::arrayvec_impl::ArrayVecImpl::push
             at /Users/noelkwan/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.7.2/src/arrayvec_impl.rs:39:9
   5: arrayvec::arrayvec::ArrayVec<T,_>::push
             at /Users/noelkwan/.cargo/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.7.2/src/arrayvec.rs:176:9
   6: rust_decimal::str::to_str_internal
             at /Users/noelkwan/.cargo/registry/src/github.com-1ecc6299db9ec823/rust_decimal-1.27.0/src/str.rs:30:9
   7: <rust_decimal::decimal::Decimal as core::fmt::Display>::fmt
             at /Users/noelkwan/.cargo/registry/src/github.com-1ecc6299db9ec823/rust_decimal-1.27.0/src/decimal.rs:2314:33
   8: <&T as core::fmt::Display>::fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:2377:62
   9: core::fmt::write
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:1213:17
  10: core::fmt::Formatter::write_fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:1667:9
  11: <risingwave_common::types::decimal::Decimal as core::fmt::Display>::fmt
             at /Users/noelkwan/projects/risingwave/src/common/src/types/decimal.rs:33:23
  12: <&T as core::fmt::Display>::fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:2377:62
  13: core::fmt::write
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:1213:17
  14: core::fmt::Write::write_fmt
             at /rustc/3984bc5833db8bfb0acc522c9775383e4171f3de/library/core/src/fmt/mod.rs:197:9
  15: <risingwave_common::types::decimal::Decimal as risingwave_common::types::to_text::ToText>::write
             at /Users/noelkwan/projects/risingwave/src/common/src/types/decimal.rs:47:9
  16: <risingwave_common::types::ScalarRefImpl as risingwave_common::types::to_text::ToText>::write
             at /Users/noelkwan/projects/risingwave/src/common/src/types/to_text.rs:223:58
  17: risingwave_common::types::to_text::ToText::to_text
             at /Users/noelkwan/projects/risingwave/src/common/src/types/to_text.rs:61:9

ddl + query
---- START

-- Failing SQL setup code:
CREATE TABLE supplier (
    s_suppkey INTEGER,
    s_name VARCHAR,
    s_address VARCHAR,
    s_nationkey INTEGER,
    s_phone VARCHAR,
    s_acctbal NUMERIC,
    s_comment VARCHAR,
    PRIMARY KEY (s_suppkey)
);

CREATE TABLE part (
    p_partkey INTEGER,
    p_name VARCHAR,
    p_mfgr VARCHAR,
    p_brand VARCHAR,
    p_type VARCHAR,
    p_size INTEGER,
    p_container VARCHAR,
    p_retailprice NUMERIC,
    p_comment VARCHAR,
    PRIMARY KEY (p_partkey)
);

CREATE TABLE partsupp (
    ps_partkey INTEGER,
    ps_suppkey INTEGER,
    ps_availqty INTEGER,
    ps_supplycost NUMERIC,
    ps_comment VARCHAR,
    PRIMARY KEY (ps_partkey, ps_suppkey)
);

CREATE TABLE customer (
    c_custkey INTEGER,
    c_name VARCHAR,
    c_address VARCHAR,
    c_nationkey INTEGER,
    c_phone VARCHAR,
    c_acctbal NUMERIC,
    c_mktsegment VARCHAR,
    c_comment VARCHAR,
    PRIMARY KEY (c_custkey)
);

CREATE TABLE orders (
    o_orderkey BIGINT,
    o_custkey INTEGER,
    o_orderstatus VARCHAR,
    o_totalprice NUMERIC,
    o_orderdate DATE,
    o_orderpriority VARCHAR,
    o_clerk VARCHAR,
    o_shippriority INTEGER,
    o_comment VARCHAR,
    PRIMARY KEY (o_orderkey)
);

CREATE TABLE lineitem (
    l_orderkey BIGINT,
    l_partkey INTEGER,
    l_suppkey INTEGER,
    l_linenumber INTEGER,
    l_quantity NUMERIC,
    l_extendedprice NUMERIC,
    l_discount NUMERIC,
    l_tax NUMERIC,
    l_returnflag VARCHAR,
    l_linestatus VARCHAR,
    l_shipdate DATE,
    l_commitdate DATE,
    l_receiptdate DATE,
    l_shipinstruct VARCHAR,
    l_shipmode VARCHAR,
    l_comment VARCHAR,
    PRIMARY KEY (l_orderkey, l_linenumber)
);

CREATE TABLE nation (
    n_nationkey INTEGER,
    n_name VARCHAR,
    n_regionkey INTEGER,
    n_comment VARCHAR,
    PRIMARY KEY (n_nationkey)
);

CREATE TABLE region (
    r_regionkey INTEGER,
    r_name VARCHAR,
    r_comment VARCHAR,
    PRIMARY KEY (r_regionkey)
);
CREATE TABLE person (
    id BIGINT,
    name VARCHAR,
    email_address VARCHAR,
    credit_card VARCHAR,
    city VARCHAR,
    state VARCHAR,
    date_time TIMESTAMP,
    extra VARCHAR,
    PRIMARY KEY (id)
);

CREATE TABLE auction (
    id BIGINT,
    item_name VARCHAR,
    description VARCHAR,
    initial_bid BIGINT,
    reserve BIGINT,
    date_time TIMESTAMP,
    expires TIMESTAMP,
    seller BIGINT,
    category BIGINT,
    extra VARCHAR,
    PRIMARY KEY (id)
);

CREATE TABLE bid (
    auction BIGINT,
    bidder BIGINT,
    price BIGINT,
    channel VARCHAR,
    url VARCHAR,
    date_time TIMESTAMP,
    extra VARCHAR
);
CREATE TABLE alltypes1 (
    c1 boolean,
    c2 smallint,
    c3 integer,
    c4 bigint,
    c5 real,
    c6 double precision,
    c7 numeric,
    c8 date,
    c9 varchar,
    c10 time without time zone,
    c11 timestamp without time zone,
    -- TODO(Noel): Many timestamptz expressions are unsupported in RW, leave this out for now.
    -- c12 timestamp with time zone,
    c13 interval,
    c14 struct < a integer >,
    c15 integer [],
    c16 varchar []
);

CREATE TABLE alltypes2 (
    c1 boolean,
    c2 smallint,
    c3 integer,
    c4 bigint,
    c5 real,
    c6 double precision,
    c7 numeric,
    c8 date,
    c9 varchar,
    c10 time without time zone,
    c11 timestamp without time zone,
    -- TODO(Noel): Many timestamptz expressions are unsupported in RW, leave this out for now.
    -- c12 timestamp with time zone,
    c13 interval,
    c14 struct < a integer >,
    c15 integer [],
    c16 varchar []
);CREATE MATERIALIZED VIEW m0 AS SELECT (REAL '817') AS col_0, (- (hop_0.c2 | ((SMALLINT '433') >> hop_0.c2))) AS col_1, avg(hop_0.c6) FILTER(WHERE CAST((INT '2147483647') AS BOOLEAN)) AS col_2 FROM hop(alltypes1, alltypes1.c11, INTERVAL '60', INTERVAL '36288000') AS hop_0 GROUP BY hop_0.c8, hop_0.c7, hop_0.c6, hop_0.c13, hop_0.c2, hop_0.c15;CREATE MATERIALIZED VIEW m1 AS SELECT (271) AS col_0, t_0.ps_supplycost AS col_1 FROM partsupp AS t_0 WHERE false GROUP BY t_0.ps_supplycost HAVING CAST((INT '966') AS BOOLEAN);CREATE MATERIALIZED VIEW m2 AS SELECT t_0.o_orderkey AS col_0, t_0.o_orderkey AS col_1, (upper('YP067GJfX1')) AS col_2 FROM orders AS t_0 GROUP BY t_0.o_orderkey, t_0.o_totalprice, t_0.o_orderpriority, t_0.o_comment;

-- Failing SQL query:
CREATE MATERIALIZED VIEW m3 AS SELECT (308) AS col_0, (936) AS col_1, (SMALLINT '66') AS col_2, (CAST(NULL AS STRUCT<a TIMESTAMP, b NUMERIC, c CHARACTER VARYING>)) AS col_3 FROM tumble(person, person.date_time, INTERVAL '3600') AS tumble_0 GROUP BY tumble_0.credit_card, tumble_0.name, tumble_0.state;

It appears to be a large decimal. Let's figure out why.

Filed a bug report: https://github.com/paupino/rust-decimal/issues/574

Actually, the failing value should be impossible, as the scale should never exceed 28. This seems to be a bug within risingwave, we may have ended up with a scale that is too large.

Actually, this is a rust_decimal bug.


Website intro text links out of date

On the pluginfactory.io website, the intro text at the top of the page:
Generate Craft CMS plugin & module code scaffolding that conforms to P&T’s Coding Standards, creating the bits you need to get your plugins started.
Report any issues here.

Links to v2 of the docs for the first hyperlink, and also to a dead url for the coding standards link.

Fixed, thx.


Add relative tolerance to value annotations

Adds relative tolerance to all value annotations per #37
Closes #37

Codecov Report

Merging #41 (b71c5e5) into main (6ecaf5b) will increase coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   86.35%   86.49%   +0.14%
==========================================
  Files          15       15
  Lines         938      948      +10
==========================================
+ Hits          810      820      +10
  Misses        128      128

Impacted Files
Coverage Δ

pybryt/annotations/value.py
95.74% <100.00%> (+0.32%)
: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 6ecaf5b...b71c5e5. Read the comment docs.

Added a couple commits with additional testing


Upgrade required version of  lazychaser/laravel-nestedset to v6 to fix error occurring with laravel >= 8.43

In Laravel 8.43 a new method is introduced in Illuminate\Database\Eloquent\Relations\Relation class.
/**
 * Get the query builder that will contain the relationship constraints.
 *
 * @return \Illuminate\Database\Eloquent\Builder
 */
protected function getRelationQuery()
{
    return $this->query;
}

This method conflicts with Kalnoy\Nestedset\BaseRelation class
/**
 * @param EloquentBuilder $query
 * @param EloquentBuilder $parent
 * @param array $columns
 * @return mixed
 */
public function getRelationQuery(
    EloquentBuilder $query, EloquentBuilder $parent,
    $columns = [ '*' ]
) {
    return $this->getRelationExistenceQuery($query, $parent, $columns);
}

Since the method getRelationQuery() was never used inside package lazychaser/laravel-nestedset, the mantainer released a new version (v6.0) removing this method.
Please update your composer.json requiring v6 instead of v5 of package lazychaser/laravel-nestedset.
Thanks,
Andrea

same issue

Having the same issue on Laravel 8.50.0, removed reinstalled rinvex/laravel-categories. Fresh installed again, but the issue is still the same
Kalnoy\Nestedset\BaseRelation::getRelationQuery(Illuminate\Database\Eloquent\Builder $query, Illuminate\Database\Eloquent\Builder $parent, $columns = Array) should be compatible with Illuminate\Database\Eloquent\Relations\Relation::getRelationQuery()

I hate to say it, but you probably want to fork this repo for your projects and update it accordingly. The maintainer of this package has a track record of being pretty unresponsive.
You could also create your own, internal, version of this package from scratch to ditch several sub-dependencies if you don't actually need them (like rinvex/laravel-support). This was the path we eventually took. Smooth sailing since.

Thank you @andrecolza @micross @pictus for your patience, this is now fixed in latest release v5.0.6 please check and let me know if you've any other issues 🙂
@steven-fox I hear you, and I appreciate raising your concerns. I understand how frustrating it could be if you're blocked by one of the dependencies used in your project for whatever reason, but I'm happy you got to remove the dependency by forking this open-source package. Anyway I hope it's useful to you, and please keep providing feedback that may help providing better support for everyone 👍

@Omranic No worries! We all appreciate you producing this package and making it available to the open source realm, so I apologize if my earlier message came off rudely. That wasn't my intention. I just wanted to let the other folks know that if they need an immediate solution for a production app, they'd likely need to fork this repo and handle it themselves.
Anyway, thanks for following up. Hope you have a great day!

@Omranic Ok, you updated to a newer version, but you also updated sluggable to version 3.0.x, which requires PHP8. Not all of us have PHP8.0 in production, is there a way, you can downgrade to 2.x?

@pictus if you need the new fixes, but with the old composer dependencies support (old PHP version too), you'll need to fork this package then, and change composer.json to your needs.
Currently we're supporting latest PHP/Laravel/Composer Dependencies releases only. In many cases you'll find a tag that you can lock your dependencies to, for example you can still use this package and lock it to this revesion: 526cb6696d7f5502acaacfced92c10c330de340d


Update the vendoring directory

The directory is out of sync with the go.mod dependencies. That breaks
the CI and all builds. This should fix it.
This patch was created by calling go mod vendor.
Signed-off-by: Petr Horáček<EMAIL_ADDRESS>

/release-note-none

/lgtm


Projects using lazy_loader

We keep this list so we can reach out to projects when planning API refactoring or other big changes.

scikit-image
librosa
Eradiate
qupulse
scikit-fda
usvlib
Atmospheric data Community Toolkit
Pandas Flavor
pyjanitor
FastEstimator

FastEstimator

Cedra
Harnessing the strengths of Cement for fast CLI apps, Dramatiq for reliable task processing, and Grpc for external access, CEDRA redefines efficiency in event-driven architecture.

Thanks for lazy_loader! It's a total gem of a package 😍🚀🍻
GeoVista - Cartographic rendering and mesh analytics powered by PyVista

@stefanv et al
Thanks for lazy_loader! It's a total gem of a package 🍻
GeoVista - Cartographic rendering and mesh analytics powered by PyVista (... and lazy_loader 😉)

Our pleasure! We're glad you're finding it useful.
GeoVista generates beautiful plots! The overview page needs a bit of love still ;)

@stefanv et al
Thanks for lazy_loader! It's a total gem of a package 🍻
GeoVista - Cartographic rendering and mesh analytics powered by PyVista (... and lazy_loader 😉)

Our pleasure! We're glad you're finding it useful.
GeoVista generates beautiful plots! The overview page needs a bit of love still ;)

Thanks!
😂 Very true! I've just started to spin up the docs ... Got the structure, now just need to pen the content.
Cheers!


When using the CFG configuration "extension: pj2=pjm" treat the pjm as pj2 and not as SourceSafe-compatible pjm (Darko Kezic)

Originally added as Pull request by Darko Kezic, but is a bug.

Fixed in v<IP_ADDRESS>

Ok, didn't test with the "*" parameter, just with the pjm alone
I'll do some more testing on this and back to you,
Thanks.-

Hi Darko!
The "*" parameter part is fixed in v<IP_ADDRESS>
I've found that in some parts of the code I didn't use the c_PJ2 property abstraction, but the "PJ2" fixed text, and that's why did not work with another substitution. Now it does.
Let me know if this bugfix is working for you too.
Thanks!

It is working now :)
Thank You

Fixed in v<IP_ADDRESS>


Use std::span / boost::span (?) for non-async functions taking std::vector

https://en.cppreference.com/w/cpp/container/span
(I am not sure where the equivalent boost type is, if it exists)
For non-async functions, where the call to write data to the socket happens in the same call stack of the invoking function, the use of std::span would be more generic, and avoid the possibility of an unnecessary allocation.
This is something for the future, especially since std::span was only introduced in c++20.

Looks like an implementation of span is in Boost Beast.

Closed, in favor of: https://github.com/redboltz/mqtt_cpp/issues/536


Typo Fix: arugment -> argument

arugment -> argument

@googlebot I signed it!

We will not be encouraging one liner grammatical changes as this is expensive process, thank you for your interest.
CC @mihaimaruseac


Error while building using android gradle plugin 2.5.0-alpha-preview-01

Hi!
I have tried to run preemptive compatibility testing with

android gradle plugin 2.5.0-alpha-preview-01
gradle-3.5
GradlewAspectJ plugin 3.0.2

(More details here and here)
And got the error running, for instance,  gradlew help:

A problem occurred configuring project ':Demo'.
Failed to notify project evaluation listener.
com.android.build.gradle.internal.scope.VariantScope.getInstantRunBuildContext()Lcom/android/build/gradle/internal/incremental/InstantRunBuildContext;

Code base adapted for gradle plugin 2.3.3; So it's not actual no more. I'm currently working on adapting for 3.0.0 plugin:
classpath 'com.archinamon:android-gradle-aspectj:3.1.1-gradleApiBeta'
Sources available in separate branch (temporary): https://github.com/Archinamon/GradleAspectJ-Android/tree/feature/gradleApiBeta_3.0.0-beta7


Add framework for Venue and Booking implementation in DG

Codecov Report

Merging #305 (22c7e40) into v1.4-UG-DG (96eed97) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             v1.4-UG-DG     #305   +/-   ##
=============================================
  Coverage         69.97%   69.97%
  Complexity          909      909
=============================================
  Files               139      139
  Lines              2891     2891
  Branches            299      299
=============================================
  Hits               2023     2023
  Misses              761      761
  Partials            107      107

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


One to one chat

Hey guys,
I'm using angular-chat to build an application that specifically requires 1-to-1 chat. I discovered the message.to key in the publish method, as well as the subscribe method, which both appear to be necessary to accomplish my goal, however I can't find the information in any of the docs that I've found. Any help would be much appreciated!

So you are building 1-to-1 chat.
      Also check this new thing out @sw1tch is building ->

https://github.com/pubnub/open-chat-framework
https://github.com/pubnub/rltm.js

Hey!
Thanks for responding so quickly. I’ve implemented chat on my page currently, however any visitor to the site is messaging to the same room, therefore everyone sees the messages. I need a way to configure it so that I can match 2 users to a single chat room.

On Dec 5, 2016, at 6:35 PM, Stephen L. Blum<EMAIL_ADDRESS>wrote:
Ohh! Also check this new thing out @sw1tch https://github.com/sw1tch is building ->
https://github.com/pubnub/open-chat-framework https://github.com/pubnub/open-chat-framework
https://github.com/pubnub/rltm.js https://github.com/pubnub/rltm.js
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/stephenlb/angularjs-chat/issues/4#issuecomment-265034756, or mute the thread https://github.com/notifications/unsubscribe-auth/ARWd1PGyewmJhycaPzJpfZzvmSN9JLyKks5rFLv2gaJpZM4LE5g9.

ahh!

Set User ID
 Messages.user({ id: MY_USER_ID, name : sillyname() });

Send to User
Messages.send({ to: target_user_id, data : message_body });

added example to readme.md ->
https://github.com/stephenlb/angularjs-chat/blob/master/readme.md#angularjs-support-desk-chat-agent-example

Hi Nathan.  Did this workout for you 💯

Hey Stephen,
Sorry I forgot to get back to you! I ended up discovering how to create channels, which I realized will likely work out better for me in the long run, and I did get that all set up! I appreciate the quick help!

On Dec 6, 2016, at 2:21 PM, Stephen L. Blum<EMAIL_ADDRESS>wrote:
Hi Nathan. Did this workout for you 💯
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/stephenlb/angularjs-chat/issues/4#issuecomment-265276210, or mute the thread https://github.com/notifications/unsubscribe-auth/ARWd1M6IDNwfAPuyf0HPH4rIpfIku_1hks5rFdHxgaJpZM4LE5g9.

Deluxe 👌


Loading GOAT project in Godot 4.3 causes it to crash

Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.3.274 - Forward+ - Using Device #0: AMD - AMD Radeon RX Vega (RADV VEGA10)

Added GOAT action: goat_toggle_inventory
Added GOAT action: goat_crouch
Added GOAT action: goat_screenshot
Added GOAT action: goat_dismiss
Added GOAT action: goat_move_player_forward
Added GOAT action: goat_move_player_backward
Added GOAT action: goat_move_player_left
Added GOAT action: goat_move_player_right
Added GOAT action: goat_interact
Added GOAT action: goat_interact_alternatively
Added GOAT action: goat_rotate_inventory
Added GOAT audio bus: GoatEffects, index: 1
Added GOAT audio bus: GoatMusic, index: 2
SCRIPT ERROR: Parse Error: The function signature doesn't match the parent. Parent signature is "insert_text(String, int, int, bool = <default>, bool = <default>) -> void".
          at: GDScript::reload (res://addons/goat/addons/dialogue_manager/components/code_edit.gd:277)
ERROR: Failed to load script "res://addons/goat/addons/dialogue_manager/components/code_edit.gd" with error "Parse error".
   at: load (modules/gdscript/gdscript.cpp:2936)
SCRIPT ERROR: Invalid assignment of property or key 'theme_overrides' with value of type 'Dictionary' on a base object of type 'CodeEdit (code_edit.gd)'.
          at: apply_theme (res://addons/goat/addons/dialogue_manager/views/main_view.gd:356)
SCRIPT ERROR: Invalid assignment of property or key 'main_view' with value of type 'Control (main_view.gd)' on a base object of type 'CodeEdit (code_edit.gd)'.
          at: _ready (res://addons/goat/addons/dialogue_manager/views/main_view.gd:151)
Additional plugins loaded
SCRIPT ERROR: Invalid call. Nonexistent function 'get_cursor' in base 'CodeEdit (code_edit.gd)'.
          at: _on_code_edit_caret_changed (res://addons/goat/addons/dialogue_manager/views/main_view.gd:960)
ERROR: Couldn't open MTL file 'res://demo/meshes/Battery.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/CeilingFanBase.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/CeilingFanBlades.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/cup.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/DeskFull.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/Generator.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/Pizza.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/Plate.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/PortalBase.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: Couldn't open MTL file 'res://demo/meshes/WorkshopFull.mtl', it may not exist or not be readable.
   at: _parse_material_library (editor/import/3d/resource_importer_obj.cpp:48)
ERROR: UVs are required to generate tangents.
   at: generate_tangents (scene/resources/surface_tool.cpp:1161)
ERROR: FATAL: Index p_index = 2 is out of bounds (size() = 0).
   at: get (./core/templates/cowdata.h:205)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.3.stable.official (77dcf97d82cbfe4e4615475fa52ca03da645dbd8)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x76a8a3242520] (??:0)
[2] ./Godot_v4.3-stable_linux.x86_64() [0x45c1bf6] (??:0)
[3] ./Godot_v4.3-stable_linux.x86_64() [0x17b1c26] (??:0)
[4] ./Godot_v4.3-stable_linux.x86_64() [0x1317824] (??:0)
[5] ./Godot_v4.3-stable_linux.x86_64() [0x131bd63] (??:0)
[6] ./Godot_v4.3-stable_linux.x86_64() [0x131f1fc] (??:0)
[7] ./Godot_v4.3-stable_linux.x86_64() [0x1320433] (??:0)
[8] ./Godot_v4.3-stable_linux.x86_64() [0x42a7698] (??:0)
[9] ./Godot_v4.3-stable_linux.x86_64() [0x235d96c] (??:0)
[10] ./Godot_v4.3-stable_linux.x86_64() [0x23b5e63] (??:0)
[11] ./Godot_v4.3-stable_linux.x86_64() [0x23b6459] (??:0)
[12] ./Godot_v4.3-stable_linux.x86_64() [0x527ab4] (??:0)
[13] ./Godot_v4.3-stable_linux.x86_64() [0x4202a2] (??:0)
[14] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x76a8a3229d90] (??:0)
[15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x76a8a3229e40] (??:0)
[16] ./Godot_v4.3-stable_linux.x86_64() [0x43d44a] (??:0)
-- END OF BACKTRACE --
================================================================
Aborted (core dumped)

Hi and thanks for reporting this! At the moment, GOAT works with Godot 4.1, and (with some minor changes in imported files) I managed to use it with Godot 4.2. It would be great for the framework to support the latest engine version, so I'll check if there is a way to fix this issue :+1:

hi @miskatonicstudio, any way you could share the tweaks that you did to get it working on 4.2? (I'm on 4.2.2).

Hi @chow-land ! I see currently no reason not to migrate GOAT to 4.2, so I will try to commit the necessary changes tomorrow :) That being said, my other duties often get in the way, so while I will do my best, I cannot promise :crossed_fingers:

Sounds great @miskatonicstudio , and no rush :). Looking forward to trying it out.

So, today I pushed a new branch: upgrade-to-godot-4.2. However, things don't seem to be working as expected ...
What I got so far is that if you clone a fresh master and import it in Godot 4.1 first, then in Godot 4.2, it should work (you might get some warnings like "MainMenu.tscn was moved", but in general it works).
But if you clone this new branch and import it in 4.2, or try to import master in 4.2 directly, then Godot crashes (similar to what @shazzner encountered in Godot 4.3).
I am working on a GOAT project in 4.2 right now, and there are no issues. I think the problem might be with the existing scenes / meshes in the demo game. I will take a look over the next days, but there might be little time (you know, GodotCon :P ).
Either way, thank you for your interest in GOAT, sorry for the crashes, and I will keep you posted on any solutions that I can find :+1:

Alright, I'm straight out of GodotCon and very motivated to get stuff done :muscle:
I've tried a few things and realized the problem is specifically with the WorkshopFull.obj mesh. Godot 4.2 is capable of automatically converting all the other meshes (even if it initially complains about an invalid, old format), but then it crashes when it tries to handle the workshop one.
I haven't figured out what is wrong with that mesh (I got the models from another project, with author's permission), but I realized that I don't have to use an .obj file here :wink:  So, I converted the mesh in Blender to .glb, imported it again and it works :tada:
The downside is that, at the moment, the demo game looks like this:

I will fix the materials soon, but the project should work already (or at least, it should not crash). On import, there is a warning message about a missing font and .jpg file, but restarting the project should solve the issue (I'll add this to the list of bugs :stuck_out_tongue: ).
So, @chow-land  , if you're not interested in using the demo game, but rather want to create your own one, feel free to use the new branch until the models are ready and all the changes are pushed to master. @shazzner you can also try to use this code with Godot 4.3, I haven't confirmed that it works, but I'm guessing the source of the crash was that faulty .obj file and now it might be fixed. I plan to upgrade to 4.3 officially, right after the materials are fixed and these changes are merged ;)
https://github.com/miskatonicstudio/goat/compare/master...upgrade-to-godot-4.2

I'll give a shot, thanks!

So I loaded the upgrade-to-godot-4.2 branch directly in Godot 4.3. Thankfully, it didn't crash but I did get an error when running the project and pressing the Play button. I reloaded the project and I was able to complete the whole demo.
Thanks for fixing the project! I'll leave it to you whether you want to close this issue.

That's great news @shazzner , thanks for the update! :tada:
I think I will keep this issue open until the necessary changes make their way to master :wink:

Hi @shazzner @chow-land ! Today, I've merged an upgrade to Godot 4.3 :tada: As expected, it was much easier after the mesh was fixed in 4.2 :stuck_out_tongue:
Thank you again for reporting this and making GOAT better :blush: Please let me know of any new issues that you find :smile:

thanks @miskatonicstudio! Will try this out ASAP


How to import existing trained pytorch model to keras 3

We have Openpose model written in pytorch https://github.com/Hzzone/pytorch-openpose . The model is present in the pth file format and model structure is defined using pytorch api. We want to use the openpose model in our new project which we plan to use keras 3 with pytorch backend. We want to use the existing openpose model with freezed parameters and add our layers on top of it. Can you please help how can we convert existing pth file into keras model format.
We tried converting the pytorch model to onnx and then convert it to keras format using keras2onnx but seems like keras2onnx has hard dependency on tensorflow, we need to use pytorch as backend for keras 3. Can you please help regarding the same

You can try keras.layers.TorchModuleWrapper, see this example: https://colab.research.google.com/drive/1tWJNm3g_EnRdZIkKZk_FGwUU7LMf8vb5

Thanks @fchollet  its working perfectly fine


hadoop trying to connect to elastic search non data node and failed

Hi, I am running yarn/spark streaming job and use your package to write to elastic search.
It works mostly but i found the following 2 issues.

your package trying to find the AWS private IP's address of the elastic search nodes to connect.
I will have to do ip forwarding to map the private ip to public ip in order for the write to work.
you also find the non-data node in the elastic search cluster to connect and as a result the connection failed. Following is the detailed error message.
Can you help fix and/or advise how to work around. We need those non-data nodes for security/routing purpose. Thanks.

Tian
15/01/31 03:11:12 INFO httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
15/01/31 03:11:12 INFO httpclient.HttpMethodDirector: Retrying request
15/01/31 03:12:15 INFO httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
15/01/31 03:12:15 INFO httpclient.HttpMethodDirector: Retrying request
15/01/31 03:13:18 INFO httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
15/01/31 03:13:18 INFO httpclient.HttpMethodDirector: Retrying request
15/01/31 03:14:21 ERROR rest.NetworkClient: Node [Connection timed out] failed (<IP_ADDRESS>:9200); selected next node [<IP_ADDRESS>:9200]
<IP_ADDRESS> is the non-data node and after this failure I can no longer write to elastic search unless I restart the spark streaming job.

es-hadoop relies on the node http ip - there are various ways to make this work in AWS: use network.publish_address or use some other type of routing/proxying to connect the Spark environment to the Elastic one (again, es-hadoop relies on connecting to each node directly for performance/architectural reasons).

What version of es-hadoop are you using and what do these non-data nodes represent? The connector only relies on ES nodes that have an HTTP endpoint and that hold some type of shard information (for both reading and writing).

Costin, first thank you so much for responding timely.
We have total 5 nodes, 1 master node, 2 data nodes and 2 client nodes (data=false).
It seems that elasticsearch-hadoop discovered all 5 nodes, but failed to connect to the 2 client nodes.
The reason we have 2 client nodes are for security reason/routing etc. You can see that we are on version 1.4.2 and here is an example of the client node info where I replaced the real IP with X.Y.Z.W.
Thanks.
Tian
    "aHECtVZOTbWDxDnZpMv0pA": {
        "name": "ip-X-Y-Z-W.ec2.internal",
        "transport_address": "inet[/X.Y.Z.W:9300]",
        "host": "ip-X-Y-Z-W.ec2.internal",
        "ip": "X.Y.Z.W",
        "version": "1.4.2",
        "build": "927caff",
        "http_address": "inet[/X.Y.Z.W:9200]",
        "attributes": {
            "aws_availability_zone": "us-east-1b",
            "data": "false",
            "max_local_storage_nodes": "1",
            "master": "false"
        },
        "transport": {
            "bound_address": "inet[/0:0:0:0:0:0:0:0%0:9300]",
            "publish_address": "inet[/X.Y.Z.W:9300]"
        }
    }

Can you please turn on logging (see the docs) in particular on the rest package and report back. I'm curious when this discovery occurs. Thanks!

I used ip forwarding to workaround this issue. That is I forward the 2 clients to other nodes. It seems working, but if you send me more details on how to enable logging, I can try to generate the log.
Thanks.
Tian

This is explained in detail in the reference documentation here. Simply add or modify the log4j.properties used by your environment and add the rest package to it with TRACE level and run the job. You should see the REST/HTTP requests being made right away.
Please remove whatever sensitive information you have and upload them as a gist.
Also what version of Es and Es-Hadoop and Hadoop are you using?

Note the latest Beta(4)/master does provide support for client nodes routing if needed.

@costin can you point us to where in the docs is the client routing stuff? I'm running on this same problem.


"View Case" Punchlist

Problem
Please implement the circled items in the attached screenshot.
Solution
See screenshot below, and implement the following:

[x] Dropdown arrow next to the User's name
[x] Close "X" next to "View C11" to close the view.
[x] No flagged indicator is necessary to the left of "C11." However, flags, if they exist, are placed directly below "C11" in the form of colored tags. Some design work on this subject has already been done.
[x] Add flag action icon. Note: We are going to leave just three icons, the edit button, and put everything unimportant into a more "..." icon.
[x] "Incident: Freemont Count, CO" is not necessary as long as we include all recent incidents in the duplicate search. That is the subject of another issue.
[x] Translate the word "Notes" and the timestamp on recent notes. The timestamp may be challenging.
[x] Only show the first three lines of long notes. Expand to see long notes. Show no more than four notes. Expand to see all notes ("All Notes")
[x] Notes should be displayed in Reverse chronological order.
[x] Add a "Claim All" button to the right of "Work" (unless claiming is unavailable).
[x] Add a "Request All" button next to the "Claim All" button (unless requesting is unavailable).
[x] Add a brief summary of the work needed based on the contents of the case.

Screenshots
https://app.zeplin.io/project/5dc0187606469a23537c7d9d/screen/5dc1bc31908fbd231d8c3e51

So beautifully implemented. Thank you. Even better than I expected, as usual :-).


Timesheet - 21/07/2021 - Justin Kim

Task 1

Review the Mobile app

Proof of Work

https://github.com/thenewboston-developers/thenewboston-mobile

Time Spent
0.5 hours

Task 2

create bounty reuqest

Proof of Work

https://github.com/thenewboston-developers/Contributor-Payments/issues/1078

Time Spent
0.5 hours

Task 2

worked on beta wallet

Proof of Work

https://github.com/thenewboston-developers/Wallet/pull/1

Time Spent
2 hours

Total Time Spent
3.5 hours
Account Number
67077b2397f99fb6c63185af25cdf49d43736b22b7ea5dd68089a04cd4dbf8cf

@angle943, the Total Time Spent adds to 3 hours. Please correct.

@tspearing resolved


Treat Azure aadClientSecret in cloud config like a password

Rancher versions:
rancher/rancher:master
Steps to Reproduce:
In Azure cloud config, aadClientSecret is not being treated like a password. After saving it can be viewed and edited in plaintext.
We should treat this as a password, like in Azure nodeTemplate.

rancher/rancher:master 7/2
aadClientSecret input field is being masked correctly.


Migrate labeler config to new format

Converts the old labeler tool config file into the new tool rule file.

The ones for ...

"(?i).*main\/aspnetcore\/security\/blazor.*"
"(?i).*main\/aspnetcore\/host-and-deploy\/blazor.*"

... can be 🔪 cut ... those nodes moved into the aspnetcore/blazor folder, so they get their labels from the earlier entry.

btw ... Can this do other things to a new issue?
Can it ...

Add an assignee?
Subtract a label?
Add the issue to a GH project?

@guardrex
It has the potential to do any of that yes. I recently added projects support (via id). It doesn't mess with assignee's yet. I just rewrote the tool from scratch to clean up the code (since it was 3 revisions deep of globbing functionality on top of itself and redesigning things) Now it's very easy for me to add new command support. Currently it can trigger off of any event associated with issues, prs, comments, and can react with the following actions:

Label (add,remove)
Project (add)
Milestone (set, remove)

It supports conditionals via

JMESPath query on the data for the issue/pr/comment/payload
The MS.DOCS field information (content path, author) in the original comment
Pull request file changed regex

You can see a bigger implementation on the dotnet docs rules pr

Thanks @adegeo ... Should I just circle around after you get this merged, make the proposed updates (for the ones it supports, i.e., not with assignees), and then ping u on the PR?

Ok, great. This will be very helpful, as I'm having to add these to hundreds of Blazor issues.

If the docs have the appropriate metadata fields, would it be easier to remove the regex check on file path and instead use a single check of technology = aspnetcore-blazor ?

Same for

Yes, indeed. That's fine with me if @Rick-Anderson is ok with it. They do some internal tracking I believe, so he'll have to say if that would negatively affect anything.

WRT adding the tech metadata to the Blazor topics, I'll take care of that if it's approved.

It might be already be in the articles, since it shows up in the issue.

Oh ... yes ... you are correct. Scott took care of that ages ago. I forgot. :smile:

good plan

@Rick-Anderson @guardrex I updated the rules.

Added 3 rules that trigger off of an ms.docs issue with a specific technology category, adds a label
Kept the specific file path to a single file that adds a label
Added 3 new rules for when the word (blazor,signalr,grpc) appears in the file name to add a label

Can you have it take off the Not Triaged label for the Blazor issues? That's one that I have to manually delete. The default column for a Blazor issue is the Triaged column, so it's a redundant label in terms of my workflow.


KubeVirt Use Case Documentation

Here's my shot at trying to define the use cases and scope we're targeting for KubeVirt.
I found it difficult to describe what we're doing without comparing the projects to other things within the ecosystem people might be familiar with. My hope was by doing this comparison people would be able to more firmly grasp the scope of the project. Otherwise, by just listing use cases I though it was difficult to differentiate what we're doing from everything else.
hopefully this is all on target

Thanks for the feedback. I updated the doc.

anyone else want to weigh in on this? i'd like to get this pr closed.  If there's no additional feedback by the end of the week I plan on merging this.

The content looks fine, but I think I'd like to have this in the website repo instead, since it is a key user-facing information to be presented.

I've addressed the latest round of feedback and moved this pull request to the website.
moved: https://github.com/kubevirt/kubevirt.github.io/pull/6


More room for affiliation

This issue is imported from pivotal
See screenshot. Long institution names and affiliation overflow the layout

(Peter Havekes - Apr 4, 2022)


Switch to eclipse-temurin by default?

These come with ubuntu/alpine/windowsservercore
This is mentioned on the openjdk docker page

https://hub.docker.com/_/openjdk?tab=description
WARNING
If you are a user/consumer of Java, this image is probably not what you expect!
These images contain "vanilla" builds of the OpenJDK project provided by Oracle or the relevant "updates project lead" (depending on the version).
For a more "supported" experience, we recommend one of the following other Official Images (listed in alphabetical order with no intentional or implied preference):
[amazoncorretto](https://hub.docker.com/_/amazoncorretto)
[eclipse-temurin](https://hub.docker.com/_/eclipse-temurin)
[ibm-semeru-runtimes](https://hub.docker.com/_/ibm-semeru-runtimes)
[ibmjava](https://hub.docker.com/_/ibmjava)
[sapmachine](https://hub.docker.com/_/sapmachine)

+1 on Eclipse Temurin. I explicitly endorse that on https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html page as well over distro JDKs.

The question is a bit what is "by default"
We probably can't just switch as the images without qualifier are based on debian and temurin is based on ubuntu?
Maybe it's enough to:

repeat above concern in the readme
update all examples to use temurin
stop updating openjdk images, remove them from the build

Now that this image is under new management/sbtscala, I think there's some degree of design freedom we earned under the new name. I personally see Ubuntu and Debian both as distribution of deb-based distro.

Readme was update in 4d959120f79c14fecc87407032cf9bb26c2e148a
Will for now namespace the openjdk images as openjdk-* so that users don't think these are the default images.


Create deploy pipeline

As a developer I when I merge into main I would like to have the code pushed up to the server.

Acceptance Criteria

Navigating to /pictorial-directory should show an HTML file with the header of Pictorial Directory.
Merging to trunk should trigger the Deploy action on github.

Notes

The server being used can only have files added and removed via FTP. A new FTP user should be created on the server platform.
Push all files in the client folder to the server.

Questions

What should the URL for the pictorial directory should be? This has been split off as a separate issue #6

Work has been completed.


Add some useful seed migrations and position importer for GPE

..and scope requests to the GPE position IDs which are all 500 and above.
WIP

let's make a shift slot generator then merge this for everyone else!

ah yes, everyone else - if you don't get to this in the next 12 hours or so I'll pick it up in my ❇ day off work ❇ tomorrow

I added a really dumb seeder that adds an 8 hour gate crew shift for a a week from last monday. we could always improve it later


Validation error for date when copy round

When user copy a round the date fields should be cleared to avoid a validation error. This can be done using the before_copy_hook in wagtail (tips from Todd).
https://sentry.io/otf/otf-webapp/issues/887293023/
https://docs.wagtail.io/en/v2.4/reference/hooks.html#before-copy-page

PR #1094


I installed a binary via go install and then was unable to use the same tool to uninstall/clean the installed package binary.
I had to manually remove the binary via rm.
What did you see happen?
~ $ go install github.com/Rican7/define@latest
~ $ which define
/Users/tnsuarez/Development/go/bin/define
~ $ go clean github.com/Rican7/define@latest
package github.com/Rican7/define@latest: can only use path@version syntax with 'go get' and 'go install' in module-aware mode
~ $ go clean github.com/Rican7/define
no required module provides package github.com/Rican7/define: go.mod file not found in current directory or any parent directory; see 'go help modules'
~ $ go clean -i github.com/Rican7/define
no required module provides package github.com/Rican7/define: go.mod file not found in current directory or any parent directory; see 'go help modules'
~ $ go clean -i github.com/Rican7/define@latest
package github.com/Rican7/define@latest: can only use path@version syntax with 'go get' and 'go install' in module-aware mode

What did you expect to see?
I expected that a go clean github.com/Rican7/define would remove the package binary that it had installed.
It would likely make sense to have the command maybe be go clean -i github.com/Rican7/define@latest, but maybe the version suffix is awkward?
The version suffix is what changes the behavior of go install to no longer consider the current module (go.mod) defined version, so there would be symmetry there, but also having to specify the version to uninstall might be awkward.
I couldn't find anything related to this, beyond maybe #50261.
Also, a quick search shows that there seems to be a lot of confusion around this very (lack of?) behavior:

https://stackoverflow.com/questions/13792254/removing-packages-installed-with-go-get
https://stackoverflow.com/questions/66663173/is-there-a-go-uninstall

It's just a binary file. Why insist in invoking a special command when you can just rm it?

@gophun For the same reason go clean -i even exists in the first place.
The fact that it doesn't work seemed like a bug to me.
In a practical sense:

Because the install location of the binary is dependent on numerous environmental factors and it's install location (which isn't reported at install time) is otherwise not known to the user. So manually performing the deletion could be non-obvious to a user.
For completeness. Allowing the install, but not the deletion, is asymmetric.
Having the same environment that determines that location to install and remove allows for easier scripting and automation via the same defined environmental controls.
Again, because the command already exists, and just doesn't seem to be working for this case.

The docs for go install say:

Executables (main packages) are installed to the directory named by the GOBIN environment variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH environment variable is not set.

And the docs for go clean say:

Clean removes object files from package source directories. The go command builds most objects in a temporary directory, so go clean is mainly concerned with object files left by other tools or by manual invocations of go build.
If a package argument is given or the -i or -r flag is set, clean removes the following files from each of the source directories corresponding to the import paths:
_obj/            old object directory, left from Makefiles
_test/           old test directory, left from Makefiles
_testmain.go     old gotest file, left from Makefiles
test.out         old test log, left from Makefiles
build.out        old test log, left from Makefiles
*.[568ao]        object files, left from Makefiles
DIR(.exe)        from go build
DIR.test(.exe)   from go test -c
MAINFILE(.exe)   from go build MAINFILE.go
*.so             from SWIG

So it would seem that go clean is functioning properly, since the executable is not in the source directory.
Also, I don't think something like go clean github.com/Rican7/define@latest should work, given that go install doesn't seem to record the version it installed anywhere, and I think it would be confusing if go clean<EMAIL_ADDRESS>were to delete what go install<EMAIL_ADDRESS>installs.

@bcmills @matloob per owners.

I think this might be a documentation issue. The words (what 'go install' would create) applied to what go install created before the new go install module@version functionality was added. We should maybe remove that phrase.

I guess it would not hurt if go install reported the path in which the binary was installed. Users new to Go often don’t know about GOPATH/bin.

I guess it would not hurt if go install reported the path in which the binary was installed.

That could be helpful, yea.

Users new to Go often don’t know about GOPATH/bin.

Especially since setting GOPATH is no longer required with module mode.

I guess it would not hurt if go install reported the path in which the binary was installed.

One easy but slightly hacky way to do this: install it, then immediately run install -n:
$ go install golang.org/x/debug/cmd/viewcore@latest
$ go install -n golang.org/x/debug/cmd/viewcore@latest
touch /Users/thanm/go1/bin/viewcore
$

I don't think something like go clean github.com/Rican7/define@latest should work, given that go install doesn't seem to record the version it installed anywhere, and I think it would be confusing if go clean<EMAIL_ADDRESS>were to delete what go install<EMAIL_ADDRESS>installs.

The installed version should be recorded in a metadata block in the binary (compare go version -m). So I think it would actually be feasible to make go clean -i<EMAIL_ADDRESS>only clean v1.0.1 — but I also think that would be a confusing UX.
That said, I do think it would be reasonable for go clean -i<EMAIL_ADDRESS>to unconditionally remove the binary at the location that would be installed by go install<EMAIL_ADDRESS>even if the version doesn't match. That's not fundamentally different from what should happen if, say, you were to run go install<EMAIL_ADDRESS>before that call to go clean -i.


android N requires the IDE to be running java 1.8 or later

Only in the layouts i get this i have set paths to java 7 and 8

This seems like a specific issue that's unrelated to Jockey. It sounds like your variables are conflicting if you have two for Java 7 and 8, but you'd probably be better off searching the error message or posting a question on a forum like Stack Overflow.


Image src not replaced

I have a directive with img src='image1.jpg' tag inside it.
The image file was compiled but the img src content not changed.
I understand that ES6 style with Angular 1.x still has a problem with directive.
I'm using one of the available solution, creating a static function and return directive instance
static directiveFactory($http, $location) {
    TopNavDir.instance = new TopNavDir($http, $location);
    return TopNavDir.instance;
  }

I'm  wondering whether the img src not changed because of angular directive problem with ES6 style

The problem is that webpack is that you need to require everything, that include images.
So one solution would be to do a require(...) for every image you template have (and probably disable the cache on them).
Another solution is to have inline templates so you can do stuff like:
var img = require('img.jpg');

...
template: `<img src="${img}" />`
...

Or if you have all your images in a static folder for example, you can move that with a script to the /public folder so it will find the images.

ah i see....
Thanks!!


THRIFT-5773: Strong UUID for C++

THRIFT-5773: UUID wrapper for C++
Adds a strong UUID wrapper for C++.
The use of a std::string can be misleading and since C++ is a strong typed language, this makes the most sense.

[x] Did you create an Apache Jira ticket?  (Request account here, not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

NB: This PR also includes #2968 (THRIFT-5776) since I had to fix those errors before I could make progress on the makefile related unit tests. I have rebased on that branch

I see there are MSVC build errors related to this, I will have to look into this

@Jens-G I see there are some python tests failing in the MSVC build, would my changes be the cause (I can't think that it would be but I have been wrong in the past)


Add DelayedViewRenderer

Coverage increased (+0.0001%) to 99.917% when pulling a9c9d4f67b7aadb4635318252d14245cbae62503 on delayed_view_renderer into 5a56a80c7bc403b11457d7bdcc41ee3baecd2aa0 on master.


translation app for android / iphone

Create apps for mobiles. First, use on-line services - later integrate translation engine in the app?
collaborate with bergamot project? (https://browser.mt/) (include also fine-tuning options and data donation)

Hi @jorgtied,
I would suggest a different approach than Bergamot ;
Most Helsinki models are published in safetensors and therefore can be used in Hugging Face candle in Rust.
Rust can be used natively in mobile, for example for android : https://source.android.com/docs/setup/build/rust/building-rust-modules/overview?hl=fr
Also a few Helsinki models are already published in Rust.
I suppose they can be directly used within a Rust project,
I wonder yet what would be the dependencies and if an example already exists

Seems this should do the trick : https://github.com/guillaume-be/rust-bert/blob/main/examples/translation_marian.rs


Add a "timeout" parameter or other stop conditions

One thing that would be nice is to be able to configure "stop" conditions for the solver.
E.g. to be able to say:

if you don't find a solution after 5 seconds, give up and return a TimeoutError
if you have looped 300k times, stop and return a MaxIterationError

That's something we could never do with libsolv, so would be nice to have!

In pubgrub-rs we added a should_cancel to our DependencyProvider Trait, so that the user could configure their own timeout mechanism. If resolvo comes up with something better I would be happy to copy it in pubgrub-rs.


Failing to npm start

It gives me this error:  electron main.js

same

Me too.  Running on linux mint 18.

The problem in earlier versions was, the postinsall script tried to install stuff as root and the main.js was starting simply 'python' and not the exact 'python2'...
So after fixing this points i had it working.
Im running gentoo here and can confirm, currently (v0.2.1) there is something broken if you check it out from the git. Starting the Prepackaged Lin64 works currently


Add pi-apps badge

You can change the location of the badge if you like.

too large in my opinion...
but gonna improve my old badge then a little

Ok, well the badges come from https://github.com/Botspot/pi-apps/issues/60, so you can just download the one you like, resize it and upload.

too large in my opinion...
but gonna improve my old badge then a little

Agreed. Please see #7 because there I made it much smaller.

@mobilegmYT @Botspot, check the issue #7...
Maybe I'll consider adding it somewhere, but right now I want all my badges to be compact-sized, with the same style...
Just to mention this project isn't focused on the compatibility with the pi-apps, as I'm not going to work on that...
Pi-apps just points to the software for the Raspberry Pi, but this project points also for any ARM device and even X86 devices, not just the Raspberries... Although that's the hardware that I'm testing this project on.

@Botspot I've considered if add the Wiki to my project with some helpfull info for some people (like compiling on the ARM and compiling on X86, prebuilt packages...) – and I would probably include there your badge, as I don't believe there's any reason to add there a compact-sized one...


ImageUpdateAutomation fails while cloning the git repository.

My flux setup is as follows:
I have two git repositories:

k8-cluster (Managed by the DevOps to provision the flux and other deployments)
k8-deployments (Managed by the Developers)

While referencing k8-deployments sourceRef in ImageUpdateAutomation I get an error.
unable to clone<EMAIL_ADDRESS>error: Certificate

If I reference k8-cluster it works without any error.
imageupdateautomation.yaml
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageUpdateAutomation
metadata:
  name: apps-deployment
  namespace: flux-system
spec:
  interval: 1m0s
  sourceRef:
    kind: GitRepository
    name: apps-deployment

  git:
    checkout:
      ref:
        branch: main
    commit:
      author:
        email<EMAIL_ADDRESS>        name: fluxcdbot
      messageTemplate: '{{range .Updated.Images}}{{println .}}{{end}}'
    push:
      branch: main
  update:
    path: ./dev
    strategy: Setters

Source output
$ flux get source all --all-namespaces
NAMESPACE  	NAME                                	READY	MESSAGE                                                           	REVISION                                        	SUSPENDED
dev-app   	gitrepository/app-backend            	True 	Fetched revision: develop/a3bc178c92e08884b628c7bd19c42de6dab38d9c	develop/a3bc178c92e08884b628c7bd19c42de6dab38d9c	False
flux-system	gitrepository/flux-system           	True 	Fetched revision: main/596bf3d8e78519dd2735521028f365cbec1b8804   	main/596bf3d8e78519dd2735521028f365cbec1b8804   	False
flux-system	gitrepository/apps-deployment	        True 	Fetched revision: main/cda81fd0f1f0aa9413d49dc49a0304cd7346ff79   	main/cda81fd0f1f0aa9413d49dc49a0304cd7346ff79   	False

Images output with k8-cluster sourceref
$ flux get images all --all-namespaces
NAMESPACE	NAME                        	READY	MESSAGE                       	LAST SCAN                	SUSPENDED
dev-app 	imagerepository/app-backend	True 	successful scan, found 85 tags	2021-08-01T03:24:07+05:30	False

NAMESPACE	NAME                           	READY	MESSAGE                                                                                LATEST IMAGE
dev-app 	imagepolicy/app-backend-policy	True 	Latest image tag for 'docker.io/amithapa/app-backend' resolved to: dev-2021-07-30T00-02-00Z	docker.io/amithapa/app-backend:dev-2021-07-30T00-02-00Z

NAMESPACE  	NAME                                        	READY	MESSAGE                                                                            	LAST RUN	SUSPENDED
flux-system	imageupdateautomation/apps-deployment	False	unable to clone<EMAIL_ADDRESS>error: Certificate	        	False

Images output with k8-deployment sourceref
$ flux get images all --all-namespaces
NAMESPACE	NAME                        	READY	MESSAGE                       	LAST SCAN                	SUSPENDED
dev-app 	imagerepository/app-backend	True 	successful scan, found 85 tags	2021-08-01T03:24:07+05:30	False

NAMESPACE	NAME                           	READY	MESSAGE                                                                                LATEST IMAGE
dev-app 	imagepolicy/app-backend-policy	True 	Latest image tag for 'docker.io/amithapa/app-backend' resolved to: dev-2021-07-30T00-02-00Z	docker.io/amithapa/app-backend:dev-2021-07-30T00-02-00Z

NAMESPACE  	NAME                                        	READY	MESSAGE        	LAST RUN                 	SUSPENDED
flux-system	imageupdateautomation/apps-deployment	True 	no updates made	2021-08-01T03:39:58+05:30	False

Sorry for taking a while to get to this @amithapa. The same error message was also reported in https://github.com/fluxcd/source-controller/issues/433. Can I ask you to check whether setting gitImplementation: libgit2 in the spec of the GitRepository for k8s-deployments causes the source to fail, too?

If I reference k8-cluster it works without any error.

Oh! Can you figure out any difference between these two GitRepository objects, or their accompanying secrets? Does the secret for k8s-cluster have a different set of data fields, for example.

Closing this due to lack of activity. Happy to reopen in case the same issue is being experienced on the latest versions of the controller.

imageupdateautomation.yaml
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageUpdateAutomation
metadata:
  name: my-app-auto
  namespace: flux-system
spec:
  interval: 3m0s
  sourceRef:
    kind: GitRepository
    name: flux-system ## kubectl get GitRepository --all-namespaces
    namespace: flux-system
  git:
    checkout:
      ref:
        branch: master
    commit:
      author:
        email<EMAIL_ADDRESS>        name: FluxBot

gotk-sync.yaml
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: GitRepository
metadata:
  name: flux-system
  namespace: flux-system
spec:
  gitImplementation: libgit2
  interval: 1m0s
  ref:
    branch: master
  secretRef:
    name: flux-system
  url<EMAIL_ADDRESS>---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
  name: flux-system
  namespace: flux-system
spec:
  interval: 3m0s
  path: ./non-prod/namespaces
  prune: true
  sourceRef:
    kind: GitRepository
    name: flux-system

Source output
$ flux get source all --all-namespaces

NAMESPACE       NAME                            REVISION        SUSPENDED       READY   MESSAGE
flux-system     gitrepository/flux-system       master/8f93aea  False           True    stored artifact for revision 'master/8f93aea4a0694d784b6118012f03b7187bee8c17'

Images output with k8-cluster sourceref
$ flux get images all --all-namespaces

NAMESPACE       NAME                                    LAST RUN        SUSPENDED       READY   MESSAGE
flux-system     imageupdateautomation/my-app-auto                       False           False   unable to fetch-connect to remote<EMAIL_ADDRESS>ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

Container Images used
$ kubectl get deployments -n flux-system -o yaml | grep -i image:

    image: ghcr.io/fluxcd/helm-controller:v0.22.1
    image: ghcr.io/fluxcd/image-automation-controller:v0.23.4
    image: ghcr.io/fluxcd/image-reflector-controller:v0.19.2
    image: ghcr.io/fluxcd/kustomize-controller:v0.26.2
    image: ghcr.io/fluxcd/notification-controller:v0.24.0
    image: ghcr.io/fluxcd/source-controller:v0.25.9

Additional Information

GitHub Enterprise v3.3.7
Kubernetes: GitVersion:"v1.23.6-dhc", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"
FluxCD bootstrapped with Terraform fluxcd/flux v0.15.3
Same error occurred for fluxcd/source-controller, but was fixed by changing gitImplementation: libgit2
fluxcd/kustomize-controller is working correctly
Tested versions v0.23.3,v0.23.4,v0.23.5  of fluxcd/image-automation-controller. Thought that the issue might be related to changed made in v0.23.4

Please let me know if additional information is required.

@pjbgf @stefanprodan
updating fluxcd/image-automation-controller to v0.24.2 fixed the problem. Thanks for you continuous commitment to the project


Create Sidebar page

Is your feature request related to a problem? Please describe.
The sidebar page missing in the documentation
Describe the solution you'd like
Implement the Sidebar page
Describe alternatives you've considered
n/a
Additional context
n/a

I'll take this


Cleanup some of the ncgen memory problems identified by Ed

Does this fix all the ncgen memory leaks? Quick work! ;-)

Only some of them. The global metadata and data trees created during the parse
are not reclaimed. Also, apparently is a leak inside libcurl that I cannot get rid of
(according to valgrind because I cannot get the google address checking to work).

I find the arguments against casting unpersuasive. But frankly
either way is ok as far as I am concernted.

Looks great, checking on ARM and Windows now.

Given the common wisdom of casting from 'malloc' I would agree with Dennis that a single post asserting differently is unpersuasive.  But if he is unconcerned, so am I, and we can backtrack if an issue arises.

Actually wasn't suggesting that he take all the malloc casts away in this case, just offering the observation for future consideration.

Seeing a handful of failures on OSX, still testing windows and ARM.
The failures can be seen here:

http://cdash.unidata.ucar.edu/viewTest.php?onlyfailed&buildid=8252

The failure described below seems to be common amongst the tests:
*** comparing binary against source CDL file ***
*** creating C code for CAM file ref_camrun.cdl...
ncgen: output language  not implemented
ncgen(20763,0x7fffb69a0340) malloc: *** error for object 0x10a59a508: pointer being freed was not allocated

Update, 32-bit Windows tests passed. Will update as ARM and 64-bit Windows tests run.

Update: 64-bit Windows tests also passed.

As did ARM. This issue appears to be OSX specific.  I will see if I can figure out what's going on.

Was able to fix the issue above, but running into a problem with ref_typescope test in ncdump/tst_ncgen4.sh when K=3, on OSX.

This pull request introduces 1 alert and fixes 10 when merging ee7bbb2320cc646f9aa7e8dae4d89c2a54c97c7d into e595a8cc8462b00f0d9f059c12bf967495607c69 - view on lgtm.com
new alerts:

1 for Missing return statement

fixed alerts:

4 for Missing header guard
3 for Wrong type of arguments to formatting function
2 for Duplicate include guard
1 for Wrong number of arguments to formatting function

Comment posted by lgtm.com

This pull request introduces 1 alert when merging ee0086f16a0c1041348fc963a7e1cace80b2d27b into 51de06630c6cf757b8d1b23febd1bff568dd3f98 - view on lgtm.com
new alerts:

1 for Missing return statement

Comment posted by lgtm.com

This code should be merged already, double-checking.


Difference between ndt_mapping and lazy ndt_mapping

Could anyone introduce the difference between ndt_mapping and lazy ndt_mapping when using it with velodyne lidar. Thanks very much.

I might be wrong, but my guess is lazy ndt_mapping does not use all point cloud frames, while ndt_mapping uses all point cloud frames.
I did try both of them on a large data set collected using velodyne 32E, lazy ndt_mapping some times has large drift in z axis and the amount of drift is not consistent.

Thanks for your reply. @Benjaminmar8
My lidar is Velodyne HDL-32 too.Maybe you and I are facing the same problem below.
When mapping in a larger place ,like a garden. ndt_mapping must run a very long time. At least two days. It is very troublesome to me. Have you ever met this problem?

As @Benjaminmar8 guessed, lazy_ndt_mapping does not use all points for matching while ndt_mapping uses all the points as reference. lazy_ndt_mapping uses only three previous scans as reference by default. lazy_ndt_mapping is faster than ndt_mapping, but the output is low accuracy.

We might have a similar setup. @sgzzgit
My issue is that I am unable to build a large-scale, say 1km by 1km map, though smaller maps seems fine. My approach is to build smaller maps and stich them together. I had limited success, but towards the end I noticed that the last map and the first map didnot overlap (thus loop closure). The error is large, looks like ore than 10 meters in translation and more than 40 degress in rotation. I wasn't sure if this is due to the error in ndt-mapping or it is sth. that I did wrongly.

My approach is to build smaller maps and stich them together

I am very curious how you joint the small maps together?  @Benjaminmar8  I had tried the same idea before, but failed to joint them together.
Up to now, the biggest map I had built is 360m * 300m. It could be used to localize very well.
However I want to build a map whose size is 800m * 790m now.
After capturing HDL-32 lidar data, I launch ndt_mapping, unfortunately ndt_mapping and lazy ndt_mapping  crashed everytime. I am very confused. Maybe we can discuss how to joint small maps together like the demo data.

Have you ever analyzed the .pcd file of pointcloud_map in the sample_moriyama_data? @Benjaminmar8

@sgzzgit
I didnot analyze that map file as I do not know the ground truth.

I analyzed the map file,and now i plan to joint small map files.
Do you have any other suggestions? @Benjaminmar8
Thanks very much.

you may refer to this question #428

@sgzzgit
By the way, how do you analyze the map file?


Import public names

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

This PR is obsolete (we now just bring them in on the fly, but cached)


API of autoBind in ActorProvider is not configured correctly in project template

Definition at https://github.com/ckb-js/kuai/blob/c5fc2b8fed5b8dd2f4b732faa2c07a257cc3ab62/packages/models/src/utils/decorator/provider.ts#L20-L23
The API call in project template https://github.com/ckb-js/kuai/blob/c5fc2b8fed5b8dd2f4b732faa2c07a257cc3ab62/packages/core/sample-projects/src/actors/app.ts#L12

I'm editing sample-projects to add typedoc, so I will fix it at the same time.


Bonfire: Sum All Odd Fibonacci Numbers

Link: http://www.freecodecamp.com/challenges/bonfire-sum-all-odd-fibonacci-numbers
My algorithm returns the correct values, but the tests failed.
function fibonacci(x)
{
  // fibonacci starts from 1,1
  var arr = [1,1];

  // starts from 2 bc the array already have two items
  for (var i = 2; i < x; i++)
  {
    // the fibonacci number will be pushed only if is
    // smaller than the argument 'x'
    if (arr[arr.length-1] + arr[arr.length-2] <= x)
    {
      arr.push(arr[arr.length-1] + arr[arr.length-2]);
    }
  }

  // a new array to store just the odd numbers
  var oddArr = [];

  // iterates over the all fibonacci number and push
  // just odd numbers
  for (var y = 0, len = arr.length; y < len; y++)
  {
    if (arr[y] % 2 !== 0 && arr[y] <= x)
    {
      oddArr.push(arr[y]);
    }
  }

  // use reduce method to find the sum of the numbers within 'oddArr' array
  oddArr = oddArr.reduce(function(previousValue, currentValue, currentIndex, array) {
    return previousValue + currentValue;
  });

  return oddArr;
}

You initializing oddArr globally, so after the first time you run the function you will not be starting wth an empty array and therefore will return an incorrect result.
Thanks and happy coding!

// a new array to store just the odd numbers
var oddArr = [];

It is not globally, and the results returned by the function are correct. :)

Apologies. I am not thinking clearly today. The real problem is that you changed the name of the function. The tests are looking for a function named sumFibs but your function is named fibonacci. Once you rename your function it will work perfectly :smile:
Sorry for the confusion!

Not a problem. Yeah, the name was the problem.
Thanks for your help!


fix: #512 remove timed task in orderService

Remove timed task in orderService
Remove a line of unusable code.

no problem at all


[Question] return RedirectToAction(nameof(Authorize), params); causes an Invalid Redirect problem

Here's my code
return RedirectToAction(nameof(Authorize),
      new AuthorizeModel
      {
              AppId = model.AppId,
              RedirectUri = model.RedirectUri,
              State = model.State
      });

The logic is when user authorized, I'll redirect him to my Authorize page. But it causes an InvalidRedirect problem and opened the VMS document.
Nothing showed by Chrome, and everything works fine.
It just can't redirect successfully

Can you share Authorize action code? And what is VMS document? I just can't get did you fail with exception or not?


Exception in CUDA simulator before syncthreads deadlocks process exit.

An exception occurring before a call to syncthreads in the CUDA simulator properly reraises the source exception, however it leaves the remaining threads of the kernel invocation blocked on their syncthreads events. This then blocks sys.exit, as the process waits indefinitely on the event-blocked non-daemon kernel threads.
This is a reasonably high impact issue in cases where the CUDA simulator is used to provide simple test coverage where CUDA is not available (ie. many CI contexts). If a test case fails due to an exception within the simulator the test process will deadlock, rather than exit with a non-zero status.
The script below a minimal repro when run with numba 0.38. The process will print an IndexError and traceback, as expected, but will not exit. A traceback on threading.join will be printed after receiving SIGINT.
import numpy
import numba
numba.config.ENABLE_CUDASIM = 1

import numba.cuda as cuda

@numba.cuda.jit
def assign_with_sync(x, y):
    i = cuda.grid(1)
    y[i] = x[i]

    cuda.syncthreads()

size = 16
assign_with_sync[1, size * 2](numpy.arange(size), numpy.empty(size))

Possible solutions:

Spawn simulator threads as daemon threads during thread launch allowing process exit with blocked threads. This is a minimal workaround, however it allows the simulator to "leak" blocked threads on kernel exceptions. This is non-ideal as, as mentioned above, this may cause issues in test contexts where many simulator kernels are launched.

Add a "abort" flag member to BlockThread, set the abort flag on and unblock all threads when a kernel exception is reraised, and check-and-except if the abort flag is set in the simulator syncthreads handler. This is obviously a slightly more complex solution, but has the benefit of properly closing all kernel threads if the kernel exits with an exception.

Thanks for the report, I can reproduce. Thanks also for the proposed fix in #3067  :)


Install fails on Ember CLI  1.13.6 - ember-cli-test-loader not found

I updated Ember CLI to 1.13.6 and generated a fresh app.
I then ran ember install ember-cli-mocha.
Which fails with Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
Installed packages for tooling via npm.
installing ember-cli-mocha
[?] Overwrite tests/test-helper.js? Yes, overwrite
  overwrite tests/test-helper.js
Installing browser packages via Bower...
  cached git://github.com/switchfly/ember-mocha-builds.git#0.8.0
  not-cached git://github.com/mochajs/mocha.git#~2.2.4
  not-cached git://github.com/chaijs/chai.git#~2.3.0
  not-cached git://github.com/teddyzeenny/ember-mocha-adapter.git#~0.3.1
  resolved git://github.com/teddyzeenny/ember-mocha-adapter.git#0.3.1
  resolved git://github.com/chaijs/chai.git#2.3.0
  resolved git://github.com/mochajs/mocha.git#2.2.5
Installed browser packages via Bower.
Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found

Bower.json before install command:
{
  "name": "tagged",
  "dependencies": {
    "ember": "1.13.5",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-data": "1.13.7",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
    "ember-qunit": "0.4.7",
    "ember-qunit-notifications": "0.0.7",
    "ember-resolver": "~0.1.18",
    "jquery": "^1.11.1",
    "loader.js": "ember-cli/loader.js#3.2.0",
    "qunit": "~1.17.1"
  }
}

Same issue here. Happens on 1.13.5 and 1.13.6.
Also occurs with ember-cli-qunit.

Fixed. PR open.

awesome


Error Message When including

I get this error when including the autoload.php from composer
Fatal error: Class 'When' not found in
I have done everything in the readme.md and added to composer.json file and installed.

$r = new \When\When();
i had frustration with this because I also tried the autoload statement which didn't work, but realized the way I was referencing when was wrong. Just do the whole $composer thing in terminal then you should be able to use it as stated above. Hope it helps...I WAS MISSING ONE BACKSLASH BEFORE WHEN!!!!!!


Purpose of check_path

Hey,
currently i do try to use this bundle.
What works is:

POST to google API
redirect to callback_route

What is not working:

check_path is called without query parameters
=> results in missing code Exception

I am curious about what is the purpose of the check_path route and does it need to do anything ?
When i get the redirect to callback_route the code is in the query but then it does a redirect to check_path and there is the code removed from httpUtils. It seems like i need to recreate some response in order to serve the code i get in the callback_route ?

Okay i think the purpose of check_path is the same described here http://symfony.com/doc/current/reference/configuration/security.html ?

So i changed the check_path accordingly to the docs and now i get an error that the access token is not stored in session. From reading the code it should be set automagically. Any hints what i might missing ?

Did you enable the SessionServiceProvider?

yea did that. I am using the SilexSessionProvider but configured with storage \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage and as handler Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcacheSessionHandler
In addition i am registering a AttributeBag to store the session on app.session.
When i do replace it by the default SilexSessionProvider it does work.
Debugging on code shows me that the OAuthService is using a different app.session than i have registered.

alright, i was able to track it down properly. Its related to the AttributeBag. I will close the issue now because the main problem is solved from my POV and i will create a new one for the AttributeBag thingy.


All Good Except For One

It looks like end-of-string is sorting after numbers, rather than before.
[]string{"", "1", "a", "a1"]  ==>  [1  a1 a]

:stuck_out_tongue_winking_eye::gun:

Consider using https://github.com/fvbommel/util/tree/master/sortorder though :)

I’m sorry to have so much bad news.  J
John
John Souvestre - New Orleans LA

From: Maxim Kupriianov<EMAIL_ADDRESS>Sent: 2015 April 21, Tue 14:14
To: xlab/handysort
Cc: JohnRS
Subject: Re: [handysort] All Good Except For One (#5)
:stuck_out_tongue_winking_eye: https://assets-cdn.github.com/images/icons/emoji/unicode/1f61c.png  :gun: https://assets-cdn.github.com/images/icons/emoji/unicode/1f52b.png
—
Reply to this email directly or view it on GitHub https://github.com/xlab/handysort/issues/5#issuecomment-94910038 .  https://github.com/notifications/beacon/AFaoap5Fr2wrT-8MGBExShGTpWIrxJtEks5oBpjcgaJpZM4EFYgs.gif

Unfortunately, something else is wrong now.
[]string{"#", "1"} è [# 1]
Everything else looks good.  Including {"a#", "a1"} which sorts correctly as [a1 a#].
John
John Souvestre - New Orleans LA

From: Maxim Kupriianov<EMAIL_ADDRESS>Sent: 2015 April 21, Tue 14:22
To: xlab/handysort
Cc: JohnRS
Subject: Re: [handysort] All Good Except For One (#5)
Closed #5 https://github.com/xlab/handysort/issues/5  via  https://github.com/xlab/handysort/commit/fb3537ed64a14615a020f0fe8dc08424233d491f fb3537e.
—
Reply to this email directly or view it on GitHub https://github.com/xlab/handysort/issues/5#event-286545322 .  https://github.com/notifications/beacon/AFaoaoQsWZuTgpPNyfyVQ4UGA5IXRyqyks5oBprEgaJpZM4EFYgs.gif

Yes, it is nice.  I have given him a few minor improvements.  I’m working to add handling all of the Unicode 0 digits to it now, but it slows it down.
John
John Souvestre - New Orleans LA

From: Maxim Kupriianov<EMAIL_ADDRESS>Sent: 2015 April 21, Tue 14:23
To: xlab/handysort
Cc: JohnRS
Subject: Re: [handysort] All Good Except For One (#5)
Consider using https://github.com/fvbommel/util/tree/master/sortorder though :)
—
Reply to this email directly or view it on GitHub https://github.com/xlab/handysort/issues/5#issuecomment-94911710 .  https://github.com/notifications/beacon/AFaoakcscebFdnrXyjoYBiVV15mNMKQOks5oBpr6gaJpZM4EFYgs.gif

I wonder why OS X does that

So I expecting # < 1 but then it's not clear why a1 >  a#.

Probably because it’s easy to do, since that is how the characters are ordered.  But in a natural sort the idea is that “numbers are different”.  So it doesn’t make much sense that a number would sort between two non-number characters.
A better visual example would be a “space” character instead of the “#”.  The way it sorts  now:  [  1 _].  The number is sorting between two non-numbers.  What I think it should be:  [1   _].
Imagine filenames, some with space separators and others with underscore separators.  Shouldn’t they sort adjacently, without numbers between them?
Given this, should numbers sort before or after non-numbers?  Either way seems OK to me, but every implementation I’ve looked at has them first.
John
John Souvestre - New Orleans LA


Not working on production build of next js

Hi I am using this library with Next js. It's working fine in development mode. But in production mode it's not working not even showing!

Can you share logs? Here's a repo using the UIKit with Next: https://github.com/EkaanshArora/Agora-FullStack-Nextjs

feel free to reopen if the issue persists

@EkaanshArora Thank you for your response. I am sorry that I forgot to respond. The issue was I was using swcMinify true in the config which was making this issue. After removing it, it worked!


Package for 0.3.1 release

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

This should be gtg. The two extra CI runs failed but they don't seem to be related to this pr at all. The four that are all passed.

The appveyor build that cancelled looks related. Let me restart it to make sure nothing funky is happening on Windows

Doh nevermind. I missed the appveyor pr build. Lgtm


[ERM-5] A diagnostic tool on rollout problems (+ possibly, activation problems)

In real-world practice, a rollout fails from time to time with reason unknown to the operator. This can be due to:

missing or corrupt MSM configuration
missing jcr:content node in a target folder or one of the intermediate ones
an MSM config loop, and more
Would like to have

a success or failure message upon the rollout of a particular page
either a diagnostic UI that analyses and reports possible rollout problems or detailed feedback on why the rollout failed in the very rollout UI, or both

MVP discussed with @smiakchilo
Either perform rollout diagnostics before the rollout, or during the rollout (whichever is easier)
If there are any known* issues with rollout, inform the user about

the page that is rolled out
rollout source and target
failure reason

known reasons for rollout failure:

jcr:content of the page is absent in the livecopy
the page is in cq:exclude list
(optional) on the livecopy level the author disabled the inheritance for page's children. then the children are rolled out from the blueprint. this results in a rollout conflict
(optional) circular rollout depencenies (which can lead to endless rollout)


[libpq] no absolute paths

For https://github.com/microsoft/vcpkg/issues/20469

Can you run the pipeline again?


Show recaptcha on every request

Hi all, thanks for bundle)
I need to create functionality, which will show recaptcha for every request
I made such configuration:
        test_limit:
            - max_usages: 0.5   // Yeah, it works to show recaptcha on every request
              period: 1d
      listeners
        - path: ^/api/create
          limits_key: test_limit
          identifiers: [ username, test_limit_identifier ]
          methods: [ POST ]
          strategy: recaptcha_headers

But problem, that after filling recaptcha, request is not sent.
Could i make, that after filling recaptcha, request will continue be sent to server ?
Thanks

Or not to continue request, but resubmit form after successful response


-DSFML_ROOT is overriden in extlibs

I'm using -DSFML_ROOT to point my dependancies (STP included) at my unusual SFML install location.
Adding cache to either SFML_DIR or SFML_ROOT allows the user (via cmake-gui, or with arguments) to override the default.

Note that the CACHE symbol should probably also be added to PUGIXML and ZLIB.
Will be making a pr tomorrow afternoon, but heres a quick example of CACHE syntax:
set(SFML_DIR "${DEPENDENCIES_DIR}/SFML" CACHE PATH "Path to SFML's Root. Should contain a folder named include, and lib.")

Closed by #29


added jbpm designer and polished hubot-notifier

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/304/
Test PASSed.