New container tools

[ ] muslrust
[ ] supercronic cron for containers
[ ] excalidocker-rs docker-compose into excalidraw
[ ] finch
[ ] pid1
[ ] vagga
[ ] dockerize
[ ] container-web-tty
[ ] scuba
[ ] poco
[ ] dvm
[ ] dockerpushrm
[ ] dcp
[ ] docker-explorer
[ ] dokku
[ ] doku
[ ] elsy
[ ] dapper
[ ] podman-compose
[ ] bootc
[ ] finch open source client for container development
[ ] bubblewrap OCI runtime
[ ] dockcross
[ ] aufs?
[ ] gvisor-tap-vsock
[ ] moby-ryuk
[ ] traceloop
[ ] kindbox
[ ] doas (see #3538)
[ ] cnab-to-oci (see #3534)
[ ] singularity
[ ] buildpacks
[ ] ko?
[ ] soci-snapshotter
[ ] pyrsia
[ ] k0s and k0sctl
[ ] sue As small and swift as su-exec, but as featureful and robust as gosu
[ ] dragonfly2
[ ] nydus-snapshotter
[ ] nydus and image-service
[ ] dnsname
[ ] krane ship changes to a Kubernetes namespace and understand the result (ruby)
[ ] oci-seccomp-bpf-hook
[ ] cado (see #771 and homebrew and libexecs)
[x] proot
[x] runtainer
[x] lxroot
[x] car
[x] kitt
[x] dockerfilegraph
[x] runlike
[x] lstags
[x] supdock
[x] composerize
dockdash stale
compose-cli discontinued

Migrated to https://github.com/uniget-org/tools/issues/57


secondary site supported under highly available primary site

Internal email thread, should clarify in the doc. When a primary site has two site servers, we still support secondary sites

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

ID: 0c416209-7476-14b2-a60b-9f3477dc79be
Version Independent ID: 765534af-f933-c768-0994-fa8d0a5712a0
Content: Site server high availability - Configuration Manager
Content Source: sccm/core/servers/deploy/configure/site-server-high-availability.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @Haiesscko for taking the time to share this with the Configuration Manager documentation team. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.


Carla Openpilot Not Working with the latest docker image

Describe the bug
I am following the instruction to get the carla-openpilot integration working, but the dashboard doesn't seem to render the carla world. I am able to pass my keyboard input to engage openpilot but got Openpilot Unavailable message:

Carla seems to be having memory error as well but no sure if it's related :
Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554  CommonUnixCrashHandler: Signal=11 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. ./CarlaUE4.sh: line 5:    13 Segmentation fault      (core dumped) "$UE4_PROJECT_ROOT/CarlaUE4/Binaries/Linux/CarlaUE4-Linux-Shipping" CarlaUE4 "$@
Steps to reproduce:
Terminal 1
./start_carla.sh
Terminal 2
./start_openpilot_docker.sh
Terminal 3:
docker exec -it OPENPILOT_CONTAINER_ID /bin/bash
./launch_openpilot.sh
Terminal 4
docker exec -it OPENPILOT_CONTAINER_ID /bin/bash
./bridge.py
OS Version
Pop!_OS 22.04
openpilot version or commit
b15018387c774b9f470e88f22b96861d62917656
Additional info
I also have a warning message showing the current branch is not tested. Am i supposed to use a released tag instead ?
Also tried running the integration_tests in the container but failed

@incognitojam  do it simulator issue? anddo you know how to fix it, as i knew, it work well before....
thanks a lot!

This is the same issue as #26503

hello do you fix this problem? could you show solutions to fix it?
thanks


Unable to create any occurrence except kind: DEPLOYMENT with postgres backend

When I try to create any possible occurrence type with postgres backend I always get an error
{
    "code": 13,
    "message": "Failed to insert Occurrence in database"
}

Only kind DEPLOYMENT works well.
I used this examples and this postman project
Application logs at the time of requests
Failed to insert Occurrence in database pq: null value in column "note_id" of relation "occurrences" violates not-null constraint

Expected Behavior
note_id generates with API
Additional info
Add any other context about the problem here (e.g. screenshots, links)
Grafeas version v0.2.0

is the note referred by the occurrence existing at the time of the occurrence creation?


Purge CSS and WordPress Generated Classes

Hi, sorry if this is'nt the right place, i'm having an issues where by including wp generated classes into the sass files are removed by purge css. It also appears that purge css is set to run on the complied 'app.css' file within resources so their is no clear way to whitelist these classes. Is this the case or have I misunderstood how purge is working and is there a workaround for it?
Thanks

Hi,
Unfortunately purgeCSS can't see generated wp classes and it will delete all styles from app.css related to generated classes. One option is create separated .sass file for example /resources/assets/sass/wp.sass and put all styles there which you don't want to purged
If you do that, remember to add webpack config
module.exports = {
  entry: {
    ...
    wp: glob.sync('./resources/assets/+(s[ac]ss|js)/wp.+(s[ac]ss|js)'),
    ...

 In my opinion it is not a big deal to give up completely from purgeCSS.

Thanks for the pointer, I've ended up whitelisting the wp generated classes in the webpack.conf.
whitelist: ['screen-reader-text', 'wp-caption', 'wp-caption-text', 'aligncenter', 'alignright', 'alignleft', 'alignnone'],
And adding _wp.sass into the sass folder, to me it looks like the best solution.
If I could star this repo twice, I would, love what your doing!


Various Bug Fixes

Are those all commits from my repo? If so, many of them are not implemented 100% correctly and I implemented some personal stuff in there, and you also included Slide's Jitpack config as well.

I will not be merging this pull request because of a few changes the author of these commits choose to integrate. Specifically:

Making JsonModels mutable by introducing unecessary local fields (here, here)
Vague method naming (here).
Removal of FindBugs
Inconsistent formatting
Unnecessary local.properties

If either you or @ccrama wish to address these issues I would be happy to merge that pull request.

@thatJavaNerd Yeah that was never meant to be merged into JRAW. I will be making a new fork with various fixes (sorting of non-submission paginators), addition of stickying comments, saving stored links (gold), approving/removing comments, setting submission flair, and more here soon!

Great news, thanks for your efforts!


Initial number of items to render is too low

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
Navigate to a chat with many comments
Expected Result:
Chat loads with enough items to fill up with scren
Actual Result:
Chat looks half loaded and lags before remaining items appear

Workaround:
No
Platform:
Web
iOS
Android
Desktop App
Mobile Web
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @sonialiap (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Coming in from https://github.com/Expensify/Expensify.cash/issues/4022#issuecomment-880539492
@aliabbasmalik8 has proposed a solution to this in another issue and we should move forward with it.
Can we alter the initialNumToRender based on platform? e.g. iOS and web should not require the same numbers since they have different screen heights. So maybe we can improve this slightly.

Triggered auto assignment to @kevinksullivan (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Yes, we can alter initialNumToRender based on platforms.
We can add this prop in the respected platform file
and for we web we can use initialNumToRender={25} and for ios/android we can use 20.
https://github.com/Expensify/Expensify.cash/blob/b2286562536b97ba651e934bb3b5cdb648f47e4f/src/components/InvertedFlatList/index.js#L59
https://github.com/Expensify/Expensify.cash/blob/b2286562536b97ba651e934bb3b5cdb648f47e4f/src/components/InvertedFlatList/index.android.js#L5
https://github.com/Expensify/Expensify.cash/blob/b2286562536b97ba651e934bb3b5cdb648f47e4f/src/components/InvertedFlatList/index.ios.js#L4

Let's do it!

@aliabbasmalik8 Do you think it might be a good to try and find the minimum initialNumToRender (per platform/screenHeight) that doesn't leave a blank spot on the first render? Anything we increase above this will probably slow down the render of ReportActionsView

@aliabbasmalik8 you could look into making BaseInvertedFlatlist a PureComponent which might help with the blank areas.

Interesting idea @rdjuric. We could make some estimate based on an average item height and the screen height. But could this maybe be an early optimization?
We can work out how to make each ReportActionItem to render faster in this issue and maybe there will be no need to have screen size dependent values for initialNumToRender. It seems strange that the app should choke at all on any platform while loading text and some small images at these levels 😢

you could look into making BaseInvertedFlatlist a PureComponent which might help with the blank areas

@rushatgabhane Thanks. FlatList re-rendering unnecessarily - maybe it's something to look into. Seems unrelated to the initialNumToRender being discussed here.

We could make some estimate based on an average item height and the screen height.

Makes sense! I was thinking about calculating based on the height of the smallest ReportActionItem possible (I guess it's a text with a single line?). We could decide our initialNumToRender based on how many of this we need to fill the first render.

But could this maybe be an early optimization?

That's possible 😅 But it's also possible that our guess of 25 is off by a decent % and it could might end up diminishing our gains from #4022.
I.e we wouldn't notice much of a difference when switching chats if we improved the rendering times of our ReportActionItem by 50% but rendered 2x as many of them on the first render. That's why I think it's better to make an educated guess here than a blind one.

It seems strange that the app should choke at all on any platform while loading text and some small images at these levels

Agreed, it feels wrong! I'm going to spend some time today on #4022 and see if I can spot something.

we wouldn't notice much of a difference when switching chats if we improved the rendering times of our ReportActionItem by 50% but rendered 2x as many of them on the first render. That's why I think it's better to make an educated guess here than a blind one.

Ok, that makes sense to me. I dug into this a bit and I think maybe we should explore a solution like that.

@aliabbasmalik8 job posted on Upwork here. Please submit a proposal and I'll hire you!

@kevinksullivan applied for the JOB. Thanks

Hired and paid.


Bugfix - Add safe app button not working on Firefox

closes #1280
Problem:  Checkbox events are not correctly triggered on Firefox with react-final-form library (see here).
Solution: The solution was basically use onChange native checkbox prop to handle it correctly (You can also see the workaround implemented in the issue above : https://codesandbox.io/s/react-final-form-field-level-validation-example-forked-y7ome?file=/index.js)

@mikheevm Updated PR description!

I had no issues with this ticket, but I also never had this issue at all even when it was reported.
It seems that is an issue with Mac and Firefox.
@liliya-soroka can you give it a look? I think you have a mac.
Here's are some custom apps that work on rinkeby:
https://jpalvarezl.github.io/eth-wrapper/
https://ipfs.io/ipfs/QmfMq8NgxdDfai1qKv7bGbT8DegYX4mNzmpi9AkY1VJZBS/

I confirm it works in Firefox. 👍

However, the bug is gone on development, too. So this fix doesn't seem to be needed.

Closing, it's already fixed on staging. 🤷

@katspaugh i don't know how it got fixed, but this does fix other things such as incorrect markup and introduces some reusable components for checkboxes. I'd consider merging this

Sure, but not the checkbox wrapper.
@matextrem could you extract the other fixes into a new PR?

If the intention is to remove the checkbox wrapper, I don't see the need of adding the rest of the code.

Fair enough 👍


Modernize theme

Visual refresh of the theme to modernize it.

@Ionaru Change the border color from #bbb and #ddd to #ced4da so that it matched Bootstrap.

"Modern" is subjective, I don't think we should touch the theme until #447.

Yes, it is subjective. This modification does away with the borders and use a more flat style. Try it and see if you like it.
Might be something for the new editor.
For the current version might want to consider just changing the border color though, because now it doesn't match with the border color of the form-control class in Bootstrap, also it uses two different colors for borders, it uses both #bbb and #ddd resulting in the border of the toolbar being darker than other border of the editor which seems rather odd and might not be the intended look.

The editor was never made to integrate perfectly with Bootstrap. The design is purposefully minimal and can be easily edited by website creators to match their website theme. I don't think it's a good idea to copy over all the colours that bootstrap (currently) uses.

Then consider at least being consistent in the border color that is used, because now EasyMDE uses two different border colors, both #bbb and #ddd so it looks inconsistent and off. It looks like a "design bug" that was never intended.

I agree it's good to be consistent. I'll leave the choice between #bbb and #ddd up to you.

I would prefer #ced4da as that is what is used in Bootstrap. Else #ccc would be between #bbb and #ddd and closer to Bootstrap's #ced4da color.
But this PR was to modernize the theme and also includes other changes such as flat border-less buttons with more rounded corners. So this PR can be for EasyMDE v3.


FOOTER: how to know another cells in current row for footer

Question
in footer i need sum of multiplication two cells.
how to know data of another cells?
need something like:
footer: (column, cell, index,  ROW) => {
 ..... console.warn(ROW.cell1, ROW.cell2)
}

Yes we need access of column, cell, index and row in footerEvents(

@Menogus actually, we already pass column object and columnIndex as second and third arguments of footer function.  But i didn't mentions footer usage in docs, I will enhance docs ASAP, thanks
following is the source code:
https://github.com/react-bootstrap-table/react-bootstrap-table2/blob/master/packages/react-bootstrap-table2/src/footer-cell.js#L31
Anyway, I can pass the row because it's impossible!

RELEASE NOTE
I update the docs


nginx misconfiguration

While troubleshooting an error related to safari users not being able to resolve the site in browser, I came to find that the nginx configuration needs tweaking.
First, I found that there was an error in the nginx logs.
The command docker exec -ti nginx_mattermost watch cat /var/log/nginx/error.log
I kept seeing the error:
No resolver defined to resolve r3.o.lencr.org while requesting certificate status, responder: r3.o.lencr.org

Based on replies to this thread here it seems this is related to OSCP. I notice the latest commit with this file comments out the resolver <IP_ADDRESS> line. Was this a regressive move?
I've tried to modify the nginx default.conf file unsuccessfully so far.
Using the default config and issuing docker exec -ti nginx_mattermost nginx -t -c /etc/nginx/conf.d/default.conf results in:
nginx: [emerg] "proxy_cache_path" directive is not allowed here in /etc/nginx/conf.d/default.conf:6
nginx: configuration file /etc/nginx/conf.d/default.conf test failed

This brings me to try many variations so far all unsuccessful. Interestingly, this failed config somehow doesn't result in a reboot loop and the image does run as-is.
I'm requesting someone look into the standard docker nginx config. Why was the resolver removed, why does the default config fail, and what should be shifted to ensure the correct configuration passes nginx config test?

While I can't explain the behavior, the user is now reporting that it works with safari after uncommenting on the resolver line. I made it: resolver <IP_ADDRESS> <IP_ADDRESS>

@boredomdenied

I notice the latest commit with this file comments out the resolver <IP_ADDRESS> line. Was this a regressive move?

No. If no resolver is configured Nginx uses the host resolver (host as in host which is running Nginx, not Docker host) which is in this case the container. The container itself uses the Docker host resolver (because this deployment uses a user defined network which is being created by docker-compose).
I can't say what you've changed but for me Nginx is working as expected; if nginx -t fails it refuses to start all together.

[jaya@localhost conf.d]$ sudo cat default.conf
upstream backend {
server <IP_ADDRESS>:8065;
keepalive 32;
}
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mattermost_cache:10m max_size=3g inactive=120m use_temp_path=off;
server {
listen 80;
server_name   <IP_ADDRESS>;
location ~ /api/v[0-9]+/(users/)?websocket$ {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
client_max_body_size 50M;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_buffers 256 16k;
proxy_buffer_size 16k;
client_body_timeout 60;
send_timeout 300;
lingering_timeout 5;
proxy_connect_timeout 90;
proxy_send_timeout 300;
proxy_read_timeout 90s;
proxy_pass http://backend;
}
    location / {
    client_max_body_size 50M;
    proxy_set_header Connection "";
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Frame-Options SAMEORIGIN;
    proxy_buffers 256 16k;
    proxy_buffer_size 16k;
    proxy_read_timeout 600s;
    proxy_cache mattermost_cache;
    proxy_cache_revalidate on;
    proxy_cache_min_uses 2;
    proxy_cache_use_stale timeout;
    proxy_cache_lock on;
    proxy_http_version 1.1;
    proxy_pass http://backend;

}
}
[jaya@localhost conf.d]$ sudo systemctl daemon-reload
[jaya@localhost conf.d]$ sudo systemctl restart nginx
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
[jaya@localhost conf.d]$ sudo systemctl status nginx
● nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2023-05-28 16:10:43 UTC; 9s ago
Docs: http://nginx.org/en/docs/
Process: 2078 ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat /var/run/nginx.pid) (code=exited, status=0/SUCCESS)
Process: 2083 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
Main PID: 1648 (code=exited, status=0/SUCCESS)
May 28 16:10:43 localhost.localdomain systemd[1]: Starting nginx - high performance web server...
May 28 16:10:43 localhost.localdomain nginx[2083]: nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:50
May 28 16:10:43 localhost.localdomain systemd[1]: nginx.service: control process exited, code=exited status=1
May 28 16:10:43 localhost.localdomain systemd[1]: Failed to start nginx - high performance web server.
May 28 16:10:43 localhost.localdomain systemd[1]: Unit nginx.service entered failed state.
May 28 16:10:43 localhost.localdomain systemd[1]: nginx.service failed.
[jaya@localhost conf.d]$

There is no error in default.conf file but it is showingun expected } if i just remove the extension it is working there is no error  but problem here is i need to save that file as .conf extension then only the mattermost curl http://localhost will work


Json serialized messages wont get published to the broker.

Describe your question
I am building a .NET azure function app, The publish messages flow works fine so long as it is publishing hard coded strings, but as soon as I use a json serialized string the message won't get published for some reason. Wierdly enough when I try to step through the code via the Visual studio debugger, things start working. I can't identify what maybe the issue any help would be greatly appreciated.
Here is some code for reproduction

public class Function1
	{
		private readonly ILogger<Function1> _logger;

		public Function1(ILogger<Function1> logger)
		{
			_logger = logger;
		}

		[Function("Function1")]
		public async Task<IActionResult> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req)
		{
			const string HOST_URL = "xxx-xxx";
			const int PORT = 8883;
			const string TOPIC = "xxxxx";
			string username = "xxxxx";
			string randomName = Path.GetRandomFileName().Replace(".", string.Empty);

			IEnumerable<X509Certificate2> certList =
			[
				new("./certficate.pfx", "pass")
			];

			var factory = new MqttFactory();
			var client = factory.CreateMqttClient();

			var options = new MqttClientOptionsBuilder()
				.WithTcpServer(HOST_URL, PORT)
				.WithCredentials(username)
				.WithClientId(randomName)
				.WithCleanSession()
				.WithTlsOptions(o => o.WithClientCertificates(certList))
				.Build();

			var m = JsonConvert.SerializeObject("Hello");
			_logger.LogInformation(m); // This logs as expected

			try
			{
				await client.ConnectAsync(options, req.HttpContext.RequestAborted);
				var message = new MqttApplicationMessageBuilder()
					.WithTopic(TOPIC)
					.WithPayload(m) // This breaks
					.Build();

				await client.PublishAsync(message, req.HttpContext.RequestAborted);
			}
			catch (Exception ex)
			{
				_logger.LogError(ex, "Failed to handle MQTT operation.");
				return new StatusCodeResult(StatusCodes.Status500InternalServerError);
			}
			finally
			{
				if (client.IsConnected)
				{
					await client.DisconnectAsync();
				}
			}

			_logger.LogInformation("C# HTTP trigger function processed a request.");
			return new OkObjectResult("Welcome to Azure Functions!");
		}
	}

Which project is your question related to?

Client

I have tried the following code in https://dotnetfiddle.net/ with Newtonsoft.Json, v 13.0.3 (latest) and MQTTnet, v4.3.6 (latest) without any issues:
using System;
using Newtonsoft.Json;
using MQTTnet;

public class Program
{
	public static void Main()
	{
		var m = JsonConvert.SerializeObject("Hello");

		var message = new MqttApplicationMessageBuilder()
					.WithTopic("Hans")
					.WithPayload(m)
					.Build();
		Console.WriteLine(message);
	}
}

Just out of curiosity as I had this issue already sometimes:

Try a clean and build.
Close Visual Studio.
Delete all bin and obj folders, maybe also the .vs folder.
Build again and test.

I have tried doing that but still the same thing. After repeatedly trying with a script, I can see a lot of messages are just not being published even when the publish result object has IsSuccess True.  Is there a bug somewhere in my approach? I have tried to follow the docs provided in the wiki.

The issue you're experiencing might be related to how the payload is being handled by the MQTT client. Specifically, there are a few potential areas to investigate:

Serialization: Ensure the payload is correctly serialized into a format that the MQTT client expects.
Encoding: Check if there's any encoding issue with the payload string.
MQTT client configuration: Verify if there are any specific configurations required for the payload.

Here’s a modified version of your code with additional steps to handle these aspects:
public class Function1
{
    private readonly ILogger<Function1> _logger;

    public Function1(ILogger<Function1> logger)
    {
        _logger = logger;
    }

    [Function("Function1")]
    public async Task<IActionResult> Run([HttpTrigger(AuthorizationLevel.Function, "get", "post")] HttpRequest req)
    {
        const string HOST_URL = "xxx-xxx";
        const int PORT = 8883;
        const string TOPIC = "xxxxx";
        string username = "xxxxx";
        string randomName = Path.GetRandomFileName().Replace(".", string.Empty);

        IEnumerable<X509Certificate2> certList = new[]
        {
            new X509Certificate2("./certficate.pfx", "pass")
        };

        var factory = new MqttFactory();
        var client = factory.CreateMqttClient();

        var options = new MqttClientOptionsBuilder()
            .WithTcpServer(HOST_URL, PORT)
            .WithCredentials(username)
            .WithClientId(randomName)
            .WithCleanSession()
            .WithTlsOptions(o => o.WithClientCertificates(certList))
            .Build();

        // Serialize an object instead of a simple string
        var payloadObject = new { Message = "Hello" };
        var m = JsonConvert.SerializeObject(payloadObject);
        _logger.LogInformation(m); // This logs as expected

        try
        {
            await client.ConnectAsync(options, req.HttpContext.RequestAborted);
            var message = new MqttApplicationMessageBuilder()
                .WithTopic(TOPIC)
                .WithPayload(System.Text.Encoding.UTF8.GetBytes(m)) // Ensure the payload is correctly encoded
                .Build();

            await client.PublishAsync(message, req.HttpContext.RequestAborted);
        }
        catch (Exception ex)
        {
            _logger.LogError(ex, "Failed to handle MQTT operation.");
            return new StatusCodeResult(StatusCodes.Status500InternalServerError);
        }
        finally
        {
            if (client.IsConnected)
            {
                await client.DisconnectAsync();
            }
        }

        _logger.LogInformation("C# HTTP trigger function processed a request.");
        return new OkObjectResult("Welcome to Azure Functions!");
    }
}


Getting the following error, seems to be an issue with image generator

Error 1: ITMS-90096 - Your binary is not optimized for iPhone 5
Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the 'iOS Human Interface Guidelines' at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen.

Hi @AlmogRnD, thanks for posting this issue!

We recently updated for XCode 9. Not sure if everything still works with XCode 8, @Minishlink do you know? :)

Not sure why it would impact archiving with XCode 8, but you can try upgrading to XCode 9!
What are your Info.plist, AppIcon.appiconset/Contents.json, and LaunchScreen.xib?

@Minishlink I'm on xcode 9 I ended adding my icons manually

@AlmogRnD ok wrong guess on my side then :)
Is it possible for you to share your icon and the command you ran?

Fixed in #138


Add installation instructions for NixOS, without Flakes or Home Manager

It would be nice to add installation instructions to the documentation that don't rely on utilities like Flakes and Home Manager that are not native to NixOS.

Unfortunately, the majority of Stylix's functionality is not possible without Home Manager due to applications only supporting configuration files within the home directory.
It's possible to use without flakes, though.


SQL Tables are not created.

I installed OctoberCMS two days ago.
Today i installed the Magic forms plugin and now i get this error and can not even log in via the backend (what means i will have to delete the plugin manually within the DB)
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dboctober.martin_forms_records' doesn't exist (SQL: select count(*) as aggregate from martin_forms_records where unread = 1 and martin_forms_records.deleted_at is null)
Greetings from this corner of the planet!

UPDATE: i just delete the whole folder within the "plugins" folder and now my backend works again. Will try to re-install the plugin to see what happens.


feat(avm-transpiler): add emitnotehash and emitnullifier opcodes to avm transpiler and simulator tests

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#4746  👈
#4743
#4733
#4730
master

This stack of pull requests is managed by Graphite.


Auto-hide scrollbars

There are multiple ways to auto-hide the scrollbars when user is inactive. It does have negative effect on accessibility and UX to hide.
This task is to implement auto-hide when user is inactive in the scrollable content view.

https://www.npmjs.com/package/ngx-scrollbar

https://www.npmjs.com/package/ngx-scrollbar

Great suggestion, thanks!


Add command palette

Example: https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette

Do we need it? No.
Do I want it? Yes! :D

Some did it in React: https://blog.logrocket.com/react-command-palette-tailwind-css-headless-ui/


HTML5 push notifications: remove push notification target on receiving 410 HTTP status code

Push notification servers will return a code 410 GONE when the registration is no longer valid. When we receive a 410 GONE we should remove the registration entry.
410 GONE will be raised within this code: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/notify/html5.py#L381-L382

I'll take care of this as soon as the clock strikes October 1, 2016!


Fix bitrot and bump Facebook dependency

Some cleanup to address #885.

Adding @renkelvin as I'm not really familiar with the project.pbxproj updates.

Yes--this will result in a major (breaking) change.


Raise exception on missing augeasproviders_core

People who manage their code with r10k have to resolve dependencies by
hand (or using a generator), as such we now helpfully raise an exception
when miaugeasproviders_core is missing.

Coverage increased (+0.08%) to 94.891% when pulling c64b112a5f19e96e1a6409598c0c6649b8799d94 on igalic:core_dep into 66f17fabef214dc830b1692123c99990d03d4b6b on hercules-team:master.

Coverage increased (+0.08%) to 94.891% when pulling c64b112a5f19e96e1a6409598c0c6649b8799d94 on igalic:core_dep into 66f17fabef214dc830b1692123c99990d03d4b6b on hercules-team:master.

Coverage increased (+0.08%) to 94.891% when pulling c64b112a5f19e96e1a6409598c0c6649b8799d94 on igalic:core_dep into 66f17fabef214dc830b1692123c99990d03d4b6b on hercules-team:master.


Duplicated tx in queued

What it solves
Resolves #3070
How this PR fixes it
When adding queued transactions, it no longer mutates the current state, instead setting it to what backend returns. The only data that is retained is the frontend-only pending status.
How to test it

Open a deeplinked transaction and execute it.
After successful execution, check that it is only present in the history list.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 7 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 32.277%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/logic/safe/store/actions/createTransaction.ts
0
1
0.0%

src/logic/safe/store/reducer/gatewayTransactions.ts
0
6
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
3083

Relevant Lines:
8490

💛  - Coveralls

@DiogoSoaress, as this is your PR I cannot request your review. Please let me know what you think and "I" will approve it on your behalf.

Looks good @iamacook 👍

Tx are shown only on the history tab. That works fine.
Still there are issues with the tx in the "Deep link view" that were not there anymore.
The tx reloads a couple of times while is executing and when it ends it shows a "cancelled" status.
Gif: is over 1 minute long

is this re-rendering of the tx something we should worry about? or we can tackle it in another ticket?

As they are so tightly linked, I included the fixes for https://github.com/gnosis/safe-react/issues/3071 in this ticket. The remaining issue of the cancelled status I will include in this PR and, if it is too much of a rabbit hole, will open a separate issue for the re-rendering. I hope to include that in this PR however.

Let me know if I can report these here or I should create new tickets.
 The execute button should be disabled.
Only the execute button is wrong, the Reject button is fine to be available
To reproduce it, in a safe with a policy of 1 out of X create a tx 1 nonce higher than the one the safe expect to execute.

This is how it is supposed to look:

If you create a tx out of nonce order you see the tx ready to be executed. The execute button should be disabled. Only the execute button is wrong, the Reject button is fine to be available To reproduce it, in a safe with a policy of 1 out of X create a tx 1 nonce higher than the one the safe expect to execute.

This looks like a bug relating to non-owner execution of confirmed transactions. Can you confirm whether that was tested in that issue?

This looks like a bug relating to non-owner execution of confirmed transactions. Can you confirm whether that was tested in that issue?

I tested it in the #3151 and is not happening there. when a tx out of order is created the confirm button is disabled which is correct

I tested it in the #3151 and is not happening there

I'll look into this now.


Scrollable views are often 100% tall, scrolling looks weird

The easiest to find out is to use the mobile view and choose a phone which has smaller screen (e.g. iPhone SE).
The identity screen has definitely this issue and I suspect others as well (e.g. I think the account screen if there are more currencies). I think it would be good to fix this problem in a systematic way, rather than fixing individual screen.

@agazso Yup you're correct. I'll go over it globally. Thanks!


'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory

Ubuntu 16.04, Python 2.7.12
~$ python
Python 2.7.12 (default, Oct  8 2019, 14:14:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
2019-11-01 02:23:07.614115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2019-11-01 02:23:07.640540: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-11-01 02:23:07.641857: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1618] Found device 0 with properties:
name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.65
pciBusID: 0000:0a:00.0
2019-11-01 02:23:07.641907: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.641942: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcublas.so.10.0'; dlerror: libcublas.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.641975: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.642007: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcurand.so.10.0'; dlerror: libcurand.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.642040: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusolver.so.10.0'; dlerror: libcusolver.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.642072: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcusparse.so.10.0'; dlerror: libcusparse.so.10.0: cannot open shared object file: No such file or directory
2019-11-01 02:23:07.644213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2019-11-01 02:23:07.644227: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1641] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2019-11-01 02:23:07.644455: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-11-01 02:23:07.666762: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-11-01 02:23:07.667387: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4fa0e80 executing computations on platform Host. Devices:
2019-11-01 02:23:07.667399: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): Host, Default Version
2019-11-01 02:23:07.739881: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1006] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-11-01 02:23:07.740582: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5003bc0 executing computations on platform CUDA. Devices:
2019-11-01 02:23:07.740595: I tensorflow/compiler/xla/service/service.cc:175]   StreamExecutor device (0): GeForce RTX 2080 Ti, Compute Capability 7.5
2019-11-01 02:23:07.740645: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-11-01 02:23:07.740651: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]

Please provide system information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version:
Python version:
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

Also experiencing this issue:
Ubuntu 20.04
Kernel: 5.4.0-47-generic
Python 3.6.10 :: Anaconda, Inc.
tensorflow==2.3.0
tensorflow-estimator==2.3.0
tensorflow-gpu==2.3.0

Installed using conda
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Wed_Jul_22_19:09:09_PDT_2020
Cuda compilation tools, release 11.0, V11.0.221
Build cuda_11.0_bu.TC445_37.28845127_0

$ cat /usr/local/cuda/version.txt
CUDA Version 11.0.228

Fri Sep 18 18:56:46 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.51.06    Driver Version: 450.51.06    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 750     On   | 00000000:01:00.0  On |                  N/A |
| 39%   31C    P8     1W /  52W |    526MiB /  1995MiB |     17%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+


Mekanism mj power accept?

Hallo Guys
Ist there a oppertunity that ender io accept mj from Mekanism, also it ist an only rf mod
😊

MJ doesn't exist anymore.

Sorry i mean kJ

If you have CoFHCore or CoFHLib in your pack, you can connect EnderIO machines to Mekanism cables. This is a measure (probably for safety) in Mekanism.

Or a bad implementation of the RF API - as there is no need to have either of these mods in your pack to use RF.

Would be the second mod this week that on COFH instead of the RF API.

That's something only @aidancbrady can answer.


It seems SparkCompare object has no attribute 'sample_mismatch` ?

Hi,
I am currently using 0.8.4. For a certain column, I am trying to print a sample_mismatch to check what is the value different for this column between two pyspark dataframe : It seems SparkCompare object has no attribute 'sample_mismatch` ?

Wondering if this is the version issue or not. However, the latest documentation does not list sample_mismatch in datacompy.spark module as well.
If confirmed, could you provide a quick poke on the reason why this method is not inherited. If this is no specific blockers, I'd happy to contribute to dev this method under spark module.
Thanks for this wonderful package!

Hey @pangjac first off thank you for supporting the package!
sample_mismatch doesn't exist for the SparkCompare class in that version of datacompy. We have a branch which is waiting review where we are shifting to pandas on pyspark if you are ok using that instead. v0.8.4 is fairly old so I'd highly recommend bumping up if you are able to.
If you look at the new implementation (which aligns better to the pandas, polars, and fugue logic) we will have that function natively for Spark.
Alternatively I wonder if the internal dataframe: _all_rows_mismatched would give you what you need. you can filter on the column you are interested in since its just a Spark DF.

@pangjac Just wanted to follow up and see if this was solved for you? Thanks!


fix: automatically skip the PaC-related test of integration service when there's an issue with sprayproxy server

Description

This if condition checks if the "constants.SKIP_PAC_TESTS_ENV" flag is set to "true".
If that flag is set to true (right here), that indicates there was an error registering the sprayproxy server.
Hence, the test gets skipped automatically in that case.

Issue ticket number and link
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
I've not tested this locally, but this flag is already in use by the other PaC-related test suites, see: build.go and rhtap-demo.go
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

Thanks Pavel for the approval!
I am now thinking of waiting till Monday to get the opinions of a few others from the team
/hold


High severity Bug: Subscription of OADP 0.2.3 failed on openshift 4.6 and no oadp related resource was created in namespace

Contact Details
<EMAIL_ADDRESS>Describe bug
Deployment of OADP 0.2.3 failed after creating subscription, on openshift 4.6. But deployment of OADP 0.2.3 success in openshift 4.7, 4.8.
Since our product already released, we can not change it to use oadp 0.2.6.

Deployment of OADP 0.2.3 failed on openshift 4.6. After sending oadp 0.2.3 subscription to namespace, no any OADP related resource was created in the namespace. No oadp pod, deployment or anything else.

OADP Version
0.2.x (Alpha)
OpenShift Version
4.6
Velero pod logs
No response
Restic pod logs
No response
Operator pod logs
No response
New issue

[X] This issue is new

Requested deployment logs.

Requested deployment logs/status/events.

There is no deployment shows up on the namespace. After sending the oadp subscription, no oadp-related resource can be found on the namespace.

And this is the olm-operator log we have.
https://gist.github.com/Frank51/b651b10d58afdb7f8fdc1593478f1107
Other than that, this is the "OperatorGroup" yaml we used.
OperatorGroup
apiVersion: v1
items:

apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"operators.coreos.com/v1alpha2","kind":"OperatorGroup","metadata":{"annotations":{},"creationTimestamp":null,"name":"oadp-operator","namespace":"velero-ppdm"},"spec":{"targetNamespaces":["velero-ppdm"]}}
creationTimestamp: "2021-12-03T20:39:01Z"
generation: 1
managedFields:

apiVersion: operators.coreos.com/v1alpha2
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.: {}
f:kubectl.kubernetes.io/last-applied-configuration: {}
f:spec:
.: {}
f:targetNamespaces: {}
manager: kubectl-client-side-apply
operation: Update
time: "2021-12-03T20:39:01Z"
apiVersion: operators.coreos.com/v1
fieldsType: FieldsV1
fieldsV1:
f:status:
.: {}
f:lastUpdated: {}
f:namespaces:
.: {}
v:"velero-ppdm": {}
manager: olm
operation: Update
time: "2021-12-03T20:39:01Z"
name: oadp-operator
namespace: velero-ppdm
resourceVersion: "316275368"
selfLink: /apis/operators.coreos.com/v1/namespaces/velero-ppdm/operatorgroups/oadp-operator
uid: afa84ee7-9cc7-4af1-8439-23d2816ea11a
spec:
targetNamespaces:
velero-ppdm
status:
lastUpdated: "2021-12-03T20:39:01Z"
namespaces:
velero-ppdm
kind: List
metadata:
resourceVersion: ""
selfLink: ""

Unable to reproduce on OpenShift 4.6 with provided subscription
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
 labels:
   operators.coreos.com/oadp-operator.velero-ppdm: ""
 name: oadp-operator
 namespace: velero-ppdm
spec:
 channel: alpha
 installPlanApproval: Manual
 name: oadp-operator
 source: community-operators
 sourceNamespace: openshift-marketplace
 startingCSV: oadp-operator.v0.2.3

Results from creating this subscription including installPlans generated is referenced in resultingSubscription

I was able to install on 4.6 doing the following:

Create operator group in namespace velero-ppdm:

[dymurray@galt f]$ cat og.yaml
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
  name: oadp-og
spec:
  targetNamespaces:
    - velero-ppmd

Create subscription:

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
 labels:
   operators.coreos.com/oadp-operator.velero-ppdm: ""
 name: oadp-operator
 namespace: velero-ppdm
spec:
 channel: alpha
 installPlanApproval: Manual
 name: oadp-operator
 source: community-operators
 sourceNamespace: openshift-marketplace
 startingCSV: oadp-operator.v0.2.3

Edit created installplan to set approved: true to manually approve the installation
Operator pod came up.

It is important you do the above in the correct order... if the subscription exists without the operator group you'll find that it never gets reconciled and updated. I believe this is an older bug in <4.6.
For debugging this... I found that the errors I needed to see to resolve them involved looking at the catalog-operator deployment in openshift-operator-lifecycle-manager namespace. I would please check those logs and grep for oadp-operator to see if you find any logs that indicate why the installation is failing.

We are creating in the same order. Creating operator group first, then subscription. But install plan is never created. We will check the catalog-operator deployment log and get back.

We found the install plan was not created at all.
# oc get sub -n velero-ppdm
NAME            PACKAGE         SOURCE                CHANNEL
oadp-operator   oadp-operator   community-operators   alpha

# oc get installplan -n velero-ppdm
No resources found in velero-ppdm namespace.

This is the catalog-operator log in oadp-operator 0.2.3.
https://gist.github.com/Frank51/0ae7360089116c78cc16829cdb513296
And this is the catalog-operator log for oadp-operator 0.2.6 case. The 0.2.6 works fine.
https://gist.github.com/Frank51/2f0210a0caf1fa5c06ef3d450a6c77c3
Here is the detailed openshift version we used.
# oc version
Client Version: 4.6.18
Server Version: 4.6.18

@Frank51 from the catalog operator pod logs:
'ResolutionFailed' constraints not satisfiable: oadp-operator has a dependency without any candidates to satisfy it

That is most likely indication of an issue with your OperatorGroup. Please make sure that the OperatorGroup you're creating is correct.
For eg, throughout this thread, ppdm and ppmd is used interchangeably. Typos like these can render the OG you're creating useless.
PS: fyi that error message has been improved in I believe OCP 4.8 and above. The PR for that was https://github.com/operator-framework/operator-lifecycle-manager/pull/2258. But in OCP 4.6 unfortunately we have to deduce which dependency was not satisfied during the installation attempt.
I'm guessing if you try to use the OperatorGroup that you used for 4.6 in a 4.8 cluster, you'll probably be able to figure out what's wrong faster.

@yunjiang29 Can you please give us the output of:
oc get pod $(oc get pods -n openshift-marketplace | grep community-operators | awk '{print $1}') -n openshift-marketplace -o yaml | grep image

This is from openshift 4.6.
# oc get pod $(oc get pods -n openshift-marketplace | grep community-operators | awk '{print $1}') -n openshift-marketplace -o yaml | grep image
            f:image: {}
            f:imagePullPolicy: {}
  - image: registry.redhat.io/redhat/community-operator-index:latest
    imagePullPolicy: Always
  imagePullSecrets:
    image: registry.redhat.io/redhat/community-operator-index:latest
    imageID: registry.redhat.io/redhat/community-operator-index@sha256:4a0c8b241c6b5d714a148117fd70a12a9a9df2ac77116f87dddb460154a5bed3

And this is from openshift 4.7 (where everything is ok)
# oc get pod $(oc get pods -n openshift-marketplace | grep community-operators | awk '{print $1}') -n openshift-marketplace -o yaml | grep image
            f:image: {}
            f:imagePullPolicy: {}
  - image: registry.redhat.io/redhat/community-operator-index:v4.7
    imagePullPolicy: Always
  imagePullSecrets:
    image: registry.redhat.io/redhat/community-operator-index:v4.7
    imageID: registry.redhat.io/redhat/community-operator-index@sha256:997ba076f230e5a222e46de62014b94e822e8e259043f9954d39a43d404a0365

I think we will want the fix in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1937986.
We don't want to be using the latest tag

Closing this... this bug was due to an older OCP 4.6 cluster. Upgrading to a newer version fixed this.


[FEATURE REQUEST] Allow disabling the '+' Prefix in individual style bonuses.

Description
hi eu
I think it'd be cool if we could disable the '+' Prefix for individual style bonuses via a toggle below 'Italic,' that way something like '+PARRY' appears as just 'PARRY'.
Extra
nothin else to add :p

it is a little hard because all the styles are stored in a single line. removing the last style is basically finding the position of the last '+' and removing everything behind it. that is why '+' character cannot be used in style texts, and also why people experienced broken style texts when they used it in their custom styles in older versions

ah, i see
in that case might not be worth the trouble
thanks for the reply

closing issue


Update to version 0.29

This has an essential fix for many WebComp users in that the ariaContentArea can now be specificied by the developer. this prevents stuff being arbitraily added to the DOM which breaks some language's virtual dom implementations
https://github.com/microsoft/vscode/pull/131865

Fixed in v1.10.15
wc-monaco-editor now uses v0.30.1


Ex 5 Maybe

Hello, does anyone know why is the test case here true? Shouldn't the equals method return true when "the contained values are "equal to" each other via their respective equals method." In this case new A(1).equals(new B(1)) is true?

I think there is some form of inheritance relationship between A and B, making A and B substitutable, and thus ma.equals(mb) returns true . You could check if your main if statement uses Maybe<?> rather than Maybe<T>, as that clause is supposed to check the .thing attribute as long as other is a Maybe.

Agree with @wjiayis's comment, if you did a else if obj instanceof Maybe<T> then it wouldn't enter the clause and thus return false.

I think there is some form of inheritance relationship between A and B, making A and B substitutable, and thus ma.equals(mb) returns true . You could check if your main if statement uses Maybe<?> rather than Maybe<T>, as that clause is supposed to check the .thing attribute as long as other is a Maybe.

Hi thanks for the reply! I already did a Maybe<?> typecast. However I did try to include a maybe.thing.equals(this.thing) statement. This throws an error whenever a Maybe.empty() is compared. How do you check for the fact that other.thing has an inheritable relationship with this.thing

Hi, to compare between Maybe.empty(), you would need to do a check to see if this.thing is null. If it is, then you check if the other thing is null as well. Your current error is thrown because null does not have a .equals() method iirc.

Agreed with @wjiayis above, I personally used if-else clauses to account for the cases where both things are null and where both things are not null.

yep managed to find the bug! thanks guys!


Feat Added new fields for Policy Change section in Result Module

I proceed to Merge without passed all requirements, but, with the condition to tackle the Sonar warning. 🚧


[SPARK-11354] [Web UI] expose custom log4j to executor page

Can one of the admins verify this patch?

Hey @yongjiaw, thanks for submitting this! I've been wanting to do something like this myself, so I plan to take a look at this PR and will try it out.

@JoshRosen, I started this as a hack. The only thing I don't feel good about it is I have to remove the logType checks from LogPage.scala, which runs with the worker process and is not aware of the executor's loggers. It works for the driver's executorPage because the driver is already listening for executor data. Similarly, the worker page right now only has hard-coded links to stdout and stderr. Maybe this can be further improved by letting worker listen to executors. This small step should be useful enough.

this PR had some issue, I created another one. Closing this one.

https://github.com/apache/spark/pull/9321


Fixed leftover youtube-dl references.

@anthonyrocom you've tested this and it works properly, right?

@anthonyrocom you've tested this and it works properly, right?

Is YouTube working? Yes it's working and I tested that.


getting started link is broken

getting started link is broken
https://angular-maps.com/guides/getting-started/

still broken

hopefully will be fixed by #1833


Avoided string split() and join() in HTML Canonicalization.

the problem has largely affected the performance of canonicalization
String.split('') and String.join('') was found very slow when given a large string
replaced the operations with an equiv. string-based manipulation
performance improved by >3x from 0.808MB/s to 2.535MB/s

@yukinying / @maditya / @neraliu , this is the first round of changes to significantly boost the performance. please review.
I find this PR change is well-justified by the performance improvement / lines of code changes required. We're certainly aware of other ways to further optimize the code, but that may involve interface changes. My advice is to discuss them elsewhere, and perhaps get those juices squeezed via separate PRs.
Thanks,
Adon

@maditya , FYI, I benchmarked based on the html-purify's fix-tag-balancing branch. With this new CP, the performance on processing the 1m file is improved by ~3x too (from 0.75 to 2.22MB/s)

I know that you are very tempted with the "3x" performance improvement, and I would recommend you start benchmarking for the case without your canonization logic, and then see how many percentage of time is taken in your canonization logic as compared with the original context parsing logic. I would expect it should take around 1:1 time. Using that as a goal would be more convincing to me.


hold unhold changes for beta 3

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

As in here, this PR is missing the changes to CallParticipant and changes to the EventParser and add the HoldFailed event to the Models/Events folder.


Terrain exaggeration causes incorrect vertex normals

This was reported on the forum.
Supplying a terrainExaggeration seems to scale the normals incorrectly, causing the terrain to look washed out.
Here is with terrainExaggeration: 1:

With terrainExaggeration: 2.5:

With terrainExaggeration: 4.5:

Sandcastle.

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/H4NSHaavEdM/a8HQufXhAwAJ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/CesiumGS/cesium/issues/7580 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


Notebook fixes #3

This includes mostly defensive fixes to the notebooks - no real functionality changes.
Also using the TenantId explicitly in the authentication to cover cases where the user account belongs to a different tenant than the workspace.
Added completed versions of the notebooks to samples folder (so that people can see what they are meant to look like).
Updated Get Started and Readme.md with a few fixes/additions (without overwriting Zhipeng's changes this time).

Removed the msticpy reference from Get Started nb


<EMAIL_ADDRESS>

Hello I have this issue when I install a project that use<EMAIL_ADDRESS>for the front end.
I want to use mui-places-autocomplete on my project and I have this issue:

is it possible to update mui-places-autocomplete to use the last version of @material-ui/core ? how to do it ?
Thanks for your help

Anybody to help ?


🐛 [firebase_messaging] FirebaseMessaging.onBackgroundMessage is getting called when app is in Foreground

I am using firebase_messaging: ^11.2.6 in my app. I am sending data messages from my server. The message payload is as follows:
{
"to" : "/topics/7",
"priority": "high",
"data" : {
"caller_name": "Dr.Sample",
"has_video": true,
"caller_id_type": "number",
}
}
When this notification is sent and the app is in foreground then FirebaseMessaging.onBackgroundMessage is getting called instead of FirebaseMessaging.onMessage.listen. This happens pretty consistently but sometimes FirebaseMessaging.onMessage.listen also gets called. When FirebaseMessaging.onBackgroundMessage gets called when app is in foreground it happens like that for pretty long time even continues for few days sometimes. I want FirebaseMessaging.onMessage.listen to get called when the app is in foreground. I don't know what mistake I am doing. Please help me in calling FirebaseMessaging.onMessage.listen when app is in foreground and FirebaseMessaging.onBackgroundMessage when app is in background/terminated.
Expected behavior
FirebaseMessaging.onMessage.listen should always get called when app is in foreground and FirebaseMessaging.onBackgroundMessage should always get called when app is in background/terminated.
Flutter doctor
Run flutter doctor and paste the output below:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.1, on macOS 12.2.1 21D62 darwin-x64, locale
    en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Android Studio (version 4.2)
[✓] VS Code (version 1.64.2)
[!] Connected device
    ! No devices available
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Dart SDK 2.16.1
Flutter SDK 2.10.1
avey 3.6.0+98

dependencies:
- add_2_calendar 2.1.2 [flutter]
- agora_rtc_engine 4.0.7 [flutter flutter_web_plugins json_annotation]
- animated_text_kit 4.2.1 [flutter characters]
- assets_audio_player 3.0.3+6 [flutter rxdart uuid http path_provider assets_audio_player_web]
- auto_size_text 2.1.0 [flutter]
- before_after 2.1.0 [flutter]
- bringtoforeground 0.0.2 [flutter]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- callkeep 0.3.0 [flutter]
- cloud_firestore 1.0.7 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- connectivity 3.0.6 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- cupertino_icons 1.0.4
- dartz 0.9.2
- device_info 2.0.3 [flutter device_info_platform_interface]
- dots_indicator 1.2.0 [flutter]
- dotted_border 1.0.7 [flutter path_drawing]
- easy_debounce 2.0.1 [flutter]
- email_validator 1.0.6
- equatable 2.0.3 [collection meta]
- fading_edge_scrollview 1.1.4 [flutter]
- firebase_analytics 8.3.4 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 3.3.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.10.5 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.4.4 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_dynamic_links 2.0.11 [firebase_core flutter]
- firebase_in_app_messaging 0.5.0+14 [firebase_core flutter meta]
- firebase_messaging 11.2.6 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_performance 0.6.0+2 [firebase_core flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_app_badger 1.3.0 [flutter]
- flutter_appavailability 0.0.22 [flutter]
- flutter_bloc 7.3.3 [flutter bloc provider]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_cupertino_date_picker 1.0.12 [flutter assets_audio_player]
- flutter_email_sender 5.0.2 [flutter]
- flutter_fadein 2.0.0 [flutter]
- flutter_gifimage 1.0.1 [flutter]
- flutter_launcher_icons 0.9.2 [args image path yaml]
- flutter_layout_grid 1.0.3 [flutter collection meta quiver]
- flutter_local_notifications 8.2.0 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_native_timezone 1.1.0 [flutter_web_plugins flutter js]
- flutter_rating_bar 3.2.0+1 [flutter]
- flutter_secure_storage 4.2.1 [meta flutter]
- flutter_spinkit 4.1.2+1 [flutter]
- geocoding 2.0.1 [flutter geocoding_platform_interface]
- geolocator 7.7.1 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web]
- get_it 5.0.6 [async meta]
- google_maps_flutter 2.1.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_sign_in 5.2.2 [flutter google_sign_in_platform_interface google_sign_in_web]
- html 0.15.0 [csslib source_span]
- http 0.13.4 [async http_parser meta path]
- image_picker 0.8.4+4 [flutter flutter_plugin_android_lifecycle image_picker_for_web image_picker_platform_interface]
- in_app_review 2.0.4 [flutter in_app_review_platform_interface]
- intl 0.17.0 [clock path]
- keyboard_avoider 0.1.2 [flutter]
- keyboard_visibility 0.5.6 [flutter]
- logging 0.11.4
- map_launcher 2.1.1 [flutter]
- modal_progress_hud 0.1.3 [flutter]
- package_info 0.4.3+4 [flutter]
- path_provider 2.0.8 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- pausable_timer 1.0.0+3 [clock]
- percent_indicator 2.1.9+1 [flutter]
- permission_handler 8.3.0 [flutter meta permission_handler_platform_interface]
- pinch_zoom_image_last 0.4.1 [flutter]
- provider 6.0.1 [collection flutter nested]
- scrollable_positioned_list 0.1.10 [flutter meta]
- share 2.0.4 [meta mime flutter]
- shared_preferences 2.0.11 [flutter meta shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- speech_bubble 0.0.6 [flutter]
- sticky_headers 0.1.8+1 [flutter meta]
- the_apple_sign_in 1.1.1 [flutter]
- url_launcher 6.0.17 [flutter meta url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- vertical_card_pager 1.5.0 [flutter]
- video_player 2.2.7 [flutter meta video_player_platform_interface video_player_web html]
- visibility_detector 0.2.2 [flutter]
- wakelock 0.1.4+2 [flutter]
- webview_flutter 1.0.7 [flutter]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]
- mockito 5.0.15 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api]

transitive dependencies:
- _fe_analyzer_shared 22.0.0 [meta]
- analyzer 1.7.2 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml pedantic]
- archive 3.1.6 [crypto path]
- args 2.3.0
- assets_audio_player_web 3.0.3+6 [flutter flutter_web_plugins]
- async 2.8.2 [collection meta]
- bloc 7.2.1 [meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 1.6.3 [analyzer async convert crypto glob logging meta path]
- built_collection 5.1.1
- built_value 8.1.3 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.0
- charcode 1.3.1
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 4.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 1.0.7 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- connectivity_for_web 0.4.0+1 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.2.1+2 [flutter connectivity_platform_interface]
- connectivity_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- crypto 3.0.1 [collection typed_data]
- csslib 0.17.1 [source_span]
- dart_style 1.3.14 [analyzer args path pub_semver source_span]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase 9.0.2 [http http_parser js]
- firebase_analytics_platform_interface 2.0.1 [flutter meta]
- firebase_analytics_web 0.3.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 6.1.10 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.4 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.2.4 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.11 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.7 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_local_notifications_platform_interface 4.0.1 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- geolocator_android 2.1.0 [flutter geolocator_platform_interface]
- geolocator_apple 1.2.2 [flutter geolocator_platform_interface]
- geolocator_platform_interface 2.3.6 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.6 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.2 [async collection file path string_scanner]
- google_maps_flutter_platform_interface 2.1.3 [collection flutter meta plugin_platform_interface stream_transform]
- google_sign_in_platform_interface 2.1.1 [flutter quiver]
- google_sign_in_web 0.10.0+4 [flutter flutter_web_plugins google_sign_in_platform_interface js pedantic]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.1.0 [archive meta xml]
- image_picker_for_web 2.1.4 [flutter flutter_web_plugins image_picker_platform_interface meta]
- image_picker_platform_interface 2.4.1 [flutter http meta plugin_platform_interface cross_file]
- in_app_review_platform_interface 2.0.3 [flutter url_launcher plugin_platform_interface platform]
- js 0.6.3
- json_annotation 4.4.0 [meta]
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- mime 1.0.1
- nested 1.0.0 [flutter]
- octo_image 1.0.1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- path 1.8.0
- path_drawing 0.4.1+1 [vector_math meta path_parsing flutter]
- path_parsing 0.1.4 [vector_math meta]
- path_provider_android 2.0.9 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.4 [ffi flutter meta path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.4 [flutter meta path_provider_platform_interface]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.4 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.0.2 [meta]
- process 4.2.4 [file path platform]
- pub_semver 2.1.0 [collection meta]
- quiver 3.0.1+1 [matcher]
- rxdart 0.27.3
- shared_preferences_android 2.0.9 [flutter meta shared_preferences_platform_interface]
- shared_preferences_ios 2.0.8 [flutter meta shared_preferences_platform_interface]
- shared_preferences_linux 2.0.3 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.2 [flutter flutter_web_plugins meta shared_preferences_platform_interface]
- shared_preferences_windows 2.0.3 [file flutter meta path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_gen 0.9.10+3 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.1 [flutter sqflite_common path]
- sqflite_common 2.1.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.8.0 [path]
- typed_data 1.3.0 [collection]
- url_launcher_android 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_ios 6.0.13 [flutter meta url_launcher_platform_interface]
- url_launcher_linux 2.0.2 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.5 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- uuid 3.0.5 [crypto]
- vector_math 2.1.1
- video_player_platform_interface 4.2.0 [flutter flutter_test meta]
- video_player_web 2.0.4 [flutter flutter_web_plugins meta video_player_platform_interface]
- watcher 1.0.1 [async path]
- win32 2.3.1 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

@abusaadp
Is this on Android or iOS ?
Can you provide how are you implementing onMessage and onBackgroundMessage streams ?
Check this document on how the data and notification works for all three states and see if it helpful.  https://firebase.flutter.dev/docs/messaging/usage#message-types
Also you can cross-check the implementation against the plugin example and see if it helps to identify what could be causing the behavior.

It is on Android. I am using the plugin example only. In emulator it is working fine but on my Android device I get this issue.

@abusaadp
Since it works on emulator but not on Android, that indicates it may not be a plugin issue. Can you check if there's any notification setting on the device that might be conflicting ?

What do you mean by notification setting? I am using an Oppo device. Presently I have only one device with me.

@abusaadp
Thanks for the update and sorry for coming back a bit late on this. I see that you are using lot of third party plugins. Can you try to isolate this issue only limited to minimum plugins and avoid code that uses any of the third party plugins ?

I am facing a more critical issue than this. If I get a notification in background then all the variables in the foreground are null because of spawning of isolates. If the app is in foreground then the app is working fine if I get the notification. If the app is in background I am not able to do anything once I get the background notification as all the app variables are null. I am working on this issue now. Let me try to fix this more critical issue first and then work on my device issue. If you know of any leads to this issue please help me.
Thank you

@abusaadp
I think you are probably hitting this issue: which was concluded to be due to firebase_messaging plugin. https://github.com/flutter/flutter/issues/97840#issuecomment-1048292867


Validation Links

@sdmg15 I checked most of the PRs failing because of redirect, ssl errors and 404/500 errors.

Why can't we add --allow-ssl --allow-redirect in travis.yml.
Shall we remove links which return 404/500.

Please let me know I can help with that. :slightly_smiling_face:

Hello, I don't know but sometime the build fails but the link is still working.
It's why there're some links that I didn't remove.
But if there're other with that http code, yeah we can remove.

hi @sdmg15, i just made pr for this based on recommendation from @kk-r
with the new rule, some sites can be removed from white list, but it can be done on another pr


Fix TCGC changelogs (Lost, wrong type)

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/191/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/191/


New version: KDE.digikam version 8.5.0

Pull request has been created with komac v2.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


fix: Allow Multiple Fraud Proofs per State Root

Fixes issue raised by the auditors.
It wasn't clear to me what exactly the second described case was, would appreciate any help here!

Thanks! Redundant test is removed. Merge whenever you want.


Adjust NavBar style according to latest design (desktop).

The puzzle 1-daf3173f from #1 has to be resolved:
https://github.com/codeforthailand/election-live/blob/02bf204e19a1ae84981e7dc82d7e685257fb3f45/src/components/NavBar.js#L6-L6
The puzzle was created by Thai Pangsakulyanont on 18-Mar-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

New NavBar style looks like this:

The puzzle 1-daf3173f has disappeared from the source code, that's why I closed this issue.


Add screenshot

Please add a screenshot to evaluate the effect of this theme.

Screenshot is already attached to the README

Screenshot is already attached to the README

Nope.


.

Hey there! Ignite CLI seems to be having a problem, eh?
Welllllll, it just might be. First, search the issues to make sure it's not already
here, and if not head over to http://community.infinite.red to
get some help. If you've identified that it's really an Ignite CLI issue, then:

Explain what's going on and preferably how to replicate the issue (bonus points for a repro app)
Run ignite doctor and paste the result below, including the lines with 3 backticks
Delete these instructions! We don't want to look at them. ;)

What's going on?

Steps to reproduce

ignite doctor results:

@bloey Can you provide any information on what's going wrong?


Exception: Backend Arch.vulkan doesn't support dynamic index (with NVIDIA GPU)

Reporting an exception with running "PolyPhy_2D_discrete_data.ipynb" from the experiments folder.
Exception: Backend Arch.vulkan doesn't support dynamic index
Note ----------
Switching arch parameter to "ti.cuda" in  ti.init(arch=ti.gpu, dynamic_index=True)   does load PolyPhy successfully, albeit slowly (~7 fps)
Architecture ----------
OS: Mint Linux 20.3 Cinnamon
CPU: Intel© Core™ i7-4770 CPU @ 3.40GHz × 4
GPU: NVIDIA Corporation GF119 [GeForce GT 610]
Full exception output ----------
TaichiCompilationError:
File "/home/olive/.local/lib/python3.8/site-packages/taichi/_kernels.py", line 183, in ext_arr_to_matrix:
for I in grouped(mat):
^^^^^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
File "/home/olive/.local/lib/python3.8/site-packages/taichi/lang/ast/ast_transformer_utils.py", line 25, in call
return method(ctx, node)
File "/home/olive/.local/lib/python3.8/site-packages/taichi/lang/ast/ast_transformer.py", line 1167, in build_For
return ASTTransformer.build_struct_for(ctx,
File "/home/olive/.local/lib/python3.8/site-packages/taichi/lang/ast/ast_transformer.py", line 1063, in build_struct_for
target, matrix.Vector(loop_indices,
File "/home/olive/.local/lib/python3.8/site-packages/taichi/lang/matrix.py", line 1481, in init
super().init(arr, dt=dt, **kwargs)
File "/home/olive/.local/lib/python3.8/site-packages/taichi/lang/matrix.py", line 468, in init
raise Exception(
Exception: Backend Arch.vulkan doesn't support dynamic index

PolyPhy can currently only be used with CUDA GPUs because of this - @OskarElek knows about this and has plans to add compatibility for Vulkan and Metal once a solution presents itself. Sorry I don't have a more helpful answer :(

Hi @ezbird can you try updating your taichi to 1.5.0 with pip install taichi==1.5.0 and removing the dynamic_index=True from the ti.init call so it just says ti.init(arch=ti.vulkan) and let me know how it runs? Taichi has now updated to allow for dynamic indexing on all backends - I can get 2D notebooks running on my RX 5500 XT GPU.

You might need to also download the Vulkan SDK and runtime from here: https://vulkan.lunarg.com/sdk/home if Taichi throws an error about GGUI and Vulkan not being set up properly.

@deehrlic were you able to get this running without gpu / cuda arch? is yes, please share a copy of the pip listcommand, alongwith info about your machine using uname -a and cat /etc/os-release commands.

Yes using cpu backend works, just runs at low framerates like what ezbird experienced. output of pip list and systeminfo (im on windows) atttached, I am using a conda env just for this project so it should only have libs from running my notebook.
piplist.txt
sysinfo.txt

To my understanding this issue has been resolved. Taichi has removed the dynamic index requirement so Vulkan machines can now run Polyphy with the Vulkan SDK and runtime installed. Even though there are other Vulkan bugs, these are in a different issue.
https://github.com/PolyPhyHub/PolyPhy/issues/46

Just following up here... with Taichi 1.6, I can successfully run "ti.init(arch=ti.gpu, debug=True)" on a linux laptop GPU... Polyphy runs at 22 fps! Nice

Thanks guys for talking through this! Since this is deprecated I'm going to close is now.


TasksController

This should only be accessible by admins and should have the following:
index, show, new, create, edit, update, destroy
authentication required

Should be accessible by sponsors too so that they can view and mark items complete, no?

They'll get a list that is scoped to them (they only see their own tasks and statuses)


fix: remove replica pwd validation config

Address the issue in the BUG https://github.com/terraform-google-modules/terraform-google-sql-db/issues/430.
We are aware that password validation policy cannot be enabled on a read-replica, however this change provides users with an option to separately enable PWD validation policy on a master and promoted replica instances.

/gcbrun

/gcbrun


ValueError: encrypted_ntt and plain_ntt parameter mismatch

Hello, I want to design a neural network using Pyfhel for my Master Thesis, but I encountered this issue during the multiplication of plaintext and ciphertext. Through my investigation, I suspect that it might be influenced by the scale_bits size, but I'm not sure why it's having an effect. Did I do something wrong or if there's something I might have missed? Below is the complete error message:

Traceback (most recent call last):
File "E:\NCKU\ICLab\code\my_code\Pyfhel\HE_CNN.py", line 171, in
x = avg_pooling(x)
File "E:\NCKU\ICLab\code\my_code\Pyfhel\HE_CNN.py", line 65, in avg_pooling
new_matrix_row_temp.append(np.array(sub_matrix).sum()*0.25)
File "Pyfhel\PyCtxt.pyx", line 468, in Pyfhel.PyCtxt.PyCtxt.mul
File "Pyfhel\Pyfhel.pyx", line 1224, in Pyfhel.Pyfhel.Pyfhel.multiply_plain
ValueError: encrypted_ntt and plain_ntt parameter mismatch

This is the main error code:
def avg_pooling(in_image, size=2, step=2):
    print(in_image)
    new_matrix = []
    for i in range(len(in_image[0]) // step):
        new_matrix_row_temp = []
        for j in range(len(in_image) // step):
            sub_matrix = []
            sub_matrix.append(in_image[step*i][step*j:step*j + size])
            sub_matrix.append(in_image[step*i + size-1][step*j:step*j + size])
            new_matrix_row_temp.append(np.array(sub_matrix).sum()*0.25)
        new_matrix.append(new_matrix_row_temp)
    return new_matrix

I get wrong by this model:
x = conv2d(ctxt_message)
# x = square(x)
# relinearize_matrix(HE, x)
x = avg_pooling(x)
x = conv2d(x)
x = square(x)
relinearize_matrix(HE, x)
x = avg_pooling(x)  # the place where get the error

Hi @Shakemilktea, the plaintext multiplication of sub_matrix.sum() with 0.25 seems to be causing the issue (this is the SEAL line of code that causes the error). Could you try encoding that 0.25 in a PyPtxt (e.g., ptxt = HE.encode(0.25)) and calling HE..align_mod_n_scale(sub_matrix.sum(), ptxt)? It looks like you caught a bug!

Hello @ibarrond, thank you for your response! After testing, using HE.align_mod_n_scale(sub_matrix.sum(), ptxt) successfully adjusted the scale_bits of the sub-matrix and the mod_level of ptxt. Unfortunately, the error still exists and seems to not be related to scale_bits. Additionally, if I move the square layer forward, this problem doesn't occur, and only a UserWarning is generated. The results of the decryption are correct in this case. The following are the results of moving the square layer forward:

Expected answer: [[10932.625]]
E:\NCKU\ICLab\code\my_code\Pyfhel\HE_CNN_CKKS.py:56: UserWarning: Cannot align scales 120 and 30 (available rescalings: [30 60])
new_matrix_row_temp.append(np.array(sub_matrix).sum()*0.25)
E:\NCKU\ICLab\code\my_code\Pyfhel\HE_CNN_CKKS.py:32: UserWarning: Cannot align scales 150 and 30 (available rescalings: [30 60 90])
convolution = sub_matrix * kernel
E:\NCKU\ICLab\code\my_code\Pyfhel\HE_CNN_CKKS.py:56: UserWarning: Cannot align scales 180 and 30 (available rescalings: [ 30  60  90 120])
new_matrix_row_temp.append(np.array(sub_matrix).sum()*0.25)
Encrypt answer [[<Pyfhel Ciphertext at 0x159e301f5b0, scheme=ckks, size=2/2, scale_bits=210, mod_level=5>]]
Decrypt answer: [[array([10932.624508])]]

Closing as the OP found a fix


data mismatch in jira collector

For some reason , the count for WIP items are different in hygieia dashboard to what  I see in the Jira dashboard.
I tires setting up various statuses like below but still there is a mismatch
feature.todoStatuses[0]=Backlog
feature.doingStatuses[0]=In Analysis
feature.doingStatuses[1]=Ready for Build
feature.doingStatuses[2]=In Progress
feature.doingStatuses[3]=Ready for Test
feature.doingStatuses[4]=In Test
feature.doingStatuses[5]=Read for Release
feature.doneStatuses[0]=Done
Any idea what I might be missing here?

There are several possible reasons:

The issues have not been updated past your cutoff date in your properties
You have some filter that is not picking up the issues in the UI
You are missing statuses

For point 1, this is what I have in properties file
feature.deltaStartDate=2016-03-01T00:00:00.000000
feature.masterStartDate=2016-03-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2016-03-01T00:00:00.000000
The Jira project was created after the above dates, so don't think that's the cause.
For point 3 I have these defined -
feature.jiraIssueTypeNames=Story,Bug,Task,Sub-Task,Initiative
Surprisingly, what I noticed the collector is not counting the issues with type "Bug", though its defined.
Not sure what filters are you referring to here, can you please give an example?

Check your database in the feature collections. You can use a tool like robomongo. Find the id of a bug that you expect to show up and see if it is found in the database.
By filters I meant scrum vs kanban, team, and project. It's right in the UI.

@avadhmr : can you check db in feature collection.
Make sure status in properties match with statuses in Jira.
for WIP, jira status should be matching
feature.doingStatuses[2]=In Progress

@avadhmr closing due to inactivity, please reopen is this is still happening.


Added LightInject to the list of containers

I have just completed the adapter for LightInject and it would be nice to have a link to the repo in the readme file.

Hi @seesharper, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Nice!!!


The hub name specified on the command line differs from the hub name in the sample code (JavaScript).

In the following command line introduced in the item Set event handler, hub name is "SampleChatHub", but in the JavaScript sample code, const hubName = 'chat'.
az webpubsub hub create -n "" -g "myResourceGroup" --hub-name "SampleChatHub" --event-handler url-template="https://.ngrok.io/eventHandler" user-event-pattern="*" system-event="connected"
The code will not work correctly because of this.

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

ID: 6fc0961a-70a2-32c4-0feb-934aa5356b25
Version Independent ID: eff95be1-41e1-353c-9b88-e151d8c598ed
Content: Tutorial - Create a chat app with Azure Web PubSub service
Content Source: articles/azure-web-pubsub/tutorial-build-chat.md
Service: azure-web-pubsub
GitHub Login: @vicancy
Microsoft Alias: lianwei

@osamum,  Thanks for taking time to share your feedback. We're reviewing this.
@vicancy,
--It looks like the sample, the hubname is sample_chat.  Requesting you to review for hubname consistency, and help make appropriate changes.

--In the "Create the application" in the reference doc section.

--The cmdlet in the doc shows -https://docs.microsoft.com/azure/azure-web-pubsub/tutorial-build-chat?tabs=javascript#set-event-handler

Thanks for reporting the issue! Really apprieciated.


'FileNotFoundError: [Errno 2] No such file or directory:' ... 'nbpresent.min.css'

I just freshly installed nbpresent with conda. When I try to run it I receive the following error:
$ nbpresent -i notebook_name.ipynb -o presentation_namehtml -f html
Traceback (most recent call last):
  File "/home/user_name/anaconda3/bin/nbpresent", line 11, in <module>
    load_entry_point('nbpresent==3.0.2', 'console_scripts', 'nbpresent')()
  File "/home/user_name/anaconda3/lib/python3.7/site-packages/nbpresent/export.py", line 60, in main
    export(**parser.parse_args().__dict__)
  File "/home/user_name/anaconda3/lib/python3.7/site-packages/nbpresent/export.py", line 24, in export
    output, resources = exp.from_filename(ipynb)
  File "/home/user_name/anaconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 178, in from_filename
    return self.from_file(f, resources=resources, **kw)
  File "/home/user_name/anaconda3/lib/python3.7/site-packages/nbconvert/exporters/exporter.py", line 196, in from_file
    return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw)
  File "/home/user_name/anaconda3/lib/python3.7/site-packages/nbpresent/exporters/html.py", line 40, in from_notebook_node
    with codecs.open(filename, mode, encoding="utf-8") as fp:
  File "/home/user_name/anaconda3/lib/python3.7/codecs.py", line 898, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user_name/anaconda3/lib/python3.7/site-packages/nbpresent/static/nbpresent/css/nbpresent.min.css'

I checked the folder and there is not even a css folder. With pdf output I try the same error message (save the traceback path).
I am on ubuntu 18.04.
Any ideas?

I'm also facing the same issue.


Better handling of moving node hierarchies

It would be nice if selecting multiple nodes in the Scene tab would keep the hierarchy when moving them around, specifically when making them children of other nodes.
Selecting and moving only a root note behaves as expected:

Selecting and moving a whole hierarchy under a new parent flattens everything:

Is there any reason you would want to select everything instead of selecting the parent, which essentially moves everything?
For me, it makes sense that it flattens the hierarchy because it's a selection of everything to move into the destination node.
If you wanted to move multiple nodes, like Wall12, and Wall13, which have similar hierarchy to Wall11 into Walls, selecting only the parents Wall12 and Wall13 should maintain their hierarchy.

The minimal example only has one parent, I encountered this inconvenience when having to move multiple Wall hierarchies. It would be nice to be able to shift-click a starting node, scroll 20 nodes down (expanded), shift-click an ending node and then drag them onto the new parent node, instead of either

Minimizing all 20 and shift-selecting them
Control-clicking 20 root nodes

and then dragging them onto the new node.
If the flattening behavior is what makes sense to most people, then maybe add a way to minimize all selected hierarchies to their parent nodes, so it makes mass-moving easier?


OnPinch event doesn't fire reliably

Environment
Please provide the following information about your environment:

Development OS: Windows
Device OS & Version: Android OS version (10)
Version: ViroReact version: 2.17.0 and React Native version: 0.59.0
Device(s): What device(s) are you are seeing the issue on: Google Pixel 2

Description
When using pinch for scaling, the event seems to fire only about 25% of the time.
Reproducible Demo
<ViroBox
    {...combinedProps}
    onPinch={(pinchState, scaleFactor) => {
        console.log("Pinch");
        this._onPinch(pinchState, scaleFactor);
    }}
/>

_onPinch(pinchState: number, scaleFactor: number): void {
    if (pinchState === 2) {
        this.setState(prevState => ({
            scale: [
                prevState.startScale[0] * scaleFactor,
                prevState.startScale[1] * scaleFactor,
                prevState.startScale[2] * scaleFactor
            ]
        }));
    } else if (pinchState === 3) {
        this.setState(prevState => ({
            scale: [
                prevState.startScale[0] * scaleFactor,
                prevState.startScale[1] * scaleFactor,
                prevState.startScale[2] * scaleFactor
            ],
            startScale: [
                prevState.startScale[0] * scaleFactor,
                prevState.startScale[1] * scaleFactor,
                prevState.startScale[2] * scaleFactor
            ]
        }));
    }
}

@HedwigAR did you find any solution?

I managed to make it worked, posted my solution on #757

I managed to make it worked, posted my solution on #757


Interactive object inside invisible container

Consider the following:
const outside = this.add.image(100, 100, 'image.png')
	.setInteractive()
	.on('pointerdown', () => console.log('outside'))

const inside = this.add.image(200, 100, 'image.png')
	.setInteractive()
	.on('pointerdown', () => console.log('inside'))

const container = this.add.container()
container.add(inside)

outside.setVisible(false)
container.setVisible(false)

One image (outside) is created and left on the scene, the other (inside) is put inside the container.
Both outside and container is set not visible.
Clicking in the region where image outside is doesn't do anything, as expected.
Clicking in the region where image inside is do log "inside" in console.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Yeah, this ought to be covered somehow - visible has no parent look-up taking place, i.e. a child could think it is visible, but its parent or a parent of a parent isn't, and it doesn't know about it. It's frustrating because to derive it we'll have to do a parent look-up every time you check the visible property. Will have a think about it some more to try and avoid that for non-container elements.

Since a GameObject (except the Container) can't have children, I don't think that a lookup would impact on performance that much, even in extreme cases (hundreds/thousands of gameobjects in the scene), but I could be (terribly) wrong... =P

The visible property is already checked, this is why outside didn't log anything in your example. The cost I'm talking about comes from having to do this:
if (this.parentContainer)
{
  // look-up all parents to see if any of them return false
}

Which you would have to do for every Game Object, every time it tests if it's visible or not. Adding in this check is a cost on its own, never mind the look-up itself. Globally adding this check to every Game Object impacts performance negatively, even if you're not using Containers at all.

Even adding extra properties like that just adds to the overall complexity / size of every object, even if they don't touch a container in their game. I think it would just be easier to limit the visible look-up check to the input handler alone, or alternatively setting visible = false on a Container immediately passes that value down to all children, so their visible property gets changed too. Then the input system doesn't need updating. It does mean you could then turn a specific child 'back on' again, and it won't render but it'd still pick-up input, but perhaps that's a limitation worth living with.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


add channel:id:unhosted and announcement:announce

I'll purge that folder now. and add a card to refactor this :)


Fix _shift_positions for cancelled reservations

Currently when adding a new application to an apartment that already has cancelled reservations the _shift_positions fails with the following error:
RuntimeError: This function cannot be used for adding a
reservation when the apartment has reservations without a queue_position.

This was caused because cancelled reservations have queue_position == None.
Fix the issue by filtering out the cancelled reservations.

Let's merge this for now, but it would be nice to get a second opinion from @tuomas777. So Tuomas, what do you think, is this good?


[master] sync master branch with upstream opendatahub stable branch

[master] sync master branch with upstream opendatahub stable branch

/lgtm
All is green, love that!