Fix: Log out / Log in buttons

This PR is related to Issue #84.
I have tested this on my local server. The Log Out button won't show up if the user isn't logged in. Similarly, the Log In button won't show up if the user isn't logged out.
Screenshots:
Logged In

Logged Out

@PrafulAnand I have made the needed changes. Let me share the screen cast

@manavdesai27 it's looking fine on larger screens am I correct? Can you quickly post the snap of that as well then I think we should b good to merge

I haven't changed anything on larger screens. So this is exactly as it was before making the changes.


DataOkHttpUploader: add Executor active threads info to the error log

What does this PR do?
In order to have more visibility on the repeated issue regarding the Timeout exception in the OkHttp request when uploading our log batches we will add information about the current active threads in the DataUploadScheduledExecutor.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #573 (b612812) into release/1.9.0 (1fa6b3c) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

@@                 Coverage Diff                 @@
##             release/1.9.0     #573      +/-   ##
===================================================
- Coverage            88.77%   88.67%   -0.11%
- Complexity            1572     1573       +1
===================================================
  Files                  170      170
  Lines                 5211     5214       +3
  Branches               628      628
===================================================
- Hits                  4626     4623       -3
- Misses                 350      358       +8
+ Partials               235      233       -2

Impacted Files
Coverage Δ
Complexity Δ

...og/android/core/internal/net/DataOkHttpUploader.kt
97.67% <100.00%> (+0.17%)
18.00 <0.00> (ø)

...android/rum/internal/ndk/DatadogNdkCrashHandler.kt
75.00% <0.00%> (-6.58%)
28.00% <0.00%> (-1.00%)

...g/android/rum/internal/domain/scope/RumEventExt.kt
80.00% <0.00%> (-2.73%)
0.00% <0.00%> (ø%)

...og/android/log/internal/logger/LogcatLogHandler.kt
93.02% <0.00%> (-2.33%)
17.00% <0.00%> (-1.00%)

...ore/internal/constraints/DatadogDataConstraints.kt
92.31% <0.00%> (-1.28%)
25.00% <0.00%> (-1.00%)

...internal/tracking/JetpackViewAttributesProvider.kt
86.96% <0.00%> (ø)
13.00% <0.00%> (ø%)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
78.12% <0.00%> (ø)
28.00% <0.00%> (ø%)

...c/main/kotlin/com/datadog/android/DatadogConfig.kt
93.97% <0.00%> (+0.50%)
11.00% <0.00%> (+1.00%)

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
88.89% <0.00%> (+1.11%)
37.00% <0.00%> (+1.00%)

...tadog/android/log/internal/domain/LogSerializer.kt
86.49% <0.00%> (+1.35%)
26.00% <0.00%> (ø%)

... and 3 more


reference on Form component is undefined

Issue description

version #3.9.5
components: Form

Steps to reproduce issue
onSubmit() {
  console.log(this.refs.form) // this is undefined
}
render() {
  return <Form ref="form" onSubmit={this.onSubmit}>{this.props.children}</Form>
}

@jasonvillalon Right now this is done via passing a getRef attribute to Form component. This attribute will pass in a function that gets called once the component is mounted and a ref is available. This is the PR that added this feature: https://github.com/reactstrap/reactstrap/pull/218

thanks :)


Want to add a new github repo to contribute

Description
I want to add a new GitHub repository to contribute. It is a frontend-interview-handbook. Here one can learn about frontend interviews, how to create a good resume, which questions to prepare etc.
Screenshots
No response
Additional information
No response

Hey, we want to link GitHub repo's where you can work on the specified domain. This still sounds like a good resource for beginners with the front-end. I think we can make a folder called useful resources and have it there.
cc @kaiwalyakoparkar


Fix internal log messages isolation

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #83 (9bca097) into master (25487fe) will decrease coverage by 18.32%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master      #83       +/-   ##
===========================================
- Coverage   44.29%   25.97%   -18.33%
===========================================
  Files          99       53       -46
  Lines       12141     8763     -3378
===========================================
- Hits         5378     2276     -3102
+ Misses       6474     6342      -132
+ Partials      289      145      -144

Flag
Coverage Δ

1.16.x
25.97% <ø> (-18.33%)
:arrow_down:

1.17.x
?

integration
?

macOS-latest
25.97% <ø> (-0.16%)
:arrow_down:

ubuntu-latest
?

unit
25.97% <ø> (-0.16%)
:arrow_down:

windows-latest
?

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

Impacted Files
Coverage Δ

internal/cluster/context.go
28.57% <0.00%> (-71.43%)
:arrow_down:

options.go
0.00% <0.00%> (-56.14%)
:arrow_down:

internal/table/scanner/result.go
31.86% <0.00%> (-56.05%)
:arrow_down:

internal/scheme/scheme.go
0.00% <0.00%> (-55.08%)
:arrow_down:

connection.go
0.00% <0.00%> (-36.98%)
:arrow_down:

internal/errors/errors.go
0.00% <0.00%> (-36.59%)
:arrow_down:

internal/operation/params.go
0.00% <0.00%> (-36.00%)
:arrow_down:

internal/table/session.go
41.23% <0.00%> (-34.93%)
:arrow_down:

connect_params.go
11.11% <0.00%> (-33.34%)
:arrow_down:

internal/errors/transport.go
10.61% <0.00%> (-31.29%)
:arrow_down:

... and 63 more

Continue to review full report at Codecov.

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


Can't install on mac intel under Big Sur.

Which version of better-sqlite3: 7.4.3
Which Electron version: 13.1.8
Which electron-rebuild version: 2.3.5
Is it a CRA: yes
Which version of react-scripts: 3.4.1
Which NodeJS version: 14.17.4 and 14.17.2
Which node-gyp version: @latest
Did you delete 'node-modules' before attempting again: yes
Did you also delete 'package-lock.json' before attempting again: yes
Describe the issue:
Upgraded libraries after running 'npm-audit' and found it impossible to have electron-rebuild install-app-deps to finish it's work.
It would get stuck while compiling better-sqlite3.
Error output, anonymized:
itme@My-MacBook-Pro myElectronProject % npm install

><EMAIL_ADDRESS>postinstall /Users/itme/Documents/myElectronProject
> electron-rebuild install-app-deps

⠦ Building module: better-sqlite3, Completed: 0  TOUCH b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
  ACTION deps_sqlite3_gyp_locate_sqlite3_target_extract_sqlite3 b857c92884e9598d609f6be182a2595df7a8e00f.intermediate
⠇ Building module: better-sqlite3, Completed: 0  TOUCH Release/obj.target/deps/locate_sqlite3.stamp
  CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o
⠧ Building module: better-sqlite3, Completed: 0  LIBTOOL-STATIC Release/sqlite3.a
⠸ Building module: better-sqlite3, Completed: 0  CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o
⠙ Building module: better-sqlite3, Completed: 0In file included from ../src/better_sqlite3.cpp:4:
In file included from ./src/better_sqlite3.lzz:10:
In file included from /Users/itme/.electron-gyp/13.1.8/include/node/node.h:67:
In file included from /Users/itme/.electron-gyp/13.1.8/include/node/v8.h:30:
/Users/itme/.electron-gyp/13.1.8/include/node/v8-internal.h:454:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
            !std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
                                ~~~~~^~~~~~~~~~~
                                     remove_cv
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:776:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
                                                 ^
⠼ Building module: better-sqlite3, Completed: 0./src/objects/database.lzz:129:23: warning: 'AtExit' is deprecated: Use the three-argument variant of AtExit() or AddEnvironmentCleanupHook() [-Wdeprecated-declarations]
                node::AtExit(Database::AtExit);
                      ^
/Users/itme/.electron-gyp/13.1.8/include/node/node.h:864:1: note: 'AtExit' has been explicitly marked deprecated here
NODE_DEPRECATED(
^
/Users/itme/.electron-gyp/13.1.8/include/node/node.h:108:20: note: expanded from macro 'NODE_DEPRECATED'
    __attribute__((deprecated(message))) declarator
                   ^
./src/util/binder.lzz:36:51: warning: 'CreationContext' is deprecated: Use MaybeLocal<Context> GetCreationContext() [-Wdeprecated-declarations]
                v8::Local<v8::Context> ctx = obj->CreationContext();
                                                  ^
/Users/itme/.electron-gyp/13.1.8/include/node/v8.h:4293:3: note: 'CreationContext' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON("Use MaybeLocal<Context> GetCreationContext()")
  ^
/Users/itme/.electron-gyp/13.1.8/include/node/v8config.h:429:41: note: expanded from macro 'V8_DEPRECATE_SOON'
#   define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
                                        ^
⠦ Building module: better-sqlite3, Completed: 02 warnings and 1 error generated.

So, for the moment what's worked is downgrading electron to 8.1.1 and electron-rebuild to 1.10.1
A rather curious thing is that it seems to be going after 5.4.3... And I swear I triple checked I didn't make a typo:

<EMAIL_ADDRESS>install /Users/itme/Documents/myElectronProject/node_modules/@nano-sql/adapter-sqlite/node_modules/better-sqlite3

I hope this helps find out the issue.

A rather curious thing is that it seems to be going after 5.4.3... And I swear I triple checked I didn't make a typo:

@nano-sql hasn't been updated in two years and points to ^5.4.2 https://github.com/only-cliches/Nano-SQL/blob/af74705e3fc4be6e65c0e4044f7dc7c5b745886c/packages/Adapter-SQLite3/package.json#L24
Apart from that this is a duplicate of https://github.com/JoshuaWise/better-sqlite3/issues/494 and it should compile if you use the latest versions of everything.

Ah! Seems like what I needed was a fresh set of eyes.
Thank you, I just tried everything without nanosql and it's working proper.
Cheers.


openwayback: split out our local code changes to separate repo

We would like to set up puppet for swap machines so it can upgrade upstream openwayback separately from our local mods.  This implies our local mods should be in a separate repo and puppet should set up the classpath correctly (for jars used by tomcat or ...)  and javascript should be getting local versions first (??)

See https://github.com/iipc/openwayback/wiki/Creating-a-WAR-overlay

I started doing this locally on my laptop;  didn't really get to a comfortable place.

swap git repo on my laptop:   has about 2 files in it.
swap-config directory on my laptop: has 2 files;  from when I was thinking the configs would be separate from the local code mods.  Not a git repo.
swap-localizations - possibly has the most code from localizations, but is not complete.  local git repo is messed up

see sul-dlss/swap


Monetization Idea

I think an innovate new approach is ransomware. Once the web browser is opened, the web browser should encrypt people's home directory. Insult them for being to broke, and insist to be worthy of there files, they should recommend the browser to one more person and pay you 7 dollars a month. The subscription can only be cancelled through certified mail to Take the L @  PSC 768 Box 400 APO AP 96598-0001(South Pole Station) and paying a 75 dollar cancellation fee, a 25 dollar payment fee, and a 10 dollar loser fee.

too far

so this one time mate I wanna cry mate and then a virus appeared on my computer when I downloaded wanna cry exe mate


[EN] Feedback for: /web/tools/chrome-devtools/iterate/inspect-styles/edit-styles?hl=en

" basics of inspecting and tweaking your pages." link at the top of the page is broken.

PR #2587 is open to address this. Looks like just an old link from importing from our old documentation area.
Thanks for the report!

Actually I broke it when I merged the content from "basics of inspecting..." into "inspect-styles". I need to do a redirect or something...


lowerbound not implemented (from searchsorted)

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04.3 LTS
TensorFlow installed from (source or binary): pip3
TensorFlow version (or github SHA if from source): tensorflow           2.0.0

Provide the text output from tflite_convert
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: . Here is a list of operators for which you will need custom implementations: LowerBound.
Traceback (most recent call last):
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/bin/toco_from_protos", line 8, in
    sys.exit(main())
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 89, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow_core/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow_core/lite/toco/python/toco_from_protos.py", line 52, in execute
    enable_mlir_converter)

@aptly-io,
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

This is a python snippit edited and invoked from within visual studio code. Hope this clarifies. Thanks a lot to look into it!
#%%

# This example only works with # pip3 install tensorflow==1.14.0
import tensorflow as tf

# TF 2.0 does not support the low level api compared to 1.x version
# It continuously fails Interpreter.set_tensor() or Interpreter.invoke()
# import tensorflow.compat.v1 as tf
# tf.disable_v2_behavior()

print(tf.__version__)

#%%

# Dummy values taken from tensorflow searchsorted() man. page
sorted_sequence = [[0, 3, 9, 9, 10], [1, 2, 3, 4, 5]]
imposter_table = tf.constant(sorted_sequence)

input_avg_scores = tf.placeholder(tf.int32, shape = (2, 3), name = 'input_avg_scores')

scores = tf.searchsorted(imposter_table, input_avg_scores)

#%%
with tf.Session() as session:
    # Dummy values taken from tensorflow searchsorted() man. page
    values = [[2, 4, 9], [0, 2, 6]]
    print(session.run(scores, feed_dict = {input_avg_scores: values}))    # should return [[1 2 2] [0 1 5]]

    converter = tf.lite.TFLiteConverter.from_session(session, [input_avg_scores], [scores])

    # since LowerBounds is not supported, try including whitelisted TensorFlow operations: it is not whitelisted
    # converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS, tf.lite.OpsSet.SELECT_TF_OPS]
    # converter.target_ops = [tf.lite.OpsSet.SELECT_TF_OPS]

    tflite_model = converter.convert()
    open("fm_search_scores.tflite", "wb").write(tflite_model)
#%%

This is the full output when running the 3rd cell:

with tf.Session() as session:...
[[1 2 2]
 [0 1 5]]
---------------------------------------------------------------------------
ConverterError                            Traceback (most recent call last)
~/dev/projects/cognisance/tensorflow/tf_averager.py in
     10     # converter.target_ops = [tf.lite.OpsSet.SELECT_TF_OPS]
     11
---> 12     tflite_model = converter.convert()
     13     open("fm_search_scores.tflite", "wb").write(tflite_model)

~/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/lite/python/lite.py in convert(self)
    896           input_tensors=self._input_tensors,
    897           output_tensors=self._output_tensors,
--> 898           **converter_kwargs)
    899     else:
    900       result = _toco_convert_graph_def(

~/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/lite/python/convert.py in toco_convert_impl(input_data, input_tensors, output_tensors, *args, **kwargs)
    402   data = toco_convert_protos(model_flags.SerializeToString(),
    403                              toco_flags.SerializeToString(),
--> 404                              input_data.SerializeToString())
    405   return data
    406

~/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/lite/python/convert.py in toco_convert_protos(model_flags_str, toco_flags_str, input_data_str)
    170       stderr = _try_convert_to_unicode(stderr)
    171       raise ConverterError(
--> 172           "TOCO failed. See console for info.\n%s\n%s\n" % (stdout, stderr))
    173   finally:
    174     # Must manually cleanup files.

ConverterError: TOCO failed. See console for info.
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:525: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:541: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:542: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:543: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:544: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:545: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/dtypes.py:550: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
2019-10-30 10:08:53.143716: I tensorflow/lite/toco/import_tensorflow.cc:1336] Converting unsupported operation: LowerBound
2019-10-30 10:08:53.151956: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 3 operators, 6 arrays (0 quantized)
2019-10-30 10:08:53.152029: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 3 operators, 6 arrays (0 quantized)
2019-10-30 10:08:53.152070: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 1 operators, 3 arrays (0 quantized)
2019-10-30 10:08:53.152085: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 1 operators, 3 arrays (0 quantized)
2019-10-30 10:08:53.152096: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 1 operators, 3 arrays (0 quantized)
2019-10-30 10:08:53.152109: I tensorflow/lite/toco/allocate_transient_arrays.cc:345] Total transient array allocated size: 0 bytes, theoretical optimal value: 0 bytes.
2019-10-30 10:08:53.152122: I tensorflow/lite/toco/toco_tooling.cc:433] Estimated count of arithmetic ops: 0 billion (note that a multiply-add is counted as 2 ops).
2019-10-30 10:08:53.152826: E tensorflow/lite/toco/toco_tooling.cc:456] We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: . Here is a list of operators for which you will need custom implementations: LowerBound.
Traceback (most recent call last):
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/bin/toco_from_protos", line 8, in
    sys.exit(main())
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/lite/toco/python/toco_from_protos.py", line 59, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "/home/francis/dev/projects/cognisance/tensorflow/venv37/lib/python3.7/site-packages/tensorflow/lite/toco/python/toco_from_protos.py", line 33, in execute
    output_str = tensorflow_wrap_toco.TocoConvert(model_str, toco_str, input_str)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: . Here is a list of operators for which you will need custom implementations: LowerBound.

@haozha111 @gadagashwini I switched to TorchScript. (I missed the time to look into a tensorflow workaround).


API - Context.Stash()

A feature that came from the Akka heritage, is Stashing.
Stashing allows us to prepend a message back onto the mailbox.
So that it can be processed again.
In Akka you can explicitly stash whatever you want there. which in Proto.Actor you can only stash the current message back.
This is used in the EndpointWriter actor when the endpoint fails.
But. this could easily be handled in other ways. and I'm not sure this feature really justifies its own existence.
TLDR; Should we get rid of it?
There are other, much more elegant ways to handle this. e.g. there found be an injected stash object, much like how Behavior is implemented. and the actor code could then pull messages out of that stash whenever needed.

From the Akka docs:

Introduction
Stashing enables an actor to temporarily buffer all or some messages that cannot or should not be handled using the actor’s current behavior.

A typical example when this is useful is if the actor has to load some initial state or initialize some resources before it can accept the first real message. Another example is when the actor is waiting for something to complete before processing the next message.

One of the reasons why this exists was the blocking receive pipeline of Akka.
Proto.Actor does not have this. we could await some initial task on start. and then just process things that come in after this

I use some actors as distributed workers and in that case I use stash to keep track of the last message (and context - so I know who to reply to) in case the worker fails and I need a retry.
My scenario could be handled by supervisor logic, but if that was the case the supervisor should ideally be able to replay the whole context to the failed actor rather than just the message.

Keeping this API, closing


Apple TV tvOS 10.2 require device pairing

The HTTP connection to Apple TV with tvOS 10.2 it's no longer working since device pairing is required. Unfortunately there is no documentation on how to do that.
We see that some commercial app as AirParrot from Squirrel has been able to do that.

Maybe this project could get some help by Beamer, AirParrot or DoubleTwist?
They seem to have managed the hardware verification.


No examine

Ignores removing examine when shift is held

Your branch has conflicts

Fixed in version 1.2


Sub-Task 17.2: AI podcast voice

Task: The user should have options to choose who will narrate the podcast, this choice should be in the form of a drop-down menu.

Deleting issue, linked to US#17


Consider all triangles for retention in Delaunay Triangulation

A previous change in the Delaunay Triangulation code introduced a bug where the last potential triangle would automatically be disregarded, even if it was valid. This pull request fixes the loop condition to ensure that all triangles are properly considered and potentially kept.

Thanks! And congrats for your first merged Godot contribution :tada:


TypeError: Cannot read property 'replace' of undefined

I get the following error:
$ schemats generate -c mysql://local:local@localhost/Signing -t Logs -o Logs.ts
TypeError: Cannot read property 'replace' of undefined
    at Function.MysqlDatabase.parseMysqlEnumeration (/Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:119:26)
    at /Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:149:60
    at Array.forEach (<anonymous>)
    at MysqlDatabase.<anonymous> (/Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:147:40)
    at step (/Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:32:23)
    at Object.next (/Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:13:53)
    at fulfilled (/Users/ap/.nvm/versions/node/v8.11.3/lib/node_modules/schemats/src/schemaMysql.js:4:58)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

I just installed schemats with npm install -g schemats
$ type schemats
schemats is hashed (/Users/ap/.nvm/versions/node/v8.11.3/bin/schemats)

and my table looks like this:
mysql> use Signing;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> describe Logs;
+---------+------------------------------------------------+------+-----+-------------------+----------------+
| Field   | Type                                           | Null | Key | Default           | Extra          |
+---------+------------------------------------------------+------+-----+-------------------+----------------+
| id      | int(10) unsigned                               | NO   | PRI | NULL              | auto_increment |
| tstamp  | timestamp                                      | YES  | MUL | CURRENT_TIMESTAMP |                |
| user    | char(8)                                        | YES  | MUL | NULL              |                |
| session | int(10) unsigned                               | YES  | MUL | NULL              |                |
| level   | enum('debug','info','warn','error','critical') | NO   |     | NULL              |                |
| text    | text                                           | YES  |     | NULL              |                |
+---------+------------------------------------------------+------+-----+-------------------+----------------+
6 rows in set (0.00 sec)

My database installation:
mysql> status
--------------
mysql  Ver 8.0.11 for osx10.13 on x86_64 (Homebrew)

Connection id:		23
Current database:	signing
Current user:		local@localhost
SSL:			Not in use
Current pager:		stdout
Using outfile:		''
Using delimiter:	;
Server version:		8.0.11 Homebrew
Protocol version:	10
Connection:		Localhost via UNIX socket
Server characterset:	utf8
Db     characterset:	utf8
Client characterset:	utf8mb4
Conn.  characterset:	utf8mb4
UNIX socket:		/tmp/mysql.sock
Uptime:			2 hours 38 min 35 sec

Looks like it is related to MySql 8, It has tables & columns with an uppercase.
Therefore this line:var enumValues = MysqlDatabase.parseMysqlEnumeration(enumItem.column_type);
passes undefined to the parseMysqlEnumeration, it can be solved in query function that will convert all column names to lower-case

Given the above, and the lack of maintenance of this project, I'm now using this to generate types for MySQL 8

I'm maintaining a Fork of it
https://www.npmjs.com/package/@typed-code/schemats

Interesting. I presume this bug is fixed in your version?
One limitation of the version of sql-ts I've had to use due to peerDependency conflicts is it only generates an Insert interface rather than a select.
I'm trying to find an example output from schemats (this or yours). Could you point me to one for MySQL?

It generates schema types, meaning, tables and each column type...
It supports custom overwrite, to provide json types


Private vs group chats

@jessesquires First off, I love this project and what it can do. I will donate 5$ if you could help answer this question. Does jsqmessagesviewcontroller support both private and group chats. I have an app and I want it to be so that a user can have a private discussion with a particular user or an open discussion with the whole community. These will be two separate view controllers of course. Thanks and I hope to hear back from you.

Hey @jackpaster !
Yep! This is easy to do. There's nothing about that library that limits this. You can have 1:1 chats or group chats. All you need to do is configure the data source appropriately. Checkout the example project. 😄


Support Windows

Currently Windows is not supported / there are no installation instructions for Windows, this would be a good addition.

Currently Windows is not supported / there are no installation instructions for Windows, this would be a good addition

Help needed. :)

What would be the best solution?

I don't know what's the best, but to_str_lossy should work, and is a good start. :)

I can help! So a collision is not a security hazard?

I'm not entirely sure right now. It will be more clear when we see a diff.
Another approach is to just return an error from a given function when the conversion fails.

@dpc I have done it earlier. Though i'd prefer if we could use travis for windows builds (since it is supported now)

@Dylan-DPC Awesome. So, do we just need to enable windows in .travis.yml now?

For AppVeyor, I have used this file in my own crate. But Travis is indeed easier.

@dpc I haven't used travis yet for windows builds. I think that's how it works. just add a new matrix or OS and it should be good enough

Leaving open then. I'll try to get to it at some point.


Find new brand name, logo, images for home page

We need to make new logo , new brand name.
Also need proper images for home page slide then only we can start making presentation video

I recommend ..
JIM. Solution
J= Java
I= Irufaan
M= Mehedy

@BlackPearlCorp , Use This Folder to Submit Your Works

I feel it should be a simple and catchy word.

@BlackPearlCorp ,, tell us what you recommend,, then we will decide what is best


x/vgo: proposal: let sub packages could use the same version of root package in monorepo.

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10.3 darwin/amd64 vgo:2018-02-20.1

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN="/Users/morlay/Go/bin"
GOCACHE="/Users/morlay/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/morlay/Go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10.3/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/l1/sr0pz92x5n7fwmdjszmjfcrc0000gn/T/go-build681411572=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Here the example https://github.com/go-courier/enumeration
github.com/go-courier/enumeration/
   generator/
      go.mod
   go.mod

We often create a monorepo with to assemble all related packages. but we use them for different purpose.
As the example,

The root package github.com/go-courier/enumeration as core modules.
The github.com/go-courier/enumeration/generator for go generate.

They have different dependences, and we couldn't put all dependences into the go.mod in root package, because we don't want to includes unnecessary dependences when we just use github.com/go-courier/enumeration
However, after we added go.mod under github.com/go-courier/enumeration/generator to isolate their owner dependences. The problem comes.
github.com/go-courier/enumeration/generator requires github.com/go-courier/enumeration
and we have to commit root codes first as one version,
and commit again just with upgrading dependences of github.com/go-courier/enumeration/generator to solve dependences issue of sub package.
This may make a little trouble for maintaining monorepo.
Could we let sub packages use the same version of root package. with marking version ~ or other token?
like below:
module github.com/go-courier/enumeration/generator

require (
	github.com/go-courier/enumeration ~
        ...
)

meanings sub package github.com/go-courier/enumeration/generator will use the same version of
github.com/go-courier/enumeration

use root go.mod instead.  Vgo not download unnecessary deps.


Organize imports bug

Hi all, I've a problem with the 'Ensime:Organize imports' menu:
this has been 'refactored'
import scala.collection.immutable.HashMap
import scala.concurrent.Future
import scala.util.Try

import scala.concurrent.ExecutionContext.Implicits.global

to this:
import scala.collection.immutable.HashMap
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Futureimport scala.concurrent.Future
import scala.util.Try

As you can see, the third line has been duplicated and concatenated.
Atom Version: 1.6.0
System: Linux Mint
Ensime package, v0.37.2
Config
{
  "core": {
    "autoHideMenuBar": true,
    "disabledPackages": [
      "language-csharp",
      "language-clojure",
      "language-go",
      "language-objective-c",
      "language-perl",
      "language-php",
      "linter-scalac"
    ]
  },
  "Ensime": {
    "noOfAutocompleteSuggestions": 100,
    "runServersDetached": true,
    "sbtExec": "/usr/bin/sbt"
  }
}

Installed Packages
# User
Ensime, v0.37.2
browser-plus, v0.0.54
build-sbt, v0.4.0
hyperclick, v0.0.35
language-nim, v0.2.2
language-scala, v1.1.6
language-scala-plus, v1.2.2
linter, v1.11.3
nim, v0.3.6
terminal-plus, v0.14.5

# Dev
No dev packages

Thanks for the report @stevendobay
Observations for anyone else looking at this issue....
The program I've been using to explore this is:
import scala.collection.immutable.HashMap
import scala.concurrent.Future
import scala.util.Try

import scala.concurrent.ExecutionContext.Implicits.global

object foo {
val x = new HashMap()
val y = Try(1)
val f = Future.successful(2)
}

If you do have the blank like: organize imports will produce a mess (as described above, although additionally my small program becomes syntactically broken too)
If you do not have a blank like: organize imports looks to be OK
With the blank line, I see the following patch being returned:

@d6y Is the patch from server in itself broken or is it the application of it within Atom that's problematic?

The patch looks correct: it's re-ordering the imports only.
I started investigating on Sunday but ran out of time:

I couldn't see any obvious problem. Perhaps we should be using newStart in selecting the region, but I didn't get far enough into looking at what newStart was defined as meaning (i.e., peeking into the emacs source probably)

I was wondering if the end range always being in column 0 was the cause of an issue if there was a new line being trimmed someplace.  Again, didn't get to see how Range is defined and used by the buffer in Atom.

I spent some time creating a test case https://github.com/hedefalk/ensime-atom/blob/bugfix/issue214/spec/issue214/refactorings-spec.coffee
I really want to have more test coverage and so this was a good opportunity for this.
I haven't had any time to look at the real production code issue, but my guess is that it's completely broken when there are more than one hunk per file since the edits are just performed one after the other… I guess offsets will be messed up… I was probably drunk when I wrote that and only tested it on something super simple…
It's however very much demandable to do the in-atom edits instead of using the one I used before from the diff lib I think. Just to retain markers and stuff. Maybe need to look at that code to see how they manage the offsets.

Oh, the testcase above is in a branch where I also did some mods to the main code so can't just paste it, but need to check out that branch…

Eh, my test case seems broken, for some reason diff lib doesn't parse the lines…


Zeroconf library is missing strong name.

In our legacy project, we wish to use the Zeroconf library but we were not able to, as it is not strongly named. So could you please provide one that will have the identity info of the author or can we sign it with strong name using our own key as mentioned in the page - https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming

@onovotny  Would you please suggest?

I’ve been traveling this week. I can take a look next week.


gen2-spi/device-yolo-parsing running error

I ran the device-yolo-parsing demo on OAK-D-IOT-40
 use the default blob tiny-yolo-v3.blob.sh4cmx4NCE1, The code runs normally, and the esp32 output is normal through the serial debugging tool.
But using other models, such as the model here, it only runs normally for 1-2 seconds and the esp32 output displays Timeout: no response from remote device... failed to recv packet
Is there any special requirements for the yolo model when converting to a blob ?
depthai  version
Name: depthai
Version: <IP_ADDRESS>
Summary: DepthAI Python Library
Home-page: https://github.com/luxonis/depthai-python
Author: Luxonis
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/mulong/mambaforge/envs/depthai/lib/python3.10/site-packages
Requires:
Required-by: depthai-sdk

Main discussion moved to:
https://github.com/luxonis/depthai-experiments/issues/247


Support Kafka cluster

If the code is not able to support Kafka cluster?
brod:start_client([{"<IP_ADDRESS>", 9092},{"<IP_ADDRESS>", 9092},{"<IP_ADDRESS>", 9092}], pname,  [])

what was the error?

I tested it, it should work.
In my test, I have only ONE kafka node listening on <IP_ADDRESS>:9092
Please make sure that your brokers are really listening on 127.0.0.x addresses,
or <IP_ADDRESS> should work if it is a single node cluster.
Also if advertised.host.name is configured in kafka, make sure it's resolvable from where brod is running.

@zmstone  thanks


Fix displacement of nodes.

#7
The problem was that the rect_position values of the node were saved but when creating the nodes it was working with offset.
The displacements happened because when modifying the GrapEdit values such as zoom or scroll_offset rect_position it is modified.

Thank you so much, this is gonna save me from a lot of headaches!

Thank you!


reCaptcha added to contact form, animation transparency restated, per-page animation control.

My apologies for incorporating two features into the same pull request.
Documentation complete. i18n placeholders put in each language, but not translated.
To see the changes you have to add a captcha site key to config.toml. After that the captcha should show up on the contact form. Turning on or off animation will show the transparency effect and also show the captcha jumping. You can now turn off animation on a per-page basis in the frontmatter.
Carmine

Ah ... attempts to render the recaptcha have removed it from the form.

Ah ... attempts to render the recaptcha have removed it from the form.

@cdichiara  Thanks. I'll check it out and report back.

@cdichiara  Thanks. I'll check it out and report back.

OK let me implement netlify and come back with a pull request. I'm feeling a lot of complexity around the config, let me try to clarify what I recommend first and then let you decide what you want to do @lxndrblz .

OK let me implement netlify and come back with a pull request. I'm feeling a lot of complexity around the config, let me try to clarify what I recommend first and then let you decide what you want to do @lxndrblz .


Clock::Now bug on windows

int64 t = (perfCount.QuadPart *<PHONE_NUMBER>) / perfFreq.QuadPart;
(perfCount.QuadPart *<PHONE_NUMBER>) <== the result could out of int64 max.
so will get crash quickly(about one hour), when Clock::LapTime(this->lastTimePoint) return a negative number.
Poor Engilsh, sorry. :(

I have rewritten the Windows implementation completely, there was also a problem with thread-safe initialization of the perf-frequency. I'm now capturing a start-count, and perform the conversion on the difference between the current count and start-count so that the overflow would happen much later, I also reduced the resolution from nano- to microseconds.
Also, std::chrono is actually fixed in the latest VS2015 version, but for now I'll keep the QueryPerformanceCounter code in.
Thanks for the bug report!


How to save all created pages as a single project?

Thanks for this great plugin
I want to save template pages at the end as a single project (multi-page website)
Can you tell me how to do that?

The plugin doesn't have support for that yet. You can take a look at the  page-manager module to create something along those lines.


Exception with rfxtrx / binary sensor after a few hours of normal operations

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
"7 days ago" official docker image
Python release (python3 --version):
official docker image
Component/platform:
rfxtrx / BinarySensor
Description of problem:
After a few hours, I have an exception in logs and rfx (chacon) binary sensors (wall switch and remote) does not work anymore
Expected:
no exception
Traceback (if applicable):

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.6/site-packages/RFXtrx/__init__.py", line 710, in _connect
    self.event_callback(event)
  File "/usr/src/app/homeassistant/components/rfxtrx.py", line 168, in handle_receive
    subscriber(event)
  File "/usr/src/app/homeassistant/components/binary_sensor/rfxtrx.py", line 81, in binary_sensor_update
    sensor = rfxtrx.get_pt2262_device(device_id)
  File "/usr/src/app/homeassistant/components/rfxtrx.py", line 249, in get_pt2262_device
    device.masked_id == get_pt2262_deviceid(device_id,
  File "/usr/src/app/homeassistant/components/binary_sensor/rfxtrx.py", line 179, in masked_id
    return self._masked_id
AttributeError: 'RfxtrxBinarySensor' object has no attribute '_masked_id'

(Thank you)

Will be solved by this pr: https://github.com/home-assistant/home-assistant/pull/10203

great ! thank you


how to show annotations

Through the PDFRenderer method renderPage can not display annotations, check the source code, annotations have no drawing logic

I am having the same problem, I can create the annotations, and I can see the values they have after printing them, they are being created but they are not visible inside the PDF.


post-migration script doesn't handle missing modern name

When there is a missing or blank modern-name element in meta.xml, the post-migration script blows up:
ERROR, UNEXPECTED EXCEPTION
'modern-name'
Traceback (most recent call last):
  File "bin/post-migrate.py", line 91, in <module>
    main(args)
  File "bin/post-migrate.py", line 28, in inner
    return func(*args, **kwargs)
  File "bin/post-migrate.py", line 47, in main
    pkg.open(os.path.join(real_path,d))
  File "/home/paregorios/Documents/i/isaw.images/bin/../isaw/images/arglogger.py", line 18, in inner
    return func(*args, **kwargs)
  File "/home/paregorios/Documents/i/isaw.images/bin/../isaw/images/package.py", line 238, in open
    self.make_overview()
  File "/home/paregorios/Documents/i/isaw.images/bin/../isaw/images/arglogger.py", line 18, in inner
    return func(*args, **kwargs)
  File "/home/paregorios/Documents/i/isaw.images/bin/../isaw/images/package.py", line 357, in make_overview
    text = ['', geo['modern-name']]['modern-name' in geo.keys()]
KeyError: 'modern-name'

I'm working on this in branch issue27


Exclude subfolders

We need a way to exclude subfolders.
Do you think we can do that?
Ex:
dist/js/notToInjectfile.js and
dist/thisFileYes.js.
Is it possible now?

Also because there is a need not to import all the chunks but only the main.js.

I think https://github.com/haifeng2013/rollup-plugin-bundle-html/pull/13 can close this issue.
@haifeng2013 please can you review, merge and release it ASAP?
This plugin is amazing for Rollup. If you don't have time we can fork it and start editing the fork.


Optimize remove action apply with early iteration exit

Description
Use Case
Right now, we use Iterator::retain to remove files from active file list when applying remove actions from the transaction log: https://github.com/delta-io/delta-rs/blob/0a05cb45ace7a75ae87bbd4acb3b919653e09233/rust/src/delta.rs#L1484
This can be further optimized by performing an early exit of the iteration when we reach the file that needs to be removed. There is no point going through the remaining of the file list and compare paths since file paths should be unique.
Related Issue(s)

Hey, can I have this issue? I am thinking of the following approach.
First find the position of the file to remove.
state.files.iter().position(|a| *a.path == v.path)

It will stop processing as soon as it finds a true.
Then we can just use the index from above to remove the element from files.
let index = { state.files.iter().position(|a| *a.path == v.path) };
if let Some(index) = index {
    state.files.remove(index);
}

Looks good to me, @akshay26031996 assigned the issue to you.


Pluck does not throw

The pluck function does not throw an exception, but in the documentation you use the try keyword:
let user = try db.pluck(query)
Also in the documentation the menu point "Migrations and Schema Versioning" is not linked.

+1
Currently I try to check 1 field in DB to make sure it is valid, in case it is not valid app crashes and "try" cannot be used as pluck does not through.


Unable to perform PAUSE operation in directline 3 CONTAINERMODE

Hi Team,
I want to validate 2 bot responses, second response is coming after sometime. How to validate the second response.
I am using the "CONTAINERMODE": "directline3". Where 2nd response is coming max by 1 min.
I am using the PAUSE statement in below ways, but not working:-
Way :- 1
#bot
Statement1.
PAUSE 40000
Statement2.
Way :- 2
#bot
Statement1.
PAUSE 40000
#bot
Statement2.
I have used waitforbot logic hook also but it is not working.
#bot
Statement1.
WAITFORBOT 40000
Statement2.
Way :- 2
#bot
Statement1.
WAITFORBOT 40000
#bot
Statement2.
How to overcome this issue, please suggest.

@codeforequity-at  Please help to update on the issue.

What about this ? Should immediately assert the Statement1 response, then wait up to 40 seconds for the Statement2
#bot
Statement1.

#bot
WAITFORBOT 40000
Statement2.

A better place to ask such question is the Botium Forum https://forum.botium.ai/

This is about validating the proactive message of chatbot through botium.  If we are in some workflow and chatbot is expecting some input through user side, and user has responded within 1 min. Then chatbot will send the proactive message. So I need to validate the proactive messages through botium.
Suppose I am in ticket creation flow, ticket creation form is opened. And user not responded within 1 min then it will send the proactive message.
Tried the below steps but got failed.
Please find the below convo
#me
Cancel
#bot
OK. Thank you.
#me
Create a ticket
#bot
OK, Let's create an IT support request.
#bot
Please provide all required details
CARDS Please provide all required details
FORMS Title|Description|How urgent is your need?
BUTTONS Next|Cancel
#bot
WAITFORBOT 60000
I'm waiting for your response. (This message needs to be validated)
Getting below error:-
Error: Proactive Messages/Line 22: error waiting for bot - Bot did not respond within 10s
########################################
Proactive Messages/Line 22: error waiting for bot - Bot did not respond within 10s
------------ TRANSCRIPT ----------------------------
#me: Cancel
#bot: OK. Thank you.
#me: Create a ticket
#bot: OK, Let's create an IT support request.
#bot: Please provide all required details
CARD(Please provide all required details)
BUTTON(Next | {"action":"Next"})
BUTTON(Cancel | {"action":"Cancel"})
FORM(summary | Title)
FORM(description | Description)
FORM(priority | How urgent is your need?)
at BotiumBindings.wrapBotiumError (node_modules\botium-bindings\src\BotiumBindings.js:77:14)
at C:\botium\node_modules\botium-bindings\src\BotiumBindings.js:134:33
Please help to resolve this.

Thanks for your response, sure will post in Forum.


Set JAVA_HOME for PerformanceTestsPass job

so we don't have build cache misses there.

@bot-gradle test and merge

Your PR is queued because #16741 is being built.

OK, I've already triggered a build for you.


Windows 19041 build breaks ability to connect a Ps Move controller

Hei guys, as mentioned I am unable to CONNECT, not pair any controller with my os build. I used new version of adminserver to pair and it went but no connection at all right after it. I just get libusb errors. I am letting you know as it is comming probably to all users in future.

[2020-03-24 23:37:18.789]: AsyncBluetoothPairDeviceRequest - Verified connection!
[2020-03-24 23:37:18.805]: ServerRequestHandler - Async bluetooth request([Pair] ID: 0 Conn: 0) completed.
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
[2020-03-24 23:37:18.924]: DeviceTypeManager::update_connected_devices - Closing device 0 (PSMove) since it's no longer in the device list.
[2020-03-24 23:37:18.929]: PSMoveController::close - Closing PSMoveController(\?\hid#vid_054c&pid_03d5&col01#6&499134b&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030})
[2020-03-24 23:37:18.937]: WorkerThread::stop - Stopping worker thread: PSMoveSensorProcessor
[2020-03-24 23:37:18.940]: WorkerThread::stop - Worker thread stopped: PSMoveSensorProcessor
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent
libusb: error [windows_get_device_list] program assertion failed - existing device should share parent`

I have the same error sadly

I figured it out using another bt dongle, it seems at libusb errors comes from trying to conect to my build-in bt. Despite at control panel shows its address it's not able to connect through it.


Name conflict on chrome 61

Chrome version 61 has added a Clipboard object, i still can't find any documentation on this new object:
on the console:
window.Clipboard
ƒ Clipboard() { [native code] }
Now when this plugin is loaded on a page it overwrittes de original definition of Chrome
I don't know if it has any impact yet, may be this plugin could take a new name to avoid conflicts?

I'm having the same issue.
Uncaught TypeError: Illegal constructor
When calling new Clipboard

Has anyone heard anything about what Chrome's window.Clipboard is/does?

@mAAdhaTTah I think it's part of the Asynchronous Clipboard API. navigator.clipboard is supposed to return a Clipboard object (though it doesn't work currently AFAICT. I think Chrome has started implementing it.

Any have idea of this change? Some of my functions of Clipboard stop of works correctly. I test in preview version of chrome(57) and i dont have problem

@Hideiki , I'm currently facing the same problem. As a temporary solution I ended up creating a custom version of the library by  replacing the name of Clipboard to another non-conflicting name with Chrome.

Do any of you have a simple code sample that demonstrates the issue? Personally I don't experience this issue...

@Ruffio The issue is that the existence of Clipboard.js can not be tested by checking window.Clipboard in Chrome 61+, because this variable natively exists now.

I understand the issue, I just can'udløbstiden' reproduce it and therefore I ask for a sample code.

@Ruffio ok. Here you go: https://jsfiddle.net/1Lcf7cdz/1/
Error is thrown in Chrome 61+. No error thrown in Firefox 55.

Hmm. So @zenorocha should consider to change it to ClipboardJS or simular. @zenorocha do you want a PR for this?

For backward compatibility, you could make both variables available (Clipboard and ClipboardJS for example). Pushing the idea forward, you could even add a method to restore the original Clipboard value after initialisation. Like jQuery.noConflict does, restoring the initial value of $ and still being accessible with jQuery.

I tried to implement a noConflict, but the problem is really that if we change the global from Clipboard -> ClipboardJS, that's a breaking change, and browserify doesn't have a way to create a standalone build with two globals.
@Golmote For us, we need to be able to check whether a global exists that isn't already built into the browser. Otherwise, we can't know whether clipboard.js has been loaded or not.

One note to help reproduce this -- it looks like Chrome only defines a "window.Clipboard" object when the page is loaded via HTTPS, but not HTTP.  This seems to match the w3c spec, which marks the object as requiring a "SecureContext"..

Shouldn't this result in a 2.0 release? You can't overwrite window.Clipboard if Chrome provides a native implementation because the interfaces are not compatible. You also can't just do nothing since doing so breaks anyone's code who depends on clipboard.js. Both these approaches lead to breakage. I think moving forward, yes, the name of the constructor absolutely should be changed to something else (e.g. ClipboardJS).

@Golmote isn't my-lib.noConflict()` contingent upon the fact that two interfaces must be fully compatible with one another (e.g. lodash and underscore)? Otherwise you can't just do a 1:1 hot-swap at runtime (I would not think so at least).

@armw4 Not necessarily; currently, Clipboard.js is already clobbering the global. What this would do is restore the global back to its previous value. The interfaces are already not compatible and are already replacing each other. A noConflict would return the globals back to what they were before the global was clobbers.

@mAAdhaTTah So we mean restoring the native Clipboard back to the one inside userland (e.g. clipboard.js)? Does this mean when you use this option you know you're opting out of the native Clipboard construct and into the one provided by clipboard.js?

Does this mean when you use this option you know you're opting out of the native Clipboard construct and into the one provided by clipboard.js?

No; when you include Clipboard.js currently, that's when you "opt-out" of the native Clipboard (although not intentionally; it just overwrites it cuz that's what it does). noConflict would/should reverse this.

No; when you include Clipboard.js currently, that's when you "opt-out" of the native Clipboard (although not intentionally; it just overwrites it cuz that's what it does). noConflict would/should reverse this.

Just by merely including clipboard.js still points window.Clipboard to the native Clipboard provided by Chrome though. It does not just immediately point you to the userland clipboard. Isn't that the actual issue here. noConflict seems to imply that you are properly pointed to userland code initially (which I do not believe is currently the case) but then want to opt-out and revert back to native code.

Unless we are saying as apart of providing noConflict it will actually run a heuristic to check the native implementation and swap it accordingly? Maybe I'm getting caught up on the fact that it does not do this currently, but it would indeed do so as apart of recommended patch?

Just by merely including clipboard.js still points window.Clipboard to the native Clipboard provided by Chrome though.

Depends how you use it; if you include the UMD build w/ a script tag, by default, it clobbers the built-in window.Clipboard.

Depends how you use it; if you include the UMD build w/ a script tag, by default, it clobbers the built-in window.Clipboard.

You mean like this?
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" />
We are running into this issue even when including as script tag (it's pointing to native Clipboard and gives illegal constructor).

Yeah, basically: https://jsfiddle.net/osac2n1w/1/ I didn't set up the whole thing, but the error in the console there is Clipboard.js-related, not "Illegal Constructor". Can you provide a repro example?

Yeah, basically: https://jsfiddle.net/osac2n1w/1/ I didn't set up the whole thing, but the error in the console there is Clipboard.js-related, not "Illegal Constructor". Can you provide a repro example?

Sure, so I think that works most the time, but there seems to be some edge case that triggers it even for UMD builds (where it does not actually overwrite the native implementation). I do not have an publicly available example where this outright fails, but we are using the UMD build and received this alert via sentry this morning:

Yeah, basically: https://jsfiddle.net/osac2n1w/1/ I didn't set up the whole thing, but the error in the console there is Clipboard.js-related, not "Illegal Constructor". Can you provide a repro example?

Sure, so I think that works most the time, but there seems to be some edge case that triggers it even for UMD builds (where it does not actually overwrite the native implementation). I do not have an publicly available example where this outright fails, but we are using the UMD build and received this alert via sentry this morning:

We are running our code inside and iframe though (maybe that shakes things up a bit).

Without looking at your code, I'm skeptical the problem is intermittent due to the implementation. My suspicion is you're loading the UMD build async and having timing issues.
Regardless, to get back on track, if we're going to implement a noConflict method, we should proceed doing so assuming it's clobbering the global by default in the UMD build. I took a look @ Handlebars' noConflict method, which I think we can mostly borrow, so I'm going to look into implementing that. However, we can't really proceed without @zenorocha weighing in here.

We are running our code inside and iframe though (maybe that shakes things up a bit).

or that, yeah. Cross-realm issues, the scripts applying to the iframe only, or the parent only, or something of that nature.

I'm also leaning towards clipboard.js possibly failing to load from the CDN for that user. That would trigger as well. Then it comes down to whether or not you think "Uncaught ReferenceError: ClipboardJS is not defined" is better than seeing "Uncaught TypeError: Illegal constructor" (re: breaking changes vs no conflict approach).

I don't have a preference between the two approaches, which is why we need the developer to weigh in.

I can confirm this for Chrome Version 62.0.3202.94 (Official Build) (64-bit)

I got around the issue by doing a find and replace on all instances of the string "Clipboard" with "ClipboardJS" in the clipboard.js file. Obviously not ideal, but it works! Should be noted I haven't tested anything other than the basic functionality as that is all I need for now.

In the meanwhile, you can install a modified, working copy from my fork...
[ClipboardJS v2.0.1 CDN] @ https://cdn.rawgit.com/rivy/js.ClipboardJS/021e74439d7d64da9e44bbfb488850ed7a4dadf4/dist/clipboard.min.js
It's labeled as "v2.0.1" because it's a breaking change, renaming all instances of "Clipboard" and
"ClipboardAction" to "ClipboardJS" and "ClipboardJSAction", respectively. Change your code accordingly and it should be working correctly again, even in the most recent browser versions.

Hey everybody,
Sorry for taking so long to fix this. A 2.0.0 release has been published with the proper fix.
https://github.com/zenorocha/clipboard.js/releases/tag/v2.0.0
Unfortunately this is a breaking change that is not backwards compatible.

I am using the latest CDN (https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js) and still seeing the Illegal constructor error...
Running latest Chrome: Version 64.0.3282.186 (Official Build) (64-bit)
Could old versions be cached or something?

@jimcaven You're probably still doing new Clipboard in ur code; you need new ClipboardJS with the new version.

THANK YOU!

Still doesn't work even after upgrading to 2.0.0
Version 64.0.3282.167 (Official Build) (64-bit)
ClipboardJS is not defined


test

@hwqdt Please do not send pull-requests with the name test and no description what so ever.
You have already sent an identical pull-request before as #2202 and that was kindly rejected, as will this one be.
Thank you


Review all if/def and Unix specific code after moving to .NET Core 2.0

PowerShell Core is moving to .NET Core 2.0 with PR #3556. Once that PR is merged, we need to review all if/def and Unix specific code to:

Clean up the code
Make sure the code make sense and is not a temporary hack

An example, Platform.InternalGetFolderPath in src/System.Management.Automation/CoreCLR/CorePsPlatform.cs has the following code:
                case System.Environment.SpecialFolder.ProgramFiles:
                    folderPath = "/bin";
                    if (!System.IO.Directory.Exists(folderPath)) { folderPath = null; }
                    break;
                case System.Environment.SpecialFolder.ProgramFilesX86:
                    folderPath = "/usr/bin";
                    if (!System.IO.Directory.Exists(folderPath)) { folderPath = null; }
                    break;
                case System.Environment.SpecialFolder.System:
                case System.Environment.SpecialFolder.SystemX86:
                    folderPath = "/sbin";
                    if (!System.IO.Directory.Exists(folderPath)) { folderPath = null; }
                    break;

It use /bin for ProgramFiles, /usr/bin for ProgramFilesX86 and /sbin for System and SystemX86. It's not clear if this is appropriate, so code like this should be reviewed.

@daxian-dbw If this does not require a lot of time please create a sln file - without it IntelliSense does not work in VS Code (after json files was removed) properly.

@iSazonov IntelliSense doesn't work for you? It works for me in VS Code after moving to .csproj file. Just run Start-PSBuild -publish, then open the .csproj file in VS Code, and if you see a prompt on top of VS Code asking to restore, just click Close, and things like reference resolution and IntelliSense should just work.
I thought creating a sln file would be just as simple as opening powershell-win-core.csproj in VS2017 and then saving a solution file, but it turned out the .csproj doesn't work properly within VS2017. I haven't got the chance to figure out why and fix it.

@daxian-dbw, @iSazonov IntelliSense doesn't work for me either. I tried following the steps above, but no joy.

As mentioned in #3356 there is a limitation https://github.com/OmniSharp/omnisharp-vscode/issues/1156
So we need sln file in repo root folder.
I suggest to continue the discussion in #3356.

Code for review https://github.com/PowerShell/PowerShell/pull/3224/files#r103523572

These hacks are finally being cleaned up? Huzzah!

I created 3 PRs to address #if CORECLR.
There are still 75 places left but they are too complicated for me. Leave them to MSFT team.
/cc @SteveL-MSFT


Fine tune tutorial urllib bug on Python 3

Tutorial:
https://github.com/apache/incubator-mxnet/blob/master/docs/faq/finetune.md
Python version and distribution:
3.6
Steps to reproduce

Executing the section of code to download the dataset will fail with a urllib error unless you're using Python 2.7.x

urllib.urlretrieve(url, filename)

Yields:
AttributeError: module 'urllib' has no attribute 'urlretrieve'

This replacement for the offending code block seems to work when tested locally:
import os, sys

if sys.version_info[0] >= 3:
    from urllib.request import urlretrieve
else:
    from urllib import urlretrieve

def download(url):
    filename = url.split("/")[-1]
    if not os.path.exists(filename):
        urlretrieve(url, filename)
download('http://data.mxnet.io/data/caltech-256/caltech-256-60-train.rec')
download('http://data.mxnet.io/data/caltech-256/caltech-256-60-val.rec')

Would you propose a change in the form a pull request?


Adjusted styling for smaller screens does not apply to mobile phones

Could be fixed by using max-device-width?
Some sources for media querys:
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
https://gist.github.com/gokulkrishh/242e68d1ee94ad05f488
https://www.w3schools.com/css/css3_mediaqueries.asp

This was my original media query:
`@media only screen and (max-width: 768px) {
html {
font-size: 20px;
}
section.gallery {
padding: 3rem;
}
nav {
text-align: center;
}
}`
@mhjortholt Do you have any idea why it applies on my desktop browser but not on my mobile browser?


Design: different states of the Success screen

For the Sign Transaction edge cases designed think we need to think of equivalent changes that are relevant in the Transaction Success page
if there are multiple actions, or if it a free smart contract transaction then the sucess page will be different

Designs: https://www.figma.com/design/cvV48t0f7O2znT6QBxK0Zj/Tonomy-ID?node-id=11245-6261&t=gHlqqiR5W0io0Tr4-1


does not merge correctly using merge_with_ir

Description of the bug
merging single cell data with TCR data using ir.pp.merge_with_ir(adata, adata_tcr) does not merge correctly as I get two different samples per obs.names, instead of it being the same sample.
Minimal reproducible example
ir.pp.merge_with_ir(adata, adata_tcr) #try with different samples that were concatenated separately in adata and adata_tcr

The error message produced by the code above
sample_x		sample_y
obs_names
AAAC-----AGTC-1	sample1	sample2

Version information
anndata     0.8.0
scanpy      1.9.1
numpy                       1.22.4
pandas                      1.4.3
scipy                       1.9.0
scirpy                      0.11.1
Python 3.9.13
Linux-5.4.0-1081-aws-x86_64-with-glibc2.27

Hi @shuchaa,
by default the function only joins the two objects on the obs_names. You can join on additional columns by specifying the on parameter, i.e. in your case
ir.pp.merge_with_ir(adata, adata_tcr, on=["sample"])

LMK if this works for you!
Best,
Gregor

With the new data structure (currently available as release candidate in v0.13.0rc1), we are moving away from merging the objects and use MuData instead.
See https://scverse.org/scirpy/tags/v0.13.0rc1/data-structure.html#working-with-multimodal-data.
I'm therefore closing this issue.


[Compatibility] AA 3.x / Django 4 :: ImportError: cannot import name 'url' from 'django.conf.urls'

(venv) ppfeufer@thor /mnt/sda1/Development/Python/AllianceAuth/AllianceAuth $ python myauth/manage.py collectstatic --noinput
[27/Feb/2022 15:28:46] INFO [allianceauth.eveonline.providers:180] DEBUG mode detected: ESI client will be loaded on-demand.
Traceback (most recent call last):
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/myauth/manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 425, in execute_from_command_line
    utility.execute()
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/django/core/management/__init__.py", line 401, in execute
    django.setup()
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/django/apps/registry.py", line 122, in populate
    app_config.ready()
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/securegroups/apps.py", line 11, in ready
    import securegroups.signals
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/securegroups/signals.py", line 85, in <module>
    for _filter in filters.get_hooks():
  File "/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/securegroups/signals.py", line 23, in get_hooks
    _hooks = hooks.get_hooks("secure_group_filters")
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/allianceauth/allianceauth/hooks.py", line 123, in get_hooks
    register_all_hooks()
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/allianceauth/allianceauth/hooks.py", line 112, in register_all_hooks
    hooks = list(get_app_submodules('auth_hooks'))
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/allianceauth/allianceauth/hooks.py", line 101, in get_app_submodules
    yield name, import_module(f'{name}.{module_name}')
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/allianceauth-discordbot/aadiscordbot/auth_hooks.py", line 1, in <module>
    from . import urls
  File "/mnt/sda1/Development/Python/AllianceAuth/AllianceAuth/allianceauth-discordbot/aadiscordbot/urls.py", line 1, in <module>
    from django.conf.urls import url
ImportError: cannot import name 'url' from 'django.conf.urls' (/home/ppfeufer/Development/Python/AllianceAuth/venv/lib/python3.9/site-packages/django/conf/urls/__init__.py)

This issue seems to happen up until 3.0.4 with current pip release which seems to be 3.0.5 its no longer happening but im getting another error in that version.


If used with Sodium 0.5.0, it crashes.

The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot read field "field_44912" because "this.field_4015.field_1724" is null

crash-2023-08-06_10.09.51-client.txt
Mods used:
fabric-api-0.86.1+1.20.1
sodium-fabric-mc1.20.1-0.5.0
ocrenderfix_sodium-fabric-1.2.0

Sodium 5.0 should have fixed the bug itself, so this mod is no longer needed.


Cannot authorize from plex web.

Ok so here is the issue, when I use web cplex, to authorize the app it crashes and lock the authorization process.
However when I use plex on my samsung TV it does give me STD code and after it works on web as well.

any updates?

Did you try git pull?
Sent from my iPhone

On Nov 5, 2016, at 12:26 AM, vveliev<EMAIL_ADDRESS>wrote:
any updates?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


[Refactor][meta-format-change] Change colocate table index to json format

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 30 / 38 (78.95%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[1425, 1429]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[517, 518, 519, 528, 529, 530]

:large_blue_circle:
com/starrocks/catalog/ColocateGroupSchema.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ColocateTableIndex.java
23
23
100.00%
[]

:large_blue_circle:
com/starrocks/persist/ColocatePersistInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
5
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 29 / 37 (78.38%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[1425, 1429]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[517, 518, 519, 528, 529, 530]

:large_blue_circle:
com/starrocks/catalog/ColocateGroupSchema.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ColocateTableIndex.java
22
22
100.00%
[]

:large_blue_circle:
com/starrocks/persist/ColocatePersistInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
5
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 29 / 37 (78.38%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[1429, 1434]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[536, 537, 538, 547, 548, 549]

:large_blue_circle:
com/starrocks/catalog/ColocateGroupSchema.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ColocateTableIndex.java
22
22
100.00%
[]

:large_blue_circle:
com/starrocks/persist/ColocatePersistInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
5
100.00%
[]

@mergifyio rebase

[FE PR Coverage Check]
:disappointed: fail : 29 / 37 (78.38%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
2
00.00%
[1429, 1434]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[536, 537, 538, 547, 548, 549]

:large_blue_circle:
com/starrocks/catalog/ColocateGroupSchema.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/ColocateTableIndex.java
22
22
100.00%
[]

:large_blue_circle:
com/starrocks/persist/ColocatePersistInfo.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/persist/EditLog.java
5
5
100.00%
[]


plans to add examples? tentative roadmap?

Hello Jonathan,
having used TAP in the past (and loving Go and using rogpeppe/go-internal/testscript), I see the potential for this approach :-)
I was wondering if you had a plan to add minimal examples, and in general if you had a sort of tentative roadmap for xltest?
thanks!

I just did a push. You can find examples in testdata.
There are a couple of projects I plan to use it for and it may grow from that, but I have no further plans, except to add more languages and improve the ones I have currently. I want to keep it dead simple. Every new feature has to be implemented N times.

Thanks!

I want to keep it dead simple.

I understand perfectly :-)


HA

I am an official technical staff member of reolink. I learned that you have made outstanding contributions in supporting the home assistant project in reolink. We would like to give you a sponsorship fund. You can open a personal sponsorship link on github.

Sorry for the delayed response.
I don't understand what a "Sponsorship Fund" is.
Mike Roth

From: ridome @.>
Sent: Thursday, April 25, 2024 6:40 AM
To: xannor/ha_reolink_discovery @.>
Cc: Subscribed @.***>
Subject: [xannor/ha_reolink_discovery] HA (Issue #7)
I am an official technical staff member of reolink. I learned that you have made outstanding contributions in supporting the home assistant project in reolink. We would like to give you a sponsorship fund. You can open a personal sponsorship link on github.
—
Reply to this email directly, view it on GitHubhttps://github.com/xannor/ha_reolink_discovery/issues/7, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APJORCYBQCLCSFCVLC5MEQTY7DMQBAVCNFSM6AAAAABGYTOBHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DGMRVG4ZTSNY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Everyone can open a sponsorship link on github. You can Google it. If you open this link, we will send you a sponsorship fund to thank you for your contribution to the home assistant project.


How to display a 3d object at different locations

I am trying to display a moving 3d object on a map using [lon, lat, altitude]. I have identified either the MeshLayer and ScenegraphLayer as potential tools.
Any advice on which one seems the best?

With MeshLayer I am struggling in finding the best way to loaf a GLB file and transform it to a geometry,
ScenegraphLayer seems quite new and I am missing the GLTFInstantiator. I got the following error message:
./src/components/scenegraph-layer/scenegraph-layer.js
Attempted import error: 'GLTFInstantiator' is not exported from 'luma.gl'.

Here is my package.json:
"dependencies": {
<EMAIL_ADDRESS>"^6.4.5",
<EMAIL_ADDRESS>"^0.8.0",
<EMAIL_ADDRESS>"^0.8.0",
"colorbrewer": "^1.3.0",
"deck.gl": "^6.4.5",
"loaders.gl": "^0.3.5",
"luma.gl": "^6.4.3",
"react": "^16.8.4",
"react-autobind": "^1.0.6",
"react-dom": "^16.8.4",
"react-map-gl": "^4.0.14",
"react-scripts": "2.1.8",
"react-stats-zavatta": "^0.0.6"
},
I have also tried (without success) the latest code:
├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>├─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>

@galleon You are looking at the master branch, where we are actively putting the finishing touches on the glTF support in luma.gl and the companion ScenegraphLayer in deck.gl.
So I can't guarantee that things will work, but I can say that if you are using a 7.0-alpha version of deck.gl you also have to use a 7.0-alpha version of luma.gl.
Hope that helps.

Thanks for the quick answer.
When moving a piece of code inspired from  examples/layer-browser https://github.com/galleon/flightview to 7.0.0-alpha I got the following error. Any change in DeckGL ?
Uncaught TypeError: this.stats.timeStart is not a function
at Deck.setProps (deck.js:211)
at new Deck (deck.js:178)
at DeckGL.componentDidMount (deckgl.js:156)
at commitLifeCycles (react-dom.development.js:18071)
at commitAllLifeCycles (react-dom.development.js:19630)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at commitRoot (react-dom.development.js:19854)
at react-dom.development.js:21402
at Object.unstable_runWithPriority (scheduler.development.js:255)
at completeRoot (react-dom.development.js:21401)
at performWorkOnRoot (react-dom.development.js:21324)
at performWork (react-dom.development.js:21229)
at performSyncWork (react-dom.development.js:21203)
at requestWork (react-dom.development.js:21058)
at scheduleWork (react-dom.development.js:20871)
at scheduleRootUpdate (react-dom.development.js:21566)
at updateContainerAtExpirationTime (react-dom.development.js:21592)
at updateContainer (react-dom.development.js:21660)
at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (react-dom.development.js:21973)
at react-dom.development.js:22125
at unbatchedUpdates (react-dom.development.js:21448)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:22121)
at Object.render (react-dom.development.js:22196)
at render (index.js:34)
at Module../src/index.js (index.js:37)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (index.js:23)
at webpack_require (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
deckgl.js:168 Uncaught TypeError: Cannot read property 'finalize' of undefined
at DeckGL.componentWillUnmount (deckgl.js:168)
at callComponentWillUnmountWithTimer (react-dom.development.js:17888)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at safelyCallComponentWillUnmount (react-dom.development.js:17895)
at commitUnmount (react-dom.development.js:18325)
at commitNestedUnmounts (react-dom.development.js:18361)
at unmountHostComponents (react-dom.development.js:18648)
at commitDeletion (react-dom.development.js:18712)
at commitAllHostEffects (react-dom.development.js:19577)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at commitRoot (react-dom.development.js:19816)
at react-dom.development.js:21402
at Object.unstable_runWithPriority (scheduler.development.js:255)
at completeRoot (react-dom.development.js:21401)
at performWorkOnRoot (react-dom.development.js:21324)
at performWork (react-dom.development.js:21229)
at performSyncWork (react-dom.development.js:21203)
at requestWork (react-dom.development.js:21058)
at scheduleWork (react-dom.development.js:20871)
at scheduleRootUpdate (react-dom.development.js:21566)
at updateContainerAtExpirationTime (react-dom.development.js:21592)
at updateContainer (react-dom.development.js:21660)
at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (react-dom.development.js:21973)
at react-dom.development.js:22125
at unbatchedUpdates (react-dom.development.js:21448)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:22121)
at Object.render (react-dom.development.js:22196)
at render (index.js:34)
at Module../src/index.js (index.js:37)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (index.js:23)
at webpack_require (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
2index.js:1446 The above error occurred in the  component:
in DeckGL (at App.js:426)
in div (at App.js:425)
in div (at App.js:469)
in App (at src/index.js:23)
in div (at src/index.js:21)
in Root (at src/index.js:34)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
function.console.(anonymous function) @ index.js:1446
react-dom.development.js:21289 Uncaught TypeError: this.stats.timeStart is not a function
at Deck.setProps (deck.js:211)
at new Deck (deck.js:178)
at DeckGL.componentDidMount (deckgl.js:156)
at commitLifeCycles (react-dom.development.js:18071)
at commitAllLifeCycles (react-dom.development.js:19630)
at HTMLUnknownElement.callCallback (react-dom.development.js:147)
at Object.invokeGuardedCallbackDev (react-dom.development.js:196)
at invokeGuardedCallback (react-dom.development.js:250)
at commitRoot (react-dom.development.js:19854)
at react-dom.development.js:21402
at Object.unstable_runWithPriority (scheduler.development.js:255)
at completeRoot (react-dom.development.js:21401)
at performWorkOnRoot (react-dom.development.js:21324)
at performWork (react-dom.development.js:21229)
at performSyncWork (react-dom.development.js:21203)
at requestWork (react-dom.development.js:21058)
at scheduleWork (react-dom.development.js:20871)
at scheduleRootUpdate (react-dom.development.js:21566)
at updateContainerAtExpirationTime (react-dom.development.js:21592)
at updateContainer (react-dom.development.js:21660)
at ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render (react-dom.development.js:21973)
at react-dom.development.js:22125
at unbatchedUpdates (react-dom.development.js:21448)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:22121)
at Object.render (react-dom.development.js:22196)
at render (index.js:34)
at Module../src/index.js (index.js:37)
at webpack_require (bootstrap:781)
at fn (bootstrap:149)
at Object.0 (index.js:23)
at webpack_require (bootstrap:781)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
index.js:1446 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in FPSStats (at src/index.js:22)
in div (at src/index.js:21)
in Root (at src/index.js:34)

You probably need an alpha version of probe.gl. We are working on v7.0, it is a major release and there are changes in many places, so you may need to chase down a few of these.

Thanks! It seems that probe.gl is imported as yarn.lock shows. What is weird is that it shows twice.
Is that normal ?
<EMAIL_ADDRESS>version "3.0.0-alpha.5"
resolved "https://registry.yarnpkg.com/probe.gl/-/probe.gl-3.0.0-alpha.5.tgz#0e79879fa0c3977da3ced90e3276503364d42fa3"
integrity sha512-CH/IJWw80KQkDD4TU+YmrtmALNDsGyxaNJAu/LqkCsgZ+0JQf75XUJ1D97FN8aRKb08Nc8fkHOMYbIXbUMW49A==
dependencies:
"@babel/runtime" "^7.0.0"
<EMAIL_ADDRESS>version "3.0.0-alpha.6"
resolved "https://registry.yarnpkg.com/probe.gl/-/probe.gl-3.0.0-alpha.6.tgz#1658518b19f577c85bdcd20629db396bbffa6552"
integrity sha512-WgIj1LnM4wBNOMAkF/titGvK/ykkB5q4X7VcOzTYNNhyYMhSYQxWZBS3MR4eri7xEviZZmBAUtkT5ez8DutUYg==
dependencies:
"@babel/runtime" "^7.0.0"

Uncaught TypeError: this.stats.timeStart is not a function also shows up on various examples in https://github.com/uber/deck.gl/tree/master/examples/website/ (I tried trips and line)

This version of deck is using the old probe.gl Stats API, but seems to be importing a newer alpha of probe.gl. If you make it use exactly 3.0.0-alpha.5, it should get rid of those errors (IIRC alpha.6 is where the Stats API was refactored).

@galleon @KrausMatthias: Just curious, did you explicitly install v7 alpha releases of deck.gl and luma.gl, or were these installed without you specifying, or are you building from master?
If you install the latest alpha release and reinstall (remove yarn.lock and node_modules to be sure), all dependencies should be resolved appropriately.
Trying to manually match alpha releases of our various in-development modules sounds quite painful.
Or you can just wait ~ two weeks for our official v7.0 release.

@ibgreen Yes I did some tests installing v7 alpha releases but at some point I was in need to use the code in master (see #2784). I tried several ways to get this:

first trying to clone with the idea to publish - but this was not possible as I dont own the deck.gl scope ;-)
second by trying to install from the git repo directly - but that does not seem possible for modules (using yarn add git+https://github.com/uber/deck.gl/modules/core)
third trying to add from my cloned repo (see https://stackoverflow.com/questions/55177348/managing-javascript-dependencies)

I have still not find a way to use the master code in a project without having to wait for the team to push a release.

@galleon Ha ha, yes please don't publish releases on our behalf, that would be very confusing for others. In spite of your difficulties, we do work hard to make things work before we publish ;)
Linking to another repo is rather tricky especially as deck.gl is a monorepo with many modules. Our examples are however set up to do exactly this, there is a start-local script in every repo and it makes their webpack files import a webpack.config.local.js that sets up "aliases" to the various deck.gl modules.
It would be a bit of work, especially if you are new to webpack, but it might be a way forward. If you put your app in one of the example folders and copied our webpack setup you might be able to get it to work fairly quickly that way.
But better yet, keep checking for new alpha releases. Chances are that the issues you saw are fixed in the next release.

I believe that<EMAIL_ADDRESS>was just published, maybe give it a go?


refactor tests/utils a bit, and move some FS functions there

@bors r+

:pushpin: Commit 415b1178938fd271e67ee4c4611b9069b563c8b3 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 415b1178938fd271e67ee4c4611b9069b563c8b3 with merge defbb668ffe7c28af448cf8054ba100450e8b5b5...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing defbb668ffe7c28af448cf8054ba100450e8b5b5 to master...