No video stream: iOS (web) --> UWP

Hello,
I'm currently trying to get a video/audio connection working with a JS-WebRTC client and a UWP client based on this framework. Everthing works great with Desktop/Android (Chrome), but iOS (Safari) is causing issues. The iOS client doesn't transmit video to the UWP client. Audio and DataChannels work fine in any case.
I don't think Safari is the culprit since iOS to Android/Desktop (Chrome) works fine aswell. I'm using iOS 13.3 which should support H264 and VP8, but none of the codecs allowed me to see the iPhone camera's feed on the UWP client.
I'm not sure what causes this.  But even if I force H264 or VP8 by setting _nativePeer.PreferredVideoCodec the behaviour stays the same. In a call with an iOS client, the VideoFrameReady events never fire. TrackAdded is called for both audio and video though.
I'm using a build based on master branch back from february, but I also tried the most recent master commit today, but that didn't seem to change anything.
Switching the caller/callee around so the UWP client sends the offers didn't change anything either.
There's an issue on the uwp-webrtc repo describing a similar problem (https://github.com/webrtc-uwp/webrtc-uwp-sdk/issues/190). It was solved by using 2 separate connections per client, but I'm not too keen on completely changing my working setup... unless I really have to.
Any ideas what might be wrong here? Anyone ever got a Safari <-> UWP WebRTC connection running?

Hi @cy238,
We don't officially support iOS (yet) so I have little experience with it.
Looking at the offer/answer messages, they all contain a=sendrecv so this looks all good. The only thing I see is that Android/UWP negotiates VP8, while iOS/UWP negotiates H.264. But using PreferredVideoCodec should change that as you mentioned. Can you just confirm that when using PreferredVideoCodec="VP8" then the offer/answer SDP messages only contain VP8 please? To be sure the setting is actually taken into account. But I see VP8 in the iOS offer so I'm pretty sure it's supported.
Beyond that, iOS/UWP is negotiating a particular H.264 profile (profile-level-id=42e01f; Constrained Baseline according to Table 5 of the RTP profile RFC), but that seems fine. The only difference seems to be that the iOS offer contains level-asymmetry-allowed=1 but the UWP answer doesn't; no idea if that has any effect though.
This sounds like a compatibility issue, and we never tested that with iOS, so I'm afraid the only way to figure out would be to look at the webrtc.lib logs in the Output window of Visual Studio. When you launch your app with the debugger attached, in Debug config (only) webrtc.lib should spew a ton of logs about what it's doing, and hopefully we can spot an error there.

Hi @djee-ms,
thanks for your answer. It took me a while to get back to this topic, sorry.
Setting PreferredVideoCodec does indeed change the SDPs to include only the selected codec.
I made another set of tests in Debug config. Here are the logs:
Log: UWP -> Android
Log: UWP -> iOS
(unfortunately thanks to multithreading you can't get a really clean diff between the two files, but that's the cleanest I could manage)
Testing was done on a local network, so all the STUN/TURN related stuff can probably be ignored. The connection was established in both cases. Everything but the iOS video worked perfectly.
I'm very unfamiliar with the webtc.lib debug output, so I'm not quite sure what to look for. At first glance I couldn't find anything that'd help me figure out what's going wrong with the iOS video...

Not sure what's happening. To summarize what we know:

iOS supports VP8 : https://webkit.org/blog/8672/on-the-road-to-webrtc-1-0-including-vp8/
The codec is VP8 for both Android and iOS
The video track is received (TrackAdded)
Audio and data work fine.

It seems something goes wrong between adding the track and dispatching the video frame callback, either because there's no video data received (firewall?) or because there's a bug that prevent raising the event.
Can you please try to capture a trace with Windows Performance Recorder (download link is first link on that page) and the profile Microsoft.MixedReality.WebRTC.wprp found in tools/tracing/? This might capture something that we don't see in the logs. I have no other idea for now, sorry.

Quick update on this: I just added some stat tracking to the JS-WebRTC side (using RTCPeerConnection.getStats()) and noticed that video frames get transmitted correctly. The UWP client also receives data (according to Windows' resmon.exe). Looks like it's just a matter of handling the frames on UWP's end.
I'll dig deeper and use the performance recorder tomorrow/on friday.

As expected PeerConnection.Peer.I420ARemoteVideoFrameReady is never called eventhough the iOS side sends frames. Not quite sure where exactly the data is received in the lib.
Also I didn't have much success using Windows Performance Recorder. I used debug builds of the lib (not sure if that's even necessary) but there doesn't seem to be any WebRTC related logging.
Did I mess up somewhere in the WMR settings?

00AEE89E-B531-4F20-A2C5-D02F37CB6AA1 is the WebRTC profile; I have yet to understand why sometimes WPA doesn't find its name and instead use the GUID, sorry about that bug. What event can you observe from that series? I see some purple bar, but I can't see the details.

Well... uhm...

I can upload the full log if you want, but there doesn't seem to be anything in there...

I think you're missing the PDBs so even with the trace profile it's not enough for WPA to display anything meaningful unfortunately.
I've re-read in details through the entire UWP -> iOS log, and some things look strange:

UWP sends an offer to iOS and gets an answer, starts sending/receiving, then immediately gets a new offer from iOS even though the connection is established and it doesn't look like there's any reason to negotiate anything a second time. There seem to be only 7 frames decoded between the answer and new offer being received:
Frames decoded 7
At 30 fps, that's 0.23 second of video only. This is very short.
At the same time, the remote video decoder is stopped, which makes sense since the first session is terminated, and the second one is about to start.
(video_receive_stream.cc:477): No decodable frame in 3000 ms, requesting keyframe.
(probe_controller.cc:250): Detected big bandwidth drop, start probing.
After that video restarts for the second session. Then video continues to be received:
(webrtcvideoengine.cc:2524): VideoReceiveStream stats:<PHONE_NUMBER>150, {ssrc:<PHONE_NUMBER>, total_bps: 1521480, width: 640, height: 480, key: 8, delta: 1239, network_fps: 30, decode_fps: 30, render_fps: 30, decode_ms: 3, ...
Next video shut downs after about 38 seconds worth of decoded video:
Frames decoded 1135

So it is strange but the implementation definitely receives and decodes some video frames. I have no idea why the callback is not called though, if those frames are indeed received.
Note that the UWP -> Android also has the same double session negotiation. It would be interesting I think to understand why this happens, because there's always a possibility that we have a bug and don't handle correctly this extremely quick change of sessions.

Hi @djee-ms,
thanks for the analysis of those huge logs.
The double negotiation is due to a quirk in our signalling logic. Both clients just keep sending offers (and answers to them) until they're fully connected, in case an sdp message gets dropped. Obviously not the cleanest way, but it doesn't seem to break anything.
I disabled that part for my testing now though. The iOS video still does not show up on UWP, eventhough there's no longer a quick stream restart.
I couldn't find any big differences in the logs (except for the missing 2nd negotiation), but in case it helps:
Log: UWP -> Android
Log: UWP->iOS
As for the WPA output: I couldn't get any visible data even with the PDB files included. I enabled Copy PDB files, Development Build and Script Debugging in the Unity build dialog and ran the VS solution in Debug configuration. I also confirmed that the PDB files do actually get copied to the VS project. Any idea where I messed up?

Hello cy238,
I'm facing a similar issue as yours. Were you able to fix this ?


Add ability to generate and copy views and templates into the application

I had a need to customize the default registration views (by adding additional user fields) and needed a way to copy the views/templates into my application as a result.
This copies sentinel views and templates into the application for a given context using mix sentinel.gen.views user. Available values are "email", "error", "password", "session", "shared", and "user". To support this, all views have been parameterized and added to Config.views. Once a given view (and templates) has been copied to the application, the view must be specified in config.exs using the views key:
config :sentinel,
  views: %{user: MyApp.Web.UserView}

Just pushed a commit to make these generators compatible with phoenix <= 1.2 🕺

I tested this branch in my pheonix 1.2 application and it's working as expected.
I just updated the views config in my application to corresponding modules.

Fixed a bug with the password view generation and updated README (hat tip to @rrevanth). I don't have anything else pending here, so let me know if you catch anything @britton-jb. 🕵

I'll take some time to review this (and the other PRs) one more time tonight, but I really appreciate the work you've done, and @rrevanth for testing.

Updated this with latest master 👍

Sorry this one is taking me longer to get to, but thanks again for all of the other work you've done so far.

No worries! I working with this locally so no rush on my end.

Is there anything I can do to help this get merged?

This one is actually good, and upon reflection I should have just merged it in already. I just have bit more I want to do on my side before I release a new version of Sentinel to Hex with these breaking API changes.
Sorry about the delays.

No worries. Let me know if there's anything I can help with whether it be this PR or elsewhere. 🙌


Question: what is role.Unknown?

On page https://entgo.io/docs/schema-fields/#go-type I found this code:

What is role.Unknown?
Also is the documentation correct? As of 0.9 enumBuilder requires EnumValues interface to be implemented for GoType, but as I guess role.Unknown is some kind of string enum

Hey @maxifom, role.Unknown represents a const with a type that implements the EnumValues interface. It can be a based on a string as you said, but the point is that it still implements the EnumValues interface.
An example of such type can be the following:
const (
	Unknown Role = "UNKNOWN"
	Admin   Role = "ADMIN"
	Owner   Role = "OWNER"
	User    Role = "USER"
	Read    Role = "READ"
	Write   Role = "WRITE"
)

func (Role) Values() (roles []string) {
	for _, r := range []Role{Admin, Owner, User, Read, Write, Unknown} {
		roles = append(roles, string(r))
	}
	return
}

GoType() accepts an "instance" of a role.Role object, since there's no way to pass only the type (e.g. GoType(role.Role)). The following code is also valid:
field.Enum("role").
	GoType(role.Role(""))

Thanks for helping @zeevmoney.
Closing, but please feel free to send a patch to improve the docs. Thanks 🙏


[ x] The game was made using the Sprig editor.
[ x] The game is placed in the in the /games directory.
[x ] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x ] The game runs without errors.
[ x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[ x] The game name is not the same as the others from gallery

Image (If an image is used)

[ x] The image is in the /games/img directory.
[ x] The name of the image matches the name of your file.

Thanks for your PR!

Unfortunately this doesn't meet the bar for the Sprig gallery - you could differentiate it by adding game mechanics past the basic maze.


#define _XOPEN_SOURCE / _POSIX_C_SOURCE twice defined in python and in /usr/include/features.h

Problem
Currently, compilation of python bindings fails for me due to two macros being redefined.
Expected behavior:
Compile to finish.
Actual behavior:
In file included from /usr/include/python2.7/Python.h:8:0,
from ../ext/pybind11/include/pybind11/detail/common.h:111,
from ../ext/pybind11/include/pybind11/pytypes.h:12,
from ../ext/pybind11/include/pybind11/cast.h:13,
from ../ext/pybind11/include/pybind11/attr.h:13,
from ../ext/pybind11/include/pybind11/pybind11.h:43,
from ../src/python/py_oiio.h:48,
from ../src/python/py_imageinput.cpp:31:
/usr/include/python2.7/pyconfig.h:1161:0: error: "_POSIX_C_SOURCE" redefined [-Werror]
#define _POSIX_C_SOURCE 200112L
^
In file included from /usr/include/x86_64-linux-gnu/c++/4.9/bits/os_defines.h:39:0,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h:430,
from /usr/include/c++/4.9/bits/stl_algobase.h:59,
from /usr/include/c++/4.9/memory:62,
from ../src/python/py_oiio.h:34,
from ../src/python/py_imageinput.cpp:31:
/usr/include/features.h:164:0: note: this is the location of the previous definition
#define _POSIX_C_SOURCE 200809L
^
In file included from /usr/include/python2.7/Python.h:8:0,
from ../ext/pybind11/include/pybind11/detail/common.h:111,
from ../ext/pybind11/include/pybind11/pytypes.h:12,
from ../ext/pybind11/include/pybind11/cast.h:13,
from ../ext/pybind11/include/pybind11/attr.h:13,
from ../ext/pybind11/include/pybind11/pybind11.h:43,
from ../src/python/py_oiio.h:48,
from ../src/python/py_imageinput.cpp:31:
/usr/include/python2.7/pyconfig.h:1183:0: error: "_XOPEN_SOURCE" redefined [-Werror]
#define _XOPEN_SOURCE 600
^
In file included from /usr/include/x86_64-linux-gnu/c++/4.9/bits/os_defines.h:39:0,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h:430,
from /usr/include/c++/4.9/bits/stl_algobase.h:59,
from /usr/include/c++/4.9/memory:62,
from ../src/python/py_oiio.h:34,
from ../src/python/py_imageinput.cpp:31:
/usr/include/features.h:166:0: note: this is the location of the previous definition
#define _XOPEN_SOURCE 700
^
cc1plus: error: unrecognized command line option "-Wno-macro-redefined" [-Werror]
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
Versions

OIIO branch/version: master (or 1.9 dev2)
OS: Linux
C++ compiler: gcc-4.9.4

Try building with STOP_ON_WARNING=0 ?

You can fix the warning by making sure to include python.h always first.

Can you be more specific? In which file? Include python.h before which other thing? Is this a fix you're suggesting on the OIIO side, or are you saying it's a problem inside pybind11?

Proposed fix in #1939


DEV-93860 added config to support deviceless logs and use metadata.

Added config to exclude metadata fields. updated README.md
bumping up patch to 1.0.2

We should have some unit tests.

Need some unit tests.

I have added unit tests for for device_less_logs, include_metadata and metadata_to_exclude combinations

Deviceless logs, needs service and namespace.

@ahsan13jan , service and namespace would be different for different type of logs. If we could define service and namespace in record_transformer, It will always get populated when device_less_logs is set to true unless defined as part of metadata_to_exclude [].  It can be solved with configuration.

@siddharthck our plugin does not know about record_transformer,

@siddharthck our plugin does not know about record_transformer,

@ahsan13jan I have added an hard condition that record must have 'service' and 'namespace' when device_less_logs is 'true'. Also updated the doc.


How to Visualize Robots

Hello, your work is very interesting~ I should have successfully reproduced an inference, but I'm more curious about how to visualize the results. Like the images in your paper and on your website? Thank you very much!

Thank you for your interest! Videos should be saved by default.

I managed to perform the visualization. However, I didn't really get the meaning of the video. (find in puppeteer/logs/corridor/1/default/videos/corridor-0.mp4)
https://github.com/nicklashansen/puppeteer/assets/22982797/44e0b71c-e0e8-4f58-a9be-565e9105b258

Looks like it renders one of the egocentric camera here rather than the third-person camera used in our videos. Let me look into this and get back to you soon!

Hi Nicklas,
Have you had a chance to look into this issue? I can also render the videos, but all of them are from the egocentric view instead of the third-person view (as on the website), regardless of the task.
Thanks!

Yes! I was able to locate the problem and will issue a fix later today :-)

Commit https://github.com/nicklashansen/puppeteer/commit/c588d5299c2eb2952a84bccf5a8c4e2724d36c82 fixes the rendering + pins the versioning for all dependencies since numpy 2.0 seems to be incompatible with some of the other packages that we depend on. Thanks for your patience! Let me know if you run into any other issues.

Closing this issue, but feel free to reopen if you have any follow questions!


Can this work outside main package?

@steverusso I started making a Go Example test here, but goclap doesn't seem to generate the right code if it's outside the main package.
Is this something it could support? I think having testable example would be beneficial for the project!

This raises two good points:

goclap as it stands will panic when used on any package other than main since I naively hardcoded the package name.
I think tests would be beneficial, and testable examples probably can't hurt. I'll investigate that branch a little further and start making whichever few adjustments are necessary here.

With https://github.com/steverusso/goclap/commit/4c3916fdee43a524ea96971e4495adae5ca08cfd, it won't panic for a package other than main :heavy_check_mark:


Check out modeling libraries

PyJobShop is a modeling library for scheduling problems. It is different from PyVRP, because the latter also implements the solver, whereas PyJobShop uses third-party constraint programming solvers for the resolution. For the related works section in the paper it would be helpful to look at modeling libraries. Here's a list of libraries that may be interesting:

[x] https://github.com/coin-or/python-mip

Model class that initializes a solver-specific Solver class, which is an API for the "model" interface of solvers.
The solver-specific Solver implementation directly interacts with the native C interface to make it fast.
Works very fast with PyPy (as fast as JuMP)
No intermediate Model data structure like PuLP's LpProblem.

[ ] - https://github.com/Pyomo/pyomo
[ ] - https://github.com/MiniZinc/minizinc-python
[x] - https://github.com/coin-or/pulp

pulp.py contains the PuLP LpProblem class that defines the PuLP LP model interface.
When solving instances with PuLP, the PuLP LP model is transformed into the Python solver API or an mps file is created and solved through command line. The solution is then transformed back.

[ ] https://github.com/metab0t/PyOptInterface

bit too complicated for me

[ ] - https://cpmpy.readthedocs.io/en/latest/
[ ] - https://github.com/python-constraint/python-constraint
[ ] https://github.com/timnon/pyschedule

This was mostly for my own research to understand how others build wrapper libraries. PyJobShop is kind of a wrapper library to CP solvers but with very problem-specific interface. I'm closing this issue since there's not much else to research.


Fix xml method description when dictionary args present

Fixes issue where XML method descriptions could not be retrieved when the method included a Dictionary as one of the parameters.
Closes #7764

Should be fixed


[staging] autoconf: 2.70 -> 2.71

Motivation for this change
This updates autoconf to 2.71. This version appears to be mostly a stable release handling some of the breakage of 2.70 and/or fixing compat with newer clang version (on e.g. the Apple M1 machines).
I kept the addition and the switch of the version separate so that we can just revert the switch in case this causes trouble without closing the door on packages (or platforms) requiring the newer version in the future.
Things done

[x] I did run a few NixOS VM tests with with this
[ ] Built the entire NixOS release set with this (still in process, waiting on my hydra)

I've created https://github.com/NixOS/nixpkgs/pull/111472 to fix the eval error.

I've created https://github.com/NixOS/nixpkgs/pull/111472 to fix the eval error.

@ofborg eval

@ofborg eval

I added one commit that touches pythonPackages.psutil as otherwise the build wouldn't work on any of my systems anymore. See the commit message for details. Would appreciate a review from @jonringer.

I added one commit that touches pythonPackages.psutil as otherwise the build wouldn't work on any of my systems anymore. See the commit message for details. Would appreciate a review from @jonringer.

I'll start a review on my server.. might take a while

I've started a full NixOS release job here https://hydra.h4ck.space/eval/1918#tabs-new (IPv6-only) and you can use my binary cache to ease the load on your machines:
--option substituters "https://cache.nixos.org/ https://cache.h4ck.space/" --option trusted-public-keys "zeta:9zm3cHRlqz3T9HnRsodtQGGqHOLDAiB+8d0kOKnFI0M= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="

I really need to get https://github.com/jonringer/basinix going. Would make this a whole lot easier.

I'd like to see this progress. Did those reviews complete, and were there any interesting failures? (polite bump)

I only observed some flaky NixOS tests (due to timing etc..) but it didn't look like something major. I also only built all the nixos tests so there might be more ground to cover.

I recently learned there's an upcoming freeze for 21.05 (see the post on discourse). It'd be nice to have Apple Silicon support in the stable branch, so I'd like to get this supporting PR merged before the April 30 deadline.
The python change is currently conflicting, and also not directly related to the autoconf change. Maybe we should make that a different PR?
In the last autoconf update in #106663 there was some breakage, but it was also the first update in many years. This update was around 2 months after that. Hopefully all the hard work is already done there won't be much fallout. cc @alyssais as someone with experience with autoconf.

@vcunat could you make a Hydra job for this?

Uh, I don't get the GitHub UI, as all those commits were contained in staging already.

Jobset: https://hydra.nixos.org/eval/1666118?compare=1666054

may want to do git rebase --onto=origin/staging HEAD~#, then force push

Uh, lots of random failures and timeouts, but after some restarts it's clearing up.  Overall it looks good to me.

ghcHEAD variants are half a year old and apparently just need to be updated: https://gitlab.haskell.org/ghc/ghc/-/issues/19655#note_345257

In any case, particular packages should be able to just switch to older autoconf anytime later.  So I'm for merging to staging, meaning it will hopefully get into 21.05, too.

ghcHEAD variants are half a year old and apparently just need to be updated: https://gitlab.haskell.org/ghc/ghc/-/issues/19655#note_345257

I can probably look into a ghcHEAD update PR for staging in the next days.

I assume that could even go directly to master.

#121807

yea, last autoconf bump there was a lot of breakages. but I'm fine with adding a new top-level attr

Anything else stopping this? I believe this is one of the blockers for #105026.


Automated cherry pick of #3175: Decrease the validity of JWTs issued by Dex to 15m

Cherry pick of #3175 on release-v1.30.
#3175: Decrease the validity of JWTs issued by Dex to 15m

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.


Fill custom collection types

How would you support custom collection types (e.g. javaslang collections)? I can create a type manufacturer for these types of collections but that would not fill the actual collections. Going through the codebase I am stuck at the fact that the PodamFactory has hard coded methods to fill arrays/collections/maps.

Podam should be definitely able to instantiate javaslang.collection.List I assume using javaslang.collection.List.empty(). It won't fill it in Podam doesn't know that javaslang.collection.List is a collection and how to fill it. But as you instantiate class in TypeManufacturer you definitely can fill in it there.

Ok thanks for the reply, I was doubting whether it was correct to populate (custom) collections from within type manufacturers. Closing this issue now.

From Podam point of view javaslang.collection.List is just an object. Podam will try to fill it with setters, but the interface has none. To make Podam handle custom lists as java.lang.Collection, there is a need to add to Podam registration of new collection interfaces. At least the following: class name, size method and adding method.


[core] dojoup commands failing

It seems the OPTIONS for dojoup are failing and they are all attempting to install
To reproduce
dojoup -h

// prints

fatal: couldn't find remote ref release/0.1.0
dojoup: command failed: git fetch origin release/0.1.0:remotes/origin/release/0.1.0
Previous HEAD position was 6ae661d4 chore: remove debug log (#1996)
HEAD is now at 954a2099 Update README.md
error: `/Users/os/.dojo/dojoengine/dojo/bin/katana` is not a directory. --path must point to a directory containing a Cargo.toml file.
dojoup: command failed: cargo install --path ./bin/katana katana --locked --force --root /Users/os/.dojo
Previous HEAD position was 954a2099 Update README.md
HEAD is now at 6ae661d4 chore: remove debug log (#1996)
error: pathspec '94bfdb2' did not match any file(s) known to git
dojoup: command failed: git checkout 94bfdb2
Cloning into 'dojo'...
remote: Repository not found.
fatal: repository 'https://github.com/tarrencev/dojo/' not found
dojoup: command failed: git clone https://github.com/tarrencev/dojo
/Users/os/.dojo/bin/dojoup: line 69: cd: ./git/dojo: No such file or directory
error: could not find `Cargo.toml` in `/Users/os` or any parent directory
dojoup: command failed: cargo build --release
The installer for Dojo.

Update or revert to a specific Dojo version with ease.

USAGE:
    dojoup <OPTIONS>

OPTIONS:
    -h, --help      Print help information
    -v, --version   Install a specific version (e.g., dojoup: installing dojo (version nightly, tag nightly)
dojoup: Version nightly does not match any release listed at https://github.com/dojoengine/dojo/releases.
dojoup: Please specify a valid version, or omit -v to install the latest stable version automatically.)
    -b, --branch    Install a specific branch (e.g., )
    -P, --pr        Install a specific Pull Request (e.g., )
    -c, --commit    Install a specific commit (e.g., dojoup: installing at commit 94bfdb2)
    -r, --repo      Install from a remote GitHub repo (uses default branch if no other options are set) (e.g., )
    -p, --path      Install a local repository (e.g., dojoup: installing from ./git/dojo)

fixed by #2002


app.GetInstalledApps() and app.GetAcitivites() need a warning notice and/or deprecation

Testing the Launcher sample I noticed app.GetAcitivites() didn't returned all the activities it should.
Searching the forums I found a post from Steve Garman stating this:
"Unfortunately this is caused by changes to package visibility rules introduced in apps targeting Android 11 and above
https://developer.android.com/training/package-visibility
There is no workaround for this as far as I know in the latest version of DroidScript"
Followed by Dave's message:
"Showing all apps will be possible in the next 'X' release."
src: https://groups.google.com/g/droidscriptpremium/c/pmqF0RHC83c
I think app.GetInstalledApps() and app.GetAcitivites() (maybe also app.GetRunningApps() and app.GetRunningServices()) should then be deprecated in DroidScript standard, with a warning notice explaining their possible limitations.

I will mark them as X-Version only

fixed by 32b649cc3a0b9e9ef6d0ec89da948890a5f13376


Ensure Delivery channel is not used after Close()

Tests too if it's simple to add, but other than that LGTM

Coverage remained the same at 80.903% when pulling f41d75972afb058c42293dc3ff26c8c96c535b3e on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage remained the same at 80.903% when pulling 78ff9b5a092ba4f61907597943eb0c1b1f512a47 on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage remained the same at 80.903% when pulling 06933d2c84fcaf3dc0d9d1136ddd27b87add99ef on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage remained the same at 80.903% when pulling 06933d2c84fcaf3dc0d9d1136ddd27b87add99ef on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage remained the same at 80.903% when pulling 06933d2c84fcaf3dc0d9d1136ddd27b87add99ef on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage remained the same at 80.903% when pulling 6d42fa840778b4652cd89f98b934893596da13b9 on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage increased (+2.1%) to 83.038% when pulling 539a487fcca47081625e6dd7c13e697031e1a3fb on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.

Coverage increased (+0.7%) to 81.597% when pulling fc1e053a6695a21b06f4d4bd50755f635e8ac57c on close-synchronous into af231855dc60abc8332dd3ac0279e9baa4cc0524 on master.


More editor support

Are there plans to add more editor support (syntax higlighting) like for example vim/neovim? I would love to play around with the language but is hard to do so in the current editor without higlighting
Great project btw looks very promising

A good way to do this, I think, would be to steal shamelessly from runtime/sh.vim and runtime/syntax/lua.vim since Hush has things in common with both. (We can ignore tons of what's in sh.vim since so much of that file is about handling the minute differences in distinct flavors of shell.)
I will likely try to create a basic syntax file soon, though I can't make any promises about timing. Still, it will be a good way to get to know Hush better and learn a bit more about my editor at the same time.

Vim support is surely a must. As I'm an Emacs user, I'm not very familiar with writing Vim extensions, but I would be glad to get such contribution from the community :). Let me know if I can be of any help.

Here is an example for ion https://gitlab.redox-os.org/redox-os/ion-vim/-/blob/e9220920f93de102e4d79b991da8406e13e4ffb4/syntax/ion.vim
The keywords should be relative trivial. Operator and quoting precedence could be annoying, but I think hush has no string in string (in string) stuff for replacements. (Not sure though)


CASA 5.1 prerelease

Synthesize a prerelease so we can compile the CASA 5.1 series.
Sigh. Because CASA does everything wrong, the latest release must be built against code in casacore that has not yet been released. Casacore has a casa-5.1.0 branch which is somewhere between the most release casacore release and master, with one extra commit fixing some bug with SMA data import.
The approach I'm taking here is to synthesize a "2.3.1a1" release based on a precise Git commit, since the next official release of casacore is essentially guaranteed to have a version number bigger than this one. I will ask the Casacore people to cut a real release.

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

ah! this is great news. I hope you succeed! I tried to make Debian packages for CASA a while ago, but gave up at some point. This mostly due to how CASA is developed, they fork various libraries and included that in a monolithic tarbal. It doesn't look like they intend to change this workflow, so if you make a release now it will probably require quite some effort in the future to get working again.

@gijzelaerr Each point release takes some work, but I've gotten it working. I can't build the packages in the conda-forge system due to limits on CI build times, though.

Packages
Recipes

(I should note that I've got the C++ libraries and their Python bindings working; I don't try to build the IPython interface. My pwkit package provides tools for driving lots of CASA functionality in a stock Python environment.)


Can I roll up using Haystack HisRead ops?

In SkySpark ops I can use hisRollup off of a hisRead but it seems like the his_read method using the Client and Haystack ops doesn't have an argument for rolling up the data. I would just use the SkySpark method but I noticed the Haystack ops works better when I want to pull a large date range because the SkySpark ops way limits you to 50k rows while Haystack doesn't seem to limit you. Thanks in advance for the clarification!

Hi,
You might consider asking a question on the SkyFoundry forum about the 50k limit you are seeing.  There could be value having some limit like this in place and using mini batches.
Phable does not support rollup of history data retrieved from the Haystack server today.  We might consider adding this feature in the future.
Rick

Also, please take a look at Client.eval() in client.py in case you have not already.


WRN-13623: Fix touch detection condition logic in MediaPlayer and VideoPlayer

Enact-DCO-1.0-Signed-off-by: Juwon Jeong<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Whether to enable touch-related logic in MediaPlayer and VideoPlayer should be determined by platform.touchscreen instead of platform.touch.
Related PR
https://github.com/enactjs/enact/pull/3008
https://github.com/enactjs/sandstone/pull/1158
Resolution
Use platform.touchscreen instead of platform.touch to invoke touch-related logic only in the touchscreen environments.
Additional Considerations
Links
WRN-13623
Comments

Closed as we will not merge this regarding cross-browser support.


Not working with Matlab 2017b

Hi,
The program seem not to work correctly with Matlab 2017b.
In GUI the add data is showing nothing, in the experimenter there are no algorithms.
I suppose this is only in the newer versions, I am downloading an earlier version to test.
I could use the pgui for adding data if it werent for the 'windowrisk' issue (see other issue)

When using 2012b it all works fine! With windowrisk too.


Start input stream automatically when application starts.

Addressed in https://github.com/damellis/sensors/commit/623a08a01ba41014f0a5f4ab0d46fdf2d92ae036


Feature request: enhance ExtendedFields/Tags to support name mapping

Current: Extended fields and tags (#16) use the property name as a tag or field name.
Request: Both property and field/tag name can be specified.
Suggestion: Allow to specify both log property name and field/tag name delimited by : (minimal changes and fully backward compatible).
"sinkOptions": {
  "ExtendedTags": [ "SourceContext:component_name", "Application:app_name" ],

@tom-englert  is those extended targ/field value "component_name" can be variables to be resolved or just raw text ? "appname" to be replaced at runtime ?

These are just two names, the first is the serilog property's name, and the second the influx tag or field name.


Fixed section to support fields with no additional text.

In the current implementation, the following code would fail to render as JSON:
blocks = Slack::BlockKit.blocks do |b|
  b.section do |s|
    s.mrkdwn_field(text: "Some markdown")
    s.mrkdwn_field(text: "More markdown")
  end
end

although this is supported in BlockKit.
This PR fixes that, and adds some specs to test this and a few other missing cases from section.rb.

Released as 0.14.1 🚀


Turn on Bluetooth on device

To automate the process and give a better experience to the end user.
Is it possible to turn on Bluetooth when invoking Initialize or as a separate method just like cordova's solution  BLE-central

@pwespi is it possible to make it on both Android and iOS? if yes I can work on the Android part

@mutasimissa No, as far as I know it's not possible to enable Bluetooth from an app on iOS. So this would be Android only. But if you want to have a go at it, I'm happy to accept a PR. I would put it in a separate method though and not change the existing initialize method.

Should the current initialize method turn  device's Bluetooth on?

No, the current initialize method only handles permissions and checks if a Bluetooth adapter is available (on Android) or initializes the CBCentralManager (on iOS). It should not turn on Bluetooth as this is not available on iOS.
After initialize you can use isEnabled on both Android and iOS to check whether Bluetooth is enabled or not, but there is not yet a method to enable it.

Got it, is it in the roadmap to have a method to turn on BL on android devices at least ?

Yes, it's on the roadmap.
@mutasimissa Let me know if you can work on it, otherwise I'll take it.

Thanks! Looking forward for it

Yes, I will work on it on a separate method @pwespi

I added enable and disable in the latest version.
(@mutasimissa I was adding some features in Android so I went ahead and implemented this. Hope you don't mind.)

closed by 53f1b3db51a4cc00547307b46e6dbde50c895d28


VideoStreamWebm VP9 video stops playing

Godot version
3.3.4-stable, 0c58454dac266d888211443321ed41020f9ff1a8
System information
Linux 5.15.15-76051515-generic,  Pop!_OS 21.10 OpenGL ES 3.0 Renderer: NVIDIA GeForce GTX 1070 with Max-Q Design/PCIe/SSE2
Issue description
The built-in VideoStreamWebm video stream 'randomly' stops playing the video stream from some vp9 encoded video files. (vs the godot-videodecoder gdnative plugin which plays them properly)
It seems to occur randomly, but I have found some video files where it will stop playing the video immediately when encoded as vp9 but play flawlessly with vp8.. The built-in VideoStreamWebm would be useable if this issue was fixed. (and seeking/stream_length was added)
I know that the VideoStreamWebm is deprecated and removed from godot4, but it is still much simpler to build than the ffmpeg gdnative plugin and would likely be a better candidate for an extension in godot4 if these issues are solved.
This issue was rediscovered while testing this pull request:
https://github.com/godotengine/godot/pull/57744 which fixes this (closed) issue with the built-in video player
https://github.com/godotengine/godot/issues/14430
Steps to reproduce
Download and run the included reproduction project which creates a VideoStreamWebm when you click the open button and choose a video.
Choose 'open' and choose the included vp9 webm file to demonstrate the issue. Opening the vp8 webm file will work fine.
Consecutive streams are opened in separate video players (up to 4) to test concurrent playback etc.
You can also choose to use the included gdnative godot-videodecoder plugin for playback which works for both files (from this build https://github.com/kidrigger/godot-videodecoder/releases/tag/0.0.2 )
Minimal reproduction project
vp8-vp9-video-freeze-repro2.zip

see #57744


Reorder mag return values from XZY order to XYZ.

My apologies - I had made a comment but realized it e was due to my own misinterpretation of the code. I deleted the comment which may have been even more confusing.

I have the same question as @jerryneedell with regards the >>4 (divide by 16) being done in the list comprehension. Why is that being done?

Of course I meant divide 😉

Not sure about the shifting I just ported the C code, obviously missing that crucial bit about Y & Z being swapped.

Double checking the datasheet and C code... it looks like the MAG data doesn't need to be shifted. I'll try it out and submit the change it it makes sense.

The driver needs a full once-over IMO, there seems to be plenty of things that are out of sync with the C++ version. When I wrote it I just needed something quick to do what I needed and didn't pay much attention to completeness.  I don't have time now, though.

The datasheet really isn't too clear. Unless I'm missing it somewhere, it does not show the actual bit layout for either the accel or the mag registers. Your left with just:
The value is expressed in 2’s complement.

But on the first page, one of the features is "16 bit data output". So I would assume both the accel and mag data are 16 bit 2's complement. The Arduino library has some commented out code dealing with 12 bit values:
https://github.com/adafruit/Adafruit_LSM303/blob/master/Adafruit_LSM303.cpp#L56
but the code that follows is for 16 bit. But I'm also not sure why the mag data isn't cast to a signed int:
https://github.com/adafruit/Adafruit_LSM303/blob/master/Adafruit_LSM303.cpp#L81
Apologies for deviating from the original issue of the PR.

interesting taht the Raspberry Pi library does treat the accel data as 12 bit (with the shift) but not the mag data : https://github.com/adafruit/Adafruit_Python_LSM303/blob/master/Adafruit_LSM303/LSM303.py#L81
the plot thickens ....

Gaaa! Its even worse -- the Arduino library referenced above is deprecated!  https://github.com/adafruit/Adafruit_LSM303#warning-library-deprecated  and the replacement does shift the accel data???? https://github.com/adafruit/Adafruit_LSM303DLHC/blob/master/Adafruit_LSM303_U.cpp#L124
I'm confused....

hmmm -- looking at the example in the guide https://learn.adafruit.com/lsm303-accelerometer-slash-compass-breakout?view=all#circuitpython-and-python-usage-4-6
note that the magnitude of the magnetic field reported is only about 4 microtesla  but the earth field should be much larger  - more like 60 microtesla. close enough to a facto if 16 for me to be suspicious.
If you have one of these sensors, it may be worth comparing the Arduino magnitude to the CP magnitude.

Is this helpful?
CircuitPython:
>>> import board
>>> import busio
>>> import adafruit_lsm303
>>> i2c = busio.I2C(board.SCL, board.SDA)
>>> sensor = adafruit_lsm303.LSM303(i2c)
>>> print(sensor.magnetic)
(-1.09091, -4.81818, -0.306122)
>>>
>>> print(sensor.raw_magnetic)
(-11, -53, -3)

Arduino, from this sketch:
  Driver Ver:   1
  Unique ID:    12345
  Max Value:    0.00 uT
  Min Value:    0.00 uT
  Resolution:   0.00 uT
  ------------------------------------

  X: -16.18  Y: -6.09  Z: -85.82  uT
  X Raw: -178  Y Raw: -67  Z Raw: -841
  X: -16.09  Y: -6.00  Z: -85.71  uT
  X Raw: -177  Y Raw: -66  Z Raw: -840

looks like a factor of 16 to me ;-)

adding @microbuilder for more details


Browser warns about non-unique ids when using multiple Hosted Fields instances

General information

SDK version: 3.68.0
Environment: any
Browser and OS: Chrome, any OS

Issue description
We're using two Hosted Fields instances on our checkout page. One for the customer's saved card, where they only have to provide the CVV, and another one for setting up a new payment card, where they have to provide all the card details.
This results in two CVV fields being displayed on the page, which Chrome doesn't like since both fields share the same element id. Here's a screenshot:

Perhaps a solution would be to prefix these ids with some kind of instance identifier?

Thanks for pointing this out, we should definitely namespace them.

This should be fixed in v3.69.0

This should be fixed in v3.69.0

I can confirm it is fixed. Thank you!


Issues with compilerOptions: target: ES2015

Hello, I am having an issue. I am using Angular 9 with ES2015. If I change to ES5, there are no issues. I'd prefer not to have to change my target from ES2015 to ES5. Is there any other work around?
Specifically, I am seeing the below error when trying to instantiate a new QueueDelayExecuter.
Error: Class constructor Subject cannot be invoked without 'new'

Will check it later.
And it would be easy to fix it quick if you can provide a minimum reproduce able repo or add a unit test to fail your case.

ping @tyanders1987


Silence -Wstrict-overflow warnings

Silences the following warnings in ibxm-ac/ibxm.c with gcc-7.1.0 and -O3.
gcc -O3 -ansi -pedantic -Wall -g xm2wav.c ibxm.c -o xm2wav
ibxm.c: In function ‘module_load’:
ibxm.c:95:4: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
  if( offset + length > data->length ) {
    ^
ibxm.c:95:4: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
  if( offset + length > data->length ) {
    ^

Please review to make sure my solution is correct, thanks!

@martincameron When you have a chance can you review this PR? Thanks!

I suppose the warning means that the optimizer has determined that the
function is never called with out-of-bounds parameters unless overflow
occurs.
Changing the length parameter to "unsigned int" also avoids the warning,
would prefer that.
Cheers,
Martin
On 20 August 2017 at 14:42, orbea<EMAIL_ADDRESS>wrote:

@martincameron https://github.com/martincameron When you have a chance
can you review this PR? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/martincameron/micromod/pull/13#issuecomment-323585796,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFO0uQuzfJALfDZqXF52Kuys7CRQX0kks5saDfegaJpZM4O53TA
.

Do you mean like this?
commit a094126d131033587d815a3b9fb70fc26b3178ab
Author: orbea<EMAIL_ADDRESS>Date:   Thu Aug 17 00:06:17 2017 -0700

    Silence -Wstrict-overflow warnings

diff --git a/ibxm-ac/ibxm.c b/ibxm-ac/ibxm.c
index b7c1786..1a15dd2 100644
--- a/ibxm-ac/ibxm.c
+++ b/ibxm-ac/ibxm.c
@@ -86,7 +86,7 @@ static int log_2( int x ) {
 	return y;
 }

-static char* data_ascii( struct data *data, int offset, int length, char *dest ) {
+static char* data_ascii( struct data *data, int offset, unsigned int length, char *dest ) {
 	int idx, chr;
 	memset( dest, 32, length );
 	if( offset > data->length ) {

While that does prevent the warnings, it creates new ones instead.
ibxm.c: In function ‘data_ascii’:
ibxm.c:95:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if( offset + length > data->length ) {
                      ^
ibxm.c:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( idx = 0; idx < length; idx++ ) {

This PR unfortunately suffers from the same problem now that I looked closer...

Do you mean like this?
diff --git a/ibxm-ac/ibxm.c b/ibxm-ac/ibxm.c
index b7c1786..1a15dd2 100644
--- a/ibxm-ac/ibxm.c
+++ b/ibxm-ac/ibxm.c
@@ -86,7 +86,7 @@ static int log_2( int x ) {
 	return y;
 }

-static char* data_ascii( struct data *data, int offset, int length, char *dest ) {
+static char* data_ascii( struct data *data, int offset, unsigned int length, char *dest ) {
 	int idx, chr;
 	memset( dest, 32, length );
 	if( offset > data->length ) {

While that does silence the warnings it creates new ones as well...
ibxm.c: In function ‘data_ascii’:
ibxm.c:95:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if( offset + length > data->length ) {
                      ^
ibxm.c:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for( idx = 0; idx < length; idx++ ) {

This PR suffers from the same issue unfortunately...

I've checked in a fix that seems to do the right thing.
Thanks a lot!
Martin
On 22 August 2017 at 23:21, orbea<EMAIL_ADDRESS>wrote:

Do you mean like this?
diff --git a/ibxm-ac/ibxm.c b/ibxm-ac/ibxm.c
index b7c1786..1a15dd2 100644
--- a/ibxm-ac/ibxm.c
+++ b/ibxm-ac/ibxm.c
@@ -86,7 +86,7 @@ static int log_2( int x ) {
return y;
}
-static char* data_ascii( struct data *data, int offset, int length, char dest ) {
+static char data_ascii( struct data *data, int offset, unsigned int length, char *dest ) {
int idx, chr;
memset( dest, 32, length );
if( offset > data->length ) {
While that does silence the warnings it creates new ones as well...
ibxm.c: In function ‘data_ascii’:
ibxm.c:95:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( offset + length > data->length ) {
^
ibxm.c:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( idx = 0; idx < length; idx++ ) {
This PR suffers from the same issue unfortunately...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/martincameron/micromod/pull/13#issuecomment-324168218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFO0ifKtCdNH-5kzNBs5HMlQYM6XC19ks5sa1R6gaJpZM4O53TA
.

Thanks, but I am still getting a warning here.
gcc -O3 -ansi -pedantic -Wall -g xm2wav.c ibxm.c -o xm2wav
ibxm.c: In function ‘module_load’:
ibxm.c:96:14: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
  if( end < 0 || end > data->length ) {
      ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

@martincameron, I updated my commit to attempt to correctly silence the last warning. With this I no longer get any warnings with gcc or clang using -O3, -Wall and -Wextra. Can you review this change to see if the solution is correct?

Hmm. Well, that's because sizeof( int expression ) always returns 4!
This is a difficult warning to silence, I'm currently on GCC6, so I'm going
to have to upgrade to GCC7 to reproduce what you're seeing.
Thanks,
Martin
On 29 August 2017 at 02:36, orbea<EMAIL_ADDRESS>wrote:

@martincameron https://github.com/martincameron, I updated my commit to
attempt to correctly silence the last warning. With this I no longer get
any warnings with gcc or clang using -O3, -Wall and -Wextra. Can you
review this change to see if the solution is correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/martincameron/micromod/pull/13#issuecomment-325529149,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFO0kCKHGNKJ-F8HO9qUKmFF-J1DkFKks5sc2ssgaJpZM4O53TA
.

Alright, thanks for the feedback!

Hi, I've finally got GCC7 up and running and checked-in a change that seems
to silence the warning when compiling with "-O3 -Wall".
Cheers,
Martin.
On 30 August 2017 at 22:20, orbea<EMAIL_ADDRESS>wrote:

Alright, thanks for the feedback!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/martincameron/micromod/pull/13#issuecomment-326122679,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFO0nKaOgyHe0ukQYLwJ1KvdCBR42hPks5sddIagaJpZM4O53TA
.

Cheers, it works here too.


The static js file in ./tmp/public folder is different from the js file serving in web browser?

I have above problem. I guess it is because of the grunt-rename task I use, but I am not quite sure about that. The static files in ./tmp/public folder are always the same as the files serving in the web browser, aren't they?

I'm not sure I quite understand the issue you're having, but the files in .tmp/public are the static files that  are served by Sails, yes.  Under normal circumstances, if you put a foo.txt file in the /assets subfolder of a Sails project, then when you do sails lift, that file will be copied to .tmp/public/foo.txt, and will be available at http://localhost:1337/foo.txt.  If you have a task that renames files before they're copied to .tmp/public, then the new name is what will be served.
Closing this for now as it's doubtful that this is a bug in Sails core.  If you believe you're experiencing a bug in Sails, please post a link to your project here, along with info about your Sails and Node version, and we'll take a look!

static path ....
config/http.js
module.exports.http = {
customMiddleware: function (app) {
app.use('/upload', require('../node_modules/sails/node_modules/express')['static'](require('path').normalize(__dirname + '/../upload')));
},


Update demo.md

👷 Deploy Preview for djuikem-clotilde processing.
🔨 Explore the source changes: 17b641732a02682f08c774eb89460979829e1924
🔍 Inspect the deploy log: https://app.netlify.com/sites/djuikem-clotilde/deploys/620aef818ec8c2000735a636

Accept please


rename: yarn ci => yarn test

@gre asked for this. Fixes https://github.com/LedgerHQ/ledger-live-mobile/issues/748

circleci fails because it wants to run yarn ci and it no longer can


[MB-15409] add a verifyPeerCertificate method to the tlsConfig

DO NOT MERGE

Messages

:book:
:link: MB-15409

  Generated by :no_entry_sign: dangerJS against 26d0f99598c7af80d7feaeb5fc54cb58be09a8c8


Av2

Feature req : options for different vm types (eg: Av2 ) shown on pricing page

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!


kontrol: take care of multi keys for HTTP based registration

Two changes in this PR:

We now trim any whitespace when adding or retrieving keys. Otherwise it's get difficult to retrieve as a single whitespace might cause the key to be not found
HTTP based registration was broken, fixed and synced it with XHR and WebSocket based one.

LGTM


Ambassador does not auto reload certificates upon renewal

Describe the bug
I am using the cert-manager as described here
https://www.getambassador.io/user-guide/cert-manager/
Which clearly states: Starting in Ambassador 0.50.0, Ambassador will automatically watch for secret changes and reload certificates upon renewal.
This functionality doesn't appear to work for me.  When initially submitting a Certificate to cert-manager, it will populate the secret with a locally signed certificate (CN=cert-manager.local).
When the certificate is approved (say via Let's Encrypt) it will then update the secret. Ambassador appears to see this as the decoded certs within the POD reflect the requested certificate.
However if I hit the listener it is still serving up the old cert with CD=cert-manager.local). I am required to restart Ambassador to serve the new certificate.
This will be a problem for certificate renewal.
To Reproduce
Steps to reproduce the behavior:

Deploy ambassador with TLS enabled and no ambassador-certs
Create a Certificate Request
Cert-manager populates ambassador-certs with a locally signed certificate
Ambassador sees this and enables TLS on the listener and serves up this certificate
After the certificate is approved, cert-manager updates secret ambassador-certs
Ambassador sees the changes and updates the decoded secrets yet the listener continues to serve the old certificate

Expected behavior
To support renewal Ambassador should reload envoy such that it picks up the new certificates.
Versions (please complete the following information):

Ambassador: 0.53.1
Kubernetes environment EKS
Version 1.12

I just noticed the same behaviour on the version with GKE.
In my case, I need to update the certificate to add an Alternative Subject, the certificate is rotated. However ambassador doesn't seems to reload it except if I restart ambassador pods manually.
Thanks for your help

I have been looking through the Ambassador code to figure out how it works but struggling to make sense of it all.

From Slack:
According to them (and backed by the envoy stats) if the config doesn’t change (which it doesn’t when the contents of the cert files change) envoy won’t reload. That is why it continues to serve the old certificates until Ambassador is reloaded. Not sure what your test suite checks but maybe when the cert rotated you were also performing another changed that caused the actual configuration to change.
if I get time today I think the fix should be pretty simple (the envoy guys suggest using SDS or hot-reloader). But for this i think we can simply append the snapshot ID to the certs written to disk (ie: tls-3.crt, tls-3.key). As that will cause the config to change and should reload envoy

@richarddli Also just heard from Matt Klein and he validated the above. Says the best way would be to use SDS or simply just change the cert name on disk. I will attempt that today after having spent a good portion of yesterday looking at the codebase.

This should be fixed in 0.60.2.

is there any logs that I can see that might confirm this? Checking kubectl get events doesnt show any actions from ambassador


Android app crashing when we draw Polylines.

Bug
Android app crashes when we draw Polyline, But works fine in IOS.
Environment info
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz
Memory: 551.73 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.10.0 - /usr/local/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 24, 26, 27, 28
Build Tools: 23.0.1, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.2
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-device-info: 0.26.4
Library version:
"react": "16.9.0",
"react-native": "0.61.2",
"react-native-maps": "0.26.1"
My dependencies
dependencies { implementation(project(':react-native-maps')){    exclude group: 'com.google.android.gms', module: 'play-services-base'    exclude group: 'com.google.android.gms', module: 'play-services-maps' } implementation 'com.google.android.gms:play-services-base:10.0.1' implementation 'com.google.android.gms:play-services-maps:10.0.1'     implementation fileTree(dir: "libs", include: ["*.jar"])     implementation "com.facebook.react:react-native:+"  // From node_modules     if (enableHermes) {         def hermesPath = "../../node_modules/hermes-engine/android/";         debugImplementation files(hermesPath + "hermes-debug.aar")         releaseImplementation files(hermesPath + "hermes-release.aar")     } else {         implementation jscFlavor     } }
ext {         buildToolsVersion = "28.0.3"         minSdkVersion = 16         compileSdkVersion = 28         targetSdkVersion = 28         supportLibVersion = "28.0.0"         googlePlayServicesVersion = "11.8.0"         androidMapsUtilsVersion = "0.5+"     }
Actual Behaviour:
--> App crashes in android when we load Polyline.
--> Works fine when we load mapView or markers.
Describe what you expected to happen:
--> Polyline should load in both android and ios.

change
implementation 'com.google.android.gms:play-services-base:10.0.1' implementation 'com.google.android.gms:play-services-maps:10.0.1'
to
compile "com.google.android.gms:play-services-base:11.0.4" compile "com.google.android.gms:play-services-maps:11.0.4"
solved my issue


Update onboarding docs

The following onboarding docs updates were made:

Added link to Project Spotlight session for Hedera Core & Tooling to the Knowledge Center page.
Hedera Services Onboarding

Add link to the hedera-services project, there was only one to hedera-protobufs.
Remove PostgreSQL step from Project prerequisites as it is no longer needed.
Remove Docker installation option from Project installation, leaving only the IntelliJ one.
Remove "Running the project" section because it essentially duplicates the steps done in the IntelliJ Quick Start Tutorial.

Git Config Tutorial

Add recommendation to set you Github primary mail to be the @limechain.tech one.

Digital signature Creation Tutorial

Fix missing screenshot images for steps 3,4 and 5.

Hedera Services IntelliJ Quick Start Tutorial

Remove PostgreSQL step.
Change links to point to https://github.com/hashgraph/hedera-services instead of the Limechain fork.
Add Gradle steps as described in this PR.
Remove Maven related steps because it will not be supported in the future.


502 Bad Gateway

Hey, I've been using your helper for a few weeks and it was working great. Thanks for sharing it!
Recently however, editing or creating new *.local URLs stopped working and I get the following message when I try to access them:

502 Bad Gateway
nginx/1.19.3

My older *.local URLs that I haven't edited recently remain working though.
Here's the tail of the log file from nginx-proxy-avahi-helper (sha256:b73c58fa9edc43df63b934a22889344a204069eb9d449b6aa043fa9c396c1b50, Created | 2020-10-06 02:01:14 )

today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Received event die for container ee889cabfcd8
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Received event stop for container ee889cabfcd8
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Generated 'cnames' from 11 containers
today at 10:39 AM cname.1    | INFO: Exiting on SIGTERM...
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Contents of cnames did not change. Skipping notification '/usr/src/app/restart.sh'
today at 10:39 AM forego     | starting cname.1 on port 5200
today at 10:39 AM forego     | sending SIGTERM to cname.1
today at 10:39 AM forego     | sending SIGTERM to dockergen.1
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Received signal: terminated
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Received signal: terminated
today at 10:39 AM
today at 10:39 AM forego     | starting dockergen.1 on port 5000
today at 10:39 AM forego     | starting cname.1 on port 5100
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Contents of cnames did not change. Skipping notification '/usr/src/app/restart.sh'
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Watching docker events
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Contents of cnames did not change. Skipping notification '/usr/src/app/restart.sh'
today at 10:39 AM cname.1    | INFO: All CNAMEs published
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:29 Received event start for container 5fbff26b8d87
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:29 Generated 'cnames' from 12 containers
today at 10:40 AM cname.1    | INFO: Exiting on SIGTERM...
today at 10:40 AM forego     | starting cname.1 on port 5200
today at 10:40 AM forego     | sending SIGTERM to dockergen.1
today at 10:40 AM forego     | sending SIGTERM to cname.1
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:30 Received signal: terminated
today at 10:40 AM
today at 10:40 AM forego     | starting dockergen.1 on port 5000
today at 10:40 AM forego     | starting cname.1 on port 5100
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:31 Contents of cnames did not change. Skipping notification '/usr/src/app/restart.sh'
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:31 Watching docker events
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:31 Contents of cnames did not change. Skipping notification '/usr/src/app/restart.sh'
today at 10:40 AM cname.1    | INFO: All CNAMEs published

And here's the tail of the log from nginx-proxy for the same time period (sha256:5e6f392e99e5454851caa8a3dbb021560a32375edff772b64f862c4d7831d038 Created 2020-10-30 09:46:00):

today at 10:38 AM Custom dhparam.pem file found, generation skipped
today at 10:38 AM forego     | starting dockergen.1 on port 5000
today at 10:38 AM forego     | starting nginx.1 on port 5100
today at 10:38 AM dockergen.1 | 2020/11/03 18:38:28 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:38 AM dockergen.1 | 2020/11/03 18:38:28 Watching docker events
today at 10:38 AM dockergen.1 | 2020/11/03 18:38:28 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Received event die for container ee889cabfcd8
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Received event stop for container ee889cabfcd8
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Generated '/etc/nginx/conf.d/default.conf' from 11 containers
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Running 'nginx -s reload'
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:26 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Received event die for container 2dadf9c97119
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Received event start for container 2dadf9c97119
today at 10:39 AM dockergen.1 | 2020/11/03 18:39:27 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:29 Received event start for container 5fbff26b8d87
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:29 Generated '/etc/nginx/conf.d/default.conf' from 12 containers
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:30 Received event die for container 2dadf9c97119
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:30 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:31 Received event start for container 2dadf9c97119
today at 10:40 AM dockergen.1 | 2020/11/03 18:40:31 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
today at 10:40 AM nginx.1    | 2020/11/03 18:40:41 [error] 42#42: *1 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: twldev.local, request: "GET / HTTP/1.1", upstream: "http://twldev.local/", host: "twldev.local"
today at 10:40 AM nginx.1    | twldev.local <IP_ADDRESS> - - [03/Nov/2020:18:40:41 +0000] "GET / HTTP/1.1" 502 157 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"
today at 10:40 AM nginx.1    | 2020/11/03 18:40:41 [error] 42#42: *2 no live upstreams while connecting to upstream, client: <IP_ADDRESS>, server: twldev.local, request: "GET /favicon.ico HTTP/1.1", upstream: "http://twldev.local/favicon.ico", host: "twldev.local", referrer: "http://twldev.local/"
today at 10:40 AM nginx.1    | twldev.local <IP_ADDRESS> - - [03/Nov/2020:18:40:41 +0000] "GET /favicon.ico HTTP/1.1" 502 157 "http://twldev.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"

Any idea what is going on and how I could fix things?
Thanks again!

That's going to be a problem with the nginx-plugin not the avahi integration.
It sounds like the mDNS cname has been setup (so this project is working fine) but nginx can't connect to the container.

Thanks for your comments.


Create a formal table of contents

Take the "What's In This Book" out of Chapter 1, move it to the top level, and re-name it as Table of Contents.

Done!


Datatracker profile page for people

Description
Hi.  If I look through the datatracker pages for specific documents, relevant groups, etc., I have no trouble finding links to the profiles for document authors, shepherds, group leaders, etc.  But, if I have a person's name and want to locate participating information, there appears to be no way, at least no obvious way, to find the profile page.   No information or links pointing to profiles in any of the pull-downs on the datatracker home page.    One might expect to find a pointer or search box at https://datatracker.ietf.org/person/, but nothing there (no such page, just, apparently, the top of a subtree).
Could we get some obvious mechanism for searching the profile pages for individuals by their names?
thanks,
john
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

duplicate of #3011
In the meantime, if you know a person's name or email address, you can type it into the url at
https://datatracker.ietf.org/person/Some Name


Support for iPhone X

I notice when using the default React Navigation TabNavigator the bottom safe area is automatically adjusted for both tab bar height and icons aligned to the top nicely but the moment I plug in tabBarComponent: NavigationComponent it does not and it will overlap with the bottom bar. Is there any support for this? Thanks!

At the moment you could achieve this by checking if the device is an iPhone X and using innerStyle with an appropriate paddingBottom.

Easy fix:
import { SafeAreaView } from 'react-native';
...
render() {
  return (
    <SafeAreaView style={{ flex: 1 }}>
      // rest of your app goes here
    </SafeAreaView>
  );
}

Thanks @timomeh and @Ehesp for the suggestion. I'll try that out. Also I read that it's not possible to do custom styling i.e. change font size for the tab titles? This is because on iOS it does appear a bit too large.

@kennyljv @timomeh I actually worked out a solution to that title custom styling locally recently just messing around but hadn't gotten around to making a PR. I will try to get one soon if @timomeh is cool with it.

@keeleycarrigan Of course, contributions are always welcome. ❤

@kennyljv @timomeh
Easy solution:
import { TabNavigator, SafeAreaView } from 'react-navigation';
import { NavigationComponent } from 'react-native-material-bottom-navigation';

const TabBar = props => (
  <SafeAreaView
    forceInset={{ top: 'never', bottom: 'always', horizontal: 'never' }}
    style={{ backgroundColor: '#fff' }}
  >
    <NavigationComponent {...props} />
  </SafeAreaView>
);

const MainScreen = TabNavigator(
  {
    Tab1: { screen: Screen },
    Tab2: { screen: Screen },
    Tab3: { screen: Screen },
    Tab4: { screen: Screen },
  },
  {
    tabBarComponent: TabBar,
    tabBarPosition: 'bottom',
    },
);

I added support for iPhone X without SafeAreaView in #76. This issue will be closed when v1.0 will be released.

Closed with v1.0.0 ✨


Date::parse('February')->month returns 3

When using Date::parse('February')->month the returned result is 3. Same result is returned when using another language Date::parse('Février')->month always returns 3
But works as expected when running Date::parse('1 February')->month returns 2 which is correct.
Is this a bug or something else I ignore?

The same happen with new DateTime('February') with pure PHP if you're a 30 or 31 day e.g. > 28 or 29 if leap year. Because PHP will create you a date from "now", let's say 2020-03-31 10:52:30 UTC then it will change the month to February as asked by the string and so get: 2020-02-31 10:52:30 UTC but as this date is not valid, it will overflow to the next month (2 days because 31 - number of days in February 2020) => 2020-03-02 10:52:30 UTC
You rather should use the start of month with:
Date::parse('February 1');
Date::parse('Février 1');

The same happens with new DateTime('February') with pure PHP if you're a 30 or 31 day e.g. > 28 or 29 if leap year. Because PHP will create you a date from "now", let's say 2020-03-31 then it will change the month to February as asked by the string and so get: 2020-02-31 but as this date is not valid, it will overflow to the next month (2 days because 31 - number of days in February 2020) => 2020-03-02
You rather should use the start of month with:
Date::parse('February 1');
Date::parse('Février 1');

This explains why when I run Date::parse('1 February')->month it works properly.
Thank you! — Gonna close the issue now.


Create the esp-metadata package, update esp-hal build script to use it

I still need to fill out README.md and write some proper documentation for this package, so opening as a draft for now, but I the code should be fine so I'd like to get some input on this.
We had also discussed creating a build utilities package, so I'm not sure if we want to have esp-metadata and esp-build (or whatever we name it), or if we want to just try and create a single package. Happy to hear any input, I'm kind of a fan of smaller single-use packages in this particular case but I don't feel strongly about this.
If anybody can think of any other functionality that would be useful, I'm more than happy to add it in this PR as well, so just let me know.

I'm kind of a fan of smaller single-use packages

Same for me. There might be slightly more maintenance overhead having it split whenever we need changes in both at the same time - not sure if that will ever happen
Another way to think about it might be: Is it likely some crate will use one but doesn't need the other. I think that is true. I can imagine crates using esp-build but don't need esp-metadata
This so far already looks quite good to me

I've rebased this branch and updated README.md, so I think this should be good to go. I will wait until we get our patch release out tomorrow to merge this, so will continue to stay in draft status.

I guess this is ready for final review/merging now.


New version: vim.vim.nightly version 9.1.0487

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-06-14 16:02:06.509 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.1.0487/gvim_9.1.0487_x86.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
(Automated response - build 886.)

/azp run

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-06-17 13:33:47.405 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.1.0487/gvim_9.1.0487_x86.exe Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
(Automated response - build 886.)

/azp run


Fix ipex model load issues

Signed-off-by: changwa1<EMAIL_ADDRESS>Type of Change
feature or bug fix or documentation or validation or others
API changed or not
Description
detail description
JIRA ticket: xxx
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

https://inteltf-jenk.sh.intel.com/job/intel-lpot-validation-top-mr-extension/3511/

Can you have a detail description for this issue?


Cannot update BoxView Document

I can create, view, delete but update:

Any ideas about this ideas? Thanks.

Looks like you got a 405 - Method Not Allowed error. I will try and investigate this when I have time. Have you been able to reproduce it? Are you still having this issue?


Community extensions: Add download counts

Partially implemented in https://github.com/duckdb/community-extensions/pull/160

Fully implemented in https://github.com/duckdb/duckdb-web/pull/3931


Report 1009 "Job Actual To Budget" Label Text000 to support Enum "Job Journal Line Type" values

In Report 1009,  Variable Text000: Label 'Resource,Item,G/L Account'  is not extendable to sync with Enum "Job Journal Line Type" values
Variable Text000 is used in below code:
column(JobDiffBufferType1; SelectStr(JobDiffBuffer.Type.AsInteger() + 1, Text000))
column(JobDiffBuffer2Type1; SelectStr(JobDiffBuffer2.Type.AsInteger() + 1, Text000))
As we extended Enum "Job Journal Line Type" ,  getting below error while running the  "Job Actual To Budget" report:
"The SourceExpr for report control 'JobDiffBufferType1' is not valid. The following error occurred: The SELECTSTR comma-string Resource,Item,G/L Account does not contain a value for index 50001."

Availability update: We will publish a fix for this issue in the next update for release 19.

Availability update: We will publish a fix for this issue in the next update for release 18.


Flow Summary tweaks

Add histogram of job durations
Whether SLA is set is always false
Display message if no jobs provide job stats
Display any warnings found during analysis

Hi David,
How do I enable Flow stats for command job types? I get "not stats" when I got to the tab


SignHere tabs not adding on document while creating signer recipient

I am creating Signer Recipient from REST C# SDK using EnvelopesApi "CreateRecipient" method. I am also putting SignHere tabs for the respective recipient on the basis of anchor text, but the tabs are not displayed in the signing email.
Am I missing anything?

Best would be for you ask your question on StackOverflow with the docusignapi tag. When you ask, include the API request as received by DocuSign. See tracing docs to get a copy of the trace.
There are more people watching the StackOverflow docusign feed. In any case, next step is to provide a copy of the API call/response trace.

Hi @pranavd, Please look into this article https://developers.docusign.com/esign-rest-api/guides/features/tabs and look for "Tab Placement Method 2: Auto-Place (Anchor Tagging)".
Thanks, Let us know if your issue is resolved.


CLOSURE [prog.go:13:9:var n int]
<unknown line number>: internal compiler error: assertion failed

Please file a bug report including a short program that triggers the error.
https://go.dev/issue/new

What did you expect to see?
No build error (except for unreachable code warnings from vet).

Thanks for the report.
cc @golang/compiler

this also affects non-loop labels https://go.dev/play/p/ylEUvtiBb1X

the general pattern here seems to be:

early unconditional return
declare a variable
declare a label
use the variable after the label.  assignments to _ will trigger the bug.  For loop labels, the variable usage can occur either inside the loop, or after.

We hit this in our "real code" due to an early unconditional return that was added near the top of a function to stub out something that wasn't ready yet.

Duplicate of #65593?

Yes, appears to be.


Support for internal services only, ie. expose service on <IP_ADDRESS> or on local network interface only

Our infrastructure consists of multiple hosts that run docker-based services, and bare-metal hosts that run long-running services.
All of our servers have public NIC cards and local-only network cards.
Is it possible to start up services using docker-flow-proxy that would expose port on the local network only (ie. REDIS, Memcached, etc.) that could be accessed by non-docker-members that sit on same local network? Or maybe it's possible to set up white lists of hosts that can access that particular service or not?
How would the routing work in this case? Would it know which NIC to use to get to the right host? Ie. hosts should expose service on local card only or will it expose through all interfaces but make it accessible by white-listed hosts only?
Thank you.

When you expose ports of a service, Docker does not really care whether that's internal or external network. Normally, you'd accomplish that with a security group that would control who has access to a port.
There is the option in the proxy to specify host(s) that can access certain service. However, that is not really secure since anyone can fake a host.

This issue is more related Docker networking so I'll close this ticket. Please reopen if you disagree.


[feat] Allow custom serializers in Response helpers

AsyncResponse and deserializeResponse reduce a lot of boilerplate for streaming over HTTP.
However, beyond (de-)serialization of async objects, the user might want serialization of other things too.  So, we should allow the user to provide custom serialization and deserialization methods in the above, defaulting to JSON.stringify() but allowing superjson, EJSON, etc.

Experimental API, undocumented for now as it's not final.  If you use this, please let me know here.
Allow transformer functions that can be overridden and chained together.  The following shows their default implementations:
new AsyncObjectSerialize(object, init, {
  transformers: [JSON.stringify]) // last func should return a string
});

await deserializeResponse(response, {
  transformers: [JSON.parse] // last func should return the final object
});


Error on trying to install FZF

Problems summary
When Dein try to install the plugins I see the following error:
Error detected while processing function <SNR>72_on_pull_exit[45]..<SNR>72_recache_rtp[7]..<SNR>72_reinstall_update_failed:
line    4:
E117: Unknown function: SpaceVim#logger#warn

Environment Information

OS: macOS 10.13.6

neovim :version output:

NVIM v0.4.0-dev
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/Users/gabriel/Downloads/neovim-nightly/build/config -I/Users/gabriel/Downloads/neovim-nightly/src -I/Users/gabriel/Downloads/neovim-nightly/.deps/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/Users/gabriel/Downloads/neovim-nightly/build/src/nvim/auto -I/Users/gabriel/Downloads/neovim-nightly/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

:checkhealth or :CheckHealth result:

health#coc#check
========================================================================
  - OK: Environment check passed

  - OK: Javascript bundle found
  - OK: Service started

health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: RelWithDebInfo

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: key_backspace=^H
  - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
  - INFO: $TERM_PROGRAM='iTerm.app'
  - INFO: $COLORTERM='truecolor'

health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: macOS-clipboard

## Python 2 provider (optional)
  - WARNING: No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
  - ERROR: Python provider error:
    - ADVICE:
      - provider/pythonx: Could not load Python 2:
          python2 not found in search path or not executable.
          /usr/bin/python2.7 does not have the "neovim" module. :help |provider-python|
          python2.6 not found in search path or not executable.
          /usr/bin/python does not have the "neovim" module. :help |provider-python|
  - INFO: Executable: Not found

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Executable: /usr/local/bin/python3
  - INFO: Python version: 3.7.4
  - INFO: pynvim version: 0.3.2
  - OK: Latest pynvim is installed.

## Ruby provider (optional)
  - INFO: Ruby: ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]
  - WARNING: `neovim-ruby-host` not found.
    - ADVICE:
      - Run `gem install neovim` to ensure the neovim RubyGem is installed.
      - Run `gem environment` to ensure the gem bin directory is in $PATH.
      - If you are using rvm/rbenv/chruby, try "rehashing".
      - See :help |g:ruby_host_prog| for non-standard gem installations.

## Node.js provider (optional)
  - INFO: Node.js: v12.8.0
  - WARNING: Missing "neovim" npm (or yarn) package.
    - ADVICE:
      - Run in shell: npm install -g neovim
      - Run in shell (if you use yarn): yarn global add neovim

How to reproduce the problem from neovim startup (Required!)
I followed the install steps on the README and on the first time I opened neovim I got this error.
Screenshot

Deleted some folders from previous fzf install and it did the trick, thanks.

@gfsd3v   hi  i found some error that  you used SpaceVim? should clean up .then instal ThinkVim


AC_SaCategory deletions

Following AC_SaCategory codes were deleted from RECO, without logging on this board or contacting RMG:
D8	Sardine echoes
D7	Anchovy fish echoes
D6	Mixed fish echoes
D5	Shelbreak fish echoes
D4	Fish echoes located above 30 m depth
D3	First layer of non-clupeiform fish echoes, located above the seabed
D2	Clupeiform fish echoes, located between 20 and 50 m above the seabed
D12	Sound scattering layers located below 30 m depth
D11	Sound scattering layers located above 30 m depth
D10	Noise, multiple seabed echoes, non-fish echoes
D1	First layer of non-clupeiform fish echoes, located at less than 20 m above the seabed

@HjalteParner , you're the first one to give chocolates/beers

@Osanna123 that was before we agreed on the chocolates/beers agreement! But sorry! I thought it would slip through your radar but apparently not. Anyhow these codes was created by mistake and shouldn't be used anybody anymore. So this deletion was to prevent the use again FYI.

@HjalteParner hoping that deletions will slip under our radar is not a good data management practice. So I must insist on beers/chocolates and on you using this board for documenting similar cases in the future.


Update advisor-cost-recommendations.md

Limitations section added to address RI/Discounts

#Sign-off

@ikhapova
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@sign-off


Cleanup binary stream print a little

isn't skip and address_offset the same thing? i.e. you want to skip over the first 100 bytes = I want to start printing at offset 100.

isn't skip and address_offset the same thing? i.e. you want to skip over the first 100 bytes = I want to start printing at offset 100.

@fdncred - oh, I thought that skip meant that you wanted to skip the first x bytes

@fdncred - oh, I thought that skip meant that you wanted to skip the first x bytes


Crashes on UWP (Xamarin.Forms)

First, I dont see Crashes working at all on UWP.
Also, I read your document and it is confising to me in these 2 points:

When you say crash reporting on UWP is only supported for AppCenter.Start and not through call to Crashes, then what is the point of it?  AppCenter.Start is what is called on App start.  That basically means no crash will ever been reported on UWP if I understand it correctly.

When you say "Crash reporting on Windows requires the app to be distributed through the Microsoft Store", that means crash reporting is only visible once you actually have an app in MS store?  That is pretty much saying distribute your app and trust us we will report crashes.  This is very conflicting with the above statement that crashes are only supported on AppCenter.Start and not on Crashes.

Can you clarify these points please

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

ID: 5756765e-fef2-e8d9-f8d9-5c01690095b8
Version Independent ID: b474e30a-6e59-97fc-476a-92be5ec3a01a
Content: App Center Crashes for UWP - Visual Studio App Center
Content Source: docs/sdk/crashes/uwp.md
Service: vs-appcenter
GitHub Login: @elamalani
Microsoft Alias: emalani

Hi there, what this means is that the only thing available right now is actually starting the crash service. This doesn't mean that it won't work at all - basic crash functionality will work, but all the other calls like isEnabled/setEnabled are not available.
2nd point you have understood correctly. As we already mentioned in the docs, we plan to improve App Center's Windows support in Summer 2019 and address all these limitations.
Here is the roadmap link for improved UWP support.

Hi there, what this means is that the only thing available right now is actually starting the crash service. This doesn't mean that it won't work at all - basic crash functionality will work, but all the other calls like isEnabled/setEnabled are not available.
2nd point you have understood correctly. As we already mentioned in the docs, we plan to improve App Center's Windows support in Summer 2019 and address all these limitations.
Here is the roadmap link for improved UWP support.

Thanks Anna, I understand you are working to improve it but what I am trying to point to is that 2nd point is pretty much saying "you cannot see how it looks, how good it reports, what it reports until you implement it and ship it to customer through playstore but as we explained in 1st point, it may or may not work, most likely wont work".  It is basically saying "stay away from this".  The documentation and provided information is literally conflicting itself.

Hi @dinobu - we understand this is a major limitation and we have plans to support crash reporting for UWP apps not distributed through the store (looking at the September time frame).
If you would like to better understand what App Center crash reporting has to offer, I'm happy to chat. Feel free to start a support thread (blue chat bubble) and our support team will triage the ticket accordingly.
Thanks for your patience!

Hi @dinobu - we understand this is a major limitation and we have plans to support crash reporting for UWP apps not distributed through the store (looking at the September time frame).
If you would like to better understand what App Center crash reporting has to offer, I'm happy to chat. Feel free to start a support thread (blue chat bubble) and our support team will triage the ticket accordingly.
Thanks for your patience!

Thanks @winnieli1208, I think it is best to see it my self once it is supported.

We'll let you know as soon as we have something for you to try out. In the meantime, you can follow our roadmap for updates.
Closing this issue. Thanks!

We'll let you know as soon as we have something for you to try out. In the meantime, you can follow our roadmap for updates.
Closing this issue. Thanks!

Do we have any updates on UWP Crashes for Xamarin.Forms for sideloaded apps ?  In the roadmaps " Support sideloaded UWP apps" shows as worked not started, Appriciate some updates on this.


Add Google Analytics 4 tracking

How do we handle GDPR compliance ? Do we just ignore it ?

@Blightwidow could you elaborate what "GDPR compliance" actually entails?
I'm completely ignorant of what GDPR is or effects of it.
p.s. we have added GA4 already to S2 and S9 which are in prod already

Google analytics uses cookies and such EU law requires us to display banners and allow users to refuse them if they want. We legally are forbidden from just enabling Google Analytics without prior consent.
Either we use a GDPR friendly analytics, or we have to handle popups and the users choices

@Blightwidow

And if they refuse, we just don't allow them to the website?
alright, so we have a problem with a release of S2 and S9 then
For S2 we also use local storage, I suspect this is cookie based, right? So even without GA4 we have a problem there with GDPR, right?

friendly ping


[BUG] Unable to enable IPV6 for fxserver

txAdmin/FXServer versions:
4.11.0
Describe the bug
I cannot enable IPV6 as i get the error "You MUST have at least one endpoint_add_tcp in your config"
To Reproduce
Change endpoint_add_tcp "<IP_ADDRESS>:30120" and endpoint_add_udp "<IP_ADDRESS>:30120" to endpoint_add_tcp "[::]:30120" and endpoint_add_udp "[::]:30120"
FXserver needs [::] as the ip to be able to use IPV6. <IP_ADDRESS> will not work

Thanks for the report.
This issue has been solved and will be available as soon as v4.15 is released.


Use regular button to call exportCSV.

I have a custom toolbar with a button which I want if possible to call the exportCSV button. The table header looks like
<BootstrapTable data={this.props.data}          options={options}         hover          condensed          exportCSV ={true}          striped          >
I have options declared
`const options = {
  toolBar : this.createCustomToolBar,

};`

And then my call to create the toolbar. `  createCustomToolBar = props => {
return (

        <RaisedButton
          backgroundColor = '#D1121F'
          labelColor ='white'
          label={'Export'}

        />
  </div>

);
}`
I was hoping for that raised button to export to CSV similiar to the ExportCSVButton. I'd prefer my own custom button to do that and was wondering if there is a way to still call the export functionality. If not is is possible to insert that ExportCSVButton into the toolbar. Most examples I've seen seem to just return the button as options rather then embedded.

@bconrad1 Please refer #1667
Thanks.

@prajapati-parth  Ahh perfect that worked just as needed. Thanks!

thanks @prajapati-parth


feat(graphql): adding a much richer resolver for retrieving entity-level privileges

Summary:
Extending the EntityPrivilegesResolver to add much more granular types.

new graphql fields for each privilege type
unit tests
update to frontend mocks

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

closing until we get more time to reopen this.


Remove obsolete after(apply_state_transition::<S>)

Objective

Fixes #7636.

Solution
apply_state_transitions::<S> runs in CoreSet::StateTransitions which is already scheduled before CoreSet::Update. Therefore explicitly scheduling OnUpdate after apply_state_transitions::<S> is not necessary.

bors r+


Deye SUN-20K-SG01HP3-AM2 Support

Inverter model: Deye SUN-20K-SG01HP3-AM2

Hi, I'd like to check if Deye SUN-20K-SG01HP3-AM2 will be supported? Is the any chance to do it before installation?

Hi! So far no one reported this inverter as compatible, so I can only make an educated guess here. Imho, most likely it will not work out of the box. This is a 3 phase hybrid inverter from SG01 product line. As for now, this tool supports SG01LP1 1 phase hybrid inverters (deye_hybrid) and SG04LP3 3-phase inverters (deye_sg04lp3).

@kbialek Thank you for explanation!

@Verkalets Perhaps it's something interesting for you https://github.com/kbialek/deye-inverter-mqtt/issues/41#issuecomment-1636741106

@Verkalets Please read this thread #110


Use a LDAP Server or ActiveDirectory to authenticate

Is your feature request related to a problem? Please describe.
Could be possible if the library use a LDAP or ActiveDirectory to authenticate and then return the JWT Token?
Describe the solution you'd like
So we could build like an interface where we would create the implementation and with it create the JWT Token with claims and any other thing required.

Yes is possible, however I think that implementation needs an exclusive package to doesn't force the project carry the LDAP dependencies without use.