QFieldCloud synchronizes images with 0 bytes in size to desktop

Same issue with pictures, in my situation I can download the photos, but they seem corrupted.

Originally posted by @Ipickedausername in https://github.com/opengisch/qfieldcloud/issues/444#issuecomment-1324409992

Hey @Ipickedausername, may I ask you for some details:

I see you have a lot of corrupted pictures, is the problem consistent? Can you give us steps to reproduce and example project?

After successful reproduction of the problem, can you check the storage on your device and see if the image is corrupted on QField? To do so, probably is good idea just to push your changes, instead of full sync.

Can you try with the corrupted project, but manually exported via QFieldSync and sent via cable/email/etc? If you check the local file storage are the collected photos of 0 bytes?

Can you change your naming expression and see if the problem persists?

If the images are fine on QField, what do you see on QFieldCloud Web UI? Are they corrupted there?

Trying to find where the problem is:

QField taking the images?
QField uploading the images?
QFieldCloud storing the images?
QFieldSync downloading the images?

Hello,
I created a new project: "Test_Error_Photos" with only one shapefile layer: "PHOTOGRAPHIES".
Through Qfield, I took some pictures using the layer "PHOTOGRAPHIES".
The pictures are taken properly, I can visualize them on qfield, in the layer.
Apparently, the pictures are not saved on my phone. On Qfield, if I open the detail of the picture I cannot see the access path of the picture. I can't find them in my phone.

For now, my first try was to synchronize (instead of pushing changes) the data.
It seems to work, wince I can visualize the pictures on the platform of Qfield cloud.

But when I download them using Qfield Sync, the pictures seem to be downloaded, but their size = 0bytes.
The layer "PHOTOGRAPHIES" isn't synchronize either, I don't have access to the newly created features.
For this first test, I deleted all the other layers, the lager "PHOTOGRAPHIES" is dependent of the layer "STUDY_AREA" in some cases. I have this error: "Missing layer form dependency: layer 'PHOTOGRAPHIES_PT' requires layer '[T]_STUDY_AREA' to be loaded but '[T]_STUDY_AREA' could not be found, please load it manually if possible."
It is not supposed to cause any issue in my situation, but maybe there is a conflict with QField Cloud.
I attach a test project if it can help.
Test_error_0bytes.zip
I don't have a lot of time this month, but as soon as I can do other tests, following your advices, I'll give you more information.

Hello,
Small update: When I save a picture on Qfield, the default path of the picture includes the date and the time, the time is written as: "hh:mm", but ":" isn't recognized by windows as part of the access path (except to identify the hard drive).
It is replaced by " ", and the picture is lost.
I'll change it and do other trials.

Great, I was pretty sure it was the image path. Unfortunately there is no easy way to validate the expressions for windows before saving.


Ac/add single human pose estimation accuracy checking

Jenkins ok to test

@AnastasiaaSenina, please update also readme files for added functionality.

@AnastasiaaSenina, changes looks good, but linter say:
accuracy_checker/preprocessor/geometric_transformations.py:1: [C0302(too-many-lines), ] Too many lines in module (1002/1000)

You can just remove 2 empty lines inside process for fast fix, I am going refactor this module later and devide it on several files

@vladimir-dudnik, do you agree with changes? Can we merge?


prevent initial validation

Description
The PR prevents the initial validation that could previously take place when radio-group is initially provided with a non-empty value and is initially marked invalid.
This PR refers https://github.com/vaadin/web-components/pull/4156
As mentioned as Warning in the referred PR
#Warning
This PR is breaking because it changes the default value of the value property to an empty string.
Without this change, it was not possible to distinguish whether the value has been changed manually via the property.
Type of change

[ ] Bugfix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


CLI command added to UpdateTenant and Update User.

CLI command added to Update Tenant and Update User.
Fixed issues in Add User command.

Thanks for the pull request @dinithis! I have now merged this to 4.1.0-beta-deployment-policy-fix branch.


[WIP] Ci generate tags

Hello @victorusu, Thank you for submitting the Pull Request!

In the file reframe/frontend/cli.py:

Line 170:1: E302 expected 2 blank lines, found 1
Line 170:80: E501 line too long (105 > 79 characters)
Line 184:80: E501 line too long (85 > 79 characters)
Line 189:80: E501 line too long (84 > 79 characters)
Line 214:22: E225 missing whitespace around operator
Line 214:80: E501 line too long (80 > 79 characters)
Line 215:20: E225 missing whitespace around operator
Line 215:80: E501 line too long (87 > 79 characters)
Line 216:29: E225 missing whitespace around operator
Line 216:80: E501 line too long (118 > 79 characters)
Line 218:24: E203 whitespace before ':'
Line 219:25: E203 whitespace before ':'
Line 220:80: E501 line too long (176 > 79 characters)
Line 222:28: E203 whitespace before ':'
Line 223:28: E203 whitespace before ':'
Line 717:12: E225 missing whitespace around operator
Line 722:25: E127 continuation line over-indented for visual indent
Line 738:80: E501 line too long (93 > 79 characters)
Line 740:80: E501 line too long (112 > 79 characters)
Line 750:41: E127 continuation line over-indented for visual indent
Line 751:41: E127 continuation line over-indented for visual indent
Line 752:41: E127 continuation line over-indented for visual indent

Do see the ReFrame Coding Style Guide

I am closing this PR, because another one (#1641) replaces it.


CDTS header - language toggle link is missing the classes of the responsive design

This is on all CDTS demo pages  e.g. content page  (current code points to use of gcweb/v4_0_28/cdts/)
Issue:
The header is missing for the responsive design text and classes switch  as a result language toggle link appears in full "Français" instead of "FR" on mobile view.
Missing code is emphasized in strong below

Français
fr

Will be resolved by the same fix for #135

This has been fixed.


error: listen EADDRINUSE: address already in use <IP_ADDRESS>:29815

It occurs when:

I have one or more running BAS instances on the same machine.
I execute multiple scripts on the same machine at the same time.
I execute multiple tests on the same machine at the same time.

I believe that the port is hardcoded in this line of code: https://github.com/CheshireCaat/browser-with-fingerprints/blob/4e263c96c8fa192acb13b4d250091d91acee4ad8/src/plugin/connector/server/index.js#L33
Is there any way to select a random port for each start to avoid these errors?
Note that I have used https://github.com/CheshireCaat/selenium-with-fingerprints.

Please try to use latest version - 1.1.4 for selenium-with-fingerprints.


fix: calc L2 tx hash in the background

Description of the Changes
Do not enforce the modal to stay on screen if you have not been able to calculate the L2 hash (the transaction itself has already been sent). Keep doing it in the background when iterating the transfers.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.3.0-dev.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Modern WGPU based renderer

This PR replaces the existing OpenGL 2.1 renderer with a WGPU based modern multi-API renderer that supports GL 4.4+, D3D12, Vulkan and Metal.
This PR supersedes the work I already did towards this goal in https://github.com/Limit-Theory-Redux/ltheory/pull/15 - will likely pull some changes from that PR.
The goal of this project would be to generally preserve the shaders in their current state, with some minor adjustments like #include syntax, replacing autovars and uniforms with uniform buffers, and rewriting how shaders pass uniforms to make it more efficient. We will likely forgo any stack like behaviour in favour of creating "shader uniform blocks" in Lua which can get updated rather than passing uniforms via Shader_SetX.
This PR will allow macOS to work again once it's completed.

Note to self, address this: https://github.com/Limit-Theory-Redux/ltheory/pull/161/files?diff=split&w=1#diff-e9cb81f5e5268bf933bc6c1adba5d546b78467181074873951bda349fd2d8929R8

My focus is going to be on #293 first. I'm probably going to take a bunch of work from this branch into that one, such as the immediate mode geometry generator, and the matrix stack. Once that work is completed, I will then rebase the work done in this branch to get WGPU up and running. I'll leave this open as a draft.


423 Update tutorial of CSVIterableDataset with new shuffle features

Fixes #423 .
Description
This PR updated the tutorial of CSVIterableDataset with new shuffle features.
Status
Ready
Checks

[ ] Notebook runs automatically ./runner [-p <regex_pattern>]

Depends on PR: https://github.com/Project-MONAI/MONAI/pull/3226.
Thanks.


[Feature] Voice Connected / VC Timer UI Improvement

Suggestion
Voice Connected area should be a proper button rather than an annoying and also invisible area (guessing its hidden behind the voice shenanigans)
Benefit
Generally would make stuff like seeing what voice server you are in much easier
This suggestion is unique

[X] I have searched the issue tracker and did not find an issue describing my suggestion, especially not one that has been rejected.

You may use the editor below to elaborate further.

This should instead not require hovering or it should be in a way more accessible place. (Like to the right of that deafen)
The icon for accessing this should honestly be something like the missing controls icon on the spotify modal

This is how the original maker intended it to be, and it will stay the same.


Is there a DocumentPicker?

I could not find this in the docs. Is there an official way on how to pick documents? I'm converting my app to Flutter and need a way to select one or more PDF files from the IOS/Android system. What I need is an ImagePicker equivalent for documents.

Have you tried this plugin? I tried that and it looks like the thing you want.

@salihgueler , I have but it is still a very early version, and there is no guarantee the author is gonna keep going. I'm not an IOS developer so my help on plugins are very limited. Flutter is not in beta anymore. I think this is a basic functionality and was hoping that this had already been solved by now.

@AndreHaueisen Yes, on that you are right. From my perspective, since in Android we would be needing permission dialogs and stuff (don't know how it's on iOS either), I think file picking would be handled on the native side of the code. I also read this but it's also not helping in your case.

This is covered by file_selector; marking as a dup of https://github.com/flutter/flutter/issues/110098 which tracks adding Android support.


(gatsby-tinacms-remark) & (gatsby-tinacms-json): return forms in prod

Fixes #1054 — curious if we should also make some changes with the call to useWatchFormValues...
sidenote what is UP with these old merges and commits showing up on all my PRs??? 🤷♀

curious if we should also make some changes with the call to useWatchFormValues...

I was thinking the same, but this is good on it's own as well.


 The lich has advantage on saving
throws against any effect that turns undead.
 The lich has advantage on saving throws against any effect that turns undead.
then the 9th level spell (only) does not import properly. I've found many other statblocks (omitted for copyright reasons) that reproduce this problem: the last spell in the spellblock does not import, but it can be fixed by inserting a random break into the line immediately following the spell block.

I don't have much time these days to work on this, but I'm open to pull requests.

Should be fixed now thanks to @Aioros.


Update outdated dependencies

I updated outdated dependencies for repo maintenance purposes. :v:

Gidday @ShavidzeT - thanks for your PR!
We're currently looking into bumping unstated to v2, but it's not a drop-in replacement and we're investigating here. If you're able to revert the unstated part, then I don't see why not to merge this 😄


ADBDEV-1930: Correct plan with volatile functions

General locus imply that if the corresponding slice is executed in many different segments should provide the same result data set. Thus, in some cases, General can be treated like broadcast.
But what if the general locus path contain volatile functions? volatile functions, by definition, do not guarantee results of different invokes. So for such cases, they lose the property and cannot be treated as *general. Previously, Greenplum planner does not handle these cases correctly. Limit general path also has such issue.
Backport of https://github.com/greenplum-db/gpdb/commit/5b4c4f59016f01868ebc7b7c94aae5892ef0629e
Test case
create table test1(a int) distributed by (a);
insert into  test1 select * from generate_series(1, 5);

explain select * from (select gp_execution_segment()) as t, test1;

@t1mursadykov what was the reason to comment initial state for the relation path in your last update? No we have an undefined state for these pointers. Also leaving commented code with // seems to be a bad style.

@t1mursadykov what was the reason to comment initial state for the relation path in your last update? No we have an undefined state for these pointers. Also leaving commented code with // seems to be a bad style.

Apparently, it was a mistake. I guess I just didn't see it when I pushed it.

Closed in favor of #426


Potential failure in HH code

https://circle-artifacts.com/gh/influxdb/influxdb/3127/artifacts/0/tmp/circle-artifacts.t50sSC7/test_logs.txt
FAIL	github.com/influxdb/influxdb/services/hh	300.018s
This caused master to run red, and it went green again on a subsequent run. This appears to be a race-condition.

Starting with @jwilder though this may not be HH code.
@jwilder -- please send back to me if it appears to be the UDP code that was spewing earlier in the logs.

We have bumped the test timeout for Circle, as we believe this may have been the issue.
https://github.com/influxdb/influxdb/commit/19dcebc730cceb9948857d5e7a6ca57fc844efdf


[feature request]when nodepool or service change, service topology function can work

What would you like to be added:
For servicetopology filter in Yurthub, beside endpointSlice resource, nodePool and service change can be handled.
maybe endpoints filter also should be enhanced.
Why is this needed:
servicetopology filter in Yurthub can work properly when endpointSlices resource change. if nodePool or service resource change, like updating topology annotation for service or removing node from nodePool, endpointslices on the edge nodes will not be updated.
others
/kind feature

@rambohe-ch. Hello, I will take over this work.

@rambohe-ch. Hello, I will take over this work.

@LinFCai Thank you for taking over this work. /assign @LinFCai

@LinFCai please post a proposal about this feature before making code pull request. and how to make the proposal, you can reference this example: https://github.com/openyurtio/openyurt/blob/master/docs/proposals/20210720-data-filtering-framework.md

ok

@LinFCai Hi, Do you have any progress for this issue?

@rambohe-ch I have posted the proposal here https://github.com/openyurtio/openyurt/pull/1006.

/reopen


How did you implement proximal Policy Gradients in run_ppo.py?

Also I would like to know what is self.gaes in ppo.py file.

Hi @shamanez, thanks for asking.
self.gaes is the placeholder for generalized advantage estimator.
You can see equation (11) in ppo paper for detail explanation of generalized advantage estimator.
In my program, gaes are calculated with function self.get_gaes.
This function is called from the run_ppo.py,  and returned results are feeded into self.gaes for training.


Fix slots infinite rendering when no context prop is provided

First, added some basic rendering tests for createSlots. These tests don't provide the optional context prop to Slots and thus they failed as expected:
FAIL  src/__tests__/utils/create-slots.test.tsx
  createSlots
    ✕ moves slot contents to insertion point (115 ms)
    ✕ works with multiple slots (40 ms)

  ● createSlots › moves slot contents to insertion point

    Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

      4 | export const useForceUpdate = () => {
      5 |   const [, rerender] = React.useState({})
    > 6 |   return React.useCallback(() => rerender({}), [])
        |                                  ^
      7 | }
      8 |

      [stack trace omitted]

  ● createSlots › works with multiple slots

    Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

      4 | export const useForceUpdate = () => {
      5 |   const [, rerender] = React.useState({})
    > 6 |   return React.useCallback(() => rerender({}), [])
        |                                  ^
      7 | }
      8 |

      [stack trace omitted]

Test Suites: 1 failed, 1 total
Tests:       2 failed, 2 total
Snapshots:   0 total
Time:        3.388 s
Ran all test suites matching /\/workspaces\/react\/src\/__tests__\/utils\/create-slots\.test\.tsx/i with tests matching "createSlots".

Then, fixed the bug by defaulting context to a statically referenced frozen object instead of a new object on every render. This fixes #2187 and makes the tests pass ✅.
Merge checklist

[x] Added/updated tests
[ ] Added/updated documentation
[ ] Tested in Chrome
[ ] Tested in Firefox
[ ] Tested in Safari
[ ] Tested in Edge

Just realized I totally missed the existing slots test file. Going to put this back in draft for now until I fix that 😅

Fixed - deleted my new test and updated the existing ones to not always define the context object.


feat: upstream Nat.gcd_def

This was the only result left in Mathlib.Init.Data.Nat.GCD.

Given gcd_rec above and gcd_zero_left, I don't understand why we should also have gcd_def.

The main use case for gcd_def is rw [gcd_def]; split; .... Doing that with gcd_rec and gcd_zero_left requires manually splitting the cases.

I did a quick scan of Mathlib and it looks like Nat.gcd_def is only referenced in the norm num tactic.
Perhaps it should be put there?  We haven't typically added these sorts of simplifying rules for other theories.

We don't provide these for other defs because rw [def_name] usually works well enough. It doesn't work for gcd because it uses well-founded recursion.

I think leanprover/lean4#3164 would remove the need for this.

Good news leanprover/lean4#3164 was merged so I think this can be closed.

This is definitely the ideal solution!


Fix problems with client data uploading

Upload progress
Cancellation of upload procedure

See http://aiohttp.readthedocs.org/en/latest/client.html#comment-2534219492

cancellation should be fixed

@asvetlov. link to comment is broken. Please write what did you mean.

Should be done by #2313


GET and POST routes

Must utilize both GET and POST routes for retrieving and adding new data

requirement met


C# Intellisense is not working

Environment data
dotnet --info output:
акет SDK для .NET Core (отражающий любой global.json):
Version:   3.0.100
Commit:    04339c3a26
Среда выполнения:
OS Name:     Windows
OS Version:  10.0.17763
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit:  7d57652f33
.NET Core SDKs installed:
1.0.0-preview1-002702 [C:\Program Files\dotnet\sdk]
1.0.0-preview2-003121 [C:\Program Files\dotnet\sdk]
1.0.0-preview2-003131 [C:\Program Files\dotnet\sdk]
1.0.0-preview2-1-003177 [C:\Program Files\dotnet\sdk]
1.0.0 [C:\Program Files\dotnet\sdk]
1.1.0 [C:\Program Files\dotnet\sdk]
2.0.0 [C:\Program Files\dotnet\sdk]
2.1.101 [C:\Program Files\dotnet\sdk]
2.1.104 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.400 [C:\Program Files\dotnet\sdk]
2.1.403 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.502 [C:\Program Files\dotnet\sdk]
2.1.503 [C:\Program Files\dotnet\sdk]
2.1.505 [C:\Program Files\dotnet\sdk]
2.1.509 [C:\Program Files\dotnet\sdk]
2.1.600-preview-009426 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.0-rc2-3002702 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version:
Version: 1.38.1 (system setup)
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:35:35.387Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT ia32 10.0.17763
C# Extension version:
1.21.4
Steps to reproduce

type (.) dot for System.Console. for example

Expected  behavior
shows Intellisense popup list
Actual behavior
does not work :-(

Not working for me either:
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  2.1.4 [/usr/local/share/dotnet/sdk]
  3.0.100 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download```

please post your Omnisharp logs, otherwise it's impossible to help

    Target: /Users/hoffdamann/Desktop/Excercise

OmniSharp server started with Mono 5.8.1
    Path: /Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/OmniSharp.exe
    PID: 13615

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 10.14 (x64)
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin"
            2: StandAlone 15.0 - "/Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin"
            CscToolPath = /Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin/Roslyn
            CscToolExe = csc.exe
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/Users/hoffdamann/Desktop/Excercise'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /Users/hoffdamann/Desktop/Excercise
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '/Users/hoffdamann/Desktop/Excercise'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/hoffdamann/Desktop/Excercise/Excercise.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/hoffdamann/Desktop/Excercise'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.Stdio.Host
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.Stdio.Host
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/Users/hoffdamann/Desktop/Excercise' on host 13538.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/hoffdamann/Desktop/Excercise/Excercise.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The "ProcessFrameworkReferences" task failed unexpectedly.
System.TypeLoadException: Could not resolve type with token 010000f9 (from typeref, class/assembly System.Runtime.InteropServices.OSPlatform, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
  at Microsoft.NET.Build.Tasks.TaskBase.Execute () [0x0002e] in <4f60ba738837484e89812ce739ac660a>:0
  at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in <99064ce461714f6a83a1f24370e1d7b8>:0
  at Microsoft.Build.BackEnd.TaskBuilder+<ExecuteInstantiatedTask>d__26.MoveNext () [0x00212] in <99064ce461714f6a83a1f24370e1d7b8>:0
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/Users/hoffdamann/Desktop/Excercise/Excercise.csproj'.
/Users/hoffdamann/Desktop/Excercise/Excercise.csproj
/usr/local/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(59,5): Error: The "ProcessFrameworkReferences" task failed unexpectedly.
System.TypeLoadException: Could not resolve type with token 010000f9 (from typeref, class/assembly System.Runtime.InteropServices.OSPlatform, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
  at Microsoft.NET.Build.Tasks.TaskBase.Execute () [0x0002e] in <4f60ba738837484e89812ce739ac660a>:0
  at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in <99064ce461714f6a83a1f24370e1d7b8>:0
  at Microsoft.Build.BackEnd.TaskBuilder+<ExecuteInstantiatedTask>d__26.MoveNext () [0x00212] in <99064ce461714f6a83a1f24370e1d7b8>:0 ```

thanks. your environment is quite out of date - it says you are using C# Extension 1.15.2 while the latest is 1.21.4.
It also shows that you are on Mono 5.8.1 while the latest stable (with msbuild that supports .NET Core 3.0) <IP_ADDRESS>.
Updating them should resolve your problems.

Starting OmniSharp server at 06.10.2019, 8:27:45
Target: c:\work\js\Cons3
OmniSharp server started.
Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 6184
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

Any news?

Please see above:
Starting OmniSharp server at 06.10.2019, 8:27:45
Target: c:\work\js\Cons3
OmniSharp server started.
Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 6184
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

One more see below. What will you say?
Starting OmniSharp server at 08.10.2019, 9:04:47
Target: c:\work\js\Cons3
OmniSharp server started.
Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 11556
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 3 MSBuild instance(s)
        1: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: Visual Studio Community 2017 15.9.28307.858 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
        3: StandAlone 16.0 - "C:\Users\alex\.vscode\extensions\ms-vscode.csharp-1.21.4\.omnisharp\1.34.4\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

thanks. your environment is quite out of date - it says you are using C# Extension 1.15.2 while the latest is 1.21.4.
It also shows that you are on Mono 5.8.1 while the latest stable (with msbuild that supports .NET Core 3.0) <IP_ADDRESS>.
Updating them should resolve your problems.

That fixed it. I have no idea why VSCode wasn't prompting me for an update. Thanks!

You are wrong! My version is 1.21.4. Please see below. Any suggestions?
Starting OmniSharp server at 06.10.2019, 8:27:45
Target: c:\work\js\Cons3
OmniSharp server started.
Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 6184
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
One more see below. What will you say?
Starting OmniSharp server at 08.10.2019, 9:04:47
Target: c:\work\js\Cons3
OmniSharp server started.
Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe
PID: 11556
Starting OmniSharp on Windows 6.2.9200.0 (x64)
info: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 3 MSBuild instance(s)
1: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
2: Visual Studio Community 2017 15.9.28307.858 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
3: StandAlone 16.0 - "C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4.msbuild\Current\Bin"
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

Any news?

Is there any solution available now for this problem?

@alvasnet Does this still reproduce for you with the latest version of the plugin? The issue seems to be related to OmniSharp initialization and/or project loading, which will prevent any IntelliSense from getting triggered.

Starting OmniSharp server at 16.05.2020, 20:11:22
Target: c:\work\js\WebPost
OmniSharp server started.
Path: c:\Users\alex.vscode\extensions\ms-dotnettools.csharp-1.21.18.omnisharp\1.35.1\OmniSharp.exe
PID: 14424
[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

@alvasnet Does this happen with every project you try and open or just a particular one? If it is a particular project, can you share it as a repro?
Also, if you update the omnisharp.loggingLevel to be debug do you get any additional details in your Omnisharp log?

@JoeRobich My latest Omnisharp log with omnisharp.loggingLevel: debug:
Starting OmniSharp server at 17.05.2020, 19:40:31
Target: c:\work\js\WebPost
OmniSharp server started.
Path: c:\Users\alex.vscode\extensions\ms-dotnettools.csharp-1.21.18.omnisharp\1.35.1\OmniSharp.exe
PID: 5752
    Loaded OmniSharp.Cake, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.DotNetTest, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.MSBuild, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Roslyn, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Roslyn.CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Script, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Loaded OmniSharp.Shared, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null

    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 3 MSBuild instance(s)
        1: Visual Studio Community 2019 16.5.30104.148 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: Visual Studio Community 2017 15.9.28307.1064 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
        3: StandAlone 16.4 - "c:\Users\alex\.vscode\extensions\ms-dotnettools.csharp-1.21.18\.omnisharp\1.35.1\.msbuild\Current\Bin"

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Utilities.Core.dll' (name-only).

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Tasks.Core.dll' (name-only).

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.dll' (name-only).

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Framework.dll' (name-only).

    Registered MSBuild instance: Visual Studio Community 2019 16.5.30104.148 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"

    Attempting to resolve 'Microsoft.Build.Utilities.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Utilities.Core.dll' (name-only).

    Attempting to resolve 'Microsoft.Build.Framework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Framework.dll' (name-only).

    Attempting to resolve 'Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll'.

    Attempting to resolve 'Microsoft.CodeAnalysis.VisualBasic.Features, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.VisualBasic.Features.dll'.

    Attempting to resolve 'Microsoft.CodeAnalysis.Workspaces.resources, Version=<IP_ADDRESS>, Culture=ru-RU, PublicKeyToken=31bf3856ad364e35'

    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.Workspaces.resources.dll'.

    Attempting to resolve 'Microsoft.CodeAnalysis.Workspaces.resources, Version=<IP_ADDRESS>, Culture=ru-RU, PublicKeyToken=31bf3856ad364e35'

    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.Workspaces.resources.dll'.

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).
info: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in 'c:\work\js\WebPost'.
info: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
Attempting to resolve 'Microsoft.Build'
dbug: OmniSharp.MSBuild.Discovery.MSBuildLocator
SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.dll' (name-only).
dbug: OmniSharp.MSBuild.ProjectSystem
MSBuild environment:
Mode: VisualStudio
RunningTests: False
RunningInVisualStudio: False
MSBuildToolsDirectory32: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
MSBuildToolsDirectory64: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64
MSBuildSDKsPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Sdks
CurrentMSBuildConfigurationFile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe.config
CurrentMSBuildExePath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe
CurrentMSBuildToolsDirectory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin
VisualStudioInstallRootDirectory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
MSBuildExtensionsPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild
    No solution files found in 'c:\work\js\WebPost'

The log file indicates there is no solution file to process, but there's no failure to load a project. Do you have a repro that could be shared?

A lot has changed with O# project loading since this issue was opened. If you are still running into problems, please open a new issue at https://github.com/OmniSharp/omnisharp-roslyn/issues


Cloud firestore 2.x

Hello,
Since the update of cloud firestore the format of the documentsnapshot has changed. I can no longer extract my data. could you help me?
Thank you updated

hello @damda58 ,
here is a code snippet you can adapt for your need. let me know if that helps or if you have any further questions.
 // this is the snap data you get from firestore
...utilisateur...

Map<String, dynamic> snapData = utilisateur.exists ? utilisateur.data() : Map();

// now you can read any value from snapData for it is a Map
// for example
snapData.containsKey('id') ? snapData['id'] as String : '';

Thanks a lot for your help ! it works wonderfully

sounds good, you welcome


Reduce visualization endpoint queries

This closes #12058
This also needs @CartoDB/frontend 👀  Please, could you take a look at the impact of the JS change? I'm not sure if this could break something.
Note: you can add test data to an account with this rake:
$ RAILS_ENV=staging bundle exec rake cartodb:import['j-ded06','/home/ubuntu/www/production.cartodb.com/current/./spec/support/data/guess_country.csv',350]
Acceptance

Create an analysis including target node in a account with >300 datasets. Table listing shouldn't take longer than ~2s.
Whatever frontend-savvy folks add to check that this doesn't break anything 😅

^ I'd stress the importance of the 2nd point, as I'm not sure of the impact of the JS change.

🤔 Found a weird thing. In production, this requests pages of 1000 visualizations. With this PR (in staging), it requests pages of 20 visualizations:

It is indeed faster (but it is cheating a lot, so how could it not, haha), and checked the dashboard and add layer dialogs for regressions, they seem to work ok.
Not giving the green light until the first point get clarified, not sure if it is on purpose or not (it doesn't look like it).

Did a quick try in staging before CR. Times in staging for 341 datasets:
Before this PR 9s
After this PR 2.5s

Yup. Previously it was ~1 order of magnitude faster, but a JS error appeared if table is not loaded.

Ok then. I think this is ready to go then. Maybe take a look at the last commit (even though it's trivial), but we should be good.

As this changes JS and I'm not aware of the scope of this kind of modification, I'd gentle ask for acceptance to any @CartoDB/frontend folk, as I mentioned earlier 🤗  .

This works pretty well. I found what I thought it was an issue but in fact is the real behaviour: in the connect with line to target analysis, only the point datasets are shown. So when I tried with the find nearest analysis, the numbers didn't match. But like I said, this is the behaviour. So far, so good.


Number of Epochs to run training is not propagated

Hi,
When trying to retrain a cellpose model I realised that even if the number of epochs to train is increased, the default (500 epochs) is used. The n_epochs argument in __main__.py is apparently not used. Adding n_epochs=args.n_epochs  to model.train(line 231/232) solved the issue for me.

thanks, arg fixed now!


Spellsitter not working anymore with treesitter highlight

Only comments still working with enable = true. Nvim 0.6
Minimal configuration:
require'nvim-treesitter.configs'.setup {
  -- One of "all", "maintained" (parsers with maintainers), or a list of languages
  ensure_installed = "maintained",

  -- Install languages synchronously (only applied to `ensure_installed`)
  sync_install = false,

  -- List of parsers to ignore installing
  ignore_install = { "javascript" },

  highlight = {
    -- `false` will disable the whole extension
    enable = true,

    -- list of language that will be disabled
    disable = { "c", "rust" },

    -- Setting this to true will run `:h syntax` and tree-sitter at the same time.
    -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
    -- Using this option may slow down your editor, and you may see some duplicate highlights.
    -- Instead of true it can also be a list of languages
    additional_vim_regex_highlighting = false,
  },
}
require('spellsitter').setup()

This isn't the best bug report.
What are you experiencing and expecting?

Expect: Working spelling with treesitter highlight. But withotu vim_regex - not working. I have set string_literal for rust in queries - for example:
https://user-images.githubusercontent.com/96663334/147830899-589c6847-f76f-4eb1-8185-0e12c57fbba2.mp4

This isn't the best bug report.
What are you experiencing and expecting?

Treesitter highlight hides spell syntax of spellsitter.

Hi, isn't this a major drawback? The main reason I use this plugin is to be able to use the TreeSitter features with spell checking. Now I have to decide between TreeSitter highlighting XOR spell checking? Is this really intended?

So spellsitter now uses set spell to be enabled/disabled. Normally if you run set spell without spellsitter installed you will get spell errors everywhere (including in code). Spellsitter just restricts this so only comments and strings are spell checked.

It doesn't work if I set it in the init.vim, then the code is spellchecked as well (syntax unaware). Is this intended?

That's not intended. Something funky must be going on. I have vim.opt.spell = true in my init.lua and it works fine.

Output is:
No Syntax items defined for this buffer
```

Ok, well that's the problem. Something is clearing the syntax elements.
For context, when spellsitter attaches to a buffer it should run syntax cluster Spell contains=NONE which disables the legacy spellchecker. This can only be cleared with syntax off of syntax clear, so something in your config must be donig this.

Try #55


module name consistency

for consistency, we should either have dattri.metric, dattri.benchmark, dattri.algorithm, OR dattri.metrics, dattri.benchmarks, dattri.algorithms

We could remove "s" under dattri, since it's a bit weird to have dattri.funcs


Add names to tuple fields of FixedPoint UDT

Add names to tuple fields of FixedPoint UDT
Current status
There are currently no tuple field names, which makes it not as easy to access, e.g., the qubit array field.
Proposal
New and modified functions, operations, and UDTs
Modify Microsoft.Quantum.Arithmetic.FixedPoint UDT as follows:
newtype FixedPoint = (integerBits : Int, register : Qubit[]);

Examples
Current status
operation MyOp(fp : FixedPoint) : Unit {
  let register = Snd(fp!);
  // do something with register
}

or
operation MyOp(fp : FixedPoint) : Unit {
  let (_, register) = fp!;
  // do something with register
}

Using proposed changes
operation MyOp(fp : FixedPoint) : Unit {
  let register = fp::Register;
  // do something with register
}

Proposal
New and modified functions, operations, and UDTs
Modify Microsoft.Quantum.Arithmetic.FixedPoint UDT as follows:
newtype FixedPoint = (integerBits : Int, register : Qubit[]);

Current style guide suggests using PascalCase for UDT names:
newtype FixedPoint = (IntegerBits : Int, Register : Qubit[]);

I think that aligns with the examples below as well?

Using proposed changes
operation MyOp(fp : FixedPoint) : Unit {
  let register = fp::Register;
  // do something with register
}

Thanks for catching this @cgranade. PascalCase was indeed intended. It's updated now.


1.9.1 iOS Crash GLEngine  in main thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_NO_ACCESS at 0x0000000000000008
Crashed Thread:  0

Thread 0 Crashed:
0   GLEngine                        0x00000001a5519068 gleLLVMVecLightBackTransform + 3068
1   GLEngine                        0x00000001a55163bc gleLLVMVecLightFrontTransform + 13296
2   GLEngine                        0x00000001a54da1e0 gleAccumFast + 1440
3   Flutter                         0x000000010c29108c GrGLGpu::sendIndexedMeshToGpu(GrPrimitiveType, GrBuffer const*, int, int, unsigned short, unsigned short, GrBuffer const*, int, GrPrimitiveRestart) + 2461836 (GrGLGpu.cpp:2518)
4   Flutter                         0x000000010c2913d0 non-virtual thunk to GrGLGpu::sendIndexedMeshToGpu(GrPrimitiveType, GrBuffer const*, int, int, unsigned short, unsigned short, GrBuffer const*, int, GrPrimitiveRestart) + 2462672 (GrGLGpu.cpp:0)
5   Flutter                         0x000000010c298aec GrGLGpuRTCommandBuffer::onDraw(GrPrimitiveProcessor const&, GrPipeline const&, GrPipeline::FixedDynamicState const*, GrPipeline::DynamicStateArrays const*, GrMesh const*, int, SkRect const&) + 2493164 (GrGLGpuCommandBuffer.h:100)
6   Flutter                         0x000000010c208bac GrGpuRTCommandBuffer::draw(GrPrimitiveProcessor const&, GrPipeline const&, GrPipeline::FixedDynamicState const*, GrPipeline::DynamicStateArrays const*, GrMesh const*, int, SkRect const&) + 1903532 (GrGpuCommandBuffer.cpp:89)
7   Flutter                         0x000000010c20bab8 GrOpFlushState::executeDrawsAndUploadsForMeshDrawOp(GrOp const*, SkRect const&, GrProcessorSet&&, GrPipeline::InputFlags, GrUserStencilSettings const*) + 1915576 (GrOpFlushState.cpp:63)
8   Flutter                         0x000000010c25a6a0 GrSimpleMeshDrawOpHelperWithStencil::executeDrawsAndUploads(GrOp const*, GrOpFlushState*, SkRect const&) + 2238112 (GrSimpleMeshDrawOpHelper.cpp:190)
9   Flutter                         0x000000010c21e898 GrOp::execute(GrOpFlushState*, SkRect const&) + 1992856 (GrOp.h:167)
10  Flutter                         0x000000010c21e5c0 GrRenderTargetOpList::onExecute(GrOpFlushState*) + 1992128 (GrRenderTargetOpList.cpp:531)
11  Flutter                         0x000000010c201c2c GrDrawingManager::flush(GrSurfaceProxy**, int, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrPrepareForExternalIORequests const&) + 1874988 (GrDrawingManager.cpp:458)
12  Flutter                         0x000000010c202644 GrDrawingManager::flushSurfaces(GrSurfaceProxy**, int, SkSurface::BackendSurfaceAccess, GrFlushInfo const&) + 1877572 (GrDrawingManager.cpp:505)
13  Flutter                         0x000000010c21d3e0 GrRenderTargetContext::flush(SkSurface::BackendSurfaceAccess, GrFlushInfo const&) + 1987552 (GrRenderTargetContext.cpp:1984)
14  Flutter                         0x000000010c2af1e8 SkGpuDevice::flush() + 2585064 (SkGpuDevice.cpp:1630)
15  Flutter                         0x000000010c41edcc std::__1::__function::__func<flutter::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_1, std::__1::allocator<flutter::GPUSurfaceGL::AcquireFrame(SkISize const&)::$_1>, bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*&&) + 4091340 (functional:1572)
16  Flutter                         0x000000010c0be244 flutter::SurfaceFrame::Submit() + 549444 (surface.cc:30)
17  Flutter                         0x000000010c0ad328 flutter::Rasterizer::DrawToSurface(flutter::LayerTree&) + 480040 (rasterizer.cc:261)
18  Flutter                         0x000000010c0ae198 std::__1::__function::__func<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >)::$_0, std::__1::allocator<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >)::$_0>, void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&) + 483736 (rasterizer.cc:166)
19  Flutter                         0x000000010c0ad638 flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >) + 480824 (pipeline.h:148)
20  Flutter                         0x000000010c0b34d4 std::__1::__function::__func<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >)::$_28, std::__1::allocator<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >)::$_28>, void ()>::operator()() + 505044 (functional:1572)
21  Flutter                         0x000000010c06d7b4 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 219060 (message_loop_impl.cc:139)
22  Flutter                         0x000000010c071ce8 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 236776 (message_loop_darwin.mm:76)
23  CoreFoundation                  0x000000018a458190 _CFCalendarCreateMatchingDateAfterStartDateMatchingComponents + 2936
24  CoreFoundation                  0x000000018a457ea8 _CFCalendarCreateMatchingDateAfterStartDateMatchingComponents + 2192
25  CoreFoundation                  0x000000018a45751c _CFCalendarEnumerateDates + 6492
26  CoreFoundation                  0x000000018a452274 __CFRunLoopDoSources0 + 52
27  CoreFoundation                  0x000000018a4518f4 CFRunLoopTimerIsValid + 112
28  GraphicsServices                0x0000000194868604 _GSSendEvent + 192
29  UIKitCore                       0x000000018e625358 -[UIWindow _rotateWindowToOrientation:updateStatusBar:duration:skipCallbacks:] + 400
30  XXX                            0x0000000102050058 main + 16472 (main.m:34)
31  libdyld.dylib                   0x000000018a2cd2dc 0x18a2cc000 + 4828

       0x10b8d0000 -        0x10beeffff  Flutter arm64  <a664db8ddb7f3b08989e70c9c4846905> /private/var/containers/Bundle/Application/681D7E28-D799-430C-AEC6-A04DAED68EBF/LJShell.app/Frameworks/Flutter.framework/Flutter

Hi @AKZHW
Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

hello, I Corrected the Flutter.framework version  it's
0x10ab8c000 -        0x10b1d7fff  Flutter arm64   /private/var/containers/Bundle/Application/3623FC4B-389A-4876-9BF0-3ABC66CFEDE3/xxx.app/Frameworks/Flutter.framework/Flutter
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.15.4 19E287, locale zh-Hans-CN)
• Flutter version 1.9.1+hotfix.6
• Framework revision 68587a0916 (10 个月前), 2019-09-13 19:46:58 -0700
• Engine revision b863200c37
• Dart version 2.5.0

Hi @AKZHW
I'm not sure what do you mean "I Corrected the Flutter.framework version "
Still looks like you've an issue in 1.9.1 flutter channel,
Can you upgrade to stable and try again
flutter channel stable
flutter upgrade --force
flutter doctor -v
If the problem persist,  can you please provide your flutter doctor -v with upgrade, your flutter run --verbose, your pubspec.yaml and  the list of affected devices and if possible your flutter run --release --verbose running on the same OS version as the affected devices.
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Review/fix case sensitive Terraform inputs

Terraform ignores case sensitivity in most cases for AWS, GCP and Azure (I haven't checked other providers). The aim of this GH issue is to review and update all existing cloud resources to ensure that:

case-insensitive string comparison are used, e.g.:
Bad: input == "large"
Good: strings.ToLower(input) == "large"
We might be able to grep for something like == " to review/fix them all.

case-insensitive Value or ValueRegex price filters are used for any user input, e.g.:
Bad: {Key: "virtualInterfaceType", ValueRegex: strPtr(fmt.Sprintf("/%s/", virtualInterfaceType))},
Good: {Key: "virtualInterfaceType", ValueRegex: strPtr(fmt.Sprintf("/%s/i", virtualInterfaceType))},  # notice the /i in the regex
We might be able to grep for something like , Value to review/fix them all.

As part of this issue, we should also update the contributing guide.

Is this issue open to take? I am new and would like to learn and contribute since it is tagged as the good first issue.

@krishnaindani sure! Thanks for offering to help.

@krishnaindani sure! Thanks for offering to help.

My pleasure and thank you for giving me a chance to work on it. I will go through a bit and may ask some questions before getting started.

While going through code I see there is a lot of comparisons in the internal/providers directory where it is something like let's say input == "LARGE".  Do we need to fix them all with strings.ToLower(input) == "large" to convert everything to lower case for comparison

@krishnaindani yep, the internal/providers/terraform contains the files that need to be reviewed and fixed. I think the tests should not need to be changed and they should continue to pass, but feel free to post here if you find a test that looks like it needs to be changed.

@krishnaindani yep, the internal/providers/terraform contains the files that need to be reviewed and fixed. I think the tests should not need to be changed and they should continue to pass, but feel free to post here if you find a test that looks like it needs to be changed.

Thanks. Yeah from the few changes with the aws I don't see the changes are required for the tests. But will continue to check more on AWS and on GCP and azure as well.

@alikhajeh1 I have pr in which I have updated the code for the first which is string comparison. But while going through the second one which is Value or ValueRegex filters, I have few questions. From what I see in the regex package and what I understand, adding i will do case insensitive comparison, correct? For example, if I take this {Key: "usagetype", ValueRegex: strPtr("/PaidPrivateCA/")} and update to {Key: "usagetype", ValueRegex: strPtr("/paidprivateca/i")}, will it be correct comparison? Would you be able to provide an example when using Value instead of ValueRegex? Thank you.

From what I see in the regex package and what I understand, adding i will do case insensitive comparison, correct? For example, if I take this {Key: "usagetype", ValueRegex: strPtr("/PaidPrivateCA/")} and update to {Key: "usagetype", ValueRegex: strPtr("/paidprivateca/i")}, will it be correct comparison?

Correct! However, in your example above, no variables are being used, thus there is no need to add the /i. If it was {Key: "usagetype", ValueRegex: strPtr(fmt.Sprintf("/%s-PaidPrivateCA/", userVariable))} then the /i would be needed as we do not know if userVariable will have lower or upper case letters.

Would you be able to provide an example when using Value instead of ValueRegex? Thank you.

Sure, here are two examples:

In this example, no changes are needed since the filter is a hard-coded string so we are sure that the case-sensitivity is ok.

In this example, a change is required since machineType is a variable that users control. The fix would be to change that line to {Key: "machineType", ValueRegex: strPtr(fmt.Sprintf("/%s/i", machineType))} (notice the /i).

From what I see in the regex package and what I understand, adding i will do case insensitive comparison, correct? For example, if I take this {Key: "usagetype", ValueRegex: strPtr("/PaidPrivateCA/")} and update to {Key: "usagetype", ValueRegex: strPtr("/paidprivateca/i")}, will it be correct comparison?

Correct! However, in your example above, no variables are being used, thus there is no need to add the /i. If it was {Key: "usagetype", ValueRegex: strPtr(fmt.Sprintf("/%s-PaidPrivateCA/", userVariable))} then the /i would be needed as we do not know if userVariable will have lower or upper case letters.

Would you be able to provide an example when using Value instead of ValueRegex? Thank you.

Sure, here are two examples:

In this example, no changes are needed since the filter is a hard-coded string so we are sure that the case-sensitivity is ok.
In this example, a change is required since machineType is a variable that users control. The fix would be to change that line to {Key: "machineType", ValueRegex: strPtr(fmt.Sprintf("/%s/i", machineType))} (notice the /i).

That makes sense. Thanks.

@krishnaindani any update on this? We can take the old PR and run with it as it looked pretty close - or maybe a send a partial PR that fixes some of them and we can do the rest.

@krishnaindani any update on this? We can take the old PR and run with it as it looked pretty close - or maybe a send a partial PR that fixes some of them and we can do the rest.

My apologies, I got caught up with something past sometime. I am planning to get ready with the changes by the EOW, does that works?

Thanks @krishnaindani - that would be awesome! It can go into next week's release.

Great, Thanks for waiting!!

@alikhajeh1 should I split in three different PR's one for azure, google, and aws each. That way it would be easier for the review and testing as well. What are your thoughts?

@krishnaindani good idea - smaller PRs are easier to review/test

Thank you for updating the task list, will make azure next. Last time you were mentioning you can provide me some temporary credentials for Azure, would you still be able to do that?

@krishnaindani thanks for that! Since this is a one-off, I can just run the tests against the Azure PR and paste in any issues if that's ok with you?

@krishnaindani thanks for that! Since this is a one-off, I can just run the tests against the Azure PR and paste in any issues if that's ok with you?

Sounds good, that works.

I have noticed this while running lint stage.
➜ make lint
golangci-lint run
WARN [runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner.  Replaced by revive.

Do you plan to migrate to revive? I can work on this next if you plan to. @alikhajeh1

@krishnaindani thanks for sticking with this issue through completion!
Re golint, @aliscott WDYT?

@krishnaindani thanks for sticking with this issue through completion!

Thank you so much for your patience and for letting me work on this. Looking forward to contributing more to this project. Let me know if there is any other work I can pick up. I will keep eye on board though.


Clear functionality doesn't seem to work

Workflow:
Searched for "darude sandstorm". Played it. Then paused it. Cleared it from queue. Then added "remember me" from coco. When I typed resume it played darude sandstorm instead of "remember me".
Logs:
Please enter the song you are searching for: darude sandstorm
Enter control option (Type 'help' for list of available options): help
add [song] - Adds [song] to the queue
clear - Clears the queue
pause - Pause the current song
resume - Resumes the current song
queue - Prints the current queue
skip - Plays the next song in queue
cur - Get the title of the current song
time - Get the time of the current song
prev - Get the title of the previous song
rewind - Restart the current song
remove [pos] - Removes the song in position [pos] from the q
exit - Exits the program
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): pause
Pausing 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): clear
Cleared the queue.
Enter control option (Type 'help' for list of available options): add remember me coco
Added 'remember me coco' to queue.
Enter control option (Type 'help' for list of available options): play
Option 'play' not supported.
Enter control option (Type 'help' for list of available options): resume
Resuming 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options): skip
Skipping 'Darude - Sandstorm'.
Enter control option (Type 'help' for list of available options):

When a song is playing, its not in the queue anymore. If you type queue while the song is paused youll see that it doesnt show in the queue.


Update dbc.py

BUG fixing:
Prevents ValueError in case of  result = message_attributes['GenMsgSendType'].value is a String value.
Necessary in case of Evnet-based sending like in that dbc attribute expression:
BA_ "GenMsgSendType" BO_ 1373 "Event";
BA_ "GenMsgCycleTime" BO_ 1373 0;
in Vector CANdb++ generated dbcs.
Greetings Maurice

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
138 unchanged lines in 18 files lost coverage.
Overall coverage decreased (-2.0%) to 93.021%

Files with Coverage Reduction
New Missed Lines
%

cantools/database/diagnostics/database.py
1
93.62%

cantools/database/can/signal.py
2
95.76%

cantools/subparsers/plot.py
2
97.58%

cantools/tester.py
2
95.26%

cantools/database/can/attribute.py
4
77.78%

cantools/database/can/formats/arxml.py
4
92.29%

cantools/database/can/formats/dbc.py
5
98.42%

cantools/database/can/node.py
6
78.0%

cantools/database/can/signal_group.py
6
72.0%

cantools/logreader.py
6
92.45%

Totals

Change from base Build<PHONE_NUMBER>:
-2.0%

Covered Lines:
6158

Relevant Lines:
6620

💛  - Coveralls

Hi all, please approve that request, solving a Vector dbc parsing issue in case of Event based and not Cyclic messages.

The code itself looks fine to me, but unfortunately I've got no idea whether what it does is correct or not.
@juleq: Can you assess that?

@Mrc1979: one thing: could you please add or modify a test case so that this new code is triggered?

Hi Andreas, there had been an issue when identifying event-based messages. Is not a big one but it prevents cantools running through properly. With my change a sending type, not based on a numeration is accepted. That is the case if you define an event based sending, not a cyclic one as often applied.
Greetings Maurice
BlueMail for Android herunterladen
Am 24. Feb. 2022, 18:15, um 18:15, Andreas Lauser @.***> schrieb:

The code itself looks fine to me, but unfortunately I've got no idea
whether what it does is correct or not.

@.***: Can you assess that?

--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1050076063
You are receiving this because you authored the thread.
Message ID: @.***>

Sorry forgot: Without that line a standard DBC file, e g. created by CANeditor++ of Vector causes by literal mismatch a ValueError.
If needed I can demonstrate.
BlueMail for Android herunterladen
Am 24. Feb. 2022, 18:15, um 18:15, Andreas Lauser @.***> schrieb:

The code itself looks fine to me, but unfortunately I've got no idea
whether what it does is correct or not.

@.***: Can you assess that?

--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1050076063
You are receiving this because you authored the thread.
Message ID: @.***>

Hi Andreas, I'm working in company in which we for measurements defined the DBC files. So for a test case I cannot deliver a DBC. Can you send me and link to testing function for unit Test placed for that package then I try to adapt using one of the cantools dbcs for evaluation purposes. Greetings Maurice
BlueMail for Android herunterladen
Am 24. Feb. 2022, 18:16, um 18:16, Andreas Lauser @.> schrieb:
@.: one thing: could you please add or modify a test case so that

this new code is triggered?
--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1050077190
You are receiving this because you were mentioned.
Message ID: @.***>

So for a test case I cannot deliver a DBC.

If you're talking about files that are used in production that's fair enough. (I would be very surprised if you could.)

Can you send me and link to testing function for unit Test placed for that package then I try to adapt using one of the cantools dbcs for evaluation purposes

How about modifying e.g. motohawk.dbc. Alternatively you can also  also create a synthetic one from scratch if this is easier. After that, tickle the new code in e.g. one of the database tests.

Hi Andreas, ok, I will try tomorrow. Greetings Maurice
BlueMail for Android herunterladen
Am 24. Feb. 2022, 22:26, um 22:26, Andreas Lauser @.***> schrieb:

So for a test case I cannot deliver a DBC.

If you're talking about files that are used in production that's fair
enough. (I would be very surprised if you could.)

Can you send me and link to testing function for unit Test placed for
that package then I try to adapt using one of the cantools dbcs for
evaluation purposes

How about modifying e.g.
motohawk.dbc.
Alternatively you can also  also create a synthetic one from scratch if
this is easier. After that, tickle the new code in e.g. one of the
database
tests.
--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1050280463
You are receiving this because you were mentioned.
Message ID: @.***>

Cool I checked motohawk.dbc, will be easy to extend for a test case I think 👍
BlueMail for Android herunterladen
Am 24. Feb. 2022, 22:26, um 22:26, Andreas Lauser @.***> schrieb:

So for a test case I cannot deliver a DBC.

If you're talking about files that are used in production that's fair
enough. (I would be very surprised if you could.)

Can you send me and link to testing function for unit Test placed for
that package then I try to adapt using one of the cantools dbcs for
evaluation purposes

How about modifying e.g.
motohawk.dbc.
Alternatively you can also  also create a synthetic one from scratch if
this is easier. After that, tickle the new code in e.g. one of the
database
tests.
--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1050280463
You are receiving this because you were mentioned.
Message ID: @.***>

Hello @Mrc1979.
Is there a reason that you do not use the usual way of using the ENUM that Vector predefines (or you can create it yourself in CANdb++) for GenMsgSendType in dbc templates like the Vector_IL one? That way you have the advantage of using predefined strings from a drop down, which is safer then allowing a custom STRING. The type of the attribute is INT then, because it stores the index of the selected ENUM value. Example:
BA_DEF_ BO_  "GenMsgSendType" ENUM  "Cyclic","Event","NotUsed","NoMsgSendType"; BA_DEF_DEF_  "GenSigSendType" "Cyclic"; BA_ "GenMsgSendType" BO_ 42 1;
Line 1: The BA_DEF_ BO_ is the attribute definition. Its type is ENUM.
Line 2: For some funny reason, Vector themselves use a STRING to define the default value for this definition instead of setting it to 0.
Line 3: This is setting the attributes value to 1 (Event, a custom value that I have added to the ENUM in CANdb++) and references it to a message with id 0x2A.
Note: You can add new and edit existing ENUMs in CANdb++ -> View -> Attribute Definitions. Take case that you select the right one to edit, you can also reference to signals (GenSIGSendType).
The funny reason in line 2 would make me open for the requested change in your PR. Good that you do a test for that. You could also detail your usage of cantools that revealed this error for you by showing us the commands or lines you were using. Kind of like you did initially but a little more context before the code line and the relevant BA_DEF_ and BA_DEF_DEF_ lines of your dbc.

Hello. I am also facing the same issue. Kindly offer support here. Thank you.

@andlaus Hi Andreas,
me and a friend (@vignesRectifier) tested our implementation and extended the given tests by another unit test.
You se in the log that with my small fix a file using the Event-Flag directly created via CANdb++ can be rea in and handled without throwing the mentioned value error.
UnitTest_Final_Console.txt
UnitTest_Error_Console.txt

I will add the test dbc and test_database.py entension to the PR...

Did try @andlaus proposal, but it failed two tests. I do not have time to get into it, was probably the double exception trickery there. Since coverage is good for attributes, I´ll merge.

Thank you for the extension.. now we are eagerly waiting for the next release..

Hi Jule, many thanks for fast release. Have a nice weekend. Greetings Maurice
BlueMail for Android herunterladen
Am 11. März 2022, 12:50, um 12:50, juleq @.***> schrieb:

The wait is almost over. Give PyPI 10 minutes and you should be able to
use your contribution with 37.0.7.
--
Reply to this email directly or view it on GitHub:
https://github.com/cantools/cantools/pull/402#issuecomment-1065041993
You are receiving this because you were mentioned.
Message ID: @.***>


customMarkup is not accessible from the latest pod

Release a 0.7.1 version with the latest code here would be ideal

1.0.0 beta release with support for this is now out.


Write a Kotlin program to divide two numbers

Description
Write a Kotlin program to divide two numbers
Input  : 2 4
Output : 0.5

How to contribute

Save the solution in DivideTwoNumbers.kt file
Add DivideTwoNumbers.kt file in divide-two-numbers folder

!assign


Potential race condition in FileOperationsHandler

Description
The file contains the class ProgressHandler whose methods AddOperation, RemoveOperation, and UpdateOperation may be called in parallel judging from the use of ConcurrentDictionary. All three methods invoke UpdateTaskbarProgress which ultimately uses the property Progress:
https://github.com/files-community/Files/blob/3a8da90d8009010d699a1c94df9b2420d97c06fa/Files.Launcher/MessageHandlers/FileOperationsHandler.cs#L809-L816
The property makes use of the field operations of type ConcurrentDictionary. Now, to compute the actual progress, it uses a combination of LINQ-Statements. I assume the intent of ToList here is to create a snapshot/copy of the operations dictionary to run the Where method on it safely. Unfortunately, the ToList method uses an optimized copy-mechanism for collections that implement the ICollection interface, which ConcurrentDictionary does. It first retrieves the length of the source collection, initializes the internal data structure accordingly, and copies the values after that; thus, there’s a race condition between the initialization and the copy-mechanism. You can see this behavior within the reference source:

Enumerable.ToList
List

Steps To Reproduce
Due to the nature of race conditions, it's hard to reproduce the error in the actual code (and probably unlikely to occur). However, you can reproduce the race condition with the following example:
public class Program {
  private static ConcurrentDictionary<int, int> dictionary = new();

  static async Task Main() {
    Console.WriteLine("starting");
    var producer = Task.Run(Produce);
    CreateToListCopies();
    await producer;
    Console.WriteLine("completed");
  }

  private static void Produce() {
    for(int i = 0; i < 100_000_000; i++) {
      dictionary.TryAdd(i, i);
    }
    Console.WriteLine("finished producing");
  }

  private static void CreateToListCopies() {
    for(int i = 0; i < 100_000_000; i++) {
      dictionary.ToList();  // race condition that leads to System.ArgumentException
      //dictionary.ToArray(); // no race condition, ToArray() correctly creates a snapshot
    }
    Console.WriteLine("finished copying");
  }
}

Expected behavior
The straightforward fix is replacing the invocation of LINQ’s ToList with ToArray implementation of ConcurrentDictionary. Alternatively, you can apply ToList after the Where clause to not have a race condition between Any and Average (GetEnumerator does not create a snapshot but is thread-safe).
Files Version
latest commit to the main branch:  fe684bc; latest commit to the document: 3a8da90
Windows Version
any
Relevant Assets/Logs
none

This issue should be resolved with #7201.


fix(env): fix sample env file formatting

On the line defining L2_THROWAWAY_BLOCK_BUILDER_PRIVATE_KEY there was a space at the end, then a comment. This was causing the following error:
"invalid throwaway blocks builder private key: invalid hex character ' ' in private key"

Merged, thanks for the contribution!


option usage confusion.

https://github.com/gdub22/ember-cli-less/issues/16

Closing in favour of #39


Adding Public Identifier to Events.

Summary of the Pull Request
What is this about?
PR Checklist

[ ] Applies to work item: #xxx
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

Codecov Report

Merging #2705 (8843fed) into main (abcfa4f) will increase coverage by 0.90%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2705      +/-   ##
==========================================
+ Coverage   28.81%   29.72%   +0.90%
==========================================
  Files         299      264      -35
  Lines       36893    30772    -6121
==========================================
- Hits        10632     9147    -1485
+ Misses      26261    21625    -4636

Impacted Files
Coverage Δ

src/ApiService/ApiService/OneFuzzTypes/Events.cs
82.44% <ø> (ø)

src/agent/onefuzz/src/machine_id.rs
11.53% <0.00%> (-8.98%)
:arrow_down:

src/agent/coverage-legacy/src/test.rs
92.85% <0.00%> (-7.15%)
:arrow_down:

src/agent/onefuzz/src/sanitizer.rs
68.65% <0.00%> (-2.97%)
:arrow_down:

src/agent/onefuzz-agent/src/worker/tests.rs
99.10% <0.00%> (-0.11%)
:arrow_down:

src/agent/onefuzz/src/asan.rs
0.00% <0.00%> (ø)

src/agent/onefuzz-agent/src/setup.rs
0.00% <0.00%> (ø)

src/agent/onefuzz-agent/src/reboot.rs
0.00% <0.00%> (ø)

src/agent/onefuzz/src/input_tester.rs
0.00% <0.00%> (ø)

src/agent/coverage-legacy/src/cache.rs
0.00% <0.00%> (ø)

... and 48 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

public record JobTaskStopped(

Do we need the [EventType()] attribute?

Refers to: src/ApiService/ApiService/OneFuzzTypes/Events.cs:132 in 8843fed. [](commit_id = 8843fed86e46ed806e68cbde2fb4b62215232f5e, deletion_comment = False)

public record JobTaskStopped(

Do we need the [EventType()] attribute?
Refers to: src/ApiService/ApiService/OneFuzzTypes/Events.cs:132 in 8843fed. [](commit_id = 8843fed, deletion_comment = False)

On reflection, the answer is no - this record is used as a type by another event TaskStopped. It's not meant to be an event.


Add reRaise and adaptError methods

Closes #112

I bet syntax extensions would be useful

@Odomontois done

I bet syntax extensions would be useful

Bet? Are you having gambling issues? :)

And what about the reraise syntax?

It would be nice to have exact reRaise syntax in the feither package


missing method: "SKPathOps::AsWinding"

There is a newer method AsWinding() in:
https://github.com/google/skia/blob/master/include/pathops/SkPathOps.h
It's supposed to help with the even-odd vs. winding problems in Boolean path operations. It would really be needed from SkiaSharp as well...

This is not part of the m68 release so it will only be available if a newer release is targeted

Well, considering that the whole Path Ops subsytem is nearly unusable because of that (of course, it also depends on which filling rule you actually need), what are our hopes?

To put it into some perspective: it seems that no matter what kind of paths you send into the operations, it always comes out in even-odd. This is the function that they added to fix it if you need it in non-zero (winding). Without the function, you simply can't work in non-zero mode at all because you can input but you can't use the output at all. And a rather large part of the world (fonts, PostScript, PDF and so on) uses the non-zero mode.

Thanks for brining this out, I am hoping to update to the latest skia soon, so we will get this method. I can't say exactly when, but I hope before the end of this year.

Hi, we're another user affected by this issue and other related bugs which have been fixed a long time ago in Skia but are not available in SkiaSharp.
From the discussion above perhaps it wasn't clear that these path related fixes are actually quite critical. But we can't test the fixes unless a corresponding version of SkiaSharp is released.
Xamarin usually provides same-day availability when release builds/GMs of new OSes and frameworks become available. What is the expectation regarding drops of SkiaSharp relative to builds of Skia? It has already been 9 months since the last release, so "sometime this year" is unfortunately too painful. Could we please have a new build soon (meaning days to weeks)?

SkiaSharp has only one maintainer so it is expected to take longer. How many people are working on Skia itself?

expected to take longer.

This is unfortunate. As detailed in the separate issue I opened, the regularity of builds was changed, after years, without any warning or notice to users. I certainly had no reason to "expect it to take longer."
Additionally, Skia is extremely complex to build, and therefore so is SkiaSharp. The maintainer has already released many, many builds in the past, so the incremental task of releasing a new build is far less for the maintainer than for anyone else. Plus, few people have all the devices needed to produce & test a cross-platform nuget, if that is what you're asking. IMHO this is not a good candidate for community contributions, unless the contributor happens to be a well-resourced company.

It is totally fine to start with all the Windows dependencies and add other platforms later. The build chain to compile everything is part of the repro so you only have to supply all dependencies that are needed to build for your target platform. On Windows this is mainly msbuild (VisualStudio).
The moment you create a pull request you can use DevOps to build for all platforms.
I am contributing to SkiaSharp myself and haven't had any issues building everything I need. This is all done in my free time.
The community can help bringing this project further.

At least m80 has this feature and it can be added.


stat_sinks: remove well_known_names

Signed-off-by: Long Dai<EMAIL_ADDRESS>
Commit Message:
Remove well_known_names in stat_sinks field, part of #7238
Additional Description:
Additional Description:
Risk Level: Low
Testing: functional
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

Please merge main.
/wait

@mattklein123 done.

In the future, please try to avoid force-pushing in Envoy PRs; it makes it harder to follow the comment history.

@jmarantz I would take care of it, thanks for review!

Don't rebase either. Below is what I do. I have to admit I am using git in the most basic way. I stay on a narrow path that limits me quite a bit in taking advantage of what git can do, but it seems to work for me :)
This is a script I call git-sync.
#!/bin/sh

function die() {
    echo $@
    exit 1
}

git status | grep -q "nothing to commit" || die "Uncommitted changes exist"

branch=$(git status|head -1|cut -f3 -d\ )
git checkout main
git fetch upstream
git reset --hard upstream/main
git push origin main --force --no-verify
git checkout "$branch"
git merge main

Why is this mess better than rebase/force-push? I don't know the answer to that deep question, except that rebase/force-push is very unfriendly to the github review flow, and the above works fine for me.

Good srcipt! I will do it. Thank you a lot @jmarantz

/wait

/wait


Allow database type selection

Right now we hardcode the database to be sqlite3, we should allow for a range of options to be defined by an environment variable and include drivers as necessary.

By design, this repo will not include any application logic any more. The api part and db part are some details of a dex, They have been moved to https://github.com/HydroProtocol/hydro-box-dex. Shall we move this issue to that repo?

That sounds fine as long as we can abstract it out of this package entirely. The current design expects a sqlite3 url, if the database is instead some sort of container you can query in an agnostic way from the backend code then that makes sense to me.
Another thought is maybe we should simply default to something production ready like postgres anyway.

We are already working on it. Please take a look at https://github.com/HydroProtocol/hydro-box-dex/tree/master/envs. I put some configs for different environments there. Docs is at https://github.com/HydroProtocol/hydro-box-dex/blob/master/manual/change-network.md. Will add a directory for production usage.

Understood, so when using the production env it will default to a postgres db?

Yes


add rdf4cpp

See https://github.com/rdf4cpp/rdf4cpp.
Maybe @bigerl can help in case I get stuck.

Finished in 9587f8b6b8c5ccea0c09629bde9603e0fbad95bc.
Thanks a lot to @bigerl!


[Feature request] pluggable data loading http2/http3

Platforms
dart, Android, iOS, Web, Linux
Description
I'd like to make use of http2/http3 for image loading using dio or my own http.client.
Atm. it seems that the package is using a static instance of http.client and doesn't allow to provide my own instance.

abstract class ImageDataLoader {
      ///get network image data from cached
  Future<Uint8List?> getNetworkImageData({   String url, {
    double scale,
    Map<String, String>? headers});
}

code
I'd like to use Dio to load the bytes since it supports h2 instead of the static http.client instance

  final dio = Dio()
    ..options.baseUrl = 'https://pub.dev'
    ..interceptors.add(LogInterceptor())
    ..httpClientAdapter = Http2Adapter(
      ConnectionManager(idleTimeout: Duration(seconds: 10)),
    );

  Response<String> response;
  response = await dio.get('/?xx=6');
  for (final e in response.redirects) {
    print('redirect: ${e.statusCode} ${e.location}');
  }

see https://github.com/cfug/dio/tree/main/plugins/http2_adapter  for more details on how the adapter works.
Why

[perf] improved performance of image loading by using faster transports
[extensibility] Allow using different data source without touching the lib e.g. local / different protocols e.g. UDP

Maybe you can create your own provider and implements it base on ExtendedNetworkImageProvider

@zmtzawqlp I could give a try, if this is worth a PR? and you think it's for the benefit of everyone.
just a word of warning I'm not a dart expert 😅

@zmtzawqlp I could give a try, if this is worth a PR? and you think it's for the benefit of everyone. just a word of warning I'm not a dart expert 😅

i think we should keep the library simple, and only use flutter official API.


[compiler] add constant mapping to source map

Motivation
This PR adds a mapping from constant pool indices to constant names in SourceMap. In a later PR, we will use the source map to support constants in move prover.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
cargo test

Submitting this PR so @tnowacki can take a look before I make too many mistakes.

@bors-libra r=tnowacki

:pushpin: Commit bcb9470 has been approved by tnowacki

:hourglass: Testing commit bcb94705c5eda53abbb22209a0674102aa355f5a with merge da85b396c1bf1cb6b1d295fc9fc0d7e71cc6c6ac...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: tnowacki
Pushing da85b396c1bf1cb6b1d295fc9fc0d7e71cc6c6ac to master...


12 add hold state

Addresses issue #12

As noted elsewhere, I am breaking out the functionality related to "problem" state from this PR.  Holds can be selected and persist in wallGridItem state.
See also:
https://github.com/nathan-saygers/Home-Rock-Gym-FE/issues/12
https://github.com/nathan-saygers/Home-Rock-Gym-FE/issues/26


Endpoints section contains full HTTP signature

Can the endpoints section contain a full HTTP signature including headers, querystring, and body? Or a link to an example?

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

ID: e50110dd-3c4d-6e42-8f71-332062279f30
Version Independent ID: 0ae0df0d-9fbb-861a-a50a-9e2f3792d6b1
Content: OAuth 2.0 and OpenID Connect protocols - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-v2-protocols.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@diberry Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

Please assign to me @SaurabhSharma-MSFT

#please-close  The associated protocol docs go at length about how to use each of the different auth protocols.  Providing that detail here is unnecessary and would effectively take 5 other pages of data and append it here.


Add new experimental preprocessor

#2473
Can be enabled by using WOODPECKER_EXPERIMENTAL_GO_PREPROCESSOR=true
The legacy pre-processor will run as well. If it should be disabled this can be done by setting: WOODPECKER_EXPERIMENTAL_DISABLE_LEAGAY_PREPROCESSOR=true
Both settings are un-documented and this PR will be hidden from changelogs, so we can test them first with ci.woodpecker-ci.org and elaborate if we should continue this path.

This will break usage where we use e.g. string replace or shortening within yaml!

This will break usage where we use e.g. string replace or shortening within yaml!

What do you mean. It will be opt-in!

What do you think about this approach? Am I missing important downsides?

In general a interesting approach. Could be a bit tedious to implement for all properties / yaml value types.
Something I would really like to be able to do is a basic tenary operation to do sth like:
steps:
  - name: docker build
    image: buildx
    settings:
      dry-run: {{ if eq .env.CI_PIPELINE_EVENT "pull_request"  }}true{{ else }}false{{ end }}

But I can also image options where it would be helpful to write sth like:
steps:
  - name: docker build
    image: buildx
    {{ if eq .env.CI_PIPELINE_EVENT "pull_request"  }}
    depends_on:
      - test
    {{ end }}
    settings:
      ...

What do you think about adding this pre-processor behind an un-documented feature flag in addition to the ${{ ... }} syntax for some time to test it, so we can simply remove it at any time again if we notice that it is too powerful / complicated, ...

Personally I'm very skeptical about this change, helm charts are using a similar approach and it has its problems, especially quirks with spaces etc, also it adds much complexity imho
Also it makes it invalid yaml file... For that should be used a different format, ex. starlak etc

The go templates can be provided using a config plugin. For the envsubst I am currently trying to create a version that would retain an env var if not set. Either based on https://github.com/a8m/envsubst or  https://github.com/drone/envsubst


Add propper VS Code setup to faq.md

Added instructions for debugging with Visual Studio Code and Chrome Dev Extensions.
React Boilerplate
Thank you for contributing! Please take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
Please open an issue before embarking on any significant pull request, especially those that
add a new library or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
Before opening a pull request, please ensure:

[ ] You have followed our contributing guidelines
[ ] double-check your branch is based on dev and targets dev
[ ] Pull request has tests (we are going for 100% coverage!)
[ ] Code is well-commented, linted and follows project conventions
[ ] Documentation is updated (if necessary)
[ ] Internal code generators and templates are updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the MIT License.

Something's not right with this PR. @schuster-rainer Can you fix this or send a fresh PR? :) Thanks.

This is already lading in https://github.com/react-boilerplate/react-boilerplate/pull/1698

Closed in favor of https://github.com/react-boilerplate/react-boilerplate/pull/1698


add axiswise granularity to Float8Tensor

Summary:
This is a copy-paste of https://github.com/pytorch-labs/float8_experimental/pull/352
which never landed.
Test Plan:

Reviewers:
Subscribers:
Tasks:
Tags:

Stack from ghstack (oldest at bottom):

(to be filled)


Xamarin Binding Projects Migration

possibly add a new property
other itemgroups should stay the same
GET CLARIFICATION LATER cc @maddyleger1

https://github.com/xamarin/xamarin-android/blob/main/Documentation/guides/OneDotNetBindingProjects.md#migration-considerations
For Android lib, need to add these
<!-- Opt out of C#8 features to maintain compatibility with legacy -->
   <AndroidBoundInterfacesContainConstants>false</AndroidBoundInterfacesContainConstants>
   <AndroidBoundInterfacesContainTypes>false</AndroidBoundInterfacesContainTypes>
   <AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>false</AndroidBoundInterfacesContainStaticAndDefaultInterfaceMethods>
   ```


Play video on page load

how to play video on On page load..?

Ya im having the same issue
 const videoOptions = {       src: "http://content.jwplatform.com/videos/L7fsp5ay-5tEZ0A1w.mp4",       autoPlay: true,       loop: true     };
and it autoplays once it awhile but mostly stays frozen

I just noticed if you go to example 2 on the examples page, http://tkloht.github.io/react-video-cover/#/background, it will also not autoplay on reload.

thanks for letting me know.
You are right, it doesn't seem to work on the second example.
I will try to take a look at it, although my time is pretty limited right now. If any of you has an idea how to fix this, i would be more than happy to accept a pull request.

While doing some work on the examples pages i had a quick look at this.
The problem is that most browsers don't allow autoplay unless the video is muted.
see the second example for working autoplay:
https://github.com/tkloht/react-video-cover/blob/master/examples/src/pages/background.js#L24
http://tkloht.github.io/react-video-cover/background
hope this helps!


💡 Indicate Flight mode in waybar

Summary
I recently accidentally turned on flight mode on my laptop, and wondered why Wifi was not working anymore, because nmtui was very noncommunicative about that fact. An indicator in the waybar would be nice.
Related to https://github.com/manjaro-sway/manjaro-sway/issues/541
Drawbacks
another icon crowding the bar if done haphazardly
Implementation idea
When flight mode is enabled, replace wifi and bluetooth icon in waybar by an airplane, which on click toggles it off again.
I don't see a need to explicitly have an icon to turn it on.
Will you be able to contribute a PR for this?

[ ] Yes I will be able to get that feature a lot quicker.

how could I debug this?

perhaps first make sure you have that current config. then perhaps starting waybar in debug mode and toggling the button, perhaps it shouts? I honestly never use that and thus am unsure if it work on my machines. Will double check.


Expose Logtash, OS, and JVM Information

Hi @christoe ,
Would it be possible exposing this information as labels of a metric with value 1, like prometheus does with logstash_exporter_build_info? I think this would be a nice to have  information for a text field.

Logstash Information (version, pipeline information)
OS Information (name, arch, version, available processors)
JVM Infomation (vm_version, vm_vendor, vm_name)

See,
root@hostname ~ # curl -s http://localhost:9600/_node | jq
{
  "host": "hostname",
  "version": "5.6.5",
  "http_address": "<IP_ADDRESS>:9600",
  "id": "XXX",
  "name": "hostname",
  "pipeline": {
    "workers": 1234,
    "batch_size": 1234,
    "batch_delay": 10,
    "config_reload_automatic": false,
    "config_reload_interval": 3,
    "dead_letter_queue_enabled": false,
    "id": "main"
  },
  "os": {
    "name": "Linux",
    "arch": "amd64",
    "version": "3.10.0-693.11.1.el7.x86_64",
    "available_processors": 64
  },
  "jvm": {
    "pid": 34059,
    "version": "1.8.0_151",
    "vm_version": "1.8.0_151",
    "vm_vendor": "Oracle Corporation",
    "vm_name": "OpenJDK 64-Bit Server VM",
    "start_time_in_millis":<PHONE_NUMBER>107,
    "mem": {
      "heap_init_in_bytes":<PHONE_NUMBER>,
      "heap_max_in_bytes":<PHONE_NUMBER>,
      "non_heap_init_in_bytes": 2555904,
      "non_heap_max_in_bytes": 0
    },
    "gc_collectors": [
      "ParNew",
      "ConcurrentMarkSweep"
    ]
  }
}

Thanks!

Created a PR with the above changes. @mjtrangoni, care to have a look and see if it covers your use cases?

@christoe yup, it works! Thank you very much!
# HELP logstash_info_jvm A metric with a constant '1' value labeled by name, version and vendor of the JVM running Logstash.
# TYPE logstash_info_jvm counter
logstash_info_jvm{name="OpenJDK 64-Bit Server VM",vendor="Oracle Corporation",version="1.8.0_151"} 1
# HELP logstash_info_node A metric with a constant '1' value labeled by Logstash version.
# TYPE logstash_info_node counter
logstash_info_node{version="5.6.5"} 1
# HELP logstash_info_os A metric with a constant '1' value labeled by name, arch, version and available_processors to the OS running Logstash.
# TYPE logstash_info_os counter
logstash_info_os{arch="amd64",available_processors="64",name="Linux",version="3.10.0-693.11.1.el7.x86_64"} 1

Resolved in v0.1.2.


autoUpgrade: kexec or ksplice

Apologies if I have duplicated a bug but I have looked around.
Is it possible that kexec or ksplice can be used when using the autoUpgrade option so that there's no need to reboot?
Can it maybe be an option for operation (like "switch", "boot" and now e.g. "kexec", etc.)?
Thanks

Maybe we can make system.autoUpgrade.allowReboot support false, "reboot", and "kexec"?