"Tunari", "Valea Morii" are listed in the drop-down menu

Description:
When user writes ” Tunari” and "Valea Morii" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Tunari"

Expected results
The location appears in the drop-down menu as "Sat Tunari, DÂMBOVIȚA (Bezdead)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Valea Morii"

Expected results
The location appears in the drop-down menu as "Sat Valea Morii, DÂMBOVIȚA (Bezdead)".


fix(meta): persist internal tables of CREATE TABLE

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
It follows the same path as materialized view. Its TABLEs have to be persisted as well. Otherwise if CN down, and meta tries to cancel the CREATE TABLE ddl, it will encounter errors when trying to delete the internal tables for state cleanup.
Separately make the update of tables transactional, so that either clean_dirty_table or cancel_create_table_procedure will remove tables from meta store, but not both.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Main cron tests now pass, except for the flaky backfill test.


content(app): only manipulate the dom via the renderer

Add new checklist item to components, only manipulate the dom via
renderer

Oh and something I forgot to mention. The commit scope is not correct. Please use components (the category) for the scope. You can also get rid of the commit body (which is optional) because the commit message is pretty self explanatory.
Thanks @billyjov!

@d3lm regarding the commit message, can we squash all commits and rename single commit after reviews? I never did it, but know that it's possible

Thanks for your contribution @billyjov! Very good item to add 🎉

LGTM.
I think this is ready to merge.
Could you please also squash your commits so there is only a single commit for this entire change? Thanks!

@KwintenP  done!


Add subkinds to doc nodes [phab:T290]

Created by schroederc at 2018-03-07 23:04:46:
Differentiate between standard documentation (e.g. JavaDoc) versus other commenting (e.g. // line comments).

Fixed by 72169bc0c2025e6e5a2e12f81de7e5d4a1981f19

revision #2680


Use build system to drive integration tests and samples

In g-c-pp-spanner and g-c-cpp-pubsub we use the build system (either CMake/CTest and/or Bazel) to drive the integration tests and examples. This makes it easier to add new integration tests, as one does not need to remember to add the test to some shell script.  Likewise, the examples are easier to implement, as only one .cc file is modified.
As an additional benefit, the tests execution can be parallelized, which reduces the overall CI cycle time.
I think we would do this in stages:

[x] Change the integration test configuration to support better named environment variables.
[x] Cleanup the Bigtable integration tests to require no parameters.
[x] Cleanup the Storage integration tests to require no parameters.
[x] ~For each example program, create a new auto example that runs all the examples in the required order.~ This is now tracked in #3523 and #3524
[x] ~Change the Bigtable scripts to run this example instead of each individual example.~ This is now tracked in #3528
[x] ~Change the Storage scripts to run this example instead of each individual example.~ This is now tracked in #3528
[x] Change the build scripts to:

[x] Exclude any test labeled integration-test from the unit test builds.
[x] Change all the integration tests and examples to be labeled integration-test.

[x] The CMake build scripts run the integration tests against emulators. We need to change them to:

[x] Start the emulators and leave them running.
[x] Use CTest to run the tests labeled integration-tests
[x] Shutdown the emulators.

[x] The Bazel build scripts only run the integration tests for one build, and only against production.
We need to change them to use Bazel to run the tests labeled integration-tests passing all necessary environment variables.
[ ] Remove the old scripts to run tests.
[ ] Cleanup the old environment variables from the integration test configuration.

Planning to cleanup the storage integration tests command-line.

I had forgotten about #441. It might still be relevant.

I think the bugs in https://github.com/googleapis/google-cloud-cpp/issues/3523 capture all the issues here.
Closing this issue as it has become redundant.


x-request-id does surprising things for tracing

Issue Template
Title: x-request-id does surprising things for tracing
Description:
We have an internal Envoy running, and our edge proxy is using x-request-id already for manually correlating requests in our logs. I was investigating why our Datadog tracing stopped working after going through our proxy, and the Datadog engineers discovered that if the value of x-request-id doesn't meet a very specific format then tracing is set to NO_TRACE (thanks Datadog for tracking that down!). Specifically, I observed after going through Envoy, if it didn't recognize the x-request-id header the x-datadog-sampling-priority header is set to 0.
It appears there are at least two checks that we are currently failing.
The first is that the x-request-id must be a UUID. We sometimes use other values in our infra, which causes this initial check to fail.
https://github.com/envoyproxy/envoy/blob/master/source/common/runtime/uuid_util.cc#L24-L27
The second is that byte 14 of the UUID must have the correct value:
https://github.com/envoyproxy/envoy/blob/3a596a4b0f8a8c3e60ff6240508a1d7395a9bacd/source/common/runtime/uuid_util.h#L39
I have done some digging, and I can't find this behavior documented anywhere, nor does it seem to be a standard practice that I can find. This leads to at best surprising behavior, especially in situations where Envoy is not the only proxy in use, or not the one that is making the sample decision.
It also leads to problems if I would like to make the sample decision in something other than Envoy. How do I generate these special UUIDs in nginx for example?
I'm personally not sure what the correct fix is for the issue. Some approaches I've considered:

Leave the behavior, but document it. However, I think it makes sense to use an envoy-named header here since it appears this behavior is specific to Envoy. Something like x-envoy-id.
Use a different header for determining if a request should be sampled, and let x-request-id just be a request id which can be an opaque string.
Something else?

This is a duplicate of https://github.com/envoyproxy/envoy/issues/7624. Can we track there?

Yup, absolutely.


MIssing some accessors in new api

With v1.0.2 I can access that directly:
SSL_CIPHER->algorithm_mkey
SSL_CIPHER->algorithm_auth

EVP_CIPHER_CTX->buf_len

So the first two are handled by #1096.  Adding a function, trying to figure out the right name: int EVP_CIPHER_get_unused ?

Can't you explain why you need to look at buf_len?  Otherwise we're going to close this.

I`m writing a java/jsse component which wraps the openssl api. I need that as part of my cipher implementation.
´´´
private int getOutputSize(int inputLen) {
logger.entry(inputLen);
if (modeBlockSize == 1) {
return logger.exit(inputLen);
} else {
final int buffered = OpenSSL.provider()
.getEVPCipherCtxBufLen(cipherCtx.getContext());
if (padding == Padding.NOPADDING) {
return logger.exit(buffered + inputLen);
} else {
final int totalLen = inputLen + buffered + modeBlockSize;
return logger.exit(totalLen - (totalLen % modeBlockSize));
}
}
}

Do I get this correctly, that getOutputSize should give the total amount of bytes resulting from an inputLen that is the total length of the input?  There's no need to know the buffer length for that, as the output will always be a multiple of modeBlockSize.
final int calculated_size = inputLen;
if (padding != Padding.NOPADDING) {
    calculated_size += modeBlockSize;
} else if ((inputLen % modeBlockSize) != 0) {
    // this isn't right, should return an error.
}
// calculate the amount of bytes that's an exact multiple of modeBlockSize
logger.exit((calculated_size / modeBlockSize) * modeBlockSize);

you're just logging some internal state? and as @levitte pointed out, we think you can get what you need with his code.  going to close this.

I`m not logging only an internal state!!!!
logger.exit(buffered + inputLen);

This line above is logging and RETURNS a value.

Yes?  The answer's still the same


crypto/x509: certificate validation issues

Go version
Go-Crypto v1.21rc2
Output of go env in your module/workspace:
Go-Crypto v1.21rc2

What did you do?

The library allows empty DirectoryString (e.g., " ") in Distinguished name structures of Issuer and Subject name. (RFC 5280 non-compliant)
You should not allow 0 (zero) as certificate serial number. RFC 5280 says, "The serial number MUST be a positive integer assigned by the CA to each cer- tificate...CAs MUST force the serial Number to be a non-negative integer...Non- conforming CAs may issue certificates with serial numbers that are negative or zero. Certificate users SHOULD be prepared to gracefully handle such certificates."
Crypto allows presence of (version 3) extensions even if the certificate version is 1 or 2.

What did you see happen?
All certificates were accepted
What did you expect to see?
The library should reject such noncompliant certificates

does this reproduce against the latest released version?
do you have self contained reproducers to demonstrate the issue?

I do not have self-contained reproducer, but I have sample certificates and the test harness.
certs.zip
This is the test harness I have used:
https://github.com/joyantaDebnath/ARMOR/blob/main/evaluation/Diff_test_setup/test-harness/go-crypto/test_verify.go
Yes, these are issues of the latest version as well.

We'd still need a root cert to test those certs.


feat!: Always Check Arithmetic Generics at Monomorphization

Description
Problem*

Currently, only transformations on arithmetic generics caused by explicitly calling checked_transmute are checked at monomorphization
Checking the types from checked_transmute uses unification, which in turn calls canonicalize, which can result in unchecked transformations

Summary*

Add a new internal-only type (CheckedCast) that holds a type transmutation for checking during monomorphization

This type is added around top-level InfixExpr's during type resolution
Nested CheckedCast's within an InfixExpr are dropped during canonicalization

Check the transformations when encountering a CheckedCast during monomorphization

This requires the option to disable simplifications other than evaluation-of-constants when calling canonicalize or evaluate_to_field_element

Fully check transformations when testing transmutations during monomorphization

Additional Context
TODO

[ ] Add tests
[ ] Test with one or more cases from https://github.com/noir-lang/noir/pull/6269

Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I may be adding some more tests, but otherwise this should be ready for review

I'll take a look at this tomorrow


[Feature]: New York style components

Describe the feature
Currently we have only the default style for components. Shadcn UI also provides "New York" style.
Let's add them into apps/www/src/lib/registry/new-york/ui/...
Additional information

[x] I intend to submit a PR for this feature.
[ ] I have already implemented and/or tested this feature.

I'll add most of the components today.

Hello! @zernonia, I just completed all the components in the new york style, you can merge it with the rest of the work 😃


chore(openapi): update kafka-mgmt/v1 OpenAPI document

This pull request was auto-generated
This PR adds the latest version OpenAPI document version for kafka-mgmt/v1.
Actions:
1. Review changes on the OpenAPI file and validate if it is correct.
2. Perform manual changes if needed or apply local patches for the OpenAPI files.
3. Merge this pull request only when the API has been released.

Changes

@pb82 Any impact of this change to the SDK/UI/CLI we should consider?

I seen that issue but did not instantly connected it with this change! Thank you for confirming


Fix: destroying a uploader whose file doesn't exist will cause problem

I ran into this issue when trying to destroy a fake model:

Any chance that this might get merged soon? 🙏
Looks like an env var isn't properly set in ci?


Unable to play multiple videos at the same time

I believe it has to do with the limitations of MediaPlayer rather than using AVPlayer.

@danklammer - If you get a chance to do this before me, converting this to AVPlayer seems like a good choice going forward, PR is welcome and I'll give you a commit bit. Otherwise I'll take care of it when I have time. Thanks for letting me know!

👍

@danklammer - I took care of this in e504944ef593d947f34d3a1acbb75c07ab03e7c4 - pull down 0.1.6 and the app that you recorded above should just work.

Thanks for letting me know about the issue! :smile:

Awesome! Thanks @brentvatne!


Task/weak numba dependency

This PR adds numba as a weak / optional dependency of skchange, instead of the hard dependency it is now.
To achieve this, we use  the sktime function _check_soft_dependencies, and return a passthrough version of the @jit and @njit decorators if numba is not installed.
Additionally, this PR enables the configuring of some numba default @njit parameters through the setting of environment variables.
Currently the supported parameters are cache, parallel, and fastmath, set by the corresponding environment variables NUMBA_CACHE, NUMBA_PARALLEL, and NUMBA_FASTMATH.
The current implementation only sets the defaults, so if a user of the numba decorator specifies e.g. fastmath=False, their choice will not be overridden.

Another thing: I see the patch coverage is pretty low. Do you have time to write a few tests for the new njit module @johannvk? They can be placed in skchange/utils/numba/tests

It took some trial and error, but I added tests for all the new configuration fuctionality now, and also added another test step to the Github Actions workflow to run all our tests with and without Numba jit-compilation.


Russian е & ё

In Russian it is OK & acceptable to type е instead of ё, However the reverse is not true and is an error. Few words aside (небо-нёбо, все-всё, ...) the substitute only affects pronunciation &  writing esthetics, but not the meaning.   Is it possible to stop marking e as an error / typo and NOT to suggest the usage of ё ? Thanks

Thanks for the insight! (I was wondering recently if this kind of exception could exist, this answers my question)
This will be implemented in the next version.


Fix offset issue

Problem
We are not getting events anymore.
Solution (Making event receiving great again)
I've seen this happening and I think it might be an issue with the consumer code, last time when this happened I had to explicitly find last read offset and use that in stream call to start from that offset and then we started receiving events again. We are currently using same logic on APRB and seems to be working fine.

Lulz ;)


Transform Trigger - Tracked

I have a blue platform enemy in the SMM2 enemy pack but i need 2 variants for tracked and non tracked versions, i could reduce it to one if their was a "tracked" transform trigger. It's not a big deal but could be useful for more than just this.

fd05890ab0b95d5253015d2f3c52bf2264b5d84a


Which battery holder!?

I'm wondering where or what batteries holder you use... no information on your blog!
And I'm really interresting to buy a bunch of...

unfortunatelly, i ordered something completly different on ebay, and got these... so i can t tell you a product number or name...
i ordered something like this http://www.ebay.com/itm/2-pcs-18650-Battery-Clip-Holder-Box-Case-/371300600688?hash=item56733d8b70:g:GfQAAOSwBLlVJLJi

Alright... I've finally found something on Fasttech:
https://m.fasttech.com/p/1258801
Its cheap and perfect... i will receive it soon...
Tank you!


Support react-native 57+

This fixes compilations issues for a new react native application. Apparently sdk23 is no longer supported.

OK, this is ready to merge / take comment on. I took the liberty of also applying the same change as #14. I have tested this locally and it works, I've also pushed a namespaced copy of the library out to @ossareh/react-native-uuid-generator yarn users can add it by: yarn add react-native-uuid-generator@npm:@ossareh/react-native-uuid-generator - unfortunately I'm not sure how to do the same with npm.
@Traviskn LMK what you think. Thanks so much for this library :)

Thank you!


kv implementation optimistic lock commit

closes #3569
closes #3727

@eden-ohana Followup task: #3833


Remove unused content security policy code

This was introduced in https://github.com/alphagov/frontend/pull/733. It hasn't made it to production yet and we have no immediate plans to do so. I really hope we pick this up again, but in the meantime I think it's good to remove the code to avoid clutter and unnecessary maintenance.
Allows us to remove one more thing from the deprecated alphagov-deployment (https://github.gds/gds/alphagov-deployment/pull/1289).
https://trello.com/c/WkJ6qbE6/224-12-factorise-frontend

@davbo might have opinions on this. Was there a reason it never got turned on?

Time. It was created by @alexmuller, so I'll let him merge.

I am interested! It would be great if we could deploy CSP more widely on gov.uk.
That said it will take effort and I suspect this particular code isn't how that ends up happening so removal for now doesn't set us back much, especially if it clears up some of the said "deprecated alphagov-deployment" repo. What do you think @alexmuller ?
Does the service on #{Frontend.govuk_website_root}/e exist in production?

@boffbowsh the reasons it was never switched on are in here https://gdstechnology.blog.gov.uk/2015/02/12/experimenting-with-content-security-policy-on-gov-uk/ in particular

This part of the CSP 2 specification works well, but because it's not widely available in browsers yet we're unable to use CSP to prevent inline JavaScript from running.

The policy here allows 'unsafe-inline' so I can understand not pushing for it in production without the CSP2 support (which is now available in pretty much all browsers).

We have made steps toward removing some of those inline scripts. eg Analytics is no longer an inline script.


Can't install package for a simple winform in VS 2015

I created a sample winform application in visual studio 2015, which is targeting .net 4.5.2.  When I tried to add the sdk to my project, i'm getting this error:
Could not install package 'UWP.SDKforGoogleAnalytics.Managed 1.5.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Do I miss anything?  What is the minimum requirement for adding the SDK?

hi dmyaho.  The UWP nuget packages are for Windows Universal Apps.
If you want to use on Windows Forms, please clone the repo and just add a direct reference from Windows Forms projects to our GoogleAnalytics.Core project.... you can add a project or binary reference.
We intend to have one nuget package for Core, but it will likely be a week (or a little more) until we have that completed...

It didn't work using a console app either.   Which was quite sad i tend to use console apps when testing stuff.

@jaimerodriguez any updates on Core being released on Nuget? I really want to use this in my WPF app! Thanks!

@jaimerodriguez Any status update on this for non-UWP .NET projects like WPF?
While one can technically use Core, AnalyticsManager and PlatformInfoProvider are necessary in practice. This is an excellent implementation of GA for .NET, looking forward to its release.

Yeah, I'd like to see an implementation for WPF. The core doesn't have AnalyticsManager and PlataformInfoProvider, however I suppose one could implement this. Has anyone here implemented?

I haven't tried to implement them, but I'm willing to give it a shot if I have everything else set up. Do you imagine there is much project set up required prior to attempting to implement them?

@JobaDiniz @matthewbordas I don't think it'd be difficult if you're comfortable with WPF. I tried, but my understanding of WPF is lacking enough to make it beyond me (a WPF newbie).
It's only two classes, though. And you could probably get my only porting AnalyticsManager and scrapping PlatformInfoProvider as it is harder in WPF to determine window size and other platform features.
Would very much appreciate a port, though.

Well, I don't even have VS2015. I'm currently using VS2013. 😐
On qua, 10 de mai de 2017 at 22:35 ssnseawolf<EMAIL_ADDRESS>wrote:

@JobaDiniz https://github.com/JobaDiniz @matthewbordas
https://github.com/matthewbordas I don't think it'd be difficult if
you're comfortable with WPF. I tried, but my understanding of WPF is
lacking enough to make it beyond me (a WPF newbie).
It's only two classes, though. And you could probably get my only porting
AnalyticsManager and scrapping PlatformInfoProvider as it is harder in
WPF to determine window size and other platform features.
Would very much appreciate a port, though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/windows-sdk-for-google-analytics/issues/16#issuecomment-300657903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKFqlcQdjgl3mEdWSsraRnzoNwVmUaiks5r4mXDgaJpZM4MBK__
.

@ssnseawolf Thanks for that outline! If I have time over the next few weeks I will try to give the port a shot, no promises though!

wpf-sdk-for-google-analytics.zip
After a bit of work I have gotten it to work on WPF. It will not work on Windows Forms, but it wouldn’t be much of an exercise to port it. See attached zipped project for a demo.
This works for me. However, there is no test coverage for this code. This code was modified in an hour or two by someone desperate to use it. It has received a minor lobotomy in some parts, and occasionally thinks it’s a UWP app in others. If this concerns you, it should. You have been warned. Tested only on Windows 10 Creators Update.
But it works for my scenario. It’s not in any way in sufficient shape for a PR, but hopefully someone else can perfume this pig.
Unsupported features:
Application viewport size
Screen scaling values
Screen color depth (not supported in the UWP version either)
AutoAppLifetimeMonitoring (you can set it but it does nothing, doesn’t make sense in WPF)
Instructions:
•	Install Nuget package “UwpDesktop” by Vladimir Postel
•	Add reference to System.Management (allows getting PC manufacturer and model)
•	Put string “AnonymousClientId” and bool “AppOptOut” in Settings.settings.
•	Add AnalyticsManager.cs and PlatformInfoProvider to project from attached ZIP root directory.
•	Change all references in above two files from “Test.Properties” to “WhateverMyAppNamespaceIs.Properties”
Please let me know if you have any issues or questions. Cheers.
(Pinging @matthewbordas and @JobaDiniz --probably won't work on VS2013 but worth a shot).

and occasionally thinks it’s a UWP app in others

:laughing: You still uses CoreApplication and other classes from UWP. Thanks for sharing. When my project hits the stage for google-analytics, I will take a look at this implementation; it could take a while.

@ssnseawolf thanks so much, I will try this out over the weekend and report back here!

How's this looking?

@jaimerodriguez  I have got it working in a WPF application by building the Core project manually. However, it will be great if you can create a NuGet package for this. So, I am on the waiting list too :)

@jaimerodriguez It's almost been a year. Were there issues getting that non-UWP nuget package generated?

If you just want to get simple hits recorded, this is what I did.  I know that there is more functionality possible than I'm using such as screen size info, device info etc but all I needed was basic stuff like "user clicked this button".  This will work with any .NET client type, console, win forms, wpf etc.
You need to either reference the 'Core' project from this repo, or copy the files from it, I say 'copy' because when I referenced the output from the Core project I got an odd error in a test deployment about System.Thread.Timer.DLL not being found, which I believe is due to the Core project's use of https://www.nuget.org/packages/Microsoft.NETCore.Portable.Compatibility/ I didn't feel like solving that problem so I just copied the 10 files into my project.
Anyway, add these:
PlatformInfoProvider.cs
public sealed class PlatformInfoProvider : IPlatformInfoProvider
        {
            static string userAgent;

            bool windowInitialized = false;
            string anonymousClientId;
            Dimensions? viewPortResolution;
            Dimensions? screenResolution;

            /// <inheritdoc />
            public event EventHandler ViewPortResolutionChanged;
            /// <inheritdoc />
            public event EventHandler ScreenResolutionChanged;

            public PlatformInfoProvider()
            {
                InitializeWindow();
            }

            /// <inheritdoc />
            public void OnTracking()
            {
                if (!windowInitialized)
                {
                    InitializeWindow();
                }
            }

            /// <inheritdoc />
            public string AnonymousClientId
            {
                get
                {
                    /*if (anonymousClientId == null)
                    {
                        if (string.IsNullOrEmpty(Test.Properties.Settings.Default.AnonymousClientId))
                        {
                            anonymousClientId = Guid.NewGuid().ToString();
                            Test.Properties.Settings.Default.AnonymousClientId = anonymousClientId;
                            Test.Properties.Settings.Default.Save();
                        }
                        else
                        {
                            anonymousClientId = Test.Properties.Settings.Default.AnonymousClientId;
                        }
                    }*/
                    return anonymousClientId;
                }
                set { anonymousClientId = value; }
            }

            /// <inheritdoc />
            public Dimensions? ViewPortResolution
            {
                get { return viewPortResolution; }
                private set
                {
                    viewPortResolution = value;
                    ViewPortResolutionChanged?.Invoke(this, EventArgs.Empty);
                }
            }

            /// <inheritdoc />
            public Dimensions? ScreenResolution
            {
                get { return screenResolution; }
                private set
                {
                    screenResolution = value;
                    ScreenResolutionChanged?.Invoke(this, EventArgs.Empty);
                }
            }

            /// <inheritdoc />
            public string UserLanguage
            {
                get { return System.Globalization.CultureInfo.CurrentUICulture.Name; }
            }

            /// <inheritdoc />
            /// <remarks>This feature not implemented on this WPF implementation </remarks>
            public int? ScreenColors
            {
                get { return null; }
            }

            /// <inheritdoc />
            public string UserAgent
            {
                get
                {
                    if (userAgent == null)
                    {
                        userAgent = GetUserAgent();
                    }
                    return userAgent;
                }
            }

            void InitializeWindow()
            {
                try
                {
                    /*    double w = System.Windows.SystemParameters.VirtualScreenWidth;
                        double h = System.Windows.SystemParameters.VirtualScreenHeight;
                        ScreenResolution = new Dimensions((int)w, (int)h);
                        // TODO: Get application window size, it's a pain in WPF so implement later after a few drinks
                        // TODO: Get screen scaling */
                    windowInitialized = true;
                }
                catch { /* ignore, Bounds may not be ready yet */ }
            }

            /*   void Current_SizeChanged(object sender, WindowSizeChangedEventArgs e)
               {
                   ViewPortResolution = new Dimensions((int)e.Size.Width, (int)e.Size.Height);
               }
               */
            static string GetUserAgent()
            {

                /*string deviceFamilyVersion = AnalyticsInfo.VersionInfo.DeviceFamilyVersion;
                ulong version = ulong.Parse(deviceFamilyVersion);
                ulong major = (version & 0xFFFF000000000000L) >> 48;
                ulong minor = (version & 0x0000FFFF00000000L) >> 32;
                ulong build = (version & 0x00000000FFFF0000L) >> 16;
                var osVersion = $"{major}.{minor}.{build}";
                */
                String uaArchitecture;
                switch (Environment.Is64BitOperatingSystem)
                {
                    case true:
                        uaArchitecture = "Win64; X64";
                        break;
                    default:
                        uaArchitecture = "Win32; X86";
                        break;
                }
                string manufacturer = "";
                string model = "";
                /*
                // Should work but untested
                try
                {
                    SelectQuery query = new SelectQuery(@"Select * from Win32_ComputerSystem");

                    //initialize the searcher with the query it is supposed to execute
                    using (ManagementObjectSearcher searcher = new ManagementObjectSearcher(query))
                    {
                        //execute the query
                        foreach (ManagementObject process in searcher.Get())
                        {
                            //print system info
                            process.Get();
                            manufacturer = (string)process["Manufacturer"];
                            model = (string)process["Model"];

                        }
                    }
                }
                catch (Exception)
                {
                    manufacturer = "UnknownManufacturer";
                    model = "UnknownModel";
                }
                // Is it user-built hardware?
                if (manufacturer == "To Be Filled By O.E.M.") manufacturer = "NoManufacturer";
                if (model == "To Be Filled By O.E.M.") model = "NoModel";
                */
                string osVersion = "";

                return $"Mozilla/5.0 (Windows NT {osVersion}; {uaArchitecture}; {manufacturer}; {model})";
            }

        }

AnalyticsManager.cs
public sealed class AnalyticsManager : TrackerManager
    {
        static AnalyticsManager current;
        public AnalyticsManager(IPlatformInfoProvider platformInfoProvider) : base(platformInfoProvider)
        {
        }

        public static AnalyticsManager Current
        {
            get
            {
                if (current == null)
                {
                    current = new AnalyticsManager(new PlatformInfoProvider());
                }
                return current;
            }
        }
    }

Then you can use it like so
            var analyticsManager = new AnalyticsManager(new PlatformInfoProvider());
            var infoProvider = new PlatformInfoProvider();
            infoProvider.AnonymousClientId = anonymousId;
            tracker = new Tracker("<your GA property id>", infoProvider, analyticsManager);
            tracker.AppName = "<your app name>";
            tracker.AppVersion = "<your app version>";
            tracker.Send(HitBuilder.CreateCustomEvent("button click", "hello page", null, 0).Build());

Not sure about the double creation PlatformInfoProvider, that deserves looking at.
Hope that helps.

@keyoti  but how can I do Step1 at Getting Started("Add the Internet (Client) Capability to your manifest").
in winform

@keyoti thank you for answer

@keyoti Dear Mr. Wright,
I did everything according to your instructions and tracker.Send(HitBuilder.CreateCustomEvent("button click", "hello page", null, 0).Build());
..does pass without error. The problem is - I don't get any events recorded to my Property in GA.
Strangely enough, its Property ID in the admin tab is only numeric, while I encounter UA- prefixed id's in all the examples I find. I also can't make an "App" property, because all properties marked as that end up with App+Web tab.
I tried to Track in Debug mode, but no events are recorded there, too. I will wait for tomorrow to try again (set up hours and all), but I'm pessimistic.
Are there other issues that might occur with the code you wrote here? Here is my sample:
var analyticsManager = new AnalyticsManager(new PlatformInfoProvider());
var infoProvider = new PlatformInfoProvider();
var tracker = new Tracker("214***269", infoProvider, analyticsManager); //
AnalyticsManager.Current.IsDebug = true;
tracker.AppName = "sign pro"; // (same name as the property)
tracker.AppVersion = "<IP_ADDRESS>";
tracker.Send(HitBuilder.CreateCustomEvent("button click", "hello page", null, 0).Build());
Anonymous client id is random GUID.
Thanks in advance!

@GeorgievGG Hi, when I said property ID I did mean something like "UA-nnnnnn-nn" that's what I have in our code.
It should probably work then.

@keyoti Thanks for the reply. I don't have any "UA-.." ID in my GA's properties. How can I create normal App property in GA with similar ID? Do you make Web property instead of app?

To be honest I don’t remember, it was probably an App – all I can say is try it J
From: Georgi Georgiev<EMAIL_ADDRESS>Sent: October 31, 2019 2:40 PM
To: dotnet/windows-sdk-for-google-analytics
Cc: Jim Wright; Mention
Subject: Re: [dotnet/windows-sdk-for-google-analytics] Can't install package for a simple winform in VS 2015 (#16)
@keyoti https://github.com/keyoti  Thanks for the reply. I don't have any "UA-.." ID in my GA's properties. How can I create normal App property in GA with similar ID? Do you make Web property instead of app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dotnet/windows-sdk-for-google-analytics/issues/16?email_source=notifications&email_token=ACX6XOLBH3UTRIAFFQYBONLQRNGCXA5CNFSM4DAEV772YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECZKVQI#issuecomment-548580033 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACX6XOIY2LEPPNDRF2RINJTQRNGCXANCNFSM4DAEV77Q .  https://github.com/notifications/beacon/ACX6XOO264GVLD4TZST3VTDQRNGCXA5CNFSM4DAEV772YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECZKVQI.gif

If anybody needs this info - I managed to connect .NET4.5 WPF with GA through CSharpAnalytics library.


Old untouched cards are not archived automatically

https://blog.cjr.dev/2014/05/15/trello-api-and-datelastactivity/
dataLastActivity of a card seems to be unreliable


rust-lang/rust: Compiler review assignments based on the expert map

Zulip discussion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Compiler.20review.20assignments.20based.20on.20the.20expert.20map
This PR fills the review assignment map using the rustc expert map, PR histories of the mentioned people as well as my personal observations.
Reviewers are now assigned using specific rustc crates rather than single rustc* wildcard.
Much larger number of people from the compiler and compiler-contributors groups can now be assigned, instead of the same 7-9 people for the whole compiler.
Pros:

Reducing review load from those 7-9 people who were assigned previously.
More people are involved into the review work and get reviewing experience.
Better match between the reviewer and reviewed code, higher quality reviews without reassignments.

Cons:

Harder to keep the map up-to-date.
Less chance for a reviewer to learn something new by being assigned to an unfamiliar part of the compiler.

Future work:

Need an exclude list to temporarily exclude busy people from reviewers without breaking the expert map.
Merging all this with the expert map in the compiler team repo and storing this data somewhere in the team repo rather than in highfive (needs involvement from the infra team).

r? @nikomatsakis
I'll ping the other people mentioned in the PR once some decision about doing or not doing this is reached.
I'm pretty sure some people will want to tweak their assignments.

I'm of a few minds. For one thing, I'm worried about the lists getting out of date -- I also think it's great for folks to get some chance to review a broader set of things.
On the other hand, I think that having fewer reviews from random bits of the code, and more focused reviews on areas of interest to a specific person, will likely help.
This seems pretty related to the "areas of the compiler" proposal from https://github.com/rust-lang/compiler-team/issues/288 as well -- I had imagined there having directories assigned to areas, and areas populated with people, probably at three levels: "lead", "member", and "notify", where leads/member is probably the folks who would do most of the reviewing. (Sometimes, though, areas are kind of "cross-cutting" across directories.) But "notify" people might be folks who'd like a ping.

One alternative here that would allow to achieve pros 1 and 2 (but not 3), and wouldn't have the listed drawbacks, is to assign reviews to all people from the compiler and compiler-contributors groups actively involved in rustc development now.
That's 10 + 10-15 more people.
Anyway, I collected the data which will stay if this PR is closed, and don't have time to pursue this actively, so I'm going to close it.


Fix an LLDB Swift expression evaluator bug that prevents any

expressions from being run that use API that is @available in an SDK
with a major version number >10, while debugging in a simulator.
LLDB knows how to correctly parse the deployment target out of the
load commands. This fixed a critical performance problem. To still be
able to run expressions containing API newer than the deployment
target in LLDB, we started marking up LLDB expressions with
availability annotations. The code to compute the SDK version used in
the availability markup had a bug for iOS devices. We fixed
that bug in b34a153. Unfortunately the bugfix that fixed
devices introduced a regression for simulators that caused the host
macOS version instead of the simulator version to be used when
debugging on a simulator. This makes it impossible to run any
expressions that contain API from an iOS/tvOS version greater than
10.13.
rdar://problem/42884412

@swift-ci test and merge


added german translation (Du)

Thank you! merged.

Sorry about the last comment, was meant for another pull request.
Thank you for providing the translation! We have however now a lot more strings in the language file, would it be possible to translate these as well?

Hi, yes I can translate them. I wait for the extension to become RC so I do not need to translate them multiple times in case you change things until RC. Let me know when the ext hits RC, then I can do it.

close it, will be insert in a new PR.

included and udpdated here: https://github.com/rfdy/trader/pull/30


Uploading project agent automation with lambda

Cloud One Service
select one or multiple if applicable
[ ] Common
[X] Workload Security
[ ] Application Security
[ ] Network Security
[ ] File Storage Security
[ ] Container Security
[ ] Conformity
[ ] Open Source Security
Proposed Changes

New project associated with Workload Security automation deployment using Lambda and SSM Agents

This is awesome.
Has it been recently tested?

We tested together before send the PR, working good...

LGTM


Compile with Kotlin 1.7.10

This PR is just to experiment with compiling the project with Kotlin 1.7.10

Similar code changes was merged as part of #1009, so closing this as it is now just a matter of bumping the Kotlin version to compile with 1.7


Running gym environments (Doom, Minecraft, and etc)

When I run this code
`import gym
import universe  # register the universe environments
env = gym.make('MinecraftDefaultWorld1-v0')
env.configure(remotes=1)  # automatically creates a local docker container
observation_n = env.reset()
while True:
action_n = [[('KeyEvent', 'ArrowUp', True)] for ob in observation_n]  # your agent here
observation_n, reward_n, done_n, info = env.step(action_n)
env.render()`
The error I get is gym.error.UnregisteredEnv("no registered env with id:".  This happens with every gym environment I try when I change the gym.make.  How do you fix this?

The Minecraft environments aren't released yet either.
Good ones to start with are at https://universe.openai.com/envs#flash_games

On this website https://github.com/tambetm/gym-minecraft it shows you how to run and install Minecraft.  I'm assuming your telling me that I can't run these environments in universe yet but I can in gym.  Is that right?  Also how do I know when they are released?  For PC games I understand that because it says coming soon.  As for Minecraft and Doom it says experimental.

Yes, they work in gym when you load the add-on packages, either
https://github.com/ppaquette/gym-doom or https://github.com/tambetm/gym-minecraft.


Show error message when update organisation returns error

Based on https://sentry.io/organizations/oacore/issues/1783820044/?project=2091955&query=is%3Aunresolved
I notified @valerapro about the issue. In the meantime we should cover it on our side too.

apart from the bug we discussed on Slack it's ready. I guess it's a not a big deal. :)


Update index.html

git blame try.html

Oops. Sorry.
Could you put the change on try.html? index.html is auto-generated.


[DStability] Bug in sorting of stages if no. stages >10

A d-stability stix-file is parsed in dstability_parserprovider.py. The order of the stages is maintained by sorting the file names. However if there are 11 or more stages then the stage order gets mixed-up because when sorting strings the '10' will be placed after '1'.

This issue may be fixed by accident in the upcoming 2023.01 release of D-Stability due to a change in the project file format. All stages will be written to a single file so their order will no longer depend on the filename in the ZIP archive. A fix for the current version, if critical, would be to use a more "natural" sort algorithm instead of the standard sort


function webpack_require does not properly check for existence of module

Do you want to request a feature or report a bug?

Reporting a bug

What is the current behavior?

I am recognizing the following error when constructing a simple bundle using require.ensure()

If the current behavior is a bug, please provide the steps to reproduce.
In order to reproduce the error, download the following modules + versions:
- Node @ 7.1.0
- Webpack @ 2.2.0

Create a simple bundle using rquireAll to do deep requires
function requireAll(r) { r.keys().forEach(r); }

require.ensure([
  // required modules
], require => {
  // additional modules
}, 'vendor');

What is the expected behavior?
It should not crash if a module does not exist or cannot be found. Instead, it should report that the requested module was missing.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Please see above for version numbers

you can set output.strictModuleExceptionHandling.
this will however swallow the error instead of reporting

Correction, after some digging, this is a simpler issue. During the callback function of ensure, relative paths to asset files (i.e. JS, CSS) did not work. That was what caused the error for me

Could you create a simple repro repo?

Please see this project >> https://github.com/Stephn-R/webpack-ensure-issue
There are two Cases in the index.js file. Case A fails to source the angular module but Case B works perfectly fine.

it works perfectly fine on my machine.
what should happen?

Are you running Case A and looking in the console for errors? Also, what are you OS settings?

Yes i did have to fix the public path and the characters that are leftover in the code. But after that it just worked

Ok but thats my point. You had to fix it otherwise after the build rather than the build just working.

Well if you do not have a proper configuration what do you expect?

This is a proper configuration but it causes the issue that I mentioned. You having to "fix" the config is not the issue, the issue is that based on the tutorial docs, the ensure function does not work as expected.
@timse can you share the changes you made to make this work?


test: Port (last) repartition.rs query to sqllogictest

Which issue does this PR close?
Closes #8212
Rationale for this change
Move tests to sqllogictest
What changes are included in this PR?

Set up unbounded query with repartition and coalesce to sqllogictest

Are these changes tested?
Yes
Are there any user-facing changes?
No

I took the liberty of merging this branch into main to resolve a merge conflict and plan to merge it once it passes

Thanks again


reformat according to PEP8

Blank spaces was adjusted. And redundant import was deleted. Please define __all__=... if use import *  to avoid package missing or conflicts.

Life is easy if you use black ^_^


Push Shuffle/join above aggregates to avoid communication

Raco already has rules to:

removed redundant Shuffles when two operators require hash the same key, e.g. a join and aggregate
decompose aggregate into local agg->shuffle->local agg

What Raco does not do is distribute the join across the decomposed aggregate.
Pagerank case study
Consider the following MyriaL program.
-- Simplified PageRank; assumes that all nodes have out degree > 0

alpha = [.85];
epsilon = [.0001];

Edge = SCAN(public:adhoc:edges);
--Vertex = SCAN(public:adhoc:vertices);

-- the distinct and union query to calculate vertex
srcs = select src as id, src as fake from Edge;
dsts = select dst as id, dst as fake from Edge;
dups = UNIONALL(srcs, dsts);
vertexfake = select id, max(fake) from dups; --dedup
Vertex = select id from vertexfake;

N = [FROM Vertex EMIT COUNT(id) AS val];
min_rank = [(1 - *alpha) / *N];

OutDegree = [FROM Edge EMIT Edge.src AS id, COUNT(Edge.dst) AS cnt];
PageRank = [FROM Vertex EMIT Vertex.id AS id, 1.0 / *N AS rank];

DO
    -- Calculate each node's outbound page rank contribution
    PrOut = [FROM PageRank, OutDegree WHERE PageRank.id == OutDegree.id
             EMIT PageRank.id AS id, PageRank.rank / OutDegree.cnt AS out_rank];

    -- Compute the inbound summands for each node
    Summand = [FROM PrOut, Edge, Vertex
                WHERE Edge.dst == Vertex.id AND Edge.src == PrOut.id
                EMIT Vertex.id AS id, PrOut.out_rank AS summand];

    -- Sum up the summands; adjust by alpha
    NewPageRank = [FROM Summand EMIT id AS id,
                   *min_rank + *alpha * SUM(Summand.summand) AS rank];
    Delta = [FROM NewPageRank, PageRank WHERE NewPageRank.id == PageRank.id
             EMIT ABS(NewPageRank.rank - PageRank.rank) AS val];
    Continue = [FROM Delta EMIT MAX(Delta.val) > *epsilon];
    PageRank = NewPageRank;
WHILE Continue;

STORE(PageRank, OUTPUT);

The resulting Myria plan is here, with the relevant subquery highlighted.
myria_plan.pdf
This subquery is responsible for the real work. Pagerank for a target vertex is the sum of all pageranks from vertices that point to it. In relational algebra, this is a join between the vertex relation (target vertex), the edge relation, and the pagerank relation (vertices that point to the target), followed by a SUM over those pagerank contributions, grouped by target vertex.
Notice that the entire join between source vertex, edge, and destination vertex is computed before any aggregation. This means that Myria doesn't get to aggregate local pagerank contributions before communicating them. Instead Raco could have done JOIN(vertex,edge,prout)->Groupby(SUM)->Shuffle->JOIN(vertex,edge,prout)->Groupby(SUM).

Here are some benchmarking results with Radish. Just pay attention to good join order and w/o group by opt.

Notice that the difference between not doing aggregate decomposition (optimization 2 at the top of this issue) and doing it is not that much. To get closer to handwritten, I think the rewrite proposed in this issue would do a lot.


fix: Use AMD64 machine to generate docker images

ARM64 machines are failing with multi-platform docker build. I thope that AMD64 machines do it better 🤞
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

/skip-e2e


Weird Syntax Highlighting for neovim

I installed the vim plugin for neovim using vim-plug as the plugin manager.
When I set the color scheme to nord I get a completly different color scheme than the default one that the docs show. I also use the lightline plugin and it also gets styled with that weird color scheme.
I removed and re-installed neovim and nord, but same results.
(Also some languages such as go are not highlighted)
Here is a photo of how it looks
results that i get

Its weird, that I copied the nord.vim file directly from this repository, and added it in my themes folder and setted it as the colorscheme (Had removed the nord plugin first to avoid problems). Same thing . . . Seems that with nord.nvim it gives me the syntax highlighting and colorscheme in general that the docs showed.

Hi @CopernicusPY :wave:
Like mentioned in the Reddit post (just to give some context for others reading this issue) my guess about an invalid local setup seem to be correct. The blue box at the top of Nord Vim's "Installation & Activation" guide informs that the matching terminal theme must be present because Vim uses the 16 ANSI base colors provided by the terminal in which it is running. Based on your screenshot (by the way, you can simply upload images & videos directly to most content fields on GitHub) this doesn't seem to be the case. Since you haven't provided any additional information about your system I can't recommended a specific Nord port so please make sure to check if you terminal is supported through any of Nord's official ports or, if not, maybe a port created by the community.
The answer to why the Neovim specific theme port works is also simple (and partly answered in the Reddit thread): This theme is for "Vanilla" Vim while Neovim is not supported explicitly but only when it runs Vim specific plugins. The fact that it "just works" without the need to have the matching terminal theme installed is simply because Neovim natively supports hexadecimal color codes ("true color", ISO-8613-3 compatible terminals) which will be used as is instead of relying on the terminal to translate the requested ANSI color code to the matching hexadecimal color so the third-party Neovim Nord port can simply define the color palette like this.

Yes, I understand. By the way, I am using QTerminal since it is the default terminal emulator on the kali distro. I searched through the nord official/un-official port projects but seems there isn't one for QTerminal. I think I can safely close this issue by saying that I prefer keep using the third party theme, until full support comes for neovim. Thank you

QTerminal, and the LXQt project in general, is indeed nothing that Nord explicitly supports yet, but when there is a higher demand it might be a possible candidate when active port developments gets started again. I've added it to one of the project boards/tables that will also be made public within the next weeks.

Yeah thats great. I would switch to alacritty ( i have it installed with nord as its colorscheme), I just really hate the need of using 3rd party apps to allow multiple instances/tabs screen splits etc.


関数の改善

[ ] #10
[ ] 一覧

select * from record where record_id = "recordId"; -- recordResult
select * from group_member where user_id = "recordInfo.createdBy" and is_primary = true; -- searchPrimaryGroupQs
select * from user where user_id = "primaryGroupId"; -- searchUserQs
select * from group_info where group_id = 1; -- searchGroupQs
select * from category where category_id = 1; -- searchCategoryQs
select * from record_item_file where linked_record_id = ? order by item_id asc -- searchItemQs
select * from file where file_id = ? -- searchFileQs
-- show cloumns from record; カラム名確認
group_idを持ってくる
select group_id from group_member where user_id = 5000 and is_primary = true
select name FROM group_info INNER JOIN group_member ON group_info.group_id = group_member.group_id;
select * from group_info where group_id = 1;
FROM table1     INNER JOIN table2 ON table1.field1compopr table2.field2
書き換え前
select * from group_member where user_id = 5000 and is_primary = true; -- searchPrimaryGroupQs
mysql> select * from group_member where user_id = 5000 and is_primary = true;
+----------+---------+------------+
| group_id | user_id | is_primary |
+----------+---------+------------+
|      500 |    5000 |          1 |
+----------+---------+------------+
1 row in set (0.05 sec)
mysql> select * from group_info where group_id = 500;
+----------+-----------------+---------+
| group_id | name            | kana    |
+----------+-----------------+---------+
|      500 | 広島北第二        | kana500 |
+----------+-----------------+---------+
1 row in set (0.00 sec)
書き換え後
select group_info.group_id, name FROM group_info INNER JOIN group_member ON group_info.group_id = group_member.group_id where user_id = 5000 and is_primary = true;
select * from group_member where user_id = 5000 and is_primary = true;
select * from group_info where group_id =
メモ


Preset browser sizes

It would be nice to have a dropdown to select from common device sizes and have the browser resize to the correct dimensions. I don't know that this is intended for web development at all, but I see some potential uses for it.

That feature is out of the scope of this project. Feel free to fork it and add the feature yourself though, it shouldn't be very difficult. Thanks for the suggestion though :)


Sonoff SNZB-04 has been paired through the gateway but state is not updating

I paired the Sonoff SNZB-04 device successfully with my Gateway 3 hub, while the battery and Zigbee entities seem as if they work, the state is not updating.
Nothing in the logs related to this so not sure what the issue may be.
See instance details below:
Home Assistant 2022.4.7
Xiaomi Gateway 3 v2.0.10
Gateway ZNDMWG03LM ZNDMWG02LM Firmware: 1.5.0_0102
SNZB-04 (DS01) Firmware: 4

It should be fixed in the latest master version. Try to use it.

@vturekhanov latest version of what?

Master of XiaomiGateway3 component. It is not a release nor even beta. It can be installed via HACS as "master".

yes, I confirm that it works on the master version.

@WarC0zes do you have an issue with the battery? Mines at 0% but the sensor is working fine.
I’m going to replace the batteries tomorrow as it may just be a glitch.

I have the same issue. I tried installing the master version but still no change. The state is always "Closed". Only the zigbee entity updates.

@WarC0zes do you have an issue with the battery? Mines at 0% but the sensor is working fine.
I’m going to replace the battery tomorrow, it may just be a glitch.

Just to update, the battery issue I had resolved itself. Using the master version worked for me.

@WarC0zes do you have an issue with the battery? Mines at 0% but the sensor is working fine.
I’m going to replace the battery tomorrow, it may just be a glitch.

No problem for me, wait because it can take a while before going back up.

Please reopen the issue if it is still relevant


Search just doesn't return results for some records

Describe the bug
All 1 Million + records have been imported successfully but meilisearch just doesn't seem to bother searching 9/10th of the records. It searches maybe the first 100k?  I've tried increasing php memory limit but with no success. Is there some sort of limit? See screenshots.
Expected behavior
I expect all the indexed data to be searched
Screenshots
1M+ successfully imported

This doesn't exist? Really

Check via SQL query. Yep its there.

This is one of the "lucky" records that get searched.

MeiliSearch version:
v20
Additional context
Both on local (MacOs Big Sur) and Server (Ubuntu 20)

Hey @CodeWithClass,
First of all thank you for the interest you put into MeiliSearch.
When you send documents to MeiliSearch the server will process them asynchronously. Another very important thing to keep in mind is that it is way faster to send big batches of documents at the same time, never send documents one by one (something like batches of 100MiB).
We are currently working on the v0.21 release that will be out in less than 1/2 weeks, this pre-release version can index faster, and, at the same time, working on an auto batching system on the MeiliSearch side (out in v0.22).
You can try this new release as we improved the indexing times. We are also working on a better indexing system for the v0.22.
Have a good day!

Hey @CodeWithClass,
First of all thank you for the interest you put into MeiliSearch.
When you send documents to MeiliSearch the server will process them asynchronously. Another very important thing to keep in mind is that it is way faster to send big batches of documents at the same time, never send documents one by one (something like batches of 100MiB).
We are currently working on the v0.21 release that will be out in less than 1/2 weeks, this pre-release version can index faster, and, at the same time, working on an auto batching system on the MeiliSearch side (out in v0.22).
You can try this new release as we improved the indexing times. We are also working on a better indexing system for the v0.22.
Have a good day!

I

Hello @CodeWithClass!
@Kerollmops asked you this because we want to be sure all the documents are added and processed by your MeiliSearch instance. The documents that are not processed cannot be retrieved during the search.
Can you check all the updates have been processed using the GET /indexes/:uid/updates route.
All the updates should be processed.

Ahhh Yes. All updates are now "processed" and it works.
For anyone reading this in the future basically: give it time to index. it may take hours/days.
Thanks guys

Awesome @CodeWithClass! Thanks for your feedback 😄
I would add something for people that don't see the end of their data indexation: waiting for hours can happen, days are not expected. Here is the optimized way to push data to MeiliSearch:

We always recommend pushing your documents to MeiliSearch by batch and not one by one. The maximum payload size of MeiliSearch is 100Mb and can be optionally increased. It means most of the dataset can be pushed with one call to the API.
If you have a memory crash (not your case @CodeWithClass from what I understand) it means the RAM of your machine might not be adapted to your dataset size. We recommend increasing the RAM of your machine.
Finally, we fixed some performance issues in the next version (v0.21.0). You can test a release candidate, or wait for the official release in few days. Also, we are still working on a new indexer that will be released in 1-2 months.

Do you know if there is a way to push by batch when using laravel scout + meilisearch? I used the php artisan scout:import command

with the -c command of php artisan scout:import you can select the number of docs by batch
https://github.com/meilisearch/meilisearch-laravel-scout/issues/58#issuecomment-727102131

Amazing. I was able to batches of 100,000 and my entire DB was indexed in minutes!
Follow up question. Is it possible to cancel "enqueued" operations?

Not at the moment sorry! You can ask for new features here :) https://github.com/meilisearch/product/discussions/categories/feedback-feature-proposal

So how would I stop the enqueuing of the documents that are taking forever?

This is really weird!
I've just tested

add a lot of documents in an index
before the update is processed: delete the index
I cannot get the update status of the index: this is expected because the index does not exist anymore
I create a new index with the same name
I get the update status of the index: I get an empty array.

So, contrary to you the "deleting and recreating index" method works.


Discord messages not forwarding to Minecraft server after a certain period

Ive come across a problem with the DiscordBDS. After a while, Discord messages aren't getting through to the Minecraft server anymore. Strangely, messages from the Minecraft server are still being sent and displayed correctly on Discord.

No ETA of this until rewrite...


Enforce integer output of states generated with sampler._get_samples_gen

Remove astype(np.int32) in lines 189 and 185 of sampler.py and enforce integer-type in nets directly.
Also see https://jax.readthedocs.io/en/latest/_autosummary/jax.nn.one_hot.html, as one_hot returns float64 as new standard.

solved by b8b1f02.


Add validation of Ironic Neutron Agent to kuttl test

Assert the Ironic Neutron Agent deployment in kuttl test.

/test ironic-operator-build-deploy-tempest

/test ironic-operator-build-deploy-tempest


New DFS client API

This PR Fixes DICL/EclipseMETA#78
Checklist

[x] Follows Google Coding Style.
[x] At least one reviewer approved (for non-trivial changes).

READY TO MERGE IF SOMEONE REVIEWS IT AND TEST IT

Created a shared lib for linking the DFS apps.
Fixed dfs append bug.
Refactor in the client code

Example of API
// name this file main.cc
#include <eclipsedfs/vdfs.hh>
#include <iostream>

using namespace velox;

std::string computing_large_data() {
  std::string output;

  for (int i = 0; i < 10; ++i) {
    output += "HELLO\n";
  }

  return output;
}

int main() {
  vdfs cloud;
  file myfile = cloud.open("BUM");   // If it doesn't exists it creates the file (Touches it)

  for (int i = 0 ; i < 10; i++)
    myfile.append(computing_large_data());

  std::cout << myfile.get() << std::endl;        // Print out the content of the file
  cloud.rm("BUM");
}

Compiled with the following command:
g++ -std=c++11 main.cc -lvdfs -lboost_system -lrt

good :+1:


melt returns empty preimage for quotes that can be settled internally

created a mint and melt quote pair with the same invoice and when tried melting in /v1/melt/bolt11, it returned the state as paid but the preimage field was empty.

Preimage can't be returned internally (not available)

Is it possible after all?

not sure for all backends but with LND you could get the preimage from the invoice created in the mint quote request  from LookupInvoice call https://lightning.engineering/api-docs/api/lnd/lightning/lookup-invoice/index.html


Do you have complete code(such as mask rcnn+BoTNet),I have v100  GPU,I can try to train the model and share it

Do you have complete code(such as mask rcnn+BoTNet),I have v100  GPU,I can try to train the model and share it with your github

@JackWhite-rwx you'll have to do the model surgery yourself, but here's an example for BotNet! https://github.com/lucidrains/bottleneck-transformer-pytorch#botnet

@JackWhite-rwx you'll have to do the model surgery yourself, but here's an example for BotNet! https://github.com/lucidrains/bottleneck-transformer-pytorch#botnet

@JackWhite-rwx you'll have to do the model surgery yourself, but here's an example for BotNet! https://github.com/lucidrains/bottleneck-transformer-pytorch#botnet

Thank you very much ,I will try to do it.

@JackWhite-rwx you'll have to do the model surgery yourself, but here's an example for BotNet! https://github.com/lucidrains/bottleneck-transformer-pytorch#botnet

Thank you very much ,I will try to do it.


Automated tasks don't take job set ID into account

Reproduce:

Create a second job set (index.php/dashboard/system/optimization/jobs/view_sets).
Add a job to it.
Copy the URL from the "Through Cron" section.

curl http://HOSTNAME/index.php/tools/required/jobs?auth=ad8fa5f86a1&jsID=2
This will execute job set 1 instead of job set 2.

Hm, I can't replicate this issue anymore. Closing for now.


Please add a toggle for highlights, it is absolutely abysmal working with them on.

title.

OK, we discussed this and I can reproduce the issue. The immediate fix is to make highlights not so bold and not take up the entire width of the screen. Also, it'd be nice to make the username/icon stick around for a little longer.

+1 lime green highlights really hurt my eyes and makes it hard to read code especially when using a dark theme.

Is the "immediate fix" a workaround for users or a change in the plugin?


Feature button "Run Next" to prioritize is not visible in releases jobs

Hello,
I think there is a problem or something wrong about "Run Next" nutton to prioritize jobs.
In some cases we need to send a job on the top of que queue, this works fine with the "Run Next" on the pipelines jobs.

But i could not find this buttom on Releases jobs. Is it missing? Is it a bug?

@mtelle -- thank you for your feedback.  Are you following a particular learn.microsoft.com article?  Meanwhile, please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

Ok, Thanks


Cannot use dragula on existing directive

Thanks for the great drag-drop framework!
I ran into an issue while integrating it into my project and I thought worth opening an issue.
I initially wanted to apply the dragula directive to an element containing another directive but got an error. Turns out dragula requires a new/isolated scope and thus cannot be applied to elements containing another directive with new/isolated scope. A workaround I'm trying out myself is to read the attributes inside link() and use $parse to re-hydrate their value. So far it appears to be working.
Thanks again!


Create error logs and warnings component in dev playground

The developer playground should allow you to see warnings and errors, just like the console.

This could be a promising candidate: https://www.npmjs.com/package/react-lazylog

I can look into this after finishing #160 .

I would like to look into this

@ovbm: I looked into react-lazylog but found also a nice alternative making it even simpler for console output: https://github.com/samdenty/console-feed
You can check it out in this draft PR #277. Let me know what you think...


How to create an invoice in it?

I have two accounts. One is user another is the admin. Now, the user wants to send $10.00 invoice to admin. How could you manage it in this package?

Hi @ghthorat, is this question related to the package? How would you do it using PayPal API?


systemvm stuck in "Starting" and missing /usr/local/cloud/ files

ISSUE TYPE

Bug Report

COMPONENT NAME

SSVM

CLOUDSTACK VERSION

<IP_ADDRESS>

CONFIGURATION

Advanced networking (one vlan for public/guest/management, one vlan for storage)
Ceph with rbd for primary storage, ceph nfs for secondary storage (after zone is enabled I can see the systemvm template downloaded on secondary nfs)
OS / ENVIRONMENT

Ubuntu 22.04 LTS, KVM hosts
SUMMARY

After I create and enable zone the system vm's are stuck in "Starting" status.
I can see the template was downloaded on secondary storage and I can manually mount it from s-1-VM and from the cloudstack vm.
STEPS TO REPRODUCE

Fresh Cloudstack install with kvm nodes, all on Ubuntu 22.04 LTS.
Primary and secondary storage on Ceph (rbd and nfs)
Cloudstack vm is hosted on first kvm node

in systemvm s-1-VM, cloud.log reads: https://pastebin.com/s4CXu8Gk

EXPECTED RESULTS

system vm's start

ACTUAL RESULTS

system vm's are stuck starting and are missing files in /usr/local/cloud

@mierea
can you test the following command on the kvm host ?
scp -i /root/.ssh/id_rsa.cloud -P 3922 /usr/share/cloudstack-common/vms/cloud-scripts.tgz 169.254.xx.yy:/root/

@weizhouapache thank you! For some reason cloud0 interface was down and so this SCP command was not working.
As soon as I brought it back up and re-created the systemvm's it worked like a charm!

@weizhouapache thank you! For some reason cloud0 interface was down and so this SCP command was not working. As soon as I brought it back up and re-created the systemvm's it worked like a charm!

@mierea
good to know it.
I remember I faced the same issue before, no idea what caused it.


Good replacement for \n

Related: https://github.com/THUDM/GLM-130B/issues/17
Hi, since \n characters are ignored, what would be the next best option to use instead when prompting GLM with in-context examples?
For example, for other models where \n is not ignored, we input prompts that look like this:
Passage: The triangle is above the red sphere.
The pink rectangle is to the left of the red sphere.
Question: Is the triangle to the left of the pink rectangle?
Answer: no

Passage: The chest is bigger than the suitcase.
The box is bigger than the suitcase.
The chest fits inside the box.
The suitcase is bigger than the box of chocolates.
The container fits inside the box.
Question: Does the suitcase fit in the box?
Answer: yes

Passage: Mary travelled to the bedroom.
Daniel travelled to the office.
Daniel journeyed to the hallway.
Mary travelled to the hallway.
Sandra travelled to the kitchen.
Mary travelled to the kitchen.
John journeyed to the garden.
Daniel went to the bathroom.
Question: Where is Sandra?
Answer: kitchen

Passage: The hallway is west of the kitchen.
The office is east of the kitchen.
Question: What is the kitchen west of?
Answer: office

Passage: This morning Fred moved to the school.
Julie went back to the cinema yesterday.
Mary travelled to the bedroom yesterday.
Fred journeyed to the bedroom yesterday.
Bill travelled to the kitchen yesterday.
This afternoon Fred journeyed to the office.
Fred travelled to the park this evening.
Mary went to the office this morning.
This afternoon Mary went back to the cinema.
This morning Julie travelled to the office.
Question: Where was Mary before the office?
Answer: bedroom

Passage: The hallway is north of the office.
The bathroom is south of the office.
Question: What is north of the office?
Answer:

I was wondering what the best practice for prompt construction for GLM was, especially for the case where there are in-context examples.

Actually, the \n is <n> in the icetk tokenizer, you can safely replace '\n' with <n>.


No module named 'prompt_toolkit.interface'

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az interactive
Errors:
The command failed with an unexpected error. Here is the traceback:
No module named 'prompt_toolkit.interface'
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/interactive/custom.py", line 41, in start_shell
    azext_interactive.start_shell(cmd, style=style)
  File "/home/nerd2ninja/.azure/cliextensions/interactive/azext_interactive/__init__.py", line 10, in start_shell
    from .azclishell.app import AzInteractiveShell
  File "/home/nerd2ninja/.azure/cliextensions/interactive/azext_interactive/azclishell/app.py", line 33, in <module>
    from prompt_toolkit.interface import Application, CommandLineInterface
ModuleNotFoundError: No module named 'prompt_toolkit.interface'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az interactive

Expected Behavior
Environment Summary
Linux-5.15.0-50-generic-x86_64-with-glibc2.35, Ubuntu 22.04.1 LTS
Python 3.10.5
Installer: DEB

azure-cli 2.41.0

Extensions:
interactive 0.4.5

Dependencies:
msal 1.20.0b1
azure-mgmt-resource 21.1.0b1

Additional Context
Thought it had to do with having Anaconda3 installed, but used the conda module for az-cli, installed powershell on my ubuntu and and install az-cli in that powershell instance, and even installed az-cli in ubuntu:latest docker container and got the same error with each method.

Duplicate of https://github.com/Azure/azure-cli/issues/24213


[Question] How does the routing works?

First of all - thank you for this, it is of great help when starting a theme.
I am new to Hugo (but have coded since 1994) and I cannot understand how the routing works in your theme. I am sure that this is something that is explained somewhere in Hugo docs but I cannot find it anywhere. Feel free to RTFM me with the link :)
Specifically, my problem is that I do not see where the main skeleton for the final web page is - that one that will build <header>, <body>, etc. I expected to find there the logic of switching between views: what to parse when looking at the remaining page, what at a blog entry, what at a standalone page, etc.
I see https://github.com/Vimux/blank/tree/master/layouts/index.html, but it is just the definition of one of the main blocks. There are other such definitions in https://github.com/Vimux/blank/tree/master/layouts/_default for instance.
Where do I code the logic/decision to use one file (with the def of main) or another?
I expect that some "routing" (not dynamic one - a routing that is then compiled into a set of pages with links to other pages) must be defined somewhere where you say that the page / is generated from <something>  and a page /blog:hello-world is generated from  <something else>. The thing that drives me crazy is that I know it's probably simple and I see the correct structure when looking,g at actual pages through DevTools.

https://gohugo.io/templates/base/


problem abount flip effect with canvas

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 4.0.0-beta.3.

Platform/Target and Browser Versions: IPAD OS10.3.2 and Safari

What you did
Implement flip effect with swiper
Expected Behavior
when current page flipped,it's back should not visible
Actual Behavior
the canvas in the page is still visible

Live demo will be helpful

Closing due to inactivity and/or no responses from issue author


Fixes bug-470

also reduced mouseup events from DraggableDirective and general fixes.
What kind of change does this PR introduce? (check one with "x")

[x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
See bug #470 .
I also noticed a lot of mouseup events coming from the draggable directive.
What is the new behavior?
Columns do not get reordered anymore. Mouseup events are only sent when actually dragging.
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

I found a bug with my pull-requests, so will have another look


fix: Close database connection after each query

Each query creates a new DB connection.
This change is to close each new connection rather than leaving them open, to allow for runs which involve large numbers of queries.
This is to address #125

Note that wrapping the connection lifecycle inside a context manager wouldn't work, as the context manager for the connection only commits or rolls back, rather than closing the connection.
Ref: https://docs.python.org/3/library/sqlite3.html#sqlite3-connection-context-manager


Update dataweave-formats-multipart.adoc

Hi, Thx for the heads up! Pls sign the CLA so that we can incorporate fixes from you. We're handling this fix via https://github.com/mulesoft/docs-mule-runtime/pull/2045/files and closing your PR bc of CLA issue.


Test case 4.7.3: Unable to import an application more than one environment.

Test case:
4.7.3 Migrate applications across different environments (eg. Dev, QA, UAT, Prod)
When try to import an application to different environments, it does not allow to import a particular application to another environment. It allows to import for only one environment.

Cannot reproduce the issue.
Once after importing the application for the first time to an environment, you cannot import it again to the same environment.
If you have already exported the application with keys and imported it. Then if you try to import it back for a different user with keys, throwing an error is expected, as we cannot create the same OAuth app.
Closing the issue, as we cannot reproduce.


Powertoy that improves the lackluster file copying operations in Explorer

Description of the new feature / enhancement

Resume file operations if Explorer crashes during operation
Make Cut and Paste reliable (verify the new copy before deleting source file)
If a cut operation with multiple files is cancelled midway, give the option to move back the files that were moved
If I cut and paste two identical files onto each other, automatically delete the cutted file
speed limit / cpu usage limit
easily schedule deletion of currently-locked files during next startup
full customizability of the sidebar in Explorer

Not all of these features need to be included. Even just one of these functions would be incredibly helpful.
Scenario when this would be used?
When people want Explorer to work for them, not the other way around.
Supporting information
No response

/feedbackhub


test suggestions?

I'd like to use this for tests (like I did with the src-d version before it was abandoned.)  One of the things I could never figure out how to do with go-mysql-server was various kinds of error injection.  For example, I'd like to be able to do weird stuff like if someone searches by a specific id I insert a sleep to test my timeout code.  For another id I'd like to be able to surface some weird error, so I can make sure my mysql error handling works.  Any ideas on how to do this?  I couldn't figure it out from the docs, but maybe I missed something.

If you're running this in a server context, I think where you want to look first is handler.go:
https://github.com/liquidata-inc/go-mysql-server/blob/master/server/handler.go
It should be relatively straightforward to implement a wrapper for this type that intercepts queries, examines them, and does some special logic before dispatching to the base type. That's how I would start.
Does that help?

Hoping to try this out tomorrow; thanks for your quick response, will update here with any progress and maybe an example that you could put in docs if you want.

(Gotta resolve at least #104 to be able to run tests.)

Going to close this since it's so old. Let us know if you have a contribution for error injection like you mentioned.


PRIVATE / OPEN table logic

Depending on a udf being "privacy_compliant" or not the resulting table could be accessible from the other nodes or not.
This should happen with 2 types of users, "admin" with access to all the tables and "guest" with access to the "privacy_compliant" tables.
The other nodes will have access to the "guest" user only.

Moved to jira.


Create a navigation bar

Add a navigation bar to make it easier to navigate through REST and SOAP projects and their resources.

This issue has been implemented and will be part of the next release.


Use previous connection id's time as blocking time

@tobli / @soulgalore for #102 It's ugly and needs some clean up, but should work.
*Note since Chrome has "Stalled" and "Queued"  and and they do not surface either in the logs I had no choice but to report both as "blocking". In Chrome's Dev Tools "stalled" actually pushes the start time out and "queued" actually reports as blocking time for the next request on the shared connection id. IMO  adding to "blocking" time for both makes more sense to me since if they are sharing connection ids they can't do anything until the previous request is complete in HTTP/1. It more clearly shows performance bottlenecks with having too many requests going to a single domain

Before and after

Great! I'll have a look today. Cleanup can happen post merge.

Thanks!


rsibreak: 0.12.8 -> 0.12.13

Motivation for this change
Fixes build
ZHF: #97479
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

WFM non-nixos linux x86_64.

Also, this wasn't failing on master, why the ZHF?

I saw this package in hydra
https://hydra.nixos.org/build/127852846

That's it failing to build on release-20.09 though. Committing to master isn't going to fix that.

Ok that's how I understood the process but I get your point

Yep, the process becomes less and less clear-cut the further the stable and master branches drift apart, but it continues to apply to packages that are broken in both stable and master. If a package is working in master, the task is to figure out what made it work again and whether the fix is non-invasive enough to be brought across to stable.


Pass all variables to task when TaskConfig.variables_to_fetch==[]

Pass all variables to task when TaskConfig.variables_to_fetch==[]
Because empty list in TaskConfig.variables_to_fetch results in all variables being fetched from Zeebe and it is reasonably expected that they will also be passed to the task.
+ use nonlocal variables instead of instance properties in tests  to avoid potential conflicts between tests
Changes

Pass all job variables to task when expected
Use nonlocal variables in tests to improve encapsulation

API Updates
New Features (required)
It is now possible to use *args, **kwargs in task and receive all variables there.
Deprecations (required)
N/A
Enhancements (optional)
N/A
Checklist

[✅] Unit tests
[❔] Documentation

References
Broken in commit related to #404

Hi. Please, rebase your PR


Mouse and Keyboard Tracking

Description
This adds the functionality of mouse and keyboard tracking. It outputs the data it gathers into a csv file for later use.
Requirements
Up to date with main.
Issues Referenced

Fixes no tracking

Documentation update
Link to a change in documentation (if any)
Notes for Reviewer

I will write the README on how to do this stuff later, but it is very similar how to run the website. Follow that read me all the way up to testing.

Testing

Follow the README PR until you have a venv setup.
Stop following it and run:

cd ../testing
python3 tracking.py

After this the program should be running. It tracks information every minute so just trying moving the mouse around and clicking buttons on the keyboard. After 60 seconds just stop it and see if it output a csv file.

Results

A csv file with information.

Feature Tests
Checklist to allow merge

[ ] All dependent repositories used were on branch master
Software

[ ] Get approval from the reviewer
[ ] Passed testing on Windows

Screenshots:

The program runs but only records 0 for APM and Erratic Score. The csv file also records 0 for everything but the timestamp despite keys being pressed.

It works on Windows but the stop key does not work so the program will keep running. I've used pynput in the past and a key like "+" usually works well or some other rarely pressed key. Also, the README.md should be updated for running on windows. At least my machine needed to run python <programfile.py> rather than python3.

Line 64 has an error (the colon should be deleted).


Company Communicator is not working in MS Teams

Note: We had posted this issue before ([Ticket 2954482) and we are asked to reach out Microsoft Support. Accordingly we engaged Microsoft Teams Support. As per their feedback Microsoft Teams Support is responsible for deployment and setup, but if there are issues or bugs with the application that is all handled via Github only.
The same is discussed with The Github support person as well.
We are having problems sending a message through Company Communicator, it shows us the errors in the screenshots attached to the case. It does not allow viewing reports of previously sent messages.
Error message: "Failed to prepare the message for sending: The orchestrator function 'SyncRecipientsOrchestrator' failed: "The activity function 'BatchRecipientsActivity' failed: "Object reference not set to an instance of an object.". See the function execution logs for additional details.". See the function execution logs for additional details."

Hi @RocioAbreuO
Thanks for reaching out to us.
we will verify and let you know regarding this shortly.

Hi @RocioAbreuO
Thanks for reaching out.
This issue might be due to multiple reasons.
Is this a fresh deployment? Please confirm on this.
There is a chance of incorrect configuration, have a thorough check from start-end and mainly verify the all three app client secret is correctly copied while creating ARM template or not.

Hi @peddivyshnavi !
No, it is not a recent deployment. We have not even tried to re-deploy the application.
Where or how can I validate the client secret?

Hi @RocioAbreuO
For validating or verifying secrets we need to navigate to app registration then app functions
Go to Azure Portal -->App registrations-->app functions which got created while deploying the app
and also could you please check whether secrets got expired.

Hi @peddivyshnavi,
Yes, they are. The Client Secret are expired :(
Can you guide me where I can update within the company communicator app?

Hi @RocioAbreuO
Please follow below steps:

Go to Azure Portal
Go to App registration
Create a new secret value for app registration and grab secret value. Here is the reference

Then go to resource group. Select key vault from list of resources.
Click on secrets under object section.

If the secrets are not visible, Go to Access Policy--> Click on Create

Select Key, secret and certificate management

Give the Id through which one can view the secrets

3rd step is optional
Go for Review+Create
Then go to Secrets. Open author/user/graph app password
Click new version

Grab the new secret identifier

Paste it in the configuration sections of app service, 3-function apps. Here is the reference of updating the author app password in app service configuration.

Follow the same procedure for the user app password and graph app password updating.
For graph app, please dont forget to update the password in AzureAd Client Secret as well. here is the reference

Hi @peddivyshnavi!
I completed the steps. After, I told with the user to send a message thought Company Communicator and he still receive the error.
Is neccesary to restart the app service or something like that?
Are you able to have a MS Teams sesion in order to validate the steps that I completed or something else?

Hi @RocioAbreuO
could you please validate whether secrets got updated correctly or not.

Hi @RocioAbreuO
Could you please share the error the supporting screenshot of error from application insights resource from the deployed resource group.
Go to resource group where CC app is deployed --> Go to Application insight type resource --> share the screenshot and stack trace for Top 3 response codes.

Hi @peddivyshnavi
Below the printscreen:

Hi @RocioAbreuO
Could you please share your email id so that we can start discussing the issue internally

Hi @peddivyshnavi!
Sure!
My email address is<EMAIL_ADDRESS>

We have started discussing internally

Hi @peddivyshnavi!
Please as you can, send me the schedule meeting.

We have connected internally for issue ,
we see secrets for all app registration got expired and user created new secrets, we have updated secrets in all app functions accordingly.

We have not yet received confirmation from Authors users. As soon as they confirm me, I will update you. Thank you very much.

Hi @peddivyshnavi!
The "Authors users" confirmed that the application is working fine now.

Closing ticket as user mentioned issue got resolved


ERROR in *.css . Module build failed: ValidationError: Style Loader Invalid Options

Can not import css after upgrading to v5
//next.config.js
const withCSS = require('@zeit/next-css')
module.exports = withCSS()

//pages/test.js
import React from 'react';
import './test.css';

export default () =>
Hello World!
;

/*pages/test.css*/
.test{background-color: red;}

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
Have a box with red background
Current Behavior
Seeing this error:
ERROR in ./pages/test.css
Module build failed: ValidationError: Style Loader Invalid Options

options['importLoaders'] should NOT have additional properties

 @ ./pages/test.js 10:0-20
 @ multi ./pages/test.js

Context
I don't have .babelrc and postcss.config.js in my local and trying to import css
Your Environment

Tech
Version

next
5

node
9.5

OS
macOS 10.12.6

browser
chrome Version 64.0.3282.140

The same problem that using next-sass plugin.
ERROR in ./src/styled-components/index.scss
Module build failed: ValidationError: Style Loader Invalid Options

options['importLoaders'] should NOT have additional properties

Already made a pr on next-plugins to solve this 🙏🏻

@timneutkens thanks ❤ . Was it merged? how can i use it?

@haikyuu Will do a new release soon with a lot of improvements to next-css / less / sass

Any updates on this? I still get the same error.

"next": "^7.0.2",
"@zeit/next-css": "^1.0.1",

Same here

+1

yarn add @zeit/next-css@next

Neither removing css-loader, nor installing the canary version of the next-css plugin is helping.

我遇到了同样的问题。
% yarn build
$ next build
[1:02:12] Compiling server
[1:02:12] Compiling client
[1:02:14] Compiled server in 2s
[1:02:17] Compiled client in 5s
> Failed to build
{ Error: (client) ./components/font.scss
Module build failed (from ./node_modules/@zeit/next-css/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
ValidationError: CSS Loader Invalid Options

options should NOT have additional properties

它用以下命令解决了
yarn remove style-loader css-loader sass-loader

thx，resolve my problem


product_description_generator notebook

product_description_generator notebook

cleared output
ran through code quality checked
fixed links and added markdowns
added new examples
removed hardcoded endpoint and project_ids

removed.

View entire conversation on ReviewNB

Agreed. Fixed.

View entire conversation on ReviewNB