incompatible with python 3

nuff said

@jthornbrue  just

change all xrange to range

@staticmethod
    def pixel_to_tile(pixel):
        """Transform pixel to tile coordinates"""
        return pixel[0] / 256, pixel[1] / 256 # here

change to
@staticmethod
    def pixel_to_tile(pixel):
        """Transform pixel to tile coordinates"""
        return pixel[0] // 256, pixel[1] // 256 # here

If you do make that change, PR it and I'll merge it into master.
On Tue, Mar 1, 2016 at 2:18 PM, LennyLip<EMAIL_ADDRESS>wrote:

@jthornbrue https://github.com/jthornbrue just

change all xrange to range

@staticmethod
def pixel_to_tile(pixel):
"""Transform pixel to tile coordinates"""
return pixel[0] / 256, pixel[1] / 256 # here
change to
@staticmethod
def pixel_to_tile(pixel):
"""Transform pixel to tile coordinates"""
return pixel[0] // 256, pixel[1] // 256 # here
—
Reply to this email directly or view it on GitHub
https://github.com/buckhx/QuadKey/issues/10#issuecomment-190859665.

--
@buckheroux
www.buckheroux.com

https://github.com/buckhx/QuadKey/pull/11


WIP: Consolidate packages

Work in progress
We want to consolidate the logic in the OHIF packages into smaller set of NPM modules (and push whatever we can out of OHIF and into things like dcmjs, dicomweb-client, dicom-dimse, and Cornerstone, and push the UI into separate packages. The UI can then be rewritten in something other than Blaze so it's more portable.
We can maybe replace some of the OHIF components with the React components we're building in https://github.com/crowds-cure/cancer
Created the PR now even though this isn't ready because (1) I want my Hacktoberfest t-shirt and (2) I don't want to forget about this branch.

Closing because I'm doing this in the react branch.


Feature request: Format Document

I've added a pull request #29 for this as I would find it useful too :)

Very promising :)
I just added a comment in the PR

Any update on merging this?

This is now merged into master
https://github.com/NascHQ/nasc-vscode-mac-touchbar/commit/25cd1288bee4129cc6009e67d38bfae8c2fade4e


[Feature] Name Length Improvements

Remove Names from the title (for space) keeping them below (keep sorting to include names though so one person's tokens are grouped


Unable to display RSS Reader in React App

There's still an issue when adding the RSS Feed URL (as it failed to display the latest news)
Originally posted by @mochadwi in https://github.com/sampingantech/kmm-rss-reader/issues/5#issuecomment-1019415580

trying this Feeds: https://blog.feeds.pub/stackoverflow-rss.html also doesn't works

Installing using WebStorm requires license 😭 will switch to VSCode a moment!

fixed by enable CORS

Installing using WebStorm requires license 😭 will switch to VSCode a moment!

able to use WebStore, (succeed renew my student license) alhamdulillah 🎉


Card not recognized by this middleware

My ID card appears not to be recognized by this middleware.
Matching the ATR with those in https://github.com/italia/cie-middleware-linux/blob/5e4cdceb3449a109efe708f1f83bc12a7400ca2b/cie_sign_sdk/src/CSP/IAS.cpp#L265-L292 there seems to provide a complete match.
My ATR is 3B 8F 80 01 80 31 80 65 B0 85 04 00 11 12 0F FF 82 90 00 8A
Do valid CIE ID cards exist that are not supported by this middleware? The card appears to work with the android CIEID app. Does that app support a superset of the CIEs supported by this middleware?

Risolta nella release <IP_ADDRESS>

Still not working. Note that I am trying to use the card with the remotesmartcardreader in https://frankmorgner.github.io/vsmartcard/remote-reader/README.html as I do not have a stand alone reader. Applied the latest out of tree patch (https://github.com/frankmorgner/vsmartcard/issues/201#issuecomment-1130577266) there too.
Weird enough, now trying to debug with pkcs11-tool --module /usr/local/lib/libcie-pkcs11.so -I -L aborts
File INI:/usr/local/lib/ciepki.ini
Inizio Sessione - versione: May 13 2022 21:18:01Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Cryptoki version 2.10
Manufacturer     IPZS
Library          CIE PKCS11 (ver 1.0)
Lib log level: 3
Lib log level: 3
Available slots:
Slot 0 (0x2): Lib log level: 3
Lib log level: 3
Virtual PCD 00 0
  (empty)
Slot 1 (0x1): Lib log level: 3
Lib log level: 3
Virtual PCD 00 0
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
  (token not recognized)
Lib log level: 3
Lib log level: 3
Lib log level: 3
Lib log level: 3
Using slot 1 with a present token (0x1)
Lib log level: 3
Lib log level: 3
free(): double free detected in tcache 2
Aborted (core dumped)


Invoke-WebRequest The request was aborted: Could not create SSL/TLS secure channel. Error while getting prereq remotely

Hello,
I m currently testing Invoke-AtomicTest remotely but i have this error when i try to get the prereq on the remote machine :
Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel.
I already tried [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 on the machine containing the atomic repo but it's not working.
Am i missing something or it's normal ?
I tried those command :
Invoke-AtomicTest T1218.010-3 -Session $sess -GetPrereqs
Invoke-AtomicTest T1204.002-10 -Session $sess  (don't have prereqs but fetch the lnk file on github).
I can see the command in the event log of the remote machine.

Thanks !

Hello and thanks for reaching out (sorry I didn't see this earlier, I need to check my notification settings in github).  The security protocol command is what you need but it needs to be executed on the remote machine and not the local machine as shown in your screenshot. In addition, since the Invoke-AtomicRedTeam execution framework starts up a new, hidden powershell session/window to execute the commands, including prereq commands, setting the protocol in the current session wouldn't have the needed effect either. Your two options for fixing this is to add the protocol command to the get_prereqs command on the atomic test itself, or to solve it for all atomics you could add the command to your powershell profile on the remote machine so it is always set for all powershell sessions, even the new hidden one the Invoke uses.


Not remembering channels between restarts

Perhaps I'm missing something simple here, but if I take the following steps:

Install oragono.
Connect.
Create a channel with /join foo, and set the topic with /topic bar.
Verify the channel #foo is present with /list; I see the channel and the topic.
Restart oragono.
Connect.
Issue /list, and this time I don't see the channel #foo.
Issue /join foo, and receive a message that channel #foo has been created.

I'd expect knowledge of the channel to persist between restarts.  I suspect that I'm misunderstanding something about IRC, oragono, or both.

Hey Duncan, thanks for the issue!
Channels are totally reset when the server restarts, unless they're registered. If you register a channel then any modes set on it, the topic, and the fact that you're the channel founder are remembered across restarts.
To register a channel, what you'll do is:

Register your account with /quote ACC REGISTER <username> * passphrase :<password>
Join the channel with /join #channel
Register the channel with `/privmsg ChanServ REGISTER #channel

Once this is done, any topic/mode changes should be remembered on the channel. After this you'll also want to setup SASL on your client (with the username and password given in step 1) so that you login whenever you connect to the server again. Freenode provides steps for setting up SASL here: https://freenode.net/kb/answer/sasl
However, the channel doesn't actually exist until you join it. When a channel's registered, it just means that the details are remembered in the background, and if someone joins it then the channel is created with those specific details (so doing /list right after joining won't show any channels). I might look at a command to show all the registered channels though, particularly for opers and similar.
This is the same across different IRC servers -- unless you register the channel with ChanServ or some other similar trick, they're always forgotten on restarts. Thanks for trying out oragono, feel free to yell with how this goes or anything else you run into!

I'll mark this as fixed for now, we've documented this a bit better in the readme and all. Thanks again for the yell!


Add a simple calculator

@TKirtan Kindly assign me this under hacktoberfest

Hello Sir,
Kindly assign this task to me.I want to solve this issue.

Please Assign this to me as I have built this as one of my project. So it can be added Simply.

Thank you for assigning me. I am starting to work on it now.


Fix flaky tests

Fix a race condition in HttpHealthCheckedEndpointGroupLongPollingTest
Fix the failure to delete a temporary directory in HttpFileServiceTest
Miscellaneous:

Fix too large test timeouts

Still failing although the chance has gone lower:
com.linecorp.armeria.server.file.HttpFileServiceTest > executionError FAILED
    java.io.IOException: Failed to delete temp directory C:\Users\appveyor\AppData\Local\Temp\1\junit5085164456569485523. The following paths could not be deleted (see suppressed exceptions for details):

I've seen this on Windows too in another project - just gave up and don't delete the directory and rely on using ./gradlew clean to clean up junk occasionally. It seems to be a hard problem to reliably know when a directory is ready to delete on Windows.
https://github.com/curioswitch/curiostack/blob/master/tools/gradle-plugins/gradle-test-helpers/src/main/java/org/curioswitch/gradle/testing/GradleTempDirectories.java#L38


Add pre-commit to the template.

Adding pre-commit and friends would be a good idea.

Maybe pyre-check as well?

Maybe MyPy?

Maybe PyRight instead of Pyre or in addition?

PyRight cannot fill in types though, I think.


Clear input field

Description
When hitting enter and the tag was not in the list, the input field gets cleared up. But if the tag is already in the list, the content stays to show the user that it was not added to the list.
Changes
I moved the functionality inside the if statement (switch line 40 and 41), so it only gets called when a new tag is added to the list.
Related
closes #22
💡 Thoughts
Showing that the tag is already in the list could maybe be generated in a better way. For now, the user does not know if the tag is already in the list or if the tag even exists (e.g. typo). Or is this already too much of a hint? The outline could be more intense (or/with micro animation), a "error" message below/beneath could be shown..

I agree, this functionality is needed. 🚀
In general, the user should receive feedback after every submission:

if successful, a message that says so (especially once the list gets longer, and the tag gets added maybe somewhere at the bottom of the list, the user should know what happened to their submission)
if already in the list, the message should say so. I think it's a good idea to keep the user input and let the user decide if they delete it or maybe modify it. So the input field could have a clear (x) button.
if not in the list, same as for 2 above.
We could have the submission message display right above or below the input field, maybe with setTimeout of several seconds and then it disappears.


remove the word stich

i guess its technically a real word but very weird and seems like a typo.

Yep, I'm good with removing it


Design improvements in some areas.

Objectives:-

Fix this search bar:

Fix some spacing in card on experience page:

Also some ui improvement in cards:

I'd like to work on these issues and improvements.

@anushbhatia please review my pull request #507. (Just to mention I am under the SWOC program.)

@anushbhatia please review my pull request #507. (Just to mention I am under the SWOC program.)

I would work on this issue with some hover effects on cards. I would also add top to bottom button in this. Please assign me this issue. @smaranjitghose  sir.

And also I can do some animations and cool hover effect in nav bar and some background animation using particle.js, Please assign me @smaranjitghose  sir.

I would work on this issue with some hover effects on cards. I would also add top to bottom button in this. Please assign me this issue. @smaranjitghose sir.

Please raise individual issues for your suggestions with a possible demo/reference.
Looking forward to your ideas!
Meanwhile check out the SVG animation issues and try them if you wish to


Pdfrx  1.0.98 fails on pod install

currently using pdfrx: ^1.0.98 on flutter
but anytime i run pod install i get this error as indicated the screenshot below

kindly await your response

It seems a kind of network issue. Can you access GitHub in normal way?


Update Cosmos DB extension to version 0.3.5

Please find the vsix package here

@Charles-Gagnon have you updated the go link?

@Charles-Gagnon nvm, saw it just now.


SNR calculation

SNR calculations to be redesigned to work with limited bandwidth.

SNR detector redesigned in  dabsdr library v1.1.0, commit 9afb94d8d0b8d028b75fe2ee69bd9d07b7768a3a


add coderabbit config with custom python instructions

Attempt to get coderabbit not to comment about python compatibiblity

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!


Can't call from Chrome in web app

Using Teams in Chrome I cannot call team-members. Here's the error message.
Try a different browser
This feature isn't available yet for your browser. Try the web app with Microsoft Edge or Google Chrome, or switch to the desktop app.

Tested in both Chrome version 72 and version 73.0.3683.75 on Mac OSX version 10.14.3.
My user has a guest account on the Teams app.
Is this a bug or is the feature not available for Chrome yet? Is the issue related to my guest account?

The error message is wrong, but the feature actually isn't yet available in Chrome. It should work in Chrome in the very near future.

We are tracking this feature. Closing this issue from documentation page.


cognito-identity: NotImplementedError: The get_open_id_token action has not been implemented

Description
The current master does not implement the get_open_id_token endpoint of cognito-identity.

Closed with https://github.com/spulec/moto/pull/2311


additional functions & methods from tutorials

Consider adding the following into the code base (currently adhoc code in the tutorials)

Network_Moran (#595)
others?

See #581

Although getting the plotting of network stuff from spaghetti into splot would be nice, it might not be feasible in the short term. Thought, @slumnitz?

Closing and linking to pysal/splot#108.


font edits in keystatic do not work anymore (since update)

hi @stefanprobst
I saw you implemented a major update these days!
unfortunately, some elements in keystatic do not work anymore:
first I noticed that the font edits are not clickable anymore; then, when looking up an old event item in EN (lecture 10.1) I received the following error:

together with @ctot-nondef I had a look into the commit history (#11), and it showed that the problem might be related to the (new) libs?

I'd be in need of a rather quick fix in order to be able to do website curation and editing, thanks!

fixed by https://github.com/acdh-oeaw/clariah-at-website/commit/b1b3a9c86593c2e051b2128d4091aea87a15bc38


Bug: glob mishandles paths with only "?"

Hi and thanks for a great package.
There's a bug in GCSFileSystem.glob because of the line:
if '*' not in path:
    path = path.rstrip('/') + '/*'

in which if you don't have * in your pattern, the behavior is incorrect.
E.g.:
For a directory with files text1.txt, text2.txt, text3.txt,
fs = gcsfs.GCSFileSystem()
fs.glob('my-bucket/text?.txt')

returns []

And if we're already here, then the code also doesn't escape . in the path, which turns them into "every character" in the regex.
E.g.
fs.glob('my-bucket/file.txt')

will also match file7txt

BTW, instead of writing it yourself, you can use the builtin glob package:
https://docs.python.org/3/library/glob.html
This is what gsutil uses

Please try this with the current master, which used the glob implementation from fsspec


Support GitHub Releases

We use convential-changelog in generator-angular and we would like to switch from a changelog.md file to GitHub Releases.
There's an API so should be possible to automate it:
http://developer.github.com/v3/repos/releases/

Please try https://github.com/stevemao/conventional-github-releaser


git clone cobalt is 40MB

Cloning into 'cobalt'...
remote: Counting objects: 1847, done.
remote: Total 1847 (delta 0), reused 0 (delta 0), pack-reused 1847
Receiving objects: 100% (1847/1847), 40.39 MiB | 316.00 KiB/s, done.

maybe need some cleanup ?

Not sure we can do anything about that without loosing some revisions. Git...

ok, big history so ;-) and the joy of low bandwidth...


Showing Request URL Not found

Showing request url not found on click on other pages

I have changes in .htaccess according to url


Add callback for audio volume range (uac2 only)

Summary by CodeRabbit

New Features

Introduced a new function for retrieving a volume table, enhancing audio control capabilities.
Updated volume control request handling for improved modularity and functionality.

Bug Fixes

Adjusted logic for handling mute state and request types to ensure correct operations.

为什么要加这个API?

为什么要加这个API?

I need this, because I use a codec (DAC) that has build-in volume control. I want it to use the proper range. With the current defaults, the host (linux, in my case) will do volume control by changing the values, because the range is way too small. I want to tell the host the supported range of the codec,  so that I keep the dynamic range.

This range is in uac2.0 spec, so you should convert this range into your dac range.

In the spec, I only find this:
The Volume Control is one of the building blocks of a Feature Unit. A Volume Control must support the
CUR and RANGE(MIN, MAX, RES) attributes. The settings for the CUR, MIN, and MAX attributes can
range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001) in steps of 1/256 dB or 0.00390625
dB (0x0001). The settings for the RES attribute can only have positive values and range from 1/256 dB
(0x0001) to +127.9961 dB (0x7FFF).
I don't see the hardcoded 0..100 range.

In the spec, I only find this:
The Volume Control is one of the building blocks of a Feature Unit. A Volume Control must support the CUR and RANGE(MIN, MAX, RES) attributes. The settings for the CUR, MIN, and MAX attributes can range from +127.9961 dB (0x7FFF) down to -127.9961 dB (0x8001) in steps of 1/256 dB or 0.00390625 dB (0x0001). The settings for the RES attribute can only have positive values and range from 1/256 dB (0x0001) to +127.9961 dB (0x7FFF).
I don't see the hardcoded 0..100 range.

This is uac1.0  not 2.0, and your api is not common, uca1.0 do not use this.

You can convert 0-100  to your dac volume, this makes simple for us to use because pc only controls wirh 0-100

Refer to my latest commit.


Need assistance to investigate why RazorPageBase.User doesn't contain logged-in user identity

I thought it was cookies issue at the beginning, but it's not. I'm running .NET Core MVC application as a console application, I register identity&auth with code snippet at the end of the message.
My issue is that User variable in MVC view doesn't contain user identity after successful user SignIn (_signInManager.PasswordSignInAsync(...).Succeeded is true).
RazorPageBase.User is not Authenticated after successful sign-in. How to fix this? Tried with Chrome & Firefox. Debug looks like this:

My Startup.cs. The app was originally migrated from netcore2.0 to netcore2.1, but I don't like new app template where you can't customize Identity pages, that's why I want to keep them, if possible.
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using CoreApp.Data;
using CoreApp.Models;
using CoreApp.Services;
using FirebirdSql.EntityFrameworkCore.Firebird.Extensions;
using System.Text;
using Microsoft.AspNetCore.Http;

namespace CoreApp {

    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
            services.AddEntityFrameworkNpgsql().AddDbContext<ApplicationDbContext>(
                opt => opt.UseNpgsql(Configuration.GetConnectionString("Main"), o => o.UseNetTopologySuite()));
            services.AddEntityFrameworkNpgsql().AddDbContext<NominatimContext>(
                opt => opt.UseNpgsql(Configuration.GetConnectionString("Nominatim")));

            services.AddIdentityCore<ApplicationUser>(options => {
                options.Password.RequireDigit = false;
                options.Password.RequiredLength = 4;
                options.Password.RequireLowercase = false;
                options.Password.RequireNonAlphanumeric = false;
                options.Password.RequireUppercase = false;
                options.SignIn.RequireConfirmedEmail = false;
                options.SignIn.RequireConfirmedPhoneNumber = false;
            })
               .AddRoles<IdentityRole>()
               .AddEntityFrameworkStores<ApplicationDbContext>()
               .AddSignInManager()
               .AddDefaultTokenProviders();
            services.AddAuthentication().AddIdentityCookies(builder => {
                builder.ApplicationCookie.Configure(options => {
                    options.Cookie.HttpOnly = false;
                    options.Cookie.SameSite = SameSiteMode.None;
                });
            });

            services.AddMvc();

            // Add application services.
            services.AddTransient<IEmailSender, EmailSender>();
            services.AddSingleton<Tracker>();
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, IApplicationLifetime applicationLifetime, IServiceProvider provider)
        {
            if (env.IsDevelopment()) {
                //app.UseBrowserLink();
                app.UseDeveloperExceptionPage();
                app.UseDatabaseErrorPage();
            }
            else {
                app.UseExceptionHandler("/Home/Error");
            }

            app.UseStaticFiles();
            app.UseAuthentication();

            app.UseMvc(routes => {
                routes.MapRoute(
                    name: "default",
                    template: "{controller=Home}/{action=Index}/{id?}");
            });

            if (!env.IsDevelopment()) {
                using (var scope = app.ApplicationServices.GetService<IServiceScopeFactory>().CreateScope()) {
                    scope.ServiceProvider.GetRequiredService<ApplicationDbContext>().Database.Migrate();
                }
            }
            Task.Run(() => app.ApplicationServices.GetService<Tracker>().RunAsync(7331, applicationLifetime.ApplicationStopping));
        }
    }
}

Looks like HTTPS is forced for any authentication available and there's no option to provide user accounts via simple HTTP.

I've replaced Manage & Account controllers with AddDefaultIdentity and it started to work again.


Build Windows against pinned version of Arrow

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Support Windows paths natively

The shell must use ' for Windows paths that will escape both \ and spaces correctly:
$ echo 'C:\Program Files (x86)\Microsoft Visual Studio\'
C:\Program Files (x86)\Microsoft Visual Studio\

If you write in PowerShell ls C:\Pro<TAB> it will change to ls 'C:\Program Files\' and if you press TAB again, it changes to ls 'C:\Program Files (x86)\', etc. And the cursor is before the last quote, so you can simply keep typing the path and cycle via TAB and everything just works automatically. Bash could behave the same way for spaces, but it doesn't. Our shell should automatically do this for both spaces and \.
PowerShell only inserts ' if they are needed, and as you cycle via TAB, it keeps removing or appending them as needed.
The only downside that I can think of is that Bash does not substitute ${HOME} inside single quotes. However, if you use absolute Windows paths, typically you don't want to substitute variables. And if you do, then you have to use the platform independent relative paths with /, like in echo "$CONDA_PREFIX/lib", which should work on all platforms including Windows.
The idea is to support this well, as a strict subset of Bash, and users have the option to write multi-platform shell code, by using relative paths and avoiding C:\ on Windows or /Users on macOS or /home/ on Linux. Rather, one must use environment variables relative paths and other platform independent ways. However, at the same time, if users don't care and just want to use a shell on a given platform, say, Windows, then it must allow native paths and allow to call native programs naturally, without any unnatural POSIX-style paths overlay. It's still Bash, so users can then later upgrade such a platform dependent script to a platform independent one by removing absolute paths, and using relative paths with /. We can introduce platform independent Bash functions to handle appending to $PATH and so on.

Current state: this works:
$ ls 'C:\Program Files (x86)\Microsoft Visual Studio\'
Installer  Shared

But automatic quoting with ' does not work yet.


Fixed throw misspelling

@michael-mih nice catch, thank!
Can you please base and target your work to development branch as we state in our CONTRIBUTING page
This will help us merge it quickly..

Sure thing, ill rebase and resubmit the request.


In certain cases, change password api does not return and blocks other api calls from returning.

Describe the bug
If refresh token expires, or if user is disabled, call Amplify.Auth.update(oldPassword:, to:) does not return and subsequent api calls seem to be blocked._See steps to reproduce for more detail.
Steps To Reproduce
Fastest way to reproduce:
1. call Amplify.Auth.signIn(username:password:)
2. In web console, disable user
3. Wait for for ID token to expire
4. call Amplify.Auth.update(oldPassword:, to:)

Expected result: Amplify.Auth.update returns some error
Actual result: Amplify.Auth.update does not return. Other SDK functions will also not return now (e.g. Amplify.Auth.signOut, Amplify.Auth.fetchAuthSession, Amplify.Auth.signIn

Slower, way to reproduce same result:
1. call Amplify.Auth.signIn(username:password:)
2. Wait for for refresh token to expire
3. call Amplify.Auth.update(oldPassword:, to:)
Same result as above.

Expected behavior
Amplify.Auth.update(oldPassword:, to:) should return a result in all cases.
Amplify Framework Version
1.26.2
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5.6
CLI version
9.1.0
Xcode version
13F100
Relevant log output
No response
Is this a regression?
No
Regression additional context
I do not know if this is a regression. I have only tested this on the latest version of Amplify.
Device
Any
iOS Version
iOS 15
Specific to simulators
na
Additional context
No response

Hi @neilDistill! Thanks for opening this issue. I will take a look and post updates here.

@ruisebas I am still seeing this behaviour in v1.27.0.
My Refresh Token expiration is set to 60 min, Access Token is set to 10 min, ID Token is set to 5 min.

call Amplify.Auth.signIn(username:password:)
In web console, disable user
Wait for for ID token to expire (5 min)
call Amplify.Auth.update(oldPassword:, to:)

Expected result: Amplify.Auth.update returns some error
Actual result: Amplify.Auth.update does not return. Other SDK functions will also not return now (e.g. Amplify.Auth.signOut, Amplify.Auth.fetchAuthSession, Amplify.Auth.signIn

Hi @neilDistill ! I followed the steps you provided using Amplify 1.27.0 and got this result:
▿ Swift.Result<(), Amplify.AuthError>.failure
  ▿ failure: AuthError: Could not change password, the user session is expired
Recovery suggestion: Re-authenticate the user by using one of the signIn apis
    ▿ sessionExpired: (3 elements)
      - .0: "Could not change password, the user session is expired"
      - .1: "Re-authenticate the user by using one of the signIn apis"
      - .2: nil

Calling other functions after also works correctly.
Since you are still seeing the original issue, could you please confirm that your version of AWSiOSSDKV2 is at least 2.17.12?
The fix also requires the changes included in that release.

Here is a screenshot of my test project using AWSiOSSDKV2 2.27.9

I have also attached a copy of the program I am using to do my test. (I have removed my user's username, password and the userpool information)
AmplifyDemo_20220719.zip

@ruisebas
I am now getting the same error you reported. There must have been something stale in my environment.
I reset my simulator and reset the xcode package caches and how everything seems to be working as expected.
(Simulator, Device, Erase All Content and Settings
Xcode, File, Packages, Reset Package Caches)
Thanks,
Neil.

Glad to hear that!
I made a typo on my last comment, the AWSiOSSDKV2 version needed is 2.27.12 😅 , which is the latest release.  Sorry about that.
Your project was using an older version, so when you reset your project's package caches, it updated it.
Let us know if you face other issues.
Thanks!


Images for Linux course

Checkout the YT Channel and provide the images (to be added as the thumbnail).
Pinging @CYBERDEVILZ , in case he may want to have a first crack at this.

Will do a PR at the earliest

I really liked it.. Make thumbnails for all the linux topics


Save color + height of books

Save color/motif and height of books in database.
Suggestion: saved when first added or when first loaded into bookshelf.
Prevents always having to render a random color + height for the bookshelf.

Changing and saving color to db works ok now, 9dec2b032e767b1a1997652bb40a48d171be73ab.
Still unsure it the same should be done with height, maybe local save only?


Coverage

It may or may not be helpful to be able to do a comparison between Markdown and Codeblocks to see if a document is sufficiently documented.
If this is done, it should only ever be an optional flag.

I don't think this is something that will ever be in demand.


WMG API docs

Tasks:

[ ] Review (or write) API endpoint descriptions in WMG OpenAPI spec definition
[ ] Address incomplete specifications for ontology term lists (see TODOs in wmg-api.yml)
[x] Update Tech Overview doc
[ ] Update README in repo, as needed

This is not going to happen :). No one has complained about missing docs w.r.t to using the WMG API endpoints.


Rebase

Resolve rebase conflict, but not in working state.
Need a little work to make it working. (I am working on it)

I have seen some of the things you have pointed. So a WIP commit.
I work at the same time on prevent unicodes function to be too much initialised.

Okay, the first rebase is done, and the Unicode tools are initialised only once.
Now, I will resolve the remaining conflict and this can be merged.
The next step will be work on matrix allocation.

Done, it can be merged.

Just a little fix, now all the test are passed.

@alberic89 is this PR still relevant, or has it all been included into #5 ?


Unable to generate sources for multiple version of java

I am using the jsonschema2pojo-maven-plugin to generate java sources via maven.
I have java version 11 installed on my PC but I need to generate the sources for both java8 and java11 versions.
I have tried configuring the targetVersion attribute in the plugin but it still seems to be generating the source for java 11. Basically it is picking up the java version of the installed JRE and not the targetVersion property.
So as next step when I try to compile the sources as java8 it fails.
The reason is because then import statements are generated as
import javax.annotation.processing.Generated; and not
import javax.annotation.Generated;
Any idea if this is an issue or how this can be worked around.

I think we can fix this, but I'm interested to know if you are able to try adding this dependency to your project:
https://search.maven.org/artifact/org.jsonschema2pojo/jsonschema2pojo-jdk-annotation/0.0.1/jar
In theory it includes only the annotation that you need, and is intended to be used when javax.annotation.processing.Generated is not available.

Closed by #1482.


[WIP] [FLOC-1301] Release improvements from 0.3.2+doc1

https://clusterhq.atlassian.net/browse/FLOC-1301
This introduces use of https://github.com/radix/effect which is MIT licensed.

At this point, I mainly want a review of the effect-using code.

"Deal (using process) with the problem of landing things on the relase branch, while the release is in progress." seems missing?

I'm fine with us of effect as is, although as mentioned I don't think it adds much either.

"Deal (using process) with the problem of landing things on the relase branch, while the release is in progress." seems missing?

This is the two announcements to zulip.

Thanks @tomprince
I haven't fully understood the effect yet, so I can't really comment on that, but I have a left a few cosmetic comments above.

Various lint errors
Broken pip install commands in Dockerfiles
Can't find a stub script for ./admin/publish-docs

Please address those and submit for another review when the builds are green.
Can you also include a couple of examples showing how I can safely test the new publish-docs command?

I haven't fully understood the effect yet, so I can't really comment on that,

It is kind of like a cross between deferreds and the declarative actions that we have scattered throughout the code.

Can you also include a couple of examples showing how I can safely test the new publish-docs command?

The test I did was
admin/publish-docs --flocker-version 0.3.3dev5 --doc-version 0.3.3dev5
``

but as long as you don't pass ``--production``, anything you want to run should be safe.

There are review steps in the release process to check that the documentation is published in the right place. This seems at first glance to be what the tests in this branch cover, so remove those review steps if I'm right.

@jongiddy and I have started cutting a release from this. See the description on https://github.com/ClusterHQ/flocker/pull/1149 for what we had to do to get the "Preparing For a Release" step to work. If this passes review (see https://github.com/ClusterHQ/flocker/pull/1149#issuecomment-73909865) then doing the next stage of the release process should be useful for the review of this PR.
The problems did kind of prove @itamarst concerns about not testing the side-effects to be valid. I guess practice releases will show most issues.

As a follow-up to my previous comment: Please check that the expected redirects mentioned in the release review steps are correct. If so, there is an issue with this code which needs to be fixed. If not, fix those review steps (or remove them, I think that the tests in this branch should cover them).

The problems did kind of prove @itamarst concerns about not testing the side-effects to be valid. I guess practice releases will show most issues.

I agree, it is just that any real testing needs to actually run against S3 and CloudFront.

There are review steps in the release process to check that the documentation is published in the right place. This seems at first glance to be what the tests in this branch cover, so remove those review steps if I'm right.

There are only unit tests, not integration tests. I think they should stick around for at least a few releases. Perhaps, instead of being removed, they should be (mostly?) automated. I think it probably makes sense for a human to actually look at the published documentation as part of the release.

Perhaps, instead of being removed, they should be (mostly?) automated.

Please make any follow up issues you think are suitable and link to them from the release process. Other things have comments similar to "This should be automated. See FLOC-XXX".

In releasing 0.3.3dev6 we modified some release admin code in order to make the release process work.
This meant that the version ended with -dirty and publishing to the staging docs didn't work (this was the "Preparing for a release" section. I realise that this is unusual, but it was confusing that this script raised no exceptions. Please either raise an exception in the case that the version bucket does not exist, or when the version number ends with -dirty, or create a follow up issue to do so.

I may have found an issue. I say may because I have modified the code and there is now an issue :disappointed:. A release was cut with an earlier version of this code. Following the instructions, the docs should be at https://docs.clusterhq.com/en/0.3.3dev6/ but this gives a 404.
The changes made were to:

Pass a config parameter where necessary (now done in this code)
Change some code to get rid of "-dirty" because the version is dirty after I modified the code as above

diff --git a/admin/aws.py b/admin/aws.py
index 2158b72..bc26851 100644
--- a/admin/aws.py
+++ b/admin/aws.py
@@ -40,7 +40,7 @@ def perform_update_s3_routing_rule(dispatcher, intent):
     else:
         old_prefix = rule.redirect.replace_key_prefix
         rule.redirect.replace_key_prefix = intent.target_prefix
-        bucket.set_website_configuration()
+        bucket.set_website_configuration(config)
         return old_prefix

diff --git a/admin/release.py b/admin/release.py
index 24c3821..c790c85 100644
--- a/admin/release.py
+++ b/admin/release.py
@@ -167,6 +167,8 @@ def publish_docs(flocker_version, doc_version, environment):
             raise NotTagged
     configuration = DOCUMENTATION_CONFIGURATIONS[environment]

+    flocker_version = flocker_version.replace('-dirty', '')
+    doc_version = doc_version.replace('-dirty', '')
     dev_prefix = '%s/' % (flocker_version,)
     version_prefix = 'en/%s/' % (doc_version,)

@@ -286,11 +288,13 @@ def publish_docs_main(args, base_path, top_level):
         raise SystemExit(1)

     try:
+        flocker_version = options['flocker-version'].replace('-dirty', '')
+        doc_version = options['doc-version'].replace('-dirty', '')
         sync_perform(
             dispatcher=ComposedDispatcher([boto_dispatcher, base_dispatcher]),
             effect=publish_docs(
-                flocker_version=options['flocker-version'],
-                doc_version=options['doc-version'],
+                flocker_version=flocker_version,
+                doc_version=doc_version,
                 environment=options.environment,
                 ))
     except NotARelease:

Thanks Tom. There are a few outstanding issues mentioned, but nothing which I think requires another round of review.
The test for this has really been releasing 0.3.3dev6 and the issues in that have been added as comments and some addressed. One thing which held us up was a Buildbot issue, so it would be helpful to comment where appropriate which parts of this code are strongly tied to Buildbot.
There may be differences between how this code runs for that weekly release and a marketing release - but that doesn't seem to be the case for the untested side-effect code.
If there is any wait necessary between review stages (e.g. waiting for Cloudfront), mention that so that a reviewer does not reject a release, and perhaps more importantly so that anyone automating the release (review) process does not get stuck on that.
If any significant changes are made, please re-submit for review. Else merge when the changes are made and Buildbot is happy.

Note that the issue described in https://github.com/ClusterHQ/flocker/pull/1120#issuecomment-74685810 was fixed with a Buildbot change.

Since this was accepted there have been many changes to the release process document. I therefore think that it is sensible for me to have another look over this once the merge conflicts have been resolved and the other comments have been addressed.

There is now no virtualenv in the Release stage (as at that point the engineer is in a VM) and virtualenvwrapper is used on the workstation but is not a dependency. I will fix these and merge.

@tomprince I assume that because nothing was changed for

If there is any wait necessary between review stages (e.g. waiting for Cloudfront), mention that so that a reviewer does not reject a release, and perhaps more importantly so that anyone automating the release (review) process does not get stuck on that.

that you do not think that this is an issue. If it becomes an issue, or if you just missed that comment, a new issue can be filed in JIRA.


revert weight from number to text

Changes / Comments
reverting an earlier change that disallowed "text" in the Weight section. turns out decimal points are "text"
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

Character Sheet Info Roll20 Internal Use only.


[Fix]: Fix vertical centering of unread message counts.

This fixes the vertical centering issue related to unread message
counts.
Fixes: #3862.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

Looks great, merged!  Thanks for the quick fix.


Fix(frontend): use modal to confirm delete user instead of pop-confirm

Title: Fix(frontend): use modal to confirm delete user instead of pop-confirm
Files changed:

frontend\src\widgets\UserList.vue

Motivation
The original pop-confirm component wraps the menu-item, causing its display position to be offset from the user record and move with the page scrolling, making it easy to delete user wrongly. The easiest way is to use modal for confirmation instead.
原有的 pop-confirm 组件包裹 menu-item，导致其显示位置会限制在选中用户的该行下方、且会随页面滑动而移动，容易删错用户，最简单的方法是改用 modal 进行确认

Update
Amend commit: show the username of the user to be deleted on confirm modal.
在确认用的 modal 中加入待删除用户的用户名，进一步减少删除时可能的错误。i18n 翻译由 GPT-4o 提供

感谢你的贡献


pipenv uninstall leaves entry in Pipfile [packages]

Issue description
pipenv doesn't delete google.cloud package in pipfile or pipfile.lock after uninstalling it. I had to manually delete google.cloud entry from pipfile file in my project and then run pipfile clean to update my pipfile.lock file.
Expected result
I expected to have pipfile and pipfile.lock files modified after uninstalling google.cloud package using pipenv uninstall command.
Actual result
pipenv uninstall google.cloud only uninstalled the package but didn't modify the pipfile and pipfile.lock files from my project.
Steps to replicate
Provide the steps to replicate (which usually at least includes the commands and the Pipfile).
pipenv install google.cloud
pipenv uninstall google.cloud

Please run $ pipenv --support, and paste the results here. Don't put backticks (`) around it! The output already contains Markdown formatting.
pipenv --support|xclip  Error: no such option: --support

I suspect you are using an ancient version of pipenv.

I have downloaded pipenv from ubuntu repositories using sudo apt install pipenv following the steps from this repository.

Oh, the pipenv in apt repository is far behind the latest release, please use another installation method.

Yeah you are right, I uninstalled it using sudo apt purge pipenv and then I installed it again using pip install --user pipenv . After that, I installed google.cloud package again and then uninstalled it, and pipenv updated my pipfile and pipfile.lock correctly.
Thank you so much for your help, I just hope They change the readme file installation recommendations since Ubuntu repository version of pipenv is outdated and pip works just fine without problem cross-platform. I proceed to close the issue.


A12S-1205: Create java agent to report times spend in particular methods

@konikvranik want me to go ahead and merge this or should somebody else review it?

@juwi Hi Julian, we should keep this fork separately, because it breaks perfload compatibility and reports only to influxDB.
Maybe in the future, if we will have time and motivation, we could do it configurable to be able to choose reporting backend. But not this time.
I added coleagues from a12services team to review this, so you don't need to disturb yourself. But I appreciate any feedback.


Some new trasnlations for DRK

Looks ok to me.
Regarding that "P0 Number" string: can you tell where you see that in the UI? It's not in the code, so it would be in a database - maybe we can fix it if we understand where to look.


Model delete

Is your enhancement request related to a problem? Please describe.
Currently it is not possible to delete models from the CLI/API since the Django API does not expose the method, see screenshot.

Describe the solution you'd like
It should be possible to delete models. But we need to discuss permissions and access control for incdividual models. Some models should be read-only, for example seed models for FedML
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@ahellander
It seems like the problem was caused by an authentication/authorization issue and after introducing the token authentication, the problem is resolved. An example code for removing a model could be:
import requests
headers = {"Content-Type": "application/json", "Authorization": "Token 	c7743921e23b3df63f97860e264c8deb8597a082"}
url = "http://<IP_ADDRESS>.nip.io/api/models/2/"
r = requests.delete(url, headers=headers)
r.text

which will return 'ok' and remove the object from the db.


Example on how to create two drawers? Left & Right?

Version

react-native-router-flux v3.35.0
react-native v0.31.0

Problem
I'm looking to implement a left drawer as navigation and a right drawer as a supplemental info drawer but can't seem to find examples or documentation on how to implement two drawers.
Any info on this or pointing me in the right direction to figure out how to do this would be appreciated!

Hello!

Hello!
I have done this. This can be mistaken, but it works for me :)
react-native-drawer - 2.2.2,
react-native-router-flux - 3.36.0,
react-native - 0.35.0
index.js
<Router>
  <Scene key='root'>
    <Scene key='leftDrawer' component={LeftDrawer} open={false}>
      <Scene key='rightDrawer' component={RightDrawer} open={false}>
        <Scene key='main_wrapper'>
          <Scene key='main' component={MainPage}
            title={'test string'}
            rightButtonImage={require('./filter.png')}
            onRight={() => Actions.refresh({key: 'rightDrawer', open: value => !value })}
            leftButtonImage={require('./hamb.png')}
            onLeft={() => Actions.refresh({key: 'leftDrawer', open: value => !value })}
          />
        </Scene>
      </Scene>
    </Scene>
  </Scene>
</Router>

RightDrawer.js
export default class RightDrawer extends Component {
  render() {
    const state = this.props.navigationState;
    const children = state.children;
    return (
      <Drawer
        ref="navigation"
        open={state.open}
        onOpen={()=>Actions.refresh({key:state.key, open: true})}
        onClose={()=>Actions.refresh({key:state.key, open: false})}
        type="displace"
        content={<RightContent/>}
        tapToClose={true}
        openDrawerOffset={0.2}
        panCloseMask={0.2}
        side={'right'}
        tweenHandler={(ratio) => ({
                 main: { opacity:Math.max(0.54,1-ratio) }
            })}
      >
          <DefaultRenderer navigationState={children[0]} onNavigate={this.props.onNavigate} />
      </Drawer>
    );
  }
}

LeftDrawer.js
export default class LeftDrawer extends Component {
  render() {
    const state = this.props.navigationState;
    const children = state.children;
    return (
      <Drawer
        ref="navigation"
        open={state.open}
        onOpen={()=>Actions.refresh({key:state.key, open: true})}
        onClose={()=>Actions.refresh({key:state.key, open: false})}
        type='displace'
        content={<LeftContent/>}
        tapToClose={true}
        openDrawerOffset={0.2}
        panCloseMask={0.2}
        tweenHandler={(ratio) => ({ main: { opacity:Math.max(0.54,1-ratio) }})}
      >
        <DefaultRenderer navigationState={children[0]} onNavigate={this.props.onNavigate} />
      </Drawer>
    );
  }
}

and ManePage.js
export default class MainPage extends Component {
  render() {
    return (
      <View style={{marginTop: 60}}>
        <MainList/>
      </View>
    );
  }
}

Thanks @lyoss this really helped. I hadn't thought to embed the right inside the left and everything else inside the right. I was trying to put the right drawer in as just a regular screen route.
I really appreciate the time you took to put the answer together. I've got it working in my app.


Fix cmake issue with KTX and iOS

Showed up in cesium-unreal as this cmake error...
CMake Error at cesium-native/CMakeLists.txt:210 (install): install TARGETS given no FRAMEWORK DESTINATION for static library FRAMEWORK target "ktx".
(link to CI run)
Setting FRAMEWORK DESTINATION explicitly seems to fix it.
Also remove previous line that set PROPERTIES PUBLIC_HEADER to fix the install. This doesn't seem to be needed anymore as the cmake generation works without it

Thanks so much @csciguy8. I can confirm that removing the PROPERTIES PUBLIC_HEADER check still results in valid compilation in our runtimes, but I'll tag @kring for a gut check since he was the one who added support for it. (I imagine he put that in as necessary for his own environment.)

Thanks @csciguy8 :pray: Happy to merge once CI completes.


Set Timeout element in http.Client{}

An http.Client{} will default to never timing out; in the event of a server hang the client will never finish without a Timeout set.
In order to provide the user with more granularity I've adjusted the Request function parameters to accept an *http.Client object. This allows users to set things like net.Dialer.Timeout, http.Transport.TLSHandshakeTimeout, http.Transport.IdleConnTimeout, etc... prior to passing an *http.Client to submit their request. In the event that nil is passed the function will define client with a Timeout of 15 seconds.
It is worth noting that this change will break apps using the previous definition of Request.

Thanks for the PR. I made a commit, that is still backwards compatible.
https://github.com/preichenberger/go-coinbase-exchange/commit/6bcd3588f4e1052bf20bb85bdf3047f4aed54e80


Rebuilding with 'apktool --use-aapt2' Failed

W: /tmp/tmp8a7es3z6/com.quadronica.guida-base/AndroidManifest.xml:31: error: attribute android:enableOnBackInvokedCallback not found.
W: error: failed processing manifest.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_41694101682599410788189231143283950118.tmp, link, -o, /tmp/APKTOOL3337719741157442205.tmp, --package-id, 127, --min-sdk-version, 21, --target-sdk-version, 34, --version-code, 37, --version-name, 5.0.3, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, -e, /tmp/APKTOOL6387700800148185793.tmp, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, --manifest, /tmp/tmp8a7es3z6/com.quadronica.guida-base/AndroidManifest.xml, /tmp/tmp8a7es3z6/com.quadronica.guida-base/build/resources.zip]
Error: Failed to run 'apktool b /tmp/tmp8a7es3z6/com.quadronica.guida-base'.
Run with --debug-output for more information.
I have solved upgrading apktool from 2.6.1 to 2.8.1. But if i upgrade it, i found a warning on your script:
WARNING: currently installed apktool version 2.8.1 is not the same as what this version of this script is developed for (2.6.1), you may suffer from build failures, bugs, and obsolete patches

I've removed the warning. If anything breaks, people can just open an issue anyway. This script will need to be updated alongside apktool anyway.


Colaboratory restricted all the hacks

Recent changes in Colaboratory T&C prohibits the following actions and could result in ban from colab^1.

file hosting, media serving, or other web service offerings not related to interactive compute with Colab
downloading torrents or engaging in peer-to-peer file-sharing
using a remote desktop or SSH
connecting to remote proxies
mining cryptocurrency
running denial-of-service attacks
password cracking
using multiple accounts to work around access or resource usage restrictions

The changes are made because resources in Colab are prioritized for interactive use cases.
This means all the notebooks present in this repository are prohibited and use with your own risk.

How can it detect if I use remote desktop or SSH on google colab?

How can it detect if I use remote desktop or SSH on google colab?

They will check what packages were installed, which user get created, and what commands get executed during the colab session.

https://research.google.com/colaboratory/faq.html#limitations-and-restrictions
RDP & SSH is disallowed now

How can it detect if I use remote desktop or SSH on google colab?

They will check what packages were installed, which user get created, and what commands get executed during the colab session.

So is there is workaround to mask the proccess?

So is there is workaround to mask the proccess?

There can be a solution if they blocked the code somehow but they didn't. So that means they will catch you if you did anything except using the colaboratory as mentioned.
There isn't any solution as they might be monitoring every command executed during session. You can use these notebooks but they will catch you.
I started this repository when there was no regulations around these, only crypto mining was blocked. Now, Google disallowed or restricted these actions.
It's an end to this repository, and I won't update it anymore. Looking forward to build more useful repositories for you.

Well the workaround is to use it until you get banned from Google Colab.

i just can use for 15 minutes, after that always disconnected. is there any way ?

i just can use for 15 minutes, after that always disconnected. is there any way ?
and there is no usual popup to check chaptca

did you use gpu instance?

I used RDP notebook just for 2 minutes without knowing it is prohibited. Will I have any legal trouble about this?

Will I have any legal trouble about this?

Don't worry they wont sue you for testing it. The most they can do is ban you if you uses it regularly.

Thank you for your quick reply :)

I am popped up this when I try to using Colab RDP.

https://research.google.com/colaboratory/faq.html#limitations-and-restrictions

i don't understand we just want to game google LMAO


WIP: refactor: remove version and use poetry version instead

version is ignored by poetry packaging and releasing tools.

Codecov Report

Merging #242 (bcbc91b) into main (52fa6a6) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #242      +/-   ##
==========================================
- Coverage   57.57%   57.56%   -0.02%
==========================================
  Files          39       39
  Lines        2527     2526       -1
==========================================
- Hits         1455     1454       -1
  Misses       1072     1072

Impacted Files
Coverage Δ

splunk_add_on_ucc_framework/__init__.py
73.14% <ø> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

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

This is not needed anymore, I will be proposing a change to use https://github.com/google/semantic-release-replace-plugin to update those values automatically after each release.


HHH-14926 fix ascii error in 'test-case-guide.adoc'

https://hibernate.atlassian.net/browse/HHH-14926
The first char in (C)complete was rendered as copyright symbol (©) as below. Need to escape as https://docs.asciidoctor.org/asciidoc/latest/subs/prevent/#escape-with-backslashes.

@

Thanks!


Request support for [Flooding Detector, Flood sensor SQ400A]

DPS:
{
"result": {
"category": "sj",
"functions": [],
"status": [
{
"code": "watersensor_state",
"dp_id": 1,
"type": "Enum",
"values": "{"range":["alarm","normal"]}"
},
{
"code": "battery_percentage",
"dp_id": 4,
"type": "Integer",
"values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>292,
"tid": "ef84a130af8111ed954a4e3668f00a74"
}
{
"result": {
"active_time":<PHONE_NUMBER>,
"category": "sj",
"category_name": "Flooding Detector",
"create_time":<PHONE_NUMBER>,
"gateway_id": "",
"icon": "smart/icon/ay1537847617560vAgbw/4544fbc115e72a5f3b9e9f290a68d6e0.jpg",
"id": "bf4d7289100e56b1fdq04c",
"ip": "<IP_ADDRESS>",
"lat": "49.3146",
"local_key": "MY_KEY",
"lon": "14.1428",
"model": "SQ400A",
"name": "Flood sensor",
"online": true,
"owner_id": "80342840",
"product_id": "ewqu5gfbaod635ge",
"product_name": "Flood sensor",
"sub": false,
"time_zone": "+01:00",
"update_time":<PHONE_NUMBER>,
"uuid": "fcdd58b51209481e"
},
"success": true,
"t":<PHONE_NUMBER>732,
"tid": "97441ddaaf8211ed8a3392fe1232b0cc"
}

As this is a battery powered device, there is very low chance that this can work with this integration.
Please try to add it, and add the Home Assistant log messages from that attempt (only those from tuya-local) as a comment.

It's bateerypowered device, you can close the issue.


fix: do model fetch on toggle for components and relationships

Notes for Reviewers
This PR fixes settings/registry models tab

and only fetches when the version dropdown tree is toggled

Signed commits

[x] Yes, I signed my commits.

Can you add video of change you made? on clicking on version we do show the loader right? incase API have some latency otherwise it will look like buggy

Registry supports deep linking are we making sure after this change it will be working?

Suggested code changes applied.

In video on first item we are not showing the name, I think it is because that model doesn't have displayName can you add a fallback if displayName is not present we by default show the "name" of model

Testing

https://github.com/user-attachments/assets/b76e2995-7923-4ab4-a3ed-ddc887eb8d74
@dottharun after scrolling few time in models tab and then switching to other tab and switch back to models, models gets load from page where I left before switching and causing issue of losing prev models info and there is no way I can fetch prev data

After switching just make sure we are clearing page state

@Yashsharma1911 Made the changes here.

Thankyou testing

Is this the only bug left, @Yashsharma1911? You didn't find any others?

test

test


Proxy Crash When Connecting to Minetest Server

Description:
I am experiencing a crash with the proxy when trying to connect to my Minetest server. I am using a Docker image for both the proxy and the server. Both the server and client are running version 5.9.0.
Logs:
2024/10/07 23:37:11 load config
2024/10/07 23:37:11 [proxy] version: v0.0.0-20240823094619-53d8cfd7d042
2024/10/07 23:37:11 [proxy] load plugins
2024/10/07 23:37:11 [proxy] listen [::]:40000
2024/10/07 23:37:11 [<IP_ADDRESS>:34045] -> connect
2024/10/07 23:37:11 [proxy] <IP_ADDRESS>:34045 is closed
2024/10/07 23:37:11 [<IP_ADDRESS>:34045] <-> disconnect
2024/10/07 23:37:15 [<IP_ADDRESS>:51152] -> connect
2024/10/07 23:37:15 [<IP_ADDRESS>:51152 test123154] -> set password
panic: interface conversion: *color.NRGBA is not mt.deserializer: missing method deserialize [recovered]
        panic: interface conversion: *color.NRGBA is not mt.deserializer: missing method deserialize [recovered]
        panic: interface conversion: *color.NRGBA is not mt.deserializer: missing method deserialize [recovered]
        panic: interface conversion: *color.NRGBA is not mt.deserializer: missing method deserialize [recovered]
        panic: interface conversion: *color.NRGBA is not mt.deserializer: missing method deserialize

goroutine 76 [running]:
github.com/HimbeerserverDE/mt.pcall.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:45 +0x76
panic({0xbbfa80?, 0xc00007f950?})
        /usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/HimbeerserverDE/mt.pcall.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:45 +0x76
panic({0xbbfa80?, 0xc00007f950?})
        /usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/HimbeerserverDE/mt.pcall.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:45 +0x76
panic({0xbbfa80?, 0xc00007f950?})
        /usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/HimbeerserverDE/mt.pcall.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:45 +0x76
panic({0xbbfa80?, 0xc00007f950?})
        /usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/HimbeerserverDE/mt.(*WearBarParams).deserialize.deserialize.func2()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:31 +0x39
github.com/HimbeerserverDE/mt.pcall(0xd17240?)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:48 +0x57
github.com/HimbeerserverDE/mt.deserialize(...)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:31
github.com/HimbeerserverDE/mt.(*WearBarParams).deserialize(0xc000411018, {0xd17240, 0xc000160b10})
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/serialize.go:43325 +0x3be
github.com/HimbeerserverDE/mt.(*ItemDef).deserialize.func14()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/serialize.go:33098 +0x2a
github.com/HimbeerserverDE/mt.pcall(0xd17240?)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:48 +0x57
github.com/HimbeerserverDE/mt.(*ItemDef).deserialize(0xc000410e60, {0x70269d0c5820?, 0xc0000a20a0})
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/serialize.go:33047 +0x1b87
github.com/HimbeerserverDE/mt.(*ToCltItemDefs).deserialize.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/serialize.go:4089 +0x6f
github.com/HimbeerserverDE/mt.pcall(0x70269d0c5820?)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:48 +0x57
github.com/HimbeerserverDE/mt.(*ToCltItemDefs).deserialize(0xc00007f050, {0xd171c0?, 0xc000160048})
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/serialize.go:4085 +0x2fc
github.com/HimbeerserverDE/mt.Peer.Recv.deserialize.func1()
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:31 +0x51
github.com/HimbeerserverDE/mt.pcall(0xbe88e0?)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:48 +0x57
github.com/HimbeerserverDE/mt.deserialize(...)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/zerialize.go:31
github.com/HimbeerserverDE/mt.Peer.Recv({0xc0001472e0?})
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt@v0.0.0-20240823094226-df181fce5c15/proto.go:77 +0x2b1
github.com/HimbeerserverDE/mt-multiserver-proxy.handleContent(0xc000196000)
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt-multiserver-proxy@v0.0.0-20240823094619-53d8cfd7d042/content.go:144 +0xfc
created by github.com/HimbeerserverDE/mt-multiserver-proxy.connectContent in goroutine 72
        /go/pkg/mod/github.com/!himbeerserver!d!e/mt-multiserver-proxy@v0.0.0-20240823094619-53d8cfd7d042/connect.go:62 +0x25a

This looks like a bug in my fork of the protocol/serialization library. Which subgame and mods are you using on the server? Knowing them might help with reproducing the issue.
I'll try to debug this before the end of this week but I can't make any guarantees about when I have time.

I'm using the base game 'devtest' without any mods on the server.

Thanks for the information. I have managed to trigger the crash with devtest (without docker). "Minetest Game" and "VoxeLibre" work fine. I'm not sure how far I'm going to get with debugging today, it's most likely going to be a few more days before I can fix this.

The crash is caused by a faulty (de)serialization override for item definition wear bar parameters. I have now fixed this in the library but haven't updated the proxy to use it yet. There is another issue with node definitions that now causes all nodes to be unknown nodes on the client. While this is better than a crash it is still unusable and I am going to fix it before releasing a fixed version.

Node definitions are now fixed too, but I discovered yet another bug: devtest and MTG only showed a grey screen after switching servers because the fog distance was reset to the wrong default value (I missed this because Minetest only initializes some of the struct fields in the declaration and uses a method for the other fields). This has been fixed as well and everything seems to be working (though I don't have a docker environment to test with and can't easily make large downloads because I currently don't have internet service in my flat).
Please rebuild/pull the latest image and close the issue if it's fixed for you too.
Thanks for reporting this!


Feature/display20

I added the possibility to provide a command prefix as Option. I'm using it to launch apps on DISPLAY :20 instead of :0 with a second dmenu bindsym.
To be honest, i never wrote Perl before, so maybe i missed something or did something in a uncool manner, sorry for that if so. I tested it to launch gimp and htop with and without prefix, worked as expected.

This repo is just an ancient fork of mine, you're probably looking for https://github.com/i3/i3

This repo is just an ancient fork of mine, you're probably looking for https://github.com/i3/i3

oh, yes, thanks... i will try to resolve that.


Units wrong size in real world

I have this A4 PDF where a wanna have a line there are 132mm but when it gets printet out I get a 114mm line instead.
Why do this happen?

Depends on your printer settings. We can not give you support for your office problem, sorry.

If you're drawing outside your print boundaries, some PDF viewers will reduce the size of the PDF. Try move your lines away from the edges, and ensure there's no "Fit to page" options ticked.

Thats weird its 6mm from the edge and the printer can go down to 2mm. I write back when i figured out something

Okay find out why this was happening.

(By the way, CuisinCocaine's linked pdf is not the A4 size of 297 × 420 mm.)

When you print a document it (longest side) will be reduced to fit within a 3 mm 'virtual' border. For A4 this results in a 98% print.
When you print a document with 'borderless' paper settings it will be first scaled up until it has a 3 mm bleed (again, longest side). For A4 this is 102%.

For A3 paper these percentages are slightly smaller because the 3+3 mm = 6 mm : 420 mm (longest side of the A3 paper) is less than with the 6 : 297 mm of the A4 paper. It's about 1,428 percent instead of the A4's 2,020 percent.
See more here Stackexchange


Roll engine 89142b55db0d..9c1bba3951e3 (6 commits)

https://github.com/flutter/engine/compare/89142b55db0d...9c1bba3951e3
git log 89142b55db0de1b9c823b855de9489b69ec28db8..9c1bba3951e3c87241a20424cf673ef4c77531c5 --no-merges --oneline
9c1bba395 Roll fuchsia/clang/mac-amd64 from UYD9C8IEkWVi83ef4zwO1Ump2B8cP9Nd5WECjU8l3AUC to CqfCCMwpILIYr4rqCeh3zF8x3qErehEusnQwl22i7KIC (flutter/engine#10136)
930f58544 Roll fuchsia/clang/linux-amd64 from zHiuOGMDwdWPUkV1B2fHKyRy2fGWGcUgfa2z6dyGAZQC to W8LY5ncb-fknOtxPITszyAZ1g80_OSq2W_QWC3QunXoC (flutter/engine#10137)
d50f4152c Roll fuchsia/sdk/core/linux-amd64 from NrExSKBKIhY3SnE4sD0-vHjEMCBYYffzarRM2rWONUUC to ylNwUxj7tBGga6sghqrKH_gqu3RzfTLxB4rxZhAk2IAC (flutter/engine#10135)
29d92c917 Roll src/third_party/skia b3956dc6ba6a..fff996c117c1 (10 commits) (flutter/engine#10133)
36b5b1497 Roll fuchsia/sdk/core/mac-amd64 from 9EcA--gzHNo80R_fAuB_Tq7ECubTP0Uz3UrycPIvRpsC to SHb_OsdvSz75N-G-jbG-tQOM1OyipLcQG0rsVrARsX0C (flutter/engine#10134)
876eff6c6 Revert "[fuchsia] Use the patched sdk to generate the flutter jit runner far (#10122)" (flutter/engine#10140)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.

Closing since the tree won't turn green.

Commit queue failed; closing this roll.


moved import from matplotlib down inside _write for #27

following 4be52d1095f5ea1089e5e8da2563b5c242bbd2e0 ‘make matplotlib dependency optional’, import voropy raises
ModuleNotFoundError: No module named 'matplotlib'

This affects pygmsh too which imports voropy.
I think this is the right fix, as already in mesh_{tri,tetra}.py in the same directory.

Indeed, this is an oversight by my. Thanks for the fix, Geordie!


Firefox Ace Editor | Error: Permission denied to access property "text"

For textareas using Ace on Firefox, text is only sent one-way from the browser to the external text editor. Text sent in the reverse direction is not written to the Ace editor. The browser console lists the following error:

Error: Permission denied to access property "text"

which is listed for every text character the user had typed in the external text editor. In the following examples, the phrase 'test' was typed on the external text editor for a HasteBin textarea versus an Ace editor textarea.
HasteBin:

Ace:

The issue exists in the Firefox release (not using the WE version), Firefox Developer Edition (using the WE version), and Firefox Nightly (using the WE version). Issue does not appear on Google Chrome. Issue was also tested using Atom and Emacs as the external text editor. The issue persists on Firefox regardless of the editor used in my tests.
Notice that the warning does not appear in the first example using the HasteBin textarea.

The error corresponds to the <script> tags injected by the extension with id:  #ghost-text-injected-script-ace_editor_demo and #ghost-text-injected-script-embedded_ace_code (two different, injected <script> tags). Specifically, it refers to line 17:

                ghostTextAceDiv.addEventListener("GhostTextServerInput", function (e) {
                    console.log('test');
                    ghostTextAceEditorSession.setValue(e.detail.text);
                });

It seems that the detail property became inaccessible when it was dispatched in the input-area.js (where the CustomEvent was defined) to this injected JS code.

Thank you for your report! Could you look into fixing the issue?

I changed the CustomEventInit dictionary--the 'detail'--(found here) from:
            this.currentText = text;             var details = {detail: {text: this.currentText}};             var gtServerInputEvent = <Event>StandardsCustomEvent.get('GhostTextServerInput', details); this.jsCodeEditorDiv.dispatchEvent(gtServerInputEvent);
to:
'
this.currentText = text;
var details = {detail: this.currentText};
var gtServerInputEvent = StandardsCustomEvent.get('GhostTextServerInput', details);
this.jsCodeEditorDiv.dispatchEvent(gtServerInputEvent);
'
And, I changed the listener in the injected script (found here) from:
                ghostTextAceDiv.addEventListener("GhostTextServerInput", function (e: any) {                     ghostTextAceEditorSession.setValue(e.detail.text); });
to:
                ghostTextAceDiv.addEventListener("GhostTextServerInput", function (e: any) {                     ghostTextAceEditorSession.setValue(e.detail); });
This fixed the issue. GhostText is now working for Ace textareas on Firefox. However, this isn't really the fix as I am not sure what would cause the permission to access text to be denied in the first place. A CustomEvent dispatched to the injected script with the  CustomEventInit dictionary should be able to share its detail object. My guess is that it could be something related to the CSP for the page/extension. I am still investigating before I submit any sort of pull request.

@coltoneakins did you manage to fix the issue in the end? Would you be willing to supply a pull-request?

any updates on this? I now see this error with Firefox latest/Jupyter lab.

Seems to be the same issue on https://www.shadertoy.com/new

Can you test the new version? It hasn't been published to the stores yet: https://github.com/GhostText/GhostText/issues/172
This should be fixed now

This issue is fixed in the newer rewrite of GhostText.
See: https://github.com/GhostText/GhostText/issues/172
And the report where I test this issue with the new rewrite: https://github.com/GhostText/GhostText/issues/172#issuecomment-749952855


Mi Motion Sensor always "detected"

Hi !
in Home App, my motion sensor always appear "detected"
i use the 1.1.3 version, with node version 8.9.1 and homebridge 0.4.33.
Any idea ?
thanks

Hi,
I have a similar issue, but I have only mijia magnet sensor (door/window). It always show open in homekit, in the mijia app it works fine.
Does your motion sensor works fine with the mijia app?

Same issue with my door sensor

I've added the solution to the issue #17 - please follow and hopefully the author will add it shortly.


Added Contribution to CC #139 (PiDayCollisions)

Pi Day Collisions With Visualizing Optics (kind of).
demo : https://anuraghazra.github.io/CanvasFun/PiDayCollisions/

Amazing!


Missing one of BOTBUILDER_APP_ID, BOTBUILDER_APP_PASSWORD

Hi,
Node 8.6
Dependencies installed.
Missing one of BOTBUILDER_APP_ID, BOTBUILDER_APP_PASSWORD,     LUIS_MODEL, KB_ID, QNA_KEY, QNA_URL, BING_SEARCH_CONFIG, BING_SEARCH_KEY,     TEXT_ANALYTICS_KEY, TEXT_ANALYTICS_URL, DIALOG_ANALYZER_CLIENTID, DIALOG_ANALYZER_KEY or DIALOG_ANALYZER_URL     in environment variables!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Hi,
Did you set all those settings? (see readme: https://github.com/Microsoft/BotFramework-Samples/tree/master/StackOverflow-Bot)

Thanks,
looks like it started successfully by run code --install-extension stocode-0.1.1.vsix


[release-1.2] Fix the missing intermediate CA certs on Citadel TLS service.

This is an automated cherry-pick of #16647

@fpesce
I took a look at the codecov, it's complaining the coverage goes down for the file "fakeca.go". This file is for testing only (as the name suggests). Do I have to fix this?


Sync go.mod into BUILD files

This PR makes puku read the go.mod file configured via the please go plugin (config.go.modfile) and write any updates to the third party BUILD file.

Would you mind adding a description 🙏🏽 Which way is the sync going? Is the go.mod the source of truth?

Sure! Done :)

Ideally,  I'd split the moving of the puku command (with all the other BUILD file changes) into another PR if possible.

Not sure how we want to handle this, but removal of a dep from go.mod isn't reflected in the BUILD file.
I did a go get -u ./... then ran sync on https://github.com/Garbett1/please-servers/commit/e899d30da35d45f9443b02d16a10c2b79f42b92f

Not sure how we want to handle this, but removal of a dep from go.mod isn't reflected in the BUILD file.
I did a go get -u ./... then ran sync on Garbett1/please-servers@e899d30

This is intentional. I want to have a puku tidy command one day but it's not trivial.


Conditional Filename not working?

What steps will reproduce the problem?
Setting a Conditional Filename, possibly incorrectly.
What is the expected behavior? What do you get instead?
If "tag" then %artist%/%tag%%character%%md5:maxlength=5%.%ext%
%artist%/%character%%md5:maxlength=5%.%ext% (even if tag IS THERE)
How often does this problem occur? On which sources?
Gelbooru, and 100% of the time.
What version of the program are you using? On what operating system?
Latest version on Windows 10
Please provide any additional information below
I'm pretty sure I followed directions in the filename section of the wiki
Created a conditional filename looking for a tag and left folder to default and filename to as I desired but it ignores the tag even if the tag does in fact exist.
Perhaps a step by step on how to set it as desired : If "tag" then %artist%/%tag%%character%%md5:maxlength=5%.%ext%
I'll test and see if it works, or report that it doesn't work still?

What is %tag% supposed to be?
Since %tag% doesn't exist, it will be replaced by nothing when saving, resulting in %artist%/%character%%md5:maxlength=5%.%ext% in any case.
Maybe what you want to do is %artist%/tag %character%%md5:maxlength=5%.%ext%?

Oh I was just giving %tag% as any general tag that I wanted to distinguish, "flat_chest", "big_oppai", "feet", "austin_powers" whatever I think of.

OH! Last question, is there a way to do AND/OR the tags? Say there's BOTH tags present, or just ONE tag present, I would like it to go to the same Filename.
Say "loli" and "flat_chest" as an example, I'd want if it had one or both go to %artist%\loli%md5%.%ext%
How would I write that conditional?


Add support for using PNG (UWP) assets which are auto converted to an ico at runtime.

Done in https://github.com/TheXamlGuy/NotificationFlyout/commit/b920a4622af6635cecb4fa33b92c39f102eab937


Session Timeout Hook

I am working on a Sinatra App in which I am using Warden for managing authentication. Please note that I am not using Devise at all. I am in need of a Session Timeout Hook which gets called when session expires as I need to clear-up certain things and do some custom operations.
I also would like to mention that I am using Rack::Session::Dalli as well.
Any ideas how to achieve it?

Warden does not implement session timeout on its own. So there isn't a hook. So what is expiring the session? Or do you want to implement session timeout?

I want to implement session timeout.
Thoughts?

Devise implements it by storing and checking the last time a request happend in Warden.after_set_user hook. If it happens that the user last request happened more than a specified time, you call throw :warden from the hook.
https://github.com/plataformatec/devise/blob/master/lib/devise/hooks/timeoutable.rb


Alerting in NexT

Epic
Letting our users know something needs attention

T-shirt size default is Extra Large
XL

Description
the NeXt application shall have various ways of letting users know that there is something needing attention.

Business Need (the why):
We need to move at the speed of business.  it's not good if approvals languish and people can't get their work done.

Stakeholders

Details
"Alerting" can mean email, changes in the UI, and ....  ?

migrated to new tmobile/sawtooth-next-directory repo


Shared Hazelcast Instances Between Multiple Microservices

Hi @bitsofinfo ,
I've a use case where N microservices start their own Hazelcast instances and form a cluster. I have some shared data between 2 different microservices. However since they're different microservices, I define them seperately in my swarm config and due to service_name being mandatory, they won't be able to find each other.
service_a:
    ...
    DOCKER_HOST: ...
    ...network_name: internal
    ...service_name: service_a
    ...

service_b:
    ...
    ...network_name: internal
    ...service_name: service_b
    ...

I think below would work instead where I don't define the service name but the service labels. (Question: I don't see an example for adding service labels, does this plugin look for keys or values?)
service_a:
    ...
    DOCKER_HOST: ...
    ...network_name: internal
    ...service_labels: hazelcast
    deploy:
        labels:
            hazelcast: true
    ...

service_b:
    ...
    ...network_name: internal
    ...service_labels: hazelcast
    deploy:
        labels:
            hazelcast: true
    ...

I think we can make service names optional as well and check during runtime whether a service name or service label exists. What do you think?

Looking at the code, I can see that this was the intended behaviour. (ex: SwarmAddressPicker @ L24, SwarmDiscoveryUtil @ L111-112 , tag: 1.0-RC3) So I think we can make this change?

Both (service names and service labels args) accept multiple names (comma delimited) I use this functionality today. Neither should be required I thought, but sure please do a PR + README update if you'd like that behavior.

Sent PR #15

1.0-RC7 is out, thx!


Field syntax for optics

Add a field(lambda) on all Optics such that:
case class User(name: String, address: Address)
case class Address(streeetNumber: Int, postcode: String)

Focus[User]()
  .field(_.address)
  .field(_.streetNumber) == Focus[User](_.address.streetNumber)

It is a bit redundant but this method is meant for updating existing optics:
val user: Lens[State, User] = ... // suppose we have it defined

user.field(_.name) == user.andThen(Focus[User](_.name))

need more discussion, closing for now


The Import-Module command looks unnecessarily complex.

You don't need all the double slashes.  :-)
The document has "Import-Module "C:\Program Files\C...", the reason to use double quotes in PowerShell is because you want things inside the quotes evaluated.  Like including a variable.  Since your not doing that single quotes, like ', would be the type to use.  And since you're not  having it evaluated the \ can be changed to a .
Although I would expect Import-Module -Name SkypeOnlineConnector to work.

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

ID: 41978fab-1959-adc5-ee3a-aa16678f31f3
Version Independent ID: 62d32d00-4aae-bd5a-d093-d3a6266d6548
Content: Set the Caller ID for a user
Content Source: Skype/SfbOnline/what-are-calling-plans-in-office-365/set-the-caller-id-for-a-user.md
Service: skype-for-business-online
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

Hi @PSPally , thank you for your feedback.
I am applying an update on this article.

@PSPally  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


Is it possible to have no hashes available at all?

This documentation page says:

Note: In some cases hash values may not be available. Downloading the item can cause the hash values to be populated, provided the hash is supported in the given context. See remarks for details.
Remarks
In OneDrive for Business and SharePoint Server 2016, sha1Hash and crc32Hash are not available.
In OneDrive Personal, quickXorHash is not available.

I'd like to clarify, is such situation possible, when no hash of any type is available for a file?

In most scenarios you'd expect to find at least one form of hash being available, however it's not guaranteed due to when various hashes were introduced. Realistically I think OneDrive Consumer should have hashes for all files, however OneDrive Business introduced quickXorHash later in the life of the product, and so it's possible for "old" files (I.e. those that were uploaded prior to quickXorHash being added) to not have a hash. In those cases, downloading the file will trigger a hash calculation.


Fix ktlint import layout and match it with Android Studio's default order

Issue

close #77

Overview (Required)

1f1c6bf4f406e158db2a1111764289ce3e773e20: Set EditorConfig property ij_kotlin_imports_layout for ktlint
9a5093652a62da0c96e7914be6702cee5c56f1b0: Apply Spotless again with the updated configuration

Details

The default import order of ktlint is alphabetic order when android flag is supplied
https://github.com/pinterest/ktlint/blob/0.45.2/ktlint-ruleset-standard/src/main/kotlin/com/pinterest/ktlint/ruleset/standard/ImportOrderingRule.kt#L40

It's different from Android Studio's default settings 👇

We can configure the import order of ktlint by setting ij_kotlin_imports_layout property of EditorConfig
https://pinterest.github.io/ktlint/rules/configuration-ktlint/#import-layouts
Spotless does not respect the .editorconfig settings but we can provide them by using  editorConfigOverride() on Gradle script
https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md#ktlint
So, we can change the import layout settings of ktlint by passing ij_kotlin_imports_layout EditorConfig property via editorConfigOverride() on Gradle script

Tests

I've checked that no diff is generated any more when applying "Optimize Imports" to all files on Android Studio (except for some files in build-logic)

👀


[DOCS-2897] Add site region specific info

What does this PR do?
Add region specific info and fix broken link in documentation
Motivation
DOCS-2897
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #786 (4083de6) into master (b501c61) will decrease coverage by 0.55%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #786      +/-   ##
============================================
- Coverage     88.87%   88.32%   -0.55%
+ Complexity     1832     1820      -12
============================================
  Files           196      196
  Lines          6413     6413
  Branches        746      746
============================================
- Hits           5699     5664      -35
- Misses          488      503      +15
- Partials        226      246      +20

Impacted Files
Coverage Δ

...m/internal/domain/scope/ExternalResourceTimings.kt
73.53% <0.00%> (-17.65%)
:arrow_down:

...g/internal/domain/event/DdSpanToSpanEventMapper.kt
92.31% <0.00%> (-7.69%)
:arrow_down:

...g/android/rum/internal/domain/scope/RumEventExt.kt
85.22% <0.00%> (-5.22%)
:arrow_down:

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
79.38% <0.00%> (-5.15%)
:arrow_down:

...nal/tracking/AndroidXFragmentLifecycleCallbacks.kt
91.11% <0.00%> (-4.44%)
:arrow_down:

.../android/rum/internal/monitor/DatadogRumMonitor.kt
91.03% <0.00%> (-3.45%)
:arrow_down:

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
74.34% <0.00%> (-2.65%)
:arrow_down:

...id/rum/internal/domain/event/RumEventSerializer.kt
91.67% <0.00%> (-2.08%)
:arrow_down:

...atadog/android/core/configuration/Configuration.kt
97.45% <0.00%> (-1.09%)
:arrow_down:

...droid/rum/internal/domain/scope/RumSessionScope.kt
97.94% <0.00%> (-1.03%)
:arrow_down:

... and 1 more


Simple UI button for starting update

A simple button and a simple confirmation dialog to run the update, calling controls/unattended-update.sh.

To update just call the shell script unattended-update.sh in the controls folder. There's also a molecule test covering this: https://github.com/stereum-dev/ethereum-node/blob/main/controls/roles/update-stereum/molecule/full/converge.yml#L8


Zq/add ascend npu stack

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation and Context

add ascend_npu stack
Description

add ascend_npu stack, the tensor with 0 elements not supported yet, such as shape(3, 0, 2)
Use cases (Optional)

BC-breaking (Optional)

Checklist
Before PR:

[x] I have read and followed the workflow indicated in the Contributors.md to create this PR.
[x] Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
[x] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] CLA has been signed and all committers have signed the CLA in this PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.NeosZhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Create container to inspect Terraform plan and extract variables

I've pushed up my POC which can run over a directory container HCL and output the variables that can be provided and also hopefully identify which of these are required vs optional. One sticking point in the current POC is pulling out the default values as it only supports reading default values which are strings.

Initial work completed in #10


Delegation carousel has a typo on page called Baker pools

Bug Description

Steps to Reproduce
Try to start Delegation with an account that doesn't have active Delegation.
Expected Result
Expected text as described in Figma.
Actual Result
See Description.
Versions

Software Version:  3.0.0 (42)
OS: iOS 15.4.1
Mobile device: Device: iPhone SE

Verified.
Wallet version: 3.0.0 (44)
iOS: 15.5
Device: iPhone SE


New command "ems:environment:list"

Hi,
Is it possible to create this command:
php bin/console ems:environment:list
To get the list of all environment names available.
Because the admin might be down ( something like http://capacity.test.paas.socialsecurity.be/ems/environment) and if the solution is to rebuild environments (php bin/console ems:environment:rebuild), knowing their names helps.
Thanks.

A command will be available from core 1.7.6


Removes outdated reference and bad link

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

@matthewdupre PTAL