Smartphone with multi-cameras

When open a ar.js demo，is that possible to change camera when use a smartphone which has multi cameras，like huawei mate 20，we want to use the main camera ，but it's not use the main camera by default.

I've had this same issue, it uses the 3x camera on my mate 20 phone by default. I'm not sure if this would be a software bug with Huawei though

There are a lot of old issues opened about that. Please check this search results:
https://github.com/jeromeetienne/AR.js/issues?utf8=✓&q=camera+rear

Like cconnor12345 said ,now the problem is huawei mate phone has 3x rear cameras ，how could we change camera

it's possible to get media source streams of all devices (all cameras, mics, and so on) with https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices and similar APIs.
The problem is, we have to add a way to AR.js to dynamically change on user request the media stream used. THe default is the front camera. No way for now to change that.
This is somehow duplicate of https://github.com/jeromeetienne/AR.js/issues/571 though is different

@nicolocarpignoli Are you really sure there is no way to change that? Is there no way to manipulate the arToolkitSource module?

sorry, I was not so specific. I wanted to say there is no easy way to change that. Maybe hacking into the code will make this possible. Have to investigate tho

I have produced some code in #619 that should resolve this issue


ManualServerShutdown_NoPipeName_ShutsDownServer hangs on linux VSTS

After some investigation, it looks like this test is the culprit causing https://github.com/aspnet/Razor/issues/2507. I've disabled this test on crossplat. As this is not common case and is hard to integration test, we should either remove this test or cover this in a unit test.

I didn't mean to jump to any conclusions here. I meant to say the way it is currently tested evidently made it hard to determine the exact problem (Given this only fails on unix in VSTS). I created this issue to change it in some way where that doesn't happen. Investigating the exact cause is part of this issue. I'll update the labels accordingly.

Possible reason for the hang https://github.com/dotnet/corefx/issues/31713


Add remaining Software

The Software page is incomplete. Add remaining software from https://hoelzer.github.io/tools/ at least.

[ ] RIBAP
[ ] poreCov
[ ] PoSeiDon
[ ] Breakfast
[ ] POCP-nf
[ ] PCAGO
[ ] RNAflow
[ ] CLEAN
[ ] VIRify


Bad yaml formatting breaking github ci

Must use spaces not tabs

@rhatdan merging this, it's a trivial fix for CI


Update connection-monitor-overview.md

Following should be clearly stated for the sake of clarity:
"You want to find out whether there is outbound connectivity between a VM and an (external) destination. "
PS: this and all my PRs follow Microsoft Certification Exam – Candidate Agreement and other relevant NDAs.

@halkazwini
Can you review this old PR and determine whether it needs to be closed or merged?

I sent an email to the content owner today.

I sent a Teams message to the content owner today.

Hi @azarboon,
Thank you for your contribution!
The list has some of the common use cases of connection monitor, we can't list all of them in this introductory list.
#please-close


OriDE.exe caused an Access Violation (0xc0000005)

Most common crash currently seems to be Access Violation (0xc0000005), Ive seen this show up in the error log and output log as either just a combination of Crash! and the Violation or in some output logs a IndexOutOfRangeException: Array index is out of range. is thrown just ahead of the crash. This IndexOutOfRange might be unrelated, but im including it for the time.
Ill add 4 logs (both output and error log from both combinations)
error_IndexOutOfRange.log
output_log_IndexOutOfRange.txt
error_crash.log
output_log_crash.txt

Fixed in version 0.1.2 with changes to the message system


Fix documentation page: content of one page not displayed

The documentation for the module hn2016_falwa/oopinterface.py is not displayed. When I generated that with Sphinx locally, the page is properly displayed as shown [here].(https://htmlpreview.github.io/?https://github.com/csyhuang/hn2016_falwa/blob/master/docs/build/html/Object Oriented Interface.html)
However, the page is broken on readthedocs.io:
https://hn2016-falwa.readthedocs.io/en/latest/Object Oriented Interface.html
I spent quite some time to try fixing it but futile. Anyone knowing what the issue is?

The issue has been fixed by moving the documentation to:
https://csyhuang.github.io/hn2016_falwa


REST API tests for rules endpoint

Description
REST API tests for rules endpoint
Type of change

REST API tests

Testing steps
To be checked on CI.
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report
Patch and project coverage have no change.

Comparison is base (a660a4c) 4.18% compared to head (2237275) 4.18%.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #429   +/-   ##
======================================
  Coverage    4.18%   4.18%
======================================
  Files          16      16
  Lines        1171    1171
======================================
  Hits           49      49
  Misses       1122    1122

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create post component

The component responsible for users to post.
Needs to include:

[x] name
[x] email
[x] subject
[x] comment
[ ] file
[x] password (Depends on logged in user or not. Logged in users can delete their posts, non logged in need to provide pass to delete)
[ ] Post as anonymous checkbox

File might be added later, but has been pushed back due to having issues with putting the files into local directories.


Add type declaration for typescript user

Also

Fix eslint error on error.js file
Bump ioredis to ^4.17.3

rewritten into typescript, will be published as @microfleet/ioredis-lock


Transient System.Text.RegularExpressions package vulnerability

The new<EMAIL_ADDRESS>dependency in Weasel.Core adds a transient dependency on<EMAIL_ADDRESS>which has a high severity vulnerability. See https://github.com/advisories/GHSA-cmhx-cq75-c4mj.
As a workaround, I can add System.Text.RegularExpressions as a direct dependency, but it is not good to have vulnerable packages added transiently, at least not due to a recent change. 😄
This is the change: https://github.com/JasperFx/weasel/commit/f74f7308a3fad5c9e2f11eb9148981b76e2704cf#diff-8fc294e21b8f18d4e1bc70eebda5148d0f41f96bcdb17361fae1c15fc240d8ddR20

@baltie Sounds like a helpful pull request!

Heh, all right, I'll have a look at it.
I did investigate our exposure to this and determined that even if the GitHub dependency scanner decided it was harmful, the actual DLLs involved were the ones from .NET 8, not version 4.3.0. So, it was a false positive. Regardless, it would be nice if we could avoid it as both GitHub and the VS NuGet package manager throws up warnings about this transient dependency.

I am having the same issue. Thank you @baltie for the pull request!


Add support for function composition

This issue was originally filed by @chalin

Issue #0 [1] is a request for a function pipe operator. Also in 16900 was a request for the added support of function composition.  I am pulling this out as a separate request as suggested in 16900 comment #12 [2].  Some discussion of function composition is provided in [3], in particular the F# syntax for composition which is reproduced below:
> F# has (forward) function composition (see F Sharp Programming/Higher Order Functions):
>   let inline (<<) f g x = f (g x)
> Reverse composition:
>   let inline (>>) f g x = g (f x)
[1] https://code.google.com/p/dart/issues/detail?id=16900
[2]  https://code.google.com/p/dart/issues/detail?id=16900#c12
[3] http://pchalin.blogspot.com/2014/02/case-for-pipe-operator-in-dart.html

FYI: A proposal for adding the simple-but-useful pipeline operator to JavaScript.. /cc @munificent @kevmoo @kwalrath

The pipeline operator is a different (and very interesting) idea, which we have had at least three different issues requesting.
As for function composition, that's not tractable for the reasons given above.


Multiple threads querying same table takes a long time

Please first make sure you have looked at:
Environment

Python: Python 3.9
pyodbc: 5.1.0
OS: Linux 4.18
DB: Microsoft SQL Server
driver: unixODBC 2.3.12

Issue
Hi folks,
I have the following behavior when running a python application that has multiple threads.
I managed to reproduce this with a test script but can't figure out where the issue is coming from, so I hope you might be able to shed some light.
I have a database that has 5 tables. If I create 5 threads and do a SELECT all of the results are returned in a reasonable amount of time.
If however I make each thread run the same SELECT against only one of the tables, the time taken to return hugely increases. I noticed this increasing with the number of threads. The threads all return at about same time but this time increases with the number of threads.
ApplicationIntent is set to ReadOnly,
Autocommit=True
I also set SQL_ATTR_TXN_ISOLATION to SQL_TXN_READ_UNCOMMITTED but also tried calling "set transaction isolation level read uncommited"
It's worth mentioning that I don't see the same behavior from multiple processes - multiple processes return in a reasonable amount of time and don't grow in time.
I tried looking in the pyodbc code but I don't see anything that would lock and pystack doesn't show any odd behavior. I didn't manage to turn on odbc logs.
Much appreciated for your help.

Very old but possibly related:
https://groups.google.com/g/pyodbc/c/2cPVv1hQ7sM

It is 5 different connections - specifically each thread opens a connection and executes the query. I assume there's some internal threadpool but definitely not the same connection object.

Very old but possibly related:
https://groups.google.com/g/pyodbc/c/2cPVv1hQ7sM

Yeah I stumbled across this and tried it out but no success. Also 5 processes doing the same query doesn't block.

Does this code illustrate what you're asking about?
import logging
import time
from concurrent.futures import ThreadPoolExecutor

import pyodbc

connection_string = "DSN=mssql_199;UID=scott;PWD=tiger^5HHH"
select_statement = "SELECT 1 AS foo"

def thread_function(name):
    logging.info("Thread %s: starting", name)
    t0 = time.perf_counter()
    cnxn = pyodbc.connect(connection_string)
    crsr = cnxn.cursor()
    results = crsr.execute(select_statement).fetchval()
    crsr.close()
    cnxn.close()
    elapsed = time.perf_counter() - t0
    logging.info("Thread %s: finishing (%s seconds)", name, elapsed)

if __name__ == "__main__":
    format = "%(asctime)s: %(message)s"
    logging.basicConfig(format=format, level=logging.INFO, datefmt="%H:%M:%S")

    t0_main = time.perf_counter()

    num_threads = 3
    logging.info("[num_threads = %s]", num_threads)
    with ThreadPoolExecutor(max_workers=num_threads) as executor:
        executor.map(thread_function, range(num_threads))
    logging.info(
        "Threads all done (%s seconds)", time.perf_counter() - t0_main
    )

    t0_main = time.perf_counter()
    for i in range(num_threads):
        cnxn = pyodbc.connect(connection_string)
        crsr = cnxn.cursor()
        results = crsr.execute(select_statement).fetchval()
        crsr.close()
        cnxn.close()
    logging.info("Loop done (%s seconds)", time.perf_counter() - t0_main)

Sample output:
12:57:37: [num_threads = 3]
12:57:37: Thread 0: starting
12:57:37: Thread 1: starting
12:57:37: Thread 2: starting
12:57:38: Thread 1: finishing (0.2834793250003713 seconds)
12:57:38: Thread 0: finishing (0.2989071940028225 seconds)
12:57:38: Thread 2: finishing (0.307108305998554 seconds)
12:57:38: Threads all done (0.31214239499968244 seconds)
12:57:38: Loop done (0.07701467600054457 seconds)

12:56:27: [num_threads = 9]
12:56:27: Thread 0: starting
12:56:27: Thread 1: starting
12:56:27: Thread 2: starting
12:56:27: Thread 3: starting
12:56:27: Thread 4: starting
12:56:27: Thread 5: starting
12:56:27: Thread 6: starting
12:56:27: Thread 7: starting
12:56:27: Thread 8: starting
12:56:28: Thread 0: finishing (0.5598898039970663 seconds)
12:56:28: Thread 1: finishing (0.5588093600017601 seconds)
12:56:28: Thread 2: finishing (0.5580887379983324 seconds)
12:56:28: Thread 8: finishing (0.5656811830012884 seconds)
12:56:28: Thread 7: finishing (0.5696206499997061 seconds)
12:56:28: Thread 6: finishing (0.5895873629997368 seconds)
12:56:28: Thread 5: finishing (0.6092011000000639 seconds)
12:56:28: Thread 4: finishing (0.6120298109999567 seconds)
12:56:28: Thread 3: finishing (0.615750745000696 seconds)
12:56:28: Threads all done (0.6211617680019117 seconds)
12:56:28: Loop done (0.510924154001259 seconds)

Yes, just that I'm not using a thread pool executor but spinning up threads in a for loop. I also didn't include the connect in my perf block and I don't close the cursor after fetchall or the connection. Apart from that is identical, but as you can see your time also goes up with the number of threads. And what's more the time is also close to identical. It doesn't seem to make sense, do you agree ?
I also call cursor.execute("SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED") beforehand I execute the select statement.

Similarly, if all threads run a sql statement to a different table the time doesn't grow with the number of threads. I tried to also use a with statement to make sure the queries are completely different even if hitting the same table but no luck.

Have you tried using SELECT … WITH (NOLOCK) to see if it makes any difference?

Ah yes - I forgot to mention. I see some slight better performance but the issue is still there - the performance degrades with the number of threads.

For my test, the time does indeed increase with the number of threads, but that is the elapsed "clock on the wall" time from the moment the thread starts until it finishes. Each thread is obviously not executing the whole time because the elapsed time of each thread is approximately the same as the elapsed time for all threads ("Threads all done"). In other words, the elapsed time for a thread is not the amount of time it is actually executing, it also includes the time when that thread is dormant while one of the other threads is active.
As for selecting from one table vs. selecting from different tables, I purposely chose SELECT 1 AS foo because it's not hitting a table at all, so there's no "blocking" due to table/row locking. There will be other contention within SQL Server itself, but there's nothing that pyodbc can do about that. For example, I was hitting a SQL Server instance that's running on an ancient machine with dual-core processor so there's no way that SQL Server can handle 3 simultaneous connections (let alone 9) in a completely parallel way.
TL;DR - Think about what your metrics really mean. Perhaps a more realistic test would be to define a task to be done and then compare the time it takes to complete that task using different numbers of threads. For example, using a single (main) thread to read 1_000_000 rows from a table vs. using 100 threads to read 10_000 rows each.

I think it does make sense up to a point. Since execute will release the GIL the threads should execute concurrently (well not practically but theoretically), therefore each thread time should be smaller than the time taken to execute all the commands sequentially.
I understand that if you have an ancient machine you might end up hitting a resource limit, but as I said, running the same 5 threads against 5 different tables shows a time that is substantially lower than running it against the same table and there are no resource bottlenecks on the db server.
Additionally, running this from multiple processes (5 processes with 1 process each instead of 5 threads) has results significantly better (10 times or more).
Row level locking should not incur on a select query if I set transaction isolation level uncommitted I think.
I think not hitting a real database might also be misleading.
I did write a cpp piece of code and I don't see the same issue, the time taken to run the query is not increasing with the number of threads.

Also this:
12:57:38: Threads all done (0.31214239499968244 seconds)
12:57:38: Loop done (0.07701467600054457 seconds) makes little sense. ```
Looping sequentially executing the query finishes much faster than running those 3 threads. (4x faster)

TL;DR - Think about what your metrics really mean. Perhaps a more realistic test would be to define a task to be done and then compare the time it takes to complete that task using different numbers of threads. For example, using a single (main) thread to read 1_000_000 rows from a table vs. using 100 threads to read 10_000 rows each.

It's not really the usecase here. Imagine a client-server application where a server has a grpc pool of workers handling requests. If all my requests are queries to different tables they respond fast, if they hit the same table they all slow down massively.

running the same 5 threads against 5 different tables shows a time that is substantially lower than running it against the same table

Sorry, but I'm not seeing that either. I created 5 tables (tbl_0 .. tbl_4) with 5 columns x 1000 rows. I tweaked my test so that each thread either hit the same table (tbl_0) or hit a different one (e.g., thread_#0 hit tbl_0, thread_#1 hit tbl_1, etc.). The SELECT statement used WHERE nvarchar_col = '…' and the tables had no index on that column, so each SELECT did a table scan. I ran each test 12 times, discarding the highest and lowest values in each batch. The remaining 10 observations for each batch were
[same]
0.050622984
0.053793429
0.055004407
0.059796986
0.091637345
0.093007212
0.096713479
0.098369835
0.127283216
0.152296241
mean: 0.087852513
variance: 0.001149997
[different]
0.057655652
0.065047164
0.065562941
0.06752632
0.068541742
0.07300041
0.09892619
0.099178946
0.109344414
0.131078461
mean: 0.083586224
variance: 0.000592743
A t-Test in Excel gave a t statistic of 0.323172196 and a two-tail critical value of 2.10092204, implying that the two means are not significantly different. Certainly there was nothing like 2- or 3-fold difference in the time taken to complete the tests for the two scenarios.
Can you reproduce your results if you use pymssql instead of pyodbc? It appears that pymysql has the same threading limitations as pyodbc, namely threadsafety=1: "threads may share the module but not connections".

I will try - is your example using the same driver as above ? unixODBC 2.3.12
I did try this with two different databases and I was seeing the same result but will look into more fine details tomorrow. I also tried sqlalchemy which showed increased performance but similar pattern although I think under the hood is still using pyodbc.

is your example using the same driver as above ? unixODBC 2.3.12

Gentle terminology correction: The ODBC Driver is something like "ODBC Driver 18 for SQL Server", or "msodbcsql18" for short (from the name of the .so or .dll file). unixODBC is an ODBC Driver Manager (DM). I was running my tests on Windows, so I was using Windows' built-in DM (odbc32.dll) — not unixODBC — but I wasn't too concerned because we are looking at (what we think might be) a server-side blocking issue and the DM is unlikely to be relevant.

I think under the hood [SQLAlchemy] is still using pyodbc.

If you use mssql+pyodbc://, yes. SQLAlchemy can also use pymssql with mssql+pymssql://

Just repeated my test on Ubuntu 22.04 with unixODBC version 2.3.9 and msodbcsql18 version 18.3.3
[same]
mean: 0.460556142
variance: 0.005884503
[different]
mean: 0.47910388
variance: 0.007232559
t Stat: 0.512121114
t Critical two-tail: 2.10092204
=> means are not significantly different

Your claim that querying different tables vs. the same table results in different times already eliminates pyODBC as the cause. pyODBC doesn't attempt to interpret the query so it can't behave differently depending on that. I agree with gordthompson that this is almost certainly server-side.

Also this:
12:57:38: Threads all done (0.31214239499968244 seconds)
12:57:38: Loop done (0.07701467600054457 seconds)

makes little sense. Looping sequentially executing the query finishes much faster than running those 3 threads. (4x faster)

It's because I ran that test on Windows, and ODBC connection pooling is automatically enabled for "ODBC Driver 17/18 for SQL Server" on Windows. The three threads each had to open their own connection, and when they were finished the connections were returned to the pool, so the pyodbc.connect() in the loop was given one of those connections instead of having to open another one. The SELECT was so simple that its execution time was far less than the time to establish a new connection.
I actually added the loop to try and provide insight into the overhead required to manage the threads, but I didn't consider the connection pool. My bad.


Please don't make executables for the SDK, that are nothing more than drivers.

The Azure Kinect is the worst experience of "developer/thinker/new on the market" product ever for me.
First i thought it was nice that there was an installer for windows.
But then i found out, that after days of trial and error, (with different programs/compilers) it is just an incomplete package, so no sdk at all.
Then after downloading the complete/real SDK and finding out what the best way to compile was, at first i didn't notice the files because of the strange folder structure after compiling.
Its an example in a bundle in another bundle if i have to explain the structure. But in which folder i could find the compiled exe or which things i have to compile before i could compile the exe was completely unclear for me.
Even now i know it is in the folders, i can't find it the first try.
I did know that it is not a "normal/finished" product, but loving to experiment with electronics and after seeing multiple examples (some exactly what i was looking for), i wanted to go for it.
Also, after recording 2 mkv's for mapping in a factory i found out that:

MKV 1: after a sudden ending with the recording (battery empty) the mkv is useless except extracting depth and color images with ffmpeg.
MKV toolnix cant do anything with it. The only program that can read some info of it is ffmpeg/ffprobe. But copying the tracks to another container doesn't give me the info (duration, framerate, meta info) that is needed by other programs to read the file properly. For all other programs its just an empty file.
MKV 2: After recording just 6 and a half minute only the k4aviewer can handle it (and i can watch the color video with vlc and mediaplayer classic). One of the examples (transformation) could only handle the first xxxx frames. The rest could not do anything with it.

I know, "they are examples, you cant expect anything from it", but i just wanted to share my experience with it, AND: thinking that the executable sdk was the safest bet, was the worst call.

I don't really understand what you mean with that the installer is only a driver?
The installers you can download are containing everything you need to develop an application that uses the azure kinect:
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/usage.md#msis
It even states there:

The installer will put all the needed headers, binaries, and tools in the location you choose (by default this is C:\Program Files\Azure Kinect SDK version\sdk)

So if you download the "Azure Kinect SDK 1.4.1.exe" for example and install it, you don't only get some tools like the k4aviewer or k4arecorder but also the headers and library files you need to compile your own applications with.

Try to compile transformation or opencv example after that install and you know what i mean. Maybe you have done much compiling i didnt, and i think i will not be the only one. I have a couple of times but than it was clear and everything was complete, or it was clear that i had to get extra files to get things working. In this sdk not at all, and by the time a learned that it was hours/days later.
Looking it from the bright side, i have learned allot about compiling because i have tried it a lot in the past days, i now even know some errors that can occur.

Well examples that use open cv obviously only works when you add the open cv dependency.
The SDK itself doesn't have open cv in its own installer and it shouldn't because its a general computer vision library thats not from microsoft.
The SDK contains an API and implementation for configuring, starting and retrieving the k4a sensors data as the name "Sensor SDK" already hints at.
So in that way the SDK itself is complete, you can develop own applications that can configure, start and retrieve data from the k4a. What you do with it is your own responsibilty.
When you want to display it on a screen, you need additional code and/or dependencies for that of course.
If you want to use it combination with open cv the examples show you thats its possible, but of course you have to add open cv for that as well.
But you can also develop things applications like:

retrieve the capture
process it with the body tracker
send the body tracking results somewhere or store them in a file

These applications doesn't need something to display the images on screen or doesn't need anything from opencv, just the SDK itself.
I think you just misunderstand what a SDK should contain.
It is not meant to provide you APIs for third party libraries.
You are just a bit confused because some examples make use of third party libraries and show a way how to interact with them after retrieving data from the Sensor SDK.

Well examples that use open cv obviously only works when you add the open cv dependency.
The SDK itself doesn't have open cv in its own installer and it shouldn't because its a general computer vision library thats not from microsoft.
The SDK contains an API and implementation for configuring, starting and retrieving the k4a sensors data as the name "Sensor SDK" already hints at.
So in that way the SDK itself is complete, you can develop own applications that can configure, start and retrieve data from the k4a. What you do with it is your own responsibilty.
When you want to display it on a screen, you need additional code and/or dependencies for that of course.
If you want to use it combination with open cv the examples show you thats its possible, but of course you have to add open cv for that as well.
But you can also develop things applications like:

retrieve the capture
process it with the body tracker
send the body tracking results somewhere or store them in a file

These applications doesn't need something to display the images on screen or doesn't need anything from opencv, just the SDK + body tracking SDK.
I think you just misunderstand what a SDK should contain.
It is not meant to provide you APIs for third party libraries.
You are just a bit confused because some examples make use of third party libraries and show a way how to interact with them after retrieving data from the Sensor SDK.
The transformation example uses libjpegturbo, a third party library, to decompress JPEG images when loading a MKV file and not using the live captures from a device.
But as I said, libjpegturbo is a thrid party library thats not from Microsoft and not necessary for every k4a application.
So the example just shows how to interact with the libjpegturbo in that way.
Edit: Instead of decompressing the image with libjpegturbo you could also rewrite that part to use the color conversion feature of the SDK itself:
https://microsoft.github.io/Azure-Kinect-Sensor-SDK/master/classk4a_1_1playback_a8566e35942f2d62be8b1e62214373b38.html#a8566e35942f2d62be8b1e62214373b38
That way you will get BGRA color images again and don't have to decompress the jpeg images yourself.
Edit:
When you want to develop own applications that use the k4a, then you definetly shouldn't clone this repository and develop them inside this structure.
Thats not what this repository is for.
You should always setup your own bare project and then add the required dependencies.
The SDK + whatever third party libraries you want to use.

I know that, i have that all working now by git cloning the SDK. It even copied all necessary opencv dll's to the example folder
Did you at least try the installer and compile transformation and other examples?

The workflow is not to clone this repo. The examples are not part of the SDK itself, they just show how to use the SDK and also use other thrid party libraries which you should add to you projects yourself if you want to use them as well.
I already explained what the SDK contains and what for what it is:
API and implemenation to configure & start the k4a, get its sensor sdk and capabilities for recording/playback.
When I want to get the transformation example running, which uses libjpeg-turbo, I do the following steps on windows with visual studio when not using nuget packages:

Download and install the sensor sdk using the common .msi installer like "Azure Kinect SDK 1.4.1.exe"
Download libjegturbo binary installer ("libjpeg-turbo-2.0.6-vc64.exe") from the official libjpegtubro website:
https://libjpeg-turbo.org/Documentation/OfficialBinaries
Create a new empty visual c++ projects with Visual Studio
Copy just the main.cpp, transformation_helper.cpp, transformation_helper.h from the transformation example to your new project
Add the "include" folders from the installation directorys from the sdk and libjpegturbo from step 1 and step 2 to your new project (Project Properties -> C/C++ -> General -> Add Include directories)
Add the "lib" folders from the installation directorys from the sdk and libjpegturbo from step 1 and step 2 to your new project (Project Properties ->Linker -> General -> Additional Library Directories)
Specify the libraries to link: (Project Properties ->Linker -> Input-> Additional Dependencies -> Add k4a.lib, k4arecord.lib, turbojpeg.lib)
Build your project
Copy the dll files needed during the runtime of your application to your build output folder: depthengine_2_0.dll, k4a.dll, k4arecord.dll, turbojpeg.dll
Now you can run the application from the command line

No need to clone and build the whole SDK just to get an example running.
You just need the installer for the SDK and need to add the installed header and library files to your project, link them and copy the dll files to your output folder.
Nuget packages can simply this process and that workflow is also explained on the MS homepage.
Additional third party libraries, like libjpegturbo, need to be added seperately because its just a general purpose third party library for compressing/decompressing JPEG images and therefore don't belong to the API from the sensor sdk.

I would agree though that the Azure Kinect Samples repository could be maintained better and that the examples could be moved to that repository.

I would agree though that the Azure Kinect Samples repository could be maintained better and that the examples could be moved to that repository.

I think that would help a lot of us. Don't get me wrong, i know i have to change any code that i use to make it do what I want, for my use case. But because i have not that much experience to write all the code, i was searching for an example that at least comes near the things i want. And i am someone that is really patient to do trial and error, till it is working.
But this is one of the first times, i lost the fun in it completely, before even getting any results of the Kinect.
While i think it is capable of the things i want it to. I did get ROS with RTAB-MAP working though, but the results from that does also not come near the things i want (till now atleast).
Thanks for the best explanation on how to approach compiling the examples. It had saved me days if all the steps/walkthroughs for running examples where that clear.
Maybe someone here can point me in the direction which probably comes close to the things i want with the kinect?
I want to use the kinect for scanning rooms/building, to get an as dense as possible pointcloud.
What i want from that is:

2d plans (with angles between walls) and height.
Measure some random things (at home) like windows (frames).
And if thats working allright, use software (with recognition) to make a 3d file/project from the
cloudpoints (for VR and or designing and building cabinets).

I have no experience in your use cases, but I would guess as you are already using ROS you have found the Azure Kinect for ROS Github Repository?
https://github.com/microsoft/Azure_Kinect_ROS_Driver
Maybe you can find some experienced mapping people over there because, as you already stated, mapping is often used on Linux/ROS/roboting applications.


'fill_value' availability in Iris v2.0.0

Hello,
I need to determine the fill_value from the model output files I load via Iris. Using Iris v1.13.0 for PP model output files:
% module load scitools/production-os41-1
% python
Python 2.7.12 | Met Office - SciTools | (default, Jun 15 2017, 11:28:28)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iris
>>> print iris.__version__
1.13.0
>>> cube = iris.load('/project/cdds/testdata/diagnostics/input/set1/u-ar050/ap6/ar050a.p618550511.pp', iris.AttributeConstraint(STASH='m01s30i294'))[0]
>>> print cube.lazy_data().fill_value
-1.07374e+09
>>> print cube.data.get_fill_value()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'numpy.ndarray' object has no attribute 'get_fill_value'

and for netCDF model output files:
% module load scitools/production-os41-1
% python
Python 2.7.12 | Met Office - SciTools | (default, Jun 15 2017, 11:28:28)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iris
>>> print iris.__version__
1.13.0
>>> cube = iris.load_cube('/project/cdds/testdata/diagnostics/input/set1/u-ar050/inm/cice_ar050i_1m_18540301-18540401.nc', iris.Constraint(cube_func=lambda cube: cube.var_name == 'vicen'))
>>> print cube.lazy_data().fill_value
1e+30
>>> print cube.data.get_fill_value()
1e+30

Firstly, this shows an inconsistency in the access of the fill_value between PP and netCDF model output files using Iris v1.13.0.
Using Iris v2.0.0 for PP model output files:
% module load scitools/experimental-current
% python
Python 2.7.12 | Met Office - SciTools | (default, Jun 15 2017, 11:28:28)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iris
>>> print iris.__version__
2.0.0
>>> cube = iris.load('/project/cdds/testdata/diagnostics/input/set1/u-ar050/ap6/ar050a.p618550511.pp', iris.AttributeConstraint(STASH='m01s30i294'))[0]
>>> print cube.lazy_data().fill_value
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Array' object has no attribute 'fill_value'
>>> print cube.data.get_fill_value()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'numpy.ndarray' object has no attribute 'get_fill_value'

and for netCDF model output files:
% module load scitools/experimental-current
% python
Python 2.7.12 | Met Office - SciTools | (default, Jun 15 2017, 11:28:28)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iris
>>> print iris.__version__
2.0.0
>>> cube = iris.load_cube('/project/cdds/testdata/diagnostics/input/set1/u-ar050/inm/cice_ar050i_1m_18540301-18540401.nc', iris.Constraint(cube_func=lambda cube: cube.var_name == 'vicen'))
>>> print cube.lazy_data().fill_value
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Array' object has no attribute 'fill_value'
>>> print cube.data.get_fill_value()
1e+30

Using Iris v2.0.0 shows the same inconsistency, but this means I am unable to access the fill_value for PP model output files. Is this expected?

I'm not sure if the first point in @pp-mo's comment here means that this is expected?

It appears that I completely forgot about masked arrays yesterday when I wrote this! facepalm
The inconsistency arises due to the fact that the data loaded from the PP model output files data have no points marked as missing, while the data loaded from the netCDF model output files do.
I understand that it's not necessary to retain the fill_value if there are no points marked as missing, so I'll make the relevant changes to my code to handle this.
Apologies for the noise.

I'm not sure if the first point in @pp-mo's comment here](https://github.com/SciTools/iris/issues/2773#issuecomment-335526885) means that this is expected?

Just to be clear, those ideas were all very worthy (IMHO! :wink: ) but the changes were driven by the need to use Dask when it did not support masked arrays, leading to the "alpha release" Iris v 2.0a0.
Since Dask now does support masked arrays, in Iris 2.0 things have changed again.
In summary, 'fill_value' now only exists as a property of real, masked data : there is no cube.fill_value.


Detected index js file change. Contact me to check if it's safe to continue: https://t.me/scripts_hub

Select an action:
1. Run bot
2. Create session

1
Do you want to run the bot with multi-thread? (y/n) : y
2024-12-25 18:43:48 | SUCCESS  | 111  - Available accounts: 1
2024-12-25 18:43:48 | INFO     | 2732 - tom1 | 🕚 wait 55 second before starting...
2024-12-25 18:44:45 | INFO     | 115  - tom1 | 🔎 Processing advance detection...
2024-12-25 18:44:45 | WARNING  | 204  - Expected file index-BE3rtQuM.js not found in JavaScript paths.
2024-12-25 18:44:45 | INFO     | 207  - New files: index-DvwIF3FM.js
2024-12-25 18:44:45 | WARNING  | 2766 - Detected index js file change. Contact me to check if it's safe to continue: https://t.me/scripts_hub
done
PLEASE EDIT .ENV FILE
root@dd86d937a4cf:/home/bot/Tomarket-BOT# git pull
Already up to date.
root@dd86d937a4cf:/home/bot/Tomarket-BOT#

Bot working, thx.


nixos/yggdrasil-jumper: init module

Init yggdrasil-jumper package at 0.3.1 and the nixos module for it
https://github.com/one-d-wide/yggdrasil-jumper

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Oh, it is dupe of #321098


Added Bengali translations to translation.js

Hi @BinTofajjal , thanks for contributing!
Since there's a typo in statcard.title, I think the locale would be bn not bd right? Could you please fix it out, and I'll merge it, thanks a lot!
BTW, it's really help me for starring the repo😇.
Happy Hacktoberfest!

I've fixed the issue.

LGTM, thanks!

@all-contributors please add @BinTofajjal for code


When entering dependants into calculator on landing, stop return key taking me to page 2

When I enter in my dependants on the landing, I press enter as I finish writing in and i get taken to the application form before i can see the calculation.
Stop the enter (return) key from taking me to the application

closes #163


Classification of Forum for Microcontrollers Vs Android/other OS Apps

Hi Experts,
I found the issues reported are mixed of platforms used like Desktop, Android, micontroller and other OS. Is there feature to classify it only based on micro-controller based APPS.
It will help better understand the types of problems and issues.

@techguyzz You may use any of the templates to post a issue, make sure you provide all relevant information as much as you can. Once you post the issue we can label appropriately after interpreting the content. We can use label micro on GitHub for your case.


uui-toggle: icons doesn't look great

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.
1.6.0-rc
Bug summary
I noticed the icons doesn't look great in backoffice after the new Lucide icons , but should probably be fixed in UI library.
Specifics
No response
Steps to reproduce
Check uui-toggle component with check and cross icons.

The new icon-wrong is this icon https://lucide.dev/icons/x-circle ... but this icon is more similar to the current "wrong" icon in the current backoffice: https://lucide.dev/icons/x

Expected result / actual result
No response

@nielslyngsoe not sure how the existing SVG icons should be changed or we just should stay with the new icon name in Lucide icons and then change e.g. icon name used in Lucide icon set. I think it otherwise may be confusing to find the icon?
I think we should strive to make core looks pretty and then developers migrating to Umbraco 14 (new backoffice) and eventually Umbraco addons need to update a few icon names.
The old icon set was solid icons and therefor using fill .. the new icons are outline icons as far I know and therefore using color to fill stroke? .. how would it eventually affect custom icons, e.g. the solid Umbraco logo/icon. With the new icons should there be an outline Umbraco icon as well? E.g. similar to the one used here: https://twitter.com/umbracoproject


Fixed typo in TypeScript example

Fixed typo preventing the example from copy pasting.

Thanks for your contribution.


Add cmd-line script

This is still work in progress, but I am opening this PR early so others can follow along and comment, if desired.  The accompanying desisurvey PR is desihub/desisurvey#30.

Changes overall look good but please make sure that unit tests still pass before finalizing.  They still work for desisurvey but the reorganization has broken them for surveysim (module import issues, not algorithmic).

I am merging now so we have a tag v0.4.0 of master associated with the 2% sample.


[tts] emote muting doesn't include BTTV/FFZ or 7TV at the moment

[ ] Mute BTTV/FFZ emotes
[ ] Mute 7TV emotes

I can take this one as it should be pretty doable with a small refactor


fix typo in consumer filename

Change conumser.py => consumer.py.

@BrianMowrey there is a conflict, could you please fix this?

whoops sorry conflicted with my other PR, should be good now.
Thanks for writing this!  it's been a huge help already and happy to contribute.


when I click 'new pull request', I'm being redirected to tj/should.js

Just choose correct fork. As this repository is a fork, github choose default base fork.

oh, right, wasn't familiar with that. sorry for the noise.


feature: add static fileio class to read and write files

closes #922

For tests it uses "\USER\FileIOTest.pdt" that might be a problem on VC-4/Series 4 systems.
Better to convert all to lower case - series 3 will read it regardless and for series 4 it would be more compliant..
Series 4 has those two folders: "users" and "Users"

or tests it uses "\USER\FileIOTest.pdt" that might be a problem on VC-4/Series 4 systems.

@batourin great point. fixed

One thing that concerns me: the CCriticalSection is ONLY used for writing to the file, meaning it's possible for something to attempt reading from the file while it's being written. This is a vaild scenario, think log files. Has this been tested in that scenario, where a read on the same file is attempted while it's being written?

One thing that concerns me: the CCriticalSection is ONLY used for writing to the file,

Yup, makes sense. added the lock to reads in the latest version. It's a global lock and not really limited to the file but should work for our purposes.


941101 add request filename

Relates to issue #2170
TODO: Add brief explanation of PR

@RedXanadu Can you rebase to latest v3.4/dev?

The failing tests should be fixed whenever this PR is rebased on the current v3.4/dev.

Meeting decision Oct 4: @RedXanadu will provide a better description and do a rebase to fix the failing tests

Meeting decision Oct 4: also here, a rebase should fix the failing tests


ssl_session_tickets off results in an SSL handshake error

A change in commit 87879c1 ssl_session_tickets off causes a handshake error in latest versions of Chrome 53 and Firefox 50. I was able to establish a ssl connection in Internet Explorer, Safari and curl. I'm no expert in this area, but I did a little wireshark sniffing and found that both Chrome and Firefox closed the connection after an SSL Alert sent by the browsers
Firefox and Chrome
<IP_ADDRESS>	   XXX.XXX.XXX.XX  TLSv1.2  Client Key Exchange, Change Cipher Spec, Hello Request, Hello Request
XXX.XXX.XXX.XX	   <IP_ADDRESS>	TLSv1.2	New Session Ticket, Change Cipher Spec, Encrypted Handshake Message
<IP_ADDRESS>	   XXX.XXX.XXX.XX	TLSv1.2   Encrypted Alert
TCP FIN
Removing ssl_session_tickets off or setting it on works, but curiously, my other servers are functioning just fine with ssl_session_tickets off
Moreover ssl_session_tickets off is not required to get an A+ rating

For the record:

Chrome: ERR_SSL_PROTOCOL_ERROR
Firefox: SSL_ERROR_RX_UNEXPECTED_NEW_SESSION_TICKET
Ruby: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read finished A: unexpected message

I confirmed that #581 fixes this problem. Until that's merged, you can mount the fixed template at /app/nginx.tmpl

strange! ssl_session_tickets off works fine here
It's also not really recommended to turn ssl_session_tickets on, see https://wiki.mozilla.org/Security/Server_Side_TLS#TLS_tickets_.28RFC_5077.29
This comment explains that

if you have 2 server configurations and and you have ssl_server_tokens set to on in one, it will break the one where it's set to off in certain browsers

Maybe that's what's going on?

@freakinruben I think so. #581 fixed this by adding missing ssl_session_tickets off; to default site, which did not have that.


Modeling non-gene features as top-level type fields

Under the recommendations for the type field, you say:
Best practice: Top-level feature types can include gene and pseudogene. Optionally, include a so_term_name attribute in column 9 to specify the child (type) of gene - e.g. protein_coding_gene, ncRNA_gene, miRNA_gene and snoRNA_gene (http://purl.obolibrary.org/obo/SO_0000704). Transcript features should include the appropriate SO term in column 3 (e.g. mRNA, snoRNA, etc).

I agree with all of this, but I think that the recommendation should be extended further to regularize non-transcribed features.
Right now non-transcribed features can be all over the map, and as a result become hard to parse. In the NCBI annotation of GRCh38, a wide array of top-level non-gene features are used. Additionally, I have not seen any spec define a collection of non-transcribed features (analogous to isoforms of a gene).
In the specification I built under the BioCantor repo, I attempted to regularize top-level features by calling any grouping of non-transcribed features a biological region (which I chose based on SO:0001411), and then deviated from SO by calling any interval in that grouping a feature_interval. I then also chose to define a "joined" interval of non-transcribed feature (analogous to an exon) a subregion.

Hi @ifiddes thank you for your comment.
Currently, the focus of these recommendation is on protein-coding genes. The point here is a general recommendation to just use “gene” and “pseudogene” in column 3 for genes, and provide additional granularity of gene types in column 9, as opposed to saying protein_coding_gene in column 3. Properly parsing the broader scope of SO types that can be represented in GFF3 requires using the SO hierarchy. While I understand the challenges posed by using a wide range of terms in column 3, I believe calling everything “biological_region” would be a huge generalization, and force ad hoc processing of non-standard attributes in column 9 to make use of the rich annotation.


upstream: fix abort in ring hash lb's config parsing

Description: For ring hash lb, move all configuration parsing from Ring's ctor to the LB's ctor, where it's safe to throw exceptions from. Also, re-add proto field constraints to guard against extreme inputs from clusterfuzz and other actors of questionable intent.
Risk Level: Low
Testing: Added clusterfuzz testcase; existing tests still pass.
Docs Changes: n/a
Release Notes: n/a
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13327
Signed-off-by: Dan Rosen<EMAIL_ADDRESS>

Can you put in the commit message at the top "Fixes oss-fuzz issue https://..."? This lets us track what the fuzzers are finding. Thanks!


Add DATASOURCE url param

For at least datasource control add ability to pass it from URL

DATASOURCE:value

parameter "datasource" (lower case). parameter value should be escaped.
eg., for:
datasource=map/rayon_5weights.pivot
escaped version is to be:
datasource=map%2Frayon_5weights.pivot

done in 3.1.24


bug: Global app.module  set "backButtonText" does not work

The latest version of ionic 4, global app.module  set "backButtonText" does not work.
You still need to change the text of the ion-back-button in the page.

Thanks for the issue. Can you provide a repo with the code required to reproduce this issue?

ionic 4 angular:
app.module.ts

html

In theory, the text of the back button should be "RETURN", but the actual display effect is still "Back"

Thanks for the follow up. Are you able to reproduce this in an Ionic starter application? I have been testing it in apps locally and am unable to reproduce the issue you have described.

Still exist.
The text of the ion-back-button must be set on each page to override the original "Back" text.

Can you provide the source code for the starter app in which you reproduced the issue?


Simplify is_unicode()

https://six.readthedocs.io/#six.text_type

thanks a lot @cclauss -- much appreciated!

@afrozenator Unfortunately, the merge of #1321 overwrote the change in this PR #1318.  This change should still be made.

@cclauss - I see both the functions correctly at master - https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/data_generators/text_encoder.py

You are correct.  I was mistaken.  Thanks.

I've been tripped up in the past by this, it is very confusing.


how to only use exclude?

I just want to use exclude. But i remove include or include empty,  exclude is not work.

Please see https://github.com/Jamling/hexo-generator-index2#options
v0.0.2 support multi-layout include/exclude
- layout: index
  exclude: 'category'

such as I have three categories : a, b, c. And i only exclude c.
  include:
    - category a
    - category b
  exclude:
    - category c

It is work for me. but if only use
exclude:
    - category c

it does not work.

if category_map used, please use the value of category_map instead

category_map is not used.

On my case: it should uninstall hexo-generator-index and set index2_include_index: false

@yeziahehe Please try the solution of @Yalhu
The default official hexo-generator-index must uninstalled before using hexo-generator-index2

When I open the page: localhost:4000,there is an error: 'cannot get /' while I set index2_include_index:false . Is index2_include_index:true required rather than false?
It was ok yesterday.

@Yalhu https://github.com/Jamling/hexo-generator-index2/blob/master/README_zh.md#选项

I think it was the code:var include = generator.include || [] indedicating it will include nothing if only using exclude.  The include should be all of the categories of level 1 and uncategories what are default if there is no category rather than [] , while there is no include.
But I don't know how to change .
if (generator.include || generator.exclude) {
             //There should include all categories of level 1
             // and uncategories what are default if there is no category
            var include = generator.include || [];
            var exclude = generator.exclude || [];
            if (!util.isArray(include)) {
                include = [include];
            }
            if (!util.isArray(exclude)) {
                exclude = [exclude];
            }

            posts = posts.filter(function (post) {

I'll check the code tomorrow
And run the test of when the include is empty.

The exclude issue is fix in 0.2.0


Reconcile errors base64

Hi,
I'm seeing this error in trivy-operator, the scanner works but it looks like some images cause this issue;
{"level":"error","ts":"2023-04-04T13:13:21Z","msg":"Reconciler error","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"scan-vulnerabilityreport-6df54dd7bf","namespace":"trivy-system"},"namespace":"trivy-system","na
me":"scan-vulnerabilityreport-6df54dd7bf","reconcileID":"98294841-b8eb-49ed-8a41-ffd2590fd7b3","error":"unexpected EOF","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/s
igs.k8s.io/controller-runtime<EMAIL_ADDRESS>/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235"}
{"level":"error","ts":"2023-04-04T13:13:21Z","msg":"Reconciler error","controller":"job","controllerGroup":"batch","controllerKind":"Job","Job":{"name":"scan-vulnerabilityreport-5db54c7f7d","namespace":"trivy-system"},"namespace":"trivy-system","na
me":"scan-vulnerabilityreport-5db54c7f7d","reconcileID":"54342246-0a3a-4820-abcc-0d0d825c1e1b","error":"illegal base64 data at input byte 109226","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\
t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-ru
ntime@v0.14.5/pkg/internal/controller/controller.go:274\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.5/pkg/internal/controller/controller.go:235"
}

This is on trivy-operator 1.13.0 kubernetes 1.24.5
Is this a bug?

@githubcdr could you please share the output (if it is not confidential) of the pods.
kubectl logs <pod name> -n trivy-system

Unfortunately I'm unable to share this information, but for completed pods the output is a valid base64 result. I'm not sure why some containers cause this issue, maybe it is resource related.

Unfortunately I'm unable to share this information, but for completed pods the output is a valid base64 result. I'm not sure why some containers cause this issue, maybe it is resource related.

@githubcdr  could you delete the related jobs (which produce the pods) and restart

I removed all jobs and restarted the operator, but the issue persists. Not sure but it might be related to resources or db download issues in Trivy.

@githubcdr do you mind repeating these steps again , maybe uninstall trivy-operator and install again but this time with flag compressLogs=false could be there is an error that is not seen and you could review it with pod logs.
if you get an error  and the pod is stuck with status completed , please check it logs and let me know if any error found


Unexpected banner release-1.7/bf53498635 (fork: 461 commits, 252 days)

❯ which julia
/Users/eph/.juliaup/bin/julia

❯ juliaup --version
Juliaup 1.5.36

❯ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.2 (2022-02-06)
 _/ |\__'_|_|_|\__'_|  |  release-1.7/bf53498635 (fork: 461 commits, 252 days)
|__/                   |

I expected the usual Official https://julialang.org/ release banner instead of release-1.7/bf53498635 (fork: 461 commits, 252 days). E.g. when I download the binaries from https://julialang.org/downloads/ on the same computer,
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.2 (2022-02-06)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

What's the exact platform?

julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin19.5.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, westmere)
Environment:
  JULIA_NUM_THREADS = 4
  JULIA_PKG_SERVER_REGISTRY_PREFERENCE = eager

m1 macbook pro, intel binaries (but same issue with the aarch64 binaries)

@staticfloat is the version that is in the .tar.gz files somehow different than the version in the dmg files?

Sigh, it's built from the same git commit, but it must have been missing an environment variable or git tag, causing it to not print out the correct banner.
It would be nice to fix this, but it's a completely aesthetic (and non-functional) difference.

I think this is fixed now (1.7.3).


StateStores created with rootDir that is incompatible with state.store.type

The StateStores class, when run under gobblin-yarn, can be created with a rootDir (which comes from the yarn application work directory and is in the form of HDFS://...) that is incompatible with the configured state.store.type.

@htran1 Are you able to look into this?


feature/VCMS10

implement CRUD function in client patient modal

This task did not reach completion before the deadline. I will move this ticket to the 2024.04.2 Sprint.


crypto-secure-allocated is documented

CRYPTO_secure_allocated is documented in man3/OPENSSL_secure_malloc.pod  Why does it show up in the "missingcrypto" files?

It's kinda sorta documented.  It's only mentioned in the RETURN VALUES section of doc/man3/OPENSSL_secure_malloc.pod, but no mention in NAME or SYNOPSIS.  That's why.
PR welcome :wink:

AArgh!  Thanks.  PR #10523


Use Common Expression Language as single expression lang in spec

Many thanks for submitting your Pull Request :heart:!
Please specify parts this PR updates:

[x] Specification
[x] Examples
[x] Schema
[x] Roadmap
[ ] Use Cases
[ ] Community
[ ] Website
[x] SDK
[ ] TCK
[ ] Other

What this PR does / why we need it:
Sets the Common Expression Language (CEL) as single expression lang to be used in the spec.
Addresses issue https://github.com/cncf/wg-serverless-workflow/issues/48
Updates Spec doc, examples, schema and the Java SDK
Special notes for reviewers:
Additional information (if needed):

@ricardozanini this change requires an update to the Go SDK as it changes the workflow schema a little.

rebased

@ricardozanini this change requires an update to the Go SDK as it changes the workflow schema a little.

Once you merge this, I'll update the SDK. Thanks for the heads up!

rebased

rebased


Add GetRawValue() to return raw JSON in JsonSerializedField.

Description
This pull request introduces an GetRawValue() method in the JsonSerializedField class to directly return the raw JSON string. This enhancement provides a more straightforward and efficient way to access the underlying JSON without the need for additional deserialization.
Motivation
The primary motivation for this change is to simplify the process of working with JSON data, particularly in scenarios where the JSON is deserialized, modified, and then re-serialized. In my case, I needed to deserialize JSON into a SitecoreLayoutResponseContent object, apply modifications, and then serialize it back to JSON. Previously, this required a custom JsonConverter that accessed the _json field via reflection. With this improvement, such workarounds are no longer necessary, making the code cleaner and more maintainable.

@jbreuer I was a bit too quick in accepting, still missing a Unit Test to cover this :)

@jbreuer I was a bit too quick in accepting, still missing a Unit Test to cover this :)

The unit test has been added.

@jbreuer I believe CodeQL on your fork is disabled causing it not to run for this PR and it's blocking merging. Could you have a look?

@jbreuer I believe CodeQL on your fork is disabled causing it not to run for this PR and it's blocking merging. Could you have a look?

I've enabled CodeQL on my fork.


Added Gymnazium Zdar nad Sazavou.

www.gymzr.cz for info about school

Hello, what do I have to do in order to have my pull request accepted? Thank you.


Implement multi-forking

Which component is your feature related to?
Forge
Feature Request
There should be a way of forking a few different networks from different nodes. (see forking database section in the design doc).
Workers should be identified by their rpc_url and block_id.

FYI @war-in this should be postponed, after we get some feedback on initial release


Issue Caused CAD To Disconnect From DB

What version of Node.js are you using?
17.3.0
What version of npm are you using?
7.10.0
What operating system are you using?
Windows Server 2019
What version of SnailyCAD are you currently using?
1.5.0
Describe the Bug

This issue caused the CAD to disconnect from the DB. First time ever seeing it.
Expected Behavior
It looks like someone tried to set all units inactive?
To Reproduce
No response

If this only happens once, I think this can be ignored for now. Seems like I cannot do anything about this error.


https://developer.mozilla.org/en-US/docs/Web/JavaScript

Request type
Content Presentation
Details
I just visited MDN - didn't look at the content but the navigation is old style boring. we don't read java from oracle docs because that's not navigation friendly but we do read from angular.io.

Please create a horizontal / header style navigation that leads in/out documentation
Please create vertical left nav for topics(html, css, js, ts) with dropdown for sub-sections(for js - basic, objects, ds, new, best practices etc)
Please create vertical right nav for attributes under sub-section (for JS objects - array, map, set etc)
[don't keep these objects on left to uplift their value - people working in these technologies switch to different topics very quickly - they don't stay long like java]
please make sure user can see which option is selected - make it bold or grayscale but make it something - when i click on browser compatibility page goes down but left nav shouldn't

[i had seen it in ionic 2 years back - saw they don't follow it anymore - the way ionic represented then is far better than even angular]
Thanks
it's a good thing what you are doing - most of us are busy in earning bread - passing nights - waiting for uncle death - not you - keep changing the world - lets provide others opportunity to follow something new

We appreciate the feedback, but we can't update our website's layout significantly just like that. I'll close this one.

Feedback to consider when revamping sidebars.


Idea... use local sonarr/radarr metadata for tagging

Instead of pulling the information from online, use the data that is already in sonarr/radarr. Both have api's and should be able to produce json files, that you can use to extract the data.
I would think this would speed up the metadata process, by not requiring it to grab the data from online sources, and would also reduce the load of those online resources.

Not sure if you'd be able to get parity of data but would be open to a pull request if parity could be achieved


Cannot set different language after auto-detect has been enabled by the application

Steps to reproduce:

Set language of device to language that is not yet supported by CTemplar [Romanian]
Set app language to English
Set device to Russian
Attempt to switch app to English from auto-detected Russian

Hi @vxern !
The manually selected language overrides the one automatically detected by the system, so the script you described should work fine. Please write your Android version and device model so that I can check the problem in more detail.
Also I have some additional questions. What language is displayed in the settings after restarting the app? Does manual language selection work on your device under normal conditions?

Hi @vxern !
The manually selected language overrides the one automatically detected by the system, so the script you described should work fine. Please write your Android version and device model so that I can check the problem in more detail.
Also I have some additional questions. What language is displayed in the settings after restarting the app? Does manual language selection work on your device under normal conditions?

Dear @vxern
Are you able to provide feedback?

I apologise for the lack of response @The-Hidden-Hand @alexdwork2018 . After restarting the app, I still saw Russian as the language, even after setting the language to English.
What do you mean by 'under normal conditions'?

Hello @vxern
After selecting the language in the app settings, you need to close and reopen the app. The app will be opened with the selected in the app settings language. When Auto (Detect) language is selected, the app will display the language in accordance with the Android system language, and in the absence of support for this language by the app - English.
Does what I described work for your device? If not, then please let us know your device model, Android version, as well as the version of the app with which you are experiencing the problem.


Research the required information to get a token

User Story

As a developer
I need an overview of what information is required to get a token from different access identity providers
So that the required input parameters can be defined

Acceptance Criteria

Document the information required to request a token using OpenID in the Project Documentation in the Planning Documents

I have created a documentation about the requirements of information to get a token.

I have created documentation about the Information required to get a token from different access identity providers


Create RVT specific documentation. So, we can answer a lots of questions there.

Here are some things we can do:

Add rock into the demo scene with RVT
Create a getting started guide in RVT with the demo scene. In that, ask the users to go through different params and get the look they want.
Create brief info on RVT and how they work.
Create a tutorial on how to add RVT support to OpenLand.
Create a tutorial on how to add RVT support on Non-OpenLand material.
Create a tutorial on how to add RVT support assets. (show both attributes & non-attributes examples).

Here are the docs.
And here's the Brushify video: https://youtu.be/NTLZGCliZD0


[Bug]

Kyverno Version
1.7.x
Kubernetes Version
1.22.x
Kubernetes Platform
EKS
Description
we created the following policy:
apiVersion: kyverno.io/v1
kind: ClusterPolicy
metadata:
  annotations:
    pod-policies.kyverno.io/autogen-controllers: none
    policies.kyverno.io/category: Tenant
    policies.kyverno.io/description: Sync docker.io pull-secret to tenant-namespaces
    policies.kyverno.io/subject: Secret
    policies.kyverno.io/title: Sync Image Pull Secret docker.io
  name: sync-docker-io-secret
spec:
  background: true
  failurePolicy: Fail
  generateExistingOnPolicyUpdate: true
  rules:
  - generate:
      apiVersion: v1
      clone:
        name: docker.io
        namespace: flux-system
      kind: Secret
      name: docker-io-image-pull-secret
      namespace: '{{request.object.metadata.name}}'
      synchronize: true
    match:
      resources:
        kinds:
        - Namespace
    name: sync-docker-io-secret
  validationFailureAction: audit

any reason why the secrets not synced to kube-system namespace? in all other namespaces the sync is working
Steps to reproduce
create the policy
no secret in kube-system namespace
Expected behavior
secret also created in kube-system namespace
Screenshots
No response
Kyverno logs
No response
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have searched other issues in this repository and mine is not recorded.

This isn't a bug with the policy. Kyverno by default excludes certain "core" Namespaces such as kube-system and the Kyverno Namespace via the resource filter. Because these are excluded, there is no AdmissionReview request that Kyverno acknowledges from them, which means the namespace: '{{request.object.metadata.name}}' line will be empty.
Closing as this is not a bug but feel free to reply.

any option to sync imagepullsecrets to kube-system instead ?

You should just be able to remove the namespace field. Kyverno will add it as needed.


Allow flattened untagged Options in struct fields

I have a small use case for #[serde(flatten)] that did not work as I expected due to the intermediary presence of an Option type.  Continuing to use the standard Option type allows some more straightforward checking of Foo.bar, which is quite useful. Worst case scenario I can change my data representation.

Thanks, I released Serde 1.0.54 with a fix. Your code should work as written.


Method setValue is missing for Rating

🚀 Feature request
While the current value for the most input-like components can be changed externally using the setValue method, this method is missing for the rating component API
🧱 Problem Statement / Justification
In addition to being consistent with other input-like interfaces, such rating components are often used in single page applications where data is bound via two ways. If the current value changes independently of the user's input, e.g. via a more recent api call, there is no way to communicate this to the component
✅ Proposed solution or API
// rating-group.connect.ts

const api = {
  ...

  /**
   * Function to set the value of the rating group
   */
  setValue(value: string) {
    send({ type: "SET_VALUE", value, manual: true })
  },

  ...
}

Good catch @christianhegedues.
I just pushed a fix for this. We'll release an update shortly.


feat(ad): add adData to onReceiveAdEvent

To test this PR, you have to enable ads in your project, see:
https://react-native-video.github.io/react-native-video/component/props#adtagurl and iOS and Android parts of https://react-native-video.github.io/react-native-video/installation

On iOS, add this to your Podfile:

$RNVideoUseGoogleIMA = true

On Android, add this to buildScript.ext section of your android/build.gradle file:

        RNVUseExoplayerIMA = true

Then, you should be able to do:
import { AdEvent, OnReceiveAdEventData } from 'react-native-video'

const MyComponent = () => {
  const onReceiveAdEvent = ({
    adData,
    event
  }: OnReceiveAdEventData) => {
    switch (event) {
      case AdEvent.STARTED:
      case AdEvent.CONTENT_PAUSE_REQUESTED:
        setIsReadingAds(true)
        break
      case AdEvent.COMPLETED:
      case AdEvent.CONTENT_RESUME_REQUESTED:
      case AdEvent.SKIPPED:
        setIsReadingAds(false)
        break
      case AdEvent.LOG:
        captureException(new Error('Ads LOG event'), adData)
        break
      default:
        break
    }
  }

  return (
    <Video
      adTagUrl='https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/vmap_ad_samples&sz=640x480&cust_params=sample_ar%3Dpremidpostoptimizedpodbumper&ciu_szs=300x250&gdfp_req=1&ad_rule=1&output=vmap&unviewed_position_start=1&env=vp&impl=s&cmsid=496&vid=short_onecue&correlator='
      onReceiveAdEvent={onReceiveAdEvent}
    />
  );
};

looks good, few comments:
1/ Don't you think it would be better not to add adData WritableMap if it is empty ? It would just be less data transfered in the bridge. Then adData would be optional in ts
2 / I let you review, but if you don't do the change I think it would be better to add @nonnull to Map<String, String> adData
3/ can you move "adData" to a const String please ?
4/ you also need to update documentation !
Thank you

Hey @freeboub, I think we're good, I just didn't get the 3rd point so if I still need changes, let me know! 😉

@freeboub I added getAdData to stub file, I'm not sure if I did it correctly, can you please have a look? https://github.com/react-native-video/react-native-video/pull/3378/commits/3a04d476d472101e3aec8ccbdf881298741ee972

@freeboub I'm wondering if I should just rename the adData prop to data maybe? it would make an object like this:
{
  event: AdEvent,
  data: Record<string, string>
}

What are your thoughts about this?
I'm thinking of this because of #3381, I don't think that the error on ERROR event should be stored in adData but data makes it more accurate, don't you think?

@freeboub I'm wondering if I should just rename the adData prop to data maybe? it would make an object like this:
{
  event: AdEvent,
  data: Record<string, string>
}

What are your thoughts about this?
I'm thinking of this because of #3381, I don't think that the error on ERROR event should be stored in adData but data makes it more accurate, don't you think?

I agree, no need of ad prefix!


New Copilot Version.

In the past few days I have seen a new version of Copilot have been rolled out. I'm not sure if has been officially released because in my main browser (which is firefox) I still have the old UI with the normal features of the normal Copilot, so I assume they have rolled it out for some users to test it, perhaps?
Here's what the new GUI looks like:

I have also made some tests on it compared to the older version and the answers are different, I wouldn't call them better, just different.
Another highlight that caught my attention is that the new version or model (or whatever it might be) doesn't  always search the internet, apparently if it has the answer in, I presume, its database, it will give it to you without searching or giving sources.
So what this 'issue' is about?
If Microsoft is updating Copilot I would like to know how would it affect SydneyQT in general? And if an improved or a completely new SydneyQT should be made.
It pains me to admit that I am in no position to help with actual development with my current knowledge, but hopefully you actual devs can think of something.

Thanks for the information. We'll stay tuned and see what can be changed on our side.

Indeed, I found that relevant cookies are no longer extracted.

same here, my cookies expired immediately the moment I copy the JSON to cookies.json
Can't logged in at all.

Microsoft has updated the copilot api completely. As a result we need to rewrite all api related code to adapt. Please allow us some time.

We have identified the new ChatPage. Please export cookies here in the meantime: https://edgeservices.bing.com/edgesvc/chat

Since the new copilot (copilot.microsoft.com) does not support webpage context thus we cannot inject our jailbreak prompts, we would like to stick to the old api (edgeservices.bing.com) at the moment. We may need to explore the new copilot api more.

From what I've seen, the new api's socket URL is at wss://copilot.microsoft.com/c/api/chat
There is an auth token that is kept in local storage.
In some regions, the auth token is not required.
However, in others, even if the auth token is sent, the socket answers with a challenge response, prompting users to solve a captcha.

After some days of working with the new Sydney version and the new Copilot I can definitely agree with @daniesy, this new model is way, way smarter but also more aware of certain methods of prompt injection sadly. With my limited knowledge I can say it could be pretty hard to jailbreak, hopefully I am wrong about it though.

copliot目前只有一个关卡，就是对所有可疑的连接都要求cf的人机验证，这个一旦被要求，目前是无解的。
但是，如果是使用不受限制的ip去访问，则根本就不需要任何验证，直接就快速连接了。
由此特性，推测只需要在外网普通的主机（各大云商应该是没戏了）上建立反代就可以了。有外网普通主机资源的可以去验证一下。


Famtree | Showcase

Code of Conduct

[X] I have read and agree to the xyflow contributor Code of Conduct

Project Name
Famtree - Create your family tree instantly
Project Description
Family Tree Builder
Project Tags
family tree, entitree-flex, nextjs
Open Source

[ ] This project is Open Source

Link to the project website
https://famtree.me/
Link to project demo
https://www.famtree.me/try
Used Library
React Flow
Upload a Project Screenshot

Anything else?
Screenshot Tree Link - https://www.famtree.me/tree/002666f2-70a3-49cc-81cc-6cf894f78f5c

Hey guys, let me know if you could review this over this weekend?
cc: @johnrobbjr

Thanks for submitting, unfortunately we've decided not to include this project in the React Flow showcase. All the best!

Bummer! Thanks for considering! 😭


Remove unnecessary header search path

This fixes the issue outlined here for projects set up using Cocoapods: https://github.com/devfd/react-native-google-signin/issues/291

Closing due to #393 .


deploying and linking in the same command leads to an error

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
start with a repo that hasn't been linked but has an existing site (e.g. if you clone an existing, deployed repo onto a new machine). ntl deploy --prod and search by site name:
 swyxdotio   master ●  ntl deploy --prod
This folder isn't linked to a site yet
? What would you like to do? Link this directory to an existing site

netlify link will connect this folder to a site on Netlify

? How do you want to link this folder to a site? Search by full or partial site name
? Enter the site name (or just part of it): scout
Looking for sites with names containing 'scout'...

Directory Linked

Admin url: https://app.netlify.com/sites/scout-videos-51664
Site url:  https://www.swyx.io

Site id saved to /Users/swyx/Desktop/webdev/swyxdotio/.netlify/state.json

You can now run other `netlify` cli commands in this directory
Deploy path:        /Users/swyx/Desktop/webdev/swyxdotio/__sapper__/export
Configuration path: /Users/swyx/Desktop/webdev/swyxdotio/netlify.toml
Deploying to live site URL...
✔ Finished hashing 288 files
( ●    ) CDN diffing files... ›   Warning:
 ›   {}
 ›
(   ●  ) CDN diffing files...Error: Missing required param site_id
    at Object.values.forEach.param (~/.nvm/versions/node/v10.5.0/lib/node_modules/netlify-cli/node_modules/netlify/src/open-api/index.js:34:15)
    at Array.forEach (<anonymous>)
    at NetlifyAPI.createSiteDeploy (~/.nvm/versions/node/v10.5.0/lib/node_modules/netlify-cli/node_modules/netlify/src/open-api/index.js:28:43)
    at module.exports (~/.nvm/versions/node/v10.5.0/lib/node_modules/netlify-cli/node_modules/netlify/src/deploy/index.js:77:26)

# retry again now that there is linking...
 ✘  swyxdotio   master ●  ntl deploy --prod

Deploy path:        /Users/swyx/Desktop/webdev/swyxdotio/__sapper__/export
Configuration path: /Users/swyx/Desktop/webdev/swyxdotio/netlify.toml
Deploying to live site URL...
✔ Finished hashing 288 files
✔ CDN requesting 154 files
✔ Finished uploading 155 assets
✔ Deploy is live!

Logs:              https://app.netlify.com/sites/scout-videos-51664/deploys/5dc40a515f1f79e21368c550
Unique Deploy URL: https://5dc40a515f1f79e21368c550--scout-videos-51664.netlify.com
Live URL:          https://www.swyx.io

- What is the expected behavior?
after linking, it should just deploy properly
- Local Environment Information

──────────────────────┐
 Current Netlify User │
──────────────────────┘
Name:   shawn wang
Email<EMAIL_ADDRESS>Github: sw-yx
Teams:
  TSDX:              Owner Collaborator
  swyxteam:          Owner Collaborator Controller
  JAMstack_conf:     Owner Collaborator Controller
  AwesomeSauce:      Owner Collaborator Controller
  shawn wang's team: Owner Collaborator
  Netlify:           Owner Collaborator Controller

────────────────────┐
 Environment Info   │
────────────────────┘

  System:
    OS: macOS Sierra 10.12.6
    CPU: (4) x64 Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz
  Binaries:
    Node: 10.5.0 - ~/.nvm/versions/node/v10.5.0/bin/node
    Yarn: 1.7.0 - ~/.nvm/versions/node/v10.5.0/bin/yarn
    npm: 6.12.1 - ~/.nvm/versions/node/v10.5.0/bin/npm
  Browsers:
    Chrome: 78.0.3904.87
    Firefox: 61.0
    Safari: 11.1.2

────────────────────┐
 Netlify Site Info  │
────────────────────┘
Current site: scout-videos-51664
Netlify TOML: /Users/swyx/Desktop/webdev/swyxdotio/netlify.toml
Admin URL:    https://app.netlify.com/sites/scout-videos-51664
Site URL:     https://www.swyx.io
Site Id:      a84f3ffa-3206-4630-9aad-cf8f532e0aeb

This is no longer an issue. You can link and deploy in same command in latest version without any issue. Thanks for reporting!


ESP_GATTS_RESPONSE_EVT status always 0 (IDFGH-10372)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
4.4
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
Custom Board
Power Supply used.
USB
What is the expected behavior?
if congested event coming，write response will send failed，I depend ESP_GATTS_RESPONSE_EVT status to resend rsp
What is the actual behavior?
ESP_GATTS_RESPONSE_EVT status always equal 0
Steps to reproduce.

Step
Step
Step
...

Debug Logs.
No response
More Information.
No response

@fzboffice Which chip are you using, and can you provide some logs? thanks.

@zhp0406 Actually, this has nothing to do with any chips, please take a look esp-idf\components\bt\host\bluedroid\btc\profile\std\gatt\btc_gatts.c:689
param.rsp.status = 0;


Responses on the final page aren't saving.

https://user-images.githubusercontent.com/110963329/186547581-8712e831-f717-42d3-b5e5-992d89c2d1a4.mov
Second half of video shows the responses saving on one page but not the last page.

The behaviour of the last page is actually the same as all the pages: Responses are saved when you click the "Next" button, but not when you click the "Back" button. I'll wire-up the "Back" button to save responses too.


system date is not same with windows (WSL 2)

Windows Build Number
Microsoft Windows [Version 10.0.19042.985]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps
As title suggests, there's drift on WSL2 distro and system clock. This causes unexpected behaviour such as incorrect date for git commits, etc. Reopening #4245 as not fixed - suggestions in this other issue are just workarounds.
More specifically, workarounds suggested are one of the following:

Running sudo ntpdate pool.ntp.org
Running sudo hwclock -s
Adding either of the previous to crontab (eg run every 10 mins)

To reproduce
To reproduce ause then resume the virtual machine reproduces issue (or getting laptop to go sleep)

Expected Behavior
System clock shouldn't drift from windows clock.
Actual Behavior
Clock drifts.
Diagnostic Logs
[    0.335041] rtc_cmos 00:00: setting system clock to 2019-06-21 22:54:24 UTC<PHONE_NUMBER>)
[    0.335057] Unstable clock detected, switching default tracing clock to "global"
If you want to keep using the local clock, then add:
"trace_clock=local"
on the kernel command line

This has fixed, but on Insider Preview.
https://devblogs.microsoft.com/commandline/servicing-the-windows-subsystem-for-linux-wsl-2-linux-kernel/
https://docs.microsoft.com/en-us/windows/wsl/kernel-release-notes
If you want to fix it now, you need to update the kernel yourself.
https://www.catalog.update.microsoft.com/Search.aspx?q=Windows Subsystem for Linux
curl.exe -O http://download.windowsupdate.com/c/msdownload/update/software/updt/2021/04/wsl_update_x64_7694655b042eb3715cdc68f17da1bca6ca11f743.cab
expand.exe -R wsl_update_* .
cmd.exe /c start wsl_update_x64.msi

/dupe #5324


Update indexmap dep to version 2.1

I fixed up this PR but couldn't push to the PR branch. So instead, I merged this as 15543f249dc908ce0f78b2c0cd1714773d7c2769 and listed you as a co-author.


Prepare Release 1.23.7

This prepares Detekt version 1.23.7
Apologies this took way longer than expected, but the Kotlin 2.0 + several other changes caused the CI to end up in a terrible state for the 1.x branch.
The jobs for this PR will be red till Sunday, when I plan to publish the artifacts for 1.23.7.

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

Messages

:book:

Thank you very much for making our website better :heart:!

  Generated by :no_entry_sign: dangerJS against 126ae43bfcaa7c637ef299f590d0dcb45c9261d7

@detekt/maintainers can I get a stamp on this one?


Asking a question in the docker container results in a RecursionError

Bug description
Per title. Traceback:
Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <tornado.platform.asyncio.AsyncIOMainLoop object at 0x7029d7a85d90>>, <Task finished name='Task-797' coro=<async_execute.<locals>.wrapper() done, defined at /usr/local/lib/python3.11/site-packages/panel/io/server.py:179> exception=RecursionError('maximum recursion depth exceeded')>)
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/tornado/ioloop.py", line 750, in _run_callback
    ret = callback()
          ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/tornado/ioloop.py", line 774, in _discard_future_result
    future.result()
  File "/usr/local/lib/python3.11/site-packages/panel/io/server.py", line 185, in wrapper
    state._handle_exception(e)
  File "/usr/local/lib/python3.11/site-packages/panel/io/state.py", line 442, in _handle_exception
    raise exception
  File "/usr/local/lib/python3.11/site-packages/panel/io/server.py", line 183, in wrapper
    return await func(*args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/chat/feed.py", line 547, in _prepare_response
    await self._cleanup_response()
  File "/usr/local/lib/python3.11/site-packages/panel/chat/interface.py", line 598, in _cleanup_response
    await super()._cleanup_response()
  File "/usr/local/lib/python3.11/site-packages/panel/chat/feed.py", line 554, in _cleanup_response
    self._replace_placeholder(None)
  File "/usr/local/lib/python3.11/site-packages/panel/chat/feed.py", line 347, in _replace_placeholder
    index = self.index(self._placeholder)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/layout/base.py", line 489, in index
    return self.objects.index(object)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/pane/base.py", line 217, in __repr__
    params = param_reprs(self, ['object'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/util/__init__.py", line 166, in param_reprs
    else: v = abbreviated_repr(v)
              ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/util/__init__.py", line 115, in abbreviated_repr
    vrepr = repr(value)
            ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/pane/base.py", line 217, in __repr__
    params = param_reprs(self, ['object'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/util/__init__.py", line 166, in param_reprs
    else: v = abbreviated_repr(v)
              ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/panel/util/__init__.py", line 115, in abbreviated_repr
    vrepr = repr(value)
            ^^^^^^^^^^^
[...]

How to reproduce the bug?
Ask a question in the web UI.
Versions and dependencies used
0.2.0rc1
Anything else?
No response

After some ultimately futile bisecting, I found that the issue is reproducible on 6dd32b7ddea2c4876ebe3812b6a18a2e37f83ba7, i.e. the commit that added docker support. Meaning, it never worked. No idea how this slipped past me in #283.

This has nothing to do with docker. The issue happens on Python 3.11
https://github.com/Quansight/ragna/blob/4a667f9aced1970f8eab8aa9e01aaf8c67b05db0/Dockerfile#L1
while we are using 3.9 for development
https://github.com/Quansight/ragna/blob/4a667f9aced1970f8eab8aa9e01aaf8c67b05db0/environment-dev.yml#L5
3.10 is also fine.

Here is a repro:

$ conda create -n ragna-359-py311 -c conda-forge python=3.11
$ conda activate ragna-359-py311
$ pip install --pre ragna==0.2.0rc1
$ ragna init and select the default options. This creates a configuration file picked up automatically by the next command
$ ragna ui
Click "Sign in"
Click "New Chat"
Select a random .md or .txt document
Click "Start Conversation"
Type anything in the text field and press Enter or click the button on the right

Changing 1. and 2. to

$ conda create -n ragna-359-py310 -c conda-forge python=3.10
$ conda activate ragna-359-py310

results in

It seems panel is accessing the repr(self._placeholder) at some point and in turn this fails:
from ragna.deploy._ui.central_view import RagnaChatMessage

message = RagnaChatMessage("Bug", role="user", user="")

repr(message)

Traceback (most recent call last):
  File "/home/philip/git/ora/main2.py", line 43, in <module>
    repr(message)
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/pane/base.py", line 217, in __repr__
    params = param_reprs(self, ['object'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/util/__init__.py", line 166, in param_reprs
    else: v = abbreviated_repr(v)
              ^^^^^^^^^^^^^^^^^^^
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/util/__init__.py", line 115, in abbreviated_repr
    vrepr = repr(value)
            ^^^^^^^^^^^
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/pane/base.py", line 217, in __repr__
    params = param_reprs(self, ['object'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/util/__init__.py", line 166, in param_reprs
    else: v = abbreviated_repr(v)
              ^^^^^^^^^^^^^^^^^^^
  File "/home/philip/.conda/envs/ragna-359-py311/lib/python3.11/site-packages/panel/util/__init__.py", line 115, in abbreviated_repr
    vrepr = repr(value)
            ^^^^^^^^^^^
[...]

This is a reference cycle. When trying to get the repr for the RagnaChatMessage, the repr for the avatar_lookup parameter is needed. We have implemented this as bound method
https://github.com/Quansight/ragna/blob/4a667f9aced1970f8eab8aa9e01aaf8c67b05db0/ragna/deploy/_ui/central_view.py#L188-L189
Thus, this holds a reference back to the original RagnaChatMessage and thus causing the cycle and ultimately the recursion error.


Display overlay Flashlight background

eek, another one of these Reppad sorry!
If Flashlight operation is interrupted by a RX signal the display overlays the white background.
Not exactly a priority :-)

Now that you mention it, I'm not really surprised :hand_over_mouth:
Thanks for pointing it out, I'll take care of it as soon as possible.

Now that you mention it, I'm not really surprised :hand_over_mouth:
Thanks for pointing it out, I'll take care of it as soon as possible.

😂 understand completely, overlaying is enemy #1
Thanks R

It should be solved, I took the opportunity to add the battery outline in flashlight mode.

Any chance to put CCIR and ZVEI on it???


Bumping job-scheduler to <IP_ADDRESS>

Signed-off-by: Sarat Vemulapalli<EMAIL_ADDRESS>Description
Bumping job-scheduler to <IP_ADDRESS>
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

https://github.com/opensearch-project/opensearch-build/issues/1333


Poison 3 support

Is there a specific reason why verk uses Poison version 2.2.0 and was not updated to version 3 yet or is it already on the roadmap?

No reason AFAIK. We can probably relax it to be Poison ~> 2.0 or ~> 3.0 as we probably are not affected by any changes from 2 to 3.