Embedded Captions not displaying as expected on Live Stream in 2.5.6

We have a live stream with captions in the manifest of the stream:
Example: https://ctv.iview.abc.net.au/video/IV1512H001S00
We are listening for the 'texttrackvisibility' event and call 'setCaptionsVisibility but, we can't get the captions to display! Any suggestions would be appreciated?

That link directs me to a loading screen, and then a blank screen. I don't see any video playing, nor does the network tab show any record of a manifest being loaded. One of the files loaded does contain an error message saying that content is unavailable outside of Australia, so that might be the problem?
Anyway, I'm not sure what you meant by calling setCaptionsVisibility; that's not a function in Shaka Player. Did you mean setTextTrackVisibility? That shouldn't require waiting for a texttrackvisibility event, either; if you call setTextTrackVisibility(true) before text tracks are loaded, it should turn on text tracks by the time some tracks have loaded.
Can you see captions if you use our UI layer? If they aren't showing up even then, it might be a problem with your content instead.

I have discovered something interesting with this.
We are using the NPM version of the library. When using the CDN hosted version this works as expected.
Using the NPM version enabling captions does start loading the text track but the captions are not displayed.
Are there any known issues / differences between the hosted lib and the NPM lib?

OK just downgraded our NPM version from 2.5.6 to 2.5.5 and captions have returned.
This might need to be set to a bug with 2.5.6?

@murrumbidgee63 Hi just wondering if we should raise a separate issue or can we convert this issue to a bug?
We cannot upgrade to version 2.5.6 due to this.

Converted to a bug.  Sorry for the delay!  We will investigate.  Thanks!

Could you please provide some form of reproduction steps for your issue? The link you provided does not play any sort of video for me.

That will most likely be due to Geo blocking.
Can you confirm if you can play this URL please? This stream is not geoblocked.
https://ctv.iview.abc.net.au/video/NS1413V001S00

That stream plays for me, yes.

Just checked this issue on 2.5.7 which was released today. Unfortunately it is still an issue.
Embedded captions display fine for live stream in 2.5.5 but do not display in 2.5.6 or 2.5.7

@stuartflanagan, we never closed the issue or claimed it fixed, so this is to be expected.  We'll try to get it fixed soon, but a lot of us are off work for the winter holidays right now.

Seeing this issue as well - also on Chromecast.

Reverting to Shaka 2.5.5 in CAF

Hi @madsva, i have the same issue,
Can you please tell me how to revert to Shaka 2.5.5 in CAF ?
Best regards.

Reverting to Shaka 2.5.5 in CAF

Hi @madsva, i have the same issue,
Can you please tell me how to revert to Shaka 2.5.5 in CAF ?
Best regards.


Docs captions

This pull requests add some captions to the documentation so it becomes visually easier to differentiate between sections. Although this feature is not linked to any open issue, I see it as a first step for other documentation related tasks.
I thought this could be an interesting simple feature. Caption names were selected without previous discussion, so let me know if some change is required.

With captions (PR)
Without captions (Current)

Tests fixed, this will need a rebase :arrow_forward:

Tests fixed, this will need a rebase arrow_forward

Thanks for the fix! Rebasing... :rocket:

Windows failure is the one we've been observing lately #959 merging!


About unified memory in Cupy

Hi CuPy team,
Is there any documentation describing which CuPy functions supports  unified memory ?
So far I've tested two examples. The first one is a dot product between large vectors, which worked for me:
import cupy as cp
pool = cp.cuda.MemoryPool(cp.cuda.malloc_managed)
cp.cuda.set_allocator(pool.malloc)
size = 32768
a = cp.ones((size, size)) # 8GB
b = cp.ones((size, size)) # 8GB
cp.dot(a, b)

and the second, is a simple SVD test:
import os
import time
import numpy as np

import cupy as cp
from cupy.cuda.memory import malloc_managed

cp.cuda.set_allocator(malloc_managed)

tAccum = 0
x = np.random.random ((50000,10000))
print ("MB ", x.nbytes/1024)

t0 = time.time()
d_x = cp.asarray(x)
t1 = time.time()
dt = t1 - t0
print('H to D transfer ',  dt,  ' sec')

tAccum += dt

t0 = time.time()
d_u, d_s, d_v = cp.linalg.svd(d_x)
t1 = time.time()
dt = t1 - t0
print('SVD ', dt, ' sec')

tAccum += dt

t0 = time.time()
u = cp.asnumpy(d_u)
s = cp.asnumpy(d_s)
v = cp.asnumpy(d_v)
t1 = time.time()
dt = t1 - t0
print('D to H transfer ',  dt, ' sec')

tAccum += dt
print ('Total ', tAccum, ' sec')

which fails with the following error:
Traceback (most recent call last):
  File "svd.py", line 25, in <module>
    d_u, d_s, d_v = cp.linalg.svd(d_x)
  File "/gpfs/alpine/world-shared/stf011/nvrapids_0.11_gcc_6.4.0/lib/python3.7/site-packages/cupy-7.1.1-py3.7-linux-ppc64le.egg/cupy/linalg/decomposition.py", line 307, in svd
    buffersize = gesvd_bufferSize(handle, m, n)
  File "cupy/cuda/cusolver.pyx", line 1237, in cupy.cuda.cusolver.dgesvd_bufferSize
  File "cupy/cuda/cusolver.pyx", line 1242, in cupy.cuda.cusolver.dgesvd_bufferSize
  File "cupy/cuda/cusolver.pyx", line 440, in cupy.cuda.cusolver.check_status
cupy.cuda.cusolver.CUSOLVERError: CUSOLVER_STATUS_INVALID_VALUE

We are doing  benchmarking on Power9 to know the behavior of CuPy for datasets bigger than 16 GB and knowing about what CuPy features work and what doesn't with unified memory will allow us to progress faster.
PD, according to this technical report, section 3.6
https://developer.nvidia.com/sites/default/files/akamai/cuda/files/Misc/mygpu.pdf
unified memory can be expressed in cuSolver
Thanks,
Benjamin

This looks like an error in cuSOLVER due to using too large arrays.
The function that fails does not get any memory pointer, just the size of the matrix to compute the size of the auxiliary buffer.
Seems related or a duplicate of #2351

@pentschev  @jakirkham

This looks like an error in cuSOLVER due to using too large arrays. But I don't think it is related to unified memory.
The function that fails does not get any memory pointer, just the size of the matrix to compute the size of the auxiliary buffer.
Seems related or a duplicate of #2351. Can you try CUDA 9?

Seems this is because input matrix is bit too large so that it requires work buffer with more than 2G elements causing overflow in cusolverDnDgesvd_bufferSize...

Maybe, size_t should be used as data type for lwork.

Situation might be better in CUDA 10.2 since it should requires smaller work buffer compared with CUDA 10.1. But seems another issue happens in cusolverDnDgesvd called after cusolverDnDgesvd_bufferSize...
Traceback (most recent call last):
  File "repro1.py", line 32, in <module>
    d_u, d_s, d_v = cp.linalg.svd(d_x)
  File "/home/anaruse/.pyenv/versions/3.6.8/lib/python3.6/site-packages/cupy-8.0.0a1-py3.6-linux-x86_64.egg/cupy/linalg/decomposition.py", line 409, in svd
    workspace.data.ptr, buffersize, 0, dev_info.data.ptr)
  File "cupy/cuda/cusolver.pyx", line 1272, in cupy.cuda.cusolver.dgesvd
  File "cupy/cuda/cusolver.pyx", line 1281, in cupy.cuda.cusolver.dgesvd
  File "cupy/cuda/cusolver.pyx", line 440, in cupy.cuda.cusolver.check_status
cupy.cuda.cusolver.CUSOLVERError: CUSOLVER_STATUS_INVALID_VALUE

Thanks Akira! Very insightful as always 😄
A somewhat recent discussion came up in regards to int usage in CUB and the conclusion was register pressure makes size_t unreasonable ( https://github.com/NVlabs/cub/issues/129 ). Is that the same issue here? If so, it would be interesting to get unsigned for m and n at least.
So if users want to scale beyond this, I guess they should use some out-of-core processing library like Dask. Is that right? Or are there other options before using out-of-core tools? 😉

So if users want to scale beyond this, I guess they should use some out-of-core processing library like Dask. Is that right? Or are there other options before using out-of-core tools? 😉

Not sure if this counts as your "out-of-core" solution, but I think cuSOLVER has multi-GPU routines. Unlike multi-GPU cuFFT, though, this is not yet supported in CuPy. An ongoing discussion is in #2742.

Good point! Thanks Leo 😄
Yeah I would call that multi-core. Normally I think of out-of-core as a solution where not everything can fit in memory (admittedly that is not exactly the limitation here).
Agree multi-core solutions are worth exploring as well 🙂

Thank you all for your comments and feedback.
Good to know it is not a problem directly related to how CuPy's uses unified memory.
@emcastillo @anaruse @leofang We are testing/benchmarking CuPy and NV Rapids with large memory allocations in Summit supercomputer using its production environment. Our ultimate goal is to offer scalable CPU and GPU based analytics to our users.

@benjha Awesome! I know @nlaanait @dxm447 @jqyin are also doing some work using CuPy on Summit. Please do keep us posted for your benchmarks! 🙂

FYI, respose from cuSolver team.
GESVD checks if the matrix size exceeds 32-bit signed integer or not because API only supports 32-bit integer.
In this case, size of matrix U exceeds 2^31-1 .
The constraints do not mean GESVD cannot work for large dimension, it is simply a condition that we set up for 32-bit sign integer.
We are working on 64-bit API to resolve this issue.

Can I know have the issue resolved?

From what @anaruse reported, the problem is not coming from CuPy itself, so I think the issue is solved.

Which version of Cuda toolkit is OK?

There is not currently a working version, you will have to wait for the next CUDA release and the date has not been announced yet.

Situation might be better in CUDA 10.2 since it should requires smaller work buffer compared with CUDA 10.1. But seems another issue happens in cusolverDnDgesvd called after cusolverDnDgesvd_bufferSize...
Traceback (most recent call last):
  File "repro1.py", line 32, in <module>
    d_u, d_s, d_v = cp.linalg.svd(d_x)
  File "/home/anaruse/.pyenv/versions/3.6.8/lib/python3.6/site-packages/cupy-8.0.0a1-py3.6-linux-x86_64.egg/cupy/linalg/decomposition.py", line 409, in svd
    workspace.data.ptr, buffersize, 0, dev_info.data.ptr)
  File "cupy/cuda/cusolver.pyx", line 1272, in cupy.cuda.cusolver.dgesvd
  File "cupy/cuda/cusolver.pyx", line 1281, in cupy.cuda.cusolver.dgesvd
  File "cupy/cuda/cusolver.pyx", line 440, in cupy.cuda.cusolver.check_status
cupy.cuda.cusolver.CUSOLVERError: CUSOLVER_STATUS_INVALID_VALUE

I meet the same question as this, as the matrix input is too large(60k * 60k), how to solve this problem?

We are waiting for nvidia folks to solve this, as this is a cuda related issue and not a cupy one.
right now it is not solved.
Maybe in the next CUDA release?


[Поле пошуку] Input text covers the search icon and cross icon

Environment: Windows 10 Pro., Google Chrome
Reproducible: always
Build found: last commit
Preconditions
Open website on a home page https://speak-ukrainian.org.ua/dev/
Steps to reproduce

Go to 'Поле пошуку'
Enter Програмування, робототехніка, STEM

Actual result
Input text covers the search icon and cross icon

Expected result
Input text should not cover the search icon and cross icon

User story and test case links
User story #77

for display resolution 2560 x 1600 bug is still present

Input text does not cover the search icon


Image are not readable in dark theme

Most images on this page have a transparent background. When using the dark theme, the black text is not readable.
Images should have a white background as the first image.

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

ID: f23363fd-0777-63f3-3a2f-0e5062968a39
Version Independent ID: 9abd2dc6-d872-4369-5fa4-fab497b53357
Content: Windows Sandbox architecture - Windows security
Content Source: windows/security/threat-protection/windows-sandbox/windows-sandbox-architecture.md
Product: w10
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Fair point. The dark text needs a white background, at least as a background for the text, to keep it readable.
I assume this needs some layer editing, so my skills are not sufficient yet to provide a working sample.
I hope someone else in this project have got those skills already, otherwise this may take some time to solve.

I've created a PR https://github.com/MicrosoftDocs/windows-itpro-docs/pull/8789 that changes the background of these images to white.

Thanks. That solves my immediate worry about how this ticket should be solved. I admit that I have acquired some ambition toward discrete editing of transparent images, so only the text is contrasted on opaque background, while the rest of the image not covered by figures or text could be transparent. But that is in my future, not the present.
Glad to see that you have acquired the knowledge to create a PR and how to make it reference & close a ticket resolved by the PR.


[Compatibility] - Ready Set Roll

[ ] Ready set rolls key mappings
[ ] Check how to add advantageMode attribution on the generated RSR chat messages, or create an API for modules to get the relevant results as needed.

Closing with #79
(more work might be needed).


Camera Crash with NTP String

The camera crashes when using the NTP string PST8PDT,M3.2.0,M11.1.0.  Have to reset SD card and leave the NTP string blank to get the camera to work.  Unfortunately the camera clocks are all wrong.

What string do you mean?
Timezone or NTP Server?

TimeZone String

Please, check the last commit.

The last commit looks to fix it! 👍

@AmbiguousCA did you apply the change to your system.sh file like was done in the commit? There isn’t a new release yet. You need to edit the yi-hack/scripts/system.sh file on your sd card

Thanks for your assistance.  Updating the system.sh file works.  Much appreciated.


Remove the ProcessorArchitecture portion from the full name as it's obsolete

PR Summary
Remove the ProcessorArchitecture portion from the full name as it's obsolete in .NET 7.0
https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assemblyname.processorarchitecture?view=net-7.0
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.

Should we clean up all code base? I see 13 files with ProcessorArchitecture. Ex., we could hide the parameter in cmdlet.

I didn't think that far. This PR is an attempt to resolve the CI test failures in https://github.com/PowerShell/PowerShell/pull/18286, but it seems not sufficient to make those tests work.

Clear. We could do the cleanup in follow PR(s).

I have verified that this change will fix the test failures in https://github.com/PowerShell/PowerShell/pull/18286. Will merge this one and rebase the other.

/backport to release/v7.3.0-rc.1


Rotation in odrviewer.io not possible, zoom mousewheel direction inconsistent

I noticed that the it is not possible to rotate the view in https://odrviewer.io/ like it is in https://sebastian-pagel.net/odrviewer/
Also the direction of the mouse wheel zoom is inconsistent (between https://odrviewer.io/ and https://sebastian-pagel.net/odrviewer/).
I recommend you to use the same direction as https://www.google.com/maps/ does (also Blender and many other tools), since most of the people are used to that:

Mousewheel up -> Zoom in
Mousewheel down -> Zoom out

I agree with the zoom direction. I updated that to zoom out on mouse wheel down. About the rotation: Is it not possible at all for you to rotate or is the rotation behaviour different from  https://sebastian-pagel.net/odrviewer/ ? Which platform and controls (touch or mouse) are you using?

It was not possible for me to rotate at all. Is it supposed to be on right mouse button or maybe middle mouse? I think I was using Firefox on Linux. But I guess it would make sense to test the most common browsers like Chrome, Firefox, Safari, Edge on Windows, Linux, Mac, iOS and Android.

I tested it on Ubuntu 18.04 with Firefox 98.0.2 and Chrome 91.0.4472 as well as on MacOS Safari 15.4 and Firefox 98.0.2 and had no issues.
Are you pressing the pressing the Shift key while dragging the mouse to rotate?

I see, pressing shift does work indeed. I find that super non-intuitive though. Most 3D applications have rotation directly on one of the mouse 3 buttons, including https://sebastian-pagel.net/odrviewer/
So I would prefer that.

Thanks for pointing out the rotation on right mouse button. I added that now. So the behaviour should be like https://sebastian-pagel.net/odrviewer/. I still want to keep PAN on the left mouse button as I feel it's used more frequently than rotation for navigating maps.

Nice. I am okay with you deciding which mouse button does what, that is not consistent between most 3D applications anyway..
What would be cool would be an additional 3D ego shooter like flight mode.


[Readme] Docker commands

It would be good to explain when stopping and removing the docker image is useful. After the initial commit... doesn't make sense.

Thanks for the feedback, we've added an explanation on the readme.


Duplicate fields on generated interfaces

In some cases, the generated interfaces can contain duplicate fields,
coming from multiple fragments.
This will cause TS errors.

Oh, I guess this is a duplicate of #73. Closing.
(But my PR is still relevant.)


Wheel support for linux aarch64 [arm64]

Summary
Installing azure-uamqp-python on aarch64 via pip using command "pip3 install azure-uamqp-python" tries to build wheel from source code
Problem description
azure-uamqp-python doesn't have wheel for aarch64 on PyPI repository. So, while installing azure-uamqp-python via pip on aarch64, pip builds wheel for same resulting in it takes more time to install azure-uamqp-python. Making wheel available for aarch64 will benefit aarch64 users by minimizing azure-uamqp-python installation time.
Expected Output
Pip should be able to download azure-uamqp-python wheel from PyPI repository rather than building it from source code.
@azure-uamqp-python-team, please let me know if I can help you building wheel/uploading to PyPI repository. I am curious to make azure-uamqp-python wheel available for aarch64. It will be a great opportunity for me to work with you.

hey @odidev , apologize for keeping you waiting for such a long time.
If I'm understanding it correctly, aarch64 is a subset of the ARM architecture, so the question here is to provide pre-built wheels for the ARM architecture (ARM32/64). And your suggestion sounds reasonable to me.
I'll bring team's attention to this topic of multi-arch wheel support and let you know how we wanna approach this.
cc: @lmazuel @annatisch

hey @odidev , apologize for keeping you waiting for such a long time.
If I'm understanding it correctly, aarch64 is a subset of the ARM architecture, so the question here is to provide pre-built wheels for the ARM architecture (ARM32/64). And your suggestion sounds reasonable to me.
I'll bring team's attention to this topic of multi-arch wheel support and let you know how we wanna approach this.
cc: @lmazuel @annatisch

@yunhaoling, did you get any suggestion form the team on multi-arch wheel support?

@yunhaoling, did you get any suggestion form the team on multi-arch wheel support?

Manylinux2014 ensures that the wheel is built against the AArch64 v8.0 specification. All AArch64 platforms in the v8 series maintain backward compatibility with v8.0. So a binary built for v8.0 can run on any v8 platform. Enabling aarch64 wheel support will benefit arm v8 series users by reducing installation time.
@lmazuel, @annatisch, @yunhaoling can you please let me know if you are interested in releasing aarch64 wheel support.

Manylinux2014 ensures that the wheel is built against the AArch64 v8.0 specification. All AArch64 platforms in the v8 series maintain backward compatibility with v8.0. So a binary built for v8.0 can run on any v8 platform. Enabling aarch64 wheel support will benefit arm v8 series users by reducing installation time.
@lmazuel, @annatisch, @yunhaoling can you please let me know if you are interested in releasing aarch64 wheel support.

hey @odidev, we would be happy to add support, but we first need to investigate how to manully build the whls on the the AArch64 platform.
basically to determine whether we need new VM agents with ARM architects, what're the supported python version, do we need new docker images for the build etc.
It would be nice if you could tell us more about the machine spec/os images you use.

hey @odidev, we would be happy to add support, but we first need to investigate how to manully build the whls on the the AArch64 platform.
basically to determine whether we need new VM agents with ARM architects, what're the supported python version, do we need new docker images for the build etc.
It would be nice if you could tell us more about the machine spec/os images you use.

Hi @yunhaoling , I tried building aarch64 wheels in manylinux2014_aarch64 docker container on my local aarch64 machine by using similar script as " build_many_linux.sh". Attached the script build_many_linux_aarch64.txt for your reference. The wheels are getting generate successfully.
If you don't have aarch64 machine, you can try the steps on travis-ci.com. Please let me know if anything else is required from my side.

@yunhaoling, please let me know if anything is required from my side. Thanks.

@yunhaoling, please let me know if I can help you building/uploading aarch64 wheels. Thanks

hey @odidev , thanks for checking.
Apologize for missing the thread here -- I have been working on some urgent bug fixing issues these days.
But the arm64 wheel support is always on my mind, I'll probably have some time to look next week.
Our plan in general on this is to

Build the wheels locally by the information you provided on our dev boxes (thanks again)
To investigate how to integrate the extra build process with our internal devops system

Thanks for your patience and understanding in advance.

@yunhaoling, Could you please let me know if there is any update regarding this?

hey @odidev , sincerely apologize for the late response. I was trying to use qemu to simulate a ARM 64 machine but the progress is slow.
On the other side, instead of supporting multiple platforms by building/compiling wheels, our team endeavors to get a pure python implementation of the amqp library which could help us get rid of this situation.
I believe the pure python version is the long-term way we want to go and could resolve your issue.

Hi. Is the decision of the maintainers not to provide pre-compiled wheels for aarch64?
I can certainly understand why if you are aiming to move to a pure python implementation but right now it causes difficulty when installing in potentially contained environments (i.e. a docker image without build tools) on arm hardware (i.e. new Apple gear).

hey @robcowie , we understand that the aarch64 support is wanted and we have put efforts into how it could be supported. We succeeded to manually build uamqp wheel on a M1 Apple Mac without getting too much trouble -- install cmake first and then run pip3 install uamqp --no-binary :all worked.
However, we depend on internal Azure Devops VMs to build binary wheels, previously there was no ARM64 VMs being supported which means we just can't build and ship ARM64 wheels. The good news is that I learn last week that internally the ARM64 support VMs (Windows and Linux) are going through previews, and I would love to dogfood it and see how it goes.

Thanks for the info @yunhaoling

Is this still on the roadmap?

hey @davidcroda , yes, it's still on our track. We're still monitoring the azure devops agent support waiting for its public support.
are you looking for the uamqp library itself or you're using azure-eventhubs/azure-servicebus python sdk on aarch 64(arm64)?
the reason for asking you the question is because we're also working on pure python based amqp library which is being publicly developed in this branch: https://github.com/Azure/azure-uamqp-python/tree/pyproto.
And we've chosen to start the alpha of pure python amqp library as a vendored package within our Azure EventHubs and ServiceBus SDKs while we get that early feedback before we publish it as a standalone package.
You are very welcome to install and try out from the repo if you're seeking for amqp library or the azure-eventhub alpha SDK if you are trying to use azure-eventhub sdk.
We would appreciate any and all feedback!

Hi all, I wanted to provide an update on this issue:

We are going to be releasing a new version of the service bus client this week that will be using the new python based AMQP library. The event hub client library was released in January 2023 and is using the same python based library underneath. This will help folks who want to use them on aarch64 environments etc.
Going forward with the releases of these two client libraries, uamqp will be phased out and active development will be reduced. Our focus on features, bug fixes etc. will be on the new python based library.
If there is enough interest in the community, we will start planning and prioritizing efforts toward releasing a standalone version of the AMQP library.

thank you 🙂


Cannot use @Generated for anything aside @Keys columns

When entity has generated column(virtual column in oracle for examle), you cannot use it in INSERT, but you can't mark coluwn with @Generated.
There is this code in InsertGenerator:
                       Expression<?> key = value.getKey();
                        switch (key.getExpressionType()) {
                            case ATTRIBUTE:
                                Attribute attribute = (Attribute) key;
                                if (attribute.isGenerated()) {
                                    throw new IllegalStateException();
                                }
                                qb.attribute(attribute);
                                break;
                            default:
                                qb.append(key.getName()).space();
                                break;
                        }

which throws this:
java.lang.IllegalStateException
	at io.requery.sql.gen.InsertGenerator$1.append(InsertGenerator.java:57)
	at io.requery.sql.gen.InsertGenerator$1.append(InsertGenerator.java:49)
	at io.requery.sql.QueryBuilder.commaSeparated(QueryBuilder.java:248)
	at io.requery.sql.QueryBuilder.commaSeparated(QueryBuilder.java:235)
	at io.requery.sql.gen.InsertGenerator.write(InsertGenerator.java:48)
	at io.requery.sql.gen.InsertGenerator.write(InsertGenerator.java:32)
	at io.requery.sql.gen.StatementGenerator.write(StatementGenerator.java:69)
	at io.requery.sql.gen.DefaultOutput.toSql(DefaultOutput.java:97)
	at io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:47)
	at io.requery.sql.EntityUpdateOperation$1.evaluate(EntityUpdateOperation.java:40)
	at io.requery.query.BaseScalar.value(BaseScalar.java:48)
	at io.requery.sql.EntityWriter.insert(EntityWriter.java:441)
	at io.requery.sql.EntityWriter.insert(EntityWriter.java:401)
	at io.requery.sql.EntityDataStore.insert(EntityDataStore.java:204)
	at io.requery.sql.EntityDataStore.insert(EntityDataStore.java:190)

For that particular case (virtual column) you shouldn't mark the column as @Generated. In this context generated means a column returned as part of an insert/update. virtual columns are queryable as any other.

I mean entity has virutal column, which can be queribale but not updatable/insertable, how can we exclude them from insert query generated by datastore.insert(entity); and in the same time make them return from insert or update, because they are regenerated at that time.

Right ok I see the problem will reopen and look at good solution for this thanks

The solution for this will be to mark the column with @ReadOnly which is effectively equivalent to setting @Column(insertable = false, updateable = false) in JPA. Previously these were included in an insert/update but will now be excluded with the change.


Epic: Make input and output mode process state instead of global state

Notes:

The input and output modes are global state, and while we're thinking about what it would take to change that we're definitely concerned about backwards compatibility.
When an application exits and leaves the console in a state different from the one it has when it launched (which can happen for a number of reasons: it wasn't authored correctly, it crashes, it returns control of the console so the shell before it's ready (#4921)), we have little choice but to get into a weird state.
You see this with most terminals on the market, unfortunately.  It's impossible to solve in that case, but given that we own the console subsystem in its entirety we can put together a better story.

We should investigate our options here: can we make the input or output mode process state?
If we make the input mode process-local, we need to move to an input model that miniksa and I have discussed: input records are translated (mouse -> vt, input -> vt, clipboard -> key, or clipboard -> vt) for the reader instead of upon insertion into the queue. That's a huge chunk of work.
Making the output mode process-local may have many fewer caveats. We already have some process-local output state like UTF-8 partials.
This'll solve the overarching issue in #4921 and #4949.

I attempted to dissect our input queue during Hackathon. Here's my notes

inside the buffer
Things that happen during WRITE

If VT_INPUT_MODE, use TerminalInput to convert key events into key events
if we're writing one event at a time, coalesce key and/or mouse events

COMPAT must only coalesce when writing one-by-one to maintain v1 contract
temporarily prepend this event to the queue
if we didn't coalesce, go ahead and unprepend

(sometimes) wake up waiting readers

Things that happen during READ

Decoalescing

Decoalescing changes the live state of the input buffer, under lock
When we are decoalescing key events during streaming read, we actually decrement the repeat
count in the live event

actually delete events from the queue
count "virtual read" if glyph is full width (dbcs records count for 2 virtual reads)
if we were peeking, manually restore every event that we just messed up

we recreate the input event by going from IInputEvent->INPUT_RECORD->IInputEvent (?!)

reset the wait event if the buffer is empty

During FLUSH

Delete _storage ONLY.
DOES NOT clear enqueued partials (!)

outside the buffer

GetChar

This is the only known user of InputBuffer::Read(single event)

(Read|Peek)ConsoleInput[WA] (_DoGetConsoleInput w/ args)

Are there partials? Pop them out of the cache
Begin a read
If we're told to wait, start up a DirectReadData
convert events (if A)
store partials if they won't fit

ReadConsole[AW] (ReadConsole + ReadFile both go here)

ReadFile comes in with a zeroed read struct, so Unicode=FALSE
These methods only read as strings...
If there is input pending, read it

seems like there's a fork over whether we're multiline
if multiline, stop after the first LINEFEED (0x0a)
it is possible to have more pending input
translate to ANSI

line input mode?

COOKED_READ -- DO NOT TOUCH THIS

read by character

if there's a partial, emit it

out of space? stop, we're done

read one char
see GetChar above
If we're forced to wait, fork off a RAW_READ_DATA
read a bunch more chars
translate unicode to OEM

ENQUEUED EVENTS

DirectReadData

Direct copy of the code in _DoGetConsoleInput from 2+

RAW_READ_DATA

Direct copy of the code in "read by character" from 4+

The concerns for handling partials are spread across three classes, some of which are already process-local satte. If you do a LINE_INPUT and receive multiple lines, there's a chance that partial lines will be saved against your process data. If you do a raw event input and get partials, they're saved globally on the queue. Neither of these are cleared by a FLUSH.
Rearchitecting our input records to do translation at READ time instead of WRITE time will be difficult, but will ensure more consistent results (one process can't read half of a VT sequence, the clipboard would be a single event so that two processes couldn't both read half the clipboard data, etc.) and when an event translates to multiple outputs that don't fit they'll be enqueued per-handle.


[Broker] Fix call sync method in async rest api for internalTerminatePartitionedTopic

Motivation
Avoid call sync method in async rest API for PersistentTopicsBase#internalTerminatePartitionedTopic.
Modifications

Use async instead of sync method.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Need to update docs?

[x] no-need-doc

/pulsarbot run-failure-checks


travis: check that we work with modules

At the moment, I am doing a nasty (but now correct) git workaround to get rid of changes to go.mod. These changes come about because the go tool finds the latest versions of the pre-installed tools specified in the before_install yaml stanza. To get these to install at the appropriate version, we need to be in the gonum/gonum directory so the go tool can see go.mod, but I don't think this is where travis is by the time that stanza is run.
I think in the long run (once modules are supported by all the versions of Go we support), we can cd gonum/gonum && go get ./... in before_install to get our dependencies.
Please take a look.

ping

ping


Next release TODOs

[ ] refactor for a sane way to forward kw_args in recipes
[ ] finish unit support https://github.com/JuliaPlots/AbstractPlotting.jl/pull/91
[ ] add legends + labels
[ ] cut plots at limits https://github.com/JuliaPlots/AbstractPlotting.jl/issues/97
[ ] compose global scene attributes like center/limits better (or actually make them local if possible)
[ ] clean up recipe api and add examples
[ ] fix color swatches example
[ ] make slider etc use campixel + raw per default
[ ] allow lines to start with empty vector

If there is time:

[ ] make it easier to append points to an existing plot
[ ] introduce nice api for setting nested attributes more easily
[ ] implement missing widgets (e.g. text box, range slider, tabs, list)

What's the problem with the colour swatches example?

Also, this is slightly unrelated, but could we try to look at the CairoMakie tiling / texture repetition issue?

Hm yeah, that should be easy for someone knowing how to reliably draw an image in Cairo :D

What's the problem with the colour swatches example?

The UI doesn't show up anymore :D

clean up recipe api and add examples

Does this include a translation of Plots.jl recipes?

implement missing widgets (e.g. text box, range slider, tabs, list)

Is this related to the topic of bringing together of Makie widgets with InteractBase? Or is there a separate issue for that discussion?

Does this include a translation of Plots.jl recipes?

That would be the next step

Is this related to the topic of bringing together of Makie widgets with InteractBase?

Yes, that would be for that issue ;)


Feat/stock view

Initiating Stock View

Creating StockView, StockTableSFC, PartnerStockSFC, AddOrUpdateStockSFC
Implementation of simplified logic (first dummy data, then backend calls)
Endpoint config in env variables

Failing Quality Check pipelines will be fixed in #35.


Illegal characters in path.

When I do Extract Angular Component and choose the path (Windows), I got an Illegal characters in path. error.

Should be fixed in v0.1.2 - plz give it a try


moving mco api/crd to openshift/api

Successfully ran make generate-with-container on these changes.

Hmmm seem to be hitting errors in the generated files. Will keep digging/working on this.

reopen

Re-added generated.pb.go and generated.proto and now all of the tests are failing bc of undeclared types that are created in the generated files but should be covered by the imports in those files?
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_api/1060/pull-ci-openshift-api-master-verify/1463580558331219968

Following-up: any reviews?


CI linting

Fixes #79

lgtm

CI failing because zkboom isn't vendoring etcd/pkg/report like it should; will wait on #81 which updates the vendoring and has the report package

@heyitsanthony this is now unblocked by merging #81


Bump TibberLink stable to 2.0.1

Bump TibberLink stable to 2.0.1
5 days in latest
120 user

2.0.1 created 15.01.2024
126 User
OK

@hombach
This adapter seems to use sentry for error logging. Please add the suggested sentry information at the top of Readme.md
**This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers.** For more details and for information how to disable the error reporting see [Sentry-Plugin Documentation](https://github.com/ioBroker/plugin-sentry#plugin-sentry)! Sentry reporting is used starting with js-controller 3.0.


ignore() is potentially unsafe

I believe that the implementation of ignore in miniserde is unsafe. It casts a global static into a mutable reference which means there will be multiple references alive at once. At the same time it’s a zero sized type which can give out multiple addresses so I’m not sure how this works. I made a minimal repo example and miri complains:
use std::mem::transmute;

trait Magic {
    fn do_magic(&mut self);
}

struct Vodoo;

impl Magic for Vodoo {
    fn do_magic(&mut self) {
        println!("interesting");
    }
}

fn vodoo() -> &'static mut dyn Magic {
    unsafe {
        transmute::<_, &mut Vodoo>(&mut Vodoo)
    }
}

fn main() {
    vodoo().do_magic();
}

Produces this:
error: Undefined Behavior: type validation failed: encountered a dangling reference (use-after-free)
  [--> src/main.rs:22:5
](https://play.rust-lang.org/#)   |
22 |     vodoo().do_magic();
   |     ^^^^^^^ type validation failed: encountered a dangling reference (use-after-free)
   |
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information

I changed the comment as I’m not entirely sure if it’s indeed unsafe or if miri is wrong here.

It casts a global static into a mutable reference which means there will be multiple references alive at once

That doesn't sound at all like what miri is saying. The miri message "encountered a dangling reference", which is about Vodoo being on fn vodoo's stack instead of in a static. That would be fixed by changing it to a static. In general multiple ZST references at the same address is not an issue. For example let [a, b] = &mut [(); 2] has two mutable references a and b which have identical pointer value.
It does sound like miri is being overzealous here given that this is both zero sized and never dereferenced (either of which independently could be sufficient for this to be well defined). It seems fine though to change it to a static.

Indeed. It turns out that this is permitted. I will open an issue against miri.

Fixed by #26 + some further notes in b149874d0f05cac81657d062f99536ee8e6edbe1.

It does sound like miri is being overzealous here given that this is both zero sized and never dereferenced (either of which independently could be sufficient for this to be well defined).

References must not be dangling even if they are never used, and even zero-sized accesses are subject to some restrictions:

Even for operations of size zero, the pointer must not be pointing to deallocated memory, i.e., deallocation makes pointers invalid even for zero-sized operations. However, casting any non-zero integer literal to a pointer is valid for zero-sized accesses, even if some memory happens to exist at that address and gets deallocated. This corresponds to writing your own allocator: allocating zero-sized objects is not very hard. The canonical way to obtain a pointer that is valid for zero-sized accesses is NonNull::dangling.

We sadly have to require this due to the rules LLVM imposes on getelementptr inbounds.


blink: ValueError: Camera zone 2(front yard) was not found

intermittent error running blink checkout
Traceback (most recent call last):
  File "C:\Users\cjkro\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\cjkro\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\blink.py", line 370, in <module>
    tc.thermostat_basic_checkout(
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\thermostat_common.py", line 1115, in thermostat_basic_checkout
    Thermostat, Zone = create_thermostat_instance(thermostat_type, zone,
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\thermostat_common.py", line 1080, in create_thermostat_instance
    Thermostat.print_all_thermostat_metadata(zone)
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\blink.py", line 144, in print_all_thermostat_metadata
    self.exec_print_all_thermostat_metadata(
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\thermostat_common.py", line 58, in exec_print_all_thermostat_metadata
    return_data = func(*args)
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\blink.py", line 112, in get_all_metadata
    return self.get_metadata(zone, None, debug)
  File "C:\github\ThermostatSupervisor\thermostatsupervisor\blink.py", line 133, in get_metadata
    raise ValueError(f"Camera zone {zone}({zone_name}) was not found")
ValueError: Camera zone 2(front yard) was not found

I have not seen this issue in a while, maybe due to a disconnected camera.  I will leave the issue open but de-prioritize it.


[BUG] Volume creation from Longhorn GUI fails

Describe the bug
Volume creation fails from Longhorn GUI
To Reproduce
Steps to reproduce the behavior:

Go to Longhorn UI.
Click Create Volume
Enter Volume name and click ok.
Volume doesn't get created and call returns 504 error. 504 Gateway Time-out

Volume Api request:
{"name":"volume-test-1","size":"20Gi","numberOfReplicas":3,"frontend":"blockdev","dataLocality":"disabled","accessMode":"rwo","backingImage":"","replicaAutoBalance":"ignored","revisionCounterDisabled":false,"encrypted":false,"nodeSelector":[],"diskSelector":[],"staleReplicaTimeout":20,"fromBackup":""}

Expected behavior
Volume should be successfully created.
Environment:

Longhorn version: Longhorn - master c09ac49

This could be because the volume encryption enhancement UI is merged but the backend is not fully merged.

Same as https://github.com/longhorn/longhorn/issues/2861#issuecomment-896438860

The root cause analysis and the fix are in https://github.com/longhorn/longhorn/issues/2869

Closing after the validation of https://github.com/longhorn/longhorn/issues/2869


[Select] Native built-in search in select boxes

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

Context
Hi, for a feature we're developing right now we want to use select boxes that are searchable. I found this demo section: https://material-ui-next.com/demos/autocomplete/ where react-select KINDA does what we want, however  the result design is different from what we want. We want the same style as the selectboxes from this repo AND we want to search in the opened select box, NOT where the label/selected value is.
Now I have two questions:

Are there any plans to integrate that into this library and if not....
Would a PR for this be accepted or is there a reason this is not implemented right now?

I ask because I forked this project, read the CONTRIBUTING.md and the first sentence was to check with the maintainers first, if a PR would be okay for a specific feature.

If by search you mean the way the native element supports it - focussing the first entry whose beginning that the entered characters match, then that seems like a sensible feature to support.
I don't believe it has been intentionally omitted.
@oliviertassinari  any objections, or otherwise, any thoughts on implementation approach?

There's a misunderstanding here.
I was not talking about simply entering letters and the search component automatically highlights a value, but instead that you can FILTER the list of the select
For example: Take this screenshot of an opened select box. You have a text field as "first entry" and if you enter something along the lines S235 only the second result would be displayed in the list, not ALL values.
@oliviertassinari Would it be possible to reopen this?

@tzfrs Thanks for the clarification. It's something you should be able to build with any of the 3 different autocomplete libraries.

I saw them, but they are doing it a bit different from the result I would expect. Anyway, I'm going to try it out if I can somehow get the result I want. I'll report back!


Addition of auto-comment.yml file

We need to add an auto-comment.yml that will automatically welcome, greet and provide necessary information to the contributors when they create new issues, PR, and when these will get assigned or merged respectively. This will promote motivation and performance.
@foss42 Please assign me this issue under gssoc'23

Thanks for your interest in contributing to the project @DivyanshiNarang
We prefer engaging with the contributors directly.
Do check out https://github.com/foss42/api-dash/issues/56


Fix and clean JacocoAggregationReportPlugin

Re-implements the fix from https://github.com/gradle/gradle/pull/25625 and tidies up the code in the plugin itself, removing redundancies and unnecessary calls and grouping related elements.

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

@bot-gradle cancel

I've cancelled the pre-tested commit build.

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Revert "Revert "add new tests for quota popup""

Reverts trade-tariff/trade-tariff-testing#922

We need this tests as they're covering valuable quota popup behaviour


Add unit tests for WASM memory OOB access

There is (somewhat surprisingly) no unit tests that check for accessing WASM memory that is out of bounds. While there are ample unit tests that do make sure the invoker wrapper guards OOB memory, we really need to add some WASM only unit tests.

There's a memory wrapping bug which will probably crash the blockchain if triggered.
pull request #2311 created for the fix and adding unittest cases.

That's a really good find. But I'd also like to see us make sure that pure WASM memory load/stores are also caught correctly before closing this issue. (this can be done in C++ by dereferencing an OOB pointer and load/storing it)

hi, I've committed another fix for the memory boundary check in the wasm case. also added unit test cases for load/store operations with different sizes.
This is my findings:
in the wasm-interpreter case: memory boundary checks for loads/stores are already performed in visitLoad() before calling the actual load() function:
`      Flow visitLoad(Load *curr) {
NOTE_ENTER("Load");
Flow flow = this->visit(curr->ptr);
if (flow.breaking()) return flow;
NOTE_EVAL1(flow);
auto addr = instance.getFinalAddress(curr, flow.value);
auto ret = instance.externalInterface->load(curr, addr);
NOTE_EVAL1(addr);
NOTE_EVAL1(ret);
return ret;
}
template
Address getFinalAddress(LS* curr, Literal ptr) {
auto trapIfGt = [this](uint64_t lhs, uint64_t rhs, const char* msg) {
if (lhs > rhs) {
std::stringstream ss;
ss << msg << ": " << lhs << " > " << rhs;
externalInterface->trap(ss.str().c_str());
}
};
Address memorySizeBytes = memorySize * Memory::kPageSize;
uint64_t addr = ptr.type == i32 ? ptr.geti32() : ptr.geti64();
trapIfGt(curr->offset, memorySizeBytes, "offset > memory");
trapIfGt(addr, memorySizeBytes - curr->offset, "final > memory");
addr += curr->offset;
trapIfGt(curr->bytes, memorySizeBytes, "bytes > memory");
trapIfGt(addr, memorySizeBytes - curr->bytes, "highest > memory");
return addr;
}`
In the wasm-jit case, hardware interrupts are overwritten thus memory access violations are trapped (ref handleHardwareTrap in Runtime.cpp)

It looks like the exception is already thrown in the wavm case, but we can't catch it even with "catch(...)". The malicious contract is:
void test_memory::test_outofbound_3()
{
    char *ptr = (char *)malloc(128);
    memset(ptr, 0xcc, 1048576); // heap memory out of bound
}

my memory out of bound check is:
template<typename T>
inline array_ptr<T> array_ptr_impl (running_instance_context& ctx, U32 ptr, size_t length)
{

   MemoryInstance* mem = ctx.memory;
   if (!mem)
      Runtime::causeException(Exception::Cause::accessViolation);

   size_t mem_total = IR::numBytesPerPage * Runtime::getMemoryNumPages(mem);
   if (length > 1024) printf("array_ptr_impl %d %d mem %d sizeof(T) %d\n", ptr, (int)length, (int)mem_total, (int)sizeof(T));
   if (ptr >= mem_total || length > (mem_total - ptr) / sizeof(T))
   {
      printf("Time for access violation\n");
      Runtime::causeException(Exception::Cause::accessViolation);
   }
   return array_ptr<T>((T*)(getMemoryBaseAddress(mem) + ptr));
}

And I can see the output before it crash:
array_ptr_impl 3912 1048576 mem 65536 sizeof(T) 1
Time for access violation
unknown location:0: fatal error: in "api_tests/memory_tests": memory access violation at address: 0x2007fffff: non-existent physical address

test passed:
Test case "api_tests/memory_tests" has passed with:
  23 assertions out of 23 passed


"make" failing when building pyodbc

I started messing around with the code of this repo to try to help but unfortunately i can't get it to compile.
I simply run make on the project's root directory and this error showed up when pip was trying to install pyodbc:
    ERROR: Command errored out with exit status 1:
     command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0dutdqb7/pyodbc_2e52b6ae1e7645ee9b8cfe6d5bf51ae2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0dutdqb7/pyodbc_2e52b6ae1e7645ee9b8cfe6d5bf51ae2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ukd3k82/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyodbc
         cwd: /tmp/pip-install-0dutdqb7/pyodbc_2e52b6ae1e7645ee9b8cfe6d5bf51ae2/
    Complete output (16 lines):
    /usr/local/lib/python3.8/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'library-dirs' will not be supported in future versions. Please use the underscore name 'library_dirs' instead
      warnings.warn(
    running install
    running build
    running build_ext
    building 'pyodbc' extension
    creating build
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/src
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPYODBC_VERSION=4.0.30 -I/usr/local/include/python3.8 -c src/buffer.cpp -o build/temp.linux-x86_64-3.8/src/buffer.o -Wno-write-strings
    In file included from src/buffer.cpp:12:
    src/pyodbc.h:56:10: fatal error: sql.h: No such file or directory
       56 | #include <sql.h>
          |          ^~~~~~~
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-0dutdqb7/pyodbc_2e52b6ae1e7645ee9b8cfe6d5bf51ae2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-0dutdqb7/pyodbc_2e52b6ae1e7645ee9b8cfe6d5bf51ae2/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6ukd3k82/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyodbc Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.

After some trial and error i found that i need to add these lines in the Dockerfile, present in the project's root directory, in order to install the library sql.h.
RUN apt update -y
RUN apt install unixodbc-dev -y

Fixed by #136


Typo correction

Correct a typo : Microsoft Test Manger  --> Microsoft Test Manager

@decarufe : Thanks for your contribution! The author, @KathrynEE, has been notified to review your proposed change.


settings UI: Improve wording and organization permissions tab.

Automated message from Dropbox CLA bot
@rishig, it looks like you've already signed the Dropbox CLA. Thanks!

CSS improvements needed, but getting this into a shape that Nitin or someone else can work on that part.
Screenshot just of the org permissions page, though wording changes made elsewhere as well.
Old:

New:

I think the "prevent users from" section copy is a bit confusing, in that some of those settings are things admins can still do, and other aren't.

Updated. Falls off the bottom, but the bottom two sections should go into "Organization Settings".

I think that design is probably unmergable falling off the bottom with the "save changes" button required.  We need to have a "save changed" button in every section if we're doing sections like this.
Maybe the right answer is to prioritze the "organization profile" split soon?

makes sense. Could you merge the first three commits, to reduce merge conflicts? Unless no one else is really working on settings.

Comments addressed. For the static/templates/settings/display-settings.handlebars changes; could also leave them as is, though figured they would have to churn anyway due to ending in periods.

Updated.

Merged, thanks @rishig!


Should not save group with empty name.

Describe the bug
As of now, you can create a group with an empty name. The group name should not be empty.
To Reproduce
Steps to reproduce the behaviour:

Go to 'My Groups'
Click on 'New Groups'
Click on 'Create Group'

Expected behaviour
There should be a check before creating a group whether the name field is empty or not.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Linux
Browser Chtome
Version [e.g. 22]

Are you working on this issue? (Yes/No)
For GCI 2019

Hey !
Even the Assignment and the Project name can be saved empty; you can add them in the isse too.


Implement private class gui::views::ControlView::_CtrlOverlays (cpp)

Partially implemented; Compiles.
Still to be completed then tested.


recipes/LibriSpeech/ASR/transformer validation problem

Hi, I am using 4 V100 32GB GPU to train a Dutch ASR model, I use recipes/LibriSpeech/ASR/transformer/hparams/transformer.yaml recipe. I set batch size 32. But after the 1st epoch, when validation,  the default setting in transformer.yaml : valid_dataloader_opts: batch_size: 1
1 batch size for 4 GPU, that does not work.
So I change the valid_dataloader_opts: batch_size: 1 -->valid_dataloader_opts: batch_size: 4
But I have 409 sentences in the validation set, so when it comes to the last step, 409%4 = 1, so again 1 batch size for 4 GPU.

Then when I use ctc_decode 0.40 at the validation stage, what batch size of validation should be?
Thanks in advance!

I just set the
valid_dataloader_opts:
batch_size: !ref <batch_size>
and my batch_size is 32, It can validate now.


Uncaught exception 'Zend\XmlRpc\Client\Exception\FaultException' with message 'BAD_NAME: workers:worker_1' when using stop/start from Process object

// returns Process object
$process = $supervisor->getProcess('workers:worker_1');
$process->stop();
generates this:
PHP Fatal error:  Uncaught exception 'Zend\XmlRpc\Client\Exception\FaultException' with message 'BAD_NAME: workers:worker_1' in /home/moston/web/indigophp/vendor/zendframework/zend-xmlrpc/Zend/XmlRpc/Client.php:323
Stack trace:
#0 /home/moston/web/indigophp/vendor/indigophp/supervisor/src/Connector/ZendConnector.php(83): Zend\XmlRpc\Client->call('supervisor.getP...', Array)
#1 /home/moston/web/indigophp/vendor/indigophp/supervisor/src/Process.php(63): Indigo\Supervisor\Connector\ZendConnector->call('supervisor', 'getProcessInfo', Array)
#2 /home/moston/web/indigophp/vendor/indigophp/supervisor/src/Supervisor.php(173): Indigo\Supervisor\Process->construct('workers:worker...', Object(Indigo\Supervisor\Connector\ZendConnector))
#3 /home/moston/web/indigophp/test.php(19): Indigo\Supervisor\Supervisor->getProcess('workers:worker...')
#4 {main}
Next exception 'Indigo\Supervisor\Exception\SupervisorException' with message 'BAD_NAME: workers:worker_1' in /home/moston/web/indigophp/vendor/indigophp/supervisor/src/Connector/ZendCon in /home/moston/web/indigophp/vendor/indigophp/supervisor/src/Connector/ZendConnector.php on line 85

I am closing this issue for now. If the issue still exists, please open it at https://github.com/supervisorphp/supervisor


External controllers don't work!!

Hi, I have installed [NonSteamLaunchers-On-Steam-Deck to my steam deck. Then I added "Epic games" and start working there. it works perfectly via builtin controllers, but once I connect to external controllers (which recognized perfectly by steam deck games), once I open any game from epic the external controllers stop working!!
It this bug? Or is there some setting need I to do to support external controllers? Please help

It's not a bug, if you're using external controllers  on the steam they have their own controller profiles separately from the steam deck you just have to change them because they are probably on gamepad layout

OK I see, thanks, I have change the layout, but fount something else.. that once  I start the launcher with a X-Controller then launch a game I will have access only via X-Controller but not the other controllers or even not bia builtin steam controller!! As well if start via builtin Controller other external controllers will not work!! It is not the case via native steam games. Is it something related to settings? or the launcher?

@ralmoued why not use the shortcut of the game NSL created for you? That way you use controller/gamepad? Turn on scanner

What shortcut? Can I get game shortcut of Epic games in steam game mode?

@ralmoud yes you can that's what the scanner is for open up the desktop file to restart the scanner.

Excuse my ignorance and Please have a little patience what is scanner? where to find it. You are telling to open up the desktop file!! what is that as well?


use AsyncElegantOTA

Hi,
I used AsyncElegantOTA (https://github.com/ayushsharma82/AsyncElegantOTA) successfully in other projects, but in combination with ESPAsync_WiFiManager it won't compile.
I started from your example Async_ESP_FSWebServer_DRD.ino
Normally 3 lines of code are sufficient to setup AsyncElegantOTA in the code:

at the top: #include <AsyncElegantOTA.h>
just before line server.begin(); in setup(): AsyncElegantOTA.begin(&server);
somewhere in loop(): AsyncElegantOTA.loop();
Now after applying these 3 lines to your example the AsyncElegantOTA type is not recognized:

sketch_apr07a:229:1: error: 'AsyncElegantOTA' does not name a type
AsyncElegantOTA.begin(&server);    // Start ElegantOTA (reach out to http://{ip-address}/update)
^
Is this my fault? Or can you explain this behavior?

Sorry I don't like to spend time on the problem not caused from this library's bug.
But I tested and compiled OK with AsyncElegantOTA.

You have to check your installations and only you can know and fix the issue.
Good Luck,

It was my fault, unfortunately. I putted the #include not on top of the code. Sorry for the inconveniance with this issue.


Web: use typescript for mirage

Context
Describe / explain why we should do this: motivations, context or other info. Keep it brief and simple - PM
https://github.com/massalabs/thyra-plugin-wallet/pull/336/files
User flow
Describe the user flow using user stories so the end result is super clear - PM
How to
List the step-by-step to get it do if needed - PM
Technical details
Give the technical insights so anyone in the team can tackle the tasks - Dev
QA testing
Does this task require some QA tests ?
If yes, explain how to validate it

Solved by : #470


v1 Research

User testing v1 interactions a user flows
Objectives:
Does our design match our user's mental model?
Does our design match intended user flows?
Does a user understand the relationship between objects?
Can a user find assets to solve their problem?
Can a user use assets to solve their problem?

@kingtraceyj @aubrey-oneal closing this epic as all issues are closed!


[Bug]: No redirection to home page via about us page

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
According to me redirection from about us page to the home page is a mandatory feature that every user wants to see on our website.
Expected behavior
A button or an hyperlink is to be established such that the page is redirected from the about us page to the home page
Add ScreenShots

On which device are you experiencing this bug?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSOC'24 contributor
[X] I have starred the repository

Could you please assign me this under GSSOC 2024 ? I am confident that I can provide a strong solution and would appreciate the opportunity to work on this issue.

@sindhuja184 this about us navbar or home page redirecting thing is already present & already been assigned to another previous  issue . So sorry to close this issue for now  But u can still make new issues on which u want to work on


How to avoid multi node selection

I want, one node to be selected at most, instead of multiple at once.
Seems, it's working fine in tortilla.academy , but not in my application. How can I achieve that?

Yes I also would like to do it !

Happy to see that there's interest. Let me dig into it, it's been a while. Will give you my observations soon

The reason it works in tortilla.academy is because it handles node selection correctly. Use the following code:
import React from 'react'
import FSRoot from 'react-fs-tree'

class App extends React.Component {
  constructor(props) {
    super(props)

    this.state = {
      selectedNode: null,
      childNodes: [
        { name: 'file' },
        { name: 'added file', mode: 'a' },
        { name: 'deleted file', mode: 'd' },
        { name: 'modified file', mode: 'm' },
        { name: 'folder', childNodes: [
          { name: 'foo' },
          { name: 'bar' },
          { name: 'baz' },
        ] },
      ]
    }
  }

  render() {
    return (
      <div className="App">
        <FSRoot
          childNodes={this.state.childNodes}
          onSelect={this.onNodeSelect}
        />
      </div>
    )
  }

  onNodeSelect = (node) => {
    if (this.state.selectedNode) {
      this.state.selectedNode.deselect()
    }

    this.setState({
      selectedNode: node
    })
  }
}

export default App

Do you think there should be a built it option?

Thank you for the response :+1: . I think an example in the documentation would help.


Install Guest Additions on macOS 10.15 Catalina.

On macOS 10.15 Catalina, Guest Additions cannot be installed by default. The installation cannot be completed as normal because the OS now require packages to be digitally signed. To get around this security limitation, you need to disable multiple security features in order to install the package. I think this applies to macOS 10.14 as well.
I managed to install Guest Additions using VirtualBox version 6.1.16 on Windows 7 to share the clipboard values between the host and the guest. If someone else wants to install this, here is the whole process:
Disable Gatekeeper

Be sure to exit System Preferences on your Mac.
Open a Terminal
Enter the command sudo spctl --master-disable.

Source: How to open apps from unidentified developers on Mac in macOS Catalina
Check Gatekeeper is disabled

Click on  System Preferences  on your Mac Dock.
Choose  Security & Privacy.
Look at Allow apps download from:, it should be set to Anywhere. If it is, you are done.
If not, click the lock icon at the bottom left of the screen.
Choose the Anywhere option under Allow apps downloaded from. Prior to making the change, this option wasn't available.
Click the unlocked lock again to keep the change.

Disable SIP (System Integrity Protection)

Restart your computer in Recovery mode.
Launch Terminal from the Utilities menu.
Run the command csrutil disable .
Restart your computer.

I tried pressing F12, F8 and even ESC key in order to configure VirtualBox to boot into the EFI shell but was not able to do so. In the end, this comment from issue 46 had the solution:

In your VM's terminal enter the following command to reboot in recovery mode:
sudo nvram recovery-boot-mode=unused && sudo shutdown -r now
Once in recovery mode open a terminal in  Utilities->Terminal.
Run the commands you want like:
csrutil disable
spctl kext-consent add VB5E2TV963
(note the last command is explained in steps below)
Enter the following command to exit recovery mode:
nvram -d recovery-boot-mode && shutdown -r now
And you'll get back into normal macOS.

Check SIP is disabled
You can verify that SIP is disabled with the command:
csrutil status
which should display:
System Integrity Protection status: disabled..
Allow Oracle identifier for kext

Restart your computer in Recovery mode. Refer to previous section to know how to do this.
Launch Terminal from the Utilities menu.
Run the command spctl kext-consent add VB5E2TV963 .
Restart your computer.

VB5E2TV963 is the code for oracle.
Source: Install problem 10.14.5 vBox 6.0
Change ownership and permissions on filesystem
Enable writing to /System/Library/Extensions/.
In your VM's terminal enter the following commands:
sudo mount -uw /
sudo chown :admin /System/Library/Extensions/
sudo chmod 775 /System/Library/Extensions/

Source: Guest Additions not installing on macOS 10.15 Catalina guests
Install Guest Additions
At this point, the installation of Guest Addition should succeed. Proceed with normal installation instructions.

On VirtualBox emulation window, click on Devices menu.
Select Insert Guest Additions CD image....
In your VM, click on the new CD image on the desktop.
Click on VBoxDarwinAdditions.pkg.
Follow the instructions on screen.
A reboot is required after the installation.

Check clipboard sharing is working
Check that clipboard is shared between the host and the guest.

On VirtualBox emulation window, click on Devices menu.
Select menu Shared Clipboard, Bidirectional.
In your VM, open a terminal.
Select text.
Right-click on the selected text and select  Copy.
On your host, open a note taking appplication.
Right-click and select Paste.

Revert disabled security features
Enable Gatekeeper

Be sure to exit System Preferences on your Mac.
Open a Terminal
Enter the command sudo spctl --master-enable.

Enable SIP

Restart your computer in Recovery mode.
Launch Terminal from the Utilities menu.
Run the command csrutil enable .
Restart your computer.

Sadly this doesn't work for me despite disabling SIP and following all the instructions above.

Thanks for this info. I've tried so many different combinations and this is the first and only one that actually works.
Should we revert the  /System/Library/Extensions/ back to its original ownership and permissions? If so, do you know what they should be set to?
Also, do you know if the VBox GA's will persist if I update the OS to Big Sur? I know that installing Vbox GA's on Big Sur is currently not-doable, so not sure if it's safe to update.
tHANKS:

I'm glad it helped you.
I did not tried to revert permission changes on /System/Library/Extensions/. I am using this VM as a test machine so I don't really care about vulnerabilities related to this change.
I do not have plans to upgrading to Big Sur. Like you said, I have read the same posts about compatibility problem with GA on Big Sur. I don't know if the installation will persist. Actually the files may still be available but they may not load. Installing on Catalina and then upgrading to Big Sur might be a possible workaround. If you every try, keep me posted.

I did instructions but what i have got was share clip board. no full screen, no shared folders. tested on Catalina in Virtual Box 6.1.22.

I am not able to enter recovery mode with this: sudo nvram recovery-boot-mode=unused && sudo shutdown -r now
is there any other way to enter recovery mode? or am I doing anything wrong?

I am not able to enter recovery mode with this: sudo nvram recovery-boot-mode=unused && sudo shutdown -r now
is there any other way to enter recovery mode? or am I doing anything wrong?

To Enter Recovery Mode Without VM Terminal or Recovery CDs

Make sure you insert the MacOS installation disk (In this case, Catalina):

Restart your virtual MacOS:

When the shutdown cycle completes and a startup cycle begins (when the terminal goes completely black), start pressing the boot menu key. It could be either ESC1, F81, or F12. You'll be presented with a BIOS-like menu. Choose Boot Manager`:

Here you'll want to select the VBOX CD-ROM to boot from the Catalina disk we inserted in step 1:

After a few moments you'll be taken to the recovery menu. Restarting your Virtual MacOS will reboot the machine back into its normal state.

I can't believe this wasn't laid out in clear steps before. I had to figure this out myself from prior experiences. All other posts or answer suggest using a VM terminal or downloading a recovery disk.

@DovahBrownies  Thank you for this instruction!

I've tried this, it works for sharing clipboards
https://stackoverflow.com/a/54186352/6595322

After do all above, my vm stucks on boot, any suggestions?

Hello,i followed all steps above but when i try to inject GuestAdditons into macOS i still have a error message:cannot insert optical disk  GuestAddition in Virtual Machine
I' m using macOS catalina in VirtualBox.
Please help me

Thanks to your tutorial!

Thanks man!


feat:create class to monitor pi system

This feature aims to monitor some metrics from raspberry pi system.
In order to design a suitable system, I think some metrics could be recorded.
Then, after test phases, especially if the system is not connected to the internet, the output can be analyzed to understand how to improve the system or understand why it crashed.
As an example, in order to know if fans, heatsink are needed, cpu temperature can be recorded; Or, some performance about cpu usage or memory available could help to select the best raspberry pi model fitting our needs.
Output of this feature is a csv, an example is provided in the following zip file pi_perf.csv.zip and below

datetime
cpu_temperature_C
mem_available_GB
cpu_usage_percent

01/08/20 12:26
57.94
3.00
0.0

01/08/20 12:26
56.97
3.00
0.3

01/08/20 12:26
57.45
3.00
0.2

01/08/20 12:26
56.97
3.00
0.2

This is a first draft, structure/approach can be discussed and new metrics suggestion are welcomed.
Also, I think I might need to update requirements file.

Hey @frgfm, thanks for the review !
I have updated the initial comment and style issues !

Thanks for the edits!
Regarding the cpu usage, I don't remember well how psutils handles this, but is it memory usage or processing capacity usage?
Two quick things that might even improve the PR:

adding the corresponding dependencies in the requirements.txt
adding a unittest to check that we actually get the expected behaviour
Happy to help if you need some :)

@Akilditu and @fe51, I'm setuping the following repo https://github.com/pyronear/PyronearEngine. As discuss on the last metting this repo will regroup all work about deployment. This PR should be move there once it's ready. I let you know when it's done ;)

Sounds good to me !
Thank you @MateoLostanlen !

@fe51 following up on our last discussions about repo separation, I would suggest moving the PR to the repo that will handle RaspberryPI utilities.
If so, it could be organized as follows:

PyroNear: core package serving our trained models and available datasets
PyronearEngine: on-device stack for RaspberryPI using PyroNear to serve models
XYZ: we could also set up a web-app / interface to get demos on different devices

The main idea is to use PyroNear as core API block, that can be embedded on device (raspberry PI), in the browser (live web-app) or remain on a remote server (so that it could be called by a device / service).
In this scheme, this PR might be more useful in PyronearEngine :) If so, I would suggest to close this PR and open another on the repo. Let me know your thought on this!

Hi @fe51, please can you close this PR and reopen it in https://github.com/pyronear/PyronearEngine ?

Hi @MateoLostanlen, I have just open a new PR in PyronearEngine : https://github.com/pyronear/PyronearEngine/pull/4


Error: Failed to launch the browser process!

Error: Failed to launch the browser process!
Headless commands are not compatible with remote debugging.
[0308/131805.563765:ERROR:headless_shell.cc(205)] Headless commands are not compatible with remote debugging.
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md
at onClose (/app/node_modules/puppeteer-core/lib/cjs/puppeteer/node/BrowserRunner.js:300:20)

I've tried:
"puppeteer": "19.7.2"
"puppeteer": "18.1.0"
Buildpack:
https://github.com/jontewks/puppeteer-heroku-buildpack#22.0.0
Buildpack that was previously working:
https://github.com/jontewks/puppeteer-heroku-buildpack#22.0.0
then
heroku/google-chrome
const browser = await Puppeteer.launch({
    headless: true,
    ignoreHTTPSErrors: true,
    args: ["--no-sandbox", "--print-to-pdf-no-header"],
    executablePath: Settings.api.puppeteer.executablePath,
  });

heroku run bash --app XXXX --type=worker
~ $ find ./ -name google-chrome
./.apt/etc/cron.daily/google-chrome
./.apt/opt/google/chrome/google-chrome
./.apt/opt/google/chrome/cron/google-chrome
~ $ /app/.apt/opt/google/chrome/google-chrome
[12:12:0308/131028.130068:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /app/.apt/opt/google/chrome/chrome-sandbox is owned by root and has mode 4755.
[0308/131028.130389:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Permission denied (13)
Trace/breakpoint trap
~ $ [25:25:0100/000000.159168:ERROR:zygote_linux.cc(661)] write: Broken pipe (32)

Puppeteer/heroku in general is driving me nuts. Every few months It stops working, and then it's try everything all over again to see what sticks.
Apparently i'm the only person on the internet with this problem, googling Headless commands are not compatible with remote debugging. only brings up the code itself:
https://chromium.googlesource.com/chromium/src.git/+/master/headless/app/headless_shell.cc

Also:
.puppeteerrc.cjs
const {join} = require("path");
/**
 * @type {import("puppeteer").Configuration}
 */
module.exports = {
  // Changes the cache location for Puppeteer.
  cacheDirectory: join(__dirname, ".cache", "puppeteer"),
};```

Hey @jasonlewicki.
Perhaps related or not, you don't need heroku/google-chrome. Puppeteer installs a version of chrome for itself. I've also never used headless: true since thats a default, or overwriting the executable path. Have you tried just a very minimal use case to see if you are still getting issues?
All this buildpack does is install dependencies that puppeteer needs to run, but nothing more, so I'm not able to help resolve issues with headless commands and remote debugging.
I've fixed random issues in the past by starting a new heroku app with the same code and buildpacks before, that may be worth a shot as well.

--print-to-pdf-no-header was the offending flag and needed to be removed. Thanks

Thanks for circling back with that info. Now when the second person ever runs into that error they can find the answer!


Loosen commitlint rules

they're way too aggressive

@con5cience - are you willing to pick this one up?

closing as stale and i'll revisit later.


go go 80 percent test coverage

Signed-off-by: Ian Simpson<EMAIL_ADDRESS>

Closing this PR since something is going weird with merging master into the branch now


Cosul template for HAproxy to support non web traffic

Current ha proxy works fine for web traffic load balancing but Cassandra or Mysql ( data service) load balance traffic using current config have issues. Discussed details with @steve, adding issue to keep track.

Adding @BrianHicks.
I think our longer term goal should be to have an IP for every container/pod, as in the Kubernetes network model
For the short term, my proposal is to use cluster-wide port assignments for each app.
For example, user1 launches a cassanda.cluster, they are assigned a connection string of cassandra.service.consul:8900, likewise
user2 launches a cassandra cluster and they get cassandra.service.cluster:9900.
We'd need to use the consul k/v store along with the service registry to hold this information.

service port: what port does HAproxy listen in on for this service
container port: this is the actual port that the container is using (i.e. 46153)

Ideas:

Use consul k/v to store forwarding information
/services/proxy/app
/services/proxy/app/port = 9042
(optional) /services/proxy/app/url matching http url

Use consul service tags to store port:
Launch tasks with a port_xxxx in SERVICE_TAGS.
haproxy config would look like
listen {{ consul get port }}

backend:
backend {{ server }} {{ port }}

Long term, an IP per container makes a lot of sense - you can "just connect" on the ports you want. Would weave be appropriate for this?
I think it'd make more sense to put this data in Consul services, as in idea 2. We can set up healthchecks that way as well, and turn them off in HAProxy.

Tags won't work here, unfortunately. The template language is a little too limited in that regard. Here's how the template looks for running a bunch of redis services as "db":
global
  daemon
  maxconn 2048

defaults
  mode tcp
  timeout connect 5000ms
  timeout client 50000ms
  timeout server 50000ms

{{range services}}frontend {{.Name}}_frontend
  bind *:{{ key (printf "service/%s/port" .Name)}}{{range service .Name "any"}}
  server {{.Node}} {{.Address}}:{{.Port}}{{end}}

{{end}}

produces:
global
  daemon
  maxconn 2048

defaults
  mode tcp
  timeout connect 5000ms
  timeout client 50000ms
  timeout server 50000ms

frontend db_frontend
  bind *:5555
  server testbed <IP_ADDRESS>:10001
  server testbed <IP_ADDRESS>:10002
  server testbed <IP_ADDRESS>:10003
  server testbed <IP_ADDRESS>:10004
  server testbed <IP_ADDRESS>:10005

Now the question is: how are we going to get that service information into haproxy (from, say, Marathon?) I'd like feedback:

would it make sense for this to be patched into registrator?
or would it be better to be another daemon?

@BrianHicks have you considered or looked at https://github.com/kelseyhightower/confd for handling updating the haproxy configurations? It already supports etcd and consul both for pulling updated data to regenerate/update the configuration file from template and then restart the instance.

@kenjones-cisco we're using consul-template to update haproxy configurations. We have a base container that you use for consul-template at https://github.com/CiscoCloud/docker-consul-template.
consul-template is very similar to confd, and was developed because confd does not support consul service discovery endpoints (and has no plans to do so, see https://github.com/kelseyhightower/confd/pull/102)

Makes sense. Based on the open questions Brian had listed, I figured I'd offer input based on previous experience. Sounds like the questions have been already resolved. Looking forward to this change! :thumbsup:

OK, to update this rather old ticket and get it closed: we now have marathon-consul for forwarding app information to Consul and a new branch of haproxy-consul to play with. If @npateriya and @kenjones-cisco could review the documentation on that PR, that'd be helpful in getting this merged and closed.

Can you please add in document how would multiple logically isolated instance of cassandra (ContainerPort: 9042), would be deployed and configured. For example
customer1-env1-cassandra
customer1-env2-cassandra
customer2-env1-cassandra
customer2-env2-cassandra
I am not able to follow changes closely, but  based on quick document reading. For each of above cassandra instance while creating marathon  APP, we need to assign unique hostPort. Is this right interpretation?  Non http example in README will help.

@BrianHicks is this ready to close?

This is actually probably the last one to close of the three. It depends on the changes to marathon-consul and haproxy-consul being merged. If that stuff looks good to everyone else though, I'll get all of it merged today.

My interest originally was the where it seemed to relate to potentially including weave and not having to deal with service offer ports. That way I don't have to lookup what port my container has but know it will always have port 27017 if it is mongodb. And then understanding how this proxy can or will work with the proxy I setup for my actual service being deployed within microservices-infrastructure such that when going to https://my.example.com is routed to my specific service.

@kenjones-cisco The plan is to include IP level resources into Mesos so that each task can get an IP assigned. There's a few groups getting together around that effort. For the short term we haven't decided on using weave or flocker, so we'll probably ask folks to use the marathon proxy until the Mesos networking picture becomes more clear.

@npateriya I added a clarifying sentence there. Basically, Marathon will show what "global" port it has assigned and haproxy-consul will forward those.
@stevendborrelli I think that's ready to merge if you wouldn't mind giving it a last lookover before we merge.

@BrianHicks merged & the docker container  (ciscocoud/haproxy-consul) was built with tag 0.1 for the merge.

@BrianHicks can we close this issue?

I think the variables need to be set to Marathon still.

haproxy-consul was updated to support this via https://github.com/CiscoCloud/haproxy-consul/pull/1
marathon consul runs by default

For 0.3, the consul backend will be used. 0.4 will use marathon backend as default. See #427.


[backport] Directional derivative

Backport of #3652

LGTM!

I merged the PR but found many errors on CI, let me revert this.

jenkins, test this please


installation freeze at extract

OS?  ArchLinux up-to-date.

Versions.

~ node --version
v6.5.0

Repro steps. Issue in the terminal:

npm install -g angular-cli@webpack

The log given by the failure.

~ sudo npm install -g angular-cli
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>This package has been discontinued in favor of<EMAIL_ADDRESS>npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
[             .....] | extract:angular-cli: sill doParallel extract 1192

Mention any other details that might be useful.

The installation stuck at this part, past hours and no change, heavily using CPU.

I'm having same problem. My OS is Manjaro 16.08 (latest) and it's up-to-date too.
NPM: 3.10.7
NodeJS: 6.5.0

@vaurelios I could install it withnodejs 6.3.1 and npm 3.10.1. I did change version of node and npm with n. However, Angular-cli must not fail with 6.5.0, I think so...
I did use this command: n 6.3.1
I hope this helps :+1:

Dupe of https://github.com/angular/angular-cli/issues/1932


Binder doesn't start

ResolvePackageNotFound:
  - cpuonly

Fixed by https://github.com/fonnesbeck/Bayes_Computing_Course/commit/2046652a59429d52fb5c9a870f30f1331ac11080


Fix: Lighthouse Performance 🟢

What's the purpose of this pull request?
improves LH performance:

[x] Removes unused sponsoredProducts code from PLP.
[x] Removes React.isValidElement and React.cloneElement functions. Less function calls and JS code computing aims to improve TBT.
[x] Adapts some styles based on JS code changes.
[x] Tweaks Hero sizes (LCP).
[x] remove prefetch from Next Links. it fetch other pages JS from current page (PLP) and increase unused JS (TTI and TBT).

Page
LH from WebOps - See comment on starter PR

Home

PLP

PDP

How to test it?
running yarn dev locally in core package or using the starter preview.
check the LH comment in starter PR.
Starters Deploy Preview
PR https://github.com/vtex-sites/starter.store/pull/50
preview https://evergreen-git-fix-lh-checks-faststore.vercel.app/
References
https://web.dev/code-splitting-with-dynamic-imports-in-nextjs/
https://web.dev/route-prefetching-in-nextjs/
https://web.dev/granular-chunking-nextjs/

well done forms! Thanks for working on it 🚀


user "delete" permissions and serializer settings not respected

The permission_class setting for "user_delete" is not respected as UserViewSet.get_permissions doesn't check for action delete or (me with method DELETE). Instead, it just uses the default class permission.
Also the UserViewSet.get_serializer_class doesn't work for user_delete as the action that is checked is remove while the real action should be delete. This serializer setting is important as out-of-the-box it requires the user's password before deleting.

Thank you for the report, I'll get to it asap.


Allow setting default storage_class for gcs

We can add a new config called default_storage_class for gcs and set it every time users want to insert a new object:

storage_class: https://cloud.google.com/storage/docs/json_api/v1/objects/insert

I can complete this. Could you assign it me?

Thanks! Have fun!


x/website: "Get Started" on /learn links to the current page

What is the URL of the page with the issue?
https://go.dev/learn/
Screenshot

What did you do?
Click the link "Get Started"
What did you expect to see?
Some other page.
What did you see instead?
The same page https://go.dev/learn/
Either this link has a wrong URL, or we should remove it altogether.

I think it should be removed, it's breadcrumb navigation but afaik there aren't any pages under /learn/, only links to other resources
cc @dmitshur

Thanks Sean, this makes sense. I didn't realize the link was part of a breadcrumb.

CC @Lyoness, @pearring via owners.

I hope the breadcrumb navigation is more obvious in the current version.

@Deleplace what do you think?


improve security of sentinel mechanism

The default sentinel behaviour is to check for the existence of a file on the host. This is done using a test -f command executed on the host with nsenter:
https://github.com/weaveworks/kured/blob/main/cmd/kured/main.go#L661
I would propose refactoring this to achieve the same thing in a different way, using a (read-only) hostPath to check for existence of a file on the host, while keeping the non-default option to run an arbitrary sentinel command in the host namespace unchanged. In conjunction with #416  this would allow kured to be non-privileged.  This could mostly be handled by the Helm chart, mounting a configurable directory on the host (the sentinel file itself could not be mounted as a file-type hostPath because it would normally not exist).
volumes:
  - name: sentinel
    hostPath:
      path: /somewhere_configurable
      type: Directory

volumeMounts:
  - name: sentinel
    mountPath: /somewhere_arbitrary
    readOnly: true

A rebootSentinel option already exists in the helm chart and kured CLI.
Looks like these helm path helpers would be perfect to split up the given rebootSentinel path; Dir could be used to get the hostPath directory to mount and Base could be passed to the kured executable, to find the file name inside the arbitrary directory in the pod.

I like this idea, it could improve the security for the "default way". However, for custom sentinel-commands this would not be possible. nsenter is still needed there. Maybe this is a job for the helm-chart to limit privileges when the default-sentinel-mechanism is used and use the current privilege-level when using custom commands.

Yes, I was thinking along the same lines as #416, there could be a new option rebootSentinelMethod with default value "file"; can also be "command". The helm chart could have a bit of logic that sets the pod to privileged if either rebootMethod or rebootSentinelMethod is "command".

Still relevant.

PR #813 is open, there's a detailed description of the implementation and why the mount-point will not be readonly.

#814 is merged


Fix missing get_editor_viewport() to get_editor_main_control() renames

Fixes #44761.

How could it even compile without that change? :confused:

Tested locally, as I thought it does not fix #44761. And the changes done here are actually wrong, the use of that same method name is a coincidence, but here it does refer to viewports (the 1 to 4 viewports you can have in the 3D editor).
The actual problem is that 2D editor code that called editor->get_viewport() now calls Node::get_viewport() which was previously shadowed by EditorNode::get_viewport() which is now get_main_control(). Those need to be found and fixed, the compiler doesn't help us there due to the previous shadowing bug that your PR fixed.


undefined: unityBridgecompilerUndeclaredName

internal\unitybridge\unitybridge.go
undefined: unityBridgecompiler[UndeclaredName]
func Get() UnityBridge {
return unityBridge
}

@zkqn  what platform are you trying to compile it for?

Thank you! I am using it on the Windows platform, and the problem has been solved. It can compile normally now.

Note that I am moving development of this to 2 different repositories:
https://github.com/brunoga/unitybridge (Unity Bridge specific support
including the Key API for the Robomaster).
https://github.com/brunoga/robomaster/sdk2 (for a SDK like wrapper
around the unitybridge support).
Eventually I will get hid of this directory which was supposed to be
temporary.
On Fri, Nov 17, 2023 at 7:55 AM zkqn @.***> wrote:

Thank you! I am using it on the Windows platform, and the problem has been
solved. It can compile normally now.
—
Reply to this email directly, view it on GitHub
https://github.com/brunoga/robomaster2/issues/1#issuecomment-1816373966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO22H5QNSAH42VK5JRFU4LYE5NDZAVCNFSM6AAAAAA55SXAKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJWGM3TGOJWGY
.
You are receiving this because you commented.Message ID:
@.***>


[C++][Parquet] Refactoring in parquet::arrow::FileReader to be able to read a single row group

Some applications may want to read a single row group at a time rather than reading an entire file
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-946. Please see the migration documentation for further details.

Wes McKinney / @wesm:
PR: https://github.com/apache/parquet-cpp/pull/291

Uwe Korn / @xhochy:
Issue resolved by pull request 291
https://github.com/apache/parquet-cpp/pull/291


tf.layers.Network is in the documentation, but not the library

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OS X 10.12.6
TensorFlow installed from (source or binary): source, latest 1.4 branch
TensorFlow version (use command below): v1.4.0-rc1-12-gd752244fba 1.4.0
Python version: 3.6.3
Bazel version (if compiling from source): 0.7.0
GCC/Compiler version (if compiling from source): Apple LLVM version 9.0.0 (clang-900.0.38)
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce:

see below
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
The 1.4 version of the documentation mentions tf.layers.Network in its examples of using the new function based layers (here is a link to the specific doc, https://www.tensorflow.org/api_docs/python/tf/layers/Input), so all you have to do is copy/paste the example code and run it.
Source code / logs
the most basic code to verify is
import tensorflow as tf
print(tf.layers.Network)

on my system this results in
AttributeError: module 'tensorflow.python.layers.layers' has no attribute 'Network'

Thanks for pointing this out. This is indeed a bug, we decided to not export tf.layers.Network as a symbol for the 1.4 release, but forgot to hide tf.layers.Input as well.
We probably will introduce a tf.layers.Network by 1.5 or 1.6. ( @josh11b @fchollet ?)
Sorry for the confusion.

Thanks for the quick reply. Not sure about it, but it seems that without the tf.layers.Network and tf.layers.Input, the rest of the function based layers have a rather limited use. Anyway, looking forward to the future releases.

@MadWombat : re "the rest of the function based layers have limited use" - the function based layers are in fact pretty extensively used already (such as in the models repository).
The existing object oriented layers provide a way to structure your models (similar to Keras) as objects, even without the Network class. In fact, we encourage that to make models run efficiently even when eager execution is enabled

I guess I did not phrase it right. I meant the new style function based layers. The ones that return functions rather than ops tf.layers.Dense rather than tf.layers.dense. The models seem to be using the old style ones and without tf.layers.Network, I am not sure how useful the new style layers are.

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

tf.layers.Dense is the name of a class (capitalized means class in Python conventions), and so calling tf.layers.Dense is creating an object, which is what Asim is referring to as the object-oriented layers API. I think there are already some examples using them, and more on the way, @asimshankar and @fchollet would know more.

/CC @MarkDaoust

Hello,
The Network class has been removed (that's why it wasn't part of the public API).
We recommend you use the Model class: tf.keras.Model, which has the same functionality.
You can use the Model class with both layers from tf.layers and tf.keras.layers. tf.layers is a subset of tf.keras.layers. We recommend you use tf.keras.layers.


Add "Try Beta" to Settings

We could upsell how to add yourself as a beta tester in settings. Get more early feedback on stuff. Not sure how to collect emails tho. I've seen the fastlane tools to do this, but it requires a Heroku app. Maybe it just opens Mail.app to email me?

Yes, that seems 👍

If you're using https://github.com/fastlane/boarding it's basically all automated from what I've heard!

@Sherlouk ya that's the tool I was talking about. It requires a Heroku setup.

Just use the free Heroku instance, it'll work more than fine for what we want -- takes five minutes tops!
Love Heroku!

Now that we have the #if TESTFLIGHT compiler flag we could actually dynamically add this to settings for people who are not on testflight already - would be pretty nice!

I’m down. If someone wants to setup that free Heroku account and get the fastlane boarding or whatever tool setup That’d be awesome.
Sent with GitHawk

@rnystrom I don't mind setting it up (Heroku is super simple) but I'd require a whole bunch of iTC information!
Genuinely if you go to Heroku and create a free account: https://id.heroku.com/signup/login
then go to this URL: https://www.heroku.com/deploy?template=https://github.com/fastlane/boarding
It'll ask you for various API keys etc that it needs from iTC, after that it'll give you a URL and all be done. Share that and we can work on the next step of adding it to the app!

We can do this with the new beta invite link :)