youtube: Unable to extract Initial JS player signature function name

Downloading certain videos from youtube fails, even with the latest git master.
$ python -m youtube_dl http://youtu.be/W4bMbzIExmk
[youtube] Setting language
[youtube] W4bMbzIExmk: Downloading webpage
[youtube] W4bMbzIExmk: Downloading video info webpage
[youtube] W4bMbzIExmk: Extracting video information
[youtube] W4bMbzIExmk: Encrypted signatures detected.
[youtube] W4bMbzIExmk: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
WARNING: Warning: Falling back to static signature algorithm
...and the traceback just repeats again and again.

I'm using the latest version (2018.09.01) but I still got the same error :/

That is not the latest version, please update.

@Hrxn  then what is the latest? I ran youtube-dl -U

I have the same problem, version 2018.08.04


Package that failed validation is visible under "Published Packages" heading

If all versions of a package are in the validating or failed validation state, they should not be under a heading called "Published Packages"
Manage packages page

Package details page

This view currently only queries for the "latest" package version and splits on the Listed property.
Is it even possible for a package version to be marked as "latest", "listed" and have a status of either "validating", "validation failed", or "deleted", all at the same time?
Should a package registration for which all versions failed validation even have a package marked as "listed" or "latest"?
In other words: is it safe to assume that if the "latest" package doesn't have a status of "Available", all other versions also are unavailable?

@joelverhagen can you please verify whether the Zip64Package is shown under the unlisted packages section on your account page?


Issue predicting with pretrained model

I received the following error when running recognize.py
INFO:tensorflow:Restoring parameters from asset/train/model.ckpt-205919
2017-08-08 19:28:41.167142: W tensorflow/core/framework/op_kernel.cc:1158] Not found: Key learning_rate not found in checkpoint
Traceback (most recent call last):
  File "recognize.py", line 63, in <module>
    saver.restore(sess, tf.train.latest_checkpoint('asset/train'))
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1548, in restore
    {self.saver_def.filename_tensor_name: save_path})
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 789, in run
    run_metadata_ptr)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 997, in _run
    feed_dict_string, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1132, in _do_run
    target_list, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1152, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key learning_rate not found in checkpoint
	 [[Node: save/RestoreV2_231 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_231/tensor_names, save/RestoreV2_231/shape_and_slices)]]

Caused by op u'save/RestoreV2_231', defined at:
  File "recognize.py", line 62, in <module>
    saver = tf.train.Saver()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1139, in __init__
    self.build()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1170, in build
    restore_sequentially=self._restore_sequentially)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 691, in build
    restore_sequentially, reshape)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 407, in _AddRestoreOps
    tensors = self.restore_op(filename_tensor, saveable, preferred_shard)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 247, in restore_op
    [spec.tensor.dtype])[0])
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 640, in restore_v2
    dtypes=dtypes, name=name)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2506, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1269, in __init__
    self._traceback = _extract_stack()

NotFoundError (see above for traceback): Key learning_rate not found in checkpoint
	 [[Node: save/RestoreV2_231 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_231/tensor_names, save/RestoreV2_231/shape_and_slices)]]

and me too.
I'm executing recognize.py in the directory with pre-trained model extracted in <speech-to-text-wavenet_PATH>/asset/train


POST gives me {"errors":[{"message":"Could not authenticate you","code":32}]}

Hi,
My GET calls works perfect but I cant seem to post no matter what I tried. I tried single word statuses, urlencoding etc.
GET (Works)
/** URL for REST request, see: https://dev.twitter.com/docs/api/1.1/ **/
$url = 'https://api.twitter.com/1.1/statuses/mentions_timeline.json';
$requestMethod = 'GET';
/** GET fields required by the URL above. See relevant docs as above **/
$getfield = '?count=5';
/** Perform a POST request and echo the response **/
$twitter = new TwitterAPIExchange($settings);
$txtTwitter = $twitter->setGetfield($getfield)->buildOauth($url, $requestMethod)->performRequest();
POST (Not working)
/** URL for REST request, see: https://dev.twitter.com/docs/api/1.1/ **/
$url = 'https://api.twitter.com/1.1/statuses/update.json';
$requestMethod = 'POST';
/** POST fields required by the URL above. See relevant docs as above **/
$postfields = array('status'=> 'test',
'in_reply_to_status_id' => 'rvalsan'
);
/** Perform a POST request and echo the response **/
$twitter = new TwitterAPIExchange($settings);
echo $twitter->buildOauth($url, $requestMethod)
->setPostfields($postfields)
->performRequest();
Both use the same settings
/** Set access tokens here - see: https://dev.twitter.com/apps/ **/
$settings = array(
'oauth_access_token' => "token",
'oauth_access_token_secret' => "secret",
'consumer_key' => "key",
'consumer_secret' => "secret"
);

@J7mbo  Hi James, Thanks for the wonderful utility.
I am using your latest library. The get calls are going fine but the post calls are returning "{"errors":[{"code":32,"message":"Could not authenticate you."}]}". The tokens seem okay and the app has both read & write permissions. Could you please help?

Hi @lakshmananvelusamy, could you open your own new issue and also paste the code in that you are using.

Hi James, Opened https://github.com/J7mbo/twitter-api-php/issues/145.
Thanks!

{"errors":[{"code":32,"message":"Could not authenticate you."}]}
Please Help !!

Can you post your code? Cheers.

On 2 May 2016, at 13:04, mehulsbhandari<EMAIL_ADDRESS>wrote:
{"errors":[{"code":32,"message":"Could not authenticate you."}]}
Please Help !!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Thanks for reply
require_once('TwitterAPIExchange.php');
$settings = array(
'oauth_access_token' => "XXXXXXXXXXXX",
'oauth_access_token_secret' => "YXXXXXXXXXXXXXXX",
'consumer_key' => "XXXXXXXXXXXXXX",
'consumer_secret' => "XXXXXXXXXXXXXXXX"
);
$url = 'https://api.twitter.com/1.1/followers/list.json';
$getfield = '?username=mehulsbhandari&skip_status=1';
$requestMethod = 'GET';
$twitter = new TwitterAPIExchange($settings);
$json = $twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest();
print_r(json_decode($json));

I have also change ... TwitterAPIExchange.php
$options = array(
CURLOPT_HTTPHEADER => $header,
CURLOPT_HEADER => false,
CURLOPT_URL => $this->url,
**            CURLOPT_SSL_VERIFYPEER => false,**
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
);

@J7mbo
Please Help

Done .. Thanks ...
Create New App Done..
:+1:

Most common problem is that there is an error in the consumer key or secret if you get the Could not authenticate you.
This usually happens if you copy/paste it from the twitter site. It has a whitespace at the beginning of the customer key which is not visible in all IDEs.
Please revalidate it using notepad or another editor and remove all whitespaces at the end and beginning of your data.

Thanks man #mynote u just saved my day

I was following the official documentation to construct the signature and I was adding include_entities for every request which is wrong. I removed it and then everything works fine.

I need help please. I get the same error.
Here ist my code.
`// Upload image to twitter
$url = "https://upload.twitter.com/1.1/media/upload.json";
$requestMethod = "POST";
$media = file_get_contents($temp);
$params = array(
"media" => $media,
);
                $twitter = new TwitterAPIExchange($settings);

                $result = $twitter->setPostFields($params)
                    ->buildOauth($url, $requestMethod)
                    ->performRequest();

                // Result is a json string
                $result = json_decode($result);

                $media_ids = $result->media_id_string;

                // Post on Twitter
                $url = "https://api.twitter.com/1.1/statuses/update.json";
                $requestMethod = "POST";
                $getfield = "?status=$status&media_ids=$media_ids";

                $twitter = new TwitterAPIExchange($settings);
                $res = json_decode($twitter->buildOauth($url, $requestMethod)
                    ->setGetField($getfield)
                    ->performRequest());`


The v13.0.0 based on Angular 13 is in schedule

version: 12.1.0
The lib is going to be upgraded to v13.0.0 which based on Angular 13

The v13.0.0 is published now!!


with open(config_path) as f: FileNotFoundError: [Errno 2] No such file or directory:

I don't understand whats really wrong with this. I have the file in the folder and yet it is giving me the same error over and over.
can anyone help?

The same happens to me. I find it hard to debug.


log4cplus: 2.0.5 -> 2.0.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/log4cplus/versions.
meta.description for log4cplus is: "A port the log4j library from Java to C++"
meta.homepage for log4cplus is: "http://log4cplus.sourceforge.net/"
meta.changelog for log4cplus is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.0.6 with grep in /nix/store/6n99i8kp5a551fm0pzszp58i02aw6iax-log4cplus-2.0.6

directory tree listing: https://gist.github.com/adb369f9d12a3fbe4f054ed3fcdb040c

du listing: https://gist.github.com/233091bdae9865052ad492ade9086ab2

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kea
log4cplus

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6n99i8kp5a551fm0pzszp58i02aw6iax-log4cplus-2.0.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A log4cplus https://github.com/r-ryantm/nixpkgs/archive/ba02fd22e590e5ea9ff74aa74e0e24ad42b9c0fe.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6n99i8kp5a551fm0pzszp58i02aw6iax-log4cplus-2.0.6
ls -la /nix/store/6n99i8kp5a551fm0pzszp58i02aw6iax-log4cplus-2.0.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

kea
log4cplus

Maintainer pings

Result of nixpkgs-review pr 114207 at ba02fd22 run on aarch64-linux 1

2 packages built:

kea
log4cplus

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/libraries/log4cplus/default.nix:14:3:
   |
14 |   meta = {
   |   ^


GPU-enabled Mac build of TensorFlow version 0.10.0rc0-py2 was compiled against cuDNN v5

Environment info
Operating System: OS X 'El Capitan' Version 10.11.6 (15G31)
Installed version of CUDA and cuDNN: cuda_7.5.27_mac, cudnn-7.5-osx-x64-v5.0-ga (I explain why I am using cuDNN v5 rather than cuDNN v4 below.)
(please attach the output of ls -l /path/to/cuda/lib/libcud*):

lrwxr-xr-x@ 1 root  wheel    50 Apr 13 02:03 libcublas.7.5.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcublas.7.5.dylib
lrwxr-xr-x@ 1 root  wheel    46 Apr 13 02:03 libcublas.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcublas.dylib
lrwxr-xr-x@ 1 root  wheel    49 Apr 13 02:03 libcublas_device.a -> /Developer/NVIDIA/CUDA-7.5/lib/libcublas_device.a
lrwxr-xr-x@ 1 root  wheel    49 Apr 13 02:03 libcublas_static.a -> /Developer/NVIDIA/CUDA-7.5/lib/libcublas_static.a
-rwxr-xr-x  2 root  wheel  8280 May 11 04:59 libcuda.1.dylib
-rwxr-xr-x  2 root  wheel  8280 May 11 04:59 libcuda.dylib
lrwxr-xr-x@ 1 root  wheel    45 Apr 13 02:03 libcudadevrt.a -> /Developer/NVIDIA/CUDA-7.5/lib/libcudadevrt.a
lrwxr-xr-x@ 1 root  wheel    50 Apr 13 02:03 libcudart.7.5.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcudart.7.5.dylib
lrwxr-xr-x@ 1 root  wheel    46 Apr 13 02:03 libcudart.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcudart.dylib
lrwxr-xr-x@ 1 root  wheel    49 Apr 13 02:03 libcudart_static.a -> /Developer/NVIDIA/CUDA-7.5/lib/libcudart_static.a
lrwxr-xr-x  1 root  admin    47 Aug 15 14:24 libcudnn.5.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.5.dylib
lrwxr-xr-x  1 root  admin    45 Aug 15 14:24 libcudnn.dylib -> /Developer/NVIDIA/CUDA-7.5/lib/libcudnn.dylib
lrwxr-xr-x  1 root  admin    48 Aug 15 14:24 libcudnn_static.a -> /Developer/NVIDIA/CUDA-7.5/lib/libcudnn_static.a

libcuda.1.dylib is a hard link to libcuda.dylib per this comment.
If installed from binary pip package, provide:

Which pip package you installed: export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorflow-0.10.0rc0-py2-none-any.whl
The output from python -c "import tensorflow; print(tensorflow.__version__)": 0.10.0rc0

If installed from source, provide

The commit hash (git rev-parse HEAD)
The output of bazel version

Steps to reproduce

Set up TensorFlow according to the instructions at https://www.tensorflow.org/versions/r0.10/get_started/os_setup.html#prepare_environment_for_mac_os_x
In particular, the page says to install cuDNN v4, which is labeled "cuDNN v4 (Feb 10, 2016), for CUDA 7.0 and later." on the cuDNN Download page.

Test the installation by running:
python -m tensorflow.models.image.mnist.convolutional
You should see:

E tensorflow/stream_executor/cuda/cuda_dnn.cc:354] could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR
E tensorflow/stream_executor/cuda/cuda_dnn.cc:321] could not destroy cudnn handle: CUDNN_STATUS_BAD_PARAM

Now run the test under cuda-memcheck:
cuda-memcheck python -m tensorflow.models.image.mnist.convolutional
You should see:

E tensorflow/stream_executor/cuda/cuda_dnn.cc:347] Loaded runtime CuDNN library: 4007 (compatibility version 4000) but source was compiled with 5005 (compatibility version 5000).  If using a binary install, upgrade your CuDNN library to match.  If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.

What have you tried?
Uninstalling cuDNN v4 and installing cuDNN v5 (labeled "cuDNN v5 (May 12, 2016), for CUDA 7.5" on the cuDNN Download page) fixes the issue.
I think that either TensorFlow should be built with cuDNN v4 or the installation instructions should be corrected to specify that cuDNN v5 should be installed.

@yifeif can you adjust the docs to maek clear that the mac builds already build against cuDNN 5?

Got same issue

Thanks @dtrebbien and @shkarupa-alex for the inputs. We are working on updating our docs.

Installation instructions have been updated. Issue closed.


[Pallas] Unable to Modify Input Ref in Pallas Kernel

Description
Hello,
I'm wondering whether it is feasible for my pallas kernel to update on input refs? For example, if i want to both read and write to the same tensor via my pallas kernel, how can I achieve that?
I'm putting down a minimal script and it seems that it doesn't work as I expect.
Thanks!
System info (python version, jaxlib version, accelerator, etc.)
import jax
import jax.numpy as jnp
from jax.experimental import pallas as pl

def add_kernel(x_ref, y_ref, o_ref):
  # In this code, `x_ref`, `y_ref` and `o_ref` are (8,)-shaped `Ref`s
  x = x_ref[:]
  y = y_ref[:]
  o_ref[:] = x + y

def add_inplace_kernel(x_ref, y_ref, o_ref):
  # In this code, `x_ref`, `y_ref` and `o_ref` are (8,)-shaped `Ref`s
  x = x_ref[:]
  y = y_ref[:]
  o = x + y
  y_ref[:] = o

x, y = jnp.arange(8), jnp.arange(8, 16)

print("=======regular add=========")
add = pl.pallas_call(add_kernel, out_shape=jax.ShapeDtypeStruct((8,), jnp.int32))
print("x ", x)
print("y ", y)
o = add(x, y)
print("o ", o)
print("=======regular add=========")

print("=======inplace add=========")
inplace_add = pl.pallas_call(add_inplace_kernel, out_shape=jax.ShapeDtypeStruct((8,), jnp.int32))
print("x ", x)
print("y ", y)
o_dummy = inplace_add(x, y)
print("after inplace add y ", y)
print("o_dummy ", o_dummy)
print("=======inplace add=========")

From this script I see
=======regular add=========
x  [0 1 2 3 4 5 6 7]
y  [ 8  9 10 11 12 13 14 15]
o  [ 8 10 12 14 16 18 20 22]
=======regular add=========
=======inplace add=========
x  [0 1 2 3 4 5 6 7]
y  [ 8  9 10 11 12 13 14 15]
after inplace add y  [ 8  9 10 11 12 13 14 15]
o_dummy  [0 0 0 0 0 0 0 0]
=======inplace add=========

but I'm trying to get the inplace_add to return me y  [ 8 10 12 14 16 18 20 22]. Is that possible?

Also I found this issue quite relevant https://github.com/jax-ml/jax/discussions/22276

This doesn't work as intended because x, y (the JAX tensors) live in HBM, and Pallas will copy them to the innermost memory hierarchy (e.g. VMEM on TPUs) before invoking the kernel. Therefore, when you modify y_ref you're only modifying the copy and it's not updating the actual Y that's resident in HBM.
Try aliasing the input and output to the same ref using the input_output_aliases argument to pallas call. In your case for the in-place add, you need to use:
inplace_add = pl.pallas_call(add_inplace_kernel,
  out_shape=jax.ShapeDtypeStruct((8,), jnp.int32),
  input_output_aliases={1:0})


[INFO] ESP32 firmware

Describe you new feature you'd like
I have the following board: ESP32 NODEMCU DevKit C (with CP2102) from Az-Delivery
Not sure which is the best firmware to select.
Can you please give an advise ?
EDIT: From https://en.wikipedia.org/wiki/ESP32

Select the firmware from SomfyController.onboard.esp32.bin.zip.  This is a WROOM/WROVER chip which is part of the ESP32 series.
The confusing part is that there is there a bunch of other chip series that all start with ESP32.  For instance ESP32-S2, an ESP32-S3, EPS32-C2 ...etc are all ESP32s but are a completely different chip series.  Given the way Espressif names things I would not recommend letting them name your children.

I added a chart to the onboarding instructions.

Thank you so much for the quick feedback; the new chart will help for sure others as well.
I have one more question: would be possible to consider making your work a plugin for esphome ?
I ask because I would like to have a single device able to control both Somfy and a IR climate located on the same terrace.
Hopefully I didn't abuse of your time and kindness

I have no desire to create this as a plugin for ESPHome.  When I started this I took a long hard look at what it was all about and decided that it would scatter my focus on what I wanted it to do.  While ESPHome has a strong focus on sensors and other fun stuff, by now I would be rewriting it to unload all of the ESPHome from it.

I perfectly understand your point of view.
Is just a pity not to be able to share the hardware for more uses.
Not for the costs, but for the logistic: taking more power to the terrace, need to position 2 boxes that takes more space and are less esthetical.
Thank you anyway for taking the time to reply.
Much appreciated.


Fix "OURCE" displaying in TP build date string

What does this PR (Pull Request) do?
Fixes a bug that causes the TP build date string to end in "OURCE" by deleting the seconds part of the date string

[x] This PR fixes #1517

Which Traffic Control components are affected by this PR?

Traffic Portal

What is the best way to verify this PR?

Build and start Traffic Portal, open it and click the info icon, and verify that the build date displayed does not contain "OURCE"
The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Can one of the admins verify this patch?


Tools: Rearrange package layout

We need to do this since dotnet-ef is bundled with the SDK.

@wli3 new layout of dotnet-ef package:

tools/

netcoreapp2.0/

any/

dotnet-ef.deps.json
dotnet-ef.dll
dotnet-ef.runtimeconfig.json
DotnetToolSettings.xml
tools/

net461/

any/

ef.exe

win-x86/

ef.exe

netcoreapp2.0/

any/

ef.dll


integration with https://pypi.org/project/typed-settings/

have you seen https://pypi.org/project/typed-settings/? would it be interesting to combine this with cycleopt to deal with configuration files?

Related discussion: #87
I'm not too familiar with typed-settings, I'll need to play around with it. I imagine it might be a good solution with a similar meta-app as described in #87 . Such a solution is preferable if it works!

The open PR (which I'm hoping to merge soon) #165 is also relevant. Between this and the feature described in #171, I think it covers most of the core functionality mentioned in typed-settings without explicitly using typed-settings.
All that said, I'd be more than happy to merge a typed-setting specific class cyclopts.config.TypedSetting PR. I don't feel confident in tackling it myself since I don't have much experience with the library.

new configuration setup looks good, I'll look into that

Just a heads up: in cyclopts v3.0.0 the configuration system API (i.e. the config function signature) is going to change. So if you define a custom config function, it'll need to be tweaked once v3.0.0 is available. I should have a release candidate of v3.0.0 within a month; I'll let you know when its out in case you'd like to give it a try/give feedback!


https://wallet.sweat economy.com

Can you please elaborate more ??

Please open a new  issue with description


fix: added missing eqNullSafe column method

Added eqNullSafe method on column (pyspark docs on this method)

Thanks for the contribution @eredzik!
Three requests:

Run make style and fix the issues that are currently causing the checks to be red
Can you add a test to this file: https://github.com/eakmanrq/sqlframe/blob/a344edafa43ec9d6c3ca799f3f3902eea85200a5/tests/integration/engines/test_engine_column.py#L16-L15

Ideally you would cover the examples from here: https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.Column.eqNullSafe.html
This is done to check how well this works across engines. We want to confirm each engine supports it and has the same behavior of Spark.

For each engine that supports this, add it to the supported methods for that engine (BigQuery example location here: https://github.com/eakmanrq/sqlframe/blob/df6e6da21c10952879b7ad5c3213496d98cf0bf1/docs/bigquery.md#column-class)

Let me know if this is asking too much and then I could try to get this across the finish line when I have time.

Thanks @eredzik for following up! I think there might be a transient error with DuckDB and the Delta extension so I will see if this clears up and if not I will look to fix it in another PR and then get this in.


Dynalink leaks memory when adaptive authentication scripts are used with JDK 11

Describe the issue:
When adaptive authentication scripts are used with JDK 11 a memory leak identified at JDK's end [1] causes the WSO2 Identity Server (WSO2 IS) to go out of memory (OOM).  The heap memory rises and it does not get cleared up.
How to reproduce:

Create a service provider and add a simple adaptive authentication script. In my case, I called a function that iterated through a for loop before executing the first step.
Create a JMeter script to call the authorize endpoint infinitely. I configured the thread count and ramp-up to be 10.
Execute the JMeter script till it causes the WSO2 IS to run OOM.
Extract a heap dump and analyze the heap dump (by retaining unreachable objects), leaks similar to the one mentioned at [1] will be noted.

In my case, the -Xmx was configured to the default value of 1024, and the authorize calls sent during that time added up to about 1 million requests.
Sample screenshots with the evidence are attached below:
Heap Dump Analysis:

JConsole Overview during the test:

Expected behavior:
The fix for the issue is provided with JDK 17 but it has not been sent out to JDK 11. If the fix is not ported to JDK 11 alternatives should be looked into.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS <IP_ADDRESS>
OS: Ubuntu 22.04.2 LTS
Database: H2
Userstore: LDAP

References:
[1] - https://bugs.openjdk.org/browse/JDK-8198540

The aforementioned issue was tested with WSO2 IS <IP_ADDRESS> using JDK 17.0.7, and it appears that the issue has been resolved. The same test mentioned above was conducted for approximately 3 hours, and the JConsole results were as follows. As you can observe, the heap now clears properly when compared to the screenshot included in the previous comment.

Furthermore, we acquired a heap dump and analyzed it to verify the presence of Dynalink objects. However, we could not locate any such objects in the two heap dumps that were obtained. The screenshot below provides further illustration.

The above issue was tested with WSO2 IS <IP_ADDRESS> with Java 11.0.20. I used a JMeter script to call the authorize endpoint indefinitely and was able to observe the same increase of memory. I observed that the Old Gen memory is increasing linearly with the number of executions and becomes static when the test script is stopped.

Tested the same script in Java 8 and noticed that the Old Generation memory is reduced frequantly than with Java 11.

Alternative fix: https://github.com/wso2/carbon-identity-framework/pull/5202

An alternative script execution engine in introduced with https://github.com/wso2/carbon-identity-framework/pull/5279.


fix:when used @path('/') decorator on the class

fix:when used @path('/') decorator on the class ,method router don't work with @Path('/test')

thks, done

thks, done


Use multiple single threaded runtimes

With recent updates to tokio, CPU can't be utilized to 100% with tokio::spawn when using hyper. Performance of rewrk can be increased if multiple single threaded runtimes are used.
I think it is a good idea because all connection tasks spawned by rewrk are identical so work stealing benefits aren't much.

This branch is using multiple single-threaded runtimes.
Results on my computer:
Multiple single threaded runtimes:
Beginning round 1...
Benchmarking 500 connections @ http://localhost:3000 for 10 second(s)
  Latencies:
    Avg      Stdev    Min      Max
    1.71ms   1.73ms   0.03ms   68.96ms
  Requests:
    Total: 2857417 Req/Sec: 286210.95
  Transfer:
    Total: 313.38 MB Transfer Rate: 31.39 MB/Sec

Current approach, regular tokio::spawn:
Beginning round 1...
Benchmarking 500 connections @ http://localhost:3000 for 10 second(s)
  Latencies:
    Avg      Stdev    Min      Max
    2.21ms   1.25ms   0.04ms   51.12ms
  Requests:
    Total: 2247341 Req/Sec: 225330.90
  Transfer:
    Total: 246.47 MB Transfer Rate: 24.71 MB/Sec

When using tokio with our proposed BWoS workstealing queue I measured following improvements for hyper. The following throughput measurements only modified rewrk and left hyper untouched (using rust-web-benchmarks).
500 connections
Rewrk 0.3.2 with BWoS queue:

Framework Name
Latency.Avg
Latency.Stdev
Latency.Min
Latency.Max
Request.Total
Request.Req/Sec
Transfer.Total
Transfer.Rate
Max. Memory Usage

hyper
0.89ms
0.40ms
0.03ms
212.56ms
16401497
546698.77
1.36GB
46.40MB/Sec
16.5MB

Rewrk 0.3.2 with original tokio (1.22):

Framework Name
Latency.Avg
Latency.Stdev
Latency.Min
Latency.Max
Request.Total
Request.Req/Sec
Transfer.Total
Transfer.Rate
Max. Memory Usage

hyper
1.04ms
0.44ms
0.03ms
9.12ms
14002501
466735.26
1.16GB
39.62MB/Sec
14.6MB

1000 connections
Rewrk 0.3.2 with BWoS queue:

Framework Name
Latency.Avg
Latency.Stdev
Latency.Min
Latency.Max
Request.Total
Request.Req/Sec
Transfer.Total
Transfer.Rate
Max. Memory Usage

hyper
1.18ms
0.69ms
0.03ms
20.85ms
24647183
821524.47
2.04GB
69.73MB/Sec
26.5MB

Rewrk 0.3.2 with original tokio (1.22):

Framework Name
Latency.Avg
Latency.Stdev
Latency.Min
Latency.Max
Request.Total
Request.Req/Sec
Transfer.Total
Transfer.Rate
Max. Memory Usage

hyper
1.28ms
0.53ms
0.05ms
9.23ms
23019349
767279.90
1.91GB
65.12MB/Sec
26.5MB

The throughput increase (if only rewrk is changed) is not as much was what you measured, but still I thought this might be interesting.

@jschwe Interesting... How does that compare to rewrk in this pull request?

Ah, I did not see there was a pull request related to this issue.
I'll try this out tommorow.

It would be interesting to see, if the performance is close enough I'm somewhat tempted to go with the approach you mentioned over the single threaded runtimes just for convenience.

I compared the single threaded approach with the original strategy and differen BWoS strategies on an x86 machine with 2 numa nodes. rewrk was bound to Numa node 1 (44 cores including hyperthreads) and the hyper benchmark was bound to Numa node 0. This is the benchmarking script I used.
It seems that the single threaded runtime does offer clear advantages, especially with less connections. This could be due to overhead from parking/unparking cores when there is not enough work, but I haven't investigated this further.
500 connections

Hyper tokio stealing strategy
Rewrk   strategy
rewrk throughput (MB/s)

original
single_thread
65.65

original
original
37.29

original
bwos steal half
44.96

original
bwos_steal_block
45.78

original
bwos_steal_1
37.02

bwos_steal_half
single_thread
91.87

bwos_steal_block
single_thread
89.18

bwos_steal_block
bwos_steal_block
71.69

750 connections

Hyper tokio stealing strategy
Rewrk   strategy
rewrk throughput (MB/s)

original
single_thread
71.81

original
original
52.08

original
bwos steal half
53.9

original
bwos_steal_block
55.41

original
bwos_steal_1
46.66

bwos_steal_half
single_thread
82.23

bwos_steal_block
single_thread
83.96

bwos_steal_block
bwos_steal_block
77.51

1000 connections

Hyper tokio stealing strategy
Rewrk   strategy
rewrk throughput (MB/s)

original
single_thread
75.4

original
original
64.33

original
bwos steal half
63.21

original
bwos_steal_block
63.36

original
bwos_steal_1
56.37

bwos_steal_half
single_thread
81.54

bwos_steal_block
single_thread
82.48

bwos_steal_block
bwos_steal_block
79.37

@jschwe So is it free performance if this design gets merged into tokio?

@programatik29 Our current proposal is for our queue to be an integrated as an alternative Backend, which could be selected via a runtime flavor. So this is not going to be a drop in change for now, but would require the downstream user to select a different flavor to get the benefits of the new queue. That's a very minor change required for downstream users though.
We do think our queue should be better in basically all scenarios, but there are situations where the queue is not the bottleneck, so switching it out wouldn't change much.

This behaviour will be implemented in rewrk-core, moving the CLI tool over to this will close this issue.


gearpump website get-start need update

I'm begin learning gearpump today and reading User Guide.
I found Run a distributed application in 30 seconds. -  Step2: Submit application word-count.jar file name had changed . This Document need to be update  :P .

@darionyaphet, thanks for your interest. We are refactoring our doc sites, which will be released soon. Please open related issues to https://github.com/gearpump/gearpump.github.io

Good Job :+1:  Thank you for you hard work~~


any support for bitbucket private repos ?

Hi,
Amazing stuff, good work!
Any chance you support bitbucket private repositories webhooks soon?

+1


Add the -a param to the docs

The patch utility does not understand git formatted patches.
For text files, there is no problem, but binary files use a format patch doesn't understand.
The -a param makes git diff put binary files into the patch in
raw format that can be understood by the patch tool.

@ryantm friendly ping

I don't feel particularly qualified to review this. Is it really the case that we want to have patches of binary files in nixpkgs? It seems like it would be really hard to review that the patch is doing the right thing. Why not build from source and use a source patch?

shared-mime-info contains binary files as part of the test suite. Before updating it altogether in #126050 I first tried backporting the PR I wanted. That PR also altered the test suite so it added binary files. I wondered for hours how I could get the patch file into a format that nix would accept, as it didn't like git formatted patches until I discovered the -a option. git supports this out of the box so I feel that the recommended command from the docs supporting binary files out of the box would be good as well.

Okay, I don't think this will actually actively encourage people to actually merge binary patches to nixpkgs, and it sounds like it might have saved some time in your case, so sure, let's merge it.


feat: add global shared lib config

add shared lib config

No need to load the shared lib by default


HA Config error

Artnet installs correctly but i get the following error when adding configuration.  I have even deleted all references to output_correction.
ERROR:
Logger: homeassistant.loader
Source: custom_components/artnet_led/light.py:72
Integration: artnet_led (documentation, issues)
First occurred: 6:15:58 AM (2 occurrences)
Last logged: 6:15:59 AM
Unexpected exception importing platform custom_components.artnet_led.light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 681, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 698, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/artnet_led/light.py", line 72, in
AVAILABLE_CORRECTIONS["quadratic"] = pyartnet.output_correction.quadratic
AttributeError: module 'pyartnet' has no attribute 'output_correction'
CONFIG (I USED):
DMX-LIGHTS
light:

platform: artnet_led
host: <IP_ADDRESS>
max_fps: 25                           # Max 40 per second
refresh_every: 0                      # Resend values if no fades are running every x seconds, 0 disables automatic refresh
universes:                            # Support for multiple universes
0:                                  # Nr of Universe (see configuration of your Art-Net Node)

output_correction: quadratic      # optional: output correction for the whole universe, will be used as default if nothing is set for the channel
  devices:
    # Dimmer
    - channel: 1                    # first channel of dmx dimmer
      name: my_dimmer               # name
      type: dimmer                  # type
      transition: 1                 # default duration of fades in sec. Will be overridden by Transition sent from HA

Please upgrade to version v0.0.6 to see if that solves the problem. I've upped the required pyartnet library version.

Getting the following error with V0.0.6 updated.
Error while setting up artnet_led platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/artnet_led/light.py", line 170, in async_setup_platform
await migrate_old_unique_ids(config, hass, host)
File "/config/custom_components/artnet_led/light.py", line 189, in migrate_old_unique_ids
if '/' in entity.unique_id:
AttributeError: 'NoneType' object has no attribute 'unique_id'

Alright thanks for the quick feedback, this edge case I didn't see in my testing.
This should be fixed in v0.0.7 for you.

Thanks in advance for the quick updates
Getting another error:
Source: custom_components/artnet_led/light.py:170
Integration: artnet_led (documentation, issues)
First occurred: 5:56:40 AM (1 occurrences)
Last logged: 5:56:40 AM
Could not find entity with entity ID light.my_dimmer

That should normally just be a warning now, not an error. The integration should work normally now and you shouldn't see this warning on subsequent reboots.

Yes it is a warning now.  After reboots the warning still shows up in the log.
Now I am having problems connecting to my art-net to dmx interface.  Not sure what is causing this.  Will let you know how it works after some troubleshooting.

DMX used to work with jnimmo dmx HA integration.  Not sure why it is not working now.  Using uDMX usb to DMX converter.
If you have any suggestions to resolve this, it would be greatly appreciated.  Thanks in advance.

Are you using KiNet by any chance?

No.  I am using art-net to DMX on my PC.  I am open to other suggestions.  I just know this worked in the past with jnimmo branch until recently.

Gonna mention #10 in here, as your problems seem related. Having a look between the diff of jnimmo and the pyartnet lib implementations.

If you are able to run python code directly, can you please help me test over here: https://github.com/Breina/ha-artnet-led/issues/10#issuecomment-1252100842 ?

updated to v0.0.8 Still not able to connect to dmx.
error:
Logger: root
Source: custom_components/artnet_led/light.py:173
Integration: artnet_led (documentation, issues)
First occurred: September 24, 2022 at 11:07:34 PM (7 occurrences)
Last logged: September 24, 2022 at 11:07:34 PM
Could not find entity with entity ID light.theatre...

i can allow you to connect to my computer remotely if needed

Alright let's do it, please give email me the details to connect to you<EMAIL_ADDRESS>

Also meanwhile, can you install 'The ArtNetominator' on your PC? That will help debugging your situation as well.

Same issue that in #1252100842. With the ArtNetominator works but if try to use with the controller that currently works with the old addon, with this don´t.

i can allow you to connect to my computer remotely if needed

Same offer here.

@cristianm Do you also use a broadcast IP? Broadcasting isn't supported for sending DMX frames.

I use the IP of the device. Is a Wifi to DMX device.

Closing this issue, as OP's issue turned out to be networking related. cristianm's is continued over at #10


Footer links should scroll to the top

If a user clicks on the footer links .. please take them to the top. e.g. click on about us, take the user to the top of the about us page.

@dinuka-rp Could you please assign someone?

@gajindubandara would u be able to take up this issue?

@gajindubandara would u be able to take up this issue?

Sure! I'll work on that


Bug fix for deinit race condition on task delegate queue

This is essentially the same issue that I opened #269 for where Manager deinitialization was crashing.
Problem
Unfortunately, the test I wrote in that case did not reflect all the potential issues. By removing the deinit that contained the session.invalidateAndCancel(), that only ended up masking the root cause of the crash. I managed to unwind it today and get to the root issue.
The problem is that the TaskDelegate dispatch queue cannot be properly released when in a suspended state. The libdispatch library will fail under certain race conditions. If you do not actually call resume on the task, then the queue will always remain in the suspended state until the time when it is deinitialized. The root problem I believe stems from a mismatch between the dispatch_resume and dispatch_suspend calls. They need to balance each other out and we cannot always guarantee that during deinitialization.
Option 1 - dispatch_resume in TaskDelegate.deinit
There are several ways to approach the problem. The first would be to resume the queue during deinitialization of the TaskDelegate to attempt to balance out the suspend and resume calls. The problem with this approach is that you will then shut down the queue while it's in the middle of executing the closures inside it. Also, the potential for corrupting state is very high since Alamofire is designed to only dispatch_resume when the request has actually completed. I worked through this approach and it is terribly problematic and doesn't fix the race condition.
Option 2 - Switch to NSOperationQueue for TaskDelegate
The solution I landed on was to swap out the dispatch_queue_t with an NSOperationQueue. This gives us the ability to do the following:

We can still suspend and resume the queue
We can still define a serial execution behavior
We can cancel all the operations (biggest limitation of dispatch_queue_t)
We can resume after canceling all operations to unsure the underlyingQueue is not suspended

After swapping out the old queue with the operation queue, everything is working exactly as it should. Manager deinitialization works flawlessly.
Added invalidateAndCancel back into Manager.deinit
IMO, this is the behavior that should be used rather than finishTasksAndInvalidate. If the Manager is attempting to deinitialize, then Alamofire should do everything in its power to make sure that deinitialization happens immediately. That cannot happen if there are current running tasks that will keep the session in memory along with the Manager. This seems very problematic when you consider that you're actually in the middle of terminating the app. You want to avoid having any queues working on closures when the termination actually happens to avoid corrupting state.
Summary
The change from a TaskDelegate dispatch_queue_t to an NSOperationQueue absolutely has to happen to fix the race condition crashing. Whether to invalidateAndCancel or finishTasksAndInvalidate or nothing in the Manager.deinit I think needs to input from the community.

Approved offline by TC.


The onDidUpdateKeybindings doesn't set keybindings-property when resetting a KB

subscribe to the onDidUpdateKeybindings-event
redefine a built-in keybinding, you receive an event with the keybinding
reset the custom keybinding
😕 you receive an event but it doesn't contain any keybindings

Related to https://github.com/microsoft/vscode/blob/678f89cc446c293d55b7fe123f6c7657162a88f9/src/vs/workbench/browser/parts/titlebar/commandCenterControl.ts#L153 which made me update the command center more often than wanted

The .keybindings property in that event makes no sense. It is either empty or contains all user keybindings and it was added via https://github.com/microsoft/vscode/commit/9ce4d4c80e97ada8799117559d7262b3ac8b2fdc#diff-bea327387abe7bd80757ccf10bf4fc036f7b85ed131cdb5605cd61c2a153c09dR54 . I suggest to not depend in any way on it, we should remove it.


Add missing Nothing datatype for SQLAlchemy

Summary
Fixes https://github.com/ClickHouse/clickhouse-connect/issues/278 by adding Nothing datatype for SQLAlchemy
Checklist
Delete items not relevant to your PR:

[ ] Unit and integration tests covering the common scenarios were added
[x] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the fix!


Problems in Delphi 11

Hi,
When I run this code in Delphi 11, I get this error "Error sending data: (12030) La conexión con el servidor finalizó anormalmente.".
Whats the problem?
Thansk.
procedure TForm1.CornerButton1Click(Sender: TObject);
var
OpenAI: TOpenAI;
begin
OpenAI := TOpenAI.Create(API_KEY2) ;
try
openAI.Organization:=ORGANIZATION_ID;
var Completions := OpenAI.Completion.Create(
procedure(Params: TCompletionParams)
begin
Params.Prompt(Memo1.Text);
Params.MaxTokens(2048);
end);
try
  for var Choice in Completions.Choices do
    Memo2.Lines.Add(Choice.Index.ToString + ' ' + Choice.Text);
finally
  Completions.Free;
end;

finally
OpenAI.Free;
end;
end;

Watch whether you have an affordable connection to the server. Let me remind you that the API since recently is also not available in a number of countries.
In addition, the servers are often busy and requests are completed with a timeout (it can be increased).

its problem of antivirus.
Enviado desde Outlook para Androidhttps://aka.ms/AAb9ysg

From: HemulGM @.>
Sent: Wednesday, April 10, 2024 11:24:18 AM
To: HemulGM/DelphiOpenAI @.>
Cc: ManoloGC @.>; Author @.>
Subject: Re: [HemulGM/DelphiOpenAI] Problems in Delphi 11 (Issue #42)
Watch whether you have an affordable connection to the server. Let me remind you that the API since recently is also not available in a number of countries.
In addition, the servers are often busy and requests are completed with a timeout (it can be increased).
—
Reply to this email directly, view it on GitHubhttps://github.com/HemulGM/DelphiOpenAI/issues/42#issuecomment-2047008203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALBGVXH6Z7G43C6QSZHHMOTY4UAMFAVCNFSM6AAAAABFZA35G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBXGAYDQMRQGM.
You are receiving this because you authored the thread.Message ID: @.***>


REPL: Run code within iframe

Creating and destroying an iframe for each code execution will help guard against problems such as async functions that don't complete before the next code execution.

+1 for cases like:
Object.defineProperty(Element.prototype, 'foo', {
  enumerable: true,
  get: function(){}
});

not throwing an error on every keystroke

Note the REPL also currently breaks in some other cases, like: https://github.com/babel/babel/issues/2485


Tiny clarification about how to run ExternalDNS.

I honestly don't see why we should add this, can you clarify the background/purpose of your PR?

This PR is based on my experience as a total beginner with ExternalDNS: I looked at the documentation (didn't know how it works internally) and it wasn't clear for me if I use both methods (Deploying to a Cluster and Running locally) or just one of them. Now I know. But at first it wasn't clear for me. That is the only reason.

I'm fine with it.

@przemolb could you sign the CLA please?

This PR is stale since November. I will close the PR, feel free signing the CLA and create a new PR.


How to provide scroll for generated layout?

Describe the Bug
In my use case, the generated layout is complex and that doesn't fit in the window, it overflows.
I should be able to give a scroll to scroll up and down and see the layout.
How can we achieve that?
Your Example Website or App
https://codesandbox.io/s/sandpack-project-forked-me9c5t?file=/App.js
Steps to Reproduce the Bug or Issue

Open Codesandbox link.
You'll not be able to scroll the layout.

Expected behavior
As a user, I expected the scroll option and I should be able to scroll and see the overflown content, similar to scrolling any page which has hidden content.
Screenshots or Videos
No response
Platform

OS:  Windows
Browser: Chrome

Additional context
No response

Please do not use Github Issues for questions about the usage of React Flow, instead please refer to the Discord channel or Stackoverflow to get help from the community.
You are setting panOnScroll to false. That's why you can't scroll inside the viewport.

Hi @chrtze ,
I tried giving panOnScroll to true,
But I see so much empty space being added on the top and bottom of the layout.
Could you please check and let me know.

By default, the canvas is infinite. This is the expected behaviour. To limit the canvas, please use translateExtent.

How to do it? I encountered the same problem


Licensing

I appreciate the work you've put into this and I'd like to contribute. I know this sounds silly, but unfortunately, we're only allowed to contribute to projects with lawyer-vetted licenses, and the WTFPL is explicitly not one.
Would you be amenable to relicensing under a more conventional license (MIT, BSD, and Apache are all good choices)?

Thanks.
I was originally going to package force-phone-mode for this repo.  Then I realized it's a better fit for a nixpkgs branch, and then I later realized it's not even usable for me because the Steam keyboard doesn't work in mobile GNOME.


Text node children with bindings cause dom-if templates to update incorrectly.

(Relaying a bug @kevinpschaaf reduced offline.) If a text node containing bindings is a child of a dom-if template, text updates don't always work as expected.
JSBin

Type into field.
Check the checkbox; the text shown is correct.
Uncheck the checkbox.
Type into field.
Text incorrectly appears in dom-if even though the checkbox is not checked. (Text would be correct if visible.)
Click checkbox to show text; text is shown with previous value (as entered in step 1).

(The binding within the span works as expected throughout.)

Will be fixed by PR https://github.com/Polymer/polymer/pull/3161.
JSBin repro using PR branch: http://jsbin.com/moguna/edit?html,output


[Question] is this dependent on language and framework of the web app?

No, just like tauri doesn't care about your frontend choices, this action doesn't either.
You build/compile your webapp separately, either like in the readme example in an extra workflow step (yarn && yarn build in this case) or via beforeBuildCommand in tauri.conf.json (you probably still need to use an extra workflow step to install the dependencies first)


Fix basic docs

Fixes  an issue mentioned in #181

Hello, while at it, there is a typo on line 31 of the same file:

We must translate this IDL direclty

Kind regards.


Fix checks on config.h variables always succeeding (ifdef vs. if)

Rather silly error :)

Hi,
You're right about the HAVE_DECL_xxx checks (in ARSAL_Time.c): those defines are either 0 or 1 depending on the presence of the constant. We should update the check !
For all other checks, the config.h we have follows the configure way of defining things: if we have the header/function, the HAVE_xxx macro is defined to 1, otherwise it is not defined. This allow both #ifdef (or #if defined(...)) and #if to work for these tests.
Regards,
Nicolas.

Ah okay - guess I didn't quite read config.h closely enough!
I can update the commit and remove everything except the changes in ARSAL_Time.c

I pushed an updated commit that just fixes HAVE_DECL_* macros.


Prevent bloated peer information

The PeerInfo structure has some fields of a non-fixed size, such as agent, protocols and subscriptions. There should be a limit for maximum peer info size.

Small update:

protocols field was removed some time ago.
subscriptions are stored in BTreeSet and are bounded in size (because there are only 3 distinct values).
So only the only unbounded field there is agent.


docs: change current and next version for the docs

As we have Express 5 stable released,

changed the next version to 5.0.0
changed current version to 4.20.0 as of current latest

Perhaps we have a lot to do in terms of website doc change as 5.0.0 is not in beta anymore.

@IamLizu, there’s already an issue that provides quite a good overview of all the changes that need to be made to the API and the documentation. Maybe it’s missing some minor changes introduced after beta 3, but I think it’s pretty good for that. see #1479


runtime/race: doesn't support sync.Pool

The sync.Pool is disabled when the race detector is active with issue #7203. Accidental reuse of data after pool submissions is not unheard of.
What version of Go are you using (go version)?
go version devel +03a1dc3 Wed Sep 28 23:13:53 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/pdekloe/repo/colfer"
GORACE=""
GOROOT="/Users/pdekloe/repo/go"
GOTOOLDIR="/Users/pdekloe/repo/go/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sz/9wzvxsb57p73r4099d6_5zgr39574r/T/go-build242286039=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
What did you do?
Cause a race condition by leaking data that was submitted into sync.Pool for reuse.
What did you expect to see?
A race detection.
What did you see instead?
My bug.

CC @dvyukov

This may be hard to fix; this isn't a race in the traditional sense. (It's only a race if the object is then pulled out of the pool again before the next GC.) I don't know if the race detector has enough options to handle this.

@pascaldekloe do you have any real bug? If it's in open-source code, please point to it.

@quentinmit race detector has acquire, release annotations and ignores. It should be enough.
The problem with straightforward enabling of Pool under race detector is that it will introduce lots of parasitic synchronization (esp the Mutex) that can hide lots of unrelated races.
We could annotate Pool to synchronize on the objects cached (i.e. if goroutine A takes object X put by goroutine B, then A synchronizes only with B). But values are not necessary pointers.
We could also enable cache probablistically -- randomly decide to Put or to drop.

The uncommited code was ment for an opensource project. I've chosen to use a buffered channel as a pool instead.
However, if a playground race example would help then let me know.


CI improvements

This commit features several CI improvements:

Clearer naming of CI files, pipelines, and jobs.
Adds "website-test.yml" to test website changes on PRs.
Removes duplicative tests on main after equivalent tests on PRs, given that PRs can only merge with passing tests.

I think there is a caching issue caused by no longer running the tests on pushes to main.
It may seem duplicative to also build on main, but the end result will be that every Pull Request build will start without a cache. (subsequent pushes to the PR will be able to use the cache created for that PR)
GitHub Actions isolates caches created for Pull Requests, so they cannot be used when building other Pull Requests (except when the new PR is based on another PR that had a cache) or the main branch.
Builds on main are the only way for Actions to create caches that can be used by Pull Requests on their first build.

Oh, how annoying. Okay, want to open a PR to run on main again?


Separate training and inference from NNP factory

Pull Request Summary
Provide a brief description of the PR's purpose here.
Key changes
Notable points that this PR has either accomplished or will accomplish.

[ ] Change 1

Questions

[ ] Question 1

Associated Issue(s)

[ ] Issue 1

Pull Request Checklist

[ ] Issue(s) raised/addressed and linked
[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) added/updated
[ ] Appropriate .rst doc file(s) added/updated
[ ] PR is ready for review

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

Project coverage is 85.25%. Comparing base (9b3ed45) to head (2c0b07e).

Additional details and impacted files


[LWJGL3] Negative monitor coords

Support positioning on monitors with negative relative coordinates.
Tested it on my Windows machine with a monitor who's coords are negative (top left corner is to left of/above primary monitor).

Hey @EtK2000! The Math.max(0, ...) stuff was added with #6649 to fix borderless fullscreen mode. Have you tested whether that still works with your PR?

I tested it with the following:
Gdx.graphics.setResizable(false);
Gdx.graphics.setUndecorated(true);
Gdx.graphics.setWindowedMode(screenSizeX, screenSizeY);

As well as:
Gdx.graphics.setResizable(true);
Gdx.graphics.setUndecorated(false);
Gdx.graphics.setWindowedMode(windowedSizeX, windowedSizeY);

Both work for me as intended moving to the desired monitor and positioning correctly in the center (windowed) or spanning the whole monitor (borderless).

Okay, I just tested the changes on Windows 10 and everything works as expected. If someone could confirm whether the same is true for macOS (and maybe Linux), then I'd be willing to approve the PR.

Just tested it in Mac and it's working.
I can try to test it on Ubuntu later, and I'll report the results.

Confirmed to be working correctly on Ubuntu with KDE


webpack freezes when require more than three scss files.

Example.
There are 5 scss files: a, b, c, d, v, and 1 entry file entry.js
v.scss: $color:red;
a.scss: @import 'v'; .a{color:$color}
b.scss: @import 'v'; .b{color:$color}
c.scss: @import 'v'; .c{color:$color}
d.scss: @import 'v'; .d{color:$color}
entry.js:
require('a.scss');require('b.scss');require('c.scss');require('d.scss');
webpack loader config:
{test: /\.scss$/, loader: 'style!css!sass'}
If replace @import 'v' by $color:red in a/b/c/d files, the webpack is fine. If I remain 3 or less 3 files, it is fine too.

That's a confirmed concurrency issue of node-sass 3. See #100


[Feature] Add Volcano Helm Chart to terraform-aws-eks-data-addons

Add a Volcano Helm Chart add-on to terraform-aws-eks-data-addons module
Update Trainium on EKS blueprint with Volcano HelmChart add-on

Elpida Lygerou is working on this new helm chart as an add-on

Closing this issue as the PR has been merged under https://github.com/aws-ia/terraform-aws-eks-data-addons repo


Port Jira notification publisher from upstream

Our notification publisher is currently missing support for Jira, which is present in upstream Dependency-Track.
Port the functionality to Hyades for feature parity.

Ported by @sahibamittal with #530.


Add missing package-info and relevant checkstyle rule

Looks like I missed some, I checked locally and it said all were documented properly.
Will add the missing ones shortly.


Update CHIP Op Certificate Tool with Local APIs

chip-cert tool (#6403) mostly uses OpenSSL functions to operate with certificates and private keys. Some of these functions can be replaced with local APIs implemented in src/credentials/GenerateChipX509Cert.cpp. Once these local APIs are enhanced as part of #6656 work - this tool can be updated to use them.
@pan-apple

Does appear required for v1.0 tooling


Project finalization meeting this week

Hey all - let's have a final work session to hash out final plots / graphs that we'll use in the presentation on Tuesday/Wednesday (or at least to make a clear road to create something by the weekend).
Are you guys free for a working meeting around 3:00pm on Wednesday at BIDS? Let me know if this sounds good.
@berkeley-dsc/purchasing

i can make it but prefer thursday, darius
On Mon, Apr 27, 2015 at 1:53 PM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

Hey all - let's have a final work session to hash out final plots / graphs
that we'll use in the presentation on Tuesday/Wednesday (or at least to
make a clear road to create something by the weekend).
Are you guys free for a working meeting around 3:00pm on Wednesday at
BIDS? Let me know if this sounds good.
@berkeley-dsc/purchasing
https://github.com/orgs/berkeley-dsc/teams/purchasing
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley

I'm gonna be out of town on Thursday through Sunday. Could potentially meet Thu morning but it'd be close...

ok, wed is good with me, d.
On Mon, Apr 27, 2015 at 1:57 PM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

I'm gonna be out of town on Thursday through Sunday. Could potentially
meet Thu morning but it'd be close...
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-96817590
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley

Hey, @choldgraf. My knee is still messed up from a biking mishap last week. Trying not to walk much. Didn't make it to campus yesterday (Tuesday). Not sure I will tomorrow, either. I can video in, though!

I'm treating this as a "working meeting". I'll be there to work on stuff
I've been doing for this project, and to help out with anybody else's part.
I think it's important that we finalize these materials as a team, rather
than on our own. It will make the end product more useful for Andrew and
teach us more in the process.
If people can't make it today, that's ok so long as we've got something to
show on Monday. I'll send out a few things that I'd like from you guys by
the end of the weekend, and we can go from there. We should have a
finalizing meeting next week or the week after in that case.
Chris
On Wed, Apr 29, 2015 at 12:39 AM, Juan Shishido<EMAIL_ADDRESS>wrote:

Hey, @choldgraf https://github.com/choldgraf. My knee is still messed
up from a biking mishap last week. Trying not to walk much. Didn't make it
to campus yesterday (Tuesday). Not sure I will tomorrow, either. I can
video in, though!
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97334717
.

i can get a bunch of stuff out by friday, including images and stats, i can
also make a movie, and i'll include a powerpoint with slides to tell a
story, and i will coordinate with nick on latest he as been working on,
it's best for me not to attend meeting today because i kill about an hour
going to campus and back,  darius
On Wed, Apr 29, 2015 at 9:35 AM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

I'm treating this as a "working meeting". I'll be there to work on stuff
I've been doing for this project, and to help out with anybody else's part.
I think it's important that we finalize these materials as a team, rather
than on our own. It will make the end product more useful for Andrew and
teach us more in the process.
If people can't make it today, that's ok so long as we've got something to
show on Monday. I'll send out a few things that I'd like from you guys by
the end of the weekend, and we can go from there. We should have a
finalizing meeting next week or the week after in that case.
Chris
On Wed, Apr 29, 2015 at 12:39 AM, Juan Shishido<EMAIL_ADDRESS>wrote:

Hey, @choldgraf https://github.com/choldgraf. My knee is still messed

up from a biking mishap last week. Trying not to walk much. Didn't make
it
to campus yesterday (Tuesday). Not sure I will tomorrow, either. I can
video in, though!
—
Reply to this email directly or view it on GitHub
<
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97334717

.

—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97493678
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley

OK, sounds good. If you aren't going to be on campus anyway then I don't
want you to lose time in transit. I'll send out a couple specifics I'd like
from you guys just to make sure we've got what we need. Either way, I'll be
at BIDS at 3pm to work on this.
On Wed, Apr 29, 2015 at 9:41 AM, dariusmehri<EMAIL_ADDRESS>wrote:

i can get a bunch of stuff out by friday, including images and stats, i can
also make a movie, and i'll include a powerpoint with slides to tell a
story, and i will coordinate with nick on latest he as been working on,
it's best for me not to attend meeting today because i kill about an hour
going to campus and back, darius
On Wed, Apr 29, 2015 at 9:35 AM, Chris Holdgraf<EMAIL_ADDRESS>wrote:

I'm treating this as a "working meeting". I'll be there to work on stuff
I've been doing for this project, and to help out with anybody else's
part.
I think it's important that we finalize these materials as a team, rather
than on our own. It will make the end product more useful for Andrew and
teach us more in the process.
If people can't make it today, that's ok so long as we've got something
to
show on Monday. I'll send out a few things that I'd like from you guys by
the end of the weekend, and we can go from there. We should have a
finalizing meeting next week or the week after in that case.
Chris
On Wed, Apr 29, 2015 at 12:39 AM, Juan Shishido <
<EMAIL_ADDRESS>wrote:

Hey, @choldgraf https://github.com/choldgraf. My knee is still
messed

up from a biking mishap last week. Trying not to walk much. Didn't make
it
to campus yesterday (Tuesday). Not sure I will tomorrow, either. I can
video in, though!
—
Reply to this email directly or view it on GitHub
<

https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97334717

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97493678
.

--
Darius Mehri
Ph.D. Candidate, Sociology
University of California, Berkeley
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-97497502
.

What time is the event tomorrow?  Its at 6pm right?

The Data Science Faire is tomorrow (Tuesday) from 1-4:30pm:
http://bids.berkeley.edu/events/bids-spring-2015-data-science-faire
The Data Science Collaborative final project presentations will be Wednesday at 6pm:
http://bids.berkeley.edu/events/data-science-collaborative-final-project-presentations

To add to that - the Data Faire highlights research from all over UC
Berkeley, and the BIDS collaborative is just a part of that. The "final
presentations" event on Wednesday is BIDS-specific, and is probably the
preferred option if you had to pick.
On Mon, May 4, 2015 at 8:22 PM, Dav Clark<EMAIL_ADDRESS>wrote:

The Data Science Faire is tomorrow (Tuesday) from 1-4:30pm:
http://bids.berkeley.edu/events/bids-spring-2015-data-science-faire
The Data Science Collaborative final project presentations will be
Wednesday at 6pm:
http://bids.berkeley.edu/events/data-science-collaborative-final-project-presentations
—
Reply to this email directly or view it on GitHub
https://github.com/berkeley-dsc/purchasing/issues/19#issuecomment-98924260
.


[rails-version] use rails caches

Code for the Counter cache issue https://github.com/t3dotgg/1app5stacks/issues/4
You would need to update counters, if you had your db populated and Votes were already created: rails pokemon:update_counters

Added caching to Rails controllers and views

To play with caches in dev rails dev:cache (toggles caching on/off)

I added a faster version really similar to next:turbo in a PR stacked on top of this https://github.com/testa19/1app5stacks/pull/2

Also @testa19 forgot to mention, but since this PR enables turbo for posting the result, it results in single-flight-mutations on the main page 🔥


Full-Page reloads from 0.4.0-preview1-10314

When using 0.4.0-preview1-10314 (10313 works fine), I get strange full page reloads (the APP starts-up completely) on unclear circumstances.
After clicking a button, ShouldRender is the last thing I see in the console-output.
It's hard to track down without debugger, so maybe the changes from 10313 to 10314 give a hint what's wrong. Does any commit vs. build-nr - log exist?

Can you give repro steps?
I’ll look into which commits were included, but repro steps would be the main thing.

The button which was clicked was (accidentally) wrapped in a -Element.
After removing this, it works in 10314 like before.
Like you already guessed, the preventDefault probably stopped the browser from reloading the page after submission of the form.
So it's no bug, just a new behavior of blazor. :-)

Thanks for explaining. Good to know!

@SteveSandersonMS Is it possible to skip preventDefault for routes which Blazor's Router cannot handle?


Building error while running catkin_make_isolated --install --use-ninja

Hello,
I have been trying to re-install Cartographer. I have removed everything. But, when I tried to install it again I faced this error:
[135/260] Building CXX object CMakeFiles/cartographer.dir/cartographer/common/lua_parameter_dictionary.cc.o
FAILED: /usr/bin/g++ -isystem /usr/include/eigen3 -isystem /home/X/Desktop/catkin_ws/install_isolated/include -isystem /home/X/torch/install/include -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/freetype2 -isystem /usr/include/libpng12 -I. -I/home/X/Desktop/catkin_ws/src/cartographer -isystem /usr/src/gmock/gtest/include -O3 -DNDEBUG -pthread -std=c++11 -fPIC -Wall -Wpedantic -Werror=format-security -Werror=missing-braces -Werror=reorder -Werror=return-type -Werror=switch -Werror=uninitialized -O3 -DNDEBUG -MMD -MT CMakeFiles/cartographer.dir/cartographer/common/lua_parameter_dictionary.cc.o -MF CMakeFiles/cartographer.dir/cartographer/common/lua_parameter_dictionary.cc.o.d -o CMakeFiles/cartographer.dir/cartographer/common/lua_parameter_dictionary.cc.o -c /home/X/Desktop/catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc
/home/X/Desktop/catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In function ‘void cartographer::common::{anonymous}::QuoteStringOnStack(lua_State*)’:
/home/X/Desktop/catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:49:24: error: ‘lua_pushglobaltable’ was not declared in this scope
lua_pushglobaltable(L); // S: ... string globals
^
/home/X/Desktop/catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc: In lambda function:
/home/X/Desktop/catkin_ws/src/cartographer/cartographer/common/lua_parameter_dictionary.cc:332:3: error: control reaches end of non-void function [-Werror=return-type]
};
^
cc1plus: some warnings being treated as errors
[135/260] Building CXX object CMakeFiles/cartographer.dir/cartographer/mapping/proto/sparse_pose_graph.pb.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer':
Command '['/home/X/Desktop/catkin_ws/install_isolated/env.sh', 'ninja', '-j8', '-l8']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/X/Desktop/catkin_ws/build_isolated/cartographer && /home/X/Desktop/catkin_ws/install_isolated/env.sh ninja -j8 -l8
Command failed, exiting.
Please tell me why I got this error and how to solve this.
Configuration:
ROS lunar
Ubuntu 16.04
Installation guide:
http://wiki.ros.org/lunar/Installation/Ubuntu
https://google-cartographer-ros.readthedocs.io/en/latest/

Hi,
seems like (a function of) the Lua library is not found in your build setup.
Please provide more details:

Which lua library do you have installed?
gcc --version
Contents of (install|devel)_isolated/cartographer/devel/CMakeCache.txt
env | grep ROS

As always, perhaps you already did this, please retry with a current checkout from git and compile again after deleting all build/install folders.

Check what directory are being included (its printed on the beginning)
It is probably using an older version of lua that doesn't have the lua_pushglobaltable method.

@gaschler
Lua 5.2.4
gcc 5.4
However, the lua version that cartographer is using is /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.4")
Do you know how to upgrade it to version 5.2?

Gcc and Lua versions are fine.
Next step would be to look into actual includes (tentone's suggestion) and CMakeCache.txt

@shahabty

Lua 5.2.4

This seems untrue. We have two indications that cartographer finds Lua 5.1:

lua_pushglobaltable was introduced in Lua 5.2 and is not present in 5.1. The compile error you see indicates that Cartographer includes 5.1 headers.
The output Found Lua: /usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.4") states that your Lua version is 5.1, even though the file name suggest otherwise. I would guess that cmake found lua 5.1 headers and 5.2. libraries - that will be trouble down the line even if the code compiled.

Our bug here is that we accept 5.1 in the configure step. I opened #629 for that. For your particular instance, I suggest deinstalling 5.1 if that is feasible or hacking FindLuaGoogle.cmake to only accept the location of your 5.2. installation.

Seems like https://github.com/googlecartographer/cartographer/issues/629 is fixed in general and there is a detailed answer for this particular scenario, so closing.


Is there any way possible to clone the camera feed from CameraManager?

Just for display purposes, I would like to clone the camera feed to multiple UIView objects at the same time.  It could be fun to display two or more identical camera feeds that appear synced!   Any cloned feeds would not need to have video recording capability.  Please see https://stackoverflow.com/questions/61295613/is-there-a-way-to-copy-a-uiview-objects-video-content-into-a-second-uiview-im
Does anyone know if there is a way to clone them in my own code?  Or could there by an internal array kept inside the pod that would allow clones (with no recording capability)?

Note that for my purposes, the camera feed is just one part of the display, so I don't anticipate using the recording capability just for the camera feed itself.  However, if the recording capability could have an option where instead of just recording the camera feed, if it could record the whole device screen (which would include any overlaid objects/effects onto the feed) that would be really appealing to me.   An option to record the whole screen might be just slightly different than recording the camera feed only.  A lot of use cases probably use self.view as the bounding rectangle already, so we may be talking about the same size real estate, but with the feed coming from a slightly different source.

One

@MichaelKucinski
using CameraManager for that purpose is not possible because it only supports a single previewLayer. Since that's a very specific use case, which would ultimately change the behaviour of the lib, we are not considering doing that.
That being said, you probably need a AVCaptureSession with a AVCaptureVideoPreviewLayer for every one of your clone UIViews.

Maybe I can try instantiating 2 objects, and using one for each session,
although I expect that is more expensive in both memory and throughput
causing extra loading for the CPU and or GPU.
Like so :
let cameraManager = CameraManager()

let cameraManager_2 = CameraManager()

I will let you know if this works, and provide video link if it does.   Do
you know if others have tried the 2 instantiations approach?
Since it really is the same feed, it would be nice if it was optimized as
best as possible.
Please consider trying to use an array inside your code, and letting users
access a clone feed with a slightly different call to get a clone preview
layer, with no recording capability.
I don't think it really changes the behavior of your pod if you can figure
out a way to tweak it, without breaking any code for the existing users.
If all you do is add new APIs so users can have more options, that might
help bring more even more users to your pod.  If you think users who use
cloned feeds, or use whole screen recording might experience any degraded
performance, just put a cautionary note on your websites that guide devs in
integrating to Camera Manager.   With hardware advancing, degraded
performance might be a non issue soon, if not already.
I sent a message through your website expounding on how that might be done.
Another thing that you might consider is consulting someone inside Apple to
find out if they might know of a way to get that desired effect.  Maybe
they can add something to the AVCapture library to assist in that effect.
With CPU and GPU speed increasing, and with the very artistic effects that
can be done with a camera feed, the hardware might be able to support clone
feeds now, or not too long from now, where it doesn't degrade in quality
because of throughput limitations.
My use case is very artistic, kind of like Photoshop, and having multiple
views of the same feed at the fingertips of users could be a novel and
unique feature.
There may be some value in your pod of including that feature, if it plays
well and if you can provide users with an example video showcase and
example code to get it working.
Also, even though your pod currently only records the camera feed, if you
can provide an option to the user to capture the whole screen for recording
(which includes your camera feed) and overlaid effects, I think that would
add quite a bit of value to your pod.
Giving your users the flexibility to choose either whole screen recording,
or just the camera feed recording might just be a few dozen lines of code
changes in your pod.
Let me share with you a few links to show you my use cases, and how those
use cases could be even more fun with clone views or whole screen recording
making fun and unique .gif files as an end goal
https://www.youtube.com/watch?v=OOSxJhyzCVw&feature=youtu.be
https://www.youtube.com/watch?v=DJQzwmXBRa0&feature=youtu.be
If you have any suggestion, please share.
And thanks for the info.
Mike
On Tue, Apr 21, 2020 at 5:24 AM Ricardo Torrão<EMAIL_ADDRESS>wrote:

@MichaelKucinski https://github.com/MichaelKucinski
using CameraManager for that purpose is not possible because it only
supports a single previewLayer. Since that's a very specific use case,
which would ultimately change the behaviour of the lib, we are not
considering doing that.
That being said, you probably need a AVCaptureSession with a
AVCaptureVideoPreviewLayer for every one of your clone UIViews.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/imaginary-cloud/CameraManager/issues/226#issuecomment-617063007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGNKEMDMF6TIHFYB47GDOZ3RNVQ43ANCNFSM4MMQAI7Q
.

I tried 2 instantiations, but it didn't work. as shown below, (not all code
shown, just the pertinent parts)
let cameraView_1 = UIView()

let cameraView_2 = UIView()

let cameraManager_1 = CameraManager()

let cameraManager_2 = CameraManager()

The feed only went to one of the views.
There might be merit in checking with Apple about clone feed
possibilities.  Since your team has standing with your pod, an enhancement
request that asks for a way to produce clone feeds might get serious
consideration on their side (if they don't currently have a way of already
doing that).   Cloned feeds could be fun in advertising effects.  Imagine
10 cloned feeds coordinated with size reduction or spacing in appealing
ways, with coordinated rotation or scaling too.
On your end, are there any objects that could be made into an array that
could help make cloning possible?   By poking around, I wondered if this
might be made into an array :
fileprivate weak var embeddingView: UIView?

That's about as far as I can run with this I think.
Thanks for looking this over.
Mike
On Tue, Apr 21, 2020 at 5:24 AM Ricardo Torrão<EMAIL_ADDRESS>wrote:

@MichaelKucinski https://github.com/MichaelKucinski
using CameraManager for that purpose is not possible because it only
supports a single previewLayer. Since that's a very specific use case,
which would ultimately change the behaviour of the lib, we are not
considering doing that.
That being said, you probably need a AVCaptureSession with a
AVCaptureVideoPreviewLayer for every one of your clone UIViews.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/imaginary-cloud/CameraManager/issues/226#issuecomment-617063007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGNKEMDMF6TIHFYB47GDOZ3RNVQ43ANCNFSM4MMQAI7Q
.

@MichaelKucinski
thanks for the feeback, but as I mentioned before we don't plan on changing the lib for your very specific use case since our goal is to mimic the default iOS camera in terms of functionality.

Well, if you ever think of trying some things along those lines or get
curious, consider trying to prototype the concept and weighing it's
merits.  Or consider a new pod for new functionality.  Your team does well
at that level.
You might consider updating your website and documentation to let people
looking over your pod know that it makes a great live camera feed, even if
there is no intent to record.  I would link some video showing the
flexibility that is possible, and maybe include detailed code for attaching
gesture recognizers.
I added gesture recognizers to my UIView so that it can be dragged,
pinched, and rotated, and I added supporting code to get a circular feed.
Those YouTube links I shared earlier showcased that.   The touch to drag
needed some special logic.  I let touches on the left side of the view drag
it around the screen and I let touches on the right side go to the exposure
control.   I had to set cameraManager.shouldEnableExposure based on where
the touch was located.  Worked like a charm.
            if cameraFeedTouchpoint.x > cameraView.frame.width / 2

            {

                cameraManager.shouldEnableExposure = true

                return

            }

            else

            {

                cameraManager.shouldEnableExposure = false

            }

BTW, this is the best pod I have ever incorporated into an app!
On Tue, Apr 21, 2020 at 12:39 PM Ricardo Torrão<EMAIL_ADDRESS>wrote:

@MichaelKucinski https://github.com/MichaelKucinski
thanks for the feeback, but as I mentioned before we don't plan on
changing the lib for your very specific use case since our goal is to
mimic the default iOS camera in terms of functionality.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/imaginary-cloud/CameraManager/issues/226#issuecomment-617274656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGNKEMCGFJFLQZUG5VJFGE3RNXD4VANCNFSM4MMQAI7Q
.

EmitSoEasy has been released.
It’s got the live camera feed using CameraManager.   It’s flexible and can be cropped to a circle feed.
See lower left corner of the app toolbars to start it.
Try tiling the background with text or photo with the Camera feed and move the phone around.  That is a lot of art content!  Now you might see why I wanted to be able to record the whole screen of the device instead of just the camera video stream.   And you might see how a cloned copy could have made for fun content.   Imagine 3 of 4 circular camera feeds on screen and recording that effect!   Users may like it.
https://apps.apple.com/us/app/emitsoeasy/id1500308841
EmitSoEasy can produce interesting artistic content very quickly
EmitSoEasy lets you work with Memoji and emoji.   You can tile with text, Memoji, webpages, and photos too.
You can export tiles, text, photo, and web page clippings with transparent backgrounds.
Those exports can be used other places like Photoshop, etc.
If anyone is using Photoshop, please look at the following photos showcasing the export and tile features.  It might be fun / creative to use exports from EmitSoEasy and incorporate them into Photoshop or other products.
The EmitSoEasy steps are pretty easy.
Create Text.  Type in a combination of Memoji and alphanumerics.
Choose Transparent Background for that text.
Then save to camera roll and it will capture the transparent background and text/Memoji.

If you want tiles :
Choose Tile the Background with this Text
Under the More tab, choose Save Tiles 2 Camera Roll, and it captures the tiles!

It only took me one minute to create each image


Error fetching medisafe data:

Version of the custom_component
[v0.0.1]
Configuration
Add your logs here.

Describe the bug
A clear and concise description of what the bug is.
Debug log

This error originated from a custom integration.

Logger: custom_components.medisafe
Source: helpers/update_coordinator.py:219
Integration: Medisafe (documentation, issues)
First occurred: 07:54:40 (307 occurrences)
Last logged: 14:33:53

Error fetching medisafe data:

This error originated from a custom integration.

Logger: custom_components.medisafe
Source: custom_components/medisafe/api.py:76
Integration: Medisafe (documentation, issues)
First occurred: 07:54:40 (307 occurrences)
Last logged: 14:33:53

Error parsing information from https://web.medisafe.com/api/auth - timeout() got an unexpected keyword argument 'loop'

This should be fixed in version 0.0.2


Update to rust-url 1.0

Do not merge yet: rust-url 1.0 is not published yet and may still get breaking changes.  The goal of this PR for now is to demonstrate API usage.
Depends on https://github.com/servo/rust-url/pull/176 and https://github.com/alexcrichton/git2-rs/pull/115

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

Thanks @SimonSapin!

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

Thanks again for the PR @SimonSapin! I'm gonna close this for now but we can reopen/resubmit once rust-url 1.0 is out

@alexcrichton rust-url is at version 1.0.0(1.0.1 in master)

This depends on functionality that I ended up removing from url 1.0 and plan to add back in 1.1 soon: https://github.com/servo/rust-url/issues/188
I’ll resubmit this PR once that’s done.


Release 1.12.3

Reporter: Gidon Gershinsky / @ggershinsky
Related issues:

AvroWriteSupport does not pass Configuration to AvroSchemaConverter on Creation (depends upon)
Travis failures (depends upon)
Fix ColumnIndexBuilder for notIn predicate (depends upon)
Enable uniform decryption with plaintext footer (depends upon)
parquet-cli dictionary command fails on pages without dictionary encoding (depends upon)
Fix wrong descriptions about the default block size (depends upon)
Typo in ColumnIndexBase toString (depends upon)
Add rowPosition API in parquet record readers (depends upon)
Uniform encryption (depends upon)
Refactor the test code of creating the test file  (depends upon)
BinaryComparator should avoid doing ByteBuffer.wrap in the hot-path (depends upon)
Fix typo in MessageColumnIO (depends upon)
Security risk in latest parquet-jackson-1.12.2.jar (depends upon)
File writer construction with encryptor (depends upon)
Remove descriptions for the removed modules (depends upon)
Bump Thrift to 0.16.0 (depends upon)
Add uncompressedSize to "meta" output (depends upon)
Improve Travis CI build Performance (depends upon)
Encryption translation tool - Parquet-hadoop (depends upon)

Note: This issue was originally created as PARQUET-2145. Please see the migration documentation for further details.

Gidon Gershinsky / @ggershinsky:
This version is already released, https://parquet.incubator.apache.org/blog/2022/05/26/1.12.3/

Lets indeed close this Jira.

Brais Couce:
Is there an ETA for this version? I think it is important because it includes changes to address security vulnerabilities (PARQUET-2127).


Jesse: Watch tigabola.com

Jesse requests the watch of the watch_keyword tigabola\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tigabola\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


papercut: log analysis is incorrect

Description
DA:

Cloud pricing:

New or affected modules

By submitting this issue, you agree to follow our Code of Conduct

It does seem to display a value different to 0 on recent versions.

Fixed


Header bug fix

Header is now way better than what it used to be on mobile. Any chance we can have the hamburger button white instead of black?
Also, tablet view hasn't changed.

In some cases user name doesn't appear in the header.

It would be nice if the name also appeared when using mobile in landscape orientation.


I can't open profile

When i choose open profile the application don't do anything.

@rskproductions the newer versions should not have this issue. Which version are you using?


Add Containerfile location e2e test

As a follow up of the location fix in #5080 we now add an e2e test for
that use case.

/approve
lgtm

LGTM
One test failed with an apparent network hiccup, I've restarted.

/lgtm


Search for v3 docs is broken

Trying to search in the v3 docs keeps landing on pages that don't exist. This seems to happen for any page that has moved.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
Searching the v3 docs for "Typography" should land me on https://v3-9-0.material-ui.com/style/typography/
Current Behavior 😯
Searching the v3 docs for "Typography" lands me on a page that doesn't exist https://v3-9-0.material-ui.com/customization/typography/#typography

Steps to Reproduce 🕹

Go to https://v3-9-0.material-ui.com/
Search for Typography

Context 🔦

This is making it very difficult to use the v3 version of Material UI. While we would love to update to v4, that's not going to happen for a bit.
Your Environment 🌎

Tech
Version

Material-UI
v3.x.x

I have noticed it last week. I'm more interested in making sure it doesn't happen with the v4 to v5 transition in a year from now.

https://reactjs.org/ hasn't this one figured out as well. Will have a look at this.

@eps1lon I'm proposing a solution in #16011.

I thought this is about v3 searchability not links.

I'm proposing to consolidate all the v3 documentation under a single subdomain, that we can maintain and point to the Algolia search bot. We can chat about it Gitter. We have a couple of different options here.

The search on https://v3.material-ui.com is now operational.

:tada: Thank you!
I greatly appreciate your dedication to good DX even though we're not on the latest and great version.

@Graham42 We still maintain v3 (but in a low mode), the documentation is very important :).


Thread aware calculation of LazyObject

Is your feature request related to a problem? Please describe.
In parallel execution environments multiple threads can trigger the recalculation of a l LazyObject, but the current implementation sets calculated_ prior to the call to performCalculations() which causes another thread to step over the calculation step and attempt to read the results before they’ve been provided resulting in an ArgumentException error being throw in the second thread.
Describe the solution you'd like

Introduce a bootstrapping_ guard ThreadStatic member to LazyObject and set it before the call to performCalculations() to prevent recursion during bootstrapping and move to setting of calculated_ to follow calculation.
Add a spinLock_ System.Threading.SpinLock to prevent duplicate calls to performCalculations()from different threads

Describe alternatives you've considered
Many years ago I developed a wrapper around C++ QuantLib and added locking to my version.. I’m looking to migrate to QLNet for to avoid mutli-mode assembly problem with .NET 5 and improve performance (by avoiding managed/unmanaged transition).
Additional context
I’ve made the change on my workstation, and the addition of the SpinLock adds 1% to the runtime of the test suite, but this cost would be recovered by the ability to execute models in parallel.

Hey @channell , thx for your PR , I agree with you about the uneeded pattern , what about working togheter to completly remove it from the library ? In the QLNet development we did several hack to avoid this problem with the only result to make the code ugly and difficult to read and without fixing the issue. Let me know if you have any idea on how to proceed.

@tournierjc why not do that here as a major version? I mean, It's QLNet + refactoring + some more from QuantLib right?


Update the IPFSTool.download method to detect aea component packages and none aea component packages and process them accordingly

https://github.com/valory-xyz/open-aea/pull/518/files#r1060540602


Implement NDArray

Implement NDArray<T>.
features:

Basic creation (zeros, ones, eye, range, linspace)
subscript (Get a element or subarray)
Transformation (reshaped, transposed)
Stacking (stack, concatenate)
Operators of Numbers/Bool/Comparable
sqrt, exp, log, sin, cos, tan
min, max, sum, mean

This PR also contains source file location changes.

NDArray has some naive implementations, and not swifty but numpy-like APIs.
Reviews are seriously needed.


Refactor RetailcrmProxy

Codecov Report

Merging #145 (61b4ef4) into master (273efda) will increase coverage by 0.06%.
The diff coverage is 28.08%.

:exclamation: Current head 61b4ef4 differs from pull request most recent head 703700b.

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


Connection Status

Hi !
Just did the Project and it´s working fine. Thanks a lot for this!
In connection status I do not see any Parameter in Interface Information and Statistics. Just wlan 0
Is this normal ?
I use the new PI A+, (which is not recognized at system) und did a fresh setup with a PI 3+. Here it´s the same.
Any idear ?
Regards from Germany
Reiner

Thanks for reporting the issue.
I believe this is related to this issue: https://github.com/thomasjacquin/allsky-portal/pull/1/commits/20c58a2b9f0d4721171b92681770e765ee6d1df8
Basically ip & iw are now used instead of ifconfig & iwconfig. I will test it, make sure it still works for RPi3 and under and I'll push an update.

This issue is from an older release of the AllSky software and the issue appear to have been resolved.  If you think it might still be relevant, please test it with the newest version and submit a new issue if needed.  Thanks.


ModuleNotFoundError !!!!

implementing th eimport lines gives error what should I do?
import pandas as pd
import math
import numpy as np
from seqeval.metrics import f1_score
from seqeval.metrics import classification_report,accuracy_score,f1_score
import torch.nn.functional as F
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
2 import math
3 import numpy as np
----> 4 from seqeval.metrics import f1_score
5 from seqeval.metrics import classification_report,accuracy_score,f1_score
6 import torch.nn.functional as F
ModuleNotFoundError: No module named 'seqeval'

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.

implementing th eimport lines gives error what should I do?
import pandas as pd
import math
import numpy as np
from seqeval.metrics import f1_score
from seqeval.metrics import classification_report,accuracy_score,f1_score
import torch.nn.functional as F
ModuleNotFoundError Traceback (most recent call last)
in ()
2 import math
3 import numpy as np
----> 4 from seqeval.metrics import f1_score
5 from seqeval.metrics import classification_report,accuracy_score,f1_score
6 import torch.nn.functional as F
ModuleNotFoundError: No module named 'seqeval'
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.

ok it was simple
just use
!pip install seqeval
that's it!


Updated example code in README.md

the example code in the README seems to be outdated, I updated it so it'll run without modification.

Thanks!


Update outbound-rules-control-egress.md

Expanded FQDN rules for Azure Monitor for containers addon to reflect egress requirements listed here: https://learn.microsoft.com/en-us/azure/azure-monitor/containers/kubernetes-monitoring-firewall
Previously there was no mention of US Government requirements or 21Vianet.

@asudbring

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Improvements to NoUnexpectedThunks

This consists of two commits:

The first allows us to distinguish between T itself not being forced or a field inside T, even if we use isNormalForm for T.
The second adds support for boxed vectors.

bors r+