WIP: Generate table expecteds for custom schema

Opening a PR to make sure new unittests run correctly in GitHub Actions. Description to be updated when PR is ready.

Hi, @lukewrites! Thanks for opening this PR!

In the file tdvt/tdvt/config_gen/test_creator.py:

Line 133:9: F841 local variable 'input_csv_columns' is assigned to but never used
Line 130:19: F523 '...'.format(...) has unused arguments at position(s): 0
Line 72:63: E252 missing whitespace around parameter equals
Line 72:62: E252 missing whitespace around parameter equals
Line 59:27: F523 '...'.format(...) has unused arguments at position(s): 0
Line 6:11: E401 multiple imports on one line
Line 6:1: F401 'csv' imported but unused

In the file tdvt/tdvt/constants.py:

Line 92:2: W292 no newline at end of file

In the file tdvt/tdvt/tdvt.py:

Line 467:1: E302 expected 2 blank lines, found 1

In the file tdvt/test/tdvt_test.py:

Line 968:27: F405 'json' may be undefined, or defined from star imports: tdvt.tabquery, tdvt.test_results
Line 967:70: F405 'TestOutputJSONEncoder' may be undefined, or defined from star imports: tdvt.tabquery, tdvt.test_results
Line 967:24: F405 'json' may be undefined, or defined from star imports: tdvt.tabquery, tdvt.test_results
Line 956:23: F405 'TestErrorExpected' may be undefined, or defined from star imports: tdvt.tabquery, tdvt.test_results
Line 709:121: E501 line too long (172 > 120 characters)
Line 704:121: E501 line too long (172 > 120 characters)
Line 699:121: E501 line too long (180 > 120 characters)
Line 567:121: E501 line too long (123 > 120 characters)
Line 251:18: F405 'get_path' may be undefined, or defined from star imports: tdvt.tabquery, tdvt.test_results

For reference: Error Code Reference, PEP8, Python code style


add leapseconds

OK, time-1.7 has to be uploaded first.

Can you add time-1.6 support? We won't upgrade time until it ships with GHC since depending on a newer version of a boot library causes issues when you depend on the ghc library.

No, it must depend on time-1.7. It sounds like this will have to wait until time-1.7 is in GHC.

I'll re-open this when that happens.


proxy: allow early freeing rcontexts

Any allocated request context would stay in memory attached to its function generator until the next reload, which would replace the function generators. A replaced fgen would eventually run out of attach references and cleanup itself, removing all rcontexts.
A one-time burst of concurrent request contexts would thus take up memory forever. With this change we use an easing function to slowly free unneeded request contexts.
This can help for both memory usage scenarios and instances where the GC is still used in the request path and tail latency can become poor.
TODO:

[x] Need specific tests.

There aren't tests monitoring stats proxyfuncs so something specific to this is probably necessary. We need to validate it across reloads and during various easing scenarios after temporary concurrent blasts.
Should be easier to test concurrency via pipelined requests than doing lots of client sockets. Numbers don't have to be huge they just have to be at least a few and then drop back down after many non-concurrent requests.

I'm out of steam and will resume monday. Tests prove it seems to mostly work. It sees total memory grow slightly when I increase the number of slots to test, but that could be lua stacks/registry expanding and the change is a few kilobytes so it's hard to tell if it's a leak or not.
Had to rearrange a lot of code. need to give one more thorough check that the lua stack is balanced properly when freeing data.
maybe extend tests for sub-rctx's and routers as well.

derp. one more fix (that didn't show up in lua memory..)

Edited tests locally to:

Load a few hundred slots
Reload
Repeat once per second forever

config VM memory and worker VM memory were 100% stable but total RSS would very slowly grow.
ran under valgrind and found one chunk of leaked memory per reload. Fixed and ran 500+ reload cycles with RSS being perfectly still.
Probably should complicate the configuration more and re-run the tests:

Prefix router
Multiple funcgens
Sub-funcs

run the change through shredders suite. then merge.

latest commit only affects usage of v2 with sub-routes.

Got a not wonderful but worktable shredders test going which demonstrates the slots bursting and then bleeding off quickly. The algorithm is definitely conservative with allowing a lot of alloc/frees to avoid leaving slot counts high for a long time.
I'd also like counters for slotcache hit/miss rate but that doesn't look trivial either.
I'll add to the TODO backlog for remaining optimizations and some extra counters when possible. Think this is done.


Fix null value of headers in HttpResponseMessageMockBuilder

This fixes a NPE point where user may want to set an HTTP header during a unit test:
        return request.createResponseBuilder(HttpStatus.OK)
            .header("Content-Type", "text/plain")
            .build();

Hey @jdneo can you take a look at this one?


FEEL variable scope resolution

Related to: camunda-modeler #4737
Proposed Changes

When script result variable and input with same names coexist, result variable overwrites the input variable.

When same name input/output mapping exists, the later one overwrites the previous one.

Checklist
To ensure you provided everything we need to look at your PR:

[ ] Brief textual description of the changes present
[ ] Visual demo attached
[ ] Steps to try out present, i.e. using the @bpmn-io/sr tool
[ ] Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

Requires fixed-upstream: https://github.com/bpmn-io/extract-process-variables/pull/30


USB Logger can fail/cause freezing if interrupts start too soon after StartLog

Seems like this is probably a callback function from the USB getting interrupted by the audio IRQs which are higher priority. Specifically I'm guessing the descriptor functions are getting interrupted, but I haven't stepped through everything myself yet.
A workaround for now is to use a delay (500ms seems acceptable) between StartLog and any subsequent Init or Start functions that would cause periodic interrupts.
Longterm we should add ScopedIrqBlockers to the functions that can cause issues when interrupted.

Also, possibly related to this, the freezing seems to trigger from hot-plugging the USB cable while the Daisy is powered.


feat: Add initial OSS-Fuzz testing integration

For a basic overview of our fuzzing initiative and OSS-Fuzz integration, see the README included in this PR.
There are many ways to integrate fuzz tests into a project. Instead of the structure proposed here, we might prefer to do things the way Golang does, with fuzz tests included in the packages themselves. This can evolve over time as we find something that works for us.

Can you clarify what FuzzJsonWeb does? Not sure what's enabled exactly (with OSS fuzz) by this PR.

For go-fuzz to build a binary for fuzzing, we write a function with the following signature: func Fuzz(data []byte) int. From go-fuzz:

Data is a random input generated by go-fuzz, note that in most cases it is invalid. The function must return 1 if the fuzzer should increase priority of the given input during subsequent fuzzing (for example, the input is lexically correct and was parsed successfully); -1 if the input must not be added to corpus even if gives new coverage; and 0 otherwise; other values are reserved for future use.

In this example, FuzzJsonWeb sets up the required structs in order to exercise this function.
I should note that there is something of an art to identifying good fuzz targets and writing these tests. This particular test (FuzzJsonWeb) is included here mostly as a way to test the OSS-Fuzz integration once https://github.com/google/oss-fuzz/pull/4038 merges.


Add BOBA API README

This adds explanation to each API

Codecov Report

Merging #209 (e548444) into develop (899abd4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #209   +/-   ##
========================================
  Coverage    47.20%   47.20%
========================================
  Files           99       99
  Lines         3866     3866
  Branches       762      762
========================================
  Hits          1825     1825
  Misses        2041     2041

Flag
Coverage Δ

boba-contracts
20.39% <ø> (ø)

contracts
77.71% <ø> (ø)

core-utils
86.77% <ø> (ø)

data-transport-layer
31.17% <ø> (ø)

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

Continue to review full report at Codecov.

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


Please create a release and take a tarball of it.

I am presently forced to include a clone in my automation instead of curl'ing a .tar.gz of a given release of the software.
cd /opt/google/
git clone https://github.com/GoogleCloudPlatform/compute-gpu-monitoring.git
cd /opt/google/compute-gpu-monitoring/linux
python3 -m venv venv
venv/bin/pip install wheel
venv/bin/pip install -Ur requirements.txt

would prefer to curl | tar x


Attempt to set open file limit during Pilosa startup. Fixes #722.

Overview
Attempt to set open file limit during Pilosa startup.
Fixes #722
Pull request checklist

[ ] I have read the contributing guide.
[ ] I have agreed to the Contributor License Agreement.
[ ] I have updated the documentation.
[ ] I have resolved any merge conflicts.
[ ] I have included tests that cover my changes.
[ ] All new and existing tests pass.

Code review checklist
This is the checklist that the reviewer will follow while reviewing your pull request. You do not need to do anything with this checklist, but be aware of what the reviewer will be looking for.

[ ] Ensure that any changes to external docs have been included in this pull request.
[ ] If the changes require that minor/major versions need to be updated, tag the PR appropriately.
[ ] Ensure the new code is properly commented and follows Idiomatic Go.
[ ] Check that tests have been written and that they cover the new functionality.
[ ] Run tests and ensure they pass.
[ ] Build and run the code, performing any applicable integration testing.

Would it appropriate to add tests that call this with different limits?

ah yea, we do need to check that this doesnt fail to compile/run on other
platforms we support
On Jul 26, 2017 12:29, "Cody Soyland"<EMAIL_ADDRESS>wrote:

@codysoyland commented on this pull request.
In holder.go
https://github.com/pilosa/pilosa/pull/748#discussion_r129673414:

@@ -351,6 +359,42 @@ func (h *Holder) flushCaches() {
}
}

+// setFileLimit attempts to set the open file limit to the FileLimit constant defined above.
+func (h *Holder) setFileLimit() {

lim := &syscall.Rlimit{}
var setLimit uint64
if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, lim); err != nil {

h.logger().Printf("ERROR checking open file limit: %s", err)

return

}
if lim.Max < FileLimit {

h.logger().Printf("WARNING: open file limit max is %d. Please consider running \"ulimit -n %d\" before starting Pilosa to avoid \"too many open files\" error.", lim.Max, FileLimit)

Maybe I can add a section to the documentation about these caveats and
provide the URL to that. Also, I have no idea how this works in other OSs
(Windows and BSD), so just describing the problem in more detail would be
good to help people along.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/pilosa/pilosa/pull/748#discussion_r129673414, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA4hc91adbI70JIJkC6JKZmrRHp8CdxGks5sR5N-gaJpZM4OjLTm
.

build fails on freebsd and dragonfly due to slightly different syscall interface it looks like:
[11:15:04]~/g/s/g/p/pilosa git:722-ulimit ❯❯❯ GOOS=freebsd go build ./cmd/pilosa
# github.com/pilosa/pilosa
./holder.go:372: invalid operation: oldLimit.Cur < FileLimit (mismatched types int64 and uint64)
./holder.go:373: cannot use FileLimit (type uint64) as type int64 in assignment
./holder.go:375: invalid operation: oldLimit.Max < FileLimit (mismatched types int64 and uint64)
./holder.go:376: cannot use FileLimit (type uint64) as type int64 in assignment
./holder.go:404: invalid operation: oldLimit.Cur < FileLimit (mismatched types int64 and uint64)

Good call on the FreeBSD build failure. I committed a patch that removes the type declaration from the const, allowing it to build successfully on FreeBSD. I did not, however, attempt to execute the binary on FreeBSD.


Question: How to return the transformation matrix from the imgaug.augmenters.geometric?

Hello, I successfully created used iaa.PerspectiveTransform(scale=(0.01, 0.30)) on a batch of images. Now I would like to get the transformation matrix (i.e. the Prespective Transformation matrix) that lead from the original image to the augmented image. How do  I get it?

There is no trivial way to do this, but you can re-generate the matrices. Something like the following should usually work (didn't test it though):
import imgaug.augmenters as iaa
import imgaug as ia
import numpy as np

# input images
images = [
    np.zeros((64, 64, 3), dtype=np.uint8),
    np.ones((128, 100, 3), dtype=np.uint8)
]

# augmenter
aug = iaa.PerspectiveTransform(scale=0.5, seed=1234)

# create matrices
samples = aug._draw_samples(
    shapes=[image.shape for image in images],
    random_state=aug.random_state.copy()
)
matrices = samples.matrices

# augment images
images_aug = aug(images=images)

Sorry for the late reply.

Hi, it seems the above code snippet does not quite work. Has the functions/parameters name been updated?

How to get matrix from affine transformation?
@aleju


No stream in examples/webrtc/index.html while it does work with the web interface

I have configured an instance of the RTSPtoWeb on a development machine on my LAN, and I can get a WebRTC stream connection to my camera and view the video no problem. However when I want to run the example index.html to try and create a custom page I'm not able to receive a stream.
Webpage console:
1 track is delivered index.html:33:19
Uncaught (in promise) DOMException: The fetching process for the media resource was aborted by the user agent at the user's request. index.html:34
WebRTC: ICE failed, add a TURN server and see about:webrtc for more details
In the server console:
ERRO[2022-01-06T23:07:21+01:00] WebRTC Client Offline                         call=WritePacket channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=demo
Since I'm running this all on LAN and video is working with the web-interface why can't I get the stream in the example index.html? I don't think I need a TURN server because the connection is working no problem in the web-interface. Also the server is fully reachable over LAN and there's no NAT in between me and the server.
Any input is appreciated!

Btw. the HLS and HLS-LL examples are both working fine. However a couple seconds of delay is unsuitable for my use-case because I need to control PTZ camera's

PTZ camera need optimisation HLS LL OR MSE current version best (low latency) only WebRTC


docker: install buildx from GitHub Releases

Description
related to https://dockercommunity.slack.com/archives/C7S7A40MP/p1701735186713239

Installation of Docker Buildx currently relies on docker-ce packages: https://github.com/actions/runner-images/blob/3a0da34c4894c3a3013966edfbf528f98ba0d5db/images/ubuntu/scripts/build/install-docker.sh#L19
As stated in https://github.com/docker/docker-ce-packaging/issues/859#issuecomment-1558958080

Releases of plugins (more factually: publishing of .deb and .rpm packages for those on download.docker.com) are currently coupled with releases of the Docker Engine and CLI. This is a limitation in the current release-pipeline, which was created when "docker" was a single package, and the only "release vehicle" was the Docker Engine release. Docker being a single package is no longer the case (e.g., we now have separate packages for the docker CLI, the Docker Engine (dockerd), as  containerd, compose, buildx, etc).

Therefore plugins such as Buildx will be released only when a new version of Docker is published. For latest Buildx 0.12.0 it means it will be for next Docker 25 which will not happen any time soon (afaik).
To mitigate this issue and make sure customers are on latest stable when using GitHub Runners we can install Docker Buildx from GitHub Releases like it's currently done for Docker Compose.
cc @shamil-mubarakshin @tonistiigi @thaJeztah @colinhemmings
Related issue:
Check list

[ ] Related issue / work item is attached
[x] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

I'm a bit on the fence; download.docker.com are the official packages we provide; if we can't ship things in time, we should fix that.

Hey @crazy-max, Thank you for the contribution! We would not like to change current installation method due to maintenance concerns.

Hey @crazy-max, Thank you for the contribution! We would not like to change current installation method due to maintenance concerns.

Hey! So what about compose then? I guess you should use docker-compose-plugin package instead of grabbing from GH release?

@crazy-max we slowly moving towards providing non-latest but pinned package versions for docker toolset (including docker-ce, compose etc), due to latest versions may break customers some unexpected ways, technically we can install compose from the apt repo instead of the GitHub, but I guess the cost of that change would be nothing in terms of gains? (I mean there is no difference between docker compose packages as a deb package in the apt repo vs docker compose distributed as a GitHub release).


MESA ERROR

Windows Version
Microsoft Windows [version 10.0.26120.1542]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 24.04
Other Software
No response
Repro Steps
When I use the GUI, I usually see error messages related to rendering, but they don't generally affect usage:
> gz sim
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

> emacs
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization

However, recently when using gnome-font-viewer, I encountered the following:
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
WARNING: dzn is not a conformant Vulkan implementation, testing use only.
WARNING: Some incorrect rendering might occur because the selected Vulkan device (Microsoft Direct3D12 (NVIDIA GeForce RTX 3070)) doesn't support base Zink requirements: feats.features.logicOp have_EXT_custom_border_color have_EXT_line_rasterization
MESA: error: Failed to attach to x11 shm

It displays a transparent box, making it unusable.
Expected Behavior
I hope there is a solution to open gnome-font-viewer. In fact, I don't really understand graphic rendering and am not sure whether the problem lies with OPENGL, MESA, dzn, or Vulkan.
Actual Behavior
MESA: error: Failed to attach to x11 shm
Diagnostic Logs
No response

WslLogs-2024-09-08_15-52-03.zip

Diagnostic information
.wslconfig found
	Custom kernel found: 'C:\Windows\System32\lxss\tools\kernel'
Detected appx version: <IP_ADDRESS>

The kernel was compiled and installed by me using the kernel from https://github.com/microsoft/WSL2-Linux-Kernel. Detailed version information:
commit e458890574d4b6d635880180ef9e5d2b621ff577 (HEAD -> linux-msft-wsl-6.6.y, tag: linux-msft-wsl-<IP_ADDRESS>, origin/linux-msft-wsl-6.6.y, origin/HEAD)
Merge: 149cbd13f7c0 6cb123f853df
Author: Mitchell Levy<EMAIL_ADDRESS>Date:   Tue Sep 3 14:23:23 2024 -0700

    Merge tag 'rolling-lts/wsl/<IP_ADDRESS>' into linux-msft-wsl-6.6.y

    Linux rolling-lts/wsl/<IP_ADDRESS>

    Signed-off-by: Mitchell Levy<EMAIL_ADDRESS>

don't run wslg stuff as root

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

don't run wslg stuff as root

Thank you for your suggestion! However, I am not using the root account. The problem is still there

try
ln -sf  /mnt/wslg/runtime-dir/wayland* /run/user/0/
dbus-run-session gnome-font-viewer


Client stuck loading

With server running client loads but is stuck here:

Nothing in console. Client log:
[15253:1028/094659:ERROR:browser_main_loop.cc(185)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[15278:1028/094700:INFO:renderer_main.cc(200)] Renderer process started
[15282:1028/094700:INFO:renderer_main.cc(200)] Renderer process started

I have found on situation that can cause this, if a module can't be found it can break things at the beginning of the current view file and lock you in this state.
If that happened, however, there would be a JavaScript error in the console (web dev tools and in the command window).
Just adding that to the record as a possible clue.

@jjeffryes I now see this in console though it's likely unrelated:
/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details.

I think it's in one of the modules. Didn't seem problematic.

Is there any way to manually force a profile call?

Starting the client makes a profile call.

Mine doesn't, that's the problem here. Didn't know if I could do that manually with the dev tools in client.

The app tries to load the profile 10 times when it starts up, and if all 10 fails, tries again with the default local server. If all of those fail, there is probably something wrong with your server or your installation.

@SamPatt, are you still running into this problem?

On my local Ubuntu 12.04, yes, this is still a problem.
I upgraded my laptop to Ubuntu 14.04 and it isn't a problem on there.


Emulsify Design System update

What does it do?

Changes to new emulsify_design_system instead of emulsify
Fixes references to match new "Emulsify Design System" language instead of "Emulsify with Gatsby"

How to test

Run composer install
Verify unified_twig_extensions is not in the modules directory but Emulsify's new dependency emulsify_twig is.
Verify code changes look accurate.

Questions
Should core and/or web be gitignored?

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Example with simple chatbot? Blogs?

Hello,
I think candle is very interesting. I am looking for a minimal example of a chatbot. Is there any? A monthly blog would be great.
So it would be easier to start with candle.
Thanks
best regards Gerhard

a 8-bit quantized, cuda llama 3 with tide server - https://medium.com/p/cecadd083aec
comparing rustformers and candle - https://medium.com/p/88e1bd4c49fe


Missing PWM_MAIN_REV* params in v1.8.0

I'm not longer able to see the PWM_MAIN_REV* params in the latest v1.8.0 release; neither in QGC v3.3.2 or in the nsh console.  The ailerons of my Wing Wing Z-841 are moving in the opposite of the correct stabilization direction. If these params have been removed in  v1.8.0, then which param should I now use to revert the roll correction in stabilized mode?  Notice that everything works properly in Manual mode so I don't need to change or reset the RC inputs.  The issue is within the latest firmware release.

Which flight controller are you using?

mRo PixRacer R14

With a current Pixhawk 4 it all looks good. I'm closing this for now.

Ok, but I'm not using the Pixhawk 4.  Did you test it with the Pixracer?

@hamishwillee Can we document this in the user guide? We should change the comment string so it discusses the autopilot component MAIN / AUX are each connected to.
The naming is unfortunate:

MAIN: IO
AUX: FMU

Pixracer has only FMU, so it has only AUX. I need to figure out why the *_DIS parameters show up at all - there should be none there.

Fix in code is here:
https://github.com/PX4/Firmware/pull/9917
@hamishwillee Please close the issue once documentation is updated.


support for hexfloat notation

I'd love to see support for C++ std::hexfloat style formatted floating point numbers. Thanks!

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

ID: 6a5c135d-ace1-1f09-041a-13411c054ff3
Version Independent ID: 083fc572-d877-2216-19a9-326636c1d8e6
Content: Format specifiers in the debugger (C++) - Visual Studio
Content Source: docs/debugger/format-specifiers-in-cpp.md
Product: visual-studio-dev15
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@louis-langholtz It looks like you have product feedback rather than documentation feedback. If you are looking for functionality that isn’t currently provided by the product, please use our “Suggest a feature” option in the Visual Studio Developer Community. We’d be happy to have this on record, where others can view it and upvote it, too. For more information about this works in the dev community, see our Suggest a feature page.


Implementing Import wallet as per new design

Design screenshot

Design link https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/08c3257c-5dcb-4071-8200-9f2d126a3b19/

Was not able to see this changes in 1.2.7 (352)

Not completed still it shows old screen

Completed


Update README.rst

Hello and cheers for the cool vim9script plugin.
Here are the modifications to the README:

Removed cd ~/prj. Let user chose where to clone.

Removed repetition of git clone command.

Changed $HOME/.local to $(HOME)/.local for convenience.

Added note about dirs created by ii.

Added additional notes about window-splits

Regards, Woland.

thx!

Glad to help!


Does this work with px.strip

I was excited to hear of plotly-resampler, as it seems to address my use-case very well.
However, I've been benchmarking this on some plotly figures that use px.strip - and I'm not seeing performance improvements.
Does plotly-resampler work with px.strip?
https://plotly.com/python/strip-charts/

Digging into it a bit, it seems px.strip uses the code for box-plots under the hood, specificaly the part that renders all the boxpoints
https://github.com/plotly/plotly.py/blob/696c30bf0131e8786a9dce050b772c1063550c6f/packages/python/plotly/plotly/express/_chart_types.py#L677

I assumed this was using some for of px.scatter under the hood but now I'm not sure - but any thoughts about supporting this in plotly-resampler?

I see this was clarified in https://github.com/predict-idlab/plotly-resampler/issues/195
Any ambition to support other "scatter like" trace types?

Hi @mkleinbort-ic,
Currently, we are exploring supporting aggregation of data to candlestick traces :)


Heroku-16 build failing on Docker Hub

The last set of builds on https://hub.docker.com/r/heroku/heroku/builds/ failed, with error:
fatal: Remote branch heroku-16 not found in upstream origin

The "Branch" and "Dockerfilefile Location" settings on the Docker Hub Build Settings page need updating (docs) after #53.
Whilst on Docker Hub, I don't suppose the Cedar-14 image (here) could be fixed to point to this repo rather than the tt/stack-images fork, so it picks up updates too?
Many thanks :-)

I reconfigured it to use the master branch.
It's not currently possible to change the repository association but I certainly plan to do so when the feature becomes available.

Ah yes I now see docker/hub-feedback#313 about not being able to change the GitHub repo link.
Many thanks for fixing heroku-16 :-)


Disable output of kirki-styles.css

I tried every solution that can be found here, or around the web. No success...
Using latest develop with theme mods.
Kirki Config
Kirki::add_config( 'bo', array(     'option_type' => 'theme_mod',     'capability'    => 'edit_theme_options',         'option_name'   => 'bo',     'disable_output' => true, ) );
If plugin isn't used, loading kirki from within theme
if( ! class_exists('Kirki') ) {     include_once( dirname( __FILE__ ) . '/inc/adm/kirki/kirki.php' ); } require_once('options-config.php');

can't replicate any longer in the 3.0-dev so closing this one.


[CP Staging] Fix select all checkbox is not checked when all items are checked

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/44801
PROPOSAL: https://github.com/Expensify/App/issues/44801#issuecomment-2208111103
Tests

Submit some expenses in a WS or a DM
Go the the search expense page
Click on the select all checkbox
Verify that all item are selected and select all checkbox is also checked
Go to the search shared page
Click on the select all checkbox
Verify that all item are selected and select all checkbox is also checked

[x] Verify that no errors appear in the JS console

Offline tests

Same as above
QA Steps

Submit some expenses in a WS or a DM
Go the the search expense page
Click on the select all checkbox
Verify that all item are selected and select all checkbox is also checked
Go to the search shared page
Click on the select all checkbox
Verify that all item are selected and select all checkbox is also checked

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/161821005/fb9ce611-4588-409a-9bee-5386bf328c82

Android: mWeb Chrome
https://github.com/Expensify/App/assets/161821005/f2fbe27f-d79f-48f2-90bb-9ec4e3aa842d

iOS: Native
https://github.com/Expensify/App/assets/161821005/95c41e75-78b1-48fc-91a7-17b173f3c62f

iOS: mWeb Safari
https://github.com/Expensify/App/assets/161821005/84981460-e5c0-4964-9548-f6f0aa73e61f

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/161821005/4851a4d8-e311-4549-95f3-26e8cb2f4450

MacOS: Desktop
https://github.com/Expensify/App/assets/161821005/81621ab0-fae4-4aae-a0db-26f58fa9b10b

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@c3024 @dukenv0307 whoever can get this done faster 😄

I am dropping. Let @dukenv0307 review. I am ready if there is any other PR that needs urgent review. @mountiny

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.4-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.4-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Sign in to confirm you’re not a bot. this helps protect our community. learn more

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Viet Nam
Provide a description that is worded well enough to be understood
how to fix? Sign in to confirm you’re not a bot. this helps protect our community. learn more
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[Error] :sign in to confirm you’re not a bot. this helps protect our community. learn more

Duplicate of https://github.com/yt-dlp/yt-dlp/issues/10108
No known fix yet (except change IP?)

Duplicate of #10108
No known fix yet (except change IP?)

I do believe that you are correct, changing my IP has corrected the issue for me atleast.

Provide cookies fixed the issue for me, but this is not practical. Is there any alternative way?
yt-dlp --cookies youtube_cookies.txt <video_url>

If anyone has this issue on production, can use the proxy from another and use it on the production server. Below link explains in depth
https://chatgpt.com/share/d98b0924-c157-4609-88c8-80910dad2fe3


Internalize sequence combinator to controller.

Squashed all of #1473 and fixing some defects.
Fixes #995.
Fixes #992.
Fixes #1253.

pg2/610.

Merged as ca15c68d348a2a02cf9da54475e96b43d48a3dac

@ioana-blue up to you to close #992, #995 and #1253.


Allow users to supply a custom cancelReader

This enables callers to supply their own form of TTY cancellation.
We have our own Windows TTY library based on ConPTY, and would like
to use it with bubbletea, but it's not possible unless we can provide
our own form of read cancellation.
I'm not certain this is the best approach by any means, so suggestions are welcome!

So once we merge #222 we should update this PR to get it where it needs to be in order to merge. Off the cuff, I imagine this would be best implemented as a ProgramOption, so something alone the lines of WithCancelReader(io.Reader).

Hey guys, it's been a bit. Do you still have a need for something like this? If so, what's your use case?


What should i do, if i want uninstall/upgrade to latest version gdrive

First time using gdrive, I just trying install it following online tutorial which is current version is gdrive: 2.0.1. Then now I want uninstall / upgrade latest version which is appropriate to my OS, ubuntu 64bit
Thanks in advance

To uninstall you can simply remove gdrive binary and ~/.gdrive/ folder.
To update replace your gdrive binary with the appropriate one from here
We'll include an installation script in a future release.


unable install ceph on ubuntu 20.04 (Focal)

Bug Report
What happened:
I followed a tutorial to setup a cluster for ceph, but the installation failed with the following error message
TASK [ceph-common : configure debian ceph stable community repository] ***************************************************************************************************
Saturday 18 February 2023  13:31:30 +0000 (0:00:01.178)       0:00:32.668 *****
fatal: [ceph01]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'
fatal: [ceph03]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'
fatal: [ceph02]: FAILED! => changed=false
  msg: 'Failed to update apt cache: E:The repository ''https://download.ceph.com/debian-pacific focal Release'' does not have a Release file.'

What you expected to happen:
All steps should have finished with status "OK".

all.yml
dummy:
ceph_origin: repository
ceph_repository: community
ceph_stable_release: pacific
monitor_interface: ens33
public_network: <IP_ADDRESS>/24
cluster_network: <IP_ADDRESS>/24
osd_mkfs_type: xfs
dashboard_enabled: True
dashboard_protocol: http
dashboard_port: 8443
dashboard_admin_user: admin
dashboard_admin_password: admin@admin123
grafana_admin_user: admin
grafana_admin_password: admin@admin123

osds.yml
dummy:

devices:
  - /dev/sdb
  - /dev/sdc
  - /dev/sdd
osd_auto_discovery: false

inventory
[mons]
ceph01
ceph02
ceph03

[osds]
ceph01
ceph02
ceph03

[grafana-server]
ceph02

/etc/hosts
<IP_ADDRESS> ceph01
<IP_ADDRESS> ceph02
<IP_ADDRESS> ceph03

Environment:

OS (e.g. from /etc/os-release):  Ubuntu 20.04.5 LTS
Kernel (e.g. uname -a): Linux 5.4.0-100-generic
Docker version if applicable (e.g. docker version): -
Ansible version (e.g. ansible-playbook --version) : ansible-playbook 2.10.17
ceph-ansible version (e.g. git head or tag or stable branch):: pacific stable-6.0
Ceph version (e.g. ceph -v):

@farshadasadpour Have you tried to run sudo apt update on all the hosts? As you can see the Release file is available for focal https://download.ceph.com/debian-pacific/dists/focal/

Yes , before started palybook, I have done update and upgrade all hosts


feat: change log retention period to one week

Description
Decreases log retention period to a week.
Is this change user facing?
YES

Would it be possible to make the log retention period configurable instead? 1w still seems excessive for some usecases.

With the debug logs I have 150 Gb of logs after 1-2 days running 2 nodes

Yep! @barnabasbusa I'll make it configurable for hourly and daily log retention and send you a PR!


Build fails on :compileRetrolambdaInternalDebug

This is from a fresh checkout of the repo. JAVA8_HOME is set as /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
Information:
Gradle tasks [:generateInternalDebugSources, :generateInternalDebugAndroidTestSources, :assembleInternalDebug]
:preBuild UP-TO-DATE
:preInternalDebugBuild UP-TO-DATE
:checkInternalDebugManifest
:preInternalReleaseBuild UP-TO-DATE
:preProductionDebugBuild UP-TO-DATE
:preProductionReleaseBuild UP-TO-DATE
:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:prepareComAndroidSupportDesign2301Library UP-TO-DATE
:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:prepareComF2prateekRxPreferencesRxPreferences100Library UP-TO-DATE
:prepareComJakewhartonProcessPhoenix102Library UP-TO-DATE
:prepareComJakewhartonRxbindingRxbinding020Library UP-TO-DATE
:prepareComJakewhartonThreetenabpThreetenabp102Library UP-TO-DATE
:prepareComJakewhartonTimberTimber401Library UP-TO-DATE
:prepareComMattpreciousTelescopeTelescope150Library UP-TO-DATE
:prepareComSquareupLeakcanaryLeakcanaryAndroid131Library UP-TO-DATE
:prepareIoReactivexRxandroid101Library UP-TO-DATE
:prepareInternalDebugDependencies
:compileInternalDebugAidl UP-TO-DATE
:compileInternalDebugRenderscript UP-TO-DATE
:generateInternalDebugBuildConfig
:generateInternalDebugAssets UP-TO-DATE
:mergeInternalDebugAssets UP-TO-DATE
:generateInternalDebugResValues UP-TO-DATE
:generateInternalDebugResources UP-TO-DATE
:mergeInternalDebugResources UP-TO-DATE
:processInternalDebugManifest UP-TO-DATE
:processInternalDebugResources UP-TO-DATE
:generateInternalDebugSources
:preInternalDebugAndroidTestBuild UP-TO-DATE
:preProductionDebugAndroidTestBuild UP-TO-DATE
:prepareComAndroidSupportTestEspressoEspressoCore221Library UP-TO-DATE
:prepareComAndroidSupportTestEspressoEspressoIdlingResource221Library UP-TO-DATE
:prepareComAndroidSupportTestExposedInstrumentationApiPublish041Library UP-TO-DATE
:prepareComAndroidSupportTestRules041Library UP-TO-DATE
:prepareComAndroidSupportTestRunner041Library UP-TO-DATE
:prepareInternalDebugAndroidTestDependencies
:compileInternalDebugAndroidTestAidl UP-TO-DATE
:processInternalDebugAndroidTestManifest UP-TO-DATE
:compileInternalDebugAndroidTestRenderscript UP-TO-DATE
:generateInternalDebugAndroidTestBuildConfig
:generateInternalDebugAndroidTestAssets UP-TO-DATE
:mergeInternalDebugAndroidTestAssets UP-TO-DATE
:generateInternalDebugAndroidTestResValues UP-TO-DATE
:generateInternalDebugAndroidTestResources UP-TO-DATE
:mergeInternalDebugAndroidTestResources UP-TO-DATE
:processInternalDebugAndroidTestResources UP-TO-DATE
:generateInternalDebugAndroidTestSources
:processInternalDebugJavaRes UP-TO-DATE
:compileInternalDebugJavaWithJavac FAILED
:compileRetrolambdaInternalDebug FAILED
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':compileInternalDebugJavaWithJavac'.
> When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':compileRetrolambdaInternalDebug'.
> Directory '/Users/eliasbagley/src/u2020/build/retrolambda/internalDebug' specified for property 'inputDir' does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================
Information:BUILD FAILED
Information:Total time: 0.743 secs
Error:FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':compileInternalDebugJavaWithJavac'.
> When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':compileRetrolambdaInternalDebug'.
> Directory '/Users/eliasbagley/src/u2020/build/retrolambda/internalDebug' specified for property 'inputDir' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
==============================================================================

Information:1 error
Information:0 warnings
Information:See complete output in console

I don't really know what to say here. It works locally and it works on Travis CI.
Are you sure the environment variable works? Try adding a task to print it out:
task javaHome << {
  println System.getenv('JAVA8_HOME')
}

and run with ./gradlew javaHome.

It works after rebooting everything. I set the JAVA8_HOME variable and Android Studio must not have picked it up until after it reloaded.


Cannot read property 'extend' of undefined

I'm getting this error when clicking on the share button.
It works but it throws this error..
My dependencies:
  "devDependencies": {     "bootstrap-vue": "^0.16.1",     "element-theme-default": "^1.3.4",     "element-ui": "^1.2.8",     "laravel-mix": "^0.8.3",     "moment": "^2.18.1",     "vue": "^2.1.10",     "vue-blu": "^0.1.9",     "vue-cookie-law": "^1.0.2",     "vue-progressbar": "^0.7.1",     "vue-resource": "^1.3.1",     "vue-router": "^2.4.0",     "vue-social-sharing": "^2.*",     "vuex": "^2.2.1"   }

As i said, it still works but it throws this strange error, i tryied to update my dependencies but im still having the same error...
Thanks for you help!

Hello @Ismaaa,
Are you sure that this error comes from vue-social-sharing?
There is no extend property anywhere in the code.
Could you check the file at the line pointed in the console error (app.js:12257:15) to verify where the error come from?
Or provide a https://jsfiddle.net/ test that fails or something that can help get me started to debug this

The error comes from:

All right, i'll try to reproduce this on jsfiddle

Fixed! It was a problem with VueRouter

How?

Paste your router.js file here

How??


Si7021 by Sonoff

Hi, I'm usinng your library in various proyects, it's great !!
I'm trying to use it with the sensor that's came with Sonoff TH.
It's a board that include Si7021 sensor and some circuits to comunicate with 1 wire.
To make this work I have to change the wakeup delay to a value near 500 microseconds
If I coment lines :
 do   {     // HANDLE PENDING IRQ     yield();     // 180 gives good wakeup delay on UNO for DHT22 / DHT11 (issue #72)     delayMicroseconds(180UL);     }   while((micros() - startWakeup) < (_wakeupDelay * 1100UL));
and change for delayMicroseconds(500UL);  its work well.
I wonder if there is a way to configure this without having to edit the library?
Thanks in advance

Thanks for the issue.
I will investigate later today.

@phiguimaran
Pushed initial version of experimental Si7021 support. (not tested as I have no such sensor)
I added the SI7021 to the auto detect part in read().
Please download the develop branch and test if this sensor detection works.
You need to add Serial.println(sensor.getType())  after the read() function.
If detection does not work:

force the type to 70 by using the next line in setup()

sensor.setType(70);

Good morning, and thanks for the fast update.
I tested and the type autodetection works well.
The problem is the total delay now is 720 (because 180x3 < 550 so the next iteration add 180 micros more)
With 720 this sensor doesent work.
Let me test delay min and max that makes the sensor works well and see if it can be a 180 multiple
I'll tell you the results in a bit

Good afternoon (15:30 here)
I can patch those numbers relative easily, only thing is that delayMicroseconds() uses a multiple of 4 on AVR.
Can reduce to 40  instead of 180.

Perfecto I need a time for test and determine a stable wakeupdelay multiple of 40
I write you later

Well, I make a lot of test and de only way I can use the Sonoff Si7020 stably is the next:
line 71: #define DHTLIB_SI7021_WAKEUP          (500UL)
line 233:   if ((_type == 22) || (_type == 70)) // DHT22, DHT33, DHT44, compatible
line 360:
if (_type==70){
delayMicroseconds(500);  }
else {
original loop
}
This board is extremely sensitive about wekeup time.

Thanks for your extensive testing,
I will fix in the library as you proposed. Will be done within 15 minutes.
Need to order such sensor myself to do more testing.

Branch pushed, build is running

@phiguimaran
I've updated the code to your proposal  - used the #define DHTLIB_SI7021_WAKEUP
Other changes do not affect the code

Add RP2040 pico in build-CI
Add CHANGELOG.md  => removed history from .cpp file

Unless there are problems I will merge later today.

@phiguimaran
Merged develop branch into master, feel free to reopen this issue if needed.

@phiguimaran
FYI https://github.com/RobTillaart/DHTNew/issues/81

Hi Rob, I was away for the weekend.
You made the changes very quickly :-)
I can't test it today but y see line #183
if (_type == 22)    //  DHT22, DHT33, DHT44, compatible
should be
if ((_type == 22) || (_type == 70)) // DHT22, DHT33, DHT44, compatible
otherwise we get wrong readings
best regards

From - https://github.com/RobTillaart/DHTNew/issues/81
A DHT22 got recognized as a type 70 and still got good data.
Need to look at the code to see if I understand what is happening.

Yes, understand the issue
(exactly the reason testing is so important).

TOPIC is continued in #84


[Remote rendering problem] Native Cpp Not working

Describe the problem
I have altered the account keys, account ID and domain to the correct domains and put in my assets SAS URL. Yesterday I was able to get an active rendering session show up on the azure dashboard(it didn't work), however today I'm not even getting a active rendering session show up on the dashboard. I am getting an exception thrown at Exception thrown at 0x00007FF7D38A6598 in HolographicApp.exe: 0xC0000005: Access violation writing location 0x00007FF8E5EBF7D0.
I am using the hololens 2 and visual studio 2019 however, I have left the project in VS2017 v141 toolset. ARM64 and release mode.
Provide additional information
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000AB355FCFE8.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000AB355FCC10).
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000AB355FCD68.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000AB355FC990).
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\PerceptionDevice.dll'.
'HolographicApp.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx11arm64um850.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\advapi32.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\FWPUCLNT.DLL'.
'HolographicApp.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000AB355FD1D8.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000AB355FCE00).
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\Windows.StateRepositoryClient.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\schannel.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\TextShaping.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\BCP47mrm.dll'.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000AB355FECF8.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000AB355FE920).
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\mskeyprotect.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\ntasn1.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\ncrypt.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\ncryptsslp.dll'.
'HolographicApp.exe' (Win32): Loaded 'C:\Windows\system32\cryptnet.dll'.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000AB355FE348.
Exception thrown at 0x00007FF90A1939EC in HolographicApp.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF90A1939EC (KernelBase.dll) in HolographicApp.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000AB355FDF70).
Exception thrown at 0x00007FF7D38A6598 in HolographicApp.exe: 0xC0000005: Access violation writing location 0x00007FF8E5EBF7D0.

If you have them, please provide either or both of the following:

The sessionId (See here)
An MS-CV code (See here)

Additional context
Add any other context about the problem here.

I have tried with a directx11 sample holographic application copying and pasting the relevant areas of code and it seems like I am getting similar results with WinRT originate error. And another error:
D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: There are no viewports currently bound.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FCC68.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FC890).
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FC9E8.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FC610).
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\PerceptionDevice.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\DXGIDebug.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\d3d11_3SDKLayers.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Unloaded 'C:\Windows\system32\d3d11_3SDKLayers.dll'
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdx11arm64um850.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\forwarders\advapi32.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\d3d11_3SDKLayers.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'B:\Windows\System32\DriverStore\FileRepository\qcdx_ffu850.inf_arm64_3f3ec3a0cb26c5d1\qcdxarm64compiler850.DLL'.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FCD18.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FC940).
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\Windows.StateRepositoryClient.dll'.
'AzureRemoteRenderingTesting.exe' (Win32): Loaded 'C:\Windows\system32\BCP47mrm.dll'.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FE8F8.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FE520).
D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: There are no viewports currently bound.  If any rasterization to RenderTarget(s) and/or DepthStencil is performed, results will be undefined. [ EXECUTION WARNING #384: DEVICE_DRAW_VIEWPORT_NOT_SET]
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FDC28.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FD850).
D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: There are no viewports currently bound.  If any rasterization to RenderTarget(s) and/or DepthStencil is performed, results will be undefined. [ EXECUTION WARNING #384: DEVICE_DRAW_VIEWPORT_NOT_SET]
D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: There are no viewports currently bound.  If any rasterization to RenderTarget(s) and/or DepthStencil is performed, results will be undefined. [ EXECUTION WARNING #384: DEVICE_DRAW_VIEWPORT_NOT_SET]
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: WinRT originate error - 0x80040111 : 'ClassFactory cannot supply requested class'.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: winrt::hresult_class_not_available at memory location 0x000000F9EA7FD9E8.
Exception thrown at 0x00007FFDED4339EC in AzureRemoteRenderingTesting.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FFDED4339EC (KernelBase.dll) in AzureRemoteRenderingTesting.exe: 0x40080202: WinRT transform error (parameters: 0x0000000080040111, 0x0000000000000000, 0x0000000000000027, 0x000000F9EA7FD610).

Hello and thanks for your report!
We have identified a problem in the session creation logic of the native C++ sample. It tries to connect to the runtime while the session is still starting up. It is unfortunately not a single line fix, so this will be fixed with the next SDK update that will be released within the next days.
However, there is a code path in the HL sample that does work today: If you specify a valid session ID through this member:
    m_sessionOverride = ""; // If there is a valid session ID to re-use, put it here. Otherwise a new one is created

inside function HolographicAppMain::HolographicAppMain
To create a valid session using your local PC, you can use the powershell script RenderingSession.ps1 which is in the repo as well. Note that you need to put in your credentials into the sibling file arrconfig.json.
When you run the script, it will start a session (it may take a few minutes) and output the session ID to the powershell console. You can copy that ID and paste it into the m_sessionOverride member and then compile&deploy the sample again.
See also this chapter: https://docs.microsoft.com/azure/remote-rendering/samples/powershell-example-scripts
Sorry for the inconveneience!.
Florian

Thank you for your time in explaining what is going wrong. I thought I was going barmy! Will the code from the sample be updated along with the sdk?

yes, the sample code will be fixed and part of the next SDK. If it was only a few lines of code, I would post it here, but it is actually more ;-)

One more quick question, what is "clientInit.toolId = "";" I am unsure what the sample name is in this context.

You can ignore the toolId, it does not serve a specific purpose outside logging. However, it must not be empty.

And now I'm running into a bad gateway issue on azure! today is going great! :D
message":"The server for this session encountered an error: Long running operation failed with status 'BadGateway'.","sessionElapsedTime":"00:00:00","sessionHostname":null,"sessionId":"xxxx-xxx-xxxx--xxx","sessionIp":null,"sessionMaxLeaseTime":"01:00:00","sessionSize":"Standard","sessionStatus":"Error","teraflops":0.0

I have seen problem has been reported today as well and it is under investigation

I think the universe is telling me to work on something else in the mean time. I've tried on eastus2 and westeurope if that helps at all. Cheers for the fast responses :)

hehe, yes, one of those days...
and yes, it seems to affect all regions if I'm not mistaken

fwiw, you can query the Azure status here:
https://status.azure.com/status

Thanks I've managed to test it again after a meeting, it seems to create the VM just fine and it seems like I'm getting access to it through the app. I was just wondering from a rendering standpoint, if the mesh doesn't have any textures will it still show up? And does the rendered object show where the default cube is? When you do the tap gesture should the model move to the new default cube location?
I have a feeling it is not showing anything because of this error:
D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced: There are no viewports currently bound.  If any rasterization to RenderTarget(s) and/or DepthStencil is performed, results will be undefined. [ EXECUTION WARNING #384: DEVICE_DRAW_VIEWPORT_NOT_SET]
I seem to be getting these errors intermittently: Unhandled exception at 0x00007FFDC7168E88 (Microsoft.Holographic.HybridRemoting.dll) in HolographicApp.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

Regarding your questions:

I was just wondering from a rendering standpoint, if the mesh doesn't have any textures
will it still show up?
Yes, untextured objects are supported, they will just have plain color material as defined in the source material. But the built-in engine model has textures.

And does the rendered object show where the default cube is?
The loaded object will be right at your head position. In case of the default engine model, you are even slightly inside it.

When you do the tap gesture should the model move to the new default cube location?
There is currently no logic in the sample to move the object along with the cube, but that would be simple to add of course. The purpose of this sample is to show the fastest path to see something on device, so we purposely left away all other code.

I have a feeling it is not showing anything because of this error:
Does it mean you are not seeing the engine model? Or are you testing with your own model?
What does the text panel say? Does it transition into connected state and then load the model (with percentage progress indication?)

D3D11 WARNING: ID3D11DeviceContext::DrawIndexedInstanced
I think you can gracefully ignore that warning, but I will check with my colleagues.

I seem to be getting these errors intermittently: Unhandled exception at 0x00007FFDC7168E88
Hmm, that should of course not happen. When is it triggered? Have you started from inside VisualStudio, so you have a callstack?

Hi, I have started it within visual studio but I converted the sample to v142 so it might be an incompatibility on that front. However, I am getting a InvalidToken( 1500), result now from the Result enum class.
I am using my own geometry but I have break points in the AzureRemoteRenderingTesting::AzureRemoteRenderingTestingMain::UpdateStatusText() function because the status display doesn't work when moving to v142 because the std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t> toWChar; is no longer supported in C++ 17 standard https://en.cppreference.com/w/cpp/locale/codecvt_utf8.
I am unsure where these errors occur as it is a lot of stepping over into non available pdb files.

There is a new version of the sample online now. Would be worthwhile to check it out and go from there,,,

There is a new version of the sample online now. Would be worthwhile to check it out and go from there,,,

It is working now, I've setup a session within the application took about 250 seconds, slightly slower than setting one up on the desktop with powershell. But its working! cheers for the update. First time I ran it however, I still get this error: I seem to be getting these errors intermittently: Unhandled exception at 0x00007FFDC7168E88 (Microsoft.Holographic.HybridRemoting.dll) in HolographicApp.exe: 0xC0000005: Access violation reading location 0x0000000000000000. not sure why.

Glad to hear it works now!
I'll log a ticket for the intermittent nullptr crash for further investigation.

Is it possible to scale the geometry that is being rendered at azure? The model I imported was huge!

There are basically two options:

You can scale the asset at conversion time
You can dynamically scale objects at runtime if you apply scaling to the root entity. When you call LoadModel, you can pass a parent entity (it is null in the C++ sample) and if that entity is already scaled, the model will appear scaled right after loading.

In your case, it sounds a bit like an asset problem, so I would rather do this at conversion time.
Here is how to apply scaling at conversion time:
https://docs.microsoft.com/en-us/azure/remote-rendering/how-tos/conversion/configure-model-conversion#geometry-parameters
Cheers,
Florian

slightly slower than setting one up on the desktop

I have no explanation why that might be the case - it might be pure coincidence? We see quite a bit of variation for the bring-up times in general.

Is it possible to scale the geometry that is being rendered at azure? The model I imported was huge!

There are basically two options:

You can scale the asset at conversion time
You can dynamically scale objects at runtime if you apply scaling to the root entity. When you call LoadModel, you can pass a parent entity (it is null in the C++ sample) and if that entity is already scaled, the model will appear scaled right after loading.

In your case, it sounds a bit like an asset problem, so I would rather do this at conversion time.
Here is how to apply scaling at conversion time:
https://docs.microsoft.com/en-us/azure/remote-rendering/how-tos/conversion/configure-model-conversion#geometry-parameters
Cheers,
Florian

Thank you, I'm quite new to directx in general this is my first real project where I've used it at all. I'll have a look through the documentation, would you recommend looking at any other material for some understanding?

Yeah, my room has spotty wifi at times so that might have been a factor.

Fwiw, network/Wifi quality should not affect the spin-up times for sessions, because once triggered, it is a process that runs in Azure to install and set up the VM and which reports back when done.

I'm quite new to directx in general this is my first real project where I've used it at all.

The documentation in Azure Remote Rendering has barely any information on DirectX. In fact, this is (currently) the only DX/C++ sample and it focuses on the integration of ARR, rather than DX itself. But if you want to learn DX, there are great resources out there (I would then prefer to develop on desktop PC rather than HL, just for the turnaround times ;-) )
Most users actually prefer to work with the Unity integration, because many things are so much easier there. For instance UI elements or status text display. For comparison, look at how complicated a simple text status display is when you have to write it from scratch. This native sample is for users who do not shy away from low level DX programming and/or who have a native DX based codebase in place already.
Cheers!

Is it possible to scale the geometry that is being rendered at azure? The model I imported was huge!

There are basically two options:

You can scale the asset at conversion time
You can dynamically scale objects at runtime if you apply scaling to the root entity. When you call LoadModel, you can pass a parent entity (it is null in the C++ sample) and if that entity is already scaled, the model will appear scaled right after loading.

In your case, it sounds a bit like an asset problem, so I would rather do this at conversion time.
Here is how to apply scaling at conversion time:
https://docs.microsoft.com/en-us/azure/remote-rendering/how-tos/conversion/configure-model-conversion#geometry-parameters
Cheers,
Florian
would this be the usage of positioning the hologram?
RR::ApiHandleRR::Entity e;
Microsoft::Azure::RemoteRendering::Double3 a = { 0, 0, 0 };
e->Position() = a;
params.Parent = e;

Two things:

The new entity must be created, rather than being a local variable. Creating a new entity is a member function on the RemoteManager object (RemoteManager::CreateEntity)

The 'setter' for the position property is currently counter-intuitive, so it should be rather:
e->Position(a);
instead of
e->Position() = a;
(this may be fixed in the future. Personally I prefer when getters and setters in C++ are properly named as GetPosition/SetPosition)
It seems the docs a re locking a paragraph how to create a new entity here:
https://docs.microsoft.com/en-us/azure/remote-rendering/concepts/entities
I will add that doc...

Here is a new docs paragraph with some code how to create a new entity:
https://docs.microsoft.com/en-us/azure/remote-rendering/concepts/entities#create-an-entity

Thanks that's great! I have tried the sample once more this morning and I can't even run it anymore I'm plagued with the:
Unhandled exception at 0x00007FFF73598E88 (Microsoft.Holographic.HybridRemoting.dll) in HolographicApp.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
it happens within Windows.graphics.holographic.h
template <typename D> Windows::Foundation::IReference<Windows::Graphics::Holographic::HolographicStereoTransform> consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::TryGetViewTransform(Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
{
    Windows::Foundation::IReference<Windows::Graphics::Holographic::HolographicStereoTransform> value{ nullptr };
    check_hresult(WINRT_SHIM(Windows::Graphics::Holographic::IHolographicCameraPose)->TryGetViewTransform(get_abi(coordinateSystem), put_abi(value)));
    return value;
}

When does this crash happen? Right at startup (before the display text shows anything)?
When you deploy to HL, can you make sure the device is not in sleeping mode, but rather shows the Pins-panel?

When does this crash happen? Right at startup (before the display text shows anything)?
When you deploy to HL, can you make sure the device is not in sleeping mode, but rather shows the Pins-panel?

It will show the animated hologram that goes around the real world where you start a deployment of an app. So just as it finishes deploying, nothing is shown on the screen, I've tried to step through the code but it goes through a lot of .dll files I assume ( or things I dopn't have the binaries for). The device isn't in sleeping mode it's on the start menu.

Hi,
just to let you know that we are still investigating the crash in Microsoft.Holographic.HybridRemoting.dll.
In the meanwhile I was able to reproduce it a few times and my finding is that having active breakpoints makes it much more likely to happen. Probably because the internal state switches to 'disconnected' when it does not tick for a second and then the code continues to operate on stale objects.
So I recommend running the sample without any breakpoints.

Some news here, we were able to fix this problem and the fix will be in the next release, the one after current 2020-06-24. The timeframe for that release is mid/end of next week.


Add support for Caracoltv.com

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Colombia
Example URLs
https://www.caracoltv.com/se-dice-de-mi/pedro-rendon-fue-contagiado-con-una-enfermedad-de-transmision-sexual-pr30
https://www.caracoltv.com/se-dice-de-mi/asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30
https://www.caracoltv.com/se-dice-de-mi/deje-la-actuacion-y-dediquese-a-cantar-asi-fue-como-fernando-allende-se-apropio-de-los-escenarios-pr30
Provide a description that is worded well enough to be understood
yt-dlp can't list the formats available and neither download any type of video or audio stream from the website.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vF', 'https://www.caracoltv.com/se-dice-de-mi/asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-07-14-git-882aac99d2-essentials_build-www.gyan.dev (setts), ffprobe 2022-07-14-git-882aac99d2-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://www.caracoltv.com/se-dice-de-mi/asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30
[generic] asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.caracoltv.com/se-dice-de-mi/asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1431, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1506, in __extract_info
  File "yt_dlp\extractor\common.py", line 644, in extract
  File "yt_dlp\extractor\generic.py", line 4108, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.caracoltv.com/se-dice-de-mi/asi-fue-como-jairo-varela-contacto-a-mauro-castillo-para-ser-parte-del-grupo-niche-pr30

Geo-block

Translation from google translate:

Due to your location you cannot see the content, but we invite you to stay connected with the best information at Caracoltv.com.

To Dev:
There's an attribute that possibly define the video location. Here's what i mean:
data-mediastream='[{"playerId":"f8dfd039d955c4181a9ff8b2a0eca362a","sourceUrl":"https://mdstrm.com/embed/","videoId":"62c0dab657e59e082e39a803" }]
Maybe we can get the video in <sourceUrl>/<videoId>. In this i got the same notice ( about the geo-block), so consider this untested


Fix problems referencing partial 'global/nav' from layout

Layout didn't get the app id appended to it, so referencing a partial
with a name 'global/nav' resulted in the monkeypatching expecting that
the app id was 'global'. Additionally, even if the monkeypatched vesion
received a valid raw path, the raw version was never attempted.
This is fixed in two ways:

First, we add the app id to the layout sent to any 'render' call
except for layout: false
Second, we add a fallback to the monkeypatching where we simply try
what express would do with the raw path parameter

The tests show both problems.
Of note is the fact that the problem can be fixed by #2 alone, but then
it always checks the filesystem twice. The change for #1 avoids that.

I'll submit another request with everything based on 0.3.1.


Select Predict tab prior to Fit bug

If user selects Predict tab before Fit - and endless loading screen appears with no error.

fixed when changed loading screens


Upgrade YARP dependency to v0.10.0

Motivation
There's one breaking change that impacts us in v0.10.0: variables and constant names where changed to symbols instead of strings.
Implementation

Upgrade the YARP requirement
Upgrade the YARP RBI and the annotations generated by our scrappy template
Fix the error in our indexer by turning constant names into strings

Should we migrate to 0.11 while at it?


Resize cocktail image to fit page when "Generate recipe image"

It appears as though many pictures are too large to fit in the generated recipe image, leaving a blank space.

Hello,
Can you send an example of such image?

This looks like an issue with image loading. There were some updates related to images recently.
Trying clearing your site cache.
Also, does the picture show when you create a public link, and visit it. For example: https://bar.karlomikus.com/e/cocktail/01HCAEG2TWSEVPJHXMHJBMSWRJ/airmail-1

That's weird, I'll do some digging.
Is there any error in the console/network?

CORS issue, will be fixes in next release


test

This PR's title doesn't match our requirement.
Please make sure your title includes the corresponding Jira id.
@JYC0413, please update it.


fixed titlebar not being updated - issue #16

this fixes issue #16 in your latest dwm build :)

after a little research the commit 6f7de76 includes brackets properly properly placed :)


doesn't compile with XCode 8.2

I could not compile your demo

Hey,
thanks for you reaching out and reporting this issue. The demos under contentful-labs are used as-is for demo purposes. We might fix it at some point, but right now I cannot confirm any time line ...
Thanks again,
Mario


Improve score of goreportcard

[Changed Summary]

Add document for exported function suggested by golint
Fix coding style ( it suggested by golint )
Fix some codes by using gocyclo

Thanks!!