Problem including a dll that includes Microsoft.CognitiveServices.Speech.chsarp.dll

Hi all, i'd need to develop a BHO (Browser Helper Object) for Internet Explorer 11.
I have created .Net Framework Library, but i have a lot of problems when i use at Runtime some object included in  Microsoft.CognitiveServices.Speech.csharp.dll, like  Assembly loading error.
I have tried to include it in a Empty .Net framework Library and it works well, but my last try, to reference this dll in another dll that is used by a console application send me Exception: 'System.DllNotFoundException' in Microsoft.CognitiveServices.Speech.csharp.dll, at Runtime. Is there a best practice? Thank You.

@gabser10 Thanks for feedback, could you provide a sample code to repro the issue ?

OK, i provide the instructions to reproduce it.
Create a project in VS 2019 dll library .net framework
Add from NuGet manager Microsoft.cognitiveservices.speech.csharp.dll the reference.
Add using Microsoft.CognitiveServices.Speech.csharp in Class1.cs autogenerated file
Add using Microsoft.CognitiveServices.Speech.csharp.Audio
In class Class1 add a static void Main method
In Main Method instantiate var config = SpeechCOnfig.instantiateWith("mysubscription","myRegion");
Compile and generate the Dll.
Create another dll .Net Framework add reference to the previous compiled dll
Create a class MainInvoker and the using relative to the previous dll
Create a method in MainInvoker Class public static void Main
Instantiate Class1 object = new Class1(), invoke method object.Main()
compile the library.
Create a console application project, reference to Previous Library,
in public static void main method create an instance of MainInvoker object and use oject.Main method. Debug, See that when instantiate the object SpeechConfig at runtime obtain the error. Sorry but i have not yet a repository with the code, but this is the full development try, really i'd need to embed Microsoft Cognitive Speech Recognition Services in a BHO and i have a problem loading one assembly in the Microsoft.cognitiveservices.speech.dll too. Thank you very much for attention.

What Windows version are you testing on?

Windows 10 precisely in VMware vm due company policies for internet explorer. Thank you for interesting. It works if directly referenced from first dll in my test. My objective is to use in a BHO for IE.
Scarica Outlook per iOShttps://aka.ms/o0ukef

Da: Ryan Hurey<EMAIL_ADDRESS>Inviato: Tuesday, May 5, 2020 6:59:25 PM
A: Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Cc: gabser10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Oggetto: Re: [Azure-Samples/cognitive-services-speech-sdk] Problem including a dll that includes Microsoft.CognitiveServices.Speech.chsarp.dll (#619)
What Windows version are you testing on?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/619#issuecomment-624176875, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHDWV7N55FYP23CX6FGRO3RQBAW3ANCNFSM4MYT6ISQ.

Based on the issue description, I tried the following steps in VS 2019. Can you please confirm if this is essentially the same as what you attempted?

Create a new project, Class Library (.NET Framework), ClassLibrary1

Install the Speech SDK NuGet package and select the x64 target architecture as instructed in
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstarts/setup-platform?tabs=dotnet%2Clinux%2Cjre%2Cbrowser&pivots=programming-language-csharp
Use the following code, build:

using Microsoft.CognitiveServices.Speech;

namespace ClassLibrary1
{
    public class Class1
    {
        public void Main()
        {
            var config = SpeechConfig.FromSubscription("YourKey", "YourRegion");
        }
    }
}

The build output directory contains ClassLibrary1.dll and all Microsoft.CognitiveServices.Speech dlls from the NuGet package.

Create another new project, Class Library (.NET Framework), ClassLibrary2

Select the x64 target architecture but do not install the Speech SDK NuGet package.
Add ClassLibrary1.dll from the previous step to References.
Use the following code, build:

using ClassLibrary1;

namespace ClassLibrary2
{
    public class MainInvoker
    {
        public void Main()
        {
            var obj = new Class1();
            obj.Main();
        }
    }
}

The build output directory contains ClassLibrary1.dll, ClassLibrary2.dll, and Microsoft.CognitiveServices.Speech.csharp.dll, but no other dlls.

Create a new Console App (.NET Framework), ConsoleApp1

Select the x64 target architecture but do not install the Speech SDK NuGet package.
Add ClassLibrary2.dll from the previous step to References.
Use the following code, build:

using ClassLibrary2;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            var obj = new MainInvoker();
            obj.Main();
        }
    }
}

The build output directory contains (in addition to the console app executable) ClassLibrary1.dll, ClassLibrary2.dll, and Microsoft.CognitiveServices.Speech.csharp.dll, but no other dlls.
So, as I now run the console app, it fails on SpeechConfig.FromSubscription() with error

System.DllNotFoundException: 'Unable to load DLL 'Microsoft.CognitiveServices.Speech.core.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'

This is because the main SDK implementation is in native core and extension libraries, the csharp dll is just a wrapper.
To solve this, it is necessary to either install the Speech SDK NuGet package also in the application project (here, the console app) or otherwise ensure the SDK core dll (and extensions if needed) can be found in runtime together with your dll(s).

Closing the issue as solution answered, please let us know if there is more information needed.

Sorry but I’d need to include the sdk in a bho. Is this not possible? I had tried to copy all dlls in the bho bin folder but I have always assembly missing  error in core dll.
Scarica Outlook per iOShttps://aka.ms/o0ukef

Da: Jarno Hakulinen<EMAIL_ADDRESS>Inviato: Tuesday, May 12, 2020 8:00:07 PM
A: Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Cc: gabser10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Oggetto: Re: [Azure-Samples/cognitive-services-speech-sdk] Problem including a dll that includes Microsoft.CognitiveServices.Speech.chsarp.dll (#619)
Closed #619https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/619.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/619#event-3328674211, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHDWV37HE2RW265QOYKO4LRRGFCPANCNFSM4MYT6ISQ.

The nested dlls try was only for test. Thank you.
Scarica Outlook per iOShttps://aka.ms/o0ukef

Da: Gabriele Serra<EMAIL_ADDRESS>Inviato: Tuesday, May 12, 2020 8:05:49 PM
A: Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Oggetto: Re: [Azure-Samples/cognitive-services-speech-sdk] Problem including a dll that includes Microsoft.CognitiveServices.Speech.chsarp.dll (#619)
Sorry but I’d need to include the sdk in a bho. Is this not possible? I had tried to copy all dlls in the bho bin folder but I have always assembly missing  error in core dll.
Scarica Outlook per iOShttps://aka.ms/o0ukef

Da: Jarno Hakulinen<EMAIL_ADDRESS>Inviato: Tuesday, May 12, 2020 8:00:07 PM
A: Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Cc: gabser10<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Oggetto: Re: [Azure-Samples/cognitive-services-speech-sdk] Problem including a dll that includes Microsoft.CognitiveServices.Speech.chsarp.dll (#619)
Closed #619https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/619.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/619#event-3328674211, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHDWV37HE2RW265QOYKO4LRRGFCPANCNFSM4MYT6ISQ.

Did you get the console app example working as presented, but not the BHO?
Have you installed the actual Speech SDK NuGet package in your BHO project?
Also, are you able to create a working BHO if you don't use the Speech SDK? This is good to verify.
If the error is still reproduced, what is the exact error message? Please provide the details in verbatim or attach a screenshot. Also, if you have a BHO sample project by now, could you attach the code as well. We have not tried the SDK with BHOs and IE 11 so far.

Hi, yes i have installed the actual Speech SDK NuGet package in the BHO project.
I have created this project by following indications at /https://stackoverflow.com/questions/5643819/how-to-get-started-with-developing-internet-explorer-extensions.
All works well but the same error in the previous case it's present, trying to instantiate speechconfig object. Thank you very much!

Thanks for the info, I created a BHO project and was able to reproduce the error exactly. I tried creating a speech config
var config = SpeechConfig.FromSubscription("YourKey", "YourRegion");

which gave the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CognitiveServices.Speech.csharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=d2e6dcccb609e663' or one of its dependencies. The system cannot find the file specified.

To get more details about the problem, I followed the instructions included in the full error message:

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

So, using regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion and add a new DWORD value with name EnableLog, data 1.
With this, you get the following additional info:

LOG: Attempting download of new URL file:///C:/Program Files (x86)/Internet Explorer/Microsoft.CognitiveServices.Speech.csharp.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Internet Explorer/Microsoft.CognitiveServices.Speech.csharp/Microsoft.CognitiveServices.Speech.csharp.DLL.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Internet Explorer/Microsoft.CognitiveServices.Speech.csharp.EXE.
LOG: Attempting download of new URL file:///C:/Program Files (x86)/Internet Explorer/Microsoft.CognitiveServices.Speech.csharp/Microsoft.CognitiveServices.Speech.csharp.EXE.

Which shows that the loader only searches the IE installation directory (C:\Program Files (x86)\Internet Explorer for a 32-bit IE in this example) for BHO dependencies by default. For now, you can work around this by copying Microsoft.CognitiveServices.Speech.csharp.dll and Microsoft.CognitiveServices.Speech.core.dll (at minimum) there. We'll check for a better way if available.

Closing the issue as solution provided.


Add navigator to Snapdragon

The navigator module is not yet running on the Snapdragon. I need to add that.

@julianoes Is there any particular challenge with this?

@LorenzMeier It depends on the dataman which doesn't compile for QURT just yet. And then we'll have to verify the file gets created, etc.

@julianoes Is there something you need for dataman, in the way of file I/O functions that we currently don't support?

@jywilson I don't think so. It should be straightforward. I'll give it a try soon.

I tried this and it turns out the navigator needs dataman which in turn uses lseek() which doesn't seem to be available on the DSP side.
For now, I'm going to propse to run the navigator on the Linux side.

That seems perfectly fine.


add extension icon

Thanks for this extension! This just adds an icon.
The formatting changes are just npm's automatic rewriting. I'm happy to undo them if you prefer it as-is. (Though I'd recommend sticking with npm's formatting, since it will try to reformat on every change.)

Thanks, @bitjson! I like "clean" PRs. It would be better to remove the formatting changes. I will fix it in other commit.


Removed vendor drivers from orchestrator, make orchestration_driver_b…

…ase as generic driver
Need to provide metedata in glance image, if not provided, driver will assume following default values
supports_device_sharing=True,
supports_hotplug=True,
max_interfaces=5

@njagadish @rajendramachani

raised another pr https://github.com/oneconvergence/group-based-policy/pull/336


fix: updating the styles of contribution documentation

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Refers #38589

I have made a new custom css to change the font and color. I have also added the feature of Dark and Light Mode.

Also, if you have a chance it would be awesome to use a dedicated theme using the docsify-themeable

This can come in a separate PR.
I am changing the closes keyword to reflect the same from the OP.

Our top nav is always the same in both light and dark modes.
The font is a tad overwhelming on the sidebar, we should use the regular Lato there.
Could the switch be moved a little more to the left, it seems a bit squished on the right to me.

I can quickly fix 1 and 2. And about 3, I can move it to the left, but since its position is fixed, it comes at the top of the text in mobile view. @raisedadead what do you think, should I remove the fixed  positioning from top? If I removed that, then it solves the problem and I can move it to the left.

Also, if you have a chance it would be awesome to use a dedicated theme using the docsify-themeable

This can come in a separate PR.
I am changing the closes keyword to reflect the same from the OP.

You mean say to create a custom theme using docsify themeable customization? Sorry, I have never used it before so a little confused here. Does it make a difference to use a custom theme or docsify theme?

Does it make a difference to use a custom theme or docsify theme?

I have included links to the plugin on the original issue thread. You should give its documentation a read, if you are intrested in implementing it.
Essentially it makes configuring the colors, and other things quite neat vs the hacky way we have it right now.
The current setup could become a deal breaker long term as we expand on adding more docs.

I can quickly fix 1 and 2.

I would recommend checking out the design pattern on the forum. Especially with the 'Dawn theme' (you can select it from the menu).
It has a decent asthetic to the color & typography.

And about 3, ...

You should check and use the top navbar with the logo. It would be easier to add it there.

Does it make a difference to use a custom theme or docsify theme?

I have included links to the plugin on the original issue thread. You should give its documentation a read, if you are intrested in implementing it.
Essentially it makes configuring the colors, and other things quite neat vs the hacky way we have it right now.
The current setup could become a deal breaker long term as we expand on adding more docs.

@raisedadead  I will go through the documentation. So, I have the changes for the above 3 points you mention. So should I commit the changes for this?

So should I commit the changes for this?

I would focus on this PR's needs for the current changes and work on the plugin later on a separate PR after this PR has been merged.

@raisedadead I have made the changes for the 3 points you mention above. Have a look to it.

@raisedadead I will look into all the points as soon as possible. Meanwhile we can wait for some feedback from @ahmadabdolsaheb.

Thank for working on this. Here are some general pointers:

you could use global CSS variables and switch between them based on light/dark mode. Here is where you could find them.
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/client/src/components/layouts/variables.css

use the convention from /learn for buttons.

only use monospace for large titles.

the nav button should use the same convention used for /learn universal nav. It should be dark/light text and white background on hover.

Here are some small inconsistencies I noticed.

the divider between side navigation turns blue on dark mode.
the "Code of Conduct" text turns white on night mode.

Hi @niteshseram, I was wondering how the progress is going with this PR?  Please let us know if you have any further questions.

@ahmadabdolsaheb I am really sorry.I havn't made any progress. I got caught up with my final semester works and examination. But planning to start soon just after my final semester examination which is ending at 5th August.

Best of luck with your exams @niteshseram.

The OP has since deleted their fork. We are unable to update the PR. Closing as stale.


Adding in pull approve config

Adding in config extending the scripts repos base config. This configuration has been simplified to fix several issues we are having with pull aprove
Note for QA: Pull requests are solely updating the config file for how we assign reviewers. Nothing in this PR will be testable.

Closing while we determine if this is the solution we want.


Some plans to generate charts?

Hi, there are a way (or planned in the roadmap)  to use the postgres_kernel for basic chart visualization?

I don't have plans for that, but you might be interested in metabase though, which has a number of charts built-in.
(Apologies for the slow response-- I mistakenly had email notifications turned off. Fixed now)


Fix warning messages and remove redundant variables

We need to keep clean for our implementations, so need to fix warning messages and remove some redundant variables

I merged these changes as part of #9 - I will make a new issue that perpetually tracks redundancy, error messages & warnings. I'll assign the both of us to it.
Thanks for all the help as of late!


Dark mode - Rearrange CSS styles alphabetically

Fixes a comment in PR

Nice. I tested a good Stylelint plugin which fixes this automatically.. (when you run stylelint --fix I'll take another look and maybe make a PR with that added so we don't need to manually sort them.


Lower-upper tier local authority area codes for Scotland?

Thanks for making this excellent resource available.
When trying to merge it with other more fine-grained regional data, it quickly becomes apparent that I need to get to grips with the upper and lower tier regional authority codes (apologies if my terminology is off... I'm quite new to this).
There is an promising table at https://geoportal.statistics.gov.uk/datasets/lower-tier-local-authority-to-upper-tier-local-authority-december-2017-lookup-in-england-and-wales ... but that only covers England and Wales and I am having no luck finding anything similar for Scotland.
Anyone any idea where to find such a resource?
(For example covid-19-cases-uk.csv here has S08000024,Lothian but other more fine-grained data at lower-tier level will have records for all of S12000010,East Lothian & S12000040,West Lothian & S12000019,Midlothian & S12000036,City of Edinburgh instead.  Easy enough to resolve this for England and Wales using the ONS geoportal data mentioned above but Scotland a problem until I can find something similar).

I think what you're looking for is the Scotland NHS Boards:
https://spatialdata.gov.scot/geonetwork/srv/eng/catalog.search#/metadata/f12c3826-4b4b-40e6-bf4f-77b9ed01dc14

I think what you're looking for is the Scotland NHS Boards:
https://spatialdata.gov.scot/geonetwork/srv/eng/catalog.search#/metadata/f12c3826-4b4b-40e6-bf4f-77b9ed01dc14

Thanks... interesting... that page just seems to have spatial data "shape files".  I'm more looking for something which just tells me S08000024 is comprised of sub-areas S12000010, S12000040, S12000019, S12000036... .  (Which they should do, as that page does mention the boundaries "align Health Boards with the combined area of each Local Authority that they serve").  Or the inverse lookup from local authority code to its upper tier code.
The site looks like the right sort of place to find such a table though... will see what else they've got.

Aha... this looks like exactly what I need: https://statistics.gov.scot/data/data-zone-lookup (page links a .csv download).
Seems the area code hierarchy has quite a few levels to it: DataZone,InterZone,MMWard,SPC,UKPC,Council,HB,HIA,TTWA,CTRY)
S08000024 (Lothian) is in the HB (presumably Health Board) column.
S12000010 (East Lothian) is found the Council column (with S08000024 in the HB column as expected).
Perfect!  (Well at least it looks like it is... the proof is once I've loaded all this stuff into dicts and am trying to mash it all up...)

Yup that seems to be what I was looking for.  Closing issue.


Fixing search bugs within new create dialog

Fixes enter_to_confirm problem with all new dialogs.
When user clicks outside search, it checks if it should disable search field, within new create dialog.

Frontend tests were OK :+1: (details)


Why my P

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: Windows11
scrcpy version: v1.24
installation method: Windows release
device model: HP-15da0xx
Android version: 11

Describe the bug
When I download this program. I click install to scrcpy application. Suddenly show windows Power Shell blinkly but nothing is happened. My laptop is x64 base. And for me this program is very important. Please help?
Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

Run scrcpy-console.bat, the terminal will remain open on errors.

> Run scrcpy-console.bat, What is it, I don't understand?
By the way, After that, I tried to install via windows terminal. And scrcpy install successfully with it.
Thanks for your response and also for giving us such a great app.🙂


Add tests/specs

I'm getting ready to write some tests for git-up. Any objections to RSpec?

Not strong ones, but this isn't a very maintained project in the first place, and is less relevant now that Git 2.0 has better push behaviour.

I'm curious. How does the new push behavior in Git 2.0 make the smart pulling that git-up provides less relevant?

Prior to Git 2.0, git push tried to push everything. The discrepancy between that and git pull (which only updates the current branch) meant that git push would frequently complain at you that you were trying to push an old commit to some other branch you didn't care about.
Now that git push only pushes the current branch by default, that's less of an issue. There are other benefits to git up of course - keeping several branches continuously up to date, getting an overview of their status etc - but I haven't personally been on a team with a workflow that makes that particularly valuable for some time now. As a result, I've been using git up less and not really maintaining it.
I'd still like to find the time for a grand rewrite, for several reasons:

I hate distributing command-line tools via language-specific packaging frameworks like RubyGems or PyPi - it's such a barrier to installation
There are some arbitrarily Ruby-specific features that I'd rather replace with a more generic hook system (see #66)
I don't really like Ruby any more

...but these days I have so little time.

Adding my two cents as a user.
I've been a regular user of git up for months now, maybe more than a year. It has become one of those commands that get written by muscle memory, I don't even think about it anymore.
For me, those "other benefits" are actually the main reason I like to use it. I can understand that in the general case that is not particularly valuable. That said, it feels like the grand rewrite will probably never happen, which is not a problem, so I only ask the maintainers that those behaviors not be lost if an attempt to do the rewrite stumbles.
In summary, git up is fine as it is, please don't break it. I'm always afraid of the grande redesign in the sky. :P

Concerning tests: I have an integration test suite in my Python port. If git-up gets a test suite, I would try to keep my one in sync with it so both implementations stay compatible.


Fix format for h2 config in the README

@kRITZCREEK tells me that the location version of this works for the endpoints, but this is definitely right for the config. I guess that might be worth opening an issue for?

@garyb yeah, can you open issue for that? I'm not sure if that discrepancy would be expected or not, but we can discuss there.


a-button If this is a native custom element

I followed the tutorial to add cron in ant design vue, but it reported an error with the error message:
Failed to resolve component: a-button If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

Closing due to inactivity


Collection navigations should use reference equality by default

I encounter a strange behaviour while working with EF Core 2.1.1 .
You can find a small program for reproduction here: https://github.com/Anirie/EFCoreAddMethodBug
This code copies an existing "Book" entity with all it references.
In detail, it takes an existing “book”, resets the db connection (so the chosen book entity is untracked), deletes all key properties of the entity (including key properties of all children) and adds the entity to the context.
            var options = SqliteInMemory.CreateOptions<TestModelContext>();
            var dbContext = new TestModelContext(options);
            dbContext.Database.EnsureCreated();

            //create book with one page and one image ( image has navigation props to book and bookpage)
            var book = CreateBasicBook();
            var page = CreateBasicBookPage(book);
            var image = CreateBasicImage(book, page);

            dbContext.Add(book);
            dbContext.Add(page);
            dbContext.Add(image);
            dbContext.SaveChanges();

            //take existing book
            var bookToCopy =dbContext.Books.Include(b => b.BookPages).Include(b => b.Images).First() as Book;

            //reset Connection to Database
            dbContext.Dispose();
            dbContext = new TestModelContext(options);

            // set keyproperties to zero
            bookToCopy.Id = 0;
            //set keyproperties of children to zero
            foreach(var i in bookToCopy.Images)
            {
                i.Id = 0;
            }
            foreach(var p in bookToCopy.BookPages)
            {
                p.Id = 0;
            }

            //add to context
            dbContext.Add(bookToCopy);
            //save context
            dbContext.SaveChanges();

            //reset Connection to Database changes everything
            //dbContext.Dispose();
            //dbContext = new TestModelContext(options);

            //output
            var allBooks = dbContext.Books.Include(b => b.BookPages).Include(b => b.Images).ToList();

            Console.WriteLine("Initial Book: "+ JsonConvert.SerializeObject(allBooks[0], new JsonSerializerSettings
            {
               ReferenceLoopHandling = ReferenceLoopHandling.Ignore
            }));
            Console.WriteLine("Copied Book: " + JsonConvert.SerializeObject(allBooks[1], new JsonSerializerSettings
            {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore
            }));

Now the context contains two books (the initial book and its copy), but the copy holds two identical bookPages instead of one. Somehow, invoking dbContext.Add(bookToCopy) adds a second bookpage to the entity. **It seems that adding an entity with many references to the dbContext creates unwanted navigation properties.**I think that is not the intended behaviour of the dbContext.Add method.
Strangely enough, if I reset the dbContext after I added the book entity everything works fine. That means, I get a context the contains the initial book, a copy of this book and all references are set in the right way.  (For reproduction uncomment line 60 and 61 in the provided code)
Is it possible that the Add method contains a bug? Or is it intended to reset the DBConnection everytime after SaveChanges() method was invoked?
Steps to reproduce
You can finde the whole project here: https://github.com/Anirie/EFCoreAddMethodBug
Further technical details
EF Core version: 2.1.1
Database Provider:  Microsoft.EntityFrameworkCore.Sqlite
Operating system: Microsoft Windows 10 Pro
IDE: Visual Studio 2017 15.4

Note for triage: the issue here is that BookPage has overridden Equals\GetHashCode in an unstable way, causing the navigation property to not correctly identify duplicates. However, since EF is creating the navigation property instance, it should be creating it with reference comparison semantics, but this isn't happening.
@Anirie The way Equals/GetHashCode are overridden makes these types unsuitable for storage in a .NET collection since mutating members of the stored instance can change equality while the instance is being stored. This post by Eric Lippert has some good guidelines. You can work around this issue in EF Core by forcing the BookPages navigation property to use reference comparisons instead of your overridden Equals\GetHashCode:
public sealed class ReferenceEqualityComparer : IEqualityComparer<object>
{
    private ReferenceEqualityComparer()
    {
    }

    public static ReferenceEqualityComparer Instance { get; } = new ReferenceEqualityComparer();

    bool IEqualityComparer<object>.Equals(object x, object y) => x == y;

    int IEqualityComparer<object>.GetHashCode(object obj) => RuntimeHelpers.GetHashCode(obj);
}
...
public ICollection<BookPage> BookPages { get; set; }
    = new HashSet<BookPage>(ReferenceEqualityComparer.Instance);

However, you'll still need to be very careful using these objects elsewhere, so you may want to consider not overriding Equals\GetHashCode in this way.

Thank you for your answer!! It helped a lot!

fixed in aaa92d9d6f6fc20bb274f7b1afb20554bb20c96d


Add git SHA to binaries at build time

Signed-off-by: Vivek Singh<EMAIL_ADDRESS>
Add git SHA to binaries at build time
Description

Motivation and Context

[x] I have raised an issue to propose this change (required)
#10

How Has This Been Tested?

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

How about some -version flag that prints, then exits?

I think that is better.

I have added script to generate SHASUM.

I have also added -version flag as well.

Perhaps make should invoke the hashgen?

@viveksyngh thank you for this PR.
I think as a follow-up we should complete #4 and make sure that we invoke the hashgen script at that time. This will mean the binaries will be automatically uploaded whenever I do a release on the repo.
Alex


doesn't work with requirejs

installing from bower, and including with requirejs, It tries to use React from the window
// minimal example
require.config({
  paths: {
    "react": "bower_components/react/react",
    "react-router": "bower_components/react-router/dist/react-router",
  }
});

define(["react", "react-router"], function (React, ReactRouter) {
  console.log(ReactRouter);
});

// error
TypeError: React is undefined
var Route = React.createClass({

react-router.js (line 372, col 4)

I can't get the require js optimizer to work with this. Just throws me  Uncaught Error: app missing react-router


Add pattern to markdown link checker config to ignore SNOMED URLs

To update: https://github.com/neurobagel/documentation/blob/main/md_link_check_config.json
The https://bioportal.bioontology.org/ URLs tend to be pretty flaky and can be inaccessible by weird problems like:
"This website is under heavy load (queue full)"
This is probably not a good enough reason for our checks to fail given that not all our URIs are dereferenceable anyways.

Closed by #242


[KYUUBI #933] Enhance the detection mechanism for engine startup

1. Description
EngineRef use exists znode to determine whether engine started successfully or not(use the last znode), there are inconsistencies in this. So, take an idea to improve the detection mechanism by adding the started sessionid to the znone. EngineRef will check the sessionid in a loop after a engine started.
2. Here are two options
Option I, add sesssionid to the data of znode

Option II, add sessionid to the path of znode

3. Solution
In order to be consistent with the design of server znode, prefer to choose Option II .
Demo
/kyuubi
- serviceUri=bigdata:10009;version=1.3.0-SNAPSHOT;sequence=0000000000
/kyuubi_USER/test
- serviceUri=bigdata:39869;version=1.3.0-SNAPSHOT;session=8178069f-0b22-4d06-b1c0-908094769397;sequence=0000000000]

Codecov Report

Merging #935 (0f884b3) into master (9efa78b) will increase coverage by 0.09%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##             master     #935      +/-   ##
============================================
+ Coverage     79.12%   79.22%   +0.09%
  Complexity       11       11
============================================
  Files           146      146
  Lines          5414     5420       +6
  Branches        653      653
============================================
+ Hits           4284     4294      +10
+ Misses          756      753       -3
+ Partials        374      373       -1

Impacted Files
Coverage Δ

...org/apache/kyuubi/ha/client/ServiceDiscovery.scala
46.66% <64.70%> (+2.03%)
:arrow_up:

...cala/org/apache/kyuubi/ctl/ServiceControlCli.scala
73.40% <100.00%> (ø)

...la/org/apache/kyuubi/ha/HighAvailabilityConf.scala
98.24% <100.00%> (+0.09%)
:arrow_up:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
77.46% <100.00%> (+1.34%)
:arrow_up:

.../scala/org/apache/kyuubi/server/KyuubiServer.scala
50.00% <0.00%> (+2.63%)
:arrow_up:

Continue to review full report at Codecov.

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

Is UT broken？ The newly added ut does not trigger failure？

Is UT broken？ The newly added ut does not trigger failure？

Already rebase the latest master branch to the patch.

Can you check the UT, adding a new configuration need update the doc by default

Can you check the UT, adding a new configuration need update the doc by default

Hi @yaooqinn, you mean HA_ZK_ENGINE_SESSION_ID option? this option will be never exposed to end-user, so we don't need update the doc. I use ConfigBuilder to define HA_ZK_ENGINE_SESSION_ID instead of buildConf, so the UT will not check it.

Can you check the UT, adding a new configuration need update the doc by default

Hi @yaooqinn, you mean HA_ZK_ENGINE_SESSION_ID option? this option will be never exposed to end-user, so we don't need update the doc. I use ConfigBuilder to define HA_ZK_ENGINE_SESSION_ID instead of buildConf, so the UT will not check it.

this is a bit tricky, we'd better add an isInternal flag like spark

thanks, merged to master

thanks, merged to master

Welcome.


how do i make shader appear like tween linear

Describe your problem here.
like it appears with linear (on source code)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

i dont know


Start autocompleting from start of field value without @

I wonder would it be possible to set this up so it could be used as autocomplete for anything that is put in a field at the beginning; i.e. if I put in a at the start of the field then it'll show a list of things containing a. If I put in a space and then b. it'll look for a b in the list. So just one suggestion list per field and no @ needed. My use case is for people's names. We already use At.js and we need this new autocompleted field to feel the same.
I've been trying to bend jQuery-autoComplete into what I need (what I described above) but after a few issues and PRs, it's still not close to this (and the owners aren't onboard with obviously worthwhile changes).

At.js use the matcher callbacks to match the string such as @xxx , so that you can write your own matcher to return whatever string you want to match. for example, just return the whole:
        matcher: function(flag, subtext) {
          return subtext;
        }

It will popup the menu when the text field is focus.

Hmm. cc @4ver


[PostgreSQL] Support CREATE TYPE (User Defined Data Type)

Environment
Liquibase Version: 3.9
Liquibase Integration & Version: Maven/CLI
Liquibase Extension(s) & Version: none
Database Vendor & Version: PostgreSQL 10
Operating System Type & Version: MacOS 10.14.6 (PostgreSQL running in Docker)
Description
Support CREATE TYPE  (UDT) in Postgres (https://www.postgresql.org/docs/9.2/sql-createtype.html)
Steps To Reproduce

Create a UDT in your sql script, like so:
CREATE TYPE employee_gender AS ENUM (   'M',   'F' );

Deploy it to your database

Run liquibase generateChangeLog

Actual Behavior
The generated changelog does not contain a create type employee_gender changeset
Expected/Desired Behavior
The generated changelog should contain a create type employee_gender changeset
┆Issue is synchronized with this Jira Bug by Unito

Unknowingly, I created a dupe of https://github.com/liquibase/liquibase/issues/1126 -- Thanks for the heads up @molivasdat! I'm closing out this ticket, but the information detailed here can be used wrt #1126.


Fix Raspberry Pi Keyboard Layout

See Here:
https://scribles.net/changing-keyboard-layout-on-raspberry-pi/
Make sure it's part of the installation script

fixed in #243


GH-1247: Only wake consumer while polling

Fixes https://github.com/spring-projects/spring-kafka/issues/1247
Previously, stopping the container unconditionally called consumer.wakeUp().
It should only be woken while actually polling, otherwise operations such
as commitSync() would fail (after committing the offset but before calling
any callbacks or interceptors).
Add logic to only wake the consumer while it is in the poll() method.
cherry-pick to 2.2.x, 2.1.x

Back-ported into 2.2.x as https://github.com/spring-projects/spring-kafka/commit/7cfc482abd614320e03dff0d2ed4b196ac781a95 after fixing conflicts.
Into 2.1.x as https://github.com/spring-projects/spring-kafka/commit/309d28e29960da6c9f97576f6a09b6b8f1a37e27 after more conflicts fixing.


project is not set for google_compute_zones

Error:
data.google_compute_zones.available: project: required field is not set
Fix:
Project should be set here:
https://github.com/GoogleCloudPlatform/terraform-google-managed-instance-group/blob/master/main.tf#L124
E.g.:
data "google_compute_zones" "available" {
  region = "${var.region}"
  project = "${var.project}"
}

FYI
$ terraform -version
Terraform v0.11.7
+ provider.google v1.16.0

Thanks for reporting, and for fixing! Fixed with #21


Setup Example Kubernetes Storage and Ensure Proper Mount Permissions

Kubernetes default doesn't have a volume mounted and the database container may not have the necessary permissions to use it.

@njriasan can you clarify this a bit more. do you mean docker containers spawned by kubernetes? kubernetes is container management software, not containerization technology, so it won't manage volumes directly, will it?

My understanding is that you can specify volume creations in the description for pod. It also lets you specify container permissions by associating each docker container with a security group. My understanding is that in addition to adding the volume though you also need to go through a step to ensure your container can properly access the volumes. What I read suggests that containers have user permissions and volumes mount with root:root. There may also be a permissions issue with enabling mount on this volume.
My understanding, based on this stack overflow post, is this requires 3 changes: make the dockefile creates a new usergroup for the container, add the mounted volume, and modify it to add permissions to that user group so mount succeeds.


[5.8] Better error message for invalid pipeline

Currently, if we pass a non-sensible value as a pipe (like an int, or null) it will end up in a region of code : } elseif (! is_object($pipe)) { <here> }  where only an 'string' can survive, and a vague error message is shown.
in case of 123 as a pipe :

With more explicit type checking, we can detect invalid argument and have a clean exception message.
But I still think that we need the test #29729 for this PR. since some arrays are acceptable as callable pipes. (This PR can also pass that test)

No plans to change the pipeline anymore right now.


Include 'removed' async jobs to check recurring snapshots

Description

While checking the state of all currently executing snapshots we also include those async jobs for the snapshots which have a 'removed' flag. Due to the fact that the snapshot scheduler need to find its related job to check its state and update the snapshot_schedule table accordingly.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

@borisroman @rhtyd can you take a look?

 I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2631

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-3429)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 26448 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3190-t3429-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Smoke tests completed. 69 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_rvpc_network_garbage_collector_nics
Failure
272.75
test_vpc_redundant.py

@rhtyd @borisstoyanov can we merge it... there are no new changes.

@svenvogel we need another review to merge this, are you lgtm on it?

@rhtyd yes sure no problem. now we are two! :)

@rhtyd Hi, we tested this PR thoroughly. I think it's ready to merge LGTM


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_a85a5907-52e2-483e-a48e-6d7b581eb375/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_a85a5907-52e2-483e-a48e-6d7b581eb375.git

Docs Build status updates of commit 184a3f9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


"So you have to go to "Toolkit" in APP and then choose "Remote Control" from RS-485 Port Config under DTU Information"

There is a Port requested... Which is the correct one?

Port 502 id 1

Thanks for your fast Answer.
But there is neighter port 502 nor ID 1.
I can choose a Portaddress from 101 till 254.

If i remember 101.


QMChatSectionManager alternative

Hi, I need an alternative to QMChatSectionManager, since it's been deprecated in v0.4.
We use it in places like:
#pragma mark - QMChatCollectionViewDelegateFlowLayout
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
    NSInteger count = [self.chatSectionManager messagesCountForSectionAtIndex:section];
    if (count > 0) [UIView animateWithDuration:0.35f animations:^{
        self.collectionView.alpha = 1.0f;
    }]; return count;
}

For [self.chatDataSource messageForIndexPath:indexPath] and some other occasions it's ok, chatDataSource works fine -- but sometimes I need messagesCountForSectionAtIndex or chatSectionAtIndex, but those aren't present in chatDataSource and don't seem to work anymore with chatSectionManager.
Environment details
QMChatViewController v<IP_ADDRESS>
Did this work before?
Yes, before v0.4
Hope you guys can help me. Thanks :)

Hi,
I appreciate your joke, sorry for the long answer as we are having some developers on holidays recently :)
Yes, QMChatDataSource is now a complete replacement for QMChatSectionManager. It has almost everything that QMChatSeciontManager had except secants and... bugs! Yes, we have lots of bugs with the section approach, and not only bugs, section approach for something like chat is producing bad performance too.
So, answering your question about messagesCountForSectionAtIndex  and chatSectionAtIndex , the only sections that is existent now is 0, there no other sections and never will be in QMChatDataSource. All messages count should be replacement for messagesCountForSectionAtIndex  and 0 for chatSectionAtIndex . If it doesn't help you, I recommend to see our updated sample chat with usage of QMChatDataSource here: https://github.com/QuickBlox/quickblox-ios-sdk
If you have some implementation that is not represented in our sample, feel free to show some parts of it so I can help you with replacements of all methods.

Hi, @Raikerian,
Haha, it was just a joke, but I'm glad you liked it, though. I know how complicated it is to keep up in December.
As for the sections problem, it's gonna be a challenge for us to refactor so much of our code that depended on these sections -- however, since it's probably gonna make it more stable, it's probably for the better.
Btw, you should really update the README ASAP, even if it means deleting a few lines and replacing them later - it'd prevent confusion for new users.
Thanks!

Yeah, we do need to update README with newest methods, thanks for pointing that out.


[YUNIKORN-2711] Skip setting the queue name to default queue in the shim

What is this PR for?
This change removes setting the default queue name from the admission controller. Instead default queue will be decided at the time of placement. (YUNIKORN-2703)
What type of PR is it?

[X] - Bug Fix
[ ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2711
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[X] - It needs documentation.

Related core changes to try and place the application in root.default are here: https://github.com/apache/yunikorn-core/pull/904
This change does take away the configuration for setting a custom default queue where the applications will be placed if no rule matches. This can be achieved by adding a fixed rule at the end of the placement rules with the desired queue name.
for example, if the placement rules are:
placementrules:
- provided
- tag

And the application placement cannot succeed from both these rules, we will try to place the application to place in 'root.default' before rejecting it.
If any other queue is desired as a default queue, we can update the placement rules to:
placementrules:
- provided
- tag
- fixed
  value: root.custom

Here, after provided and tag are unsuccessful, the app will be placed by the fixed rule as long as the acls are valid.


Authorization By Bearer not working

As working on some protected backend views i have some views covered by permissions.IsAuthenticated which is only allow known users to hit this endpoint
As going to your quick manual

i replaced <backend_name> with my custom backend name and <backend_token> by an access_token which is been generated by it-self but however when i try to hit protected endpoint i got error saying
{"detail":"Authentication credentials were not provided."}

Are you sure you have the correct token?

I am using postman and I can post successfully.

Are you sure you have the correct token?

I am using postman and I can post successfully.

I take access token from admin panel  {Access Tokens} section and it's not expired yet
Am I doing or taking wrong token?

Let's go step by step. First you need to fire a request to the /convert-token endpoint. That will respond with a response that includes your access token. You're going to copy that token and include it to the Bearer . Are you doing that?

Let's go step by step. First you need to fire a request to the /convert-token endpoint. That will respond with a response that includes your access token. You're going to copy that token and include it to the Bearer . Are you doing that?

I am getting the access_token from localhost:8000/auth/token/ as i am getting this token from credentials details. I hope this also works. but still it's unAuthorized can u imagine any core cases (anything that affect)??

Do not get the token from auth/token, but from auth/convert-token.

for credentials sign in, what should be my backend parameter (the name of manually created apk. giving error 'Invalid Backend Parameter') and token parameter to hit endpoint auth/convert-token

Do not get the token from auth/token, but from auth/convert-token.

Any way i can get list of those tokens which are valid in Authorization header?

Hey, finally works but only when i specifically specify the access token in Authorization section in postman
But when i put Bearer access_token as value of Authorization header its not working as it works on simple rest_framework authentication
Thx for hearing me out!

Nope, this token also not working however Basic Authentication works fine as providing username and password, but no tokens working on protected routes with Bearer

Looks like configurations gone wrong at settings.py
Working now!!!

Hi! I faced the same problem. Send request with the token I've got from auth/convert-token, but get the same error. What could be wrong?


How to parse data ？

How to parse data ？

The enum already has associated values with all the data.

https://docs.swift.org/swift-book/LanguageGuide/Enumerations.html

Sorry, I'm a beginner in Swift
I don't understand

I want to get messageText.text
what should I do ?

You can do:
switch event {
   case .newMessage(message: Message)?:
       print(message)
   default:
       break
}


update deps

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 13.167%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
227

Relevant Lines:
1724

💛  - Coveralls


Recommend using Result output to S3

table:export feature has some limitations.
For general use-case, we recommend using Result Output to S3 using td operator with result_url.

👍


Added support for different layers for panels

This PR adds support for layers in the panels.
The main reason this is needed is when a background image is rendered on the background layer and then the panels are overlaid on top.

bump


Update doobie-core, doobie-hikari, ... to 0.13.0

Updates

org.tpolecat:doobie-core
org.tpolecat:doobie-hikari
org.tpolecat:doobie-postgres
org.tpolecat:doobie-scalatest

from 0.9.4 to 0.13.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.9.4).
You might want to review and update them manually.
examples/votingapp/project/Dependencies.scala

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.tpolecat" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #488.


Autotune patch to dev-clone-patch-test

(Closing because proved it merged clean; don't actually need dev-clone-branch)


epubcheck: 4.2.6 -> 5.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/w3c/epubcheck/releases.
meta.description for epubcheck is: Validation tool for EPUB
meta.homepage for epubcheck is: https://github.com/w3c/epubcheck
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.0.0 with grep in /nix/store/f2zr6vdnzgljvvxya6ngmp6j6zl2m5p1-epubcheck-5.0.0
found 5.0.0 in filename of file in /nix/store/f2zr6vdnzgljvvxya6ngmp6j6zl2m5p1-epubcheck-5.0.0

Rebuild report (if merged into master) (click to expand)

11 total rebuild path(s)

11 package rebuild(s)

First fifty rebuilds by attrpath
asciidoc-full
asciidoc-full-with-plugins
clevis
disorderfs
epubcheck
kakounePlugins.rep
luksmeta
rep
spring
springLobby
tang

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f2zr6vdnzgljvvxya6ngmp6j6zl2m5p1-epubcheck-5.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A epubcheck https://github.com/r-ryantm/nixpkgs/archive/4ecd8460c02af032169ca1ddf144fb9f0229e405.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f2zr6vdnzgljvvxya6ngmp6j6zl2m5p1-epubcheck-5.0.0
ls -la /nix/store/f2zr6vdnzgljvvxya6ngmp6j6zl2m5p1-epubcheck-5.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

10 packages built:

asciidoc-full
asciidoc-full-with-plugins
clevis
disorderfs
epubcheck
kakounePlugins.rep
luksmeta
spring
springLobby
tang

Maintainer pings
cc @eadwu for testing.

@ofborg build asciidoc-full asciidoc-full-with-plugins clevis disorderfs epubcheck kakounePlugins.rep luksmeta spring springLobby tang


Game activated but functions not working

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
I followed the Stereolabs ZED - UE5 Examples to setup environment many times.
No error shows but it seems not activate AI function like body tracking or spatial mapping...
Steps to Reproduce

Download and install the latest ZED SDK. (3.8.2)
Download and install Stereolabs ZED - UE5 Examples (v1.1)
In your project root directory right click on the YourProjectName.uproject file and select Generate Visual Studio project files in the context menu.
Open Visual Studio and compile. Launch the project from the uproject file or Visual Studio.
Trying any Levels inside Unreal projects.

Expected Result
Expected shows what the video present in the Github README.
Like BP_Manny will follow your pose, spatial mapping will show the mesh.
Actual Result
Only showing the camera view.
ZED Camera model
ZED2i
Environment
OS: Windows 10 Pro
CPU: Intel i5-10400
GPU: Nvidia RTX-3060
ZED SDK version: 3.8.2
Unreal version: 5.1

Anything else?
No response

Hello and thanks for reaching us!
When trying to run the levels, do you get this message in the console?
`AI model : [the model] is not downloaded/optimized, please optimize it using the ZED Diagnostic tool (use the -h option to have all the informations needed
The Object Detection/Body Tracking modules use AI models that need to be optimized before their first use. The UE5 plugin does not do this them by itself, so we advise you to optimize them externally using the ZED Diagnostic tool located in the ZED SDK installation folder (usually Program Files (x86)/ZED SDK/tools).
The process is described here: How can I optimize the ZED SDK AI models manually?
You will only need to do this procedure once.
Best regards,
Jean-Loup Macarit

Thank you for the answering!
It finally works!
For someone who probably met same trouble:
1.
Followed the steps in this How can I optimize the ZED SDK AI models manually?.

Check "ZED Diagnostic" AI Models should be a green tick as well. If not, probably you need to optimize AI models again.
Do this in cmd again. (Optimized all the download AI models)
“ZED Diagnostic.exe” -aio

And when you run your application with the NEURAL depth mode, probably be frozen sometimes.
I found another post about it: Why is my application frozen when using the NEURAL depth mode?
Also, just wait a few seconds (or minutes), everything should work fine.
Again, thanks you for answering.
Thanks and Best Regards,
Partical


Config Dir Structure Proposal

The config/config.yaml is going to be the master config file with different sections
The 2 main sections proposed here are

web3 containing the Web3 related information like the Infura Node used to connect
inspection-target containing the information about the target smart contracts meaning their address and a pointer to the ABI file

Closing this as we have a config setup


etcd not deployed to pachyderm namespace on GCP

What happened?:
When deploying Pachyderm to GCP in a custom namespace (with the --namespace) command, Pachyderm's etcd pod(s) are not deployed to the specified namespace:
$ kubectl get pods --namespace pachyderm
NAME                     READY     STATUS    RESTARTS   AGE
dash-68578d4bb4-bdrml    2/2       Running   0          2m
pachd-6d9787cb7b-vt57c   0/1       Running   0          2m
$ kubectl get pods
NAME      READY     STATUS    RESTARTS   AGE
etcd-0    1/1       Running   0          2m

This was also seen by a user this morning in users Slack.
What you expected to happen?:
All Pachyderm pods to be deployed to the specified namespace.
How to reproduce it (as minimally and precisely as possible)?:
Deploy Pachyderm with --namespace to GCP.
Anything else we need to know?:
Environment?:

Kubernetes version (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T12:22:21Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.7-gke.1", GitCommit:"192ccad06d24af9828cbf42330e1d915cb586406", GitTreeState:"clean", BuildDate:"2018-01-31T21:39:04Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}

Pachyderm CLI version (use pachctl version): 1.7.0rc2

Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): GCP

OS (e.g. from /etc/os-release): MacOS

Others:

This isn't reproducing for me, can you give me the command you used to deploy? I did:
LAUNCH_DEV_ARGS="--namespace=test" make launch-dev

@jdoliner I followed all of the steps in the GCP docs except for the deploy command. I just added the namespace flag to that:
pachctl deploy google ${BUCKET_NAME} ${STORAGE_SIZE} --dynamic-etcd-nodes=1 --no-rbac --namespace pachyderm

Ahh, the issue is that it's using the etcd stateful set, fix incoming.


do not commit generated protobuf code

generate it on npm install and npm test

removed .proto files from this repo too, taken from ../../../haveno/proto/src/main/proto/*.proto now
updated the readme

Closes #38

A problem is that IDEs can't find the derived files for development:

I'm thinking we should separate these PRs, one to build from the protobuf definitions in haveno, and one to automatically build the grpc client files if the above problem can be solved.

does the ide not see it because it's not there (npm test or install didn't run yet) or because the directory is in gitignore now? (that shouldn't be a problem) or why?

Ah yes that makes sense. :)
Opened a PR with some minor cleanup: https://github.com/premek/haveno-ui-poc/pull/2
(needs rebased on master)

rebased


Add additional context to needed to add an identity before using NetworkingMessages

I ran into a brick wall while setting up NetworkingMessages because I had no idea that I needed to set an Identity from the NetworkingTypes class that isn't referenced in the NetworkingMessages class. So I added some documentation in NetworkingTypes & NetworkingMessages to let others know they need to add an identity first. I also linked to the Godot3 example, which should probably be updated to use setIdentitySteamID64 instead of setIdentitySteamID  as talked about here.

Cheers for this PR!


Microsoft AzureAD SSO Jira addon issue: Identifier, Reply URL, Sign On URL are not updating after chaning the domain name of Jira server

Hello,
We installed Microsoft Jira SSO addon based on this documentation https://docs.microsoft.com/en-us/azure/active-directory/saas-apps/jiramicrosoft-tutorial. We use Jira version 8.7.1 and addon version 1.0.6.
The setup was completed successfully and we got AzureAD SSO authentication working in Jira.
But when we changed the domain name of our Jira server from https://jira-dev-mfa.our.domain to https://jira-dev.our.domain the addon stopped working. There was an old domain name in url https://jira-dev-mfa.our.domain into the following fields of Jira addon settings: Identifier, Reply URL, Sign On URL.
We tried to pull metadata url again but it didn't help. The addon didn't change the domain name into Identifier, Reply URL, Sign On URL. We tried to uninstall and install the addon again but no luck. It seems the addon doesn't delete this information into the database.
Is it possible to apply the fix into addon or let us know where in Jira database we can replace an old domain name which is displaying into Identifier, Reply URL and Sign On URL?

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

ID: d38cad90-6574-38c2-3262-059a9f975064
Version Independent ID: dd08d5c5-65a4-c2cc-8b51-7a35268dde68
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with JIRA SAML SSO by Microsoft
Content Source: articles/active-directory/saas-apps/jiramicrosoft-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

Thanks for the ask  . At this time we are reviewing the ask and we will reply back as soon as we can .

@ailichev Can you please send the email on this issue to us on<EMAIL_ADDRESS>and then we can help you resolve this issue. In the mean time please try rebooting the server to make sure that the changes are reflected. Most of the time that solve the problem here. If not we can schedule some time with your team to solve this issue.

I've sent an email to<EMAIL_ADDRESS>We tried to restart jira service and reboot server. Actually these actions didn't solve the issue.

@ailichev We are setting up a meeting to help resolve this issue.

I am closing this ticket here as we have taken this over the email.
#please-close


Help validating ArgoCD ApplicationSet - "could not find schema" error

I'm trying to validate that the ApplicationSet files I am writing are valid. A CRD exists here, that in theory, I can validate against: https://github.com/argoproj/argo-cd/blob/master/manifests/crds/applicationset-crd.yaml
This gets aggregated into one large swagger.json file here: https://github.com/argoproj/argo-cd/blob/master/assets/swagger.json
I used openapi2jsonschema to convert the swagger.json file into a bunch of subcomponents:
openapi2jsonschema --help ./argoproj/argo-cd/assets/swagger.json

I then uploaded these to a public Github repo. https://github.com/kevinburkesegment/argocd-schemas/
I'm now trying to validate my config file using these. Here is my (abbreviated for space) config file:
myfile.yaml
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: example
  namespace: argocd
spec:
  syncPolicy:
    preserveResourcesOnDeletion: false
  generators:
    - clusters:
        selector:
          matchLabels:
            "segment.com/blah": "true"
    - clusters:
        selector:
          matchExpressions:
            key: "segment.com/blah"
            operator: In
            values:
              - "false"
  template:
    metadata:
      name: "example-{{metadata.labels.clusterNameHash}}"
      labels:
        accountName: "{{metadata.labels.accountName}}"
        kubernetesVersion: "{{metadata.labels.kubernetesVersion}}"
        app: vector
        bundle: monitoring
    spec:
      project: default
      source:
        repoURL: awsaccountid.dkr.ecr.us-west-2.amazonaws.com/charts

I expect this to fail because matchExpressions is supposed to accept a list, not an object.
I'm running e.g. (and to reproduce note you will need to use strict mode)
kubeconform --output json --summary --strict --debug --schema-location 'https://raw.githubusercontent.com/kevinburkesegment/argocd-schemas/master/schemas/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceAPIVersion }}{{ .ResourceKind }}.json' myfile.yaml

I get the following output:
2022/10/25 14:42:29 using schema found at https://raw.githubusercontent.com/kevinburkesegment/argocd-schemas/master/schemas/master-standalone-strict/v1alpha1applicationset.json
{
  "resources": [
    {
      "filename": "/tmp/canary.yaml",
      "kind": "ApplicationSet",
      "name": "example",
      "version": "argoproj.io/v1alpha1",
      "status": "statusError",
      "msg": "could not find schema for ApplicationSet"
    }
  ],
  "summary": {
    "valid": 0,
    "invalid": 0,
    "errors": 1,
    "skipped": 0
  }
}

I'm confused about this because I see the applicationset is being loaded in the log output. Maybe the tool is not able to find _definitions.json? But I see _definitions.json in https://github.com/instrumenta/kubernetes-json-schema so I know that it must be able to be loaded somehow.
If I try to read the assets/swagger.json file directly, validation succeeds, but "resources" in the output is an empty list, and also, I expect this to fail due to the matchExpressions problem.
Thanks very much for your help, I've been banging my head up against this and appreciate any tips you might have.

Thank you, that's helpful!

I don't know why you're not able to convert the swagger file into JsonSchmeas that can be parsed by kubeconform

I'm not sure I follow - I used openapi2jsonschema to convert the swagger.json file into a bunch of subcomponents:
openapi2jsonschema --help ./argoproj/argo-cd/assets/swagger.json

And then uploaded these to a public Github repo. https://github.com/kevinburkesegment/argocd-schemas/
But maybe you are saying, you're not sure why the tool did not generate complete files.

But maybe you are saying, you're not sure why the tool did not generate complete files.

yes, I'm not familiar enough with this script to help you debug why the conversion didn't work.


Tuya Temp Sensor

A firmware dump from Tuya Temp Sensor:
temp_sensor.zip
https://www.aliexpress.com/item/1005004857160939.html?spm=a2g0o.order_list.order_list_main.49.5c461802voyAJ0

This has been added as Tuya Generic Temperature Sensor.
Note:  This is compiled with the low-powered version of Tuya Firmware.  You will likely get poor battery performance from 3rd party firmware without power saving features.

when i try to flash i got this error:
Found access point name: "SmartLife-FA9D", trying to connect..
Device 'wlp0s20f3' successfully activated with 'afcd5a0a-8f13-41ba-81f9-987e7967d7e1'.
Error: SmartLife-FA9D - no such connection profile.

Are you running elevated?  You must run with sudo for network modifications to take.
NetworkManager is also required.

yes , i am running with sudo, i will try with root to see if work

root@adrian-huawei-d16:/home/adrian/tuya-cloudcutter# ./tuya-cloudcutter.sh
Checking UDP port 53... Occupied by systemd-resolve with PID 771621.
Port 53 is needed to resolve DNS queries
Do you wish to terminate systemd-resolve? [y/N] y
Attempting to stop systemd-resolved.service
Checking UDP port 67... Available.
Checking TCP port 80... Available.
Checking TCP port 443... Available.
Checking TCP port 1883... Available.
Checking TCP port 8886... Available.
Building cloudcutter docker image..
Sending build context to Docker daemon  23.69MB
Step 1/10 : FROM python:3.9-slim-buster AS base
---> 70fa42c638b3
Step 2/10 : RUN apt-get -qq update && apt-get install -qy --no-install-recommends git hostapd rfkill dnsmasq build-essential libssl-dev iproute2 mosquitto
---> Using cache
---> 0f208bfac20a
Step 3/10 : FROM base AS python-deps
---> 0f208bfac20a
Step 4/10 : RUN pip install --upgrade pipenv
---> Using cache
---> bb81d4a3af8a
Step 5/10 : COPY src/Pipfile /src/
---> Using cache
---> c3c82cbcdf94
Step 6/10 : COPY src/Pipfile.lock /src/
---> Using cache
---> 1435d69885ee
Step 7/10 : RUN cd /src && PIPENV_VENV_IN_PROJECT=1 pipenv install --deploy
---> Using cache
---> 953c01e36efb
Step 8/10 : FROM python-deps AS cloudcutter
---> 953c01e36efb
Step 9/10 : COPY src /src
---> Using cache
---> 10b426718394
Step 10/10 : WORKDIR /src
---> Using cache
---> 17bb88dd3e09
Successfully built 17bb88dd3e09
Successfully tagged cloudcutter:latest
Successfully built docker image

Detach from the cloud and run Tuya firmware locally
Flash 3rd Party Firmware
[?] Select your desired operation [1/2]: 2
Loading options, please wait...
[?] Select your custom firmware file: OpenBK7231N_UG_1.15.276.bin
OpenBK7231N_UG_1.15.275.bin

OpenBK7231N_UG_1.15.276.bin

[?] How do you want to choose the device?: By firmware version and name
By manufacturer/device name

By firmware version and name
From device-profiles (i.e. custom profile)

[?] Select the firmware version and name: 1.1.11 - BK7231N / oem_bk7231n_temp_hum_sensor
1.0.8 - BK7231T / oem_bk7231s_ty_ffc_db_ldv
1.0.9 - BK7231N / soc_bjg
1.0.9 - BK7231T / oem_bk7231s_ty_ffc_db_ldv
1.1.0 - BK7231T / HYS_03_018_bk7231t_tjsama0rocl95kdn
1.1.0 - BK7231T / oem_bk7231s_rnd_switch
1.1.1 - BK7231T / HYS_03_018_bk7231t_a4y9plclmzpct6ol

1.1.11 - BK7231N / oem_bk7231n_temp_hum_sensor
1.1.2 - BK7231T / oem_bk7231s_control_switch
1.1.2 - BK7231T / oem_bk7231s_light_ty
1.1.2 - BK7231T / oem_bk7231s_rnd_switch
1.1.2 - BK7231T / oem_bk7231s_ty_ffc_db_ldv
1.1.2 - BK7231T / oem_bk7231t_light3_laser_nanxin
1.1.3 - BK7231T / oem_bk7231s_double_switch_rmd

[?] Select the brand of your device: Tuya Generic

Tuya Generic

[?] Select the article number of your device: Temperature Sensor

Temperature Sensor

Selected Device Slug: tuya-generic-temperature-sensor
Selected Profile: oem-bk7231n-temp-hum-sensor-1.1.11-sdk-2.3.1-40.00
Selected Firmware: /work/custom-firmware/OpenBK7231N_UG_1.15.276.bin
==> Toggle Tuya device's power off and on again 6 times, with ~1 sec pauses in between, to enable AP mode. Repeat if your device's SSID doesn't show up within ~30 seconds. For smart plugs long press the reset button on the device for about 5 seconds. See https://support.tuya.com/en/help/_detail/K9hut3w10nby8 for more information.
Scanning for open Tuya SmartLife AP
Found access point name: "SmartLife-FA9D", trying to connect..
Device 'wlp0s20f3' successfully activated with 'afcd5a0a-8f13-41ba-81f9-987e7967d7e1'.
Error: SmartLife-FA9D - no such connection profile.
..
Found access point name: "SmartLife-FA9D", trying to connect..
Device 'wlp0s20f3' successfully activated with 'afcd5a0a-8f13-41ba-81f9-987e7967d7e1'.
Error: SmartLife-FA9D - no such connection profile.
.
Found access point name: "SmartLife-FA9D", trying to connect..
Device 'wlp0s20f3' successfully activated with 'afcd5a0a-8f13-41ba-81f9-987e7967d7e1'.
Error: SmartLife-FA9D - no such connection profile.
..
Found access point name: "SmartLife-FA9D", trying to connect..
Device 'wlp0s20f3' successfully activated with 'afcd5a0a-8f13-41ba-81f9-987e7967d7e1'.
Error:

It sounds like you likely have NetworkManger installed, but not activated.  The error is coming from the commands we are sending to nmcli which is the command line interface for NetworkManager.
https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/HOST_SPECIFIC_INSTRUCTIONS.md Step 3 (this part isn't actually specific to raspberry pi)
You might also need the -r attribute.

i am not using raspberry pi, i am using my laptop, but on other plugs work great when flashed about 3 weeks ago

I can't supply any help beyond that, it isn't cloudcutter code failing, but your underlying OS.  You may need to supply a -w argument if you have more than 1 wifi adapter.
The error you are getting is simply the command
nmcli dev wifi connect SmartLife-FA9D
failing to connect.

Is worked with -r, thanks

now i need to figured out how to config to report temp, humidy and battery lvl :D


feat: single instance page

WIP because of missing fields according to ducanhpham0312/zeevision-private#126
Linked issue

Closes ducanhpham0312/zeevision-private#77
Description

Testing

Hi there, if you're or planning to implement the tabs for the tables in the Instance page then I would suggest to grab this as a starting point, saving some implementation time
https://ui.shadcn.com/docs/components/tabs


Fix warnings due to not specifying the template type explicitly

There are a lot eclipse warning due to not specifying the template type explicitly please consider fixing it. (example: ChangeFeedObserverFactory)

Duplicate


T-Display-S3 Battery Charge  Circuit?

I have several T-Display-S3 units and want to use them with small LiPo batteries that are rated at 350 mAH and 400 mAH.
Before using them I wanted to check to make sure that the Li-Ion charging circuit is setup properly and would not over charge the batteries. Namely, the battery manufacturer specifies that the batteries should not exceed a 1C charge rate. For example, if the battery is rated at 350 mAH then you should not exceed 350 mA, and for the 400 mAH battery the charge rate should not exceed 400 mA.
To check the T-Display-S3's charging circuit I looked at the schematic posted on GitHub and it shows that the charging circuit is controlled by U6 which is a TP4056 linear Li-Ion battery charger. The schematic also shows that a 2K ohm resister is used to program the charge rate. Using the TP4056 datasheet to calculate the charge rate it shows that if a 2K ohm resistor is used then the charge rate would be 580 mA which is too high for the batteries that I want to use.
Based on this I then looked into reprograming the charger for a lower rate by replacing the 2K ohm resistor with a 10K ohm resistor. Using a 10K ohm resistor would set the charge rate to 130 mA, which would be safe for the batteries. But when I try to find the TP4056 on the PCB it cannot be found? The datasheet shows that the IC should be a 8 pin SOP-8 package which cannot be located. Tracing out the PCB I find that the charging IC appears to be a device that is a 5-Lead TSOT-23 package with the marking of 65b311 printed on top. This does not agree with the posted schematic and I have the following questions and concerns?

Is it possible to get an updated schematic that shows the actual circuit for the T-Display-S3?

It would be good to provide instructions on how to replace the programing resistor (i.e. location of resistor and values for different charge rates). Providing the information would make the board more versatile and you would possibly sell more devices?

On the GitHub webpage it shows FAQ 10 "What battery to choose". The FAQ shows two examples, where 350 mAH and 400 mAH batteries are recommended. Based on the current schematic (TP4056 and 2K ohm resistor) the existing charge circuit would over charge the batteries. My research shows that using the existing circuit the battery capacity should not be lower than 580 mAH to be safely used. Please correct me if I am wrong or you may want to reevaluate the answer that is posted?

To make sure that the T-Display-S3 is safely used, it would be a good idea to post the minimum size battery and charge rate in your specifications and include them on you main webpage.

Thanks

Hi , @rpsavage
Please see the figure below for the location of the charging current setting resistor R13.
I asked and learned that TP4065 is used instead of TP4056

The information that you provided is exactly what I need.
Thanks

So I have a question directly related to this one.  If I'm running my T-Display S3 off of and 18650 battery pack, when attached & USB-C cord applied with power am I charging the battery?  I see the RST light is lite up, but I want to be absolutely sure before I actually leave it for any extended period of time.  So to summarize :+1:

When USB-C connected and power + running the device off of an 18650 battery pack : Am I charging the battery or applying power from both sides?
If charging to the battery is applied is this safe?
Is there an easy way to get the battery level that I could possibly add to other sketches?

Hi nylar357,
In my research and use of the T-Display S3 (somebody correct me if I am wrong) I have found the following,
A. When USB-C connected and power + running the device off of an 18650 battery pack : Am I charging the battery or applying power from both sides?**
Answer: When the T-Display S3 is connected to both USB and a battery, USB will be providing power to everything and will also be charging the battery. The "RED" led will light up while the battery is being charged. And then when the battery is fully charged the "RED" led will go out. The battery only supplies power when the USB cable is unplugged.
B. If charging to the battery is applied is this safe?**
Answer: In my case I consider charging to the battery to be "safe" when the charge current is less then or equal to the capacity of the LiPo battery. For example, if the I am using a battery rated at 400 maH then I would not charge the battery any higher then 400 ma. In your case to know if it is safe, you need to know the capacity of your battery and or ideally find out what the manufacture calls out. For example if the manufacture says keep the charge rate at 1C, then it means do not charge the battery at more then "1 x battery capacity".
Once you know the safe charge rate then you can decide if the battery charger circuit is safe to use.
For the T-Display S3 the schematic shows that the battery is charged by U6 which is a TP4065. It also shows that a 2K ohm programing resistor is used (R13).  If you look up the data sheet for the TP4065 it provides the formulas used to calculate the programing resistor and also provides other information about charging.
For me if I used the worst case  scenario (formula one in the ASIC Corp datasheet) then the battery charge current would be "1050/2K ohm = 0.520 amps" or 5200 maH.  So based on this I would only connect a battery for charging if the battery capacity is rated at least 0.52 amp hour. In your case you say that you are using some type of 18650 battery pack, so to know if it is safe you need to know if your battery's capacity is at least 5200 maH.
C. Is there an easy way to get the battery level that I could possibly add to other sketches?**
Answer: If you look at the schematic it shows that the battery "BAT" is connected to a voltage divider (R2 and R4) which is connected to "BAT_ADC" of the S3, which is really GPIO04.
So using GPIO4 you can monitor the voltage of the battery. When the USB is connected you will measure about 5V/2 = 2.5 volts. Note, this what the battery will be charging at, it could be less because the charge voltage may vary as the battery is charged.
When the USB cable is disconnected then you will measure what the battery voltage really is which would be "Battery Voltage/2".
When I measure the battery voltage I use the following,
In the "void setup()" part of the sketch I would set the ADC resolution and attenuation using,
analogReadResolution(12);                       //Use 12 bits which would give range of 0 to 4095
analogSetAttenuation(ADC_11db);           //ADC_11dB provide the most range, other setting ADC_0dB, ADC_2_5db, ADC_6db
Then somewhere in the "void loop()" I would use,
int num = analogReadMilliVolts(4);          //Read the ADC voltage using the built in factory calibration, no conversion needed
num = num * 2;                                        //Battery voltage is measured using a voltage divider
BatVolts = num;                                       //Actual battery voltage


Create PyPassword Generator.py

Hi, Please check this pr, Hope you like it..

Great 👍 Thanks for contributing


Add named anchors (fragment identifiers) to the About page to allow us to send a direct link to domain experts and partners.

Created by 2d742e2


chore: edit application button links and main page texts for 3rd member recruiting

@labyrinth30 머지하고 배포해드릴까요?

@labyrinth30 머지하고 배포해드릴까요?

넵 감사합니다!


chore: migrate controllers, operator, etc

Fixes #
Description
How was this change tested?

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

• [SLOW TEST] [129.615 seconds]
Scheduling should support well known labels
/Users/etarn/workspaces/go/src/github.com/aws/karpenter/test/suites/integration/scheduling_test.go:37
------------------------------
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

Ran 1 of 38 Specs in 131.387 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 37 Skipped


Ambiguous

hi
when i inherit sildermenucontroller.swift
error :Ambiguous use of 'toggleLeft()'

Have you used keyword override?

I solved my problem. Thank you
i can you see problem  #150

@J-Arji how can you fix your Ambiguous problem?


"What is my token?" link when there's no web browser in the system

Open OnDemand system provided by Aalto CS does not have a browser. Opening http(s) hyperlinks in IntelliJ leads to a error dialog informing user about the lack of a default browser.
For the normal user workflow, this is perhaps most crucial when clicking "What is my token?" link in the token dialog. The link (that would normally take user to the A+ profile page) cannot be copied or even seen by the user.
The same applies to other links, such as "view feedback in the browser" and 3rd party library attributions.
Possible solutions:

easy: add URLs as copyable text in the UI
perhaps better: when the link is clicked, check if the browser opened. If not, show a customized fallback information (the URL in the copyable form and possible extra instructions).

A browser has been added to the system (to specifically address this problem). So, this issue may have become a non-issue now. I leave the ticket open for a few days for possible comments. If nothing new arises, this can be closed.


switch from request to simple-get

Fixed in latest release although it seems node-gyp requires request as well sigh. We should send a PR to node-gyp as to switch it to simple-get.


Soft deleted blob versions count as deleted blobs while soft deleted blob snapshots count as snapshots

Storage Explorer Version: 1.27.0-dev
Build Number: 20221101.2
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.0 (Apple M1 Pro)
Architecture: ia32/x64
How Found: Ad-hoc testing
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers. (Blob versioning and soft delete are both enabled).

Create a blob container -> Upload one blob -> Create a snapshot.

Go to the snapshots view -> Soft delete the blob snapshot.

Switch to the 'Active and soft deleted blobs' context view -> Right click the soft deleted blob snapshot.

Click 'Selection Statistics' -> Observe the activity log.

Go to the versions view -> Soft delete the blob version.

Switch to the 'Active and soft deleted blobs' context view -> Right click the soft deleted blob version.

Click 'Selection Statistics' -> Observe the activity log.

Check whether the soft deleted blob snapshots and the soft deleted blob version keep the same count mechanism.

Expected Experience
Keep the same count mechanism.
Actual Experience
The count mechanisms are different.

Soft deleted blob versions count as deleted blobs.
Soft deleted blob snapshots count as snapshots.

Fix merged into main.

Verified this issue on the build 20221102.1. Fixed.
Soft deleted version and snapshot are both count as soft deleted blobs.


PDF loss

To the cluster I add for example 1000 url to files. When the cluster ends, it has generated me only 850 or so.
If I set it with maxConcurrency to 1 it does generate 1000 pdfs.
await cluster.task(async ({page, data: url}) => {
            var contentHtml = await fs.readFileSync(url, 'utf8');
            await page.setContent(contentHtml);
            await page.pdf({
                path: "./generated-pdfs/" + Date.now() + "_g.pdf",
                format: "A4",
                margin: {top: '2mm', right: '2mm', bottom: '2mm', left: '2mm'},
                printBackground: true
            });
            fs.unlinkSync(url);
        });

I have this code inside cluster.

I met the similar problems when trid to render 1000 images and save them by page.screenshot(). If maxConcurrency is not 1, some images will not be saved.
So can someone tell me what causes this problem and how to prevent this?


Empty tables in HTML forms

Previously if there were no data rows, it would render just the column headers of the table.
After this change, it shows "Not available".

Note: This will be used in coming Background Mode page (#4171).

👍


StableXSwap strategy

Fixes #45.
Changes proposed in this pull request:

added stablexswap strategies
fixed casing, stablexswap added to strategies index.ts, and added examples.json

@stablexswapdev The strategy doesnt work for me, can you try run the test with this script https://github.com/snapshot-labs/snapshot.js/blob/master/package.json#L41 and change to your examples json here: https://github.com/snapshot-labs/snapshot.js/blob/master/test/index.ts#L5

Hi sorry for the troubles, I will work on testing again

Hey @bonustrack thanks for linking me to the testing, i will undergo some more testing on this this week, sorry for the troubles

Closing this PR since there is another one for that strategy that been merged.

Closing this PR since there is another one for that strategy that been merged.


Makefile: Link to math lib

Hi,
I think the "-lm" should be added in order to use the math lib functions (sqrtf etc).
ps. I only ran the "make build_cli", could not ran "make build" yet because I'm currently missing the cunit framework

Fair comment, are you using Linux? In macOS it works fine without -lm. I just enabled CI for pull requests, so if you create one more commit it should trigger all the tests (including make build). I will try to add other platforms such as Linux to the CI action, and to be honest, the Makefile needs some work also.
So can you commit again and see if the action is triggered?
Thanks!

Hi thanks for the info! Indeed, I tried it on Linux (Ubuntu). The CI seems fine (it passes in my forked repo), so feel free to accept this minor change :)

Just added Ubuntu to the CI. Thanks again!

Heads up! There seems to be an issue in Ubuntu with maxpool.c operator, since tests are failing. That makes also MNIST model to output wrong results.

I also tried to run the tiny_yolov2 model on ubuntu and I get segmentation fault. I didn't have time to look it further, when I have any news I'll let you know!

@ilou89 I just fixed the maxpool.c operator that was affecting MNIST model and probably tiny_yolov2. There was an issue with strcmp in Ubuntu when comparing if the padding was SAME_UPPER. I replaced it with strncmp so now we only check that exactly the first 10 characters are equal:
if (!strncmp((char*)auto_pad->s.data, "SAME_UPPER", 10)){
  //...
}

So now MNIST model is working as expected but this haven't fixed tiny_yolov2. I have created an issue here to track this https://github.com/alrevuelta/cONNXr/issues/2 so lets move the conversation there.
Thanks!


failed to mount volume backed by NFS in imported K3s cluster

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

run Rancher master-head
imported a k3s cluster (version v1.17.2+k3s1)
add a PV using the NFS Sharing volume plugin
add a pvc using the pv
deploy a workload using the pvc as volume

Result:

the workload is not active because the container cannot mount the volume.

error at the container level:
	MountVolume.SetUp failed for volume "a2" : mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for /var/lib/kubelet/pods/aa050e9c-178a-4e58-891f-a2e68b8b409c/volumes/kubernetes.io~nfs/a2 --scope -- mount -t nfs <IP_ADDRESS>:/nfs /var/lib/kubelet/pods/aa050e9c-178a-4e58-891f-a2e68b8b409c/volumes/kubernetes.io~nfs/a2 Output: Running scope as unit: run-rc1d14fd53a61425995b3d54f58b33d43.scope mount: /var/lib/kubelet/pods/aa050e9c-178a-4e58-891f-a2e68b8b409c/volumes/kubernetes.io~nfs/a2: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.

Other details that may be helpful:
Not see the problem in another RKE cluster in the same setup.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
master-head

Installation option (single install/HA):
single install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
imported k3s cluster, 1 control plan, 2 workers.

Machine type (cloud/VM/metal) and specifications (CPU/memory):
Ubuntu 18.04.3 LTS

Kubernetes version (use kubectl version):
v1.17.2+k3s1

@jiaqiluo for an imported RKE cluster, does this work?

@deniseschannon  it works for imported RKE cluster.

Based on discussion with the team, we don't believe K3s should be installing OS packages on nodes. This is something we can document, however, so that users are aware of the requirement to have the nfs-common package on any/all nodes in a k3s cluster in this scenario.
I have created an issue to add this in to the docs here: https://github.com/rancher/k3s/issues/1449
As such, I will close this issue. If there are any questions please let me know.


add project nameTemplate support. Closes #73

As discussed in #73. This adds the new nameTemplate project-level property, with default of: "{{.Project.Name}}_{{.Function.Dir}}". The function's "name" property now overrides this project-level value, which I think is nicer semantically, the name field is useless if it matches the directory.

LGTM :+1:


upload photo in google chrome extension

hi,
how can i use your private api upload photo method inside my chrome extension application
can you say what is web url and how send data format thank you.

Anybody know any answer sory my english

@mryigit this is node js lib, you need to setup node js webserver (express for example), then you can send request to this webserver trough chrome extensions.

tx for answer bro can you say me how upload image url and post data json etc: {id:2323,path:c:/xx.jpg}

.


Conbee II Hardware Compatibility

This is more a comment for extended debug tips that needs to be incorporated into the documentation.
I just ran across a major nightmare getting the gateway to work with my Synology NAS Docker. The root cause was a hardware compatibility problem on the DS918+. I added the appropriate insmod script, see below, to load the kernel modules and the /dev/ttyACM0 device showed up as expected, but all attempts to contact it through the docker image failed. It had high privileges as Docker is partially broken on Synology. Upon deeper inspection of the kernel logs, error codes were being thrown by the USB drivers and disconnecting the gateway, followed by immediately reconnecting it. The solution was to install an unpowered USB3 hub between the NAS and the gateway. Apparently, the kernel version and hardware used in the NAS are not 100% compatible with USB2 devices like the gateway.
/usr/local/etc/rc.d/startup.sh: (-rwx------ 1 root root)
#!/bin/sh
sudo insmod /lib/modules/usbserial.ko
sudo insmod /lib/modules/ftdi_sio.ko

@whitebengal For documentation, refer to the deconz-rest wiki. Best to put it there :)!

Moved this to https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Synology-hack-for-Conbee-II


Fix WAVM for parachains

When KAGOME westend validator is executed with --wasm-execution Compiled flag, we see that KAGOME often fails. Task is to check the cause and try to fix it

Update: we noticed that issue is in our way of running WAVM from different threads. Working on a fix


[Bug]: Qt WebEngine PDF and Insight Tracker are now in their own Extensions category since 6.8

Bug description
Looks like this is intentional, see the first response https://bugreports.qt.io/browse/QTBUG-126885

Expected behavior
I should be able to install them via aqt
aqt and python version
latest from master
Operating System
Windows
Relevant log output
Calling
python -m aqt list-qt windows desktop --modules 6.8.0 win64_msvc2022_64

no longer list them as modules:
debug_info qt3d qt3d.debug_information qt5compat qt5compat.debug_information qtactiveqt qtactiveqt.debug_information qtcharts qtcharts.debug_information qtconnectivity qtconnectivity.debug_information qtdatavis3d qtdatavis3d.debug_information qtgraphs qtgraphs.debug_information qtgrpc qtgrpc.debug_information qthttpserver qthttpserver.debug_information qtimageformats qtimageformats.debug_information qtlanguageserver qtlanguageserver.debug_information qtlocation qtlocation.debug_information qtlottie qtlottie.debug_information qtmultimedia qtmultimedia.debug_information qtnetworkauth qtnetworkauth.debug_information qtpositioning qtpositioning.debug_information qtquick3d qtquick3d.debug_information qtquick3dphysics qtquick3dphysics.debug_information qtquickeffectmaker qtquickeffectmaker.debug_information qtquicktimeline qtquicktimeline.debug_information qtremoteobjects qtremoteobjects.debug_information qtscxml qtscxml.debug_information qtsensors qtsensors.debug_information qtserialbus qtserialbus.debug_information qtserialport qtserialport.debug_information qtshadertools qtshadertools.debug_information qtspeech qtspeech.debug_information qtvirtualkeyboard qtvirtualkeyboard.debug_information qtwebchannel qtwebchannel.debug_information qtwebsockets qtwebsockets.debug_information qtwebview qtwebview.debug_information

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I acknowledge this issue is noted in https://github.com/miurahr/aqtinstall/discussions/824.  However, now that 6.8.0 has been released I would like to ask if there is a way to workaround this issue to get 6.8.0 qtwebengine installed?  Thanks.

The 6.8.0, 6.8.1 QtWebengine/Qtpdf issue with extensions was fixed in the master branch by https://github.com/miurahr/aqtinstall/pull/838, but it hasn't been released yet.
Qt Insight Tracker is only available under commercial license.


Annotations in data dir

Recently the annotations have been added to the data dir of this repo

Could you elaborate (in the readme) why this has been done?
What about the annotations in the original medleydb folder? I guess the ones within the data folder are more up to date. So they will be discarded, correct?
If there are different version of the dataset around it would make sense to version (and add MD5 hashes) the tar.gz files as well and provide more information on the medleydb website.

Could you elaborate (in the readme) why this has been done?

I made the structure update (admittedly) in a bit of a hurry. I think the way the data is now is not the right solution and I'm going to restructure the repository again so that the audio can live completely separately from the annotations. I'll also update the readme :)

What about the annotations in the original medleydb folder? I guess the ones within the data folder are more up to date. So they will be discarded, correct?

In short, the original annotations from the download will become obsolete. In the future I'm going to have the most up to date annotations live in the github repository (versioned of course) and will distribute the audio via the website. I'm working on this now and will update everything asap.
*If there are different version of the dataset around it would make sense to version (and add MD5 hashes) the tar.gz files as well and provide more information on the medleydb website.
Yes absolutely. We haven't finished/released the second version yet but it should be out in the next couple of months.

sounds good ;-)