Camera going blank on HomeAssistant app

Version of the custom_component
v3.0.0
Configuration
mqtt:
  host: host
  user: user
  password: password

record:
  enabled: true
  retain:
    days: 7
  events:
    retain:
      default: 7

snapshots:
  enabled: true
  retain:
    default: 7

detect:
  width: 704
  height: 576

cameras:
  Voortuin:
    ffmpeg:
      inputs:
        - path: URL_HERE
          roles:
            - detect
            - rtmp
            - record
    motion:
      mask:
        - 704,71,355,67,316,85,266,126,236,151,126,135,0,224,0,0,704,0
    ui:
      order: 1

Describe the bug
Camera loads, then flickers and goes blank with a small icon in the top left corner.
Only happens when using JSMpeg
See picture:

Debug log
Can't find any relevant logs

this seems like this issue should be created on https://github.com/dermotduffy/frigate-hass-card not the integration

Sorry, will do! Thanks!


Improve viewcone performance

Viewcone performance becomes awful when a few objects are within the detection area. There must be a better way to do this.

Not sure of the details but 4.1 really took it's toll on the performance here. Disabling the example until we can figure this out.

https://youtu.be/pd8SCWaz6y0


Update protocol document for CompletionItemKind and SymbolKind?

The C/C++ extension has been following the protocol here to define our protocol messages (the bulk of our extension is written in C++) https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
I stumbled on this thread #2628 and saw commits that looked like they changed the enum values of CompletionItemKind and SymbolKind.  So it appears that we are sending incorrect values back to VS Code now.
I just wanted to double-check... are the enum values in VS Code now different than the ones in the protocol?

@bobbrow VS Code currently supports more kinds than the language server protocol. The values are still correctly mapped.

Yes, we do map them. In the LSP we tried to avoid number constants using 0 as a value. The LSP even doesn't use enums since it is language neutral and not all programming languages provide enums.


Omnisharp not reloading references

Issue Description
Every time I reference a new class and get the quick fixes I don't get the option to add a "using namespace" statement to the file.
Also when I reference a new class contained in a namespace that is already referenced I still get the error:
The type or namespace name 'ClassName' could not be found (are you missing a using directive or an assembly reference?)
To fix it I have to manually restart Omnisharp
Some more context: I'm running VSCode on Docker containers
Steps to Reproduce

Create a simple dotnet core application
Create 2 class files in separate namespaces and reference one in the other

Expected Behavior
You should be able to get the option to add a Using statement when using the Quick Fix feature
Actual Behavior
Quick Fix feature not shown, unless Omnisharp is restarted
Logs
OmniSharp log

Starting OmniSharp server at 11/3/2020, 2:10:59 PM
    Target: /workspace

OmniSharp server started.
    Path: /root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/run
    PID: 1532

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on debian 10.0 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.8.0 - "/root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.8.0 - "/root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild/Current/Bin
            CscToolPath = /root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /root/.vscode-server/extensions/ms-dotnettools.csharp-1.23.4/.omnisharp/1.37.3/omnisharp/.msbuild
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/workspace'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '/workspace'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/workspace/ContentEditor.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/workspace'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /workspace/ContentEditor.csproj
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/workspace' on host 371.
[info]: OmniSharp.MSBuild.ProjectManager
        Successfully loaded project file '/workspace/ContentEditor.csproj'.
[info]: OmniSharp.MSBuild.ProjectManager
        Adding project '/workspace/ContentEditor.csproj'
[info]: OmniSharp.MSBuild.ProjectManager
        Update project: ContentEditor

C# log

Installing C# dependencies...
Platform: linux, x86_64, name=debian, version=10

Downloading package 'OmniSharp for Linux (x64)' (47313 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Linux (x64)'

Downloading package '.NET Core Debugger (linux / x64)' (55714 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package '.NET Core Debugger (linux / x64)'

Downloading package 'Razor Language Server (Linux / x64)' (54208 KB).................... Done!
Installing package 'Razor Language Server (Linux / x64)'

Finished

Environment information
VSCode version: 1.50.1
C# Extension: 1.23.4
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.403
 Commit:    9e895200cd
Runtime Environment:
OS Name:     debian
OS Version:  10
OS Platform: Linux
RID:         debian.10-x64
Base Path:   /usr/share/dotnet/sdk/3.1.403/
Host (useful for support):
Version: 3.1.9
Commit:  774fc3d6a9
.NET Core SDKs installed:
3.1.403 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.4

You are using version 1.23.4. 1.23.5 is even worse for me. It looks like new files are never added to the in memory workspace, while in previous releases new files were found most of the time after a little delay.
@333fred could #4141 or #4143 have something to do with this?

Likely, I can reproduce it locally. I'll take a look.

1.23.5 is even worse for me.

FWIW, I would very much expect .5 to be better than .4 here. I made a couple of bug fixes for .5, .4 will have very bad behavior if an external editor changes the file on disk.

Yeah, sorry, I couldn't find the right words. It wasn't meant to say this complete version is worse, but I just started a new library project, so I am adding a lof of new files at the moment 😄 .
I am following your work on Omnisharp and it's obvious you are really pushing this forward to give us a better experience. Thanks for that!

A fix is available in this pre-release build - https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.6-beta1. Instructions for installing our beta releases https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases

A fix is available in this pre-release build - https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.6-beta1. Instructions for installing our beta releases https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases

Here its not working yet... :(
https://github.com/OmniSharp/omnisharp-vscode/issues/4192#issuecomment-724980226

It sounds like the issue you're experience is unrelated Katekko.

I still experiencing the same issue. Not sure if it's related to vscode-server.
I can reproduce simply by copying a .cs file. Omnisharp won't work on that new copied file.
Also I noticed that restarting omnisharp does not always fix the issue, but it seems that when that fails I can just reload the window and that will succeed in fixing the issue.

We haven't released 1.23.6 yet.

@333fred I can see it here https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v.1.23.6
And the C# version on vscode it's 1.23.6
Am I missing something?

@JoeRobich did we release this yet? I didn't think we did.

@333fred We have.

@gionapaolini then can you please open a new bug with repro instructions?

Sure, I tried reproducing with a simple case using docker containers, but I wasn't able to reproduce.
I think it might have something to do either with Volumes or Kubernetes, since in my case I'm using both (development inside K8S).
I'll create a new ticket when I have more time to find the steps to reproduce.
In any case thanks for your work.

This issue has not been resolved with release 1.23.6 unfortunately. Here is an output from "Omnisharp Log" after creating a new file then typing in a namespace plus a new class plus a new method.

    Could not find document for file /app/src/PiranhaNH.Tests/FooTests.cs

It's easy to reproduce:

Create a console project targeting either netcoreappp3.1 or net5.0
Create a new file in the same folder as the project file
Add reference to NUnit framework
Add the code below. No suggestion to adding the NUnit.Framework reference will be made

Code in a new file:
namespace Bar
{
    [TestFixture]
    public class FooTests
    {
        [Test]
        public void Foobar()
        {

        }
    }
}

The screenshot shows that no actions are available either to add the using statement / reference:

Saving the file makes no difference.
(Re-)building the project makes no difference.
Restarting omnisharp-vscode with "OmniSharp: Restart OmniSharp" solve the problem
Note, though, that on average I probably have to restart OmniSharp every 5 to 10 minutes. It's quite a significant impediment to working faster.
I'll probably file this as a separate issue, since this affects version 1.23.6

@ManfredLange can you try setting omnisharp.path to latest as well? We have another bug fix on the server-side that might fix it for you. If not, then please do open a new issue.

@333fred Thank you! I set omnisharp.path to latest as well. It then installed version 1.37.4-beta.61. However, that didn't change the behavior. Same error message.
From the OmniShar log:

OmniSharp server started.
Path: /home/piranha/.vscode-server/extensions/ms-dotnettools.csharp-1.23.6/.omnisharp/1.37.4-beta.61/run
PID: 959

As suggested I'll open a new issue.

New issue filed: see https://github.com/OmniSharp/omnisharp-vscode/issues/4223


Why do you have a semicolon here?

Description

Is it preventing code packaging errors?I know that a semicolon may be added at the beginning of the file.

The semicolon is added by prettier. If you remove these semicolons and run prettier again, it will add for you.

https://www.zhihu.com/question/20298345   Hope this can help you.

closed as no actions points are possible


Clarify default col family handling in ADD COLUMN Doc

Re: ADD COLUMN
It isn't clear what the default behavior is w.r.t. column families if one isn't specified: does it add to an existing or create a new one?

Good point. We have a few examples about adding a column to a new or existing family, but we don't explain the default behavior, also not in the column family docs.

I think the default behavior is to add to the default / "primary" family, but i'll defer to @danhhz to confirm that.

Yep, just tested, and that is in fact the default behavior:
~/go/src/github.com/cockroachdb/docs$ cockroach demo
#
# Welcome to the CockroachDB demo database!
#
# You are connected to a temporary, in-memory CockroachDB instance. Your changes
# will not be saved.
#
# Admin UI: http://<IP_ADDRESS>:60599
#
#
# Enter \? for a brief introduction.
#
root@<IP_ADDRESS>:60598/demo> create table t1 (a int primary key, b string);
CREATE TABLE

Time: 5.241208ms

root@<IP_ADDRESS>:60598/demo> show create table t1;
+-------+-----------------------------------------------+
| Table |                  CreateTable                  |
+-------+-----------------------------------------------+
| t1    | CREATE TABLE t1 (                             |
|       |                                               |
|       |     a INT NOT NULL,                           |
|       |                                               |
|       |     b STRING NULL,                            |
|       |                                               |
|       |     CONSTRAINT "primary" PRIMARY KEY (a ASC), |
|       |                                               |
|       |     FAMILY "primary" (a, b)                   |
|       |                                               |
|       | )                                             |
+-------+-----------------------------------------------+
(1 row)

Time: 4.14889ms

root@<IP_ADDRESS>:60598/demo> alter table t1 add column c decimal;
ALTER TABLE

Time: 26.241798ms

root@<IP_ADDRESS>:60598/demo> show create table t1;
+-------+-----------------------------------------------+
| Table |                  CreateTable                  |
+-------+-----------------------------------------------+
| t1    | CREATE TABLE t1 (                             |
|       |                                               |
|       |     a INT NOT NULL,                           |
|       |                                               |
|       |     b STRING NULL,                            |
|       |                                               |
|       |     c DECIMAL NULL,                           |
|       |                                               |
|       |     CONSTRAINT "primary" PRIMARY KEY (a ASC), |
|       |                                               |
|       |     FAMILY "primary" (a, b, c)                |
|       |                                               |
|       | )                                             |
+-------+-----------------------------------------------+
(1 row)

Time: 4.940632ms


ExtHost - Language Features: Some small tweaks to completion (show details)

This adds a 'details' pane next to the completions when available:

/azp run


Release to hackage

@adnelson I know nixfromnpm is still pre-1.0.0 release and there's more improvements you want to make to the project but I think it is mature enough at this point that you can release it to hackage.
Feel free to close this ticket as won't do, I'm not trying to pressure a release or anything, I just think it's useful and I'm trying to be encouraging :)

Definitely could cut a 1.0 soon. I think we probably want a little more robust coverage in the CI test cases, but we're basically there.

Cool, I'll have some free time to devise some CI tests that verify the package overriding behavior is well-behaved too (like, overriding chokidar to remove fsevents, etc.)

Added issues to track some of the CI tests that I think we need. Feel free to add others.


Add security roles for Bots

The security role assignment table does not include the roles required for creating/managing Bots within the Omnichannel experience.
Was linked from this page which directed here to review the required security roles.

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

ID: ad6eb1db-2354-a2fc-4dce-59f4b29dc618
Version Independent ID: 3292239f-cbf0-165f-2737-aab3e0436684
Content: Enable users for Omnichannel and assign roles
Content Source: ce/omnichannel/administrator/add-users-assign-roles.md
Service: dynamics-365-customerservice
GitHub Login: @neeranelli
Microsoft Alias: nenellim

Dear @mathyousee
Thank you for bringing to our notice about the gap in information. We are working on updating the content.
Best regards,
Neeraja

Dear @mathyousee
The topics have been updated with the role information.
Configure seamless and contextual hand-off to Omnichannel for Customer Service
Understand roles and their privileges
I hope this resolves your question.
If you have product ideas, please share them and vote for future ideas at the Dynamics 365 Application Ideas portal.
Thank you.
Neeraja


Monitoring liquidations on exchanges

How do I use this lib to monitor for liquidations on exchanges like BitMex, FTX, and Binance?
I know that when subscribing to trades on FTX markets using this lib, the Trade object always has a liquidation parameter that's a boolean and I'm going to assume that when that's true, the trade was a liquidation? However, I don't see this parameter with Binance or Bitmex. How would I go about watching liquidations on those exchanges?
Any help or direction would be super helpful! Sorry if that's not descriptive enough, I can further elaborate what I mean if need be. Thank you for reading this and making this library 🎉

I have found a way around the limitations of this library in it's current state: using the exchange websockets APIs directly. Closing issue for now.


Update eo.json: "Importer.", "Exporter.", "NewWorld.", "FullBody,", "Dummy"

See: https://github.com/Yellow-Dog-Man/Locale/pull/65#issuecomment-1753976671
For collaborative worklist

I think "Dummy" might be required to remain "Dummy"?
Asset
Asset is probably aktivaĵo. "Asset" is really a finance term, and I think it was appropriated by marketers for "digital assets" (e.g. Unity Asset Store), and then probably by game developers to describe, well, pretty much anything.
Havaĵo, though, just means "a belonging", something that belongs to someone.
Komputeka claims that asset is pluso, but I think that means more like, something good.
360-foto
Change to foto de 360° as you did for the others.
Skybox
I might use cielkubo instead, since kesto (box) is closer to a chest, emphasizing the container -- something you put things in. A skybox is just a cube with textures on the inside :>
LayoutVerticalLR et al
Not really a fan. I might just stick with horizontala/verticala and maldextren/dextren. These are just telling you the layout direction (e.g. horizontal, left to right).
AutoScale
Aŭtomate skali (I think this command just means, to automatically scale the imported model)
Normals
Normal = ortanto. Although normalo is fine, ortanto is a synonym, not confusable with "normal" in its other senses, and is also closer to the form of tanĝanto.
VertexColor, AlbedoColor
I am annoyed at English adjectives. English uses words to modify other words in a more vague way, so blue box means a box that is blue, but cat box is a box for cats. In both cases, one word modifies the other. However, in Esperanto, if you said kata kesto, it would mean a box that is a cat, or a box that has the characteristic of a cat. So you'd have to say kesto por katoj. This holds for most words where the noun is the root word.
In cases where a noun is used to modify another noun, Esperanto compounds them, so instead of kesto por katoj you could just say kato-kesto or kat-kesto or katkesto. Another example, cardboard box is not kartona skatolo, but kartonskatolo. You could also say skatolo de kartono (a box made of cardboard).
So in this case, vertex color should be vertic-koloro, and albedo color should be albed-koloro.
Try not to compound more than two words. Use prepositions if you need more.
(end of part 1)

TextureAlpha -> Tekstur-alfo (alfo de teksturo)
Emissive: I think your analysis is good. I'd use emisianto/emisianta, "something that emits" rather than emisema, "prone or included to emit". Emissives only do emission, not anything else.
Deduplicate Instances: I've used malmultobli (the exact opposite of making multiple copies).
Mesh: In general, I use maŝaro, since maŝo is just one small element of a mesh, like a loop.
Flatshaded: you used nuanco, which is a different sense of shade (a small difference). Maybe kolorheleco (color lightness) or ombrigita (shaded)
Devigi + -n: I think the -n ending is for the thing being forced, e.g. devigi min esti bona (to force me to be good). "Force T-Pose" is shorthand for "force (something to be) T-pose", so maybe devigi T-poso?
Orb: Globo is nice.
Headset: Great analysis, I think surkaska interfaco is almost right -- surkaska kamerao would be a camera on a helmet. Perhaps in keeping with the noun-noun modification, surkask-interfaco?
Reset: Restartigi is the right term!
Calibration: Well, at least in English, that is the etymology: to measure the caliber of something. The meaning got extended. Most of the languages I checked are fine with using kalibri, which probably means that if you say kalibri in Esperanto, nobody will think it means "to measure the caliber".

Adjectives & Compounds
You are absolutely right, I had completely forgotten about that.  Thank you!  I will fix. : )
LayoutVerticalLR et al
Understood; this was actually in the original. So I had to go into Resonite and figure it out from context.  It's for stereoscopic images, and they can either be side-by-side or top over bottom, left (or right) (eye), and right (or left) eye.  So I changed it to "Supra / Suba (Maldekstra / Dekstra)" etc.  (assuming that the word "image" is left out, as in "Top image, bottom image" and so forth).  I figure that if you're in the weeds enough to be importing stereoscopic images, this would make sense, but I'm still waffling back and forth whether to make "Supra" et al a noun, like "Flanko ĉe Flanko", though now I'm wondering if "unu apud la alia" is better...
AutoScale
I completely agree -- however in this case the appearance of these words is in response to a question.  Q: "In what kind of units/measurement is this thing?" A: "(It's in an) automatic scale (unknown scale)".
Asset
Well, this begs a deeper, more profound question.  Which is it?  Is it "asset" in a financial sense, or are these things that belong to someone (or something)?  I'm not being snarky; I think there's an important philosophical underpinning here.  In English, it could have either meaning.  But in Esperanto, we can be much more specific: if we think that these things are elements that either belong to a player, a game, or another object (mesh, slot, whatever), maybe "havaĵo" is a better word?
Ĉielkubo/kesto
The reason why I'd used "kesto" for box was because in Komputeko, "kesto" is reference for "bounding box", and I was thinking of a skybox as a bounding box, but I see your point too, and agree -- thank you!
Kalibri
Thanks for your thoughts on "kalibri"; I still feel like I"d like to leave it as "kalibrigi", though, simply because per the PIV, "kalibrigi" means "Fari, ke iu korpo havu ian precizan diametron", which is a lot closer to what we're doing here.  That's why I was moving in that direction; to retain the original meaning of "kalibri" per the PIV, and then reorient everything around "kalibrigi" since the definition is closer.  This resolves the issue of "kalibrilo" being "caliper" (which is not an archaic term; I have a caliper right next to me on my desk as I type) -- while a caliper is a calibration tool, I don't think this calibration tool in Resonite is a caliper (squares == rectangles != squares).
Surkaska Interfaco
Oh, I absolutely love "VR-Surkasko" -- this is so much better, thank you!  I feel like it's just more obvious and less technical: "VR Helmet" rather than "Helmet Interface".  GLEE!
Shade
This is a tough one. On the one hand, we have "shade" as in "to apply shadows", or "a place characterized by a shadowy quality".  That is the "ombr-" root.  On the other hand, we have "shade" as a reference to the value (light/darkness) of a color (and often conflated with saturation, the intensity of its color) (or, as the PIV would have it, "[d]elikata, apenaŭ sentebla diferenco inter gradoj k kombinoj de iu koloro".  That is "nuanc-".  I think, though, that I am leaning towards "ombr-" for this as you've said, because I think that at the end of the day, when we're talking about rendering and shaders, we're talking about how an object's surface is depicted in the context of light (or its absence), and applies to making the lit parts look lit, even though we're using the word "shade" in doing so (which makes me unhappy).
Devigi+n
Devigi+n the gremlin in me wants to say it means "Devigi en T-Pozon" (which suggests, to me, accusative because it's flavor of "motion towards" -- "force into T-Pose).  What do you think? ; ) (I wink, but I'm also kind of serious.  The "NE FORGESU LA AKUSATIVON" creature is always sitting on shoulder ;) )
Everything Else
In accordance (I grok maŝaron), changes made, thank you!
P.S. I'm supposed to be working on other work right now.  Could you all be a little less interesting, please? ; )
P.P.S. Kiam ni ĉiuj kunvenos Esperante en Resonite?

I haven't changed "Dummy" yet, though.  Double-checking. : )

For side-by-side, flank-al-flanke would probably be best.
Hmm, for asset I'm still not sure whether it's aktivaĵo or havaĵo. Checking on other languages for the computer sense, Spanish, French and Ukrainian seem to use some form of resource (Esperanto risurco), while some other languages use some form of possession (havaĵo). Maybe risurco?
With nuanc-, I sometimes forget to check ALL the sources, otherwise I'd have found the PIV definition :> Most languages give up and use "shader", but Spanish and Portuguese in particular use the equivalent of ombrigilo. I know, that would imply only applying shadows, but maybe sometimes we have to bow to other languages?
I like "Devigi en T-Pozon"!
Mia nomo sur Resonite estas Xekri. Bonvolu sendi al mi kontaktpeton!

Okay, re the "Dummy" line -- the instructions say:
"Always keep the "Dummy" : "Dummy" entry at the bottom of the file. This way you don't have to remember to remove the comma at the end of the last entry every time"
I am reading this not as "Dummy" has to say "Dummy" but "the last entry of a list like this in json shouldn't have a comma after it, so don't copy in or add any entries after this line; leave it at the bottom, as it doesn't have a comma and is therefore (and should remain) the Last Line of the list."
Funny, though, all of the language entries have left the translation of "Dummy" as "Dummy".  I'm going to have to ask in PrimeTime as this makes no sense to me. ; )

Right, okay. Maybe just leave it untranslated, since it's quoted in the instructions that way.

I will revert it and pend the chance until I've had a chance to ask in PrimeTime; I think it's one of those things that is vanishingly unlikely to ever be seen or used, but still. ; )

Finished several new sections.  Also updated the "author" section to add the three of us.  If this has been done, I can fix.  My focus for the time being is the sections that are new to Resonite, so that the locale file isn't missing anything.

Of note: Prime says: "Dummy" isn't actually used anywhere in the codebase; it exists solely as an entry for the benefit of translators (to mark the end of the list) and to let it be.  So I am letting it be. : )

Moving the "Work List" over here for the time being.
Drafted | Reviewed | Approved for Merge/Pull-Request Submitted

[x] :ballot_box_with_check: :black_square_button: General.* - XDelta
[x] :ballot_box_with_check: :black_square_button: Worlds.* (new) - XDelta
[x] :ballot_box_with_check: :black_square_button: Locomotion.* - XDelta
[x] :ballot_box_with_check: :black_square_button: Interaction.* - XDelta
[x] :ballot_box_with_check: :black_square_button: Inventory.* (new) - XDelta
[x] :ballot_box_with_check: :black_square_button: Dash.* - XDelta
[ ] :black_square_button: :black_square_button: Facets.* (new) - Jackalgirl
[x] :ballot_box_with_check: :black_square_button: World.* - XDelta
[ ] :black_square_button: :black_square_button: Tools.* (Note: see towards bottom of list for separate section Tools.Names.*)
[ ] :black_square_button: :black_square_button: Options.*
[x] :ballot_box_with_check: :black_square_button: Indicator.* - XDelta
[x] :black_square_button: :black_square_button: Login.* (new) - Jackalgirl - #65
[x] :black_square_button: :black_square_button: Register.* (new, and split up within Login.* section) - Jackalgirl - #65
[ ] :black_square_button: :black_square_button: Account.*
[x] :black_square_button: :black_square_button: Avatar.* (new) - Jackalgirl - #65
[ ] :black_square_button: :black_square_button: 2FA.*
[ ] :black_square_button: :black_square_button: Profile.*
[x] :ballot_box_with_check: :black_square_button: Session.* - XDelta
[ ] :black_square_button: :black_square_button: Permissions.*
[ ] :black_square_button: :black_square_button: User.*
[ ] :black_square_button: :black_square_button: Contacts.*
[ ] :black_square_button: :black_square_button: Notifications.*
[ ] :black_square_button: :black_square_button: Undo.*
[ ] :black_square_button: :black_square_button: Tooltips.*
[ ] :black_square_button: :black_square_button: Tooltip.*
[ ] :black_square_button: :black_square_button: CreateNew.*
[ ] :black_square_button: :black_square_button: AvatarCreator.*
[x] :black_square_button: :black_square_button: Importer.* - Jackalgirl - #65
[x] :black_square_button: :black_square_button: Exporter.* - Jackalgirl - #65
[x] :black_square_button: :black_square_button: NewWorld.* - Jackalgirl - #65
[x] :black_square_button: :black_square_button: FullBody.* - Jackalgirl - #65
[ ] :black_square_button: :black_square_button: CameraControl.*
[ ] :black_square_button: :black_square_button: Settings.*
[ ] :black_square_button: :black_square_button: Security.*
[x] :black_square_button: :black_square_button: ComponentSelector.* (new) - Jackalgirl - #65
[ ] :black_square_button: :black_square_button: Inspector.*
[x] :black_square_button: :black_square_button: Wizard.* - RobertBaruch - #57
[ ] :black_square_button: :black_square_button: Desktop.*
[x] :black_square_button: :black_square_button: VolumePlaneSplicer.* (new) - Jackalgirl
[ ] :black_square_button: :black_square_button: Tutorial.* (note: two items now in a section following "CloudHome", and more under "StickyNote")
[ ] :black_square_button: :black_square_button: Object.*
[ ] :black_square_button: :black_square_button: Twitch.*
[ ] :black_square_button: :black_square_button: Exiting.*
[x] :black_square_button: :black_square_button: Migration.* (new) - Jackalgirl
[ ] :black_square_button: :black_square_button: Temporary.* (new) - Jackalgirl
[ ] :black_square_button: :black_square_button: CloudHome.* (new) (Note: some items follow StickyNote) - Jackalgirl
[ ] :black_square_button: :black_square_button: Mirror.* (new)
[ ] :black_square_button: :black_square_button: StickyNote.* (new)
[ ] :black_square_button: :black_square_button: Hints.* (new)
[x] :ballot_box_with_check: :black_square_button: UI.* (new) - XDelta
[x] :black_square_button: :black_square_button: Tools.Names.* (new) - RobertBaruch - #57
[x] :black_square_button: :black_square_button: Dummy - Jackalgirl - #65

Note: Fixed explicit assignments -- let me know if there are sections you are working on, or if there's a sub-section you want to take on (if you don't want to do an entire section), let me know and I can update. : )

Okay.  I think I am caught up with all of the Resonite-new sections.  I will wait until the previous pulls are merged, then go through and make sure that my file is updated with all of those changes, before undrafting this one. : )
I do still have to proofread and check for dropped -n's and all that jazz.  Commentary greatly appreciated. : )

Pulling this out for visibility:
I've verified this file line-by-line against en.json.  This required the importing and translation of a cubic butt-ton of items; a solid proofread by the Esperanto community would be greatly appreciated.
Also, note: the typo in line 2007 (XDelta's issue https://github.com/Yellow-Dog-Man/Locale/issues/12), "UI.VideoPlayer.BroascastAudio", is present in this file.

Pulling this out for visibility:
I've verified this file line-by-line against en.json. This required the importing and translation of a cubic butt-ton of items; a solid proofread by the Esperanto community would be greatly appreciated (I'm very tired).
I'd like to add that I've chosen a new word, "Esprimocelo", for "Blendshape", based on the fact that the whole point of blendshapes is to set up an array of states in a mesh's shape that represent expressions, and then drive expressions by weighting those expressions-as-shapes. I didn't feel like a direct, one-to-one translation worked here; since the shapes are targets that represent the ideal 100% (expression) expression, I thought "Esprimoceloj" (expression targets) would be more appropriate. If there are any Esperantists who work in 3D animation in Esperanto and use a different word for this, I will of course totally defer to you. : )
Also, note: the typo in line 2007 (XDelta's issue #12), "UI.VideoPlayer.BroascastAudio", is present in this file.

The typo in a locale key is fine, we don't need to correct the keys. They'll be automatically fixed later as mentioned in the readme

I'm going to tentatively leave this as draft until the end of the weekend (whenever I go to bed on Sunday, Oct 22), unless I forget, which is entirely possible.  Please add any comments if you see anything glaring or would suggest a different translation.  If you need more time than that, no worries; let me know and I'll delay.  Dankegon!

Just finished a final line-by-line and loaded this into Resonite with no issues.  Will go ahead and "undraft" it so we can get moving. : )

Unfortunately this has conflicts with the main branch. I'll need to you to resolve these on your end, I don't know the language, so I'm unable to resolve them myself.

Ok looks good, merging! Thank you!


[wip] cms generate nodes : fall back to ruby sort

Coverage decreased (-0.02%) to 84.353% when pulling a99a505eab06c21be363908b91506e1119cce25c on feature/cms-generate-nodes-sort into 210b7cf7f03502a86e4edbe6b1fdc469a725edd4 on master.


Compile error on Auth Callback

Hi, I copied the code provided in the readme for onNewIntent in my MainActivity:
Authenticator auth =
            SoundCloudAuthenticator.handleResponse(intent, SC_RED, SC_ID, SC_SEC);
          SoundCloudAuthenticator.AuthService service = SoundCloudAuthenticator.getAuthService();
          service.authorize(auth, new Callback<AuthenticationResponse>() {
              @Override
              public void success(AuthenticationResponse authResponse, Response r) {
                  Log.v("AUTH SUCCESS", "TOKEN: " + authResponse.access_token);
                  // Save the token
              }

              @Override
              public void failure(RetrofitError error) {
                  Log.e("AUTH FAILED", "ERROR: " + error.getMessage());
                  // See what went wrong
              }
          });

However, compile fails every time with the frustrating message:
error: <anonymous com.myproject.MainActivity$1> is not abstract and does not override abstract method success(AuthenticationResponse,Response) in Callback
          service.authorize(auth, new Callback<AuthenticationResponse>() {
                                                                         ^
/Users/samuelpurcell/Projects/myproject/android/app/src/main/java/com/myproject/MainActivity.java:118: error: method does not override or implement a method from a supertype
              @Override

I am importing Response as follows: import com.squareup.okhttp.Response;
Is there an obvious solution that I am missing? I have tried upgrading the retrofit and okhttp packages but to no avail. Am I using the wrong Response? Thanks for any help.

I believe the correct import is import com.squareup.retrofit.client.Response;. Either way, the response is a retrofit object that exists in the retrofit package somewhere.
It's likely that your editor automatically imported the wrong class. Deleting the import and the service.authorize code, then retyping it manually might automatically import the class correctly.
Hope that helps.

Thanks for the quick response! import retrofit.client.Response seems to have done the trick as far as compilation goes... but now, when the authenticate callback is invoked, I am getting a 401 Unauthorized. Any ideas on that? I've looked at a good number of answers regarding 401s on SC and it seems like it might have something to do with making the request incorrectly? Any insight would be most appreciated

Can you post any of the retrofit logs? The authenticator should be logging request and response details. Make sure to edit any sensitive out before pasting here (replace with #TOKEN#, #SECRET#, etc.).

Here's the retrofit stuff:
04-07 18:39:26.532  9676 11405 D Retrofit: <--- HTTP 401 https://api.soundcloud.com/oauth2/token (173ms)
04-07 18:39:26.532  9676 11405 D Retrofit: Access-Control-Allow-Headers: Accept, Authorization, Content-Type, Origin
04-07 18:39:26.532  9676 11405 D Retrofit: Access-Control-Allow-Methods: GET, PUT, POST, DELETE
04-07 18:39:26.532  9676 11405 D Retrofit: Access-Control-Allow-Origin: *
04-07 18:39:26.532  9676 11405 D Retrofit: Access-Control-Expose-Headers: Date
04-07 18:39:26.532  9676 11405 D Retrofit: Cache-Control: private, max-age=0, must-revalidate
04-07 18:39:26.532  9676 11405 D Retrofit: Date: Thu, 07 Apr 2016 22:39:21 GMT
04-07 18:39:26.532  9676 11405 D Retrofit: Server: am/2
04-07 18:39:26.532  9676 11405 D Retrofit: Content-Length: 0
04-07 18:39:26.532  9676 11405 D Retrofit: OkHttp-Selected-Protocol: http/1.1
04-07 18:39:26.532  9676 11405 D Retrofit: OkHttp-Sent-Millis:<PHONE_NUMBER>425
04-07 18:39:26.532  9676 11405 D Retrofit: OkHttp-Received-Millis:<PHONE_NUMBER>532
04-07 18:39:26.532  9676 11405 D Retrofit: <--- END HTTP (0-byte body)

Hey sorry it's taken me so long to respond, I have pushed a hot fix to repair the broken authentication. After exams, I will be pushing a larger update with retrofit2 which will hopefully give me time to handle any other API changes. I understand if you've found another solution for now, but I hope that this will help you out if you're still using the library! Thanks again for the feedback!

Hi, I've actually been meaning to make a PR, but I am not sure my solution is great (still don't have lots of experience in java). Thanks for getting back!


How long does it take to release the train?

I am try to reimplement the model,but there are some details that i am not clear. Are there some reference about train code which can give me ？

co-ask

co-co-ask :)

co*n-ask :):):)

co*n-ask :)*n

As stated in https://github.com/clovaai/CRAFT-pytorch/issues/2, due to company regulations, we have no plan to disclose training codes. I'm sorry to disappoint you. Please leave a detailed inquiry in the issue.

As stated in #2, due to company regulations, we have no plan to disclose training codes. I'm sorry to disappoint you. Please leave a detailed inquiry in the issue.

I think it is better to update the README file if you may not release the training code soon, the training part of README is misleading!
Thanks for your excellent work!

@sonack Thank you for clarification. I should have updated README for train part.
Again, sorry for not releasing train code.
If you have any questions about training, I will be happy to answer them.


Updated README.md

🛠 Fixes issue #59
Open-Source-With-Hasnain
📇 Changes proposed : updated documentation
✅ Check List (Mark all the applicable boxes)

[X] My code follows the code style of this project.
[X] This PR does not contain plagiarized content.
[X] This PR contains changes in the documentation
[ ] This PR contains changes in the Code of the project
[X] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
 Tried improving the documentation. Would like to add further lines. Do message me regarding this
📷 Screenshots

@the-amazing-atharva , Can you add some specific designs to the readme of this project? I value your contribution to the proposed changes, but it will need some more effort.

Hey, thanks for the reply
Could you please elaborate on what specific designs means, I didnt understand

Should I like add different headings and emojis, what exactly do you suggest I should do?


ENG-1187: session log record duplicate key on insert

log records has a primary key of session_id,sequence
if we try to insert the same sequence twice it will fail
on duplicate and we need to retry
sequence is calculated again on each insertion so it has
to succeed in the end
we try for 10 times instead of indefinite but we might
want to consider it in the future

hey hold your horses here this is not the right solution. the reason that we try to do it multiplie times sometimes is not because we actually need to, but because it's not encapsulated properly in an activity. need to think this more deeply, i am going to engage with this soon.

hey hold your horses here this is not the right solution. the reason that we try to do it multiplie times sometimes is not because we actually need to, but because it's not encapsulated properly in an activity. need to think this more deeply, i am going to engage with this soon.

It has nothing to do with activities in the case
we need to retry to write for few reasons

writes can fail, like anything, sometimes you need to retry
specifically in this case, in cases we try to write simultaneously we get a duplicate error, which will be solved on the next retry (we don't retry on other options)

the activity fix you're talking about (which I'm not aware of) is orthogonal to this one, both should be solved

writes can fail, like anything, sometimes you need to retry

So why auto increment? We need to keep the same number.

specifically in this case, in cases we try to write simultaneously we get a duplicate error, which will be solved on the next retry (we don't retry on other options)

This shouldn't happen - the workflow needs to be running in a single instance at any one time.

Daniel had a problem with duplicate keys,
not sure how it happened, but I reproduced it easily on a side project
this solves the issue as a valid fix
we can drop it later in case we think we don't need it, but I think this is a valid solution for it (maybe for every db access we do)
even from one worker, if we issue multiple activities in parallel (which should be supported), two logs can be tried to be written to db at the same time (or close enough)

I'm closing this since it didn't resolve the issue and a bigger change is required
working on a new PR handling the errors


How to assign a persistent handle to a key stored in a file through the provider?

I am trying to create a sub-key of a primary key (in the RH_OWNER hierarchy), using a C program. In order to do this, I believe, the handle of the primary key must be provided in the "parent" param when creating the sub-key. Is it possible to load a key persisted to a file and assign a persistent handle using the provider from a C program please? Is it possible for my service to take a compile time dependency only on OpenSSL and not directly on tpm2-tss? Or is it necessary to take a dependency on tpm2-tss APIs to do tpm2-evictcontrol and to manage nvram entries? Thanks.

Is it possible to load a key persisted to a file and assign a persistent handle using the provider from a C program please?
No, I don't think the OpenSSL can save keys via a provider.

Is it possible for my service to take a compile time dependency only on OpenSSL and not directly on tpm2-tss?
Providers are not a compile-time dependencies. Your service would depend on OpenSSL only that would dynamically load the tpm2 provider that depends on tpm2-tss.

Or is it necessary to take a dependency on tpm2-tss APIs to do tpm2-evictcontrol and to manage nvram entries?
As said above, OpenSSL is unnable to save data to the NVRAM. You need to do this youself.


feat: Write request reply to debuglog when in debug

Currently pyenphase only logs debug messages for a send request, the reply is not logged in debug. During probe little is written to the debug log and when issues occur in most cases only secondary information can be used to determine what is going on. During update cycle scope is limited to what was found during probe.
Various Envoy firmware behave differently, this makes the ability to capture probe request replies over a reload or initial startup an appreciated feature to assist with troubleshooting.
This PR:

Adds the firmware version to the envoy.authenticate debug statement

DEBUG:pyenphase.envoy:FW: 7.6.175, Authenticating to Envoy using token authentication

Writes for each request made by envoy._request the request response url, request status, content-type and content to debug, if debug is enabled.

DEBUG:pyenphase.envoy:Requesting https://<IP_ADDRESS>/ivp/meters with timeout Timeout(connect=10.0, read=60.0, write=10.0, pool=10.0)
DEBUG:pyenphase.envoy:Request reply from https://<IP_ADDRESS>/ivp/meters status 200: application/json b'[{"eid":"123456000","state":"enabled","measurementType":"production","phaseMode":"three","phaseCount":3,"meteringStatus":"normal","statusFlags":[]},{"eid":"123456001","state":"enabled","measurementType":"net-consumption","phaseMode":"three","phaseCount":3,"meteringStatus":"normal","statusFlags":[]}]\n'

Not 100% sure if this should be feature or refactor

To cover those lines, turn on logging.getLogger('pyenphase').set_level(logging.DEBUG)

tested, didn't break anything

tested, didn't break anything

Thanks @bdraco


Update download.js

added unique prefix to asset name.
Helps when multiple downloads are started at the same time and all urls end in the same string.
case:
https://lorem.com/123_unique/file.mp4
https://lorem.com/456_unique/file.mp4

I see that this solution might break existing implementations, if they rely in some way on the file name.
I'll implement a solution  where the prefix_id can be passed as a parameter.


Refactor the test-suite

Description
It wasn't clear how to run the tests for xmonad-contrib (see #381 ) and after discussing this on the IRC, refactoring seemed a good idea. The old approach was to link the Instances module from the core library, generate a custom Main file, and run the test-suite with GHC. I had little luck running it with the old approach, mainly because a lot of the tests used old versions of QuickCheck. Through this PR, I tried to:

Copy over the Instances and Utils modules from the core library, since they can't be exposed (part of the test-suite)
Clean up and unify the Arbitrary instances added in the different files, and move them to the new Instances module
Make the tests compatible with newer versions of QuickCheck
Grab the test runner from the core library and adapt it, so all tests can be run together

Functionally, I didn't change anything in the tests. Some tests had a high discard rate by QuickCheck, but I don't know how to fix it (the test-suite takes around 10 seconds to run after being compiled, which I believe it's reasonable).
I'm not sure where to exactly document that people could run the tests, or whether I did something wrong with cabal (This is the first time tinkering with it), so feedback is much appreciated!
Checklist

[x] I've read CONTRIBUTING.md

[x] I tested my changes with xmonad-testing

[x] I updated the CHANGES.md file

[ ] I updated the XMonad.Doc.Extending file (if appropriate)

Just poppin' by to say that I did a simple stack test and things
worked beautifully!
On Tue, Dec 08 2020 01:15, Yecine Megdiche wrote:

Some tests had a high discard rate by QuickCheck, but I don't know how
to fix it (the test-suite takes around 10 seconds to run after being
compiled, which I believe it's reasonable).

I have fixed problems like this in the past by generating less random
and more "this is the case that we actually care about"-samples.  In
this case (as SwapWorkspaces is the slow one out) this would involve
producing a StackSet that we know contains the desired tags.  However, I
also think that 10 seconds is very acceptable, no need for that much
premature optimization ;)

Glad it worked! Indeed, the SwapWorkspaces tests have the "slow" ones. There was a problem with having two instances of the Arbitrary (one in RotateSome, one in SwapWorkspaces) and I opted to use the one in SwapWorkspaces, and it's still a bit slow. The tests there also rely on the instance to have certain properties (it's commented somewhere, I forgot exactly what it was)

@TheMC47 Can you rebase this branch against master to trigger the CI ? Thanks!

@psibi  done, checks have passed!


Need all OCABundle.json files to validate against Schema.json File

Currently the OCA Bundle file in OCABundles/schema/bcgov-digital-trust/student-card and OCABundles/schema/qc_anig_demo/Attestation_numerique_didentite_gouvernemental  are not validating against Schema.json file.
"secondary_background_color"  needs to be added in Branding Overlay for OCABundles/schema/bcgov-digital-trust/student-card.
"background_image_slice":  , "primary_attribute": and "secondary_attribute" needs to be added in Branding Overlay for OCABundles/schema/qc_anig_demo/Attestation_numerique_didentite_gouvernemental  to fix the validation.

@rajpalc7 , those attributes are optional not mandatory. Please adjust schema accordingly

@cvarjao - Thanks for looking into this clecio, current issue is the OCABundle.json files in different folder seems to be different from each from each other. If I set schema according to one OCABundle file, it will fail for all the other 3 paths.

@rajpalc7  I think we can just keep type and capture_base for now and remove the other attributes from the required attributes

@cvarjao - Thanks Clecio , Adjusted Schema according to the OCABundle.json files and workflow is running successfully now.


Support 7 segments cron expr with first (0th) segment as second

closes #17

Codecov Report

Merging #19 (d2b5996) into main (ac7f869) will decrease coverage by 1.50%.
The diff coverage is 90.12%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   93.29%   91.79%   -1.50%
==========================================
  Files           7        7
  Lines         477      524      +47
==========================================
+ Hits          445      481      +36
- Misses         17       24       +7
- Partials       15       19       +4

Impacted Files
Coverage Δ

pkg/tasker/tasker.go
82.12% <25.00%> (-1.31%)
:arrow_down:

gronx.go
95.34% <87.50%> (-4.66%)
:arrow_down:

next.go
92.42% <90.00%> (-6.02%)
:arrow_down:

pkg/tasker/parser.go
96.66% <93.10%> (-3.34%)
:arrow_down:

checker.go
98.63% <100.00%> (+0.05%)
:arrow_up:

validator.go
98.73% <100.00%> (ø)

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

@sananguliyev please help review this, thanks. to me it looks good so i am going to merge it in a day or so

thanks. actually the special treatment for year like expression in 6th segment is in fact for backward compat to not break things.

I approve this in case you do not want to release breaking change (of course with special notice)

thanks, merging it then


search in folders explorer is difficult to discover

It would be very helpful if we could see search box to search or filter folders explorer (similar like in Visual Studio [ctrl+;] ).

@Mah3 you can just start typing while Explorer is in focus. This will enable highlight mode and you would be able to quickly navigate between items with matches. Also it supports filtering so you'll see only highlighted items.
One limitation - you have to have folders expanded to highlight/filter their content.
https://code.visualstudio.com/updates/v1_31#_new-tree-widget

@Mah3 you can just start typing while Explorer is in focus. This will enable highlight mode and you would be able to quickly navigate between items with matches. Also it supports filtering so you'll see only highlighted items.
One limitation - you have to have folders expanded to highlight/filter their content (improving this is tracked in #66971).
https://code.visualstudio.com/updates/v1_31#_new-tree-widget

It is nice feature , I didn't know, and I think it is very difficult to discover as @RMacfarlane changed my issue title (many thanks by the way), and also I couldn't use copy paste , I think visual studio user experience in this feature is much great.

It's a good idea for discoverability but also takes up more space. I think it's fine for now, if more people complain about not knowing how to filter, we'll rethink the design.


feat: update xmake to 2.8.6+ds

cross-platform build utility based on Lua
Issue: https://github.com/linuxdeepin/developer-center/issues/5718
Log: update repo

/approve


Add empty list as default for adoption scenarios without networker nodes

Networker nodes are not required in all adoption topologies.
We need to provide default filter to be able to generate adoption_vars
template if osp-networkers are not defined in _vm_groups.
Fixes: https://github.com/openstack-k8s-operators/ci-framework/pull/2548

recheck

recheck

The previous run's have failed applying NNCP. This install_yaml's make target - https://github.com/openstack-k8s-operators/install_yamls/blob/main/Makefile#L2270-L2273

/approve


[Question] Is it better that  '超级管理员' in sql file to english 'Super Manager' ？

Question
Is it better that  '超级管理员' in sql file to english 'Super Manager' ， and '普通用户' translate to 'Common' ? If Admin Dashboard default in  English, the default description here  is unreasonable. I think use English to init here is better than Chinese.

I think the role of 超级用户  description uses the  Administrator is better, the 普通用户uses theStandard` is better. like windows os user type. and I fix this， see #2198


OpenSSL 3 cannot decrypt data encrypted with OpenSSL 1.1 with blowfish in OFB or CFB modes

OpenSSL versions
openssl-1.1.1n-1.fc35.x86_64
openssl-3.0.2-5.fc36.x86_64
How to reproduce
Encrypt some data using OpenSSL 1.1:
openssl enc -bf-ofb -k test -in plaintext -out ciphertext

then copy the result to a machine with OpenSSL 3 and try and decrypt it:
openssl enc -d -provider legacy -provider default -bf-ofb -k test -in ciphertext

the result will be gibberish.
Equally encrypting with 3 and decrypting with 1.1 will fail.
The root cause
The root cause is that OpenSSL 1.1 calls BF_set_key with a length of 16 which matches what EVP_CIPHER_key_length returns for this cipher while OpenSSL 3 calls it with a length of 8 instead so only uses half the key.
The reason for that is that providers/implementations/ciphers/cipher_blowfish.c specifies a shorter key length of 64 bits for the OFB and CFB modes but crypto/evp/e_bf.c defines all four BF ciphers with a key length of 16 bytes and while OpenSSL 1.1 sets the key length from the cipher OpenSSL 3 sets it from the context which gets it from the provider implementations.
When coding to the library interface you can work around this by calling EVP_CIPHER_CTX_set_key_length after setting the cipher on the context and before setting the key to get the old behaviour.

Fix in #18362


stop spinning gyms

Short Description:
Gyms are currently being treated as pokestops (and somehow we're getting items from "spinning" them). Putting an end to this nonsense.
Fixes:

Spinning gyms for items

ref #437

oh, yes, you are right.


[sort-imports] enforce sort-imports rule in mock-hub

This PR changes the subdirectory's linting rule to "sort-imports": "error", and fixes any respective linting errors.
This affects the directory under sdk/eventhub/mock-hub.

Thanks!


Update QA tests to check for confirmed payouts

The QA package was mostly only checking that the wallet recorded an unconfirmed
payment and was missing the case where the payment was rejected by the bitcoin
network and failed to confirmed.
This commit updates the package to check the confirmed balance whenever checking
to make sure the funds were received correctly.

Coverage remained the same at 26.014% when pulling 1653fe2c0f0e44272329607e0429fe9e9b69cef3 on qa into 0c06081a9f6a7bfc9830db686af495ea87c67b5d on master.


Make the add page responsive

Presently the categories are disoriented and the font size is too big and horizontal padding is too big and we might have to span the button full width for best practice in the mobile device

We have to make it responsive for devices

Greater than desktop
Desktop devices
Tablet devices
mobile devices

I can make it responsive by adding break point it for multiple devices

Can you please elaborate by adding break point what exactly do you mean ?

Full Screen View

Mobile View

You are posting the images which i posted in the issue description, please add the equivalent description, by adding breakpoints what you mean , create new css file ? adding tailwind breakpoints ? or how is it that you are planning to take care of responsiveness

screens: {
xs: "420px",
sm: "640px", // Small screens
md: "768px", // Medium screens
lg: "1024px", // Large screens
},
These are the break point which I am going to use for making website responsive

Sure you can consider only sm and lg for now i.e

All the classes which are not specified with the breakpoint prefixs are mobile
class with sm will support tablet
class with lg will support desktop and above

So you dont have to explicitly add these in the tailwind.config.ts, instead we can work with only sm and lg and the default values of these would do :)


AMBARI-25169 - Upgrade Apache Solr version to 7.7.0 or later in Ambari

What changes were proposed in this pull request?
CVE-2017-3164 SSRF issue in Apache Solr
https://wiki.apache.org/solr/SolrSecurity
How was this patch tested?
Manually:

Build infra-solr
Deploy ambari and a cluster including zookeeper, infra-solr, logsearch
Replace infra-solr instance with the new build
Check logsearch UI for logs

cc: @g-boros

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4949/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4952/
Test FAILed.
Test FAILured.

retest this please

@oleewere  I pushed changes regarding to logsearch too. Could you please review?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4958/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4957/
Test PASSed.


unrecognised line:     build   -compiler=gc

I don't know why it's happening on fan2go
lichen /var/tmp/portage/sys-power/fan2go-0.6.2/image/usr/bin/fan2go
2022/05/07 05:08:29 failed to evaluate licenses: unrecognised line:     build   -compiler=gc

This looks similar to #14, which should be fixed now - would you mind double checking that you're using the latest version of lichen?

With the new version it work


NEO-62182: Add uploadAemAsset functionality in acc js sdk

Description
The function added provides functionality to call an POST API exposed by aemAssetDownload.jssp

The method uploadAemAsset(assetDownloadUrl) is used to upload aem asset to campaign.
The assetDownloadUrl is the URL of the asset in AEM. This URL is used to download the assetInfo(signed asset link) from AEM and upload it to campaign.
The endpoint for this method is nms/aemAssetDownload.jssp
The method makes a post call to the above endpoint.
The method needs Authorization header to authenticate the call to campaign and also to download the asset from AEM.
The method returns the publishedURL of the asset uploaded on campaign publication server.
If publishing fails, an exception is thrown.

The called API is added in  https://git.corp.adobe.com/Campaign/ac/pull/15094 and
https://git.corp.adobe.com/Campaign/ac/pull/15341
Related Issue

https://jira.corp.adobe.com/browse/NEO-62182
Motivation and Context

It is required to add assets from asset essentials/ aem cloud service assets inside email designer(acrite).
How Has This Been Tested?

Created a node application & called the above function by passing token & a correct assetDownloadUrl.
The code change doesn't seem to affect other areas of code.
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@mkiki Can you please add review for the PR?

@mkiki I have followed all the guidelines as in https://opensource.adobe.com/acc-js-sdk/checkList.html . Please add review.
I will try to add installation steps for ruby & doc setup for linux in another PR as they were a bit different from macos ones & took me some time.

@mkiki gentle reminder for adding review, thanks.

@mkiki Thanks for review, added changes


PubSub GCP MaxExtension not changeable

Hi,
I'm trying to use the GCP Pubsub throught github.com/NYTimes/gizmo/pubsub/gcp but my receiver is running an import with a long duration surpassing the defaultMaxExtension = 60 * time.Second as defined on gcp.go:51. Causing the message to be resend because the receiver failed to Ack() the message.
Maybe i'm missing something but i don't see a way to change the MaxExtension on the underlying subscription's ReceiveSettings
I guess this requires a change in the code to make customisable? I'm happy to send in a pull request but would like to hear if it's needed an how you would like to see it implemented?

Congrats! 🎉 You're the first user to run into the 60s limit :grin:
I've been bothered by this myself. For now, I'm fine with adding a pubsub.ReceiveSettings parameter to the NewSubscriber func.
PRs are definitely appreciated! I'm sure I can find a volunteer for the work if you're busy.

No it's ok, I'm working on it right now anyways.
Would you be in favour of adding a struct to gizmo's pubsub/gcp so including the google cloud pubsub package would not be a requirement? Or just directly use the gpubsub.ReceiveSettings?

I'm find with just using the gpubsub.ReceiveSettings, no need for us to make a config that mimics it.
Let's go with the using a setter func for now. This would be an annoying breaking change.

I'll continue this tomorrow, i'm on European time. One thing I noticed is that with a setter it requires creating a func on both subscriber as subscriptionImpl. That seems a bit ugly too but i'll send in the pull request as soon as possible so you can review it.

Let's change the NewSubscriber to return a *pubsub/gcp.Subscriber (instead of the interface) so we wont need to alter the overall pubsub.Subscriber interface and folks can have access to the
new setter method.

The pull request is here: #112
Please let me know if this is how you pictured it.


fix last messaage LHN with task action

Details

Add a colon on the task action
Use the same function to get lastMessageText with task action

Fixed Issues

$ https://github.com/Expensify/App/issues/27671
PROPOSAL: https://github.com/Expensify/App/issues/27671#issuecomment-1723367800
Tests

Go to any report
Create a task
In the task detail click mark as done/ mark as incomplete, and verify that the last message shown in LHN and task report is the same

[x] Verify that no errors appear in the JS console

Offline tests
The same test

QA Steps
The same test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/39086067/59942142-a2b2-4fd6-b526-a3106a691d46

Mobile Web - Chrome
https://github.com/Expensify/App/assets/39086067/40beb21e-6478-4192-ad2b-4da1c37804c7

Mobile Web - Safari
https://github.com/Expensify/App/assets/39086067/593f9410-6297-4b44-afa3-03977812c437

Desktop
https://github.com/Expensify/App/assets/39086067/3e2e7577-f91c-478e-9c87-b3fb53bbadba

iOS
https://github.com/Expensify/App/assets/39086067/356959c4-9e4f-4e53-8fb9-0497cf398dd0

Android
https://github.com/Expensify/App/assets/39086067/d095d820-54b4-45f0-b510-996d016632e7

hmm yeah it seems like we did, I guess we can close this out then? Or is there anything different now that we still need to adjust?


Enable "one click-and-hold to drag" feature

Is your feature request related to a problem? Please describe.
When i want to move a folder, simple one "click and hold to drag" is not working. You need to select the folder first and that should click again and drag it.
Describe the solution you'd like
Clicking and holding on a folder/file should be enough. Users should not need to select file/folder first and thgen click again to move/copy it.
Describe alternatives you've considered
The way it works on current File Explorer is just fine.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Possible duplicate of #673

Yeah exactly.
Dylan Osborne<EMAIL_ADDRESS>17 Ara 2020 Per, 16:15 tarihinde
şunu yazdı:

Possible duplicate of #673
https://github.com/files-community/Files/issues/673
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/2627#issuecomment-747431983,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARJJ4ZPIPMCGGAVQXSO57NLSVH75TANCNFSM4U7SEIUA
.


Change Solid logo to Pride version

There are a few places where I think we should update the logo:

GitHub
Twitter
Gitter? (Unless that automatically pulls from GitHub)
Forum

I don't think we need to update it on the website, as it seems to be the most common practice to only do it on social sites and not the actual website (see https://www.verizon.com/ and https://twitter.com/verizon)

@justinwb would you be able to replace the GitHub and Forum logo with this? I don't know how to make a pull request to change the actual GitHub repository details 🙃

@justinwb would you be able to replace the GitHub and Forum logo with this? I don't know how to make a pull request to change the actual GitHub repository details 🙃

@KyraAssaad All set on the forum and github ✅


build varlink without GOPATH

when gopath was not explicitly set, make would fail due
to the varlink generator.  this symlink in the makefile
addresses that.
fixes: #1842
Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

LGTM assuming happy tests.

/lgtm


Persisting a refresh_token on a SPA

Hi,
I recently came across an article regarding JS Apps with OAuth. It points out how one should not persist the refresh_token on the client side. It goes on further and describe using a proxy api to issue cookies to store the client_id/client_secret and and requested refresh_token among others.
My project uses a Resource Owner Flow, with an API resource and SPA front end. I'm currently storing the refresh_token in localStorage, which seem to be a huge security flaw. Also have https and cors setup to only allow origin from the SPA.
Also, my IdentityServer client is setup for AllowedCorsOrigins to only point to the SPA.
My question is, is this a security hole, and if yes how do I persist the refresh_token in another way? I mean if you can get a hold of the users localStorage they can just use that refresh_token to get new access_tokens, thats only if you could somehow fake the origin.
Thanks for your time.

SPAs should not be obtaining refresh tokens. The implicit flow is designed for SPAs.

Thanks for your reply, however in my case the implicit flow (redirects) would be bad user experience design and also not possible for my use case. The system is running in a trusted environment, meaning I own the Identity Server, API, and SPA, and there will be no other clients besides the ones specified here.
Is it possible to use the resource owner flow with SPA's and also have it secure?
It seems I have three options:

Long-lived access tokens (and remove refresh_token).
Proxy in between SPA and API/IdentityServer then use cookies, however I'm not 100% how to do this.
Go with implicit flow, but design the identity server pages to look the same as the SPA. This seems like the worst option, since there's a mobile app in the works that will require a different look and feel. Meaning multiple views for identity server depending on client. Not to mention, bad user experience (redirects) since the user will never know about identity server and it doesn't suite the specs of the project.

For 3rd party logins (google, twitter etc) its understandable to have redirects because you are integrating with another application, but it doesn't make sense jumping the user around on my application as I'm not really integrating with anything external.
Thanks for the advice.

I'd go for long lived access tokens. Have you considered reference tokens? This gives you similar security characteristics to refresh tokens.

design the identity server pages to look the same as the SPA. This seems like the worst option, since there's a mobile app in the works that will require a different look and feel. Meaning multiple views for identity server depending on client.

I always dislike this approach since it's disingenuous to the user. The user is logging into the token service, not just the app. That's sort of the whole point of SSO. For example, I login to google, not just maps, docs, or gmail.


removed truncate_letters templatetag

Coverage decreased (-0.01%) to 63.767% when pulling d5d849f9ebbf4cd027b6f297b457ca7c84e0e64e on kuter:removed-truncate_letters-templatetag into 1234292e223a42ea83ec835ca77ce38fed6705f5 on django-extensions:master.

Coverage decreased (-0.01%) to 63.767% when pulling d5d849f9ebbf4cd027b6f297b457ca7c84e0e64e on kuter:removed-truncate_letters-templatetag into 1234292e223a42ea83ec835ca77ce38fed6705f5 on django-extensions:master.

Would like to deprecate the filter first then remove it later.
Could you create a seperate pull request for the change in tests/test_management_command.py ?

@trbs I've separate change in test/test_management_command.py and created new PR #1304 .
I've added deprecation warning and used truncatechars from django.

Could you please rebase so we can merge this ? :-)

Could you please rebase so we can merge this ? :-)

Could you please rebase so we can merge this ? :-)

I've tried but probably something went wrong .. feel free to rebase that branch by you own. Thanks ;)

Committed the changes in 79b31a648cacc7ab833d4f1636eaa9594a210f07


Not a subtype exception has been thrown when navigating from login page (with LoginVxStore) to the home page (with MainVxStore)

Describe the bug
When navigating to the Home page through VxNotifier, the system throws an exception "type 'MainVxStore' is not a subtype of type 'LoginVxStore' in type cast".
Navigation method: ctx.vxNav.clearAndPush(Uri.parse("/home")); (Navigator 2.0)
To Reproduce
Steps to reproduce the behavior:

Create two pages with VxStore
Navigate to the second page after mutation by VxNotifier by using the VxNavigator.
System throws an exception "type 'MainVxStore' is not a subtype of type 'LoginVxStore' in type cast".

Expected behavior
Should navigate without any exception.
Screenshots
Exception:

Exception point to:

VxNotifier:

Smartphone (please complete the following information):

Device: Android Emulator
OS: Android 10 (API 29)

How you are specifying your login store and mainstore?

My fault, I overlook the documentation, which is only one store is allowed.

Awesome


datapath: remove SNAT maps entries when kube-proxy is enabled

This path remove SNAT maps entries to support the case when the user toggles off from using BPF to kube-proxy
Fixes: #13835
Signed-off-by: Salvatore Mazzarino<EMAIL_ADDRESS>Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Fixes: #issue-number
Remove SNAT maps entries to support the case when the user toggles off from using BPF to kube-proxy.

test-me-please

test-me-please

retest-net-next

retest-net-next

@tklauser anything I can do to help here?

@tklauser anything I can do to help here?

test-me-please

test-me-please

Thanks, guys to push this out.

Thanks, guys to push this out.

Do you want me to rebase here guys before merging?

Do you want me to rebase here guys before merging?

@mazzy89 no need, it's all good. Thanks for the PR. @brb do we need to backport this to 1.9?

@mazzy89 no need, it's all good. Thanks for the PR. @brb do we need to backport this to 1.9?

@aanm Yep, added to be backported to 1.8 and 1.9.


How do I download the time_domain?

I was able to download the BCIC2a raw data with min2net.utils.load_raw, but how do I download the time_domain?

There are examples in the experiments folder
https://github.com/IoBT-VISTEC/MIN2Net/tree/main/experiments
You should run from the following steps:

download_datasets.py
prep_*.py
train_*.py

Thank you.


Non Aggregate Query Vausing Index out of Range

I am trying to do a query/slice that doesn't use aggregates.
Some thoughts:

When I use aggregates, everything is working fine.
If remove the groupby and metrics fields leave them blank) and specify columns in not-grouped by, then I get the index out of range (traceback below)
Since the out of range appeared to be the metrics, I added the metrics and used non-group by I get the error that we can only use group by and metrics or not grouped by, not both. (makes sense)

So, it appears that when I am trying to do a not-grouped by query, that it tries to reference my metrics of which I don't have any specified. (there are metrics on the table itself... just not in the query I am running)
Traceback:
raceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python2.7/dist-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
return f(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/caravel/models.py", line 1294, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/caravel/views.py", line 557, in explore
payload = obj.get_json()
File "/usr/local/lib/python2.7/dist-packages/caravel/viz.py", line 258, in get_json
'data': self.get_data(),
File "/usr/local/lib/python2.7/dist-packages/caravel/viz.py", line 368, in get_data
df = self.get_df()
File "/usr/local/lib/python2.7/dist-packages/caravel/viz.py", line 360, in get_df
df = super(TableViz, self).get_df(query_obj)
File "/usr/local/lib/python2.7/dist-packages/caravel/viz.py", line 144, in get_df
self.results = self.datasource.query(**query_obj)
File "/usr/local/lib/python2.7/dist-packages/caravel/models.py", line 611, in query
if m.metric_name == metrics[0]][0]
IndexError: list index out of range

Is this still an issue with latest caravel?


Add us-core-5 data to initdb.sql

Summary
This Pull Request updates FHIR data to be compatible with US Core v5.0.1
To update your server,

stop docker
follow the READ.me to remove the old database
run bundle install
restart docker

Also attach the Bundle transaction file for all the changes
New behavior
Code changes

initdb.sql

Testing guidance

update inferno server as mentioned above
run (g)(10) test kit with US Core 5.0.1.
Tests shall pass without data error
us-core-501-update.json.zip

We added a 'Media' resource type, linked from diagnosticreport?  We'll have to make sure our g10 presets have that in the scope, because I'm getting an access denied right now when going through g10.  I imagine this doesn't happen when just using the us core suite directly though.

I've come across the following errors when running g10 single patient api tests in us core against it (so, perhaps you've addressed these in US Core but haven't yet gotten them into g10).  Are all of these issues with the tests themselves?
SDOH: Resource does not conform to the profile http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment|5.0.1
Social History: Resource does not conform to the profile http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history|5.0.1
Provenance: Resource does not conform to the profile http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance|5.0.1

The SDOH and Social History errors are addressed by this PR in US Core repo: https://github.com/inferno-framework/us-core-test-kit/pull/93
The Provenance error is caused by IG constraints. See https://chat.fhir.org/#narrow/stream/179190-united-states/topic/Validation.20error.20on.20Provenance. We need to figure out how do address this one while waiting for US Core's resolution


flask_user.emails.SendEmailError

Hello i'm new to using flask_user first time worked am using version 0.6.21, after first successful authentication it stops. I've searcehd for fixes the closest is this unanswered stackoverflow question [https://stackoverflow.com/questions/61349588/flask-user-sending-confirmation-mail-failed-with-flask-mail?stw=2] kindly anyone

This Project is on not maintained since more than a year. You might wanna use an alternative such as Flask Security.
Otherwise please post an MRE of your problem to show your specific usecase.


Update to RowsAffected and Error for updated with db.Save

Hi,
I am wanting to be able updated a record by id, and verify if that id exists and resulted in a succesful update.  I have found that I can get rows affected if I access directly from the save.
    okay = s.db.Save(product).RowsAffected > 0
    err = s.db.Error // This is always nil

But then the error is nil even if an error is raised, alternatively I can get the error back, but not the rows affected.
    err = s.db.Save(product).Error
    okay = s.db.RowsAffected > 0 // This is always zero

Is there a way I can use the API to get both these values back?
Thanks,
Julian.

Hello @nativematch
Could you write a sample that could reproduce your issue? I just tested it, seems works for me.
Maybe caused by the product is not a pointer in your code, then it should be &product
But anyway, please reopen this issue if you could provide a reproduce-able code, you could use below template for that
package main

import (
	"log"

	"github.com/jinzhu/gorm"
	_ "github.com/mattn/go-sqlite3"
)

func main() {
	db, err := gorm.Open("sqlite3", "db.db")
	if err != nil {
		log.Fatal(err)
	}
}

I'm also having this issue. RowsAffected is 0 if you check the error.

However, this seems to work:
query := db.Exec("SELECT 1;");
rowsAffected, err := query.RowsAffected, query.Error;

... By splitting it up like that, it seems to leave both accessible?

@benguild tks