Argo cronworkflow showing a finished workflow under Active Workflows

Summary
We have observed that cron jobs which should run every 5 minutes only start every 10, or 20 or sometimes even 30 minutes. The workflows itself finish in less than 5 minutes (please see logs below).
We also see a high CPU and memory usage of the workflow-controller pod and its log shows completed messages for many jobs at the wrong time.
We are using a relatively old argo version but we have not touched our configuration lately (but regularly added more and more workflows). The issue only happens in our Production environment where we are running 500+ jobs regularly. Some hundred each hour, some hundred every 3 hours and a few every 5 minutes.
From all the things I can see, I assume the workflow controller is not able to catch up with the amount of cronworkflows/workflows in our cluster and thus it detects too late that the workflow of the cronworkflow is not active any longer.
Maybe similar to https://github.com/argoproj/argo/issues/4174 ?
I'm open to upgrade our argo deployment to a recent argo version but I saw there are breaking changes in 2.10 and upgrading all environments including Production (where we see the issue) would take some effort on our side. So if someone is aware of any certain fix for our problem before we do the upgrade I'd be really glad.
Please let me know if you need any additional information.
Thank you.
Diagnostics
What Kubernetes provider are you using?
EKS 1.14
What version of Argo Workflows are you running?
v2.8.1
Logs of workflow-controller:
time="2020-10-01T09:25:02Z" level=info msg="extractor has 'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run"
time="2020-10-01T09:25:02Z" level=info msg="extractor2 has 'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run"
time="2020-10-01T09:25:02Z" level=info msg="extractor3 has 'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run"
time="2020-10-01T09:25:02Z" level=info msg="extractor4 has 'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run"
time="2020-10-01T09:25:02Z" level=info msg="extractor5 has 'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run"

Cronworkflow shows Active Workflow but it already finished 12 minutes ago:
user@pc:~ $ argo cron get extractor -n landing
Name:                          extractor
Namespace:                     landing
Created:                       Fri Sep 25 09:15:38 +0200 (6 days ago)
Schedule:                      */5 * * * *
Suspended:                     false
StartingDeadlineSeconds:       0
ConcurrencyPolicy:             Forbid
LastScheduledTime:             Thu Oct 01 10:31:29 +0200 (15 minutes ago)
Active Workflows:              extractor-8hcfx

user@pc:~ $ argo get extractor-8hcfx -n landing
Name:                extractor-8hcfx
Namespace:           landing
ServiceAccount:      argo
Status:              Succeeded
Conditions:
 Completed           True
Created:             Thu Oct 01 10:31:29 +0200 (15 minutes ago)
Started:             Thu Oct 01 10:31:51 +0200 (15 minutes ago)
Finished:            Thu Oct 01 10:34:11 +0200 (12 minutes ago)
Duration:            2 minutes 20 seconds

STEP                                    TEMPLATE                              PODNAME                                  DURATION  MESSAGE
 ✔ extractor-8hcfx        	extractor-dag-name
 └-✔ extractor-s-task     	extractor-s-template     		extractor-8hcfx-1765851555  			2m

 ✔ extractor-8hcfx.onExit  	extractor-exit-template
 └---○ extractor-e-step    	extractor-e-template                                                        			when 'Succeeded != Succeeded' evaluated false

High CPU and memory usage of workflow-controller pod observable:
user@pc:~ $ kubectl top pod -A
NAMESPACE         NAME                                                     CPU(cores)   MEMORY(bytes)
argo              argo-server-ff6f7f779-5wk2b                              1m           37Mi
argo              workflow-controller-5d689bd947-b8qmx                     3705m        10031Mi

workflow-controller has many events like these which should not appear at that point in time because the job ran 3 hours ago:
time="2020-10-01T09:38:07Z" level=warning msg="Workflow 's-log-8ctpp' from CronWorkflow 's-log' completed"
time="2020-10-01T09:38:07Z" level=info msg="Enforcing history limit for 's-log'"
time="2020-10-01T09:38:07Z" level=warning msg="Workflow 's-dm-dr5mj' from CronWorkflow 's-dm' completed"
time="2020-10-01T09:38:07Z" level=info msg="Enforcing history limit for 's-dm'"
time="2020-10-01T09:38:08Z" level=warning msg="Workflow 's-sup-mcsgs' from CronWorkflow 's-sup' completed"
time="2020-10-01T09:38:08Z" level=info msg="Enforcing history limit for 's-sup'"

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

I did a restart of the argo deployments to rule out a memory leak issue and just after a few minutes the memory of the workflow-controlller was again at 13GB.
I also managed to get the end of the logs for the job in question:
time="2020-10-01T12:41:10Z" level=info msg="Checking daemoned children of extractor-vvfd7-2002148658" namespace=landing workflow=extractor-vvfd7
time="2020-10-01T12:41:10Z" level=info msg="Updated phase Running -> Succeeded" namespace=landing workflow=extractor-vvfd7
time="2020-10-01T12:41:10Z" level=info msg="Marking workflow completed" namespace=landing workflow=extractor-vvfd7
time="2020-10-01T12:41:10Z" level=info msg="Checking daemoned children of " namespace=landing workflow=extractor-vvfd7
time="2020-10-01T12:41:10Z" level=info msg="Workflow update successful" namespace=landing phase=Succeeded resourceVersion=249079700 workflow=extractor-vvfd7
time="2020-10-01T12:41:11Z" level=info msg="Labeled pod landing/zextractor-vvfd7-804352055 completed"
time="2020-10-01T13:00:13Z" level=warning msg="Workflow 'extractor-vvfd7' from CronWorkflow 'extractor' completed"

client@pc:~ $ argo get extractor-vvfd7 -n landing
Name:                wal-extractor-vvfd7
Namespace:           landing
ServiceAccount:      argo
Status:              Succeeded
Conditions:
 Completed           True
Created:             Thu Oct 01 14:40:02 +0200 (1 minute ago)
Started:             Thu Oct 01 14:40:02 +0200 (1 minute ago)
Finished:            Thu Oct 01 14:41:10 +0200 (13 seconds ago)
Duration:            1 minute 8 seconds

So in the example above the Active Workflows reference in the cronworkflow disappeared 13:00. What is the argo workflow doing between the second last and last action/event?

What version of Argo Workflows are you running?
v2.8.1

I suspect behavior like this is fixed by #3272, #3883, and $4172.
Can you find the string failed to update CronWorkflow anywhere in your logs?

@simster7  I don't see 'failed to update CronWorkflow' string in logs. Could you please elaborate on why there should be sudden CPU spikes ? As I mentioned in my case , CPU spiked from 30 millicores to 1 core in just couple of minutes and jobs started behaving weird after that event and average cpu usage of workflowcontroller pods is not more than 50 millicores

Hi @simster7,
thank you for the reply.
Yes I do find those strings in our logs for the affected jobs but also for others:
time="2020-10-02T07:13:46Z" level=warning msg="Workflow 'extractor-fjmvs' from CronWorkflow 'extractor' completed"
time="2020-10-02T07:13:46Z" level=info msg="Enforcing history limit for 'extractor'"
time="2020-10-02T07:13:47Z" level=info msg="Deleted Workflow 'extractor-fjmvs' due to CronWorkflow 'extractor' history limit"

time="2020-10-02T07:17:54Z" level=warning msg="Workflow 'extractor-bb4mm' from CronWorkflow 'extractor' completed"
time="2020-10-02T07:17:54Z" level=info msg="Enforcing history limit for 'extractor'"
time="2020-10-02T07:17:55Z" level=warning msg="Workflow 'landing/extractor-fjmvs' no longer exists"

time="2020-10-02T07:19:12Z" level=warning msg="Workflow 'extractor-8pz6m' from CronWorkflow 'extractor' completed"
time="2020-10-02T07:19:12Z" level=error msg="Unable to update CronWorkflow 'extractor': failed to update CronWorkflow: Operation cannot be fulfilled on cronworkflows.argoproj.io "extractor": the object has been modified; please apply your changes to the latest version and try again""
time="2020-10-02T07:19:12Z" level=info msg="Enforcing history limit for 'extractor'"

time="2020-10-02T07:19:35Z" level=warning msg="Workflow 'extractor-cd85w' from CronWorkflow 'extractor' completed"
time="2020-10-02T07:19:35Z" level=error msg="Unable to update CronWorkflow 'extractor': failed to update CronWorkflow: Operation cannot be fulfilled on cronworkflows.argoproj.io "extractor": the object has been modified; please apply your changes to the latest version and try again"
time="2020-10-02T07:19:35Z" level=info msg="Enforcing history limit for 'extractor'"

time="2020-10-02T07:20:00Z" level=info msg="Running extractor"
time="2020-10-02T07:20:01Z" level=info msg="Processing workflow" namespace=landing workflow=extractor-5qg5f"
time="2020-10-02T07:20:01Z" level=info msg="Updated phase  -> Running" namespace=landing workflow=zoobrain-wal-extractor-5qg5f"
time="2020-10-02T07:20:01Z" level=error msg="failed to update CronWorkflow: Operation cannot be fulfilled on cronworkflows.argoproj.io "extractor": the object has been modified; please apply your changes to the latest version and try again"

So these would be fixed by upgrading our argo version?
Are these errors leading to retries and thus delaying the completion of the workflow? Or how would they explain what we see in our environment?

@dertodestod @Sushant20 I would recommend waiting until 2.11.2 is released (which will include #4172, a crucial part of this fix) and upgrading to it to fix this issue.

Are these errors leading to retries and thus delaying the completion of the workflow? Or how would they explain what we see in our environment?

These errors are an indication that the CronWorkflow CRD is not being persisted correctly. For example, when the controller tries to remove a workflow from the active list, and then tries to persist its modification, the operation fails and the CRD with the incorrect active list remains.

Could you please elaborate on why there should be sudden CPU spikes ?

I can't think of a reason as to why the persistence issue would cause CPU spikes, but if the spikes happen around a time when you have many CronWorkflows scheduled to run (such as on a new minute), then it would make sense that there is a CPU spike around that time.

@simster7  We are now observing similar behaviour in another environment.
Here are the series of events:

CPU spikes from 30 millicores to 1 cores in just 5 mins and it continues till issue is resolved. Our max CPU usage even is not more than 50 millicores in last 3 days so I don't think that large number of workflows is causing CPU spikes. There is something else happening in workflow controller pod , which is causing sudden increase in CPU..

'ConcurrencyPolicy: Forbid' and has an active Workflow so it was not run' error in logs

As per logs, workflow update to 'Successful' is done however workflow yaml shows status as Active
Also, even after deploying sample cron yaml, it wasn't working as per schedule however manual trigger of job works.
In summary, entire Argo cron scheduler fails, seems like unknown bug.
I had to specifically remove the status section from workflow YAML and restart the workflow controller pod to stabilize the argo scheduler. CPU usage comes to normal after issue is resolved
Could you please let us know the ETA for 2.11.2 release?

@simster7

These errors are an indication that the CronWorkflow CRD is not being persisted correctly. For example, when the controller tries to remove a workflow from the active list, and then tries to persist its modification, the operation fails and the CRD with the incorrect active list remains.

But at some point this persist operation is successful, right? If not then I would expect the incorrect active list to stay that way forever. So what decides if the action fails or is successful (which seems to happen in our case after 20-30 minutes).

I will work to release 2.11.2 either today or tomorrow. However, I can get you guys an experimental dev build as soon as this morning if you guys would like to test what the release tomorrow would be like. Let me know if you'd like this.
@Sushant20 Let's first check if 2.11.2 fixes the CPU/consistency issues, if not we can treat that separately and start an investigation. However, if we cannot reproduce the issue reliably, it will be difficult to diagnose.

But at some point this persist operation is successful, right? If not then I would expect the incorrect active list to stay that way forever. So what decides if the action fails or is successful (which seems to happen in our case after 20-30 minutes)?

@dertodestod Yes, what I believe happens is that we then kick off our "conflict resolution" code that attempts to resolve the differences needed to allow the CRD to be persisted. My hypothesis is that this conflict resolution doesn't deal with removals (i.e. the removal of the workflow from the Active list) correctly, and then successfully persists the object with the removal in place.

I will work to release 2.11.2 either today or tomorrow. However, I can get you guys an experimental dev build as soon as this morning if you guys would like to test what the release tomorrow would be like. Let me know if you'd like this.

@simster7
From my side it's ok to wait a few more days for the fix as we would anyways need some time to plan and rollout the change on our environments.

@simster7  It is okay to wait for few more days, would prefer tested version(2.11.2) from your end because we also need to run new version initially in non production environment. By any chance, will upgrading from 2.9.5 to 2.11.2 be  breaking change as per your view?

Simon is away at the moment. We were concerned we might see breakage in v2.10, but we did not. However, we did in v2.11.0. Can I suggest you try v2.11.3 which has as significant performance improvement as well as mitigation for breakage.
I would not expect to see the controller more than 1-2g of memory.

@dertodestod @Sushant20 can you guys confirm if upgrading fixed the issues?

Will close this unless the issue persists. If so, please let me know and I'll reopen the issue

Thank you for the update and potential fix(es) @simster7. We did not yet manage to upgrade due to time constraints and as the situation improved somewhat on its own (the cron jobs start now every 5-15 minutes). We will let you know in case the upgrade is not fixing the issue. Thanks again.

@simster7  We did upgrade to 2.11.4 and haven't seen issues till now. It's hard to replicate the issue because we don't know what caused it in the first place.


UPDATED: Maintenance year

It's 2017, not 2016.

Before merging this PR we should update the LICENSE and README files as well...

@Potherca will fix those with this PR as well. Give me a second or two.

This is still pending @Potherca ;)

It must have fallen of my todo list :crying_cat_face:.
Thanks for the ping!


Python version issue

wandb --version && python --version && uname
wandb, version 0.8.36
Python 2.7.16
Darwin (MacOS 10.15.5)
Description
When I run wandb agent my-sweep-id, it fails.
The problem seems to be that it tries to use python (which is 2.7), and I want to use python3:
$ python3 --version
Python 3.7.6

How can I specify the correct python version so that it uses python3 instead of python?

Hi there, please specify python3 in your sweep YAML file:
https://docs.wandb.com/sweeps/faq#sweep-with-custom-commands


Issue with CRO/FER pair when obtaining LP tokens

Active links to add liquidity in exchange from CRO-FER-LP does not exist instead generate FER/CRO pair instead

Issue update:
It would appear this issue could be related to a stale branch not receiving active updates. The clickable item in the farm selected was for the CRO-FER pair in which we are only rendered FER/CRO so it could have been an outdated post in the capacity has expired.
An example of this type of problem can sometimes be displayed when viewing the latest IGOs; in which once selected the actual asset is no longer available as its a time-sensitive offering.


Add BinaryEdge API

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

@marekdano Thank you for your suggestions. I've commited these suggestions, could you please check if it's ok?


Appstudio update hacbs-test-project-cmas

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-cmas-on-pull-request-
creating pipelinerun hacbs-test-project-cmas-on-pull-request- in namespace rhtap-demo-qzbl-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


SDRPlay API 3.01 support

It would add dual tuner support for RSP Duo.
The 3.01 API is avaliable on open beta.

It already exists here: https://www.sdrplay.com/community/viewtopic.php?f=9&t=4179&p=13884 needs testing

Direct GitHub link: https://github.com/fventuri/SoapySDRPlay3

@SDRplay  Not to mention v3.0 would likely be needed to support SDRPlayDx also...

I built the SoapySDRPlay3 module and tried it on my ubuntu 19.04.
I built the last SoapySDR and Cubic SDR.
I connected my RSPduo, started CubicSDR, RSP was detected.
I started a with Tuner 1 50 ohms, it works fine.
Then I started a second instance of cubicsdr at the same time, but this time it didn't detects RSPDuo to let me use second tuner.
Let me know if you need some more tests.

Here commands from SoapyUtil, the probe seems to have issue:
$ SoapySDRUtil --find
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Found device 0
driver = sdrplay3
label = SDRplay3 Dev0 RSPduo 1809029C32
$ SoapySDRUtil --probe="driver=sdrplay3"
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device driver=sdrplay3
Error probing device: map::at

I haven't performed a review of the SoapySDRPlay code for the API 3.01, but before the slave stream can be started, the first stream needs to be put into master mode. If it is still in single tuner mode (the default) then the API will not allow the 2nd stream to start. It will also not allow the 2nd stream to be seen as available.
@vsonnier how to handle the API 3.x here? Another branch? Once this is setup and the initial code from Franko is here, it will be easier to review and maintain.
In the next couple of weeks I'll have an updated version of the API to support the RSPdx as well as some bug fixes including the high sample rate issue that was around from some time ago.
I won't be able to make a lot of the SoapySDRPlay changes myself, but I'll be active on here and will help where I can.
Andy.

It's not as simple as always starting the first instance as the master. In master mode, Low-IF is only possible and so therefore only 2 MHz of bandwidth. So what we do in SDRuno is to always start in single tuner mode, but have a switch to allow the changing of the first instance into master mode. Then the 2nd instance would automatically start in slave mode. Then there is dual tuner mode, where both tuners are controlled by the same instance. I guess this could all be handled by a mode option in the device selection panel.
Whichever instance is using tuner 1 will still be able to switch between the HiZ port and port A in master/slave mode.
Also, the newly announced RSPdx will only be supported in API 3.x - the aim will be to transition all library support over to API 3.x so @guruofquality does it make sense to have the API 3.x version as a branch or a new library for now? Whichever way you want to support it is fine with me.

I've had a look at the SoapySDRPlay3 library and can see why it's not working. Low-IF mode in particular doesn't work like it did in API 2.x, it's easier now. I'll try to find some time to make some changes if @guruofquality can give some guidance on where the library should be maintained.
Andy.

Vincent,
no problem with me with putting SoapySDRPlay3 under the Pothosware banner (I think the could should already have the correct license).
Feel free to contact me if you any questions about the code itself.
Franco

On November 6, 2019 at 3:02 PM Vincent Sonnier<EMAIL_ADDRESS>wrote:
Thanks @SDRplay https://github.com/SDRplay , we'll need to think of the use cases there for master/slave situation.

Instead of using manual switches the Module could auto-detect the current master/slave mode at initialization and expose settings accordingly, something like:

    * First Cubic instance => master mode, expose settings relevant to master (all ?), display device as "Duo Master" ot whatever.
    * Second Cubic instance starting => slave mode, only expose settings relevant to slave w.r.t master already started ( for instance, no antenna switch option ?) , display device as "Duo Slave" or whatever.

That's cool, but what happens when either the Cubic master or slave is closed, what are the changes to be reflected on the remaining instance ?.... If the Master remains, nothing change I suppose.
If the Slave remains, would it turns silent, or continue streaming ?...etc.

Maybe the simpler way for the user is to use a manual switch procedure carefully explained in the Readme.

For developpement, it would take some time coming to the point of v3.0 could replace v2.0 completely (support of all devices on all platfoms OK) and adding a v3.0 module as a separate repository (@fventuri https://github.com/fventuri SoapySDRPlay3) and keeping the v2.0 alongside it (today SoapySDRPlay) would be wise.

If @fventuri https://github.com/fventuri and @guruofquality https://github.com/guruofquality agree of puting SoapySDRPlay3 as a new module under the Pothosware banner, that is.

Alas I'm not as involved in the SDR hobby as before and I probably won't contribute myself, but I could take some time to test on RSP2 / Windows10 side of things when the time comes.

Of course, the main audience would be Linux / MacOS for such modules but I can't help in that regard.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/pothosware/SoapySDRPlay/issues/58?email_source=notifications&email_token=AAKTH64QSHQUTSGT4G7O3OLQSMPFRA5CNFSM4JADTU62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHZ5DA#issuecomment-550477452 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKTH6ZI4URACFDRX2Y2I5DQSMPFRANCNFSM4JADTU6Q .

If the v3 api can support everything, then we really dont need a new project like SoapySDRPlay3 right? I would just tag the current SoapySDRPlay and tell anyone if they need to use the v2 api to check out the tag. And make the v3 support the master branch. The goal is to switch over to the v3 api entirely, right?

Yes @guruofquality, API 3.x can support all RSPs and is necessary for full RSPduo support and also to support the RSPdx - for now though, the default build that people find should be API 2.x - in the next few weeks I'll get the API 3.x builds for Linux/x86, MacOS and ARM released and will also look at the SoapySDRPlay code to support it. When the API 3.x version of SoapySDRPlay has been tested and proven to work well, then it should become the master.

I've setup api3 branch, based on @fventuri repo - I've fixed the RSPduo probe and added basic RSPdx functionality.
There is still work to do - I will try to do more when I can, but if anyone can help that would be appreciated. The RSPduo master/slave and dual tuner functionality needs more work. Also, adding RSPdx HDR mode.

Issue remains the same with the new api3 branch + last api 3.06.
I connect my RSPduo, started CubicSDR, RSPDuo was detected.
$ SoapySDRUtil --find driver=sdrplay give this output:
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Found device 0
driver = sdrPlay
label = SDRplay Dev0 RSPduo 1809XXXXXX
Here is the probe command:
$ SoapySDRUtil --probe driver=sdrplay
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device
[INFO] devIdx: 0
[INFO] hwVer: 3
[INFO] mode: 1

-- Device identification
driver=SDRplay
hardware=1809XXXXXX
sdrplay_api_api_version=3.060000
sdrplay_api_hw_version=3

-- Peripheral summary
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* RSP Duo Mode - RSP Duo Mode
[key=rspduo_mode, default=Tuner A (Single Tuner), type=string, options=(Tuner A (Single Tuner), Tuner A (Master/Slave), Tuner B (Single Tuner), Tuner B (Master/Slave), Dual Tuner)]
* RF Gain Select - RF Gain Select
[key=rfgain_sel, default=4, type=string, options=(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)]
* IF Mode - IF frequency in kHz
[key=if_mode, default=1620kHz, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]
* IQ Correction - IQ Correction Control
[key=iqcorr_ctrl, default=true, type=bool]
* AGC Setpoint - AGC Setpoint (dBfs)
[key=agc_setpoint, default=-30, type=int, range=[-60, 0]]
* ExtRef Enable - External Reference Control
[key=extref_ctrl, default=true, type=bool]
* BiasT Enable - BiasT Control
[key=biasT_ctrl, default=true, type=bool]
* RfNotch Enable - RF Notch Filter Control
[key=rfnotch_ctrl, default=true, type=bool]
* DabNotch Enable - DAB Notch Filter Control
[key=dabnotch_ctrl, default=true, type=bool]

-- RX Channel 0
Full-duplex: NO
Supports AGC: YES
Stream formats: CS16, CF32
Native format: CS16 [full-scale=32767]
Antennas: Tuner 1 50 ohm, Tuner 2 50 ohm, Tuner 1 Hi-Z
Corrections: DC removal
Full gain range: [0, 48] dB
IFGR gain range: [20, 59] dB
RFGR gain range: [0, 9] dB
Full freq range: [0.001, 2000] MHz
RF freq range: [0.001, 2000] MHz
CORR freq range:  MHz
Sample rates: 0.25, 0.5, 1, 2, 2.048, 6, 7, 8, 9, 10 MSps
Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz
Then I start with Tuner 1 50 ohms. Everything is ok.
Last I start a second instance of cubicsdr at the same time, but this time it didn't detects RSPDuo.
on command line wile first cubicsdr instance is running I can make
$ SoapySDRUtil --probe="driver=sdrplay"
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device driver=sdrplay
Error probing device: SoapySDR::Device::make() no match
The service API is running too:
$ ps ax | grep sdr
1468 ?           Sl     0:47 /usr/local/bin/sdrplay_apiService
13509 pts/1    S+     0:00 grep --color=auto sdr
How can I change tuner mode in order to use the dual tuner mode ?

This is not an "issue" as such - this branch is a work in progress. As I said above...

There is still work to do - I will try to do more when I can, but if anyone can help that would be appreciated. The RSPduo master/slave and dual tuner functionality needs more work. Also, adding RSPdx HDR mode.

The master/slave functionality isn't working - I will try to get to it when I can, but if anyone else is able to make the changes that would be great.
Master mode requires either 6 or 8 MHz sample rate, IF = 1.620 MHz and BW = 1.536 MHz. 6 MHz is the standard mode, 8 MHz is really only to be used to be compatible with dump1090 which also can be run in master/slave mode.
Dual tuner mode hasn't been implemented - I'm not sure whether the SoapySDR framework or SoapySDR compatible applications can support two IQ streams? Maybe one for @guruofquality

Sorry I red too fast. I was too excited to try it ;-)
On the SoapyUtil --probe command we see 1 RX channel whereas there is actually 2 tuners.
It would perhaps do it for 2 iq streams to add a 2nd RX channel ?
it's just a reflection, i don't know if it can work that way.

Yes this why it needs some work. Currently it is set up in single tuner mode so that's why it reports 1. However the device can be queried and 2 can be reported IF the master tuner hasn't already been started.
If no one gets to this then I will do it, it's just a matter of when I'll be able to.

I made a fork under my account and created a branch called 'RSPduo_fixes' (https://github.com/fventuri/SoapySDRPlay/tree/RSPduo_fixes).
I cleaned up a couple of warnings during compile and I also straightened up the code for the RSPduo mode/tunes and antennas (hopefully).
I tested my changes this afternoon using 'SoapySDRUtil' with the following commands:
SoapySDRUtil --probe="driver=sdrPlay, rspduo_mode=Tuner A (Single Tuner)"
SoapySDRUtil --probe="driver=sdrPlay, rspduo_mode=Tuner B (Single Tuner)"
SoapySDRUtil --probe="driver=sdrPlay, rspduo_mode=Tuner A (Master/Slave)"
SoapySDRUtil --probe="driver=sdrPlay, rspduo_mode=Tuner B (Master/Slave)"
SoapySDRUtil --probe="driver=sdrPlay, rspduo_mode=Dual Tuner"
and in each case 'SoapySDRUtil' returned what I expected (including 2 RX channels in the last case with 'Dual Tuner').
Please give it a try and if it looks OK to you, I'll go ahead and send a pull request.
Franco


Make sure that a faculty can't be taking multiple subjects in same time on validation

Check this instance:
        {
            "course": {
                "name": "GRAPH THEORY AND ALGORITHMS",
                "code": "MA60041",
                "credits": 4
            },
            "slot": {
                "time": {
                    "day": "Monday",
                    "time": "12 PM"
                },
                "slot": "D4"
            },
            "rooms": [
                "NR223"
            ]
        },
        {
            "course": {
                "name": "GRAPH THEORY AND ALGORITHMS",
                "code": "MA61003",
                "credits": 4
            },
            "slot": {
                "time": {
                    "day": "Monday",
                    "time": "12 PM"
                },
                "slot": "D4"
            },
            "rooms": [
                "NR223"
            ]
        }
    ],

Here, MA60041 and MA61003 appears to be different but, under the same name GRAPH THEORY AND ALGORITHMS, same time 12 PM. Write validation conditions for such cases. @kshitij10496 WDYT?

This is actually not a bug. What this duplication means is that a particular course has multiple course codes.

A validation should be there, no? Say wimp uses hercules for the data. It confuses the app as a faculty can't take multiple subjects at the same time. How can I particular course have multiple course codes. One of them should be outdated, no?

How can I particular course have multiple course codes.

Basically, different course codes refer to the academic batch registered for the course.
For example, my batch uses the course code "MA51121" for this particular course while the 2 years M.Sc use a different one. Essentially, the mapping between a course and course codes is one-to-many. In order to port this to wimp, we can simply iterate over the list of course and fetch only the rooms and do not bother with the course details.


feat: Add Insight Links

Insight links can be attached to an Insight, and appear in the sidebar (or infobar) and link to external sites.  Links can optionally have a name which is displayed, or a group which is used to categorize and group links.

Links are editable in the Metadata tab of the Insight Editor, or they can be managed directly in the insight.yml file.

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


Usage example in README includes a tests reference

In the usage example in the README, it says the following:
// Initializing CoreDataDefaultStorage
func coreDataStorage() -> CoreDataDefaultStorage {
    let store = CoreData.Store.Named("db")
    let bundle = NSBundle(forClass: CoreDataDefaultStorageTests.classForCoder())
    let model = CoreData.ObjectModel.Merged([bundle])
    let defaultStorage = try! CoreDataDefaultStorage(store: store, model: model)
    return defaultStorage
}

It refers to CoreDataDefaultStorageTests which is not part of the actual library and would not be available if installed from Cocoapods.

This is resolved now.


how to create rtmps

https://github.com/dougsillars/browserLiveStream/blob/master/server.js#L39
regex only accepts RTMP.  Fix the Regex (add the s) and you're good to go.


Configuration 'proxy.conf.json' could not be found

Category: Bug
Severity: Low
Expected behaviour: Frontend should start when running npm start.
Actual/current behaviour: Frontend start fails with error message Configuration 'proxy.conf.json' could not be found in project 'my-thai-star'.
Steps to reproduce: Clone repo, cd into angular project directory, run npm install and follow up with npm start.
Description of issue/expected enhacement/Comments:
Angular CLI v6 now follows the more standardized option for parsing CLI arguments: -pc is now the equivalent of -p -c and not --proxy-config.
Change ng serve --pc proxy.conf.json -o to ng serve --proxy-config proxy.conf.json -o.
See angular/angular-cli#9999 for further details.

Hi @denniseffing, the issue is fixed.


Be able to query Office 365 license expiry date via PowerShell

We want to be able to pull license expiry reports via other tools to keep our expiry reports consistent (IT Glue in this case). I can query many things by Office365 PowerShell module, including the license types, but I cannot query the dates in which these expire.
Why does this ability not exist? Can we get that exposed as part of the Office 365 powershell commandlets?

Thank you for the feedback. We will follow up very soon.

Denise,
Thanks very much. I look forward to your follow up. I have forwarded your response to my work account as well (where this email is coming from now) and that would be probably the best account to get a hold of me on.
If there are any questions as to the value of being able to pull this expiry information, I would like to show you what I’m trying to do and why this is very important to us. We have partner dashboard and emails coming at us when license groups/skus are expiring for customers, but I’m trying to build a one single pane “License Expiry” area for all of our clients in our documentation tool IT Glue.
Some great people from GCITS (https://gcits.com/knowledge-base/sync-office-365-tenant-info-itglue/), created and shared a great PowerShell script that allows folks to be able to populate IT Glue with a client’s Office 365 tenant information. I have put that to use here a PC Corp. However, I noticed the that expiry date for each SKU is not something that the Office Online PowerShell commands allow us to query, so I can’t use that in conjunction with this script. This would be very valuable as it would allow us to create workflows and then automatically send off these expiry notices to internal sales to get quotes, since they don’t have regular access to our Office 365 client dashboards. Sure, there are ways to make this happen with Office 365 alone, but we want to be doing all license expiries through IT Glue for consistency.
I have built something very similar to the Office 365 tenant information script for Meraki devices, which allow us to query license state and expiry. I am desperately hoping that this is something that the Microsoft Online team will consider and implement.
Thanks,
<EMAIL_ADDRESS>  PC CORP.COM<EMAIL_ADDRESS>Jonathan Fessler  |  Managed Services Lead  |  PC Corp
P<PHONE_NUMBER> | D<PHONE_NUMBER> | jonathanf<EMAIL_ADDRESS>9947 109 Street  |  Edmonton, AB Canada  |  T5K 1H6
PC Corp ServiceDesk: ServiceDesk<EMAIL_ADDRESS>Client Portal: Login Herehttps://ww5.autotask.net/ClientPortal/login.aspx?ci=500676
[Description: Description: Description<EMAIL_ADDRESS>Print less and make this Earth a better place to live.
From: jono fezz<EMAIL_ADDRESS>Sent: May 7, 2018 11:48 AM
To: Jonathan Fessler<EMAIL_ADDRESS>Subject: FW: [MicrosoftDocs/OfficeDocs-Enterprise] Be able to query Office 365 license expiry date via PowerShell (#40)
From: Denise Vangel-MSFT <notifications<EMAIL_ADDRESS>Sent: May 3, 2018 6:56 PM
To: MicrosoftDocs/OfficeDocs-Enterprise <OfficeDocs-Enterprise<EMAIL_ADDRESS>Cc: jonofezz <thefezz<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] Be able to query Office 365 license expiry date via PowerShell (#40)
Thank you for the feedback. We will follow up very soon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F40%23issuecomment-386480041&data=02|01||0e0747c4ae8641192dd408d5b159ebcc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636609922117299101&sdata=emqoSs0vZkCooqi92LojiI55dpDDHU2Nwv1InLDqxOo%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAk4V6VaTCCd-oLhsWdPM1LvxeXMVZ2ZSks5tu6c7gaJpZM4TgolR&data=02|01||0e0747c4ae8641192dd408d5b159ebcc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636609922117299101&sdata=0X7szsukk4hJPyxhxPMBoovTGvyXcAierfZ4QIsGI1U%3D&reserved=0.

Hi junofez, The best way to request this addition is through the User Voice page at https://office365.uservoice.com/forums/273493-office-365-admin. In your request, mention you want this addition to the Get-AzureADUserLicenseDetail cmdlet. The cmdlets that have "msol" in their names are being replaced over time with the new Azure AD PowerShell for Graph module. See https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0 for more information. Joe

Ok thanks. I actually submitted there also on April 23. https://office365.uservoice.com/forums/273493-office-365-admin/suggestions/34040396-be-able-to-query-office-365-license-expiry-date-vi
I’ll update it with the info you suggest.
From: Joe Davies<EMAIL_ADDRESS>Sent: May 8, 2018 9:41 AM
To: MicrosoftDocs/OfficeDocs-Enterprise<EMAIL_ADDRESS>Cc: jonofezz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] Be able to query Office 365 license expiry date via PowerShell (#40)
Hi junofez, The best way to request this addition is through the User Voice page at https://office365.uservoice.com/forums/273493-office-365-adminhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Foffice365.uservoice.com%2Fforums%2F273493-office-365-admin&data=02|01||764d27c355f8491e4cc208d5b4fa23bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636613908802036062&sdata=AVd4QgqrX1ghl%2FjCcNN4hs5oYvRAL%2Be13WcnyM%2FqI5A%3D&reserved=0. In your request, mention you want this addition to the Get-AzureADUserLicenseDetail cmdlet. The cmdlets that have "msol" in their names are being replaced over time with the new Azure AD PowerShell for Graph module. See https://docs.microsoft.com/en-us/powershell/azure/active-directory/install-adv2?view=azureadps-2.0https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fazure%2Factive-directory%2Finstall-adv2%3Fview%3Dazureadps-2.0&data=02|01||764d27c355f8491e4cc208d5b4fa23bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636613908802036062&sdata=gAzWb8zHwUkx3nN1%2F%2BuOdrE6hC4ZcWuK2pUJI2qk30M%3D&reserved=0 for more information. Joe
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-Enterprise%2Fissues%2F40%23issuecomment-387446955&data=02|01||764d27c355f8491e4cc208d5b4fa23bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636613908802036062&sdata=j2iB%2BumVjHop0khfhFU%2FQnpgyLEg3kQpAF8LBSVCTTM%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAk4V6Y0D2jcyhqACCxob-bFROjIf2HFJks5twbyWgaJpZM4TgolR&data=02|01||764d27c355f8491e4cc208d5b4fa23bc|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636613908802192309&sdata=zWPapxMTQe2Z5aJCJqDztzPoD6APi%2B%2FPPatcFKZQqnk%3D&reserved=0.


Make singleton over MutinyWallet

Should make the singleton more user friendly, instead of getting an error it'll just give you the currently instantiated one.
Problem with this is that if you tried to initiate with a different configuration you would get the same wallet back. Also have to impl send and sync which I am not totally sure is going to work.

Are we hitting this error? Because if we are, we should fix the root cause.

Are we hitting this error? Because if we are, we should fix the root cause.

I am not sure


Add hibernate functionality

Hi,
Following PR is adding the Hibernate (save to disk) functionality.
I have tested it on my local instance and it works fine.
If you have any suggestions please let me know!

Can you point out where this is documented to verify the implication across the various versions of Proxmox?

Sure, it's documented under the suspend option as "todisk":
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/status/suspend[](url)

Sure, it's documented under the suspend option as "todisk":
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/status/suspend

Let's move on to add that.
Please can you update the branch to the latest version and add key_translate and entity name in strings.json and translations/en.json.

Done. You can review the changes I have made.

Thanks @padawarmik!


Added my data

added my data and join the Contributors

Congrats 🎉, your PR got merged. To be eligible for the swags from iNeuron X ClueLess. Follow these steps.

SignIn / SignUp in ClueLess Website

Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends. @AsmaKacem1

https://www.clueless.tech/profile/admin/73066984
@nikhil25803


feat: add compartment info from deeploc2 prediction

Main improvements in this PR:

compartment information is added as discussed in #436

subcellular locations of metabolic genes were predicted using DeepLoc2 using the default parameter
compartment info for genes which doesn't have localization annotation as in pull request #437 were combined and integrated into genes.tsv with compDataSource was denoted as DeepLoc2

I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Selected develop as a target branch

Note: replace [ ] with [X] to check the box. PLEASE DELETE THIS LINE

very good!

Then those corresponding rxns should involve both extracellular and cytosol metabolites?

Then those corresponding rxns should involve both extracellular and cytosol metabolites?

do you mean the enzymes are potential transporters?

Then those corresponding rxns should involve both extracellular and cytosol metabolites?

do you mean the enzymes are potential transporters?

Could be but not necessarily. It could functions as to degrade extracellular metabolites into extracellular molecules that can be transported into cytosol, or just perform cytosol conversions. So I say when the protein is annotated to cell membrane, so either cytosol or extracellular compartment for metabolites in the corresponding rxns should be ok.


Copy implementations

This would help us with https://github.com/gfx-rs/gfx/issues/1226
If you find this too intrusive, we can make a copy feature for those extra derives.

This change is

@MaikKlein if that's indeed so heavy, we'll just box the device then.
Copy on the extents would still be useful, but it's not critical.

Actually, the problem is not just for storing VkDevice in the portability layer. The problem is that we have multiple things actually using a device:

Device
CommandBuffer
CommandQueue
DescriptorPool
CommandPool

So, naively, making a device non-copyable means I can't make those copyable.
A workaround could be to store the device by a raw mutable pointer in those dependent objects... eww

A workaround could be to store the device by a raw mutable pointer in those dependent objects... eww

I don't see another way. This is implemented now, closing.


Fix to make any error message show correctly

We need to escape any single quotes ' to make sure the JSON string which is written is valid

Welcome! Thank you for the tool, its really useful!


fix(registration): add UUID field to avoid duplicate registration attempts

fixes: https://github.com/openebs/openebs/issues/3323

@payes - could you update the PR with the tests conducted on this change. Like @utkarshmani1997 mentioned, how is the upgrade handled - if replicas are upgraded prior to controller, will there be any issues?

@payes - could you update the PR with the tests conducted on this change. Like @utkarshmani1997 mentioned, how is the upgrade handled - if replicas are upgraded prior to controller, will there be any issues?

Thanks, @utkarshmani1997 @kmova for reviewing the code.
The cloned replica also goes through the same process of adding to the controller, through the AddReplica() function.
Half upgraded setup also doesn't cause any problem. But still, I am adding a check for nil UUID.

Thanks, @utkarshmani1997 @kmova for reviewing the code.
The cloned replica also goes through the same process of adding to the controller, through the AddReplica() function.
Half upgraded setup also doesn't cause any problem. But still, I am adding a check for nil UUID.


git is also tracking /build directory

The problem
currently git also tracks the contents of /build directory in the source tree.
doing so would not only increase the overall download size of project ( adding useless clutter to the source code ) but also might cause bunch of un-necessary merge conflicts when working with multiple branches/forks ( each with their own built binaries )
Possible Fix
Add the contents of /build to .gitignore file along with cache and binary files generated by Cmake and GNU Make while building the project.

this can also be a good opportunity to add other files to .gitignore and let git ignore all the useless stuff other than what is necessary for the project. ( for example OS and editor generated files )


Swift 4.1 Support

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag alamofire.
Please remove this line and everything above it before submitting.

[ ] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
ℹ Please replace this with what you did.
What did you expect to happen?
ℹ Please replace this with what you expected to happen.
What happened instead?
ℹ Please replace this with of what happened instead.
Alamofire Environment
Alamofire version:
Xcode version:
Swift version:
Platform(s) running Alamofire:
macOS version running Xcode:
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.

Alamofire supports Swift 4.1 just fine right now, but I am working on a release to fix some tests and make it official. Also, in the future, please follow the issue template.

there isn't any problem with functionality of the Lib but there were one or two warnings after I updated xcode (swift 4.1) that I resolved by unlocking the file for now , don't remember exactly the line number but was something about weak var , can reDownload the Lib to check it out for you if you couldn't find it , by the way my project is currently built with swift 3 if that may cause this .


kairos-agent broke kairos upgrade-with-cli tests

https://github.com/kairos-io/kairos/commit/fe01043f6fd13fa572eef4dae07e2e069038c811/checks?check_suite_id=13760124369
https://github.com/kairos-io/kairos/actions/runs/5334073568/jobs/9666660717
We should not skip the test here so that we can see what went wrong:
https://github.com/kairos-io/kairos-agent/blob/f051fab7bc4ac5b90e6795c778f5488e64d106eb/internal/agent/upgrade.go#L131

After printing the skipped error, this is what I see:

This works:
localhost:~ # for p in $(ls /dev/disk/by-path/*); do lsblk --list --bytes $p; do
NAME MAJ:MIN RM       SIZE RO TYPE MOUNTPOINTS
sr0   11:0    1<PHONE_NUMBER>  0 rom  /run/initramfs/live
NAME MAJ:MIN RM       SIZE RO TYPE MOUNTPOINTS
sr0   11:0    1<PHONE_NUMBER>  0 rom  /run/initramfs/live
NAME MAJ:MIN RM       SIZE RO TYPE MOUNTPOINTS
sr1   11:1    1<PHONE_NUMBER>  0 rom
NAME MAJ:MIN RM       SIZE RO TYPE MOUNTPOINTS
sr1   11:1    1<PHONE_NUMBER>  0 rom
NAME MAJ:MIN RM        SIZE RO TYPE MOUNTPOINTS
vda  253:0    0<PHONE_NUMBER>0  0 disk
NAME MAJ:MIN RM        SIZE RO TYPE MOUNTPOINTS

this gets stuck:
localhost:~ # lsblk  /dev/disk/by-path/*

I don't know what's going on

By running strace lsblk /dev/disk/by-path/* 2>&1 | tee bad and comparing to strace lsblk /dev/disk/by-path/p* 2>&1 | tee good  (which works), it seems that the one that freezes falls in a loop and fails because this doesn't exist:
localhost:~ # ls /sys/dev/block/253\:0/device/type
ls: cannot access '/sys/dev/block/253:0/device/type': No such file or directory

Relevant strace output:
frozen:
openat(AT_FDCWD, "/sys/dev/block/253:0", O_RDONLY|O_CLOEXEC) = 3
openat(3, "ro", O_RDONLY|O_CLOEXEC)     = 4
fcntl(4, F_GETFL)                       = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(4, "0\n", 4096)                    = 2
close(4)                                = 0
openat(3, "device/type", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directt
ory)

working:
openat(AT_FDCWD, "/sys/dev/block/253:0", O_RDONLY|O_CLOEXEC) = 3
openat(3, "ro", O_RDONLY|O_CLOEXEC)     = 4
fcntl(4, F_GETFL)                       = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
read(4, "0\n", 4096)                    = 2
close(4)                                = 0
openat(3, "device/type", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directt
ory)

the working one, just looks for ro instead of device/type for some reason.

Maybe lsblk is not supposed to work with multiple file inputs (e.g. this bug might be relevant because it tries to access the same files in parallel?). The command freezes if issues like this too:
lsblk /dev/disk/by-path/pci-0000:00:05.0 /dev/disk/by-path/virtio-pci-0000:00:05.0

Probably because they both point to the same file:
localhost:~ # ls -liah /dev/disk/by-path/*
...
428 lrwxrwxrwx 1 root root 9 Jun 22 07:31 /dev/disk/by-path/pci-0000:00:05.0 -> ../../vda
427 lrwxrwxrwx 1 root root 9 Jun 22 07:31 /dev/disk/by-path/virtio-pci-0000:00:05.0 -> ../../vda

Maybe the command should issues one lsblk command per file and combine the output.

This for example has no issues:
lsblk --list --bytes $(readlink -f /dev/disk/by-path/* | uniq) -J

We can implement the readlink subcommand in golang if we don't want to shell out with such complicated commands.

ummm this works in an installed core-opensuse-master:
kairos@localhost:~> lsblk --list --bytes /dev/disk/by-path/*
NAME MAJ:MIN RM        SIZE RO TYPE MOUNTPOINTS
sr0   11:0    1<PHONE_NUMBER>  0 rom
sr1   11:1    1<PHONE_NUMBER>  0 rom
vda  253:0    0<PHONE_NUMBER>0  0 disk
vda1 253:1    0     1048576  0 part
vda2 253:2    0    67108864  0 part /oem
vda3 253:3    0<PHONE_NUMBER>  0 part
vda4 253:4    0<PHONE_NUMBER>0  0 part /run/initramfs/cos-state
vda5 253:5    0<PHONE_NUMBER>  0 part /var/lib/ca-certificates
                                    /usr/local/.state/usr-share-pki-trust.bind/anchors
                                    /usr/share/pki/trust/anchors
                                    /usr/share/pki/trust
                                    /var/lib/dbus
                                    /var/lib/cni
                                    /var/lib/longhorn
                                    /var/lib/wicked
                                    /var/lib/snapd
                                    /var/lib/kubelet
                                    /var/lib/rancher
                                    /var/log
                                    /usr/libexec
                                    /var/snap
                                    /root
                                    /opt
                                    /home
                                    /etc/kubernetes
                                    /etc/cni
                                    /etc/zfs
                                    /etc/iscsi
                                    /etc/ssh
                                    /etc/runlevels
                                    /etc/sysconfig
                                    /etc/rancher
                                    /etc/modprobe.d
                                    /etc/systemd
                                    /usr/local

is maybe the exec.Cmd that runs the command expanding the * ?

looks similar to this issue and the solution is indeed to not let golang do the glob expansion but directly doing filepath.Glob

I know it's working in some cases (that's why we merged it after all). I tried that on a livecd and it was stuck. Also I'm not sure that's the problem in the test itself. There is just returned no block devices at all.

agent fixed here: https://github.com/kairos-io/kairos-agent/pull/70

Let's bump kairos-agent on master so that we get the fix.

waiting for https://github.com/kairos-io/kairos/pull/1543 to make sure it is green with the fix


Modify plots

Description
Minor changes in plotting results of switching experiments
Todos

[x] modify plot_resutls_of_switching_experiments() function in analysis module

Status

[x] Ready to go

Tests are failing here because we are using the openMM setVelocity function --- but this is a bug on openMM's side, all other tests are passing so I think this is ready to be merged.

Codecov Report

Merging #26 (f2f5185) into main (239053e) will increase coverage by 0.35%.
The diff coverage is 66.66%.


request api doc

https://github.com/apache/cordova-node-xcode/tree/master/test
i'm trying to find removeTarget, but can't find it in test.
a document would be great~


global static variable: allow unknown array length

Codecov Report

Merging #104 (4956803) into main (8ffa161) will decrease coverage by 0.17%.
The diff coverage is 82.60%.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
- Coverage   86.62%   86.44%   -0.18%
==========================================
  Files          10       10
  Lines        3169     3187      +18
==========================================
+ Hits         2745     2755      +10
- Misses        336      343       +7
- Partials       88       89       +1

Impacted Files
Coverage Δ

cl/type_and_var.go
88.22% <76.47%> (-0.33%)
:arrow_down:

clang/types/parser/parser.go
73.20% <100.00%> (+4.12%)
:arrow_up:

cl/pkginfo.go
76.40% <0.00%> (-13.49%)
:arrow_down:

cl/compile.go
92.57% <0.00%> (-2.00%)
:arrow_down:

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 8ffa161...4956803. Read the comment docs.


Logout Button when logged-out

As a respondent,
I don't want to see a logout button, unless I'm logged-in
so that I'm not confused as to my logged-in/logged-out status
DoD:

[ ] logout button only appears when a user is logged-in

Swap logout button to the login button on the login page

@rgreensp The work has been completed on this issue. Can you please review on the test server https://connectivity-rtp-test.apps.silver.devops.gov.bc.ca/ and either let me know it's or you can go in and hit the deploy to prod button in the github action.


New command: create modern site

Create modern site.

command: spo site add --type [type] -u|--url [url] -a|--alias [alias] -t|--title <title> -d|--description [description] -c|--classification [classification] --allowFileSharingForGuests --siteDesign [siteDesign] --siteDesignId [siteDesignId] --isPublic
type - type of site to create. Allowed values TeamSite|CommunicationSite. Default TeamSite. The selected site type determines the required and applicable options.

Options for TeamSite:

title - site title, required
alias - site alias, required, used for the URL and name of the associated group
description - site description, optional
classification - site classification, optional
isPublic - determines if the associated group is public or not

Options for CommunicationSite:

title - site title, required
url - site url, required
description - site description, optional
classification - site classification, optional
allowFileSharingForGuestUsers - determines whether it's allowed to share file with guests, optional
siteDesign - type of communication site to create, optional. Allowed values Topic|Showcase|Blank. Each value resolves to a GUID: Topic=Guid.Empty, Showcase=6142d2a0-63a5-4ba0-aede-d9fefca2c767, Blank=f6cc5403-0d63-442e-96c0-285923709ffc
siteDesignId - id of the custom site design to use to create the site
Either siteDesign or siteDesignId is required

For more information see:
https://github.com/SharePoint/PnP-Sites-Core/blob/62d3a007ea4f52d4715ce57928928ebe0e0b06b7/Core/OfficeDevPnP.Core/Sites/SiteCollection.cs#L28
https://github.com/SharePoint/PnP-Sites-Core/blob/62d3a007ea4f52d4715ce57928928ebe0e0b06b7/Core/OfficeDevPnP.Core/Sites/SiteCollection.cs#L126

I've just finished implementing web requests for creating both modern team and collaboration sites. See https://github.com/waldekmastykarz/office365-cli/blob/6c5008823507817a4c87d4cb9eae3043b27d7b38/src/o365/spo/commands/site/site-add.ts. Next stop verifying that all the different combinations correctly work with the API, tests and docs


[repo] add CI to release kong 1-x patches

What this PR does / why we need it:
Add a new workflow based on the main workflow for releasing Kong 1.x
chart patch releases after 2.0 is out. It still checks version bumps,
but targets the kong-1.x branch instead of main/master.
Special notes for your reviewer:
This goes into main first to exclude the kong-1.x branch from the default CI job. We need to merge it into main and next after.
The top-level configs (ct-main.yaml and such) will presumably eventually disappear from main and next entirely. The new chart-tester actions for Helm 3 won't use them, and the kong-1.x branch (which will continue to use the old-style workflow) only needs its config in its branch.
See https://github.com/rainest/charts/pull/6 and https://github.com/rainest/charts/actions/runs/513586226 for PoC.

The branches-ignore updates at least need to go into main. Looking at that some more I think we also need to ignore main and kong-1.x on the non-main PR job also and give them their own PR workflows.
Using the non-main PR job is less of a problem for main (it does omit the version check, but shouldn't), but will actually break 1.x after migrating the non-main stuff to Helm 3.

The branches-ignore updates at least need to go into main. Looking at that some more I think we also need to ignore main and kong-1.x on the non-main PR job also and give them their own PR workflows.
Using the non-main PR job is less of a problem for main (it does omit the version check, but shouldn't), but will actually break 1.x after migrating the non-main stuff to Helm 3.

The branches-ignore updates at least need to go into main.

Why so? I understand GH workflows to work by taking the .github directory in the commit being evaluated (on the branch being evaluated), and matching the branch name against branches and branches-ignore. I think that main doesn't play any role here, but maybe I'm missing something.

The branches-ignore updates at least need to go into main.

Why so? I understand GH workflows to work by taking the .github directory in the commit being evaluated (on the branch being evaluated), and matching the branch name against branches and branches-ignore. I think that main doesn't play any role here, but maybe I'm missing something.

 Went through again and it works fine.
Revised version targets kong-1.x and includes config for it only.


Add support for environment variables for Training images

Issue link
This issue is related to RHOAIENG-16035
What changes have been made
Add support for environment variables for Training images. This change helps in

Providing default value of images
consistency with the pattern for all other images
providing one common variable for all Training images

Checks

[X] I've made sure the tests are passing.
Testing Strategy

[X] Unit tests
[ ] Manual tests
[] Testing is not required for this change

/approve


fix: incorrect line skipping in renderer flush

fixes #1232
To fix the bug described in the issue, we can simply store the currently rendered lines and use them for comparison in the upcoming flush operation.

It seems that the bug was introduced in #1132 after this change:
https://github.com/charmbracelet/bubbletea/pull/1132/files#diff-eec1160b5c25625c859865f3ea86e45e76521a2dd877c78a508183b968646f7dL194

Totally, this is a regression. Appreciate all the work and insight on this one, @semihbkgr; we’re checking this out now.

I could reproduce the bug, yea

@meowgorithm I found out that this bug was present in the original renderer before 1.2.0, but in a slightly different form... I'm tinkering around, still can't really wrap my head around it. I managed to fix it myself by:
	r.lastRender = strings.Join(newLines, "\n") // instead of r.buf.String()

But I didn't test current patch yet

Yea, as @semihbkgr pointed out in https://github.com/charmbracelet/bubbletea/issues/1232 it seems like the issue lies in the fact, that lastRender contains all the lines (even not rendered) from the previous frame, and newLines are being trimmed to fit the window height. So at the end, we don't match lines correctly to see if they're the same. ouch

Oh, wait.. @aymanbagabas did you reproduce the bug or not? I might've misunderstood your comment

@LeperGnome Yes, I was able to reproduce the bug. This patch fixes the issue

As a side note - maybe it's a good thing to introduce tests for such corner-cases? I'll definitely help when working on new renderer.


add platform9

seems like platform9 fit this list, if i am not mistaken.

It doesnt look like this is applicable. Would you care to explain?

if you want to add a new provider please send a PR with the changes.


Split Flask Dapr from Dapr

Description
I have added the following to the flask_dapr folder.

setup.py
setup.cfg
version.py
LICENSE (Autogenerated from the main Dapr LICENSE)

I have also added the ignoring of the flask_dapr folder in the main Dapr package.
I have also added the building of the flask_dapr package in the build.yaml.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #53
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@youngbupark Made the changes.

@youngbupark Made the changes. Would you also like to remove Flask from Dapr's setup.cfg?

Yeah make sense.


[MPQEditor] Implement media for VISQ

This commit implements mpqeditor media changes for showing VISQ data for MPQ.
Its correctness is tested in https://github.com/Samsung/ONE-vscode/pull/1543
Fresh draft: https://github.com/Samsung/ONE-vscode/pull/1543
Full draft: https://github.com/Samsung/ONE-vscode/pull/1505
Related: https://github.com/Samsung/ONE-vscode/issues/1491
ONE-vscode-DCO-1.0-Signed-off-by: s.malakhov<EMAIL_ADDRESS>

Q. Could you add a sample visq.json file? I mean it doesn't have to be in this PR but it's just for reviewer's sake.

Q. Could you add a sample visq.json file? I mean it doesn't have to be in this PR but it's just for reviewer's sake.

@dayo09
Ahh. Sorry. Added samples to the draft. Please see: https://github.com/Samsung/ONE-vscode/pull/1543#issue-1688467311


Let the AWS SDk grab the credentials.

Should be fine because NewDefaultKinesumer seems to only be used by runTail.

:+1:

:+1:


 Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fl.
Screenshot

https://www.freecodecamp.com/challenges/change-the-font-size-of-an-element#?solution=<style>
  .red-text {
    color%3A red%3B
    }
    p {
      font-size%3A 16px%3B
      }

<%2Fstyle>

<h2 class%3D"red-text">CatPhotoApp<%2Fh2>

<p class%3D"red-text">Kitty ipsum dolor sit amet%2C shed everywhere shed everywhere stretching attack your a snf.<%2Fp>
<p> Purr jump eat the grass rip the couch scratched sunbathe%2C shed everywhere rip the couch sleep in the sink fl.<%2Fp>

Please  help me

@sebin234, it is better to use the computer. so you could pass this challenge.  sorry.  phone have a problem with the code editor.

Did you solve this problem, as I have the same problem?


Building with "go build"

So, if I want to build this (in Linux), how exactly should I make things work if I get this:
./main.go:48: undefined: nk.NkGLFW3Init
./main.go:48: undefined: nk.GLFW3InstallCallbacks
./main.go:51: undefined: nk.NkGLFW3FontStashBegin
./main.go:53: undefined: nk.NkGLFW3FontStashEnd
./main.go:72: undefined: nk.NkGLFW3Shutdown
./main.go:89: undefined: nk.NkGLFW3NewFrame
./main.go:138: undefined: nk.NkGLFW3Render
when running "go build" from the nk-example folder. Or, if I structure things "the Go way" in src folder.
$ go get github.com/golang-ui/nuklear/cmd/nk-example
$ nk-example
works fine. But I'm trying to set things up so I can build "the normal way", but I get the above annoyance. I do have the nk.go file in $GOPATH/src/github.com/golang-ui/nuklear/nk/ folder, and the nk.a file, but it's not found anyway for some reason... What am I missing here?

Hi @Chillance, sorry for inconvenience but yesterday I renamed the API methods because of new platforms added (not only GLFW). Has to do it.
nk.NkGLFW3Init -> nk.NkPlatformInit
nk.GLFW3InstallCallbacks -> nk.PlatformInstallCallbacks
nk.NkGLFW3FontStashBegin -> nk.NkFontStashBegin
nk.NkGLFW3FontStashEnd -> nk.NkFontStashEnd
nk.NkGLFW3Shutdown -> nk.NkPlatformShutdown
nk.NkGLFW3NewFrame -> nk.NkPlatformNewFrame
nk.NkGLFW3Render -> nk.NkPlatformRender

Current main.go from master from nk-example references all things right:
https://github.com/golang-ui/nuklear/blob/master/cmd/nk-example/main.go

Oh, ok. I did a pull, and now it all works. Thanks!


Implement template for the views

You need to create and complete template for these views:
(All of these templates must extend the base.html template located in the templates dir)

category_list

context given to this template: {"categories": list_of_category_objects}
Print out all categories to the template with short description of them.
each category must be shown like Our Culinary Journey section in the template file attached to this issue
(Obviously link them to the category_details url)

category_details

context given to this template: {"category":category_model_instance}
print out all Foods that has this category
each of these foods must be shown like Special Dishes given in the template file attached to this issue
link each food to the food_details url
you must add a button and a counter next to foods to let user add this to their cart (put no link, just the html and css is enough)
show the foods image
have the category name at the top of the page and the description of it below it.

food_details

context given to this template: {"food": food_model_instance}
print out these food fields: title, description, price, category, image
you must implement the appearance of this template yourself (make it look like the rest of the template)
you must add a button and a counter to let user add this to their cart (put no link, just the html and css is enough)

completed in #65


Use records in versions package

Trying out records. Looks like it will get rid of a lot of boilerplate. Only
downside I see is that there isn't a way to add Javadoc to a getter without
declaring the method explicitly.
@jonmv

Just need to be careful when converting classes with custom hashcode/equals :)


Current Sensor Validation

[ ] Design and carry out tests to validate that the INA 169 will be suitable for the application you have planned. (Include photos/screenshots.)

Possible tests to carry out:

[ ] Test that the input voltage matches the output voltage
[ ] Test that the current detected is within 5% error of DMM (the range that it is accurate within)

Using the schematic from issue #18, I used a LED circuit (red LED, 330 ohms, 3.3V power supply) to test if the current readings are accurate. I broke the circuit so VIN- is on the positive side of the terminal while VIN+ is connected to 3.3V(VCC on INA19). The current reading received was 5 mA:

5 mA is not really an expected expected value since the percent error from the DMM current reading to the INA169 reading is 19.05%.
Current reading from DMM: 4.20 mA
% error = | (5 mA - 4.20 mA)/4.20 mA| * 100% = 19.05%
However, the percent error by hand calculations and the INA169, the reading from the sensor are  in the expected range for this LED circuit using typical red LED, 330 ohm resistor and a 3.3V power supply. Red LED's have a forward voltage rating of 1.7V , so solving for current through the LED:
I = (3.3V - 1.7V)/330 ohms = 4.84 mA
% error = | (5 mA - 4.84 mA)/4.84 mA| * 100% = 3.31%
From the DMM, the voltage reading of the LED is about 1.6V:

Test for current driver were carried out

Add input/output readings

@wecodewithmichaelmccloskey please review


[Android] renderLoading doesn't work with redirects

Issue:
When a redirect occurs, the onLoadingFinish method is triggered.
Bug description:
On Android, the renderLoading property stops rendering the loading component as soon as the redirect occurs instead of waiting until the final page loads.
To Reproduce:

Render the WebView with a source uri that redirects to another uri

ie:

"https://facebook.com" redirects to "https://m.facebook.com"
"https://github.com/business" redirects to "https://github.com/enterprise"
Sites using Oauth2 redirect uris

Expected behavior:
The renderLoading component should continue to be displayed until the final page has finished loading.
Screenshots:

Environment:

OS: Android Pixel 2 Emulator
OS version: API 28, Android 9.0 (Google APIs), x86
react-native version: 0.58.6
react-native-webview version: 5.6.2

Same issues


Replace tox test suite wf badge in README

The REAME badge "Tox test suite" should be replaced by our nox workflow badge.

I don't see the tox badge anywhere? Am I blind?

Its about the workflow "badge" Tox Test Suite, not a tox specific badge.

Ahh, now I see it


Issue with k8s.io/docs/tasks/access-application-cluster/ingress-minikube/

This is a Bug Report
Problem:
it seems that there is wrong  indentation example-ingress.yaml
Proposed Solution:
change to:

path: /
backend:
serviceName: web
servicePort: 8080

instead of:

path: /
backend:
serviceName: web
servicePort: 8080

Page to Update:
https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
Additional Information:
This is the error thrown:
$ kubectl apply -f example-ingress.yaml
error: error validating "example-ingress.yaml": error validating data: [ValidationError(Ingress.spec.rules[0]): unknown field "backend" in io.k8s.api.networking.v1beta1.IngressRule, ValidationError(Ingress.spec.rules[0].http.paths[0]): missing required field "backend" in io.k8s.api.networking.v1beta1.HTTPIngressPath]; if you choose to ignorethese errors, turn validation off with --validate=false
$

Thank you for your submission and have tried to fix it.
/kind bug
/language en
/assign


fix(cdk/dialog): fall back to node injector token doesn't exist in template injector

In #24570 the template dialog was changed so that the dialog ref is resolved from the template injector, rather than the DOM. The problem is that existing logic for constructing the injector was reused which means that the lookup path for a token starting from inside the ng-template would be start -> node injector -> template injector -> app injector instead of start -> node injector -> template injector -> node injector -> app injector. This has caused some regressions for users of @angular/router like https://github.com/angular/angular/issues/46500.
These changes resolve the issue by not providing a fallback injector so that the framework automatically falls back to the node injector.

Keen! 🙏


sqlite: generate models for views

https://github.com/go-reform/reform/issues/181

Merged it into a temporary branch to debug CI problem. See #183. Thanks!


[Add Library Dialog] Typing is slow/blocked in Library field of the dialog

Functional impact
I can't type fast in the Library field of the UI
Minimal repro steps

Open Add Client-Side Library dialog
Try typing fast in the Library field

Expected result
I should be able to type as fast as I can, even if completion can't keep up
Actual result
Typing is slow/jerky. Not sure if it's better on release builds?
Further technical details
We shouldn't block user typing even if completion can't keep up.

I believe this was fixed a while ago to move the library look up requests off the main thread (probably #516).  I can't hit this anymore.


Add python 3.11 std lib toml

To benchmarks? Might be interesting.

Good idea!
https://github.com/python/cpython/tree/3.11/Lib/test/test_tomllib/data

Added. See https://github.com/pwwang/toml-bench/releases/tag/0.2.0

Cool, although that's not quite what I meant.
I was suggesting adding the tomllib toml parser that's included in the python standard library from 3.11 to the libraries benchmarked, so it's performance can be compared.

Ah, I see. Will try to add it in the next version.


Series of linker infrastructure cleanups and alignments

This PR contains a series of cleanup commit and commits which aligns linker flag handling with the compiler infrastructure introduced in PR #24851 .
This work cleanup and alignment is done to prepare for upcoming work related to improved linker handling, especially related to runtime library linking.
This will be needed for improved LLVM integration with Zephyr.
No functional change expected.

@keith-packard would you mind approving if you are happy with @tejlmand's replies?


JAVA-919: Move crc_check_chance out of compressions options.

Working branch:
https://github.com/pauloricardomg/cassandra/commits/3.0-9839

looks good to me :+1:


Fix for image in dump schema

@mayukh33 this looks good to me, but I think we should probably expand this to test for faulty position and velocity schema. Even though these cases aren't currently failing, it would be susceptible to the same type of issue!
You may also consider naming the test TestFaultyDumpSchema to be a bit more specific

@clpetix Yes! The comments makes sense. I will make those changes.

Can you also simplify the way the test dump file gets written? It will be hard for future developers to read with those loops. I would just write out a block of text to file like the reporter gave us, then try to read it back in. You can make similar faulty snippets for the other quantities Levi mentioned.


⚠ Avatar API Endpoint has degraded performance

In f2faf87, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1444 ms

Resolved: Avatar API Endpoint performance has improved in bfe8c67 after 8 minutes.


Question: How visible are the hash and tracker?

The meat of the question is this: if someone were to make a website hosting licensed or premium content, how difficult would it be for someone to find a "direct link" to it by retrieving the hash and tracker and sharing an instant.io link to unprivileged users?
Specifically, is this something that is easy to do?  Are there precautions that must be taken when designing such a system, and what would those be?  Are there any deficiencies in the WebTorrent infrastructure that could allow for this information to be compromised?  It doesn't matter nearly as much when dealing with test files, CC-licensed media, and other essentially penalty-free media files, but if DMCA were to get involved, this is important to know and protect against.

See https://github.com/feross/bittorrent-tracker/issues/58
Basically I think if you setup a private tracker, with only private torrents (http://www.bittorrent.org/beps/bep_0027.html), it should be safe enough.
Of course that wouldn't automatically add DRM to files and people could create a public torrent out of these files.

How difficult would it be to obtain the source files if all rendering is done through MediaElement?  My understanding is that using MediaElement decodes the torrent segments as they come in, but I could be wrong.

rendering is separated from downloading. People can always use an other client to download files.
For example you can download youtube files, without doing any rendering.

Files are stored as they are rendered.  With enough obfuscation, authentication, and the use of a private tracker, the ability to obtain a copy through a separate client can be reduced.  What I'm wondering, however, is if files that are streamed into a MediaElement can be saved and redistributed.

MediaElement supports DRM, so you can protect the content you play in a <video> tag.
http://www.html5rocks.com/en/tutorials/eme/basics/
Netflix uses EME, for example.


Intellisense with Unity 2021.3.5f1 not working :(

*Copied from my other VSC bug report you can find here: https://github.com/microsoft/vscode/issues/172368#issue-1556357856
For more specific information scroll further, I filled in both.
Type: Bug
I don't know, why. Theoretically it should be working.

I create a new C# file in Unity and type "ejkhifkjefhgjksehfksjegfsjkefhsjkefse ejkfhkjefhsekjfgjik ekfhjgeshkjfghsehk" (without the "s) in the Update function.
It doesn't underline it and goes like "This is totally fine". No errors found, does my terminal/problems thing say. When I have C# selected. I have the extensions I would need, I even added NuGetAnalyzers but even they didn't change a thing.

Potential clue: I observed this happening when I first opened a .TOML file from Minecraft configs, but I don't know if this is the cause or just something that I noticed. Also, these colors are not the usual C# Unity Intellisense? The recommendation for words is working, but no error detection??? (See screenshots at the bottom)
I tried everything I could find to fix it, but it didn't do anything (including restarting it about 20 times, not exaggerated). I am desperate for help at this point. Please help me.
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 x 3500)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
23.95GB (5.98GB free)

Process Argv
--crash-reporter-id 899bea0c-1702-4991-8a83-01ce0249fe7c

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

unity-debug
dei
3.0.11

unity-code-snippets
kle
1.3.0

git-graph
mhu
1.30.0

csharp
ms-
1.25.4

hlsltools
Tim
1.1.303

unity-tools
Tob
1.2.12

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1cf:30587006
3biah626:30602489
89544117:30613380

Images:

Prefilled from the specific Csharp bug report function I found by pressing F1
Issue Description
OmniSharp is not working properly, Intellisense broken, syntax highlighting not fit for C# Unity environment
Steps to Reproduce
Create a new C# file within Unity, open it up and type... just anything in the Update function.
For example: "wekufghhkegfhekjf ekjfhef"
If it doesn't underline anything and the colors of the highlighting are not as expected (see screenshots above), you have my issue.
Expected Behavior
Intellisense working with Unity integration
Actual Behavior
It tells me there are no issues at all.
Logs
OmniSharp log
Starting OmniSharp server at 25.1.2023, 09:35:02
    Target: f:\3D_Projekte\Repo\Burning Tears\Burning Tears Online\Burning Tears Online.sln
OmniSharp server started.
Path: c:\Users\Joana.vscode\extensions\ms-dotnettools.csharp-1.25.4-win32-x64.omnisharp\1.39.4\OmniSharp.exe
PID: 40996
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

C# log
Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 4.7.2 / x64)' (29097 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Windows (.NET 4.7.2 / x64)'
Finished

Environment information
VSCode version: 1.74.3
C# Extension: 1.25.4
Dotnet Information
.NET SDK:
 Version:   7.0.101
 Commit:    bb24aafa11
Laufzeitumgebung:
OS Name:     Windows
OS Version:  10.0.19044
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\7.0.101\
Host:
Version:      7.0.1
Architecture: x64
Commit:       97203d38ba
.NET SDKs installed:
7.0.101 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.25.4

git-graph
mhutchie
1.30.0

hlsltools
TimGJones
1.1.303

unity-code-snippets
kleber-swf
1.3.0

unity-debug
deitry
3.0.11

unity-tools
Tobiah
1.2.12

It looks like it timed out loading the project.  Could be for many reasons, but could you try increasing the default timeout of 60 seconds?  The setting is omnisharp.projectLoadTimeout with values specified in seconds

Thank you, I tried this now but after 360s it still gets timeout. Should I set it for an hour and see if it still does? 🙈

I don't think it will... ever connect?
Additional info: HLSL error detection is working now, but C# is stubborn.

This is also happening in my environment.
It appears that the hinting information set by the project (.sln) file created in Unity is being overwritten from the C# extension.

This is also happening in my environment. It appears that the hinting information set by the project (.sln) file created in Unity is being overwritten from the C# extension.

Additional info: Please check if you have debug mode enabled within the settings in VSCode for OmniSharp.
DISABLE them.
I forgot to add this, but a few months after I posted my logs, I realized I had a local debug mode on that would block the omnisharp server to connect because it would wait for input to debug the omnisharp plugin itself. I didn't know back then but I hope to save you from a headache in case you did the same.
If that isn't the case, do as I did, post logs and check every other possible step that could have made it go wrong. Uninstalling the editor for some reason does NOT reset/disable the debug mode (which is a bit... not straightforward?), so be careful, it might be true for other settings, too. I don't know how it's called like right now, but I posted something regarding this, feel free to take a look in case it leads to the solution. https://github.com/dotnet/vscode-csharp/issues/5631
I wish you all the best in your pursuit to fix the problem.

Thank you for your response.
In my case, it was happening because I did not have the .NET SDK installed.
I am embarrassed to say that I was able to repair the problem by installing it.
Your suggestion to look at the logs helped. Thanks!
I have not made any changes to the item in the OmniSharp settings to debug mode, so if I see it in the future I will treat it with caution.


Alerts during Save Method

I want to show alerts to user based on some business logic before saving the record.
if all criteria as per business logic is not fulfilled the save would not work but an appropriate message would be displayed.
if everything is OK then records get saved.
I can put business logic in repository, i only need guidance on how to show a message and abandon save process.

throw new ValidationError("Your message")

ValidationError's message will automatically display in the browser as a dialog box.


The "www/lib" directory should be configurable

I see that the installation dir (www/lib) is very much set in stone as far as the cli is concerned. Shouldn't this be configurable? I'm currently putting together a gulp/webpack build which includes ionic. Sourcing the www/lib folder seems dirty. I'm working around this currently by moving "www/lib/ionic" to the desired "src/lib/ionic" after running install or update. The bundle would ultimately end up in www/js so would be included in a build. Other packages are not a problem as they comply with the .bowerrc directory value.

I believe that we are keeping this as a convention of all Ionic apps.  Thanks for the suggestion.


Custom Colors not working

After I change a group's colour to custom and click save, I click on it in the taskbar and it doesn't open.. just loading and then nothing.

Hello!
Please check the build here. If that still happens, please open up an issue on that fork repo.


Make an LWR sample input

ARMI has been applied mostly to fast-neutron systems, though the data model is agnostic to this. Pin-level input options have been somewhat design-specific and inflexible. Recently, we added some more flexible input formats that should enable direct input of fairly arbitrary pin lattices. To shake this down and demonstrate it, we should make a simple-ish LWR-like input deck.
Ideas (thanks @youngmit):

CASL progressive benchmarks (good progression)
MIT's BEAVRS (probably too complex for a simple first model)
C5G7 (classic)

I made a simple C5G7 input today and got it up and running. Will turn it into a new guided walk-through tutorial next. I did not add in the prescribed cross sections and just put in dummy composition information for now.

Ok it's on the master branch now and documented here: https://terrapower.github.io/armi/user/tutorials/walkthrough_lwr_inputs.html
It's maybe overly simple but it's a start.


How do I analysis this

{
Data = "{"Photo":"http://<IP_ADDRESS>/Users/Protraits/201611/9a704ca4bb064886a5a97cd8ad516c4e.JPG\",\"Verify\":\"0-0-0\",\"VipState\":\"0\",\"NickName\":\"\U706b\U67f4\",\"Scroe\":\"0\",\"AccountMoney\":\"0\",\"Collection\":\"89\"}";
DataCount = "";
IsSuccess = 1;
Message = "";
}
I can get data from this string,but I can`t get data from the "Data". Any ideas?

@ftgithub Would you mind clarifying what you're trying to extract? Also, please post the json string that you're trying to parse, this seems like a dictionary that was printed in the console, not a valid json.

@ftgithub Bump.

It appears you're trying to pull user/profile images of users from an unspecified source/array. Could you elaborate what it is exactly you're trying to do?

@ftgithub In order to keep our issue backlog clean, and given the absence of followup, I'm gonna go ahead and close this. Please feel free to ping us if you'd like to reopen. Thank you!


Release 2.0.0

Todo:

[x] Update changelog
[ ] Is CI and maven deploy set up correctly?

Could we maybe check if we can get a newer mcl version working, so that we have one with working MacOS makefile?

I'm the last person to argue against bumping versions.
That said: I'll merge this tomorrow no matter what. Slightly tired of delaying releases for future features. This won't be our last release, no reason to wait.
Let me know if Fabian or I should test something. What version would you like to use? If there are issues with unsupported CPU instructions, we should report them to mcl upstream or live with the incompatibility.

Good to go if checks from da6c2bec063a7992781357da80fbe43c02a0243f are done.


PP-5762 Remove correlation id from log message

The correlation id is now added as a structured argument. Remove it from log messages where it is in square brackets at the start of the message for consistency.

sorry, could you point me out to where the correlation id is set in structured logging now?

sorry, could you point me out to where the correlation id is set in structured logging now?

in the correlation_header middleware, we add it to the logging fields on the request which are then added into the logs in all the places we do logging.


RavenDb implementation of stores and services

Guys,
We are upgrading from 3 to 4 and during this process I am going to write an implementation for all the services and stores that will allow the use of RavenDb.
As part of this i'd like to make some minor changes to some of the stores as needed. For example the IClientStore requires the use of Client. I'd like to change this to be a generic.
Something like the below.
My reasoning for this is based on wanting to have a super class of Client, RavenClient, that has an id on it. It means that when I can then pull it out of the BASE store of RavenDb instead of doing a query for it.
Thoughts?
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.

using IdentityServer4.Models;
using System.Threading.Tasks;

namespace IdentityServer4.Stores
{
    /// <summary>
    /// Retrieval of client configuration
    /// </summary>
    public interface IClientStore : IClientStore<Client>
    {
    }

    /// <summary>
    /// Retrieval of client configuration
    /// </summary>
    public interface IClientStore<TClient>
        where TClient : Client
    {
        /// <summary>
        /// Finds a client by id
        /// </summary>
        /// <param name="clientId">The client id</param>
        /// <returns>The client</returns>
        Task<TClient> FindClientByIdAsync(string clientId);
    }
}

Fail, so i wrote this and then checked something. I don't think this is needed