GoPro stream latency on android app

Problem:
I made an android apk for displaying GoPro stream, but when I start it, I have 3 or 4 seconds of latencies.
But when I change the framerate using the GoPro, it seems to reload the stream and the latency go back to 1 second or less.
So I tried using Wifi command to change framerate but it doesn't work.
I suppose the problem is coming from my settings because it keeps packets it shouldn't keep.
http://<IP_ADDRESS>/gp/gpControl/setting/3/9
Details:
To receive that stream, I'm using libvlc and FFmpeg-kit :

ArrayList _Options = new ArrayList();
_Options.add("--file-caching=2000");
_Options.add("--network-caching=150");
_Options.add("--clock-jitter=0");
_Options.add("--live-caching=200");
_Options.add("--clock-synchro=0");
_Options.add("--drop-late-frames");
_Options.add("--skip-frames");
_Options.add("-vvv");
_myLibVlc = new LibVLC(findViewById(android.R.id.content).getContext(), _Options);
_myPlayer = new MediaPlayer(_myLibVlc);
_myVout = _myPlayer.getVLCVout();

private String cmd = "-an -flags low_delay -flags2 fast -fflags nobuffer -f:v mpegts -probesize 2048 -r 12 -i udp://<IP_ADDRESS>:8554 -max_delay 1000 -preset ultrafast -vcodec libx264 -tune zerolatency -f mpegts -vcodec copy udp://<IP_ADDRESS>:12345";

FFmpegKit.execute(cmd);

GoPro Camera(s):
GoPro HERO 5

Firmware Version:
Android 12
libvlc : org.videolan.android:libvlc-all:3.1.12
FFmpeg-kit : libs/ffmpeg-kit-full-4.5.1-1.aar

Steps to reproduce:
Launch GoPro stream with latency and change the video mode framerate to 24 (even if it's already 24)

Happens every time? [Y/N]: Sometimes but not everytime

Use Exoplayer with LoadControl and set minBuffer to 900ms and maxBuffer to 1100ms. For me it works with Hero5 and Hero8 without problems.
Example: PreviewActivity.java
And by the way: ffmpeg-kit-min is enough for that. This will make the APK file smaller.

Thanks for the tip
But I kind of figured out that my options weren't working because I was declaring them like every stack overflow answer.
Though, it works when I did it that way :

    ArrayList<String> _Options = new ArrayList<>();
    _Options.add("--file-caching=2000");
    _Options.add("-vvv");
    _myLibVlc = new LibVLC(findViewById(android.R.id.content).getContext(), _Options);
    _myPlayer = new MediaPlayer(_myLibVlc);
    _myPlayer.getVLCVout();
    _myPlayer.attachViews(_myVideoView, null, false, false);
    Media media = new Media(_myLibVlc, Uri.parse("udp://@:12345"));
    media.setHWDecoderEnabled(true, true);
    media.addOption(":file-caching=0");
    media.addOption(":network-caching=0");
    media.addOption(":live-caching=0");
    media.addOption(":clock-jitter=0");
    media.addOption(":clock-synchro=0");
    media.addOption(":drop-late-frames");
    media.addOption(":skip-frames");
    _myPlayer.setMedia(media);
    //_myPlayer.setRate(1.5f);
    _myPlayer.play();

That makes me happy!
What latencies do you have now?
I have about a second latency with my solution.
Best regards

I also have about a second (which is better than 3-4 seconds that were getting longer over time)
But if I try to set playback x2, it nearly catch up to be around 300ms, then it stop because the buffer is empty
(normal since I'm trying to play x2 with a live)


label field is missing from gettransaction response

gettransaction returns a label for each details items. Quoting the Bitcoin Core source code:
            "gettransaction \"txid\" ( include_watchonly )\n"
...
            "  \"details\" : [\n"
            "    {\n"
            "      \"account\" : \"accountname\",      (string) DEPRECATED. The account name involved in the transaction, can be \"\" for the default account.\n"
            "      \"address\" : \"address\",          (string) The bitcoin address involved in the transaction\n"
...
            "      \"label\" : \"label\",              (string) A comment for the address/transaction, if any\n"
...

It would be nice to have access to that label via BitcoinService.GetTransaction().

Added in ad1f710 and released as BitcoinLib 1.4.1 on NuGet.


Fix documentation URL

Is this still relevant?

Yes.

yes

i'm wondering how difficult it is to check this one line change and hit "merge"

wow this project is totally being maintained

If so, what is blocking it?

@NoahZinsmeister

Is

This

You got the best quality of maintainance and also the best quality of bots.


ci: Update to Zephyr SDK 0.14.0

Pull in the CI docker image v0.22.0, which contains the Zephyr SDK
0.14.0 release, and use the Zephyr SDK 0.14.0 for building and testing
Zephyr in the CI.
Signed-off-by: Stephanos Ioannidis<EMAIL_ADDRESS>Tested in https://github.com/zephyrproject-rtos/zephyr-testing/actions/runs/1991610068
Documentation updates to be reviewed/merged as part of #43008

DNM because we need to update images in AWS first, otherwise CI will be VERY slow.


RxJava2 sample for PagingLibraryWithNetwork

On the current app, everything is rxjava2, no live data, I though to manage the lifecycle my own an decide when is the right moment to subscribe/unsubscribe in the view.
I could not find any sample on how to use the new paging library with network + db using rxjava 2.
Only the live data seems available.

I tried to implement a network paging mechanism using switchOnNext, but I'm not so happy with what i've got so far.
Thanks!

Please provide sample Paging RxJava2, there are problems with hot or cold observables and reseting recyclerview after rotate device. Thanks for you support

In general, you can use something like https://github.com/uber/AutoDispose to manage lifecycle of your rx subscriptions.
We've also released an rx module along with Paging3's release that includes an operator for handling multicast + caching transformations and the Paging3 samples on d.android.com/paging now have explicit tabs for rxjava samples!


Shop menu rendering, open/close contexts

When the shop menu is finished, a few things will need to be changed in the current implementation on a macro scale.
1.) Currently, the menu is set to repaint itself when closed and re-opened. This is to make my life much easier as I continue to adjust and add features to the shop, so I do not need to restart the level each time I make an adjustment. When the shop is feature-complete, I will need to switch this from,
        MENU_FRAME:Remove()
        MENU_FRAME = nil

To,
        MENU_FRAME:SetVisible(false)

This will also need to be accounted for at the beginning of the method call to prompt the menu painting functions (when the menu first opens). This will allow users to retain their position in the menu when they last closed it.
2.) Currently, the paint function for the shop credits is static. This updates when it is repainted in the current implementation, but will not work when the changes described above. This will need to be adjusted as to reflect the local player's current credit balance in the DLabel's paint function, so it will be rendered every frame.
3.) I would like to give players the ability to open or close their menu regardless of where they are in the game world. However, this will not be suitable in its current implementation without some additional restrictions. We should not allow purchases to be made on the shop if the player is not within a certain number of units from their base. To achieve this, we will disable the purchase buttons when the player is not close enough to their base, likely via a NWBool on the player themselves. This will allow players to check their current balance and switch their loadouts at any time without having to be alive or present at their home base.

As of now, objectives two and three are completed. However, this final paint frame adjustment call cannot be implemented until the rest of the menu is complete.

Menu finalized per commit 7169dd47f84b9d3417b5311a76e7200a66327d84


Fix build warning in jerry-ext/arg on tizenrt-artik05x

tizenrt-arttik05x treats warning as error for uninitialized use.
This patch fixes the error in jerry-ext/arg by initializing to zero.
JerryScript-DCO-1.0-Signed-off-by: Sanggyu Lee<EMAIL_ADDRESS>

Here is error log.
/home/brian/iotjs/jerry-tizenrt/jerryscript/jerry-ext/arg/arg-transform-functions.c: In function 'jerryx_arg_transform_uint8_strict':
/home/brian/iotjs/jerry-tizenrt/jerryscript/jerry-ext/arg/arg-transform-functions.c:151:41: error: 'tmp' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     *d = (*d >= 0.0) ? floor (*d + 0.5) : ceil (*d - 0.5);
                                         ^
/home/brian/iotjs/jerry-tizenrt/jerryscript/jerry-ext/arg/arg-transform-functions.c:172:12: note: 'tmp' was declared here
     double tmp; \
            ^
/home/brian/iotjs/jerry-tizenrt/jerryscript/jerry-ext/arg/arg-transform-functions.c:190:3: note: in expansion of macro 'JERRYX_ARG_TRANSFORM_FUNC_FOR_INT_TEMPLATE'
   JERRYX_ARG_TRANSFORM_FUNC_FOR_INT_TEMPLATE (type, _strict, min, max) \
   ^
/home/brian/iotjs/jerry-tizenrt/jerryscript/jerry-ext/arg/arg-transform-functions.c:193:1: note: in expansion of macro 'JERRYX_ARG_TRANSFORM_FUNC_FOR_INT'
 JERRYX_ARG_TRANSFORM_FUNC_FOR_INT (uint8, 0, UINT8_MAX)


Add small success info when creating remediation

What type of PR is this?
Adds small info that user is logged in to the cluster as the remediation ( so that one can test RBAC )
What this PR does / Why we need it?
Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Unit Test Coverage
Guidelines

If it's a new sub-command or new function to an existing sub-command, please cover at least 50% of the code
If it's a bug fix for an existing sub-command, please cover 70% of the code

Test coverage checks

[ ] Added unit tests
[ ] Created jira card to add unit test
[ ] This PR may not need unit tests

Pre-checks (if applicable)

[ ] Ran unit tests locally
[ ] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.39%. Comparing base (c090c68) to head (50e6f5c).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #582   +/-   ##
=======================================
  Coverage   45.39%   45.39%
=======================================
  Files          87       87
  Lines        6759     6760    +1
=======================================
+ Hits         3068     3069    +1
  Misses       3311     3311
  Partials      380      380

Files with missing lines
Coverage Δ

cmd/ocm-backplane/remediation/remediation.go
74.19% <100.00%> (+0.20%)
:arrow_up:


HOSTEDCP-1085: Create a monitoring dashboard per HostedCluster

What this PR does / why we need it:
Adds an install option to enable monitoring dashboards for HostedClusters created by the HyperShift operator. Each dashboard consists of a ConfigMap that is placed in the openshift-config-managed namespace of the management cluster.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #HOSTEDCP-1085
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.

/lgtm


Memory leak when use native engine

Describe the bug

Memory leak when use native engine, when websocket close and resume again, lots of memory leak occure!

Steps to Reproduce

Just close websocket and start it again

Expected behavior

A clear and concise description of what you expected to happen.

Environment:

OS/Version: [iOS 15.0]
Starscream Version [4.0.0]
Xcode version [13]

Additional context

I found the URLSession does not invalid after close

the same question with you!


Can't compile. stdatomic.h not found in Window 10

I'm not sure what's went wrong with the installation process.
I did exactly what tesseract-sys told me to do.
Error:
   Compiling leptonica-sys v0.4.4
error: failed to run custom build command for `leptonica-sys v0.4.4`

Caused by:
  process didn't exit successfully: `C:\Users\Windows10\Projects\Rust\cargo_target\debug\build\leptonica-sys-b0ac22be7bbc120f\build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=LEPTONICA_INCLUDE_PATH
  cargo:rerun-if-env-changed=LEPTONICA_LINK_PATHS
  cargo:rerun-if-env-changed=LEPTONICA_LINK_LIBS
  cargo:rustc-link-search=native=C:\Users\Windows10\Desktop\vcpkg\installed\x64-windows-static-md\lib
  cargo:rustc-link-lib=leptonica-1.83.1
  cargo:rustc-link-lib=zlib
  cargo:rustc-link-lib=tiff
  cargo:rustc-link-lib=lzma
  cargo:rustc-link-lib=jpeg
  cargo:rustc-link-lib=turbojpeg
  cargo:rustc-link-lib=openjp2
  cargo:rustc-link-lib=libwebpdecoder
  cargo:rustc-link-lib=libwebpdemux
  cargo:rustc-link-lib=libwebpmux
  cargo:rustc-link-lib=libwebp
  cargo:rustc-link-lib=libsharpyuv
  cargo:rustc-link-lib=libpng16
  cargo:rustc-link-lib=gif

  --- stderr
  C:\Users\Windows10\Desktop\vcpkg\installed\x64-windows-static-md\include\leptonica/environ.h:69:10: fatal error: 'stdatomic.h' file not found
  thread 'main' panicked at 'Unable to generate bindings: ClangDiagnostic("C:\\Users\\Windows10\\Desktop\\vcpkg\\installed\\x64-windows-static-md\\include\\leptonica/environ.h:69:10: fatal error: 'stdatomic.h' file not found\n")', C:\Users\Windows10\.cargo\registry\src\github.com-1ecc6299db9ec823\leptonica-sys-0.4.4\build.rs:87:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Hi,
I'm sorry you're having this build issue.
I'm going to transfer this issue to https://github.com/ccouzens/leptonica-sys/
I don't know much about vcpk and can't easily replicate Windows build issues.
It looks like this line is causing you issues:
https://github.com/DanBloomberg/leptonica/blob/1.83/src/environ.h#L69
stdatomic.h looks like it's usually provided by the c compiler. https://en.wikibooks.org/wiki/C_Programming/stdatomic.h
I don't suppose you can easily see if vcpk installed stdatomic.h for you. Possibly it's there, but not being picked up. Or maybe it wasn't installed by vcpk.

I'm going to transfer this issue to https://github.com/ccouzens/leptonica-sys/

I can't do this, because the projects are different users.

I'm going to transfer this issue to https://github.com/ccouzens/leptonica-sys/

I can't do this, because the projects are different users.

Should I recreate this issue into that repository?

Yes please, that would be helpful


Make sepearte folder for web Applications/ android applications

@viralvaghela Sir, Kindly make separate folder for web applications/Android applications so that we can upload our html+css+js files in the same folder, and for andoid we can upload the full project in same folder.

Sure! Thanks for the suggestion.


TypeError: 'float' object cannot be interpreted as an integer

The following code:
path_1=basepath+'TNG50-4'
ds_1=load(path_1)
snap_33=ds_1[33]
mask=snap_33.data["Subhalo"]["SubhaloGrNr"]==0
masses=snap_33.data["Subhalo"]["SubhaloMass"][mask]
most_massive_index=masses.argmax()

makes the following error message:
File ~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:342, in DaskMethodsMixin.compute(self, **kwargs)
    [318](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:318) def compute(self, **kwargs):
    [319](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:319)     """Compute this dask collection
    [320](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:320)
    [321](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:321)     This turns a lazy Dask collection into its in-memory equivalent.
   (...)
    [340](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:340)     dask.compute
    [341](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:341)     """
--> [342](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:342)     (result,) = compute(self, traverse=False, **kwargs)
    [343](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:343)     return result

File ~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:628, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    [625](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:625)     postcomputes.append(x.__dask_postcompute__())
    [627](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:627) with shorten_traceback():
--> [628](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:628)     results = schedule(dsk, keys, **kwargs)
    [630](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/base.py:630) return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])

File ~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/array/reductions.py:1121, in arg_chunk(func, argfunc, x, axis, offset_info)
...
-> [1121](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/array/reductions.py:1121)     arg[:] = np.ravel_multi_index(total_ind, total_shape)
   [1122](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/array/reductions.py:1122) else:
   [1123](https://vscode-remote+ssh-002dremote-002bvera1.vscode-resource.vscode-cdn.net/u/esroy/~/.local/envs/lyman_alpha/lib/python3.9/site-packages/dask/array/reductions.py:1123)     arg += offset_info

TypeError: 'float' object cannot be interpreted as an integer

Is this a bug in scida or am I doing something wrong?

Thanks for the bug report. I cannot reproduce the issue when running:
from scida import load

path_1='TNG50-4'
ds_1=load(path_1)
snap_33=ds_1[33]
mask=snap_33.data["Subhalo"]["SubhaloGrNr"]==0
masses=snap_33.data["Subhalo"]["SubhaloMass"][mask]
most_massive_index=masses.argmax()

Can you run this snippet again in a fresh session and post the following output?
import platform
from importlib.metadata import version
print("python version:", platform.python_version())
print("scida version:", version("scida"))
print("pint version:", version("pint"))

Can reproduce with
from scida import load

path_1='TNG50-4'
ds_1=load(path_1)
snap_33=ds_1[33]
mask=snap_33.data["Subhalo"]["SubhaloGrNr"]==0
masses=snap_33.data["Subhalo"]["SubhaloMass"][mask]
most_massive_index=masses.argmax()
most_massive_index.compute()

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[6], line 1
----> 1 most_massive_index.compute()

File ~/.local/envs/py312/lib/python3.12/site-packages/dask/base.py:376, in DaskMethodsMixin.compute(self, **kwargs)
    352 def compute(self, **kwargs):
    353     """Compute this dask collection
    354
    355     This turns a lazy Dask collection into its in-memory equivalent.
   (...)
    374     dask.compute
    375     """
--> 376     (result,) = compute(self, traverse=False, **kwargs)
    377     return result

File ~/.local/envs/py312/lib/python3.12/site-packages/dask/base.py:662, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    659     postcomputes.append(x.__dask_postcompute__())
    661 with shorten_traceback():
--> 662     results = schedule(dsk, keys, **kwargs)
    664 return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])

File ~/.local/envs/py312/lib/python3.12/site-packages/dask/array/reductions.py:1120, in arg_chunk(func, argfunc, x, axis, offset_info)
   1118     ind = np.unravel_index(arg.ravel()[0], x.shape)
   1119     total_ind = tuple(o + i for (o, i) in zip(offset, ind))
-> 1120     arg[:] = np.ravel_multi_index(total_ind, total_shape)
   1121 else:
   1122     arg += offset_info

TypeError: 'float' object cannot be interpreted as an integer
> /u/dnelson/.local/envs/py312/lib/python3.12/site-packages/dask/array/reductions.py(1120)arg_chunk()
   1118             ind = np.unravel_index(arg.ravel()[0], x.shape)
   1119             total_ind = tuple(o + i for (o, i) in zip(offset, ind))
-> 1120             arg[:] = np.ravel_multi_index(total_ind, total_shape)
   1121         else:
   1122             arg += offset_info

and
python version: 3.12.4
scida version: 0.3.2
pint version: 0.24.3
dask version: 2024.7.1

Thanks for the clarification. This appears to be unexpected behavior or a bug with dask. It occurs when first masking and subsequently searching for the argmax. A workaround in your specific case would be to convert the relatively small dask arrays into numpy arrays. I will raise the issue with the dask folks.

E   TypeError: 'float' object cannot be interpreted as an integer

<__array_function__ internals>:200: TypeError

with
python version: 3.10.10
dask version: 2023.12.1
numpy version: 1.24.4
and also with
python version: 3.12.4
dask version: 2024.7.1
numpy version: 1.26.4

Thinking about this more, not unlikely this is expected behavior for unknown shaped arrays. Particularly I wonder what the use case here might be here?
A likely workflow instead would be:
import dask.array as da
import numpy as np
float_arr = da.arange(1000, dtype=np.float32)
idx = float_arr.argmax()
idx = idx.compute()
assert idx == 999
mask = da.where(float_arr > 500)[0].compute()
float_arr_masked = float_arr[mask]
idx = float_arr_masked.argmax()
idx = idx.compute()
assert idx == 498

In order to use this index, I would expect that the masked array, and thus the mask, would need to be computed, again. This snippet here also saves this second computation.
What do you think?

@Eshna0106 can you confirm that changing the code, as above, would work for your use case? If so, we can close this issue.

I just checked, the above workflow works.
@cbyrohl the use case was that I was trying to compute the most massive subhalo of each group, compute their masses, find the most massive one amongst them, and compute the SubhaloSFRinHalfRad for that specific subhalo

Great to hear @Eshna0106 . Sorry that this is not exactly intuitive. As there's a workaround and this is probably dask related, I'll close this issue.


Versioneer for automated version numbering

https://github.com/warner/python-versioneer
The matplotlib release guide is a good step by step process (we should make our own doc like this): https://matplotlib.org/2.0.0/devel/release_guide.html
Closes: https://github.com/DeMarcoLab/fibsem/issues/31

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

In the file versioneer.py:

Line 564:35: W605 invalid escape sequence '\s'
Line 568:35: W605 invalid escape sequence '\s'
Line 572:35: W605 invalid escape sequence '\s'
Line 613:52: W605 invalid escape sequence '\d'
Line 689:33: W605 invalid escape sequence '\d'


Stress testing

I used a little modified noscl to stress test relay and wanted to test my implementations and got some broken pipes:
WARN nostr_rs_relay::server: IO error (cid: 3b36d2de, ip: "<IP_ADDRESS>"): Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Anyone got some stress testing working, some other tool I could use and check?
noscl: publish.go just do PublishEvent in loop.
Got Maximum concurrent subscription count reached, but changing max_subs limit didn't help.
0.8.2 version

Stress testing relays is challenging.  I've used artillery, but what you'll most likely find is that you end up benchmarking the benchmark tool, not the relay.  You'll probably want to ensure you have significantly more computational power available to the client/load tester than the relay (especially if your load tester is written in javascript - not sure about noscl).
If you are hitting max concurrent subscriptions, i'm pretty sure you've got some client that is opening subs, but not closing them.  If you can duplicate this not working though, let me know.
Broken pipes are most likely coming from a client that exited without cleanly shutting down.  Again, hard to diagnose without an isolated test case that shows where this is coming from.

Thanks for quick reply, will check artillery then, want to check if performance stays the same when using authorization client and my implementation of external event processing with grpc.


Refactor towards a PHPUnit test runner extension

Refactor towards a PHPUnit test runner extension, utilising the with PHPUnit 7.1.0 introduced hook interfaces.

Tag release v2.1.0 once PHPUnit 7.2.0 is released, as with this release it will be possible to configure PHPUnit extensions.


"az acr check-health" human readable helm version and error message

Issue: https://github.com/Azure/acr/issues/243

Display Helm version on the same line
Display human readable Helm version
Error message if Helm version < required version

Default behavior

New changes - Helm v2.14.1

New changes - Helm v2.10.999

New changes - Helm v1.200.400

New changes - If Helm version regex doesn't match, we display raw output

@ni-reis @sajayantony
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

Please send a PR to azure/azure-cli

@ni-reis the recommended changes have been pushed.


packages not overriding packageConfigPaths

Hi
Im having problems using firebase with systemJS because its main is the node version of firebase.
Im importing all my modules with packageConfigPaths and trying to override the main for firebase using packages.
defaultJSExtensions: true,
packageConfigPaths: [
  '/node_modules/*/package.json'
],
paths: {
        'rxjs/*': '/rxjs/*',
        'app/*': '/app/*',
        '*': '/node_modules/*'
      },
packages: {
  'firebase': {
    configured: true,
    main: './lib/firebase-web'
  }
}

But it's not working, the node version is still loaded.
This works when using systemJS-builder.

To debug, this check Object.keys(System.packages) to see that firebase is properly normalized into http://site.com/node_modules/firebase as the package name key.

Thank you, it turned out that I wasn't loading the config correctly. This config was never sent to systemJS.


Refactoring router error code unit tests and adding additional GetOperation unit tests

Introducing new helper methods to make tests that deal with setting
server error codes and testing router responses cleaner.
Made changes to DeleteManagerTest and GetBlobOperationTest to use
these methods.
Added unit tests to address todo test cases in GetBlobOperationTest

See issue #329
Coverage:

Element
Class %
Method %
Line %

GetBlobOperation
100% (1/1)
100% (10/10)
94% (54/57)

GetOperation
100% (1/1)
100% (10/10)
100% (26/26)

Time to review: 15-20 min.
Reviewers: @vgkholla, @pnarayanan

Done with a pass

Addressed comments in latest commit

@vgkholla @pnarayanan I have added a commit with additional unit tests that address the todos in GetBlobOperationTest.  I'm sorry for changing the scope of this PR, but these tests depend on some code added in this PR, so I felt like this was the best solution.

@cgtz sounds good. sorry to take this long to review - will prioritize this.

@cgtz: Looks good overall. We can get this merged once you address the comments.

@pnarayanan rebased and used the MockNetworkClient method we discussed for the receive chunks before reading test.

Minor comments. LGTM.

LGTM. Merging.


Support

Great library but noticeably lacking support for the  tag.

@schwiz Tell you what: if you get a BlinkSpan into the Android SDK, I'll add support for <blink> to the library. Deal? :-)

Deal. Opening a bug on AOSP now.
On Feb 14, 2015 6:51 AM, "Mark Murphy"<EMAIL_ADDRESS>wrote:

@schwiz https://github.com/schwiz Tell you what: if you get a BlinkSpan
into the Android SDK, I'll add support for  to the library. Deal?
:-)
—
Reply to this email directly or view it on GitHub
https://github.com/commonsguy/cwac-richtextutils/issues/1#issuecomment-74373847
.


Generate DB connection based on DB config

sysl-go's current DB codegen is hardcoded to produce a connection to an in-memory sqlite database with a hardcoded schema. This PR parameterises the codegen with DB config such that the connection created will be to the specified DB.

Dormant.


how can I use next in pm2 cluster mode?

You can combine the provided answer here https://github.com/zeit/next.js/issues/109 and then configure cluster mode :)

use next in pm2 cluster mode
not use next in pm2
I think it is another question

@zl810881283 it's all in the cli option:
https://keymetrics.io/2015/03/26/pm2-clustering-made-easy/
pm2 start app.js -i <NUM_CORES_AVAILABLE>


Forms: Contribute to BSSw & Contact

Clara,
You can refer to the WFs, pgs 28 and 33 for pages with submission forms. Both are the same. How should we proceed with these? Do you take the lead on these?

Are the form contents to be sent via email? I can set up forms if so (and text for the pages will be taken from the GitHub content).

That's the current plan. Any better idea? Just thinking aloud, but would there a way to feed form content to a Github vehicle? Like an issues list? If no an email would be fine. Probably<EMAIL_ADDRESS>I can check with Lois

That would be potentially doable but I'm not sure if it would be worthwhile -- let me know what you decide.

Are you saying it's time-consuming? Or just an odd request? If time consuming, are we talking more than 2-5 hours ? With that info I can discuss with Lois.

Time-consuming -- probably around 5 hours or a little more. Let me know what you think!

Hold off  for now.

OK -- should we go ahead with setting up the forms as described to email content to<EMAIL_ADDRESS>? Let me know, thanks.

Yes.

Contact form is set up!

Waiting on confirmation that forms are good to go!


Add a Rust server implementation

This adds a link to a Rust library for serialization, deserialization and working with JSON-API v1 data

Exciting to finally see a Rust implementation! Thanks @michiel 🎉

😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍 😍


Resources improvements for native macOS app

First commit fixes compose resources for native macOS app (see currently broken chat app using runDebugExecutableMacosArm64).
Second commit adds support for embedding resources into native macOS framework. Similar to how it works on iOS. This allows using the macOS compose code in an Xcode project. Just like iOS, using kotlin code as framwork. Then call the main function from the Xcode project to run the compose app.
Testing
First commit: run chat app using runDebugExecutableMacosArm64
Second commit: Tested by adding macOS support to the iOS Xcode project in chat app (not in this PR). Can add the sample app if needed.

@terrakok thanks a lot for your review! Thanks for helping me with reviewing some fixes for macOS issues so I can start using it in my app.
I added tests to the PR as you asked. However, the tests are failing on CI because they use an outdated snapshot of the resources library. For the tests to pass, they must use the latest version of the resources library. This is because there are changes in the resources library in order to support macOS. When forcing a local build of the library, it passes on my own mac:

Is there any way to fix this? Or is this expected to happen until the next compose snapshot is released with the changes of this PR?

I reverted the commit because

tests are failing

> Task :appModule:macosArm64Test FAILED

ComposeAppTest.checkApp[macosArm64] FAILED
    org.jetbrains.compose.resources.MissingResourceException at /Users/Konstantin.Tskhovrebov/Desktop/junit17706467430052708708/appModule/src/commonTest/kotlin/ComposeAppTest.kt:25

1 test completed, 1 failed
[Incubating] Problems report is available at: file:///Users/Konstantin.Tskhovrebov/Desktop/junit17706467430052708708/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

There is a problem with Skiko publication https://youtrack.jetbrains.com/issue/CMP-3859


Improve the raw data view for the measurement details pages

Currently it's being displayed like following:

We should consider how we can improve this.

I was suggesting displaying it in a new window so that you can have several of them open side by side.
@holantonela what do you think?


Clever Hans Imports all broken for me

Successfully downloaded the entire cleverhans directory using pip on Mac. Now, in mnist_tutorial_keras_tf.py all the 'from cleverhans.[]  import' statements are erring with "This inspection detects names that should resolve but don't.
Any advice to fix this would be awesome, thank you.

I see you closed the issue, did you fix it?


Can't install packages on pacman

After Arch WSL installation, I proceed with account creation. Then, I tried to install a package but this error occurs everytime:
error: failed retrieving file 'archlinux-keyring-20200108-1-any.pkg.tar.zst' from mirrors.kernel.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

Enviroment:

Windows build number: Microsoft Windows [Version 10.0.19041.329]
Security Software: Windows Defender
WSL version 1/2: 1
ArchWSL version <IP_ADDRESS>
ArchWSL Installer type clean appx

Sorry for noob question. It seems like I resolved it with pacman -Syu --debug


Verify trained/spec'd bonus math

Ask V and figure out how they worked. The emulators do them differently so also tell whoever's wrong.

From talking with Morosity too, I wrote on Discord:
Did some DM'ing with @Morosity (thanks!) and testing. The summary of the above is that it's right that specializing and training a skill at creation invested your first 5 (trained) or 10 (spec'd) points for free so trained skills, at creation, should cost 178xp and only be raisable 203 times (for a total of 208). Same logic applied to Spec'ing. None of this applied to skills trained or spec'd after creation: Untraining a spec'd skill after creation or increasing the training level after creation didn't afford the same bonus though the maximum base value is the same either way. @OptimShi @paradox @Hells sound about right?
So far as I can tell, everyone agrees with this.
Also:

JoAT looked like a buff. World aura looked affected your base.
I need to change the spec/train bonuses to be correct.

Closes in 5fa730f0372930bcd581b3878339a655702afb29

Dropping notes in here:
From Moro:

so pcaps from retail have the init for trained at 0
and spec at 10

if you train a skill at start, you only end up buying 203 points
if you train a skill post creation, you buy 208 points

and trained was given the first 5 point purchased while specced was given 10 point bonus

Moro says ACE gives a +5 trained bonus whereas GDLE doesn't.

new_char_enter_world_no_house.pcap.zip
Moro claims the above attached PCAP has the info backing this up. Check under it will be in the pcapsliveserver.7z

new_char_enter_world_no_house.pcap
under PCAP Part 3\Misc_User_Actions
look at the Player_Description_Event

For my own note, ACE did have an issue at some point in the past but it was fixed some time ago. So both emulator softwares should be implementing this the same now.


wsl is stuck on npm install

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

A brief description

When using npm install, the command line freeze, but wsl still answers. Per example, Ctrl+C produce a ^C on screen. Enter produce a new line.

Expected results

The command is ran.

Actual results (with terminal output if applicable)

It's not even possible for me to close the window, or to kill it from Task Manager (it doesn't show even in expanded view)
I can start a new wsl terminal, but it stays blank (but I can close this one), while it stays blank, a Microsoft Bash Launcher appears in Task Manager.

Your Windows build number

Build 15031.rs2_release.170204-1546

Steps / All commands required to reproduce the error from a brand new installation

Open terminal
cd into project with package.json
run npm install

Note also that the window is responding, I can't close it, but I can minimize it.

my exact same issue. when is next release?

It appears this and several other instability issues all come back to this core issue:
https://github.com/Microsoft/BashOnWindows/issues/1675
It's been tagged fix inbound, so hopefully the next release will resolve it. I've found only a full reboot gets WSL clean and running again after one of these crashes.

Marking as a duplicate of #1675.


Support for @minute shorthand

Shorthand @minute is now available to create schedule for running every minute:
let schedule = Schedule::from_str("@minute");
for datetime in schedule.upcoming(Local).take(10) {
    println!("-> {}", datetime);
}
// Output:
// -> 2019-05-29 15:52:00 +05:30
// -> 2019-05-29 15:53:00 +05:30
// -> 2019-05-29 15:54:00 +05:30
// -> 2019-05-29 15:55:00 +05:30
// -> 2019-05-29 15:56:00 +05:30
// -> 2019-05-29 15:57:00 +05:30
// -> 2019-05-29 15:58:00 +05:30
// -> 2019-05-29 15:59:00 +05:30
// -> 2019-05-29 16:00:00 +05:30
// -> 2019-05-29 16:01:00 +05:30

Hi, thanks for the PR. I'm not able to find any cron documentation that mentions a @minute shorthand. What platform/version are you using?
What what I've seen, the commonly mentioned variants* are:

@annually
@monthly
@weekly
@daily
@hourly
@reboot

Many of those are already non-standard. I'd like to avoid adding custom patterns to this implementation.
*Example sources:
https://help.ubuntu.com/community/CronHowto#Crontab_Lines
https://airflow.apache.org/scheduler.html#dag-runs
https://www.pantz.org/software/cron/croninfo.html

What was your motivation for adding
#[derive(Eq, PartialEq, Clone)]

to each struct?

Hi, thanks for the PR. I'm not able to find any cron documentation that mentions a @minute shorthand. What platform/version are you using?
What what I've seen, the commonly mentioned variants* are:
* `@annually`

* `@monthly`

* `@weekly`

* `@daily`

* `@hourly`

* `@reboot`

Many of those are already non-standard. I'd like to avoid adding custom patterns to this implementation.
*Example sources:
https://help.ubuntu.com/community/CronHowto#Crontab_Lines
https://airflow.apache.org/scheduler.html#dag-runs
https://www.pantz.org/software/cron/croninfo.html

It's not standard in the standard too. But it's just a common usage to schedule crons every minute that's why added it.


implement for html report

implement for html report

these changes need to be pulled to 3.0.8_snapshot branch


How to hide the textbox with the captcha response?

It isn't clear from the documentation how to suppress the display of the textarea that shows the captcha response code.

It looks like we had some css that was making the textarea visible.  Regardless, it seems like there should be an option to prevent the textarea from being created at all.


Adding an unmodified not new related object to a new object does not work

I reported this same issue to Propel1 (https://github.com/propelorm/Propel/issues/934) repository but since the same issue exists with propel2 I put this also here. The second example on page http://propelorm.org/documentation/04-relationships.html does not work. The book object's author_id column does not get the value of the authors id because when Author::addBook() is called they both are null and that's why book object doesn't get modified and saved when Author::save() is called. Here's a unit test to verify the issue.
public function testHomepageAuthorAddBookExample()
{

    AuthorQuery::create()->deleteAll();
    BookQuery::create()->deleteAll();

    // Example from http://propelorm.org/documentation/04-relationships.html
    // Taken on 12th December 2014

    $book = new Book();
    $book->setTitle("War & Peace");
    $book->save();

    $this->assertNotNull($book->getId(), "Book id must not be null after saving");
    $this->assertNull($book->getAuthorId(), "Book author id should be null at this point");

    $author = new Author();
    $author->setFirstName("Leo");
    $author->setLastName("Tolstoy");
    // associate the $book object with the current $author
    $author->addBook($book);
    $author->save();

    $this->assertNotNull($author->getId(), "Author id must not be null after saving");
    $this->assertNotNull($book->getAuthorId(), "Book author id should not be null after adding the book to author");
    $this->assertEquals($author->getId(), $book->getAuthorId(), "Book author id should match with the author id that the book was added to");

}

Tested with propel 2.0.0-dev on 11.12.2014 and mysql

Yes, this is a known limitation. This will be fixed with the data-mapper pull-request.


Data stops flowing into Influx

We have to regularly restart telegraf in order to keep data flowing.  Let's try the following:

[ ] Upgrade telegraf to 1.9.0 and re test. They've recently (Nov 18) made a change to mqtt consumer lifetime which will probably fix this
[ ] Otherwise, replace telegraf with a small hand-written service

From telegraf logs:
2018-10-05T02:28:56Z E! [outputs.influxdb]: when writing to [http://PI_HOST:8086]: Post http://PI_HOST:8086/write?db=INFLUX_DB: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2018-10-05T02:28:56Z E! Error writing to output [influxdb]: could not write any address
2018-10-05T02:29:05Z E! [outputs.influxdb]: when writing to [http://PI_HOST:8086]: Post http://PI_HOST:8086/write?db=INFLUX_DB: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018-10-05T02:29:05Z E! Error writing to output [influxdb]: could not write any address
2018-10-05T05:01:52Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-05T05:01:52Z I! MQTT Client Connected2018-10-05T02:28:56Z E! [outputs.influxdb]: when writing to [http://PI_HOST:8086]: Post http://PI_HOST:8086/write?db=INFLUX_DB: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2018-10-05T02:28:56Z E! Error writing to output [influxdb]: could not write any address
2018-10-05T02:29:05Z E! [outputs.influxdb]: when writing to [http://PI_HOST:8086]: Post http://PI_HOST:8086/write?db=INFLUX_DB: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2018-10-05T02:29:05Z E! Error writing to output [influxdb]: could not write any address
2018-10-05T05:01:52Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-05T05:01:52Z I! MQTT Client Connected

From influx logs:
[httpd] <IP_ADDRESS> - - [05/Oct/2018:05:05:00 +0000] "POST /write?db=INFLUX_DB HTTP/1.1" 204 0 "-" "telegraf" 35fb89be-c85c-11e8-8a21-000000000000 51631
[httpd] <IP_ADDRESS> - - [05/Oct/2018:05:05:10 +0000] "POST /write?db=INFLUX_DB HTTP/1.1" 204 0 "-" "telegraf" 3bf16686-c85c-11e8-8a22-000000000000 52104
[httpd] <IP_ADDRESS> - - [05/Oct/2018:05:05:20 +0000] "POST /write?db=INFLUX_DB HTTP/1.1" 204 0 "-" "telegraf" 41e747f8-c85c-11e8-8a23-000000000000 64768
ts=2018-10-05T05:15:20.309787Z lvl=info msg="Cache snapshot (start)" log_id=0AxG~9eW000 engine=tsm1 trace_id=0AxfGoTG000 op_name=tsm1_cache_snapshot op_event=start
ts=2018-10-05T05:15:20.373113Z lvl=info msg="Snapshot for path written" log_id=0AxG~9eW000 engine=tsm1 trace_id=0AxfGoTG000 op_name=tsm1_cache_snapshot path=/PATH/autogen/5 duration=63.462ms
ts=2018-10-05T05:15:20.373335Z lvl=info msg="Cache snapshot (end)" log_id=0AxG~9eW000 engine=tsm1 trace_id=0AxfGoTG000 op_name=tsm1_cache_snapshot op_event=end op_elapsed=63.597ms
ts=2018-10-05T05:23:48.630413Z lvl=info msg="Retention policy deletion check (start)" log_id=0AxG~9eW000 service=retention trace_id=0Axfkq5W000 op_name=retention_delete_check op_event=start

mosquitto image is probably the culprit?
Nothing interesting that we can see in the logs, but the mosquitto image sometimes becomes unresponsive.
docker-compose restart mosquitto won't necessarily work.
Even docker kill doesn't seem to take the image away.

Solved by PR #14

There's an issue with the telegraf setup.  This is separate from the MQTT breakdown which was observed in #13.
Here's an example of telegraf eventually not working:
2018-10-07T12:26:12Z I! Starting Telegraf v1.6.4
2018-10-07T12:26:12Z I! Loaded outputs: influxdb
2018-10-07T12:26:12Z I! Loaded inputs: inputs.mqtt_consumer
2018-10-07T12:26:12Z I! Tags enabled: host=2e633ad06088
2018-10-07T12:26:12Z I! Agent Config: Interval:10s, Quiet:false, Hostname:"2e633ad06088", Flush Interval:10s
2018-10-07T12:26:12Z I! MQTT Client Connected
2018-10-07T12:26:30Z E! [outputs.influxdb]: when writing to [http://yoururl:yourport]: Post http://yoururl:yourport/write?db=yourdb: EOF
2018-10-07T12:26:30Z E! Error writing to output [influxdb]: could not write any address
2018-10-07T17:54:23Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-07T17:54:23Z I! MQTT Client Connected
2018-10-07T21:26:33Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-07T21:26:33Z I! MQTT Client Connected
2018-10-08T05:57:44Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-08T05:57:44Z I! MQTT Client Connected
2018-10-08T06:32:54Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-08T06:32:54Z I! MQTT Client Connected
2018-10-08T20:07:06Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
error: pingresp not received, disconnecting
MQTT Client will try to reconnect
2018-10-08T20:07:06Z I! MQTT Client Connected

See https://github.com/influxdata/telegraf/issues/4594

I've been working around this in an inelegant way:
watch -n 14400 "docker-compose restart telegraf"

We haven't been restarting telegraf lately.  Also the problem hasn't shown up lately.  Would like to know why it was happening previously, but we may close this issue if we don't see any bad behavior over the next week, whether we have time to dig into the underlying cause for the previous failure mode or not.   ONWARD!

Spotted this a couple times is the last few days. Is there a new version of Telegraf we can use? If not, maybe we can write a small program that performs this same function on our behalf.

telegraf didn't receive pingresp
telegraf_1   | 2018-11-07T22:37:49Z E! Error in plugin [inputs.mqtt_consumer]: E! MQTT Connection lost
telegraf_1   | error: pingresp not received, disconnecting

Abandoning use of influx, entirely, for now 😈


Building the new course (and to see how this ZenHub thing works)

We need to schedule a time where the club can begin fabricating the new course. Can someone create a Doodle Poll/When Is Good so we can figure that out? I know people will be dispersing for exams and summer plans soon, so it may be good to get this out of the way.

Does this include getting together on a weekend at my place to build? If
so, I believe I can host any weekend after Memorial Day weekend. And just
like last time, I expect the team to have a Cut Plan ready to go prior to
showing up.
On Fri, Apr 22, 2016 at 2:34 PM, cdyoder<EMAIL_ADDRESS>wrote:

We need to schedule a time where the club can begin fabricating the new
course. Can someone create a Doodle Poll/When Is Good so we can figure that
out? I know people will be dispersing for exams and summer plans soon, so
it may be good to get this out of the way.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/IEEERobotics/bot/issues/475

Could everyone meet next Saturday, May 7th to build the course at @PaladinEng 's house?  It is the only day that works for Alwyn's schedule that also falls before I leave for the summer.
We can use some portion of the old course as building material, and the rest will need to be picked up from Home Depot or someones garage.  We will need to make the BOM by early next week/end of weekend.
Hope this time works for everyone, we need people to please respond to this thread if you can plan on coming and helping out.

May 7 is graduation
On Apr 29, 2016 4:12 PM, "SeanKetring"<EMAIL_ADDRESS>wrote:

Could everyone meet next Saturday, May 7th to build the course at
@PaladinEng https://github.com/PaladinEng 's house? It is the only day
that works for Alwyn's schedule that also falls before I leave for the
summer.
We can use some portion of the old course as building material, and the
rest will need to be picked up from Home Depot or someones garage. We will
need to make the BOM by early next week/end of weekend.
Hope this time works for everyone, we need people to please respond to
this thread if you can plan on coming and helping out.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/IEEERobotics/bot/issues/475#issuecomment-215867985

How about May 8th then?

I can help out this weekend

http://doodle.com/poll/ns92nsy64zn8wsse
Here is a google doodle, please respond with what times you're willing to go.

Ok so we had to sort through some issues (figuring out how to get our materials out of Troxler), and now have everything in HKN.
However we still have the problem of not having anywhere to store or set up the course.  The new course will have to be collapsable and modular.
Does anyone know of a good way to do all that?

https://drive.google.com/open?id=0B9PYEr43-RtKUXhoV2UwU3hIV1Ehttps://drive.google.com/open?id=0B9PYEr43-RtKUXhoV2UwU3hIV1E
I tried to export the SCAD to get dimensions but can't figure out how to use it.
But I exported it to other file types to see if any of those are useful. @cdyoder

I get a 404 Error when clicking the link about. Can anyone point me to the model in SCAD or otherwise on the drive?

Just for the record, the SCAD files and the course rules are located here on the drive. NOTE: This is only current as of 9/8/2016. Always check the Facebook page for updated rules. I'm working on the SCAD files now for course dimensions.
In other news, the light saber bit has a lot of electronics inside it (apparently). If there is someone who is itching for an electrical task, this would be good to start!


Rule for bind inside JSX

Is that possible to create rule that would throw warning on this code:
click me

And maybe suggest to do this:
 this.onClick(true)}>click me

But your suggestion is not better... It's actually pretty much the same thing.
A good alternative is to bind the function inside the constructor, or to use babel stage 0 and bind it like this:
class A {
   myBoundFunction = () => {
   }
}

Or use the autobind decorator: https://github.com/jayphelps/core-decorators.js#autobind
But I think a rule for this is a good idea.

Yeah, either of those are not ideal as they both create a new bound function on every single render call. Garbage collectors don't like that. I'd say that both of those patterns should be caught by a lint rule :stuck_out_tongue:
Maybe I'm old-school but I don't mind manually binding in the constructor (this._onClick = this._onClick.bind(this)). The autobind decorator @tleunen  linked to looks pretty fancy though.

For those having problems using core-decorators with Babel 6 you may still use the autobind decorator. I do not recommend using anything out of the Strawman proposal (Stage 0)


Component Page: IA / content organization improvements

Review and propose a new architecture for the content of each component's guidance.

[ ] Consider possible options for making dev vs. design guidance more clear.
[ ] Use a more user-focused approach.
[ ] Consider in-page indexing options.
[ ] Establish improved standard information scheme for each component in the system.

Deliverable: standard template for a component, including "design" and "develop" content.

closing because duplicate of #266

Primary use cases:
Design with Carbon
What exactly are we building?
Which components do I use?
How should those components behave?
How do they work with other components?
What are my options for styling them?
Code with Carbon
How do we build it?
What is the source JS?
What is configurable in code?
How do I configure this component?
What other things do I need to know while coding a UI with this component?

Here's some user feedback on this issue: #1850

Related issue: https://github.com/carbon-design-system/carbon-website/issues/266

Consolidating with a similar issue (266):
from Tyler:
As a product designer I can discover the usage and behavior guidance for a component so I can reference as I design and validate design decisions with developers.

Improve discoverability of Usage.
Add more usage and behavior guidance. "Usage is information that I can't get from the design kit"
Consider how the content will be shared between designer and developer. Anchor links, discoverability, clarity,  "Once we used (Carbon site) to check/validate in a meeting" "If we're fighting on stuff about something, I'll copy and paste code, or show them the React storybook."

from Shixie:
https://github.com/carbon-design-system/carbon-website/issues/266#issuecomment-461291534

v1 Sketch file: https://ibm.box.com/s/h73ifbv67z04oyzbcylj3jqdqelm8hd5


PDOC vs EBOK option

It's a little annoying to always ask to rate the book at the end, which doesn't happen with personal documents from Send to Kindle.

There's also been an issue going around where documents labeled as EBOK get deleted from devices by Amazon.

@Zappy86 I have seen the thread on MobileRead, but never experienced the issue myself with any files, including kcc files.


changed grove vqe import

The test-failure is unrelated to this change. Verified locally. Will merge.


Create bump_version rake task

Details
This works fine for newly Super Scaffold models:
> rails g model Project team:references title:string
> bin/super-scaffold crud Project Team title:text_field
> rails db:migrate

> rake bullet_train:api:bump_version
> bundle exec rails test test/controllers/api/v2/projects_controller_test.rb
🌱 Generating global seeds.
Run options: --seed 14932

# Running:

.....

Finished in 4.848087s, 1.0313 runs/s, 6.6005 assertions/s.
5 runs, 32 assertions, 0 failures, 0 errors, 0 skips

Bullet Train base functionality
However, some of the routes and controllers are in bullet_train-api which affect any new version's routing. For example, v1 is declared in bullet_train-api/config/routes.rb:
Rails.application.routes.draw do
  use_doorkeeper

  namespace :api do
    namespace :v1 do
      shallow do
        resources :users
        resources :teams do
          resources :invitations
          resources :memberships
          namespace :platform do
            resources :applications
          end
        end
      end
    end
  end
end

The following is in the API versioning docs:

In order to reduce the surface area of legacy API controllers that you're maintaining, it might make sense in some cases to have an older versioned API controller simply inherit from a newer version or the current version of the same API controller. For example, this might make sense for endpoints that you know didn't have breaking changes across API versions.

This specifically talks about an older version inheriting from a new version, but I'm hoping I can figure out a way to simply refer back to the previous version for new API versions.
A possible solution
Perhaps we can eject these files like we eject views from bullet_train-themes-light and update them to use the version we're bumping to.

@andrewculver
As stated above, newly super scaffolded models like Project will pass without a problem. However, there are still some caveats to work through concerning basic Bullet Train models like Team and TangibleThing.
I've decided to cut this PR as is because the logic to copy over the files is done. However, since the new API is still pretty new, I'm not sure if the test failures in the bumped version test files are something I need to fix on my side, or if it's something I should wait on while the foundation for the new API setup settles down. I tried ejecting some of the base controllers in bullet_train-api, but between that and the routes I couldn't quite get things working.
Test logs for reference

api/v2/users_controller_test.rb
Error:
Api::V2::UsersControllerTest#test_show:
ActionController::RoutingError: No route matches [GET] "/api/v2/users/323"
    test/controllers/api/v2/users_controller_test.rb:46:in `block in <class:UsersControllerTest>'

rails test test/controllers/api/v2/users_controller_test.rb:44

test/controllers/account/scaffolding/completely_concrete/tangible_things_controller_test.rb
Error:
Account::Scaffolding::CompletelyConcrete::TangibleThingsControllerTest#test_should_get_new:
NameError: uninitialized constant Api::V2::Scaffolding

      Object.const_get(camel_cased_word)
            ^^^^^^^^^^
    test/controllers/account/scaffolding/completely_concrete/tangible_things_controller_test.rb:25:in `block in <class:TangibleThingsControllerTest>'

rails test test/controllers/account/scaffolding/completely_concrete/tangible_things_controller_test.rb:24

api/v2/platform/access_tokens_controller_test.rb
class Api::V2::Platform::AccessTokensControllerTest < Api::Test
             ^^^^^^^^^^
Did you mean?  RUBY_PLATFORM
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/zeitwerk-2.6.0/lib/zeitwerk/kernel.rb:35:in `require'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/test_unit/runner.rb:47:in `block in load_tests'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/test_unit/runner.rb:47:in `each'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/test_unit/runner.rb:47:in `load_tests'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/test_unit/runner.rb:40:in `run'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands/test/test_command.rb:33:in `perform'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/command/base.rb:87:in `perform'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:48:in `invoke'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in `<main>'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from /home/gazayas/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from bin/rails:4:in `<main>'


improvement: 添加提交时转换换行符

Codecov Report

Merging #815 (14697ca) into v2.6.x_develop (62b4907) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           v2.6.x_develop     #815   +/-   ##
===============================================
  Coverage           61.19%   61.19%
===============================================
  Files                 461      461
  Lines               29262    29262
===============================================
  Hits                17908    17908
  Misses              11354    11354

Continue to review full report at Codecov.

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


feat: support LabelSelector type for NamespaceSelectors

What type of PR is this?

What this PR does / why we need it:
In the current configuration, the namespaceSelectors field under EnvoyGateway.Provider.Kubernetes.Wach only supports label selection using the key, similar to the Exists operator in LabelSelectorOperator.
The namespaceSelectors field can support a more comprehensive label-based selection, allowing you to specify both matchLabels and matchExpressions
namespaceSelectors:
  matchLabels:
    component: redis
  matchExpressions:
    - { key: tier, operator: In, values: [cache] }
    - { key: environment, operator: NotIn, values: [dev] }

https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#LabelSelector
Which issue(s) this PR fixes:

Fixes #2481

LGTM

EG use squash merge model, please kindly don't force push everytime for better review.

EG use squash merge model, please kindly don't force push everytime for better review.

I will pay attention to this.  Can you help me look at the coverage-test? thank

--- FAIL: TestNamespaceSelectorProvider (67.82s)
    kubernetes_test.go:1372:
        	Error Trace:	/home/runner/work/gateway/gateway/internal/provider/kubernetes/kubernetes_test.go:1372
        	Error:      	Condition never satisfied
        	Test:       	TestNamespaceSelectorProvider
2024-01-25T11:14:20.404Z	INFO	kubernetes/predicates.go:39	gatewayclass has matching controller name, processing	{"name": "test-gc"}
2024-01-25T11:14:20.404Z	INFO	kubernetes/predicates.go:43	bypassing reconciliation due to controller name	{"controller": "not.configured/controller"}
2024-01-25T11:14:20.406Z	DPANIC	kubernetes/predicates.go:123	non-string key argument passed to logging, ignoring all later arguments	{"invalid key": "not.configured/controller"}
2024-01-25T11:14:20.406Z	INFO	kubernetes/predicates.go:123	gatewayclass controller name
2024-01-25T11:14:20.406Z	INFO	kubernetes/predicates.go:124	gatewayclass name for gateway doesn't match configured name	{"namespace": "", "name": "scheduled-status-test"}
2024-01-25T11:14:20.407Z	DPANIC	kubernetes/predicates.go:123	non-string key argument passed to logging, ignoring all later arguments	{"invalid key": "not.configured/controller"}
2024-01-25T11:14:20.407Z	INFO	kubernetes/predicates.go:123	gatewayclass controller name
2024-01-25T11:14:20.407Z	INFO	kubernetes/predicates.go:124	gatewayclass name for gateway doesn't match configured name	{"namespace": "", "name": "scheduled-status-test"}
2024-01-25T11:14:20.417Z	INFO	kubernetes/routes.go:266	processing HTTPRoute	{"namespace": "test", "name": "test"}
2024-01-25T11:14:20.418Z	INFO	kubernetes/routes.go:266	processing HTTPRoute	{"namespace": "test", "name": "test"}
2024-01-25T11:14:20.418Z	INFO	kubernetes/routes.go:266	processing HTTPRoute	{"namespace": "test", "name": "test"}
2024-01-25T11:14:20.419Z	INFO	kubernetes/routes.go:137	processing GRPCRoute	{"namespace": "test", "name": "test"}

/retest

@shawnh2  done, thank!


question:

When I try using links like:
$.pjax.click('demo.html')
I get an error: TypeError: $.pjax is undefined
Could I be missing a lib? If not, what can be the reason?
Thanks

Because this is not a jquery plugin.

Thanks for your quick answer.
ups... OK :)
How can you do something like that on this lib?
Thanks

See docs.


Failed to attach remote debugee VM.

Unable to debug java azure functions with vs code.
Always getting the following error.

Could you please provide your version of Azure Functions Core Tools?

version is 2.0.1-beta.26
OS is windows 10

Please run rpm i -g azure-functions-core-tools@core to install the latest version. Beta.26 is out of date

Yes this was a bug specifically in version beta.26 of the func cli. The latest version is currently beta.28
Closing as fixed, but re-open if you still have problems after updating.

What is the latest version of core tools for ubuntu 16.04.
I am not able to run azure java functions locally after updating the pom for latest beta runtime.

@mathursharp Recently java function has a breaking change. Could you please try to install the latest version of function cli and try again. The latest version should be 2.0.1-beta.29
Reference: https://github.com/Azure/azure-functions-core-tools#linux

@jdneo  Thanks for the info.
But the problem is "sudo apt-get install azure-functions-core-tools" is always installing 2.0.1~beta.25-1 of core tools.

@mathursharp Did you follow the steps in the installation tutorial?
If apt-get still cannot help. Maybe you can try install it through npm:
npm i -g azure-functions-core-tools@core --unsafe-perm true


add wait of 1 second to initial ceda-cc checks

ceda-cc expects to write it's report to a file which is named using a time stamp, unfortunately it appears that if the ceda-cc code takes less than 1 second to run it tries to write a report to a file that already exists and fails.

https://github.com/cedadev/ceda-cc/issues/17
You can get a time stamp with millisecond resolution by using --blfms in the command line.


Support Cache Options.

See: https://github.com/GoogleChrome/sw-toolbox/issues/239
And: https://github.com/GoogleChrome/sw-toolbox/pull/240

It's already supported: https://github.com/GoogleChrome/sw-helpers/blob/master/packages/sw-runtime-caching/src/lib/request-wrapper.js#L55


fix: internal improvements

In this PR:

feat: improvements to routing part;
fix: update the root route when used as mounted Rack app;
deps: add tilt to the gemspec and update dependencies.

Superseded by other PRs.


ISPN-12828 Post start from security action

https://issues.redhat.com/browse/ISPN-12828
Fix for #12912. It should call postStart with a context to have permission to create the cache.

Seems it fixed the failing IT tests.


updates and astroicon

Getting a weird error when running npm run build
><EMAIL_ADDRESS>build
> astro build

Parse failure: Unexpected token (2:7)
At file: /node_modules/astro-icon/lib/Icon.astro
Contents of line 2: import load, { fallback, normalizeProps } from "/node_modules/astro-icon/lib/utils.ts";
Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
Parse failure: Unexpected token (2:7)
At file: /node_modules/astro-icon/lib/SpriteProvider.astro
Contents of line 2: import Spritesheet from "/node_modules/astro-icon/lib/Spritesheet.astro"
Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
8:12:59 PM [vite] Error when evaluating SSR module /node_modules/astro-icon/index.ts: failed to import "/node_modules/astro-icon/lib/Icon.astro"
|- Error: Parse failure: Unexpected token (2:7)
At file: /node_modules/astro-icon/lib/Icon.astro
Contents of line 2: import load, { fallback, normalizeProps } from "/node_modules/astro-icon/lib/utils.ts";
    at ssrTransformScript (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53776:15)
    at ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53751:12)
    at Object.ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:63307:20)
    at loadAndTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53422:24)

8:12:59 PM [vite] Error when evaluating SSR module /Users/grantbirkinbine/code/astrowind/astro.config.mjs: failed to import "/node_modules/astro-icon/index.ts"
|- Error: Parse failure: Unexpected token (2:7)
At file: /node_modules/astro-icon/lib/Icon.astro
Contents of line 2: import load, { fallback, normalizeProps } from "/node_modules/astro-icon/lib/utils.ts";
    at ssrTransformScript (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53776:15)
    at ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53751:12)
    at Object.ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:63307:20)
    at loadAndTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53422:24)

08:12:59 PM [astro] Unable to load /Users/grantbirkinbine/code/astrowind/astro.config.mjs

 error   Parse failure: Unexpected token (2:7)
  At file: /node_modules/astro-icon/lib/Icon.astro
  Contents of line 2: import load, { fallback, normalizeProps } from "/node_modules/astro-icon/lib/utils.ts";
Error: Parse failure: Unexpected token (2:7)
At file: /node_modules/astro-icon/lib/Icon.astro
Contents of line 2: import load, { fallback, normalizeProps } from "/node_modules/astro-icon/lib/utils.ts";
    at ssrTransformScript (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53776:15)
    at ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53751:12)
    at Object.ssrTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:63307:20)
    at loadAndTransform (file:///Users/grantbirkinbine/code/astrowind/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:53422:24)

 error   Cannot read properties of undefined (reading 'map')
  File:
    /Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/events/error.js:23:34
  Code:
    22 |     cliCommand: cmd,
    > 23 |     configErrorPaths: err.issues.map((issue) => issue.path.join("."))
         |                                  ^
      24 |   };
      25 |   return [{ eventName: EVENT_ERROR, payload }];
      26 | }
  Stacktrace:
TypeError: Cannot read properties of undefined (reading 'map')
    at eventConfigError (file:///Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/events/error.js:23:34)
    at handleConfigError (file:///Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/cli/index.js:81:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async file:///Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/cli/index.js:143:5
    at async runCommand (file:///Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/cli/index.js:137:76)
    at async cli (file:///Users/grantbirkinbine/code/astrowind/node_modules/astro/dist/cli/index.js:213:5)

.deploy

Great work! 👏🏼  Looks like the new version of astro-icon is working well. Glad to see it works well for color icons too! Should see a slight reduction in page size with the new version due to the deduplicating of the icon definitions.


Istio envoy local rate limiting doesn't work

I am applying a local rate limit like so:
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: detection-ratelimit
  namespace: istio-system
spec:
  workloadSelector:
  # select the workload to which the EnvoyFilter will be applied
    labels:
      app: detection-pose
      version: v1
      namespace: seldon-system
  configPatches:
    - applyTo: HTTP_FILTER  # apply the patch to the HTTP filter chain
      match:
        context: SIDECAR_INBOUND
        listener:
          filterChain:
            filter:
              name: 'envoy.filters.network.http_connection_manager'
      patch:
      # the actual configuration changes go here
        operation: INSERT_BEFORE  # insert rate limit at the top of the HTTP filter list
        value:
          name: envoy.filters.http.local_ratelimit
          typed_config:
            '@type': type.googleapis.com/udpa.type.v1.TypedStruct
            type_url: type.googleapis.com/envoy.extensions.filters.http.local_ratelimit.v3.LocalRateLimit
            value:
              stat_prefix: http_local_rate_limiter
              enable_x_ratelimit_headers: DRAFT_VERSION_03
              token_bucket:
                max_tokens: 10
                tokens_per_fill: 8
                fill_interval: 60s
              filter_enabled:
                runtime_key: local_rate_limit_enabled
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              filter_enforced:
                runtime_key: local_rate_limit_enforced
                default_value:
                  numerator: 100
                  denominator: HUNDRED
              response_headers_to_add:
                - append_action: APPEND_IF_EXISTS_OR_ADD
                  header:
                    key: x-rate-limited
                    value: TOO_MANY_REQUESTS
              status:
                code: BadRequest

The filter is not working. Meaning that I can do > 10 requests per minute. Istio injection for the namespace is enabled. Version:
client version: 1.13.4
control plane version: 1.17.0
data plane version: 1.17.0 (5 proxies)

I am not so familiar with istio. Any pointers would be highly appreciated!

can you check the config_dump, istioctl pc all <target_pod_name> -n <target_namespace>

also, check if there is anything STALE in istioctl ps, a STALE entry could prevent envoy from receiving up-to-date XDS

Thanks for the answers. No, nothing is stale.
What exactly should I check in the config_dump? I do not see any rate limit actually. But then kubectl describe envoyfilter <pod> -n <namespace> shows the rate limit.


Conditional types infer gets wrong type if it inferred from union type

TypeScript Version:  3.9.0-dev.20200330

Search Terms: infer function union conditional types
Code
interface A {
  test: never
}

type PropType<T> =
  | { new(...args: any[]): T & object }
  | { new(...args: string[]): Function }

type ExtractProp<P extends PropType<any>> = P extends PropType<infer T> ? T : never

type Res = ExtractProp<PropType<A>> // Function | A

Expected behavior:
Res is of type A
Actual behavior:
Res is of type Function | A
Playground Link:
https://www.typescriptlang.org/play/?ssl=12&ssc=1&pln=1&pc=1#code/JYOwLgpgTgZghgYwgAgILIN4FgBQzmQDOYAXMiBAG7S4C+uuYAngA4oAKUA9iwCqsQAPLwB8yALzJc+AD6ZyEAO4AKAHTq4UAOaEycEEwDaAXQCUZXsgBkyLgCMAVhARhk9PMjkYFK9as06ZMRQoFom5sgAYgCuIC7AXCBuDDjMbMgAogAeYFCIYJw8guzIEDkQIAAmhMiFfAKC+kwiYpIlZZBVNXX8bIKgMNDIosgA-MPIZBTUUClpKABKEDWS2bn5dcXc9X2oLcgA9AdRsfGJnmi4QA
Related Issues:
https://github.com/vuejs/composition-api/issues/291
Background:
In Vue.js, we annotate props by using built in PropType. Since PropType accepts any constructors, we have all possible cases in it as union type. (e.g. new(...args: any[]): T & object is for user defined class constructor, new(...args: string[]): Function is for Function constructor)
To use the props type, we need to extract actual type from PropType generics (ExtractProp in reproduction). We want to extract type A if the constructor type is of PropType<A>. But the actual behavior is Function | A.
I also found if I pass PropType via another object type, it infers correctly.
https://www.typescriptlang.org/play/#code/JYOwLgpgTgZghgYwgAgILIN4FgBQzmQDOYAXMiBAG7S4C+uuYAngA4oAKUA9iwCqsQAPLwB8yALzJc+AD6ZyEAO4AKAHTq4UAOaEycEEwDaAXQCUZXsgBkyLgCMAVhARhk9PMjkYFK9as06ZMRQoFom5sgAYgCuIC7AXCBuDDjMbMgAogAeYFCIYJw8guxikuzIEDkQIAAmhPJpEGSFfAKCoDDQyKJuyAD83chkFNRQKY3IAEoQ9ZLZufktgt6NzdytbIKoYrRiAPR7aLhAA

It sounds like you don't want this conditional type to be distributive, so you should write
type ExtractProp<P extends PropType<any>> = [P] extends [PropType<infer T>] ? T : never

Ah, I forgot about distribution of conditional types. Thank you for providing the code!
Although the original issue is solved by avoiding distribution, I'm still not sure why Function comes in the result type as the inferred type parameter T is not relevant type of Function and Function part of PropType does not include type parameter T. Would you mind telling me how type inference works under the hood in this case?


2/25 Publish

Docs Build status updates of commit 757b215:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning
View
Details

rd/map.yml
:warning:Warning
View
Details

rd/andreas-erben.yml
:white_check_mark:Succeeded
View

rd/media/profiles/andreas-erben.jpg
:white_check_mark:Succeeded
View

rd/toc.yml
:white_check_mark:Succeeded
View

rd/index.yml

Line 14, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 16, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 18, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

rd/map.yml

Line 15, Column 8: [Warning-file-not-found] Invalid file link: './map'.
Line 17, Column 8: [Warning-file-not-found] Invalid file link: './about'.
Line 19, Column 8: [Warning-file-not-found] Invalid file link: './CodeOfConduct'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


chore: Bump logging version to fix example

Please provide the issue number

Issue number: #300
Summary
Idempotency example failing due to old Logging version
Changes
Update Logging version

Please provide a summary of what's being changed

User experience

Please share what the user experience looks like before and after this change

Checklist
Please leave checklist items unchecked if they do not apply to your change.

[x] Meets tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[ ] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Codecov Report
Patch coverage has no change and project coverage change: +0.02 :tada:

Comparison is base (f397e70) 69.16% compared to head (51c64f1) 69.19%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #320      +/-   ##
===========================================
+ Coverage    69.16%   69.19%   +0.02%
===========================================
  Files           79       79
  Lines         3464     3464
===========================================
+ Hits          2396     2397       +1
+ Misses        1068     1067       -1

Flag
Coverage Δ

unittests
69.19% <ø> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

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


Fix and test the options UI

Currently, the user can only subscribe to one remote list via the options UI:

While the code for changing this value seems to work, I haven't tested it for robustness. And eventually, we want to support multiple lists. Check #8  Here is how uBlock does it:

Current UI works, but it will have to change when we implement #8 for subscribing to multiple lists.


__getattr__ needs to be ignored during operator availability checks

Environment data

Language Server version: 2021.5.1
OS and version: Windows 7
Python version (& distribution if applicable, e.g. Anaconda): 3.8.8 Anaconda

Sample
class C:
    def __getattr__(self, name: str, /):
        if name == "__add__":
            return lambda _: 0

a = C()
a.__add__  # Implied type: (_: Unknown) -> Literal[0] | None

b = a + 0  # Implied type: Literal[0]

Expected behavior
The last line should be forbidden.
The internal logic of built-in operators / wrapper methods (for example: len(...)) calls the method defined on the class but not the instance, so __getattr__ will not work.
If you run the sample, you will probably get

TypeError: unsupported operand type(s) for +: 'C' and 'int'

on the last line.
Actual behavior
No errors reported.

Thanks for the bug report. This will be addressed in the next release.

This issue has been fixed in version 2021.5.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202153-19-may-2021


javascript 'bind' and 'let' functions/statements are not supported across all browse...

javascript 'bind' and 'let' functions/statements are not supported across all browsers, and are critical in recursive environments for straightening out closures and function objects.  A support table would be helpful!

This issue was imported from Google Moderator
Moderator votes: +3
Issue added by themolecule on 2012-02-15
To vote this issue up or down, simply include +1 or -1 in your comment.

http://kangax.github.io/compat-table/es5/#Function.prototype.bind
http://kangax.github.io/compat-table/es6/#let

+1
I think const also belongs in this list.

+1

+1

bind is part of http://caniuse.com/#feat=es5 so removing it from this list.

I’m looking into making a pull request to add these soon.

+1

let available at http://caniuse.com/#feat=let
const now available at http://caniuse.com/#feat=const


add websocket mode to Upgrader , add new func UpgradeMode

add websocket mode to Upgrader ,
add new func UpgradeMode  for  binary mode, to make sure javascript websocket support flatbuffers decode via arraybuffers
change github.com/dgrr/fasthttprouter  to github.com/fasthttp/router
refactor example , add token example

I rather prefer you to do this pull request to the main repo. Can you? And then we can make this fork to be even with the parent.

I rather prefer you to do this pull request to the main repo. Can you? And then we can make this fork to be even with the parent.

OK,  I do it.


Add redpen-plugin module in .slugignore

Fix the following error deploying RedPen to Heroku.
-----> Compressing...
 !     Compiled slug size: 555.9M is too large (max is 500M).
 !     See: http://devcenter.heroku.com/articles/slug-size
 !     Push failed

Coverage remained the same at 91.13% when pulling 5e571d90fb9248c6ae911f553b7b45c5a13400ff on takahi-i:reduce-slug-size into b8846bac54e5167a5dd684f34a0cf2293d22eb81 on redpen-cc:master.


⚠ SkipTheCommericals has degraded performance

In 223ebb8, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1683 ms

Resolved: SkipTheCommericals performance has improved in ccb8e5f.


outputChannelCount not working when I inherit from AudioWorkletProcessor

Hi, I am facing this issue, trying out the example in the WamExample folder. The example passes the outputChannelCount: [2] with the  options to the processor which is then passed to the actual AudioWorkletProcessor via the super call to the parent class.
This doesn't work on my system in any browser, I always have a channel count of 1 ... I also just tried a minimal example:
The following code doesn't work.
// processor.js
class Processor extends AudioWorkletProcessor {
    constructor() {
        super({outputChannelCount: [2]});
    }

    process(inputs, outputs, parameters) {
        console.log("output channels: ", outputs[0].length);
        return true;
    }
}

registerProcessor('processor', Processor);

But when I leave the options in the Processor class out like:
// processor.js
class Processor extends AudioWorkletProcessor {
    constructor() {
        super();
    }

    process(inputs, outputs, parameters) {
        console.log("output channels: ", outputs[0].length);
        return true;
    }
}

registerProcessor('processor', Processor);

and pass the options to the AudioWorkletNode instead
// app.js
let audioContext = new AudioContext();
(async () => {
    await audioContext.audioWorklet.addModule('processor.js');
    audioWorkletNode = new AudioWorkletNode(audioContext, 'processor', {outputChannelCount: [2]});
    audioWorkletNode.connect(audioContext.destination);
})();

it works and I get my 2 channels now.
So passing options in the class that inherits from AudioWorkletProcessor doesn't seem to work anymore? Is this a bug in the Web Audio API or is there something that I am missing from the specification?

see also this https://stackoverflow.com/questions/72346766/web-audio-api-outputchannelcount-not-working-when-i-inherit-from-audioworkletpr/72353776#72353776

Anyway,... whatever is wrong with my code above, the real cause seems to be either in WamExampleNode.js or WamExampleProcessor.js..
To fix it on my side it is enough to rewrite the following in WamExampleNode.js
options.processorOptions = {
	numberOfInputs: 1,
	numberOfOutputs: 1,
	outputChannelCount: [2],
	useSab: true,
};
super(module, options);

to
options.outputChannelCount = [2];
options.processorOptions = {
	numberOfInputs: 1,
	numberOfOutputs: 1,
	outputChannelCount: [2],
	useSab: true,
};
super(module, options);

Thanks @KnappSas,
I think it should be a misplacement of some options.
options.numberOfInputs = 1;
options.numberOfOutputs = 1;
options.outputChannelCount = [2];
options.processorOptions = { useSab: true };
super(module, options);

@owengc  Is this what we need?

I see you removed the options from the ctor-call in WamProcessor in the sdk. This was also discussed here: https://github.com/WebAudio/web-audio-api/issues/2491
So this thread can be closed then.


SR-2100 - Add support for multi-lib systems

SR-2100 - Add support for multi-lib systems
Create a new "libdir" build option for the parser in build-script.py, so Linux distributions
that uses lib64 folder instead of lib for 64-bit libraries, like Fedora, could install Swift
without the need for patches.

@swift-ci please test

Note that with #214 this shouldn't be needed as CMake can handle the lib vs lib64 structuring.

@compnerd That's true! But it is not so automatic. I will take a peek at #214 and test it here to see how it behaves. If it is ok, i believe that going toward cmake is a better option than this one to handle multi-lib systems on Linux and i will close this pull request.

The Swift project moved the default branch to main and deleted master branch, so GitHub automatically closed the PR. Please rebase on top of the main and we can reopen.
More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412


[SPARK-27699][SQL] Partially push down disjunctive predicated in Parquet/ORC

Cherry pick of https://github.com/apache/spark/pull/24598/files
Upstream SPARK-XXXXX ticket and PR link (if not applicable, explain)
SPARK-27699
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Do you still want to merge this?


Enable strictNullCheck in merge-tree

Goal is not changing the code too much that my introduce regression.
So remove the most rest of error by using null assertion.
We can continue to clean that up as we continue to evolve the code.

Related to #2358


expression in findOne

this cases not work:
City::findOne(['=', new Expression('LOWER(`name`)'), strtolower($name)]);
City::findOne(['and', ['=', new Expression('LOWER(`name`)'), strtolower($name)]]);

this work fine:
City::find()->andWhere(['=', new Expression('LOWER(`name`)'), strtolower($name)])->one();

http://www.yiiframework.com/doc-2.0/yii-db-baseactiverecord.html#findOne()-detail

The method accepts:

a scalar value (integer or string): query by a single primary key value and return the corresponding record (or null if not found).
a non-associative array: query by a list of primary key values and return the first record (or null if not found).
an associative array of name-value pairs: query by a set of attribute values and return a single record matching all of them (or null if not found). Note that ['id' => 1, 2] is treated as a non-associative array.


fix finding libanl (missing pthread)

Still does not work:
-- Performing Test HAVE_GETADDRINFO_A
-- Performing Test HAVE_GETADDRINFO_A - Failed


Cred store improvements

Placing this issue here so that I don't forget about it.

Whenever we detect that a user's password and NTLM hash differ from what is already stored, we shove these new creds into an extras list. Right now, we don't do any checking on if we've already stored the extra password so we get a bunch of duplicated ones in subsequent password retrievals.

A credential's key is identified by a combination of a username and a domain. At the moment, we don't check against keys of domain_info when adding new creds to the store. This leads to a situation where we could have (domain.full.fqdn.com, username) and (domain, username) and these would be displayed as different accounts. Fix for this would be to check the domain against domain_info keys before creating a new cred. In the case where enum_domain_info is run after the fact, we need to trim down the cred_store to remove these duplications. Ideally, this would happen after execution of an enum_domain_info job. Made a pull for this, but haven't done extensive testing yet.

Someone brought up the idea of having the option to sort the cred store on specific columns. The only columns which I believe benefit from this would be the username and IP columns. Sorting on domain, password, or hash are useless. But whatever, it's a lot easier to implement sorting on whatever you want.

Retrieving full cred details by Cred ID. I originally added Cred ID for the purposes of pivot modules and possible future exploit modules, but it also just makes sense to retrieve details by ID as well.

Searching for cred details via LIKE functionality. Typing out full usernames is a pain and it may be beneficial to just find users with "admin" in their name.

I may update this issue with more ideas in the future. I'll cross off items as I get around to them and this issue may even close at some point. If I think of new ideas, I'll reopen.

Knocked all these out today because I was bored.


Implement command to update archetypes

For this time this command must just re-fetch archetypes and update cache.
In the future it will check versions and validate versions hash

For this implementation this command must do:

fetch all archetypes to a temporary directory
validate each archetype
generate warning for invalid archetypes
for each valid archetype remove directory with old version and move temporary directory to a storage


Fix requests to docker registry

Seems like official images on dockerhub need a "library/" prefix now. Unofficial images however do not.


Local destination file locked up when downloading a non existing file from remote source.

Local destination file was locked up because the output stream was not disposed properly.
FtpClient.cs line 2125
			// download the file straight to a file stream
			bool ok = DownloadFileInternal(remotePath, outStream);

			// close the file stream
			try {
				outStream.Dispose();
			} catch (Exception) { }
			return ok;

The non existing remote file caused DownloadFileInternal to throw an exception, which was not caught in DownloadFileToFile method, hence, the outStream skipped the dispose call, which locked up the local destination file.
Suggestion:
            using (outStream)
            {
                // download the file straight to a file stream
                return DownloadFileInternal(remotePath, outStream);
            }

outStream would never be NULL since it was assigned at line 2113, so it is safe to wrap outStream with using clause.
I also found the same pattern at the following lines:
line 2014
			// write the file onto the server
			bool ok = UploadFileInternal(fileStream, remotePath, createRemoteDir);

			// close the file stream
			try {
				fileStream.Dispose();
			} catch (Exception) { }
			return ok;
		}

could be refactored to
            using (fileStream)
            {
                // write the file onto the server
                return UploadFileInternal(fileStream, remotePath, createRemoteDir);
            }

line 2049
			// write the file onto the server
			MemoryStream ms = new MemoryStream(fileData);
			ms.Position = 0;
			bool ok = UploadFileInternal(ms, remotePath, createRemoteDir);
			ms.Dispose();
			return ok;

could be refactored to
            // write the file onto the server
            using (MemoryStream ms = new MemoryStream(fileData))
            {
                ms.Position = 0;
                return UploadFileInternal(ms, remotePath, createRemoteDir);
            }

Thank you for this suggestion. I'll implement it shortly.

Fixed in 16.4.1.

Thanks for the update.


Added more GZIP compressable MIME types

The MIME type list for what can be compressed is a bit basic. There are several other formats which can be compressed, including images and font file formats.

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

Please open an issue with the recommended types and justifications for each. This was intentionally not an exhaustive list to start with. Everybody is going to have their own types they want and we don't want to maintain a huge list, only types that more than 50-80% of apps will use.
What did you think of the API for adding your own types in Startup?
https://github.com/aspnet/BasicMiddleware/blob/dev/samples/ResponseCompressionSample/Startup.cs#L28

What did you think of the API for adding your own types in Startup?
https://github.com/aspnet/BasicMiddleware/blob/dev/samples/ResponseCompressionSample/Startup.cs#L28

That API is pretty awful. Especially because of the lack of append... Though even with append it's strange to use IEnumerable<T> that way. Why isn't the list mutable (like MVC's model binders)

Agreed that a mutable collection would have been more natural, it's what I instinctively looked for but looking at the source found it to be an array. I've raised this https://github.com/aspnet/BasicMiddleware/issues/182 issue with my justifications for each MIME type.

Mutable collections can't be added to in inline constructors.

@glennc will be considering the work required and will use https://github.com/aspnet/BasicMiddleware/issues/182 to track the work.
Closing this one. Thanks @RehanSaeed!