WinUI Design Toolkit Bug: time picker - support 24h time zone

WinUI Toolkit Bug Report

Name of component or part of Toolkit:
Time Picker / Time Picker
Describe the bug:
Time picker does not provide an option to hide "AM" (third section)
Version Info:
2.6 duplicated 12th of August
Additional context:
Screenshot:

Desired result:
Had to detach to get to a timepicker that would make sense for a 24h timezone context (not using AM/PM)

I think this is handled by the Current Culture and localisation, here in the UK we use 24 hour time by default.

<TimePicker ClockIdentifier="24HourClock" Header="24 hour clock" />

Yes - but this is about the Figma library.

Yes - but this is about the Figma library.

Ah my mistake - yes there is not a lot of consideration for the localised variants of these controls

Thanks for calling this out! We're tracking a workitem to add this variant to the Time Picker in a future update.


Change license

Signed-off-by: Bruno Dilly<EMAIL_ADDRESS>

OK, I've merged without changes on copyright years and fixed the help msg.
Thanks


Suicide Prediction and Word Analysis

Hey there, I can make a model which can accurately predict any sort of suicide attempt and detect it accordingly real fast. The problem with most models I have seen is that they are not particularly accurate and fast in action which is definitely not desirable in these type of situations.
The model I can make can clearly identify suicidal and non suicidal statements or words categorically and also put emphasis on each word it sees or uses along with their frequencies , classes, etc. to properly show and identify and reason to classify something as a suicide attempt.
I have tried looking and working with some models on this topic before but sure they work but not very accurate to sort out this issue without further verification or time lag.
I would like to contribute to this task under GSSOC'24 and solve out this problem real quick.
Hope I make it to your sight.
Thanks...

@Soubeer, you have been assigned the issue under GSSOC

Sir please assign this issue to me under GSSoC

@Soubeer, you have been assigned the issue under GSSOC

can you please check if the tag I have been given is correct? should it be level 2? I just saw that tag with other contributors, so wondering if I got the right one

pls assign this issue to me i will give my best
Waiting for your response


Move avoid_restart CA into IIS.Setup

@shirhatti I assume I'll need to do this 😄 ?

So apparently we already have avoid_restart in the Aspnetcore custom action: https://github.com/aspnet/AspNetCore/blob/master/src/Installers/Windows/AspNetCoreModule-Setup/CustomAction/avoid_restart.cpp, we just never invoked it.

Also, the avoid_restart check purely notifies the user that they need to turn off WAS. It doesn't turn off/on WAS, which doesn't help us at all.


galileo gen1 initalisation is treated as 'error'

There is no 'correct' gen1 initialisation anymore meaning we print an error message even if it isn't the case.
https://github.com/intel-iot-devkit/mraa/blob/master/src/x86/x86.c#L63

Just to make sure I understand the intent - we simply don't want to log this a namely error (but e.g. notice) or we want to change the init logic and e.g. stop using Gen1 clause as a fallback?
Feel free to assign this one to me, BTW - I'll drive it to closure.

@alext-mkrs gen1 as fallback is ok I think, I dont have a better idea for now so I don't want to change the behaviour for now.
The issue is that there there should be an else if (strncasecmp(line, "Galileo", x) and then the default should do the same but also log an error. Does that make sense?

Yep, it does, thanks. Let me implement that.


Corona

Hi,
we are a supplier of renewable energy in Germany (EWS). Thanks to this project we had the possibility to have our coworkers easily work from home. Without it we would either have to purchase licenses for VPN with our firewall or to use complicated to configure software.
I just wanted to give you a big thank you for SoftEther.
Greetings from the Black Forest an dkeep up the great work,
Hallo Amt

If you wish to make it better, you are welcome to contribute

Hi,
That's awesome!
We're very pleased to hear that, this is the kind of feedback that gives us a huge motivation to keep developing the software.
Hopefully the measures governments are taking will be enough to stop the virus.
Thank you again!

I pinned the issue because we would like to collect  feedback from people who are using SoftEther VPN for the same reason in a single place.

Also my current company uses SoftEther to help WFH. This is the reason why I contribute.

I've adjusted project tags, now they include "wfh" and "work-from-home"

Thanks, I'd love to contribute and will try to learn C/C++ but in the moment we are trying to work from home and keep things running.

Please keep up your great work!
@halloamt all the Best to you from Thuringia!

Excellent project.  I use it to replace sites that previously used port forwarding of RDP on broadband routers to Windows servers running Pastel account software.
Softether is significantly more secure.

We are using it for no longer having LAN Partys but doing WAN/VPN Partys! Keep up the great work!

We are also using softether vpn with sstp. We must not install a extra vpn clients on the private clients.
We have more than 30 people that using Softether from time to time.
keep rocking this project

I'd like to add my gratitude to this project. We've been using Softethervpn for almost 2 years. I'm a network engineer with experience of architecture and security. I've taken this project and expanded its use cases into some extremely interesting and reliable networks.
We've gone to the extremes of building the package in our CI/CD for the latest stable releases
I've utilised softethervpn in the following ways.

Remote vpn for over 400 devices, Mac, Linux, iPhone, Android, Windows.
Providing role based access to users
Providing cascades to multiple locations, offices, datacentres and public clouds in Which clients can access everywhere needed, high availability using 2 vpn bridges with keepalived.
Created a layer 2 overlay network between locations running bgp unnumbered neighbours across a multilink equal cost multipath network with FRR.

I have a few areas that I can see improvements and tweaks but it's a fantastic Swiss army knife, capable of more than just a remote vpn in the right hand.
Keep up the fantastic work guys.

@dyemi511 that's very good to here. Seems like a very solid use of what layer 2 networking can offer. Could you please share your CI/CDs here? Perhaps something that the whole SoftEther community can benefit from? I can help setting them up here on Github with Actions.

I use softether for years, reason is ease of use and extreme flexibility. There's no other VPN service that give this amount of control, and the users ACL for groups etc. Works exactly like how I thought it would!
I didn't have to spend a lot of time learning softether. It was intuitive.
I still don't know exactly how openvpn works, even though I have read lots and managed to get it working once.
Softether is just amazing!

I would like to echo the comments above.  I have been using Softether for maybe 3 years for remote workers and it indeed works great after you get everything set-up.  Much more intuitive than anything else I have tried.  It is indeed amazing.
The only additional thing on my wish list is implementing either a multi-factor authentication mechanism using either sms or a code generator like authy.


Hand Tracking change requests

Refactored the hand controller data provider, as well as the simulated devices

Added a new ISimulatedControllerDataProvider interface to help with the dependency problems

Removed references to profiles in the implementations themselves (they should only ever be used in the inspectors, never cached.
Updated all the profile inspectors to make sure they functioned properly.
Removed HandTrackingProfile in favor of a per platform profile option.

I think the changes in this PR are fine.  Although for the main hands PR, I'm concerned with the need for multiple profiles for multiple platforms to support hands.
Ideally, this should be worked into the existing platform data providers.  With Oculus specifically, there is a risk that having both controllers and hands may be detrimental


how to add a url option to the .toml?

I am using something like this in my .gitconfig file:
[url "git@git.server.com:"]
        insteadOf = https://git.server.com/

I tried to add this to the config-switcher .toml file but couldn't figure out how to do it. Can it be done?
Thanks,
Hakan

Hi!
Currently, this is not possible, so I will try to make it possible :muscle:

@kayahk
The url option is now available!
But the usage has changed a bit, see the README!
If you have any questions, please ask:pray:

thanks a lot, will test in a bit.


Remove print statement

Hi @caseycrogers
Was looking around the core and see a print statement at
Line 42 in Gap.dart
Cheers.
Lmm

Hey, sorry it took me so long to get to this. I've removed the print statement! Thanks for pointing it out.


Is this project actively maintained?

Hi all.
Thanks for creating the plugin. We are very interested in using kedro-sagemaker, but it seems that its been a while of any new changes or releases. Is this because everything is stable or that is not actively being maintained?
Are there plans to upgrade it using kedro > 0.19 in future?
Thanks.
Fernando

Hey, I also wanted to ask if this project is actively maintained?
We're using Kedro with Kedro-Sagemaker in Fandom - to run our model training pipelines on AWS Sagemaker.
The outdated Kedro-Sagemaker plugin blocks us from using the newer Kedro (we have to run 0.18.x)
We might be forced to stop using this plugin if it's not actively maintained
Please let us know - Can we expect an upgrade to be compatible with Kedro 0.19? :)
@mwiewior @lasica
Best,
Wojciech

Hey team, wanted to follow up on this?  Very keen to use the plugin, but am facing similar issues that have been raised here and wondering if there is anyone available to assist?


[schema] Introduce DatabaseFileIOProvider to get fileio for database

Purpose
Linked issue: close #2493
Currently there will be FileIO when a catalog is created. We would like to support path for database and paimon need to get fileio for each database when it is created, dropped and tables are created, dropped for it. This PR aims to introduce DatabaseFileIOProvider in catalog to get fileio for given database name.
Tests
Exist tests can cover this feature.
API and Format
no
Documentation
no

Hi @FangYongs Does this come from real business needs? In my previous understanding, this situation is usually solved by the FileSystem of HDFS. (Or Flink FileSystem)

@JingsongLi Yes. Currently in our production environment, we always support one catalog for hive, hudi, iceberg or paimon, so they can easily read/write tables use paimon.databaseName.tableName. We have a meta service in company to manage all databases and tables for each catalog. When users create a database, they need to give a path of hdfs/s3 for it and then create tables in the database. So we need to support configuring warehosue path in database level.

Hi @FangYongs Does this come from real business needs? In my previous understanding, this situation is usually solved by the FileSystem of HDFS. (Or Flink FileSystem)

@JingsongLi Yes. Currently in our production environment, we always support one catalog for hive, hudi, iceberg or paimon, so they can easily read/write tables use paimon.databaseName.tableName. We have a meta service in company to manage all databases and tables for each catalog. When users create a database, they need to give a path of hdfs/s3 for it and then create tables in the database. So we need to support configuring warehosue path in database level.

Can Hadoop FileSystem solve this? https://github.com/apache/incubator-paimon/pull/2504

@JingsongLi It seems not,  HadoopFileIO is for catalog too. As mentioned above, we have a meta service for all catalogs, so we create a paimon meta catalog based on it, and the catalog stores the database and path after users created it. When users create a table, it needs to find the database and its path from the paimon meta catalog and create FileIO for the table to store schema and data, that's why I would like to introduce the interface DatabaseFileIOProvider in AbstractCatalog to get FileIO for specified database.
What do you think?

@JingsongLi It seems not, HadoopFileIO is for catalog too. As mentioned above, we have a meta service for all catalogs, so we create a paimon meta catalog based on it, and the catalog stores the database and path after users created it. When users create a table, it needs to find the database and its path from the paimon meta catalog and create FileIO for the table to store schema and data, that's why I would like to introduce the interface DatabaseFileIOProvider in AbstractCatalog to get FileIO for specified database.
What do you think?

Can you list what FileSystems need to be supported?

For example, Hadoop FileSystem supports viewfs, there can be multiple underly filesystems.

@JingsongLi Local file system, hdfs or s3 which have beed supported in paimon

For example, Hadoop FileSystem supports viewfs, there can be multiple underly filesystems.

We may configure different hdfs cluster for different databases in the paimon catalog, do you mean we can get different filesystem from one FileIO?

For example, Hadoop FileSystem supports viewfs, there can be multiple underly filesystems.

We may configure different hdfs cluster for different databases in the paimon catalog, do you mean we can get different filesystem from one FileIO?

Yes

From Paimon Level, you can do this too. Just like current HadoopFileIO, there is a Map<Pair<String, String>, FileSystem> fsMap, which means scheme + authority => FileSystem.

@JingsongLi Get it. Then I think we can add minor updates in paimon to support different database paths for catalog, I will update this PR

@JingsongLi What do you think of this PR now? We can implement customized catalog and get warehouse path with specified database name

@JingsongLi Can you help to review this PR again? THX


Deploy android and iOS apps for sampling.

If possible choose an open source friendly cloud provider for deployment/ci


Feature/xivy 3138 jdt warnings

Build: https://jenkins.ivyteam.io/job/ivy-project-demos/job/feature%252FXIVY-3138_jdt_warnings/
Yellow builds are from engines that can not handle settings files yet so they are great for comparison
Only the connectivity demos have jdt warnings

unused imports come mainly from imports that are used to link to classes in javaDoc
unusedWarningsTokens come from "unnecessary" @suppressWarnings annotations (which are in fact necessary or else we get warnings in the designer)

Alternatively I could set them to INFO but in my opinion it only clutters the console log and nobody cares about them anyway
Third option would be to leave them as warnings and reset the quality gate on jenkins, then we would see when new ones are introduced but would lead to warnings for customers when they want to try out the plugin with the demo projects

Build is back to green: https://jenkins.ivyteam.io/job/ivy-project-demos/job/feature%252FXIVY-3138_jdt_warnings/
I'll provide another PR for the upgrade to 8.0.3, this because I'm going to remove the sonatype configuration from all the project poms, which would make this PR unnecessarily cluttered.


Reorganize file structure

Currently, we have to test helper files:
helpers/interactions.js and helpers/finders.js
Goal:
Break up interactions.js into multiple files so that we have more specific groups of test helper files
Example:

helpers/finders.js
helpers/clickers.js
helpers/fillers.js
helpers/removeWhitespace.js (or should we avoid one function files?)

I think breaking finders into a separate file makes sense, but I think breaking the interactions into the event type ("click" vs "fill in") might be too specific. It might not be intuitive when to create a dedicated file vs adding to an existing one (for example, if we want an interaction for selectFromDropdown(), would that be in the clickers.js or would we create a new select-based file?
This library is kind of based off of capybara-extensions, which breaks "nodes" down as follows: https://github.com/jnicklas/capybara/tree/55c2ec354276ad1a6f0376dd787f5d121117269b/lib/capybara/node
Thoughts?


⚠ Bofrost.be has degraded performance

In 43c45a5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 924 ms

Resolved: Bofrost.be performance has improved in bab0698 after 6 minutes.


liveness probe for workflow-controller Deployment

I'm trying to figure out how I can write a livenessProbe for the workflow-controller Deployment. I'm not sure if there is an http endpoint I can hit that will return a 200, or if there is some command i can run that returns a 0. I tried to exec into the workflow-controller Deployment to see what commands i could run like so:
kubectl exec -it workflow-controller-79c7bc56f8-kks8q sh
kubectl exec -it workflow-controller-79c7bc56f8-kks8q bash
kubectl exec -it workflow-controller-79c7bc56f8-kks8q /bin/sh
kubectl exec -it workflow-controller-79c7bc56f8-kks8q /bin/bash

But all of those gave an error of:
OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
command terminated with exit code 126

So i'm kind of at a loss.

This was not possible last year. Today, if you expose the metrics server on port 9090 - you can also have a liveness probe on that.


Keep test schema up to date

The build should pull the latest from the schema repo before running tests.
Also, see if there's a way to get the build to run when the schema repo updates.

Build script edited.


[SPARK-31013][CORE][WEBUI] InMemoryStore: improve removeAllByIndexValues over natural key index

What changes were proposed in this pull request?
The method removeAllByIndexValues in KVStore is to delete all the objects which have certain values in the given index.
However, in the current implementation of InMemoryStore, when the given index is the natural key index, there is no special handling for it and a linear search over all the task data is performed.
We can improve it by deleting the natural keys directly from the internal hashmap.
Why are the changes needed?
Better performance if the given index for removeAllByIndexValues is the natural key index in
InMemoryStore
Does this PR introduce any user-facing change?
No
How was this patch tested?
Enhance the existing test.

This PR is to cherry-pick #27763 to branch-3.0

Test build #119329 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24066/
Test PASSed.

Test build #119329 has finished for PR 27796 at commit 7576e62.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119329/
Test FAILed.

Test build #119344 has finished for PR 27796 at commit 7576e62.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119344/
Test FAILed.

retest this please.

Test build #119347 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24084/
Test PASSed.

Test build #119347 has finished for PR 27796 at commit 7576e62.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119347/
Test FAILed.

retest this please.

Test build #119359 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24096/
Test PASSed.

Test build #119359 has finished for PR 27796 at commit 7576e62.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119359/
Test FAILed.

retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24100/
Test PASSed.

Test build #119364 has started for PR 27796 at commit 7576e62.

Test build #119364 has finished for PR 27796 at commit 7576e62.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119364/
Test FAILed.

retest this please.

Test build #119377 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24114/
Test PASSed.

Test build #119377 has finished for PR 27796 at commit 7576e62.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119377/
Test FAILed.

retest this please

Test build #119388 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24126/
Test PASSed.

Test build #119388 has finished for PR 27796 at commit 7576e62.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119388/
Test FAILed.

retest this please

Test build #119413 has started for PR 27796 at commit 7576e62.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24152/
Test PASSed.

Test build #119413 has finished for PR 27796 at commit 7576e62.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


How can I control the font of annotation and clinicalFeatures

I use oncoplot to draw a graph, all the fonts of annotation and clinicalFeatures are all italic, how can I change them to normal?
R version: 4.0.5
maftools version: 2.6.5

Hi,
That should never happen. Try dev.off() and re-run your oncoplot command.
You could also set your font style beforehand with par()
e.g;
par(font = 1)
oncoplot(maf = laml, clinicalFeatures = 'FAB_classification')


Timer execute arguments cannot enclose single quote inside double quote

Run tclock timer -d 3s -e echo "Time's up".
Expected result
When time's up, show blinking timer with text [SUCCEED] Time's up.
Actual result
When time's up, show blinking timer with text [ERROR] sh: -c: line 1: unexpected EOF while looking for matching '.
Environment
Arch Linux, downloaded clock-tui from AUR.
By the way, thanks for creating this tool! I like it very much!

Ops, sorry, it works if I run
tclock timer -d 3s -e 'echo "Time'\''s up"'

Turns out we need to quote the entire argument after -e.
Thanks anyway!


Create a static HTML web app in Azure: [Errno 13] Permission denied

while following this tutorial https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-html I've got [Errno 13] Permission denied when creating a zip package
$ az webapp up -n ***-demo
Resource group 'appsvc_rg_Windows_CentralUS' already exists.
App service plan 'appsvc_asp_Windows_CentralUS' already exists.
App '***-demo' already exists
Creating zip with contents of dir /usr/**/clouddrive/quickstart ...
[Errno 13] Permission denied: '/usr/**/clouddrive\\quickstart.zip'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
    cmd_result = self.invocation.execute(args)
 ...
  File "/opt/az/lib/python3.6/zipfile.py", line 1082, in __init__
    self.fp = io.open(file, filemode)
PermissionError: [Errno 13] Permission denied: '/usr/**/clouddrive\\quickstart.zip'

this one https://github.com/MicrosoftDocs/azure-docs/issues/10869 actually helped so that you can
create zip file manually or upload (usmth like zip -r demo.zip index.html)
and then use it with  --src parameter:
az webapp deployment source config-zip --resource-group appsvc_rg_Windows_CentralUS --name APP_NAME --src ZIP_FILENAME.zip

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

ID: a825f031-250e-034d-e552-4b0d976d88b1
Version Independent ID: 626d7451-0b8e-051e-e512-0bf90be319a0
Content: Create a static HTML web app in Azure
Content Source: articles/app-service/app-service-web-get-started-html.md
Service: app-service-web
GitHub Login: @msangapu
Microsoft Alias: msangapu

@shershen08 Thanks for your feedback! We will investigate and update as appropriate.

@shershen08 Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@cephalin I receive a similar error as the customer when trying to run the az webapp up -n <sitename> cmdlet. Can you please take a look at this and determine if an update to the doc is necessary?

@ahmedelnably Can you take a look? This is similar to #10869 that @msangapu asked you about.

@panchagnula Please take a look

This one is by design in cloudshell, the command was ran from the quickstart folder not the app folder.
Please re run from the app folder.
Missing command:  cd html-docs-hello-world

@ahmedelnably that could be the case, actually. I can't remember re-run everything from scratch now, but I suppose the issue is clear now

@shershen08 I'm assuming we can close this issue then. Thanks for getting back to us. #please-close.


Genquery iterator for Python Rule Engine

1 This formalizes  the addition of the genquery.py module into the PREP.
2 The full suite of tests for this module's functionality is not yet complete.
3 Usage examples for the row_iterator and paged_iterator yet to be added to the README.

let's squash all these down to a single commit


If the registration ID of the client is different, but if more than one client is registered on the same pc, I want to know whether each client is operable

hello !
I want to know about the following.
If the registration ID of the client is different, but if more than one client is registered on the same pc, I want to know whether each client is operable.
The client's registration id is constantly changing.
ex)  1 client : RegistrationEngine - Registered with location '/rd/laAgtwDpFc'.
2 client : RegistrationEngine - Registered with location '/rd/ZELesefV5V'
3 client : RegistrationEngine - Registered with location '/rd/3wEwmpLsA9'.

Only one server is displayed and three client register id are periodically changed.
In the attached figure, only one client works when writing in package uri. What I want to check is that the registration id is different, but I would like to know if three connected clients can operate at the same time.
When the endpoint connected to the same PC sends the packageURI in the WebUI for the same 3 clients, it does not download to the 3 registered clients at the same time. Now, 3 clients are registered, but one client The download operation is executed only for.
What I want to know is that when multiple clients of the same endpoint are registered, I would like to know if webui is equally applicable to multiple registered clients in write operation to pakage uri.
please check. thanks.

Some basics about LWM2M specifications.
A device/client is identified by its endpoint name.
A registration is a kind of "session" which can expired after some time.
A registration is identified by a registration Id.
I guess you are using Leshan Client Demo, right ?
By default when you launch the Client Demo without endpoint name defined, a default one is chosen. (which should be your host name or machine name, something like this)
In your case, it seems your are launching 3 clients with same endpoint name. So server see it as only 1 client.
With only 2 clients let's see what happened :

ClientA registers itself and get a new registration id : regA1.
ClientB registers itself.  At server side we understand that the same client(same endpoint) try to register again and so remove the previous registration (regA1) and create a new one : regB1.
After a while ClientA try to update its registration regA1. Server responds with NOT FOUND (as regA1 was deleted). So ClientA try to register again. At server side we understand that the same client(same endpoint) try to register again and so remove the previous registration (regB1) and create a new one : regA2.
etc, etc ...

So 2 different clients must use 2 different endpoint names. To change endpoint name with client demo just use :
 -n <arg>       Set the endpoint name of the Client.
                Default: the local hostname or 'LeshanClientDemo' if any.

hello.
If three clients are registered with different endpoint names, it seems to connect to webui with three different endpoint names respectively.
For example, if you are updating your car s / w.
For the same s/w package uri for the same model.
If the client endpoint is bmw 520d, i want to write three cars clients with the same package uri for three cars client bmw 520d models.
I want three cars to be downloaded automatically when writing from webui for the same s / w package uri to three connected cars.
If three different endpoints are connected to the endpoint mentioned above, it is supposed to connect to web ui three times and wirte to s / w package uri.
I'm wondering if I can use the webui demo to get what I want.
Whether 100 car clients are connected, 100 autos want to download s / w automatically.
please check. thanks.

Endpoint name does not identify a "class"/"category"/"family" of device. It identifies a device itself.
So you MUST NOT have several clients/devices with the same endpoint name.
It seems that you want to handle a fleet of devices. And so being able to launch firmware update on several devices easily... the web ui of leshan-server-demo is not designed to manage a fleet of devices.
So,

I want three cars to be downloaded automatically when writing from webui for the same s / w package uri to three connected cars.

Leshan demo is not able to do that.  You can only write on 1 devices at a time.

If three different endpoints are connected to the endpoint mentioned above, it is supposed to connect to web ui three times and manually wirte to s / w package uri .

I don't understand, but again several clients/devices with same endpoint does not make sense in LWM2M ...

I'm wondering if I can use the webui demo to get what I want.

I'm not sure to really get you want, but from what I understand I would say : you can't.

I'm wondering if webui does not use db and I need to do it manually.

what is the point about database ? I didn't get the link with our current discussion.

I would like to know if I need to automatically download the s / w package uri of three cars to the s / w package of the car model that I want to automatically download at once without using demo webui.

I don't get the point ...
I advice you to read the LWM2M specification and this about leshan-demo.

hello.
I'm not sure to really get you want, but from what I understand I would say : you can't.
->
I do not know if I can implement it in the way I want because it is not suitable for using the lwm2m protocol spec,  Or I would like to know if leshan demo can not implement it the way I want.

To answer to you correctly I need to understand what you try to achieve... and it's not clear for me.
Your needs
I guess you want to manage a fleet of devices and being able to  install a given software on several devices easily.
Leshan demo
leshan-demo is not designed to do that. It is a pretty much low level UI compared to your needs.
LWM2M specification
LWM2M defines server/client interaction. Of course you can use it to handle a fleet of devices. By the way we are using leshan library (not demo) to do that in our product. But not in the way you do, because to respect the LWM2M specification, you MUST use a different endpoint name for each devices.
Then you can imagine a UI where :

you select registered (or not) devices on which you want to install software,
then you chose the software.
then launch the upgrade campaign. The server will execute the software installation process as defined in the specification for each devices.
we can imagine a UI where you can monitor the progress of the campaign. (see what failed or succeed for each devices, add a way to relaunch failed software installation or handle retry ...)

This just a quick example to give you an idea, so up to you to define the right UI for your use cases.

hello
Finally, please answer the following questions only. Thank you for answering my question.
With webui, you have to manually read, write, and execute objects for a single device.
I wonder if it is against the lwm2m specification to modify the client value to get the value automatically, rather than manually, by pressing the webui button when the CLIENT and server are connected without using the web UI.
I wonder if it is possible to access, read, write, and execute the client object through webui according to the specification of lwm2m. If webui is not implemented by the specification for demo testing but is implemented by itself, proceed without webui I'm going to see.
If you do not use wegui, you will not be manually pressing the button but automatically reading the value from the client and wrtie if you do not manage only one device, for example, download 3 to 4 apps (3 to 4 instances) in one device Is thought to be possible.
please check. thanks.

The specification defines client/server interactions. It does not defined any UI or server/users interactions.
It defines :

how a device register to a server.
which kind of request a server can send to a client
and some more advance process, like e.g.  the state machine to use to install a software.
... ...

But it's up to you to use those "low level" operations to define the behavior of your server.
You could create a web UI or not ...
You can chose when you start your software upgrade...
So :

I wonder if it is against the lwm2m specification to modify the client value to get the value automatically, rather than manually, by pressing the webui button when the CLIENT and server are connected without using the web UI.

It is not against the specification for reasons explained above. FMPOV, doing that "manually" does not make any senses, except for testing or developing purpose...

Could we close this issue ?

(feel free to reopen it if needed)


Configuration for running demo

Hi, came across the repo and am excited to test it out. I'm unable to get in running and am hoping to have some clarity on what configuration is needed.
Here are the steps I've done:

Create a conda environment with Python 3.10: conda create -n autogen-demo python=3.10
Activate the conda environment: conda activate autogen-demo
Install AutoGen with Retrievechat option: pip install "pyautogen[retrievechat]"
Run: python app.py

Here are the results I get, it seems to be issues with the imports:
File "/.../autogen-demo/app.py", line 9, in <module>
    from autogen.retrieve_utils import TEXT_FORMATS, get_file_from_url, is_url
  File "/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/autogen/retrieve_utils.py", line 8, in <module>
    from chromadb.api import API
ImportError: cannot import name 'API' from 'chromadb.api' (/Users/.../miniconda3/envs/autogen-poc/lib/python3.10/site-packages/chromadb/api/__init__.py)

Any suggestions?
Thanks!

Hi @austinhumes-valtech , thanks for reaching out. chromadb just have a new release with classname changed, this is the root cause of the failure. I had a PR https://github.com/microsoft/autogen/pull/435 to fix it. Before the new autogen is released, please install "chromadb<0.4.15".

Hi @thinkall, thanks for the suggestions, I now have it running! Thanks for the great work, looking forward to seeing what's next with AutoGen!


the other health zone addition to training form

closes #69

I need to add that field to the backend too before mergin


Version are not listed

[Enter feedback here]
On this page, it says "MDATP versions are listed in this section."
Supported kernel versions are listed but there's no MDATP versions information in the section.
=============
Note
After a new package version is released, support for the previous two versions is reduced to technical support only. Versions older than that which are listed in this section are provided for technical upgrade support only.

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

ID: 944b7b97-efbf-e83d-9330-a825d901819d
Version Independent ID: 6c49c1c5-a178-0c9d-4768-fef1507b1a55
Content: Microsoft Defender for Endpoint on Linux
Content Source: microsoft-365/security/defender-endpoint/microsoft-defender-endpoint-linux.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@morrow233 Thank you for your feedback. The document refers to the Kernel OS versions. I don't see it saying MDATP versions are listed in this section.  Are you referring to this document -https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/microsoft-defender-endpoint-linux?view=o365-worldwide ?
Thanks
Sri

@msbemba
Let's forget about "OS Kernel versions" first.
On the content source, the document refers "MDATP versions are listed in this section."
Content Source: https://portal.microsofticm.com/imp/v3/incidents/details/383166636/home

========
[!NOTE] After a new package version is released, support for the previous two versions is reduced to technical support only. Versions older than that which are listed in this section are provided for technical upgrade support only.
I think MDATP versions should be listed in THIS section OR on the same page.
But there is no MDATP versions are seen on either of the section or the same page.
[Request]
To know the supported 3 versions AND unsupported (only upgrade support) other older versions, please add listed MDATP versions on the page.

@msbemba

@morrow233 I'm checking internally with the author to get the information added to the document.
Thanks
Sri

@msbemba

Email sent to author - May 11

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


cdc.csv not up to date with BC Conservation Data Centre (CDC) fish data

The Bug
The data in cdc.csv is not up to date with the BC Conservation Data Centre (CDC).
A Reprex
Using Oncorhynchus nerka as an example, in the CDC database Oncorhynchus nerka and many of its populations have a COSEWIC status (screenshot 1), but this is not present in cdc.csv (screenshot 2).
Other information is not up to date either, including review dates and Provincial statuses, so this makes me think the cdc.csv just hasn't been updated in a while (and github says it hasn't been edited in 4 years). Any guidance on an update workflow would be much appreciated. Thanks

This is an extremely useful package that we use all the time.  Thank you so much for having it available.  We are keen to contribute if we can be helpful.
export of both Results and Conservation Status Data look slightly different from cdc.csv (see below) so we are guessing there was some wrangling required originally and/or required due to changes in how BC Species & Ecosystems Explorer exports.
Had a look for some wrangling tracking in the repo but did not find it so either I missed it or perhaps someone talented (ie. Evan) may have something locally?  We can look into putting together a PR for a workflow for updating the current csv using the same column names with or without some kind of template of past moves to work off of but figured we should most definitely check in first as there is likely lots we don't know.
It's good to see that BC Species & Ecosystems Explorer has been updating their COSEWIC info and it makes me wonder if there is access to that data raw through an API.  I did a quick search of https://search.open.canada.ca/data/ through the front door and API to no prevail so guessing BC Species & Ecosystems Explorer is best option...
library("rgovcan")
library("ckanr")
library("tidyverse")

# set up the connection to the data portal
ckanr_setup(url = "https://open.canada.ca/data/en")

govcan_search(keywords = c("COSEWIC"), records = 100, format_results = TRUE) %>%
  pull(resources) %>%
  bind_rows()

@newgraph-lschick and @NewGraphEnvironment - thanks for the interest in this package.
We are keen to keep it up to date. I'm the maintainer while @evanamiesgalonski is on leave so will make decisions.
I agree with your suggested outline. ie

Ideally would pull using API but will settle for manual download if all that is available
should wrangle from downloaded file (saved as csv) to format for import as data frame in package in data-raw.R script in data-raw directory so record of changes (I couldn't locate any record of how we made changes previously)
as much as possible we want the CDC data as is on the CDC site.

If you are able to do a PR that fits with these requirements that would be fantastic. Let me know if I missed anything. Thanks!

Had an initial look at what is going on.  Not surprisingly there is lots of complexity here related to past/current formats and even within content (species present before but no longer detailed etc.).
Will continue to work on this as time allows and we likely produce some sort of markdown review to communicate the story of the design decisions that were or will need to be made and potentially short term work arounds to fulfill current reporting obligations.
Worth some more effort to determine if indeed using the point and click BC Ecosystem Explorer interface is our only viable (and sad) option since the wrangle is not trivial (as usual).

Yes an API on the government sites would ensure data use can be automated minimizing errors and ensuring information is up to date....

looks like api access is not yet possible :<

Hi @joethorley, I hope summer is going well! I've been taking a crack at getting this sorted and have a couple questions for you:

Do you know where the freshwaterfish.csv data comes from? We need to update this file as well for the tests in data-raw.R to pass. I've looked into the available CDC exports but none seem right.

I've taken two approaches to this issue and would like to know which one suits you guys best:

Option 1:
I updated the cdc.csv file with updated data from the CDC and made it look (almost) identical to the old cdc.csv file. This involved removing lots of columns and re-formating certain columns, which took a bunch of hand-bombing. I explained all these steps in cdc.Rmd which can be found in my branch updated-data here https://github.com/lucy-schick/fishbc/tree/updated_data. This option is good if you guys care about the data being in the same format as before.
Option 2:
I downloaded the same data from the CDC but just left it raw. This option didn't require any hand-bombing and is fast but does results in having many more columns which may be more data than you guys want. I'm not too sure. Since the cdc.csv file hasn't been updated in ~4 years and there doesn't seem to be any record of how this file was put together previously, @NewGraphEnvironment and I thought maybe it was the raw download from the CDC. And since then, the CDC has likely added more data (and therefore columns) that can be exported, explaining the differences we see between the old cdc.csv file and what can be exported today. Just a thought. This updated-raw cdc.csv file can be found in my branch data_update_aug_2024 here https://github.com/lucy-schick/fishbc/tree/data_update_aug_2024
The only issue with this option is that the following test in data-raw.R won't pass because the CDCcodes need to be updated in the freshwaterfish.csv file. This can be done by hand (its only a couple CDCcodes that need to be updated) but I am trying to limit the amount of hand work required so that this process can be easily reproducible in the future. So if you by chance know where the freshwaterfish.csv data comes from that would be awesome!
Thanks!

just a note to let you know we recognize that the data munge better belongs in data-raw vs 'R' directory and that can be done before a PR.
Option 3 could look a bit like https://github.com/lucy-schick/fishbc/issues/1 if we can't find the export for freshwaterfish.csv and we want to create a xref_sp_element_codes.csv to update freshwaterfish.csv using  cdc.csv.
Absolutely no need to throw any time at this on our behalf as we have a working update in https://github.com/lucy-schick/fishbc/tree/updated_data

Hi @lucy-schick and @NewGraphEnvironment
The freshwaterfish.csv file was hand punched based on available information.
Will respond to other questions tomorrow!
Thank
Joe

The taxonomic info looked familiar and woke me up in the night (ha) so I tested retrieving it from ITIS using the taxize package from some ancient code from a benthic invertebrate project.  It looks good for retrieving a big part of the freshwaterfish dataframe.  Not sure that taxonomic info is necessary but the ITIS IDs seem like a great way to be consistent with names and script taxonomy.  Here is that test code that should run in unaltered repo now that I am actually putting it down.
library(tidyverse)
library(taxize)

cdc <- readr::read_csv("data-raw/cdc/cdc.csv")
freshwaterfish <- readr::read_csv("data-raw/freshwaterfish/freshwaterfish.csv")

names_resolved <- tibble::as_tibble(taxize::gnr_resolve(unique(cdc$`Scientific Name`),
                                                        data_source_ids = c(3),
                                                        canonical = TRUE, with_context = TRUE,
                                                        best_match_only = TRUE))

cdc_matched <- dplyr::left_join(
  cdc,
  names_resolved |> select(user_supplied_name, matched_name2),
  by = c("Scientific Name" = "user_supplied_name"))

# takes a long time so get ids for just 10 as a test
ids <-  taxize::get_ids(unique(cdc_matched$matched_name2[1:10]),
                        db = 'itis')

ids_out <- as_tibble(ids$itis)

classed_raw <- taxize::classification(unique(ids_out$ids),
                                      db = 'itis')

clean_classification <- function(x){
  a <- x %>%
    select(rank, name, id) %>%
    t() %>%
    as.data.frame()
  b <- a %>%
    set_names(nm = unlist(slice(a,1))) %>%
    as_tibble(.name_repair = ~ make.names(.x, unique = TRUE)) %>% ##this fixes the names if it is an issue
    slice(-1,-3)
}

classed_df <- classed_raw %>%
  map_df(clean_classification, .id = 'Name')  ##clean up the results and join dataframes together

setdiff(
  names(freshwaterfish |> janitor::clean_names()),
  names(classed_df)
  )

#looks like subspecies is not there and that ITIS includes that info in species.  The rest of the columns seem as though they could be derived from either cdc exports or "data-raw/whse_fish_species_cd/whse_fish_species_cd.csv"

code comes from private repo here https://github.com/NewGraphEnvironment/Sheep/blob/master/R/01b_load_invert.R

Hi @lucy-schick and @NewGraphEnvironment
At a high level I think the best approach is to save the new cdc download as a file called raw.csv in data-raw/cdc and then use a script called cdc.R in data-raw/cdc to wrangle it into a form that is closer to the current cdc.csv file in data-raw/cdc. It should overwrite the current cdc.csv file. Columns should be renamed to the current name in cdc.csv and organized in the same order and columns formatted to be consistent with the current formatting so that existing code using fishbc isn't broken. Obviously new fish should be added and fish that are no longer in cdc.csv removed and this also goes for particular values in cells. It is also ok to add new columns if they provide useful information. The new columns should be added to the end of the data frame. Finally the rows should be sorted alphabetically by Scientific Name.
I'll review your proposed options for updating freshwaterfish.csv now
Thanks
Joe

With regard the freshwaterfish.csv file the taxize package looks really cool but we understand getting every species correct could be a lot of work.  We'll accept a hand edited version or a version that is created by a script from one or more files. Another approach is to hand edit and have a script to identify discrepancies/missing etc for review purposes and a notes column to explain why each discrepancy/missing is ok. The notes column would be stripped out for the final data set.
Thoughts?

Thanks for the feedback. I will make a PR with the criteria you mentioned above soon.
As for the freshwaterfish file, I think having a notes column to keep track of the discrepancies/missing species is a great idea. I will think about this some more and get back to you.
Thanks


Adding properties to jtwig ParserContext

Coverage remained the same at 99.497% when pulling 2a7d3a5c8f8a43dba608a1046b9a9a7f1881abb3 on lyncodev:master into f9ba2a8780f97f7cd191c02e103d9ca013a73bd2 on jtwig:master.


Install link says Maven Apache instead of Apache Maven

Steps to Repro

Go to Get started with Maven packages and Azure Artifacts.
In the Prerequisites section, observe the text for the link to the download page for Apache Maven.

Expected Results
The text of the link refers to the product name as Apache Maven.
Actual Results
The text of the link is Install Maven Apache.

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

ID: 181b7f1e-c844-54ae-97b8-de3e033d9dbd
Version Independent ID: b9e49894-7cb8-6305-01ef-983135e1c62a
Content: Get started with Maven packages - Azure Artifacts
Content Source: docs/artifacts/get-started-maven.md
Product: devops
Technology: devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@raydixon -- Ray, thank you for catching this and for your PR.
@ramiMSFT -- Rami, please review public PR 12494.

@raydixon Thank you for your feedback and your contribution!


Hide logs link when there are no vulnerabilities

Fixes
Fixes RHTAPBUGS-210
Description
Hide the View logs link when there are no vulnerabilities
Type of change

[x] Bugfix

Screen shots / Gifs for design review

/cc @christianvogt @rohitkrai03

/retest

/approve
/lgtm


ci: add cicd config for paper mc package

needed to build the package (todo add image stuff)

/gcbrun

/gcbrun


Deal with ToC selectors that contain ., etc.,

Tools like go-swag can produce schemas with IDs that contain . and other characters that are used in CSS notation. Those IDs can't be used properly in a jQuery selector unless the special characters are escaped. Trying to use Slate with Markdown files that contain ToC IDs with ., etc., results in Javascript exception and causes the Language tabs to stop working.
jQuery.Deferred exception: Cannot read property 'top' of undefined TypeError: Cannot read property 'top' of undefined
    at HTMLAnchorElement.<anonymous> (http://localhost:4567/javascripts/all.js:10473:57)
    at Function.each (http://localhost:4567/javascripts/all.js:533:19)
    at jQuery.fn.init.each (http://localhost:4567/javascripts/all.js:328:17)
    at recacheHeights (http://localhost:4567/javascripts/all.js:10470:34)
    at makeToc (http://localhost:4567/javascripts/all.js:10525:7)
    at loadToc (http://localhost:4567/javascripts/all.js:10547:5)
    at HTMLDocument.<anonymous> (http://localhost:4567/javascripts/all.js:10725:3)
    at mightThrow (http://localhost:4567/javascripts/all.js:3754:29)
    at process (http://localhost:4567/javascripts/all.js:3822:12) undefined
jQuery.Deferred.exceptionHook @ all.js:4031
process @ all.js:3826
setTimeout (async)
(anonymous) @ all.js:3860
fire @ all.js:3488
fireWith @ all.js:3618
fire @ all.js:3626
fire @ all.js:3488
fireWith @ all.js:3618
ready @ all.js:4091
completed @ all.js:4101

Uncaught TypeError: Cannot read property 'top' of undefined
    at HTMLAnchorElement.<anonymous> (all.js:10473)
    at Function.each (all.js:533)
    at jQuery.fn.init.each (all.js:328)
    at recacheHeights (all.js:10470)
    at makeToc (all.js:10525)
    at loadToc (all.js:10547)
    at HTMLDocument.<anonymous> (all.js:10725)
    at mightThrow (all.js:3754)
    at process (all.js:3822)

Apologies for the delay in getting back to you. It looks like this PR contains unrelated changes based on your API documentation. Could you amend? It looks like only the changes to source/javascripts/app/_toc.js are necessary.

Thanks @MikeRalphson I've removed the extra stuff. Sorry for that.

Would $.escapeSelector provide the same functionality?

To answer my own question, it does. Moved to using that instead of the regex as that's probably a more "recommended practice" when escaping a selector to be fed into jQuery selectors.
Thanks for this. Confirmed though that both approaches worked equally well for fixing ToC entries with the punctuation characters.


Add the project number form to alert on

When I tried to trigger the alert in staging, it didn't show up because it appears in the audit logs with the project number form, so check for both.


Status update

Hi, any update about the code release?

Hi, do you plan to publish code at all? Thanks

there's this - https://github.com/HeliosZhao/ControlNet-Stable-UnCLIP


[c++] Expose two functions from managed_query in soma_reader

This PR exposes two existing functions from managed_query one level higher up in the soma_reader to, respectively, access the underlying schema and select columns (if one hasn't at instantiation) which matches the row setters.

Thanks!!   And whoops that wasn't meant to be a draft PR ... Will rebase in a sec and push and then (if ok) merge.

Sounds good, please merge when ready!


Does not move pgsql database to new volume

Hi,
I am trying to move everything from volume1 to volume2 - thanks a lot for your efforts to get that done!
However, you do not offer the option to move /volume1/@database to /volume2/
When I removed the volume1 disks, my photos data was gone :) Luckily I had only physically removed them, not destroyed the volume (yet).
So please can you also offer this option to your excellent script?
Thanks in advance!

You're only the 2nd person to ask about this. Moving the @database folder makes sense if if the original volume is going to be deleted. For all other cases it's better to leave @database where is it is.
It's better to move /volume1@database/pgsql to volume2
You can move the pgsql database with:

Stop the pgsql service:
sudo systemctl stop pgsql-adapter.service

Then create the folder:
sudo mkdir /volume2/@database/pgsql

Move with:
sudo mv /volume1/@database/pgsql /volume2/@database/pgsql

Change the rights:
sudo chown postgres.postgres /volume2/@database/pgsql

Change the pgsql symlink:

sudo rm /var/services/pgsql
sudo ln -s /volume2/@database/pgsql /var/services/pgsql

Start the pgsql service:
sudo systemctl start pgsql-adapter.service

Check if pgsql is ok:
sudo systemctl status pgsql-adapter.service

If you were using a shared space in photos and have moved the shared space to volume2 you may then need to:

Go to Synology Photos > Settings > Shared Space.
Disable the Shared Space.
Then go back in and Enable Shared Space.

Thank you for your answer, I had done something like this except the shared space bit :)
My use case is exactly that - I upgraded from a 2 bay model to a 5 bay model. The 2 bay model had a RAID1 array and I bought 2 drives for the new one which I set up as SHR. I then discovered I could not convert RAID1 -> SHR and combine the volume, so I needed to move everything from volume1 and then delete it.

I've written myself a test script that checks all installed packages to see if any depend on pgsql and if any do they are added to a list.

If there are packages in that list then pgsql will be added to the list of apps to select to move.
If any of the packages in that list are moved it will ask if you also want to move pgsql.
After moving pgsql it will start all apps in that list (because systemctl stop pgsql-adapter.service automatically stops all dependant apps).

v4.2.75

Added @database as an app that can be moved.


Fixes the redhat_enterprise_linux? helper from failing.

The platform for RHEL systems is 'redhat' and not 'enterprise'.

@johnbellone do you know if this changed in Ohai at some point? I would feel more comfortable checking for enterprise and redhat for legacy.

@sethvargo Not sure. I can go dig it up. This is the first time I've tried using this helper because generally I don't want to differentiate between CentOS/RHEL.

It doesn't look like its changed anytime recently.  Anywhere else you would look?


User interactive command line

What about using a CLI interactive method to provide options for the users that their

CSV fields can be read by our app and displayed in the cli and
From cli asking the user if they need any key to be applied for any of the fields(like primary key etc.,)

if this could be added as a feature in it.
Thanks!

Would anyone be able to give me some suggestions or docs on contributing to this project?

Closed due to misunderstood project usage.
Thanks.


Can the Mini USB slot be used to control BenQ W2700?

I have a BenQ W2700 and saw that it has a mini USB slot on the back. I wondered if it could be used as an alternative to using the serial com slot. Anyone tried this yet?

The USB Mini-B port is there for firmware upgrades

I hope this answered your question, so I'm closing the issue


running quake-kube on RPI4

Hi, thank you for this project.
I would like to try and build this on a rpi4 cluster using k3s. I am not 100%  sure what I need to do to get it running using ARM images.
If possible, can you give me some pointers please on what I would need to do? I am still new to kubernetes. Happy to contribute back if I can get it going.

A first pass at this might look like:

try and compile ioquake on the RPi4 (or cross compile targeting ARMv8/arm64 - I only see special cases for v7 referenced in their makefile but v8 might just work)
modify our Dockerfile to compile the Go binaries to ARM (GOARCH=arm64) and then either remove the multistage build step for ioquake and instead copy in your ARMv8 built binaries, or, better, modify the whole multistage build to work correctly on multiarch
push the resultant Docker image to a registry and change the reference in our example deployment to your image.

Ideally, once it is working, we could then update our build to cross-compile and publish a multiarch Docker image - Kubernetes/Docker/etc will pull the correct specific image for the architecture that they're running on out of a multiarch image tag and the end-user experience would be just deploying the same example manifests :tada:

@mahalel those are all great suggestions from @rbtr. I was needing to take a look at docker buildx, a container cross-compiling toolkit, for a different project, so i ended up giving the last suggestion a go.  I followed this blog post on setting it up:
https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/getting-started-with-docker-for-arm-on-linux
I think with the changes to the Dockerfile that are in #12, you should be able to build the container on the rpi4 itself as well (although I haven't tested yet).


Micro crashes

Description of the problem or steps to reproduce
when I work in micro some time Micro crashes
and I see the following message:
Specifications

You can use micro -version to get the commit hash.
Commit hash:1856891
OS: MacOS(latest) and ZorinOS
Terminal: fish

Looks like that's a problem with the filemanager plugin - I'd recommend opening an issue over there instead.

I also launched Micro without filemaneger, but okay, I'll open issue there!

If you can get a copy of the stacktrace without "filemanager" in it then it may be an issue with micro, but all I see there is filemanager related stuff.

fmt crashes a lot for me.. don't have the error msg to hand ..


fix race condition when closing the server

This bug was introduced in #934.

Codecov Report

Merging #937 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #937   +/-   ##
=======================================
  Coverage   90.74%   90.74%
=======================================
  Files          98       98
  Lines        6537     6537
=======================================
  Hits         5932     5932
  Misses        389      389
  Partials      216      216

Impacted Files
Coverage Δ

server.go
92.89% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add staking and slashing params queries

Added 2 queries for backwards compatibility.
Needs this https://github.com/turbofish-org/orga/pull/250 to be merged first to work properly and this PR to be updated to include the required orga version.

Nice change, thanks for contributing.


Class does not support Developer Data

When importing a garmin 820 fit file it errors with "this class can only handle normal headers":
if (($record_header_byte >> 7) & 1) {  // Check that it's a normal header
throw new \Exception('phpFITFileAnalysis->readDataRecords(): this class can only handle normal headers!');
}
Anyone has updated code?
Included a copy of the problem fit file.
niels probleem 820 2016-09-07-05-49-08.zip
Regards,
Henk

Hi @HenkV74
I will take a look at this when I get chance. I had not catered for headers that are not normal because at the time I developed this class:

The documentation was not clear on what compressed timestamp headers looked like.
I hadn't come across a single FIT file that had any contained in them. Thanks for providing one and congrats on your Garmin 820! :)

I think the last version of the standard I reviewed as at around v16. I see that it is now up to (v20)[https://www.thisisant.com/resources/fit].
I will try take a look at the weekend but I can't promise anything. If you have any thoughts or find a solution for processing compressed timestamp headers then let me know as I would be keen to pull this into my project.
Thank you for raising this, Adrian.

Hi Adrian, I invested already quite some time in trying to solve this matter but I think that you can confirm that fit-files are not exactly the most developer friendly protocols. I started using your code some weeks ago as the fit routines I wrote some years ago in the early days of the fit-files started to have some problems with newer devices and I thought that this code was more up to date. Had quite some issues in using it but was able to addapt.
I'll continue to try to solve this matter but for me also must try to find some time and not the least because of the fact that I must completely reread and try to understand the fit protocol.
So if in the near time you're able to find a solution, many thanks beforehand :).

I've been looking at this issue for a few hours and after initially thinking that it was quite straightforward to cater for compressed timestamp headers, now I am not so sure...
I tried uploading the file to a couple of sites, just to make sure that the FIT file is OK:

Garmin Connect: it loaded up fine. To be expected as it is their standard.
Strava: data loaded in OK, but something went amiss with the lat/longs as the map was a straight line somewhere near Africa!

I am banging my head against the screen as I don't know why I cannot get it to work.
I thought something to do with the 64 bit types that have been introduced, but don't think that is the issue after adding them...
I thought something to do with ability to have "Developer Data", but I don't think that is causing the issue either. There is Developer Data messages in there, but my class seems to stepping over them appropriate by moving the file_pointer on...
So frustrating! Will have a look again another time...
Adrian.

I looked again for some time and have came up with a bit and think to know where the problem is. You're much more used to your fit code so maybe we can work it out together.
So first get rid of the throw 'can only handle normal data'
if (($record_header_byte >> 7) & 1) {  // Check that it's a normal header
//	throw etc
$timeOffset = $record_header_byte & bindec("00011111"); // value 0 to 31
$local_mesg_type = $record_header_byte & bindec("01100000") >> 6;
$message_type = DATA_MESSAGE;
$compressedHeader = true;
}
else
{
$message_type = ($record_header_byte >> 6) & 1;  // 1: DEFINITION_MESSAGE; 0: DATA_MESSAGE
$local_mesg_type = $record_header_byte & bindec("00001111");
$compressedHeader = false;
}
The problem which arises is that we have a new $local_mesg_type . It is normaly initialized in the Switch: DEFINITION_MESSAGE. However a compressed record does not have a definition message, only a different local message. I could execute this portion but this piece of code does also read the global message which is wrong in the case of a compressed record.
So the code must be adapted to define this new structure en read on. If we've got the correct definitions we read just like the switch; DATA_MESSAGE does. However we will not get a timestamp. This is where the $compressedHeader comes in place. If $compressedHeader it should take the last known timestamp in the fit file and just add the $timeOffset to it. Then we would be allright.
Hope this helps you a bit to get this thing running. I'll look further into it next week but for now my time is up :( Hope you'll be able to do something.
Regards,
Henk

Hi @HenkV74
So, the issue was not there are Compressed Timestamp Headers in your FIT file, but the php-fit-file-analysis did not handle Developer Data, added in version 1.9 of the FIT protocol in April 2016. I'll update the title of this issue for posterity.
So the $file_pointer was not being updated correctly when Developer Data definition and data messages were being encountered and things were going wrong as bytes were being interpreted and processed incorrectly.
Following #38 I think we are all good now. Please could you test and let me know if things work?
Thanks and enjoy! :)

It's ok now! Thanks. So it wasn't afterall a compressed data problem but the filepointer went simply out of sync and left me te believe that it was a compressed header. Thanks for updating!
Maybe you could add also line 850:
30 => ['field_name' => 'left_right_balance',          'scale' => 4,    'offset' => 0,   'units' => ''],
Regards,
Henk

Hey @HenkV74
commit 83335292d6b1f3f37dc5bc00f6dd2c63c57a2c0a has included some additional Record message field definitions, including:

30 => ['field_name' => 'left_right_balance', 'scale' => 4, 'offset' => 0, 'units' => '']

I'm a bit reticent to create a new release just for this one commit, but I could do so if you're using a package manager for your project.
Cheers, Adrian.


Improve Storage Account setup in ARM Template

Some other questions concerning the related storage account:
Is there a specific reason for it being v1?

Is Blob anonymous access required? Is storage account key access required?

Can we increase TLS version without issues?

Originally posted by @gjongeneel in https://github.com/sg3-141-592/AzStartStop/issues/4#issuecomment-1726038776

Hey @gjongeneel just pushed a fix in the ARM Templates. You'll need to redeploy to get the updated setup.

It seems like you can theoretically disable the Shared Key Access on the storage account, if you setup appropriate Managed Identity permissions elsewhere. But it'd add more complexity to the setup on-top of the additional Managed Identity Permissions users already have to setup so I'm going to avoid for now.

Nice work & completely agree!


Implement Research Table GUI

Acceptance criteria:

[x] Implement the hexagon mini-game when a research note is in a table.
[x] Implement warning label for when scribing tools are out of ink.
[ ] Implement the drag and drop functionality of vis.
[x] Modify notes when game is complete and add extra visual effects.

DnD aspect creation is actually not base TC4 so a new task will be opened.


WAL acceptor eating 100% CPU

Description is WIP, I will update it once new details will arrive. I run pageserver + 3 wal_acceptors + compute_node on top of it using docker-compose.
During the normal idle operation log looks somehow like that:
pageserver_1     | Jul 12 18:48:45.707 DEBG accepted connection from <IP_ADDRESS>:55936
pageserver_1     | Jul 12 18:48:45.707 INFO postgres backend to <IP_ADDRESS>:55936 started
pageserver_1     | Jul 12 18:48:45.711 DEBG process query b"pagestream e42f87423e756cee200d1dd293feed2a\0"
pageserver_1     | Jul 12 18:48:45.742 INFO connection closed
pageserver_1     | Jul 12 18:48:45.742 INFO postgres backend to <IP_ADDRESS>:55936 exited
wal_acceptor2_1  | Jul 12 18:48:46.335 ERRO connection handler exited: deserialize error: failed to fill whole buffer
wal_acceptor2_1  | Jul 12 18:48:46.340 DEBG accepted connection from <IP_ADDRESS>:57786
wal_acceptor2_1  | Jul 12 18:48:46.341 INFO Start handshake with wal_proposer <IP_ADDRESS>:57786 sysid<PHONE_NUMBER>205430285 timeline e42f87423e756cee200d1dd293feed2a
wal_acceptor2_1  | Jul 12 18:48:46.341 INFO control file for timeline e42f87423e756cee200d1dd293feed2a is already open
wal_acceptor2_1  | Jul 12 18:48:46.392 INFO Start streaming from timeline e42f87423e756cee200d1dd293feed2a address <IP_ADDRESS>:57786
wal_acceptor2_1  | Jul 12 18:48:47.342 ERRO connection handler exited: deserialize error: failed to fill whole buffer
wal_acceptor2_1  | Jul 12 18:48:47.345 DEBG accepted connection from <IP_ADDRESS>:57792
wal_acceptor2_1  | Jul 12 18:48:47.347 INFO Start handshake with wal_proposer <IP_ADDRESS>:57792 sysid<PHONE_NUMBER>205430285 timeline e42f87423e756cee200d1dd293feed2a
wal_acceptor2_1  | Jul 12 18:48:47.347 INFO control file for timeline e42f87423e756cee200d1dd293feed2a is already open
wal_acceptor2_1  | Jul 12 18:48:47.396 INFO Start streaming from timeline e42f87423e756cee200d1dd293feed2a address <IP_ADDRESS>:57792
wal_acceptor2_1  | Jul 12 18:48:48.350 ERRO connection handler exited: deserialize error: failed to fill whole buffer

With rare workload (I guess):
wal_acceptor2_1  | Jul 12 18:48:39.339 INFO Start streaming from timeline e42f87423e756cee200d1dd293feed2a address <IP_ADDRESS>:57738
wal_acceptor3_1  | Jul 12 18:48:39.679 DEBG received for 56 bytes between 0/16F6FD8 and 0/16F7010
wal_acceptor2_1  | Jul 12 18:48:39.679 DEBG received for 56 bytes between 0/16F6FD8 and 0/16F7010
wal_acceptor1_1  | Jul 12 18:48:39.679 DEBG received for 56 bytes between 0/16F6FD8 and 0/16F7010
wal_acceptor2_1  | Jul 12 18:48:39.689 INFO Switch to new epoch 1
wal_acceptor3_1  | Jul 12 18:48:39.735 DEBG received for 0 bytes between 0/16F7010 and 0/16F7010
wal_acceptor1_1  | Jul 12 18:48:39.735 DEBG received for 0 bytes between 0/16F7010 and 0/16F7010
wal_acceptor2_1  | Jul 12 18:48:39.743 DEBG received for 0 bytes between 0/16F7010 and 0/16F7010
wal_acceptor1_1  | Jul 12 18:48:39.798 DEBG Sent WAL to page server up to 0/16F7010

However, after some time of idle state one wal_acceptor starts consuming 100% CPU of a single core, then log looks like:
wal_acceptor1_1  | Jul 12 16:22:21.500 DEBG accepted connection from <IP_ADDRESS>:56168
wal_acceptor1_1  | Jul 12 16:22:21.501 INFO Start handshake with wal_proposer <IP_ADDRESS>:56168 sysid<PHONE_NUMBER>205430285 timeline e42f87423e756cee200d1dd293feed2a
wal_acceptor1_1  | Jul 12 16:22:21.502 INFO control file for timeline e42f87423e756cee200d1dd293feed2a is already open
wal_acceptor1_1  | Jul 12 16:22:21.565 INFO Start streaming from timeline e42f87423e756cee200d1dd293feed2a address <IP_ADDRESS>:56168
wal_acceptor1_1  | Jul 12 16:22:21.565 INFO requesting page server to connect to us: start host=<IP_ADDRESS> port=6400 dbname=no_db user=no_user callmemaybe e42f87423e756cee200d1dd293feed2a host=<IP_ADDRESS> port=6500 options='-c ztimelineid=e42f87423e756cee200d1dd293feed2a'
wal_acceptor1_1  | Jul 12 16:22:21.565 TRCE registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
wal_acceptor1_1  | Jul 12 16:22:21.566 TRCE registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
wal_acceptor1_1  | Jul 12 16:22:21.566 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:21.566 TRCE writing; remaining=58
pageserver_1     | Jul 12 16:22:21.565 DEBG accepted connection from <IP_ADDRESS>:59496
pageserver_1     | Jul 12 16:22:21.566 INFO postgres backend to <IP_ADDRESS>:59496 started
pageserver_1     | Jul 12 16:22:21.567 DEBG process query b"callmemaybe e42f87423e756cee200d1dd293feed2a host=<IP_ADDRESS> port=6500 options='-c ztimelineid=e42f87423e756cee200d1dd293feed2a'\0"
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE framed transport flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE frame decoded from buffer
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE frame decoded from buffer
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE frame decoded from buffer
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_read: waiting on response
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: waiting on request
pageserver_1     | Jul 12 16:22:21.568 INFO postgres backend to <IP_ADDRESS>:59496 exited
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE framed transport flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_flush: flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 DEBG executing simple query: callmemaybe e42f87423e756cee200d1dd293feed2a host=<IP_ADDRESS> port=6500 options='-c ztimelineid=e42f87423e756cee200d1dd293feed2a'
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_read: waiting on response
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE polled new request
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: waiting on request
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE writing; remaining=134
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE framed transport flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_flush: flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE frame decoded from buffer
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE attempting to decode a frame
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_read: waiting on response
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: waiting on request
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE framed transport flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_flush: flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_read: waiting on response
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: at eof, terminating
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: sent eof, closing
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_write: done
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE writing; remaining=5
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE framed transport flushed
wal_acceptor1_1  | Jul 12 16:22:21.568 TRCE poll_shutdown: complete
wal_acceptor1_1  | Jul 12 16:22:22.500 ERRO connection handler exited: deserialize error: failed to fill whole buffer
wal_acceptor1_1  | Jul 12 16:22:22.502 DEBG accepted connection from <IP_ADDRESS>:56176
wal_acceptor1_1  | Jul 12 16:22:22.504 INFO Start handshake with wal_proposer <IP_ADDRESS>:56176 sysid<PHONE_NUMBER>205430285 timeline e42f87423e756cee200d1dd293feed2a
wal_acceptor1_1  | Jul 12 16:22:22.504 INFO control file for timeline e42f87423e756cee200d1dd293feed2a is already open
wal_acceptor1_1  | Jul 12 16:22:22.552 INFO Start streaming from timeline e42f87423e756cee200d1dd293feed2a address <IP_ADDRESS>:56176
wal_acceptor1_1  | Jul 12 16:22:22.552 INFO requesting page server to connect to us: start host=<IP_ADDRESS> port=6400 dbname=no_db user=no_user callmemaybe e42f87423e756cee200d1dd293feed2a host=<IP_ADDRESS> port=6500 options='-c ztimelineid=e42f87423e756cee200d1dd293feed2a'
wal_acceptor1_1  | Jul 12 16:22:22.552 TRCE registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
wal_acceptor1_1  | Jul 12 16:22:22.552 TRCE registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
wal_acceptor1_1  | Jul 12 16:22:22.553 TRCE flushing framed transport
wal_acceptor1_1  | Jul 12 16:22:22.553 TRCE writing; remaining=58
wal_acceptor1_1  | Jul 12 16:22:22.553 TRCE framed transport flushed

Zenith binaries are built with --release + debug = true, but the only meaningful backtrace I can get after attaching with debugger is:
  thread #2, name = 'wal_acceptor', stop reason = signal SIGSTOP
    frame #0: 0x00007f0c515a69e0 ld-musl-x86_64.so.1`syscall + 155
    frame #1: 0x00005602e85170aa wal_acceptor`std::thread::park::h8b9d9e488ce4eddb + 122
    frame #2: 0x00005602e8148612 wal_acceptor`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h481edb1aa5aac71f at context.rs:175:17
    frame #3: 0x00005602e8148496 wal_acceptor`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h481edb1aa5aac71f at array.rs:439
    frame #4: 0x00005602e8148311 wal_acceptor`crossbeam_channel::context::Context::with::_$u7b$$u7b$closure$u7d$$u7d$::h481edb1aa5aac71f(cx=0x00007f0c50824f00) at context.rs:50
    frame #5: 0x00005602e8148d53 wal_acceptor`crossbeam_channel::flavors::array::Channel$LT$T$GT$::recv::h35e81e15ebc3cc8d at context.rs:58:31
    frame #6: 0x00005602e8148d1a wal_acceptor`crossbeam_channel::flavors::array::Channel$LT$T$GT$::recv::h35e81e15ebc3cc8d at local.rs:272
    frame #7: 0x00005602e8148d0c wal_acceptor`crossbeam_channel::flavors::array::Channel$LT$T$GT$::recv::h35e81e15ebc3cc8d at context.rs:53
    frame #8: 0x00005602e8148cf0 wal_acceptor`crossbeam_channel::flavors::array::Channel$LT$T$GT$::recv::h35e81e15ebc3cc8d(self=0x00007f0c50867380, deadline=Option<std::time::Instant> @ 0x00007f0c508250c0) at array.rs:428
    frame #9: 0x00005602e8157bb0 wal_acceptor`crossbeam_channel::channel::Receiver$LT$T$GT$::recv::ha0d3043ff8bef6d1(self=<unavailable>) at channel.rs:800:44
    frame #10: 0x00005602e814adfb wal_acceptor`std::sys_common::backtrace::__rust_begin_short_backtrace::h33ae90c4ccd89d8a [inlined] slog_async::AsyncCoreBuilder$LT$D$GT$::spawn_thread::_$u7b$$u7b$closure$u7d$$u7d$::h762b8bcdcc7bca65 at lib.rs:286:23
    frame #11: 0x00005602e814adc5 wal_acceptor`std::sys_common::backtrace::__rust_begin_short_backtrace::h33ae90c4ccd89d8a(f=<unavailable>) at backtrace.rs:125
    frame #12: 0x00005602e8159113 wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 [inlined] std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h834e15c88f034397 at mod.rs:474:17
    frame #13: 0x00005602e81590da wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 [inlined] _$LT$std..panic..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h4b72cc2fa70516e0(self=<unavailable>) at panic.rs:344
    frame #14: 0x00005602e81590da wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 at panicking.rs:379
    frame #15: 0x00005602e81590da wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 at panicking.rs:343
    frame #16: 0x00005602e81590da wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 [inlined] std::panic::catch_unwind::h5c306d30c4f9dbc3(f=<unavailable>) at panic.rs:431
    frame #17: 0x00005602e81590da wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359 [inlined] std::thread::Builder::spawn_unchecked::_$u7b$$u7b$closure$u7d$$u7d$::hd16e2d0503b17928 at mod.rs:473
    frame #18: 0x00005602e8159082 wal_acceptor`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0be31f6ab2d88359((null)=0x00007f0c508694a0, (null)=<unavailable>) at function.rs:227
    frame #19: 0x00005602e852d72a wal_acceptor`std::sys::unix::thread::Thread::new::thread_start::h3cbdbeff0d158df5 + 42

IIUC, the latter two correspond to wal_service.rs:25:15 and wal_acceptor.rs:186:9, i.e. spawning thread on incoming connection and joining thread.

Perf shows warnings in the container:
WARNING: Kernel address maps (/proc/{kallsyms,modules}) are restricted,
check /proc/sys/kernel/kptr_restrict and /proc/sys/kernel/perf_event_paranoid.

Samples in kernel functions may not be resolved if a suitable vmlinux
file is not found in the buildid cache or in the vmlinux path.

Samples in kernel modules won't be resolved at all.

If some relocation was applied (e.g. kexec) symbols may be misresolved
even with a suitable vmlinux or kallsyms file.

and have not managed to resolve function names inside container using it.

Could you share your artifacts (i.e. docker-compose.yml and such)?

No, but I use:
    cap_add:
    - SYS_PTRACE # gdb
    - SYS_ADMIN # perf

to allow gdb / perf usage.

This is still a problem with main. Safekeeper uses from 35% to 100% CPU in the idle. Safekeeper log is:
wal_acceptor2_1  | Jul 29 14:12:17.767 ERRO connection handler exited: deserialize error: failed to fill whole buffer
wal_acceptor2_1  | Jul 29 14:12:17.772 INFO Start handshake with wal_proposer <IP_ADDRESS>:56044 sysid<PHONE_NUMBER>999929897 timeline 751d3ff375d8ce317e84c369595d2ab1 tenant c09fcd2bfb3dfbe7c16ca5658cddd05e
wal_acceptor2_1  | Jul 29 14:12:17.772 INFO control file for timeline 751d3ff375d8ce317e84c369595d2ab1 is already open
wal_acceptor2_1  | Jul 29 14:12:17.847 INFO Start streaming from timeline 751d3ff375d8ce317e84c369595d2ab1 tenant c09fcd2bfb3dfbe7c16ca5658cddd05e address <IP_ADDRESS>:56044
wal_acceptor2_1  | Jul 29 14:12:17.847 INFO requesting page server to connect to us: start postgresql://no_user@pageserver:6400/no_db callmemaybe c09fcd2bfb3dfbe7c16ca5658cddd05e 751d3ff375d8ce317e84c369595d2ab1 host=wal_acceptor2 port=6500 options='-c ztimelineid=751d3ff375d8ce317e84c369595d2ab1'
wal_acceptor2_1  | Jul 29 14:12:18.773 ERRO connection handler exited: deserialize error: failed to fill whole buffer
wal_acceptor2_1  | Jul 29 14:12:18.779 INFO Start handshake with wal_proposer <IP_ADDRESS>:56052 sysid<PHONE_NUMBER>999929897 timeline 751d3ff375d8ce317e84c369595d2ab1 tenant c09fcd2bfb3dfbe7c16ca5658cddd05e
wal_acceptor2_1  | Jul 29 14:12:18.779 INFO control file for timeline 751d3ff375d8ce317e84c369595d2ab1 is already open
wal_acceptor2_1  | Jul 29 14:12:18.857 INFO Start streaming from timeline 751d3ff375d8ce317e84c369595d2ab1 tenant c09fcd2bfb3dfbe7c16ca5658cddd05e address <IP_ADDRESS>:56052
wal_acceptor2_1  | Jul 29 14:12:18.857 INFO requesting page server to connect to us: start postgresql://no_user@pageserver:6400/no_db callmemaybe c09fcd2bfb3dfbe7c16ca5658cddd05e 751d3ff375d8ce317e84c369595d2ab1 host=wal_acceptor2 port=6500 options='-c ztimelineid=751d3ff375d8ce317e84c369595d2ab1'

Compute log usually looks like:
2021-07-29 09:44:12.139 GMT [63] LOG:  Connecting with node host.docker.internal:6502
2021-07-29 09:44:13.144 GMT [63] WARNING:  WalKeeper host.docker.internal:6502 drops connection
2021-07-29 09:44:13.145 GMT [63] WARNING:  Connection with node host.docker.internal:6502 failed: Resource temporarily unavailable
2021-07-29 09:44:13.148 GMT [63] LOG:  Connecting with node host.docker.internal:6502
2021-07-29 09:44:13.686 GMT [63] LOG:  sending message with len 56 VCL=0/169F578 to 0
2021-07-29 09:44:13.687 GMT [63] LOG:  sending message with len 56 VCL=0/169F578 to 1
2021-07-29 09:44:13.687 GMT [63] LOG:  sending message with len 56 VCL=0/169F578 to 2
2021-07-29 09:44:13.743 GMT [63] LOG:  sending message with len 0 VCL=0/169F5B0 to 0
2021-07-29 09:44:13.743 GMT [63] LOG:  sending message with len 0 VCL=0/169F5B0 to 1
2021-07-29 09:44:13.749 GMT [63] LOG:  sending message with len 0 VCL=0/169F5B0 to 2
2021-07-29 09:44:14.149 GMT [63] WARNING:  WalKeeper host.docker.internal:6502 drops connection
2021-07-29 09:44:14.149 GMT [63] WARNING:  Connection with node host.docker.internal:6502 failed: Resource temporarily unavailable
2021-07-29 09:44:14.152 GMT [63] LOG:  Connecting with node host.docker.internal:6502
2021-07-29 09:44:15.153 GMT [63] WARNING:  WalKeeper host.docker.internal:6502 drops connection
2021-07-29 09:44:15.153 GMT [63] WARNING:  Connection with node host.docker.internal:6502 failed: Operation now in progress
2021-07-29 09:44:15.157 GMT [63] LOG:  Connecting with node host.docker.internal:6502
2021-07-29 09:44:16.158 GMT [63] WARNING:  WalKeeper host.docker.internal:6502 drops connection
2021-07-29 09:44:16.158 GMT [63] WARNING:  Connection with node host.docker.internal:6502 failed: Operation now in progress

Probably there are other busy loops remain, but it seems that we have to wait until huge refactoring from @arssher will arrive.

I do not observer this for a while, so It seems to be fixed along with the recent refactoring. Closing


Rewrite 2D panning/zooming

Currently the panning and zooming of the 2D space views is handled by egui::ScrollArea. This has several down-sides, such as not being able to zoom out further than "full view".
We should instead allow any pan and zoom, treating it more similar to the 3D "eye".
This is the first step towards fixing a bunch of 2D issues:

https://github.com/rerun-io/rerun/issues/683
https://github.com/rerun-io/rerun/issues/1387
https://github.com/rerun-io/rerun/issues/294
https://github.com/rerun-io/rerun/issues/2295
https://github.com/rerun-io/rerun/issues/2490

This may be partially related, but has other non-2D aspects as well: https://github.com/rerun-io/rerun/issues/2535


The test suite does not work on Node 4.3

A set of tests in the test suite fail when running on Node.js 4.3, with the following error:

Subscriber Module .close should persist last sequence number:
TypeError: utf8 is not a function
at Function.from (native)

The code in test/support/frames_helper.js calls Buffer.from, which is not a function in Node 4.3 and possibly other versions.

As we can see the tests pass on node.js > 4
https://travis-ci.org/micro-toolkit/event-bus-zeromq/builds/193420115
Most likely this was caused by some bug in that specific minor version that is now fixed.


Fix issue#512

Enables correct loading and populating the flags of countries in CurrencyConverter and WorldClock
This fix requires one dependency to be included in build.gradle
// World Country flag
implementation 'com.github.blongho:world-country-data:v1.1.0'

Demo of the UI change is here
Fixes #512
Type of change
Just put an x in the [] which are valid.

[x ] Bug fix (non-breaking change which fixes an issue)
[ x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.

[x ] ./gradlew assembleDebug assembleRelease
[x ] ./gradlew checkstyle

Checklist:

[x ] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[x ] I have commented my code, particularly in hard-to-understand areas
[x ] I have made corresponding changes to the documentation

@Swati4star, all recommended changes have been made and pushed the branch.
Do i have to make a different pull request or this suffices?

@Swati4star, requested changes have been made

@Swati4star i guess this should be done now. I also allowed "edits from maintainers" so please if there is any trivial change like empty line, could you change that?

sorry for taking this long.

sorry for taking this long.

It is ok. I am glad i could make a valuable contribution to the project


== Changes ==

Version Bump to 1.0.2
Added Config Options for Machine Augments

please merge this


Close #LGVISIUM-92: Add Github workflow to match the deployment expectations from Geowerkstatt

This PR makes it possible to generate the Docker Container of the Borehole data extraction API in a similar way to https://github.com/swisstopo/swissgeol-boreholes-suite.
Upon merging to the main, a GitHub Actions creates automatically creates a new container with the latest version of the code and an edge tag. The container is then stored in the GitHub Container Registry.

The CI was failing because the code was coming from a fork. Therefore, I opened a new branch with the same code and the PR can be found here: https://github.com/swisstopo/swissgeol-boreholes-dataextraction/pull/93


docs: Update search-params example code

Fix example for warning Type '{}' is not assignable to type 'string'

I'll try and get this fixed higher up to avoid the cast.


Markdown: Empty Line after Headline

Typemill requires an empty line after a headline, which is not required by markdown specification.

published with version 1.4.0 today


Tabs

I've add tabs to my app like following
tabHost {
                relativeLayout {
                    frameLayout {
                        id = android.R.id.tabcontent
                    }
                    tabWidget {
                        id = android.R.id.tabs
                    }
                }
                setup()
                addTab(newTabSpec("Tab1")
                        .setContent {}
                        .setIndicator("Tab1"))
                addTab(newTabSpec("Tab2")
                         .setContent {}
                         .setIndicator("Tab2"))
}

And my app crashs on lookup of resource with id 0x00.
Then I've replaced tabHost method with following
inline fun ViewManager.tabHost1(theme: Int = 0): android.widget.TabHost = tabHost1(theme) {}
inline fun ViewManager.tabHost1(theme: Int = 0, init: android.widget.TabHost.() -> Unit): android.widget.TabHost {
    return ankoView({ ctx: Context -> android.widget.TabHost(ctx, null) }, theme) { init() }
}

To call different constructor(TabHost(Context context, AttributeSet attrs)) of TabHost which will initialize mTabLayoutId property but constructor TabHost(Context context) doesn't do that. That would be helpful if you could integrate that.

I'm having the exact same issue, and having dug through the code a bit I came to the same conclusion. Have you found a solution for this in the meantime?
I think that using a ViewIndicatorStrategy would solve the problem, since it looks like that one does not use the mTabLayoutId property whereas Label/LabelAndIconIndiciatorStrategy do. But it would be much nicer if you could just pass in a string and a drawable instead of creating a custom view for this...

As you can see in my report - I've created two extension functions - tabHost1 and I'm using them instead original tabHost. I haven't try it for a while. Maybe it is fixed in latest version of Anko.

a year later seems is still the same, anko development is very abandoned

Can confirm, I am also running into this issue, It does seem to be resolved by replacing the tabHost method with the ones from the original post.


Support for elasticsearch 8.2

Is your feature request related to a problem? Please describe.
Latest version of elasticsearch is 8.2 (As of early Jun 2022)
Does latest version of chewy work with elasticsearch 8.2 - even if in limited fashion ?
Describe the solution you'd like
Chewy works with elasticsearch 8.2
Describe alternatives you've considered
If not, I'll need to use elastic search 7.17
Additional context
https://www.elastic.co/guide/en/elasticsearch/reference/current/release-highlights.html

FWIW, official elasticsearch-ruby client seems to support 8.2
https://github.com/elastic/elasticsearch-ruby - so maybe chewy automatically works on elasticsearch 8.2 🤷♂

I have a fork experimenting with chewy on elasticsearch 8.6.0 here:
https://github.com/gabriel/chewy

Hmm, 9 months out from 8.X release, no news on support from this gem.  Any comments from any leads as to the status of support/health of this gem going forward?
Also @gabriel, what's the state of your fork?  In truth we are really only looking for the most basic operations (define an index schema, efficient insert, convenient query), nothing as fancy as the more automatic ORM-ish features.
Thanks for any info.

The fork works fine for me on 8.6.0. There changes to get it to work are pretty minor:
https://github.com/toptal/chewy/compare/master...gabriel:chewy:master

Hi @gabriel, any change you could create a pull request for the main repo to make it works with 8.x ?

It's a breaking change. Also, I'm not sure if there is some weird licensing stuff with 8.x.

Note: Elasticsearch 7 will be EOL　next month. (01 Aug 2023)

Hi, I'm the current maintainer for the Elasticsearch Ruby Client. I'd love to help supporting Elasticsearch 8.x on chewy.
Since chewy currently uses version 7.13 of  elasticsearch-ruby, enabling the compatibility mode could help when using Elasticsearch 8.x. This was added to elasticsearch-ruby in 7.13:

The Elasticsearch server version 8.0 is introducing a new compatibility mode that allows you a smoother upgrade experience from 7 to 8. In a nutshell, you can use the latest 7.x Elasticsearch client with an 8.x Elasticsearch server, giving more room to coordinate the upgrade of your codebase to the next major version.
If you want to leverage this functionality, please make sure that you are using the latest 7.x client and set the environment variable ELASTIC_CLIENT_APIVERSIONING to true. The client is handling the rest internally. For every 8.0 and beyond client, you’re all set! The compatibility mode is enabled by default.

This could be introduced as an option. The code in 7.13 is here. If say, version is added to the config file, chewy could check if it's 8 (as long as it's using elasticsearch-ruby 7.x) and add the following headers in that case:
'Accept' => 'application/vnd.elasticsearch+json; compatible-with=7',
'Content-Type' => 'application/vnd.elasticsearch+json; compatible-with=7'

Or that could be set up elsewhere in the code, like checking the version in the first request to Elasticsearch and set the headers if the client is on 7 and the server on 8.
If support for newer versions of elasticsearch-ruby were considered, chewy could potentially support both 7.x and 8.x by checking which one was installed and setting the class for Elastic::Transport and changing any code accordingly. A big advantage in the latest version of the 7.x branch is compatibility with both Faraday 1 and 2.

I'm not sure if there is some weird licensing stuff with 8.x.

elasticsearch-ruby is still released under the Apache License in 8.x.
Let me know if this is something that could be considered and how I can help. I can work on a Pull Request and/or continue @gabriel's work on the fork.

A big advantage in the latest version of the 7.x branch is compatibility with both Faraday 1 and 2.

Just saw this comment ... I think allowing any 7.x ES version from chewy 7.x would be a great stopgap here to be less restrictive on faraday, until chewy 8.x with full ES 8 support is ready. May open PR to this effect.

Chewy v8 alpha has been published :eyes:
https://github.com/toptal/chewy/releases/tag/v8.0.0-beta


Timemode appears to be broken

Timemode doesn't add time add when modules are solved.  I think this happened when the module IDs changed from numbers to letters.

this is invalid: time mode functions as normal, and adds time when modules are solved.

timemode is working as intended, the bug was caused by loading timemode while the bomb was loading. perhaps it's appropriate to consider a safeguard for this?

I would think so.  I'd call it a bug, just not the bug I thought it was.

Closed and a new issue has been raised that has a better title: "If you start a bomb in Normal Mode, then, before it's started immediately switch to Time Mode..."