text:
Debugging in Visual Studio

Hey Samuel, this is an awesome head start in creating a provider thanks. I'm also extending it to cater for data sources. It would be useful to debug the behaviour in Visual Studio. Do you have any hints on this? Googling is just bringing up the standard Go based debugging. Thanks!

I got this to work by adding this to appsettings.json:
  "AppSettings": {
    "PortNumber": 5000,
    "DebugMode":  true
  }

Then this for Programs.cs:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Serilog;
using TerraformPluginDotNet.ResourceProvider;

namespace TerraformPluginDotNet
{
    public class Program
    {
        public static X509Certificate2 Cert { get; private set; }

        public static void Run(string[] args, Action<IServiceCollection, TerraformConstructRegistry> configure)
        {
            Cert = CertificateGenerator.GenerateSelfSignedCertificate("CN=127.0.0.1", "CN=root ca", CertificateGenerator.GeneratePrivateKey());

            var appSettings = new ConfigurationBuilder()
                .SetBasePath(Directory.GetCurrentDirectory())
                .AddJsonFile("appsettings.json", optional: true)
                .Build();

            Log.Logger = new LoggerConfiguration()
                .ReadFrom.Configuration(appSettings)
                .CreateLogger();

            try
            {
                CreateHostBuilder(args, appSettings, configure).Build().Run();
            }
            catch (Exception ex)
            {
                Log.Logger.Fatal(ex, "Fatal error occurred.");
                Environment.Exit(1);
            }
            finally
            {
                Log.Logger.Information("Application terminated.");
                Log.CloseAndFlush();
            }
        }

        public static IHostBuilder CreateHostBuilder(string[] args, IConfiguration appSettings, Action<IServiceCollection, TerraformConstructRegistry> configure) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder
                        .UseConfiguration(appSettings)
                        .ConfigureKestrel(x =>
                        {
                            int portNumber = appSettings.GetValue<int>("AppSettings:PortNumber");
                            bool debugMode = appSettings.GetValue<bool>("AppSettings:DebugMode");

                            // HTTP2.0 required for Terraform 1.0
                            x.ConfigureEndpointDefaults(lo => lo.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2);
                            if (debugMode)
                            {
                                x.ListenLocalhost(portNumber);
                            }
                            else
                            {
                                x.ListenLocalhost(portNumber, x => x.UseHttps(x =>
                                {
                                    x.ServerCertificate = Cert;
                                    x.AllowAnyClientCertificate();
                                }));
                            }
                        })
                        .UseStartup<Startup>()
                        .ConfigureLogging((_, x) => x.ClearProviders().AddSerilog())
                        .ConfigureServices(services =>
                        {
                            var registry = new TerraformConstructRegistry();
                            services.AddSingleton(registry);
                            configure(services, registry);
                        });
                });
    }
}

And this for Startup.cs:
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using TerraformPluginDotNet.DataSourceProvider;
using TerraformPluginDotNet.ResourceProvider;
using TerraformPluginDotNet.Serialization;
using TerraformPluginDotNet.Services;
namespace TerraformPluginDotNet
{
public class Startup
{
public IConfiguration Configuration { get; }
    public Startup(IConfiguration configuration)
    {
        Configuration = configuration;
    }

    public void ConfigureServices(IServiceCollection services)
    {
        services.AddGrpc();

        services.AddTransient(typeof(DataSourceProviderHost<>));
        services.AddTransient(typeof(ResourceProviderHost<>));
        services.AddTransient(typeof(IResourceUpgrader<>), typeof(DefaultResourceUpgrader<>));
        services.AddTransient<IDynamicValueSerializer, DefaultDynamicValueSerializer>();
    }

    public void Configure(IApplicationBuilder app, IHostApplicationLifetime lifetime, IWebHostEnvironment env, ILogger<Startup> logger)
    {
        lifetime.ApplicationStarted.Register(() =>
        {
            logger.LogInformation("Application started.");
            string endPoint = $"127.0.0.1:{Configuration.GetValue<int>("AppSettings:PortNumber")}";
            if (Configuration.GetValue<bool>("AppSettings:DebugMode"))
            {
                // Need this info so we can connect Terraform in debugging mode
                Console.WriteLine("Provider started, to attach Terraform set the TF_REATTACH_PROVIDERS env var:\n\n");
                Console.WriteLine($"SET TF_REATTACH_PROVIDERS={{\"fastmarkets.com/fusion/terraformdeploy\":{{\"Protocol\":\"grpc\",\"Pid\":{Process.GetCurrentProcess().Id},\"Test\":true,\"Addr\":{{\"Network\":\"tcp\",\"String\":\"{endPoint}\"}}}}}}");
            }
            else
            {
                Console.WriteLine($"1|5|tcp|{endPoint}|grpc|{Convert.ToBase64String(Program.Cert.RawData)}");
            }
        });

        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }

        app.UseRouting();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapGrpcService<Terraform5ProviderService>();

            endpoints.MapGet("/", async context =>
            {
                await context.Response.WriteAsync("Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
            });
        });
    }
}

}

When the provider starts up in debug mode, it echoes something like:
Provider started, to attach Terraform set the TF_REATTACH_PROVIDERS env var:

SET TF_REATTACH_PROVIDERS={"mywebsite.com/mysubdir/terraformdeploy":{"Protocol":"grpc","Pid":68092,"Test":true,"Addr":{"Network":"tcp","String":"127.0.0.1:5000"}}}

This is Windows specific. First copy and paste the 'SET ...' command into a command prompt. Then you need to make sure your provider is set up correctly. If your script looks like this:
terraform {
  required_providers {
    fusiondeploy = {
      source = "mywebsite.com/mysubdir/terraformdeploy"
      version = "1.0.0"
    }
  }
}

Then, to avoid needing a Terraform registry, start in the same folder as your Terraform scripts and copy your provider to the following location:
mywebsite.com\mysubdir\terraformdeploy\1.0.0\windows_amd64\myprovider.exe
Since you're debugging, the executable won't be used, but just needs to be present. You should be able to run Terraform from the script directory now and set breakpoints in Visual Studio.

Thanks, this looks like a useful tip. I got debugging working by running this project in Visual Studio as normal, and having a separate executable in the Terraform provider directory that just outputs the connection details to the instance being run by Visual Studio.

I have added support for TF_REATTACH_PROVIDERS and some tests that make use of it. Please see the updated README for details.

Nice addition 🙂

authors: PaulVipond SamuelFisher

repo: SamuelFisher/TerraformPluginDotNet


text:
Style: Merge Post UI

What's the suggested design idea?
Currently there are 2 UIs are developed into the system and both of them are being used. This issue is been raised to merge them and utilize only single post component among the application
Add screenshots

In the referred screenshot,
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

let me do this

@Girishbari sure, assigned to you. Few things to implement in this:

show the delete option only on /user/:userId
after clicking on delete icon, an option will appear which asks for yes or no. Use the javascript, no need to implement any library

okay

hi, I was unable to push, will do it today or tomorrow

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Apolloltms is down

In 018c80a, Apolloltms (http://apolloltms.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apolloltms is back up in 4890930.

repo: Sandip-XDS/upptime


text:
Wait for Dom Element to Exist

I have a spec which looks like:
it("shows the rubric title", function (done) {
    expect($('input.rubric-name').val()).toEqual("Test Rubric");
    done();
});

I have included your waitForRouter function as well as log in and log out functions, which all work correctly. However, the text for this element is loaded after the page is rendered (on purpose), and so far the only way I have been able to get the val() to return the correct value is by wrapping the test in a timeout function:
it("shows the rubric title", function (done) {
    Meteor.setTimeout(function () { // need to wait for the data to be loaded
        expect($('input.rubric-name').val()).toEqual("Test Rubric");
        done();
    }, 500);
});

When I don't wrap it in a timeout, the selector returns with a length of 0, and the .val() is undefined. Is there a way (in the Jasmine tests) to wait for a selector to exist, or for an expect to return true? I tried wrapping the test in a while loop to check the length of the selector's return value, but it never changes. The only way I can get it to work is with a timeout. Is there something I'm missing?

1. Try Tracker.flush()
You can try to run a Tracker.flush() and see if the element exists after that.
You should also add this file tests/jasmine/client/integration/beforeEach.js:
beforeAll(function () {
  var self = this;

  self.deferAfterFlush = function (callback) {
    Tracker.afterFlush(function () {
      Meteor.defer(callback);
    });
  };
});

// Wait until iron:router has done its initial work
beforeEach(waitForRouter);

// Guarantee that tests don't run in a ongoing flush cycle.
beforeEach(function (done) {
  this.deferAfterFlush(done);
});

And make sure that the waitForRouter script is in the lib folder. E.g. tests/jasmine/client/integration/lib/wait_for_router.js.
2. Repeatedly check for the element existence
If 1. doesn't work the established strategy is to check in short intervals for the presence of the element and also have a timeout. For example: Check every 500ms for the element. If the element is still not present after 10000ms, make the test fail. I don't have ready to use code for that right now. You can do it with Meteor.setTimeout. Would be nice if you could share the general function that takes the following arguments:

A callback function that is called when the check was successful
A function that returns true when the check was successful
A interval in ms
A timeout in ms

I was already doing most of what you mentioned in option 1, so I ended up going with option 2, and came up with this function:
function waitForSelector(selector, checkInterval, timeout, successCallback) {
    console.log('waiting for selector...');
    var elapsedTime = 0,
        intervalID = Meteor.setInterval(function () {
            elapsedTime += checkInterval;
            if ($(selector).length > 0) {
                console.log('found selector');
                successCallback();
                Meteor.clearInterval(intervalID);
            }
            if (elapsedTime >= timeout) {
                Meteor.clearInterval(intervalID);
            }
        }, checkInterval);
}

and used it like this:
it("shows the rubric title", function (done) {
    waitForSelector('input.rubric-name', 50, 5000, function () {
        expect($('input.rubric-name').val()).toEqual("Test Rubric");
        done();
    })
});

Cool. I have added a slightly improved version to the wiki: https://github.com/Sanjo/meteor-jasmine/wiki/Template-Testing

Could you add a redirect from the meteor-jasmine wiki to https://velocity.readme.io/docs/, where the documentation is currently located? It took a while for me to figure out where it had gone.

@Godsmith Thanks for informing me. I have enabled the wiki again and added messages with the new URLs to all wiki pages.

authors: Godsmith Sanjo conorstrejcek

repo: Sanjo/meteor-jasmine

license: mit

license_source: bigquery


text:
[Feature Request] Combing GroundingDINO and SAM for more automatic inpaint

Hello! Thanks for this great open-source project~
I think it will be more powerful to combine GroundingDINO and SAM and Lama-Cleaner together to build a powerful automatic inpaint system~
Here's our GroundingDINO and Grounded-SAM project:

https://github.com/IDEA-Research/Grounded-Segment-Anything
https://github.com/IDEA-Research/GroundingDINO

And I think it will be very interesting to build such functions~

I have another question about how to use the model defined in lama-cleaner locally like:
from lama_cleaner.model.lama import Lama

model = Lama()
model(image, mask)

Hi, you can refer to this script as example. The meaning of hd_strategy in Config can be referred to here. https://github.com/Sanster/lama-cleaner/blob/37e9137ac70ef9021224a7c3037b21d35b835a01/lama_cleaner/schema.py#L7
import cv2
import PIL
import requests
import numpy as np
from lama_cleaner.model.lama import LaMa
from lama_cleaner.schema import Config

def download_image(url):
    image = PIL.Image.open(requests.get(url, stream=True).raw)
    image = PIL.ImageOps.exif_transpose(image)
    image = image.convert("RGB")
    return image

img_url = "https://raw.githubusercontent.com/Sanster/lama-cleaner/main/assets/dog.jpg"
mask_url = "https://user-images.githubusercontent.com/3998421/202105351-9fcc4bf8-129d-461a-8524-92e4caad431f.png"

image = np.asarray(download_image(img_url))
mask = np.asarray(download_image(mask_url).convert("L"))

model = LaMa("cpu")
result = model(image, mask, Config(hd_strategy="Original", ldm_steps=20, hd_strategy_crop_margin=128, hd_strategy_crop_trigger_size=800, hd_strategy_resize_limit=800))
cv2.imwrite("result.jpg", result)

Hi, you can refer to this script as example. The meaning of hd_strategy in Config can be referred to here.
https://github.com/Sanster/lama-cleaner/blob/37e9137ac70ef9021224a7c3037b21d35b835a01/lama_cleaner/schema.py#L7
import cv2
import PIL
import requests
import numpy as np
from lama_cleaner.model.lama import LaMa
from lama_cleaner.schema import Config

def download_image(url):
    image = PIL.Image.open(requests.get(url, stream=True).raw)
    image = PIL.ImageOps.exif_transpose(image)
    image = image.convert("RGB")
    return image

img_url = "https://raw.githubusercontent.com/Sanster/lama-cleaner/main/assets/dog.jpg"
mask_url = "https://user-images.githubusercontent.com/3998421/202105351-9fcc4bf8-129d-461a-8524-92e4caad431f.png"

image = np.asarray(download_image(img_url))
mask = np.asarray(download_image(mask_url).convert("L"))

model = LaMa("cpu")
result = model(image, mask, Config(hd_strategy="Original", ldm_steps=20, hd_strategy_crop_margin=128, hd_strategy_crop_trigger_size=800, hd_strategy_resize_limit=800))
cv2.imwrite("result.jpg", result)

Thanks a lot for your quick response! I will test this demo later~

BTW, I was wondering if lama-cleaner had already implemented the lama-refiner mentioned here: https://github.com/advimman/lama/pull/112 or not~ @Sanster

Refinement is not implemented, it needs to perform backward, which seems to have high requirements for GPU memory

Refinement is not implemented, it needs to perform backward, which seems to have high requirements for GPU memory

@Sanster is implemented now??

authors: Sanster WaterKnight1998 rentainhe

repo: Sanster/lama-cleaner


text:
[FEATURE] Make a website for the documentation of Drifty

Is your feature request related to a problem? Please describe.
People don't always like to read Documentation from Readme. They want some website which will have a visually appealing look and all the sufficient details of using this application as well as support URLs.
Describe the solution you'd like
A website using html and css containing the documentation present in the README and a navbar should also be present. The support URLs (GitHub issues, My email address, my twitter account for DMs) should be present at the footer.
Additional context
Contributors who want to take over this issue should at first comment below then I will assign them with the task. Multiple assignes can be there. Feel free to contact me for any questions.

hey i can make this

i can make site , footers , nav bar and also add dark mode feature and all

Ok @Shashwat0227 . Assigning you with the task. Make sure that you link this issue to your PR.

thankyou

Hello Sir, I can add all the features which are present in your requirements  and along with this I will make your site using REACT JS which will be scalable if you want to add any more future complex functionality , You can checkout my portfolio for my work regarding REACT JS https://avezqureshi.netlify.app/

@avezqureshi14 You will make the website using react containing the documentation in readme and @Shashwat0227 would modify it with some more items.
Ensure that you both will link this issue to your PRs which will help in tracking the progress of this application.

@avezqureshi14 Can you make the website using react by 4th October ?

@avezqureshi14 Can you make the website using react by 4th October ?

@avezqureshi14 Please reply

As @avezqureshi14 is not replying and @Shashwat0227 is interested to make the website using html, css etc., so, i am assigning him this task. @Shashwat0227 Please link this issue with your PR.
@avezqureshi14 if you want you may open another PR to modify the website by including React.

made the site check em once

ok @Shashwat0227 .

hey can you accept it so that it displays on my hacktoberfest site , and after that i can proceed further with adding footers and other modifications

ok @Shashwat0227

@avezqureshi14 I am closing this issue, but, if you want, you may modify the website through another issue and PR.


text:
Improving dependencies

Hey Sara! 👋

I see this package has jest as a (non-dev) dependency. Is this expected?
Could we add react as a peer dependency?

Two very good points! I'll set up my local enviroment today since I just changed computers and have this done in like an hour! Thank you :)

Thaaaaanks! ✨
I think I might create a pull request to make it possible to localise the aria-label at some point. :)

Thanks for the quick fix Sara. :)
For the translation, we could have a function prop:
<Twitter
  link="https://github.com"
  label={serviceName => 'Share on ' + serviceName}
/>

But that would mean that the "Share on" part would not be localized :(

No, that’s the entire point, it would. Let me clarify my example. This is your current implementation:
https://github.com/SaraVieira/react-social-sharing/blob/be8cb254ba3ee4b151c64c8465e91e3aef7f0b89/src/buttons/factory.js#L23-L31
On line 29 and 30, instead of doing Share on ${ariaName || name}, you would do something like:
typeof label === 'function' // Or the name you want for the prop
  ? label(ariaName || name)
  : 'Share on ${ariaName || name}

Which would allow a user to have something like:
<Twitter
  link="https://github.com"
  label={serviceName => localise('share_label', { serviceName })}
/>

With the English version of share_label being something like “Share that link on {{ serviceName }}” or whatever.
Basically, if a function is being given to you, you call it with the service name, otherwise you default to English. Does it make sense?

authors: HugoGiraudel SaraVieira

repo: SaraVieira/react-social-sharing


text:
[Bug]:No email validation while registering new user

Contact Details
nitishsaini706@gmail.com
What happened?
While registering i tried using random name instead of proper email format .
I was able to register for the same, we need to add email validation while entering mail .
ss for the same is attached

Relevant log output
No response
Code of Conduct

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

@nitishsaini706  Assigned !.

repo: SaraswatGit/PlanZap


text:
🛑 Cloud is down

In 1d3f243, Cloud (https://cloud.selgaraje.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cloud is back up in 90075f9.

repo: Sasillo/upptime


text:
Implement Blink

Based off of these requirements: https://satellite.wiki/doc/rtc-blink-DB9tDPKPaq, implement the Blink trait.
use findings from proof of concept: https://github.com/Satellite-im/simple-webrtc

related: #84 #86 #88 #89

not going to happen by the first milestone

repo: Satellite-im/Uplink


text:
Improve UI by changing background color

Feature description
The Background color is not very attractive. We can enhance the UI by changing the background color. Please assign me this issue.
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

I want to work on this issue as a contributor.
Pleasure Assign so that I can show my skills under GSSoC'23.

@Srija-Burugula Assign this to me under GSSoC'23.

I would like to work on this issue, please assign this to me


text:
Update blogs.html

Added a new blog
🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

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

📄 Note to reviewers

📷 Screenshots

Added a new blog

source: gharchive/pull-request


text:
Update scalafmt-core to 3.7.12

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.3 to 3.7.12
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.7.3).
You might want to review and update them manually.
website/yarn.lock

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #743.

repo: ScalaConsultants/mesmer


text:
AuthMiddleware in children of QRoute.withChild not work

on app_routes.dart
  final routes = <QRoute>[
    WebRoutes().route, // Add the dashboard routes
  ];

on web_router.dart
class WebRoutes {
  final route = QRoute.withChild(
      name: "web",
      path: '/',
      initRoute: '/homePage',
      builderChild: (router) => WebPage(router: router),
      middleware: [],
      children: [
        QRoute(
          path: '/homePage',
          builder: () => MyHomePage(),
        ),
        QRoute(
            path: '/CampaignDetail',
            builder: () => NotFoundView(),
            children: [
              QRoute(
              )
            ]),
        QRoute(
            path: '/profile',
            middleware: [
              AuthMiddleware(),
            ],
            builder: () => Profile()
        ),
        QRoute(
          path: '/login',
          builder: () => const LoginView(),
        ),
      ]);
}

class AuthMiddleware extends QMiddleware {
  final authService = Get.find<AuthService>();

  @override
  Future<String?> redirectGuard(String path) async {

    if (authService.isAuth) {
      return null;
    }
    return '/login';
  }
}

if I click button in website that QR.to profile  [ www.xxx.com/profile] if user not login it will redirect to /login [ www.xxx.com/login ] can work normally
but if I enter [www.xxx.com/profile ] in browser url bar that not Init Page
my web redirect to /login [ www.xxx.com/login ]  but LoginView() not load and show

I found how to solve
when i remove   QR.setUrlStrategy();   in main.dart

it work!!!!   LoginView() loading again
it mean setUrlStrategy have something wrong?

on manual enter [www.xxx.com/profile ] in browser url bar
when use QR.setUrlStrategy();

with out (have # )

I found way to solve with still use setUrlStrategy
becase in root stack tree if user enter web by www.xxx.com/profile  , that are not root of route
the middle will display key[0] web  (root route )  on top of the stack
that mean web  don't have anything to display it will display Init page -> loading problem

by add  QR.navigator.switchTo('/login'); in middleware
class AuthMiddleware extends QMiddleware {
  final authService = Get.find<AuthService>();
  @override
  Future<String?> redirectGuard(String path) async {
    print('authService  run');
    if (authService.isAuth) {
      return null;
    }
    QR.navigator.switchTo('/login');
    return '/login';
  }
}

I not sure it a good way but it work

Using this example, I could not reproduce the problem
import 'package:flutter/material.dart';
import 'package:qlevar_router/qlevar_router.dart';

void main() {
  QR.setUrlStrategy();
  runApp(const MyApp());
}

var isAuth = false;

class AuthMiddleware extends QMiddleware {
  @override
  Future<String?> redirectGuard(String path) async {
    if (isAuth) {
      return null;
    }
    return '/login';
  }
}

class Dashboard extends StatelessWidget {
  final QRouter router;
  const Dashboard(this.router, {super.key});
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(
          title: const Text('Dashboard'),
          centerTitle: true,
        ),
        body: Row(
          children: [
            SizedBox(
              width: MediaQuery.of(context).size.width * 0.2,
              child: const Sidebar(),
            ),
            Expanded(flex: 4, child: router)
          ],
        ),
      );
}

class Sidebar extends StatelessWidget {
  const Sidebar({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.grey.shade800,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          ListTile(
            title: const Text('homePage'),
            onTap: () => QR.to('/homePage'),
          ),
          ListTile(
            title: const Text('profile'),
            onTap: () => QR.to('/profile'),
          ),
          ListTile(
            title: const Text('login'),
            onTap: () => QR.to('/login'),
          )
        ],
      ),
    );
  }
}

class DashboardChild extends StatelessWidget {
  final String name;
  final Color color;
  const DashboardChild(this.name, this.color, {super.key});
  @override
  Widget build(BuildContext context) {
    return Container(
      color: color,
      child: Center(
        child: Text(name, style: const TextStyle(fontSize: 20)),
      ),
    );
  }
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    final routes = [
      QRoute.withChild(
          name: "web",
          path: '/',
          initRoute: '/homePage',
          builderChild: (c) => Dashboard(c),
          children: [
            QRoute(
                path: '/homePage',
                builder: () =>
                    DashboardChild('homePage', Colors.grey.shade900)),
            QRoute(
                path: '/profile',
                middleware: [
                  AuthMiddleware(),
                ],
                builder: () => DashboardChild('profile', Colors.grey.shade700)),
            QRoute(
                path: '/login',
                builder: () => DashboardChild('login', Colors.grey.shade500)),
          ]),
    ];
    return MaterialApp.router(
      routeInformationParser: const QRouteInformationParser(),
      routerDelegate: QRouterDelegate(routes),
      theme: ThemeData.dark(),
    );
  }
}

feel free to reopen if the problem still exists


text:
Problem processing .czi files

Description:
Reporting on behalf of a labmate who doesn't have a Github account: he tried to use step 0 on a .czi file with the most recent version of CellACDC and it produced the attached error file. We had to revert to an older version (1.4.7) to get it to work.
error_acdc_v1.5.0_bioformats.txt
Way to reproduce:
No response
(Optional) Link to data to reproduce error:
No response
Terminal output:
No response
Log file:
No response
Version information:
No response

Hi Jordan,
Thanks for reporting this, it was a stupid bug. It should be fixed in v1.5.1, let me know if it works now, thanks!

authors: ElpadoCan jordanyx


text:
Appimage Icons don't show up

Hello, I just installed gnome pie, and I love it! I do, however, have one slight problem. When showing the open window list, the icons of appimages that are running do not show up. I am using elementary os. Thanks!
-Diego
edit: does anyone else have this problem, or is it on my side?

Getting window icons is something which is pretty hard to do right if you're a simple client application. And it will most likely never work on Wayland...
Can you start Gnome-Pie from the command line (simply type in gnome-pie, but make sure it is not running already) and check for any errors?

authors: Schneegans dCaples

repo: Schneegans/Gnome-Pie


text:
Implement OnyxDataGrid column action

Depends on

#1852

Why?
This feature is needed for our collaboration project PSF.
In case of advanced filtering/sorting or multiple column actions being required, we need to show the actions in a special flyout.
This story is implemented on the basis of the advanced sorting mode.
Design
Figma > Data > Advanced Sorting
Acceptance criteria

[ ] TableFeature type is extended to be able to add column actions
[ ] the actions can be configured for an inline and a list view
[ ] The OnyxDataGrid shows the column actions in a flyout when

[ ] there is more than one action defined
[ ] an action only has a listComponent defined

[ ] The existing sorting feature is extended with a list component as shown in Figma

Implementation details
The basic useTableFeature composable API (defined in #1852) is extended like this:
export type TableFeature< /* ... */> = {
  // same as before ...

  /**
   * Allows the modification of the header columns before render.
   */
  header?: {
    /** actions are shown after the header label, later `listComponent` can be added */
    actions?: {
      label: string;
      /** optional icon component to be shown in the column header, if not defined list mode will be enforced */
      iconComponent?: Component;
      /** components to render in the list mode of the column actions, if multiple are defined, they will be grouped together */
      listComponents: Component | Component[];
      onTrigger: (event: MouseEvent) => void;
    }[];
  };
};

Applicable ARIA Pattern

MenuButton
SortableTable

Definition of Done

covered by tests

[ ] functional tests (Playwright or unit test)
[ ] visual tests (Playwright screenshots)

[ ] follow-up tickets were created if necessary
[ ] updated version + documentation is deployed
[ ] Storybook can show the feature
[ ] Storybook code snippet of new/changed examples are checked that they are generated correctly
[ ] Namings are aligned with Figma

Approval

Storybook
Deployed Docs
[ ] approved by designer @jannick-ux
[ ] approved by dev

This ticket is not blocked anymore, see https://github.com/SchwarzIT/onyx/blob/fa44d9528d44615a4985748dc3173aac11dddf8b/packages/sit-onyx/src/components/OnyxDataGrid/features/index.ts#L33

repo: SchwarzIT/onyx


text:
Quickdraw badge, thanks

...

no problem.


text:
Iterators + some dots and @views + type stability

In this PR,

I added iterators to be used for randomized QMC.
These iterators are called DesignMatrix. Not sure of the name, I tried to stick to the generating_design_matrices term (which means different things in different communities, btw).
Now generating_design_matrices are simply defined as collect(DesignMatrix).
These iterators are meant to save memory by avoiding allocating several arrays when doing this kind of computation

map(DesignMatrix) do x
    f(x)
    #etc
end

I added test and doc for that.

By rewriting one or two things, I managed to be able to choose the type of arrays used in scrambling methods, allowing for Float32, Rational (some of that was already possible). It also works with intermediate-bit arrays. Indeed, they do not need Int64, they can be set to Int32 to save memory! See the doc and tests.

I discovered thanks to @gaspardbb that putting @views at some places could improve freely (I hope so) performances. I did that with some dots.
Overall performances were significantly improved when I tested that.

I did not manage to do things separately in 3 PRs because of my chaotic workflow.

The formatting changes are due to a change in the version of the formatter and makes it hard to review what is actually changed in this PR. Could you please revert the formatting so it's just the substantive changes in this PR? Thanks.

The design matrix iterators look great. Just small comments around and I think it's good to go. Also it looks like tests fail because there's a tolerance that's maybe a little too tight? Take the sequence out a bit longer?
Making sure @Vaibhavdixit02 takes a look so we change the GlobalSensitivity code to do better.

The design matrix iterators look great. Just small comments around and I think it's good to go. Also it looks like tests fail because there's a tolerance that's maybe a little too tight? Take the sequence out a bit longer?

Thanks.
About the test, is it better to impose a seed? Or to relax (atol here) the testing so it works every time with very high probability ? (the previous CI test were successful and nothing was changed in that file).

Relaxing the atol a little bit or taking a longer sequence is probably good. It just needs a really high probability of passing. Fixing random seeds in tests is something that can be done but can have odd consequences sometimes.

authors: ChrisRackauckas dmetivie


text:
" display': undefined method session' for nil:NilClass" running correlation

Hi there,
I'm trying to create a correlation matrix using the example here:
http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Statistics/Correlation Matrix with daru and statsample.ipynb
I've got iruby installed, ipython, jupyter-console all installed.  I can run iruby from the command line with no errors.  I'm trying to run the above example from a file like so:
$ ruby lib/correlation.rb
/Users/tansaku/.rvm/gems/ruby-2.2.2/gems/iruby-0.2.7/lib/iruby/utils.rb:8:in `display': undefined method `session' for nil:NilClass (NoMethodError)
	from lib/correlation.rb:34:in `block in <main>'

and I'm not sure what to do with the above error that corresponds to this line of code: IRuby.display ds.head
Any ideas?  Should I be working through the IRuby console?
Many thanks in advance

follow up question on this.  I've switched over to pp to just dump the data, and I'm getting a load of nils in my correlation matrix which I don't understand:
→ ruby lib/correlation.rb
== DataFrame ==

#<Daru::DataFrame:70364945937240 @name = 2cec4fef-c7b6-4a55-9481-04966136189d @size = 10>
           coverall_c days_to_of reek_warni rspec_fail rspec_test rubocop_of
         0         99        207          1          0         13          6
         1         95        179          4          0          9          2
         2         99        298          1          0         12         10
         3         99        298          1          0         15          0
         4         94        298          3          0          0         31
         5         97        298          3          0         15         12
         6         99        298          0          0         12         17
         7         94        298          1          0          0          4
         8        100        298          0          0         19         14
         9        100        298          1          0         16          2

== Correlation Matrix ==
Matrix[[1.0, 0.10414115946373498, nil, nil, nil, nil], [0.10414115946373498, 1.0, nil, nil, nil, nil], [nil, nil, 1.0, nil, nil, nil], [nil, nil, nil, 1.0, nil, nil], [nil, nil, nil, nil, 1.0, nil], [nil, nil, nil, nil, nil, 1.0]]
Analysis 2015-10-25 18:40:21 +0000

Any ideas why?  Do I need to normalize all the data or something?

looks like it was normalization that was required ...

repo: SciRuby/statsample


text:
Support for ESMF Format offline weights

✨ Feature Request
It would be great if iris-esmf-regrid supported weight files generated offline.
Motivation
We have requirements to regrid high resolution source data to UGrid meshes.  The weight generation for this is expensive (e.g. orography source data regrid to C768 on Jasmin required 550Gb RAM for 8 hours).  It would be fantastic if we could perform this weights generation step once, and store the weights for future use.
In addition, by using the ESMF weights file format (or another "standard" weights file format), we get the opportunity to use weight files generated by other tools for e.g. consistency with other processing.
Additional context
ESMF weight file format is currently documented here: http://earthsystemmodeling.org/docs/release/ESMF_8_3_0/ESMF_refdoc/node3.html#sec:weightfileformat  They are quite aggressive at deleting old versions of docs when new versions of ESMF are released, though, so that link will not be valid indefinitely.

Perhaps the simplest thing would be to write a converter to work with the existing io module, which would avoid us needing to write any further ingestion code.

Sounds good to me.  👍  I was in a meeting yesterday with @stephenworsley and got the impression that iris-esmf-regrid did not have support for offline weights.  If the solution is to have a standalone format converter, or to extend the io module, then I think we have a pathway that works for us.

I didn't mean to close this though! We'll still need to work on the converter

authors: hdyson trexfeathers

repo: SciTools-incubator/iris-esmf-regrid


text:
Lockfile update and Gregorian to Standard calendar change

🚀 Pull Request
Description

This PR gets Iris working with cf-units v3.1.  In line with the latest CF Conventions, the calendar formerly known as "gregorian" is now "standard".  You can still instantiate a cf_units.Unit with calendar="gregorian" but it gets silently changed to "standard".
Aside from the lockfile update, this PR is just a lot of find-and-replace:

gregorian --> standard
CALENDAR_GREGORIAN --> CALENDAR_STANDARD

Also, the third commit renames some cml files for consistency.
If you grep this branch, you will still find a few instances of gregorian, which I thought made sense to leave:

docs/src/spelling_allow.txt
docs/src/whatsnew/2.1.rst describes an old version so doesn't make sense to update.
lib/iris/tests/test_cf.py I think this is testing what you get out of a NetCDF file, before cf_units gets involved in creating coords, etc.  In any case this test failed when I changed it to "standard".
lib/iris/tests/unit/coord_categorisation/test_add_categorised_coord.py has a dictionary that already includes both "standard" and "gregorian".

Closes #4846

Consult Iris pull request check list

@rcomer As a side-effect this PR should result in the documentation build error on readthedocs disappearing, now that cf-units v3.1.0 is available on PyPI.

authors: bjlittle rcomer

repo: SciTools/iris


text:
Write helper functions

Consider this "white-paper".
Step one
Identify all helper functions in the above white paper including to be generated ones like

assocArgsExceedRecordLimit
assocArgsAreExistingIDs
countAllAssociatedRecords
validForDeletion

Step two
Implement the above identified candidates. The general helpers first, then the ones that need to be generated. For the general ones write concise and short unit tests. For the to be generated ones write unit tests that for now only verify that the generated code is as expected (String-Comparison), see other unit tests in the code generator.

Use a feature branch originating from master

The function checkExistence was renamed to filterOutIdsNotInUse, which is a closer match to the implementation. A check for existence can be achieved by (await filterOutIdsNotInUse(...)).length === 0.

authors: asishallab tmvoe

repo: ScienceDb/graphql-server-model-codegen


text:
Changes to the way download works

Checklist

[X] I have already read docs/Tips.md, but my feature is not implemented.
[X] My suggested feature was not mentioned by others, and it is not a duplicate feature.

Summary
Recently HoYoverse just announced that Genshin Launchers will be doing an A/B test between the Old Download method and the new one which download a ton of Chunked Files that use zstd-compressed method.
There will be a lot of download links and passwords for those.
Currently the Collapse Team are aware about this.
I’m also suspecting that other HoYoverse Games will be using this method instead. (Including the upcoming game Zenless Zone Zero)
Here’s the main File URLs
https://sg-public-api.hoyoverse.com/downloader/sophon_chunk/api/getBuild?branch=main&package_id=Ul0pnnZo8h&password=SSaKNEvZjrK0&plat_app=cxhpq4g4rgg0
https://sg-public-api.hoyoverse.com/downloader/sophon_chunk/api/getBuild?branch=predownload&package_id=Ul0pnnZo8h&password=yran8QsvU88T&plat_app=cxhpq4g4rgg0
Solution or Design
Changes how the new Download method work

Thanks for your suggestion, you help me a lot.

Traced by #725

authors: Scighost studiobuttermedia

repo: Scighost/Starward


text:
[Bug]: Extensions disappear after vscode update

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
vscode
Expected/Current Behaviour
Extensions disappeared after update. It seems that <sccop_dir>\persist\vscode\data\extensions\extensions.json has paths containing the old version of vscode (1.74.0 instead of 1.74.1 in my case):
[{"identifier":{"id":"ms-toolsai.jupyter-keymap","uuid":"9f6dc8db-620c-4844-b8c5-e74914f1be27"},"version":"1.0.0","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-toolsai.jupyter-keymap-1.0.0","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-toolsai.jupyter-keymap-1.0.0","scheme":"file"},"metadata":{"id":"9f6dc8db-620c-4844-b8c5-e74914f1be27","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056174,"preRelease":false}},{"identifier":{"id":"ms-toolsai.vscode-jupyter-slideshow","uuid":"e153ca70-b543-4865-b4c5-b31d34185948"},"version":"0.1.5","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-toolsai.vscode-jupyter-slideshow-0.1.5","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-toolsai.vscode-jupyter-slideshow-0.1.5","scheme":"file"},"metadata":{"id":"e153ca70-b543-4865-b4c5-b31d34185948","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056184,"preRelease":false}},{"identifier":{"id":"ms-toolsai.vscode-jupyter-cell-tags","uuid":"ab4fb32a-befb-4102-adf9-1652d0cd6a5e"},"version":"0.1.6","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-toolsai.vscode-jupyter-cell-tags-0.1.6","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-toolsai.vscode-jupyter-cell-tags-0.1.6","scheme":"file"},"metadata":{"id":"ab4fb32a-befb-4102-adf9-1652d0cd6a5e","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056191,"preRelease":false}},{"identifier":{"id":"ms-toolsai.jupyter-renderers","uuid":"b15c72f8-d5fe-421a-a4f7-27ed9f6addbf"},"version":"1.0.12","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-toolsai.jupyter-renderers-1.0.12","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-toolsai.jupyter-renderers-1.0.12","scheme":"file"},"metadata":{"id":"b15c72f8-d5fe-421a-a4f7-27ed9f6addbf","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056179,"preRelease":false}},{"identifier":{"id":"ms-toolsai.jupyter","uuid":"6c2f1801-1e7f-45b2-9b5c-7782f1e076e8"},"version":"2022.11.1003412109","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-toolsai.jupyter-2022.11.1003412109","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-toolsai.jupyter-2022.11.1003412109","scheme":"file"},"metadata":{"id":"6c2f1801-1e7f-45b2-9b5c-7782f1e076e8","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056169,"preRelease":false}},{"identifier":{"id":"ms-python.python","uuid":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5"},"version":"2022.20.1","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-python.python-2022.20.1","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-python.python-2022.20.1","scheme":"file"},"metadata":{"id":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067056160,"preRelease":false}},{"identifier":{"id":"ms-python.isort","uuid":"4ad0ce32-ff3f-49f0-83b5-93e5dc00cfff"},"version":"2022.8.0","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-python.isort-2022.8.0","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-python.isort-2022.8.0","scheme":"file"},"metadata":{"id":"4ad0ce32-ff3f-49f0-83b5-93e5dc00cfff","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067066524,"preRelease":false}},{"identifier":{"id":"ms-python.vscode-pylance","uuid":"364d2426-116a-433a-a5d8-a5098dc3afbd"},"version":"2022.12.20","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-python.vscode-pylance-2022.12.20","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-python.vscode-pylance-2022.12.20","scheme":"file"},"metadata":{"id":"364d2426-116a-433a-a5d8-a5098dc3afbd","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067066511,"preRelease":false}},{"identifier":{"id":"twxs.cmake","uuid":"2be7cf14-2603-402e-9771-fd79df83cdf8"},"version":"0.0.17","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\twxs.cmake-0.0.17","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/twxs.cmake-0.0.17","scheme":"file"},"metadata":{"id":"2be7cf14-2603-402e-9771-fd79df83cdf8","publisherId":"b5ab7991-81a8-4557-af54-4cb8e01e85c1","publisherDisplayName":"twxs","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067286860,"preRelease":false}},{"identifier":{"id":"ms-vscode.cmake-tools","uuid":"7c889349-8749-43d4-8b5e-08939936d7f4"},"version":"1.12.27","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-vscode.cmake-tools-1.12.27","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-vscode.cmake-tools-1.12.27","scheme":"file"},"metadata":{"id":"7c889349-8749-43d4-8b5e-08939936d7f4","publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067287353,"preRelease":false}},{"identifier":{"id":"tht13.rst-vscode","uuid":"9a76007e-6367-44f0-b175-2439b4e81196"},"version":"3.0.1","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\tht13.rst-vscode-3.0.1","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/tht13.rst-vscode-3.0.1","scheme":"file"},"metadata":{"id":"9a76007e-6367-44f0-b175-2439b4e81196","publisherId":"78ff7982-87b9-4f5c-8886-f79f581462f0","publisherDisplayName":"Thomas Haakon Townsend","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067435219,"preRelease":false}},{"identifier":{"id":"trond-snekvik.simple-rst","uuid":"ff749cb0-bd02-4ca4-9f69-d6157655ba32"},"version":"1.5.2","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\trond-snekvik.simple-rst-1.5.2","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/trond-snekvik.simple-rst-1.5.2","scheme":"file"},"metadata":{"id":"ff749cb0-bd02-4ca4-9f69-d6157655ba32","publisherId":"c2e3f2a2-1986-4784-a2bd-308925f721d7","publisherDisplayName":"Trond Snekvik","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1671067481732,"preRelease":false}},{"identifier":{"id":"ms-vscode.cpptools","uuid":"690b692e-e8a9-493f-b802-8089d50ac1b2"},"version":"1.13.8","location":{"$mid":1,"fsPath":"c:\\Users\\hr73\\scoop\\apps\\vscode\\1.74.0\\data\\extensions\\ms-vscode.cpptools-1.13.8-win32-x64","_sep":1,"path":"/c:/Users/hr73/scoop/apps/vscode/1.74.0/data/extensions/ms-vscode.cpptools-1.13.8-win32-x64","scheme":"file"},"metadata":{"id":"690b692e-e8a9-493f-b802-8089d50ac1b2","publisherId":"5f5636e7-69ed-4afe-b5d6-8d231fb3d3ee","publisherDisplayName":"Microsoft","targetPlatform":"win32-x64","isApplicationScoped":false,"updated":true,"isPreReleaseVersion":false,"installedTimestamp":1671181519488,"preRelease":false}}]

All the extensions still remain in the folder, but vscode can not load then:

Steps to Reproduce
PS> scoop update vscode
PS> scoop cleanup vscode --cache

After update (1.74.0 to 1.74.1 in my case) and cleanup old version, then open vscode. Previous installed extensions aren't loaded anymore.

Possible Solution
Do some work with extensions.json?
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
16986b8bf (HEAD -> master, origin/master, origin/HEAD) anki: Update to version 2.1.55

'main' bucket:
b4ed35b81 (HEAD -> master, origin/master, origin/HEAD) x265: Update to version 3.5+73-a7ca459

'versions' bucket:
6aef044de (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.11.0-dev.815

Scoop Config
PS> scoop config

last_update                       scoop_branch scoop_repo
-----------                       ------------ ----------
2022-12-16T06:09:46.4196558-03:00 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.19041.1682
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1682
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares
No response

in data/extensions/extensions.json
        "location": {
            "$mid": 1,
            "fsPath": "c:\\Users\\20577\\Scoop\\apps\\vscode\\1.74.0\\data\\extensions\\vue.volar-1.0.13-win32-x64",
            "_sep": 1,
            "path": "/c:/Users/20577/Scoop/apps/vscode/1.74.0/data/extensions/vue.volar-1.0.13-win32-x64",
            "scheme": "file"
        },

As you can see, it uses 1.74.0/data, which you may have cleaned up. So you can just replace 1.74.0 with current or create a symlink of 1.74.0

This is the workaround that I was using, but we'll have this issue everytime we update and install new extension or update extensions, as it writes the current vscode version in the paths inside extensions.json, instead of "current".

It's also a VSCodium issue as well. See https://github.com/microsoft/vscode/issues/169359 for more.

@rogerlga I did this as a workaround, DO NOT DOWNGRADE. I would start by closing VSCode, and removing all the extensions in your persist/vscode/data/extensions folder. After that, open VSCode and start manually re-installing all your extensions.

Same problem here.

While I would not describe @Zliced13 workaround as a solution, it did work for me.
Let us know if you find a way to not delete all our extensions.
I can't imagine how painful it must be for somebody living in a country without fast internet.

Yeah, I agree with @g-berthiaume here. If anybody has a better alternative to my workaround, I would love to see it.

Was just about to create an issue here.
This is the third time all my extensions vanished and I have to install everything again....

You don't need to remove all extensions. The following powershell snippet fixes the path of the extensions in the extensions.json file:
PS>  (Get-Content $env:USERPROFILE\scoop\persist\vscode\data\extensions\extensions.json).replace('1.74.1','1.74.2') | Set-Content $env:USERPROFILE\scoop\persist\vscode\data\extensions\extensions.json

I made a PR to fix the issue. I have tested it with the 1.74.1 to 1.74.2 update and it worked for me.

I badly copy/pasted my fix for vscode in #10074 .  I have made a new PR: #10089. Sorry about that.

authors: Zliced13 antoinemartin g-berthiaume otavio-silva rogerlga slqy123

repo: ScoopInstaller/Extras

license: Unlicense


text:
Theme support for d3fc

Once the CSS files are under control and the automatic coloring is there- why not give a theme support for d3fc? It could be interesting to have all d3fc charts change their default appearance based on a single CSS file that could be amended either by us providing some default theme options or by the users to match their websites / products?

I'm really not too keen on this for a few different reasons:

We keep our CSS very 'slim' which should make it easy for someone to theme the chart.
Creating themes would be another 'fragile' thing to maintain. It is not readily testable.
Everyone else does it!

For me (3) is the most significant one. The whole reason we are doing d3fc is because we believe we have something different to offer, a unique perspective. As a result, we have been careful not to veer off into rolling our the usual patterns and solutions.

I used a lot of http://www.primefaces.org/ in the past so, they do themes great and thats why I may be a bit biased.
I agree with the point 2 and 3. For 1 though- isn't it easier to style a chart if we would never to use incline colors / css and fully rely on good named classes in CSS? Could this be a good compromise?

authors: ColinEberhardt bjedrzejewski


text:
Update Chat Styles - Avatars

Feature Request
Description
Add avatars to chat bubbles.
Screenshots

Additional context
Figma
The design has a 70px grey circle (#eeeeee) with 15px of spacing on all sides. This might need flexed a little to use REM values.
Questions:

Still need designs for the user avatars. - Mark has added them to figma!

Acceptance criteria
Ensure that colour contrast passes accessibility standards.
Firefox is good at this. There's an accessibility tab in dev tools where you can see colour contrast warnings.

avatar should be enclosed in a circle
chat bubble should not be shorter than the avatar circle/icon
chat bubble CAN be taller than the avatar
spacing on both left and right sides should be equal, and roughly equal to the space vertically between chat bubbles (around 1rem)

testing

Tested on Edge, Chrome and Firefox, new avatars and chat bubbles are looking good:

Moving this to done.

authors: dhinrichs-scottlogic smalyon-scottlogic

repo: ScottLogic/prompt-injection


text:
Axis: tick labels overlap for extremely small plots

Bug Report
Issue: Without changing tick density, labels can overlap when the plot is squashed small enough
Reproducing: Start the Live Data (Growing) WPF demo and squash down the window

System Details

ScottPlot Version: 4.1.59
Operating System: Windows 10
Application Type: WPF
.NET Version: .NET 6 / .NET 7

Made some great progress here! #2577 It'll be in the next release today or tomorrow 🚀

repo: ScottPlot/ScottPlot


text:
Lower desired energy buffer for simulator

This simply makes testing using the simulator easier.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

4
0
0
4

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

Esryok
✔

dragoonreas
✔

screepas
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True

authors: ScreepsQuorumBot tedivm

repo: ScreepsQuorum/screeps-quorum


text:
How to work with bytearray?

Hello, could you please help me with bytearrays?
byte_array = bytearray.fromhex("93 14 2C 08")
array = ctx1.call("calculateKey", byte_array)

but i got
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x93 in position 0: invalid start byte

Thank you.

Why bytearrays? JavaScript has no this type, how does it work in JavaScript?
Here use string (ctx.eval) and supported types by json (ctx.call) to pass arguments to the backend engines.

Thank you for responce. Actually, I am not good in JS :)
Here is a part code of JS script:
function calculateKey(seed) {
    if (seed.length < 4) {
        throw "seed length must be at least 4";
    }

    var hiSeed = ((seed[0] << 8) + seed[1]) & 0xFFFFFFFF;
    var loSeed = ((seed[2] << 8) + seed[3]) & 0xFFFFFFFF;

and I still cant understand how to pass my byte arrar to that function :(

Looks like the seed is a array (list in Python) object, and its members' type is Number (int in Python). So, the code may like this:
byte_array = list(bytes.fromhex("93 14 2C 08"))  # both bytes and bytearray are OK
array = ctx1.call("calculateKey", byte_array)

authors: SeaHOH pompushko

repo: SeaHOH/jsengine


text:
more options for sea-orm-cli

i use sea-orm-cli to generate model，and the work flow like update database schema, sea-orm-cli generate, web api mod use it.
with this work flow, generated code is immutable，but may be add more options to fit it.
my English is too poor, forgive me for using Chinese.
发现的问题有几个:

sea-orm-cli generate的 output-dir 是 src/model，在这个目录里，我会有一个impls目录，用来放Model额外的implement，所以需要model中mod.rs的生成是可选的
prelude.rs的生成是否可选，我觉得并不需要prelude，都是直接通过mod名称引用的
PartialEq的derive是否可选，我需要自定义排序
需要将某些字段的类型指定为Json，比如MySQL的text类型

Hey @vincascm, welcome!
I'm translating your comment with Google Translate, please do let me know if the translation is inaccurate.

i use sea-orm-cli to generate model, and the work flow like update database schema, sea-orm-cli generate, web api mod use it.
with this work flow, generated code is immutable, but may be add more options to fit it.
my English is too poor, forgive me for using Chinese.
There are several problems found:

The output-dir of sea-orm-cli generate is src/model. In this directory, I will have an impls directory to store additional implements of the Model, so the generation of mod.rs in the model is optional.
Whether the generation of prelude.rs is optional, I don’t think prelude is needed, all are directly referenced by mod name
Whether the derive of PartialEq is optional, I need to customize the sort
Need to specify the type of some fields as Json, such as the text type of MySQL

Reply:

The output-dir of sea-orm-cli generate is src/model. In this directory, I will have an impls directory to store additional implements of the Model, so the generation of mod.rs in the model is optional.

Hmmm... okay so you want to organize the code in a different way. Could you clarify what will be stored in impls directory?

Whether the generation of prelude.rs is optional, I don’t think prelude is needed, all are directly referenced by mod name

Yeah, this could be optional but this is just one file, so I guess user can delete it manually if they don't want it. We could add an option to skip the generation of it if you really want to.

Whether the derive of PartialEq is optional, I need to customize the sort

We would add an option for it as well.

Need to specify the type of some fields as Json, such as the text type of MySQL

This has to be carefully consider. The part of code responsible of it:
https://github.com/SeaQL/sea-orm/blob/cc4904993a190e827f3031210bd965e6f46c9165/sea-orm-codegen/src/entity/column.rs#L25-L55

@billy1624  thanks your reply,

add some mod in src/model,  it's just a pattern such as impl extra methods for model, to express more precisely business logic on model, and this layer encapsulates closest to CRUD of model, so i think it should be in src/mod
the Json here refers to a converted type, which in the database may be TEXT, BLOB, or other types that can be converted to Json. If there is no additional information, these types are converted to directly corresponding types, such as String or Vec < U8 >

repo: SeaQL/sea-orm


text:
Add Desktop Icon

Maybe pull the icon from icarus_1

71d4570


text:
🛑 IPFS Gateway 1/2 is down

In e8d517d, IPFS Gateway 1/2 (https://ipfs.seanstaffiery.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IPFS Gateway 1/2 is back up in 80fb5f3.


text:
Create highlighter for regular expressions

Parts of the entered regular expression should be highlighted while entering the expression.
There may be different highlightings. I imagine two basic ones:

highlight brackets (round, square and curly brackets) when the text cursor stands at them like in IDEs (the part they embrace may also be highlighted, though differently)
highlight errors within the expression

So this could look something like this:

The highlighter was created in regExpHighlighter.js, regExpHighlighter.html and regExpHighlighter.css.
Sebastian

repo: SebastianZ/TRex


text:
Integrate date picker in NewTaskSheet

Beschreibung
Datumsauswahl in der NewTaskSheet einbauen, damit man ein Datum für die Aufgabe festlegen kann.
Mögliche Implementierung
Datepicker aus den Android View Components
Checkliste
Bitte bestätige, dass du die folgenden Punkte überprüft hast, bevor du das Issue einreichst:

[x] Ich habe überprüft, dass diese Funktion nicht bereits vorgeschlagen wurde
[x] Ich habe mögliche Implementierungsdetails beschrieben

Datum kann ausgewählt werden, allerdings wird es noch nicht mit gespeichert

repo: SecondBrainPlanner/SecondBrain


text:
🛑 CloudsHSM - Europe (Cluster) is down

In 3d40f9f, CloudsHSM - Europe (Cluster) ($SECRET_DE_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CloudsHSM - Europe (Cluster) is back up in 211e9ce.

repo: SecurosysFernandez/clouds-uptime


text:
Add the possibility to include tests in a group and not only at the root

Currently, the action suite include or suite addrange don't support to redirect the test to a specific group, they are always redirected to the root. It should be possible to do it.
suite include file 'myFile.nbitx' into 'dimension|hierarchy';

At the opposite of generate, the group's name cannot be based on a template because this action is not linked to the cases.

available in 1.21.0-alpha.1+267 or at https://ci.appveyor.com/project/Seddryck/nbi/builds/26570459/artifacts

repo: Seddryck/NBi


text:
Manual installation on Debian 12

This ticket is to track the issue with building on the current version of Debian as of the time of writing (Debian 12).
Following the manual installation instructions on Debian 12 on a Raspberry Pi 3 B results in a compilation failure when building wheel for numpy.  This occurs when installing pip requirements.txt. The error is simply a return code of 1 from gcc with no accompanying error message.
error: Command "aarch64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-aarch64-3.11/numpy/core/include/numpy -Ibuild/src.linux-aarch64-3.11/numpy/distutils/include -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/src/_simd -I/home/pi/seedsigner/include -I/usr/include/python3.11 -Ibuild/src.linux-aarch64-3.11/numpy/core/src/common -Ibuild/src.linux-aarch64-3.11/numpy/core/src/npymath -c build/src.linux-aarch64-3.11/numpy/core/src/multiarray/arraytypes.c -o build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/multiarray/arraytypes.o -MMD -MF build/temp.linux-aarch64-3.11/build/src.linux-aarch64-3.11/numpy/core/src/multiarray/arraytypes.o.d" failed with exit status 1
It's possible this message from a few pages back in the output is related (although the left hand operand looks fine to me...).
aarch64-linux-gnu-gcc: numpy/core/src/multiarray/common.c
      numpy/core/src/multiarray/arraytypes.c.src: In function ‘get_dummy_stack_array’:
      numpy/core/src/multiarray/arraytypes.c.src:65:26: error: lvalue required as left operand of assignment
         65 |     Py_TYPE(&new_fields) = NULL;
            |                          ^

Full output of the command was too big for Microsoft GitHub to handle (> 64Kb), so I've put it here:
https://controlc.com/56b25e4a
The test system started with a stock Raspberry Pi OS image (Debian 11, aka bullseye) and then upgraded to bookworm (Debian 12) using the standard apt commands.
There were some changes required for doing the manual install on Debian 12. Some examples: Python 3.11 is already installed. Debian wants all python packages to be installed with apt and go as far to only allow pip in a virtual environment, and even then only the pip executable that is in that virtual environment will function.
Below are the commands that should reproduce this issue on Debian 12:
sudo apt install -y libzbar0 libbcm2835-dev python3-virtualenvwrapper git python3-pip python3.11-venv
git clone https://github.com/SeedSigner/seedsigner
cd seedsigner
python3 -m venv `pwd`
./bin/pip install -r requirements.txt

I didn't run through the entire setup process, but I tried to reproduce this issue from last year and was unable to do so. The steps to repro were slightly different because ./bin/pip doesn't seem to be there anymore, but the updated instructions below are what I used to test.
sudo apt install -y libzbar0 libbcm2835-dev python3-virtualenvwrapper git python3-pip python3.11-venv
git clone https://github.com/SeedSigner/seedsigner
cd seedsigner
python3 -m venv `pwd`
. bin/activate
python -m pip install -r requirements.txt

I didn't run through the entire manual instructions again, but if they work now we can close this ticket.

repo: SeedSigner/seedsigner


text:
i can't even

8ro I literally struggle with setting this thing up!!!!!!!
Instructions unclear, npm installed minecraft

you can
just do what instructions say

removed modclean

authors: FaSciCake SeffUwU

repo: SeffUwU/DNDMusicBot


text:
flexmeasures entsoe import-day-ahead-generation

A CLI command for getting tomorrow's info ENTSO-E has about generation, with the goal to estimate CO2 content.

At least the roundtrip works now. Some topics for eventual immediate attention:

Any validation we could add in place (for preventing bad surprises)?
Change / adapt the source data (see extensive discussion in this PR). Document the shortcomings or issues to be evaluated.

I suggest we merge this PR now (unless you find other issues to fix, of course) and make those things above into new issues, to be worked on next.

repo: SeitaBV/flexmeasures-entsoe


text:
Data model based on timely beliefs

Our roadmap for this comprises:

[x] Return BeliefsDataFrame from database query results
[x] Base fm.DataSource on tb.BeliefSourceDBMixin
[x] Base fm.Asset, fm.Market and fm.WeatherSensor on tb.SensorDBMixin (#12)
[ ] Base fm.Power, fm.Price and fm.Weather on tb.TimedBelief

Connected to this roadmap are:

[ ] Correct knowledge horizon functions for day-ahead markets
[ ] Split fm.Asset into fm.Sensor and fm.Asset
[ ] Unify fm.Power, fm.Price and fm.Weather to fm.TimedValue

@Felix Maybe this issue should transform into a project?

Migrated to project: https://github.com/SeitaBV/flexmeasures/projects/3

repo: SeitaBV/flexmeasures


text:
Adding GPT2 Example

Current PR adds a GPT2 Pipeline example

Ready to review (cc @cliveseldon @adriangonz )

repo: SeldonIO/tempo


text:
🛑 📰 Schtroumpsify is down

In 9f8ce34, 📰 Schtroumpsify (https://schtroumpsify.chorip.am/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 📰 Schtroumpsify is back up in 1867d75.

repo: SelrahcD/uptime


text:
Dropdown - 'value' attribute must return the full object instead of just the value property

Steps to Reproduce

Try any example on semantic-ui-rect page for Dropdowns (Link)

Expected
The Dropdown selected value should return the selected options object and not just the value property.
Result
The Dropdown returns just the value property from the selected options object.

Hello @neerajhiretual, this is actually how the core SUI component works too, which is why SUIR does it the same way. If you need to get the entire object from your shorthand array, you can find the object based on the value of your selected property.

authors: brianespinosa neerajhiretual

repo: Semantic-Org/Semantic-UI-React


text:
Checkbox component is not passing the input element into onChange event

Bug Report
<Checkbox> component is not passing the input element into onChange event
Steps
A clear and concise description of steps to reproduce the problem.
<Form.Field
control={Checkbox} label="Smth"
 checked={store.checked}
 onChange={e =>
//e.target <---- div
//e.currentTarget <---- label
}/>

Expected Result
e.currentTarget == input
Actual Result
e.target <---- div
e.currentTarget <---- label

Version
0.82.2

@xumix this is expected. Take a look at the docs for Checkbox and the onChange prop. SUIR passes the original React synthetic event, and data. A good example of this is https://react.semantic-ui.com/modules/checkbox/#types-radio-group

authors: brianespinosa xumix


text:
SUI and swipe/touch events interface

Hello,
I am looking for information on how one can add swipe events handler to SUI apps. Is using hammer.js or something she milar the way to go?
Thanks in advance.

use stackoverflow or gitter for questions like these

authors: hrstoyanov jlukic

repo: Semantic-Org/Semantic-UI


text:
[Table] Add Info Color

Hello.
Suggestion: why not a neutral state for tables?
We already have positive, warning and negative, but nothing using blue color.

Live example: http://jsfiddle.net/p4sjxvr5/
(Using colors of .ui.info.message)
Btw, would be super just use color names to give style to a table cell, like colored segments.

Miscategorized this

Bump. Good suggestion (also relevant to anyone looking for Bootstrap migration).

+1

+1

+1

This would be really nice. Maybe generalizing to all supporting colors would be more consistent.

All available colors are support in table cells/rows since 2.7.0
https://fomantic-ui.com/collections/table.html#colored

authors: domenkozar hmaesta jlukic joshbodine21 lubber-de rpsirois ssarkisy sunjith


text:
Is there a way to cancel the installing of semantic ui to current project?

I have a project, say A, that dependent on semantic UI. There is no problem.
Now I have a project B which dependent on project A. Now the problem is when I type
npm install A inside project B, the semantic UI always self install to inside project A, which is not needed.
How to let the semantic UI not to install itself to project B?

You could install semantic-ui as a dev dependency in Project A, so Project B will not install as a dependency. Check NPM resources for more info.

Thank you.

authors: Jeff-Tian jlukic


text:
Floating label on icon

Hi,
Is it possible to achieve something like this? I have menu at the top of my page, and items like messages/notifications I want to display as icons. I tried to add floating label to the item, but it floats way too high and half of it is out of view. This is what I want to achieve

@asJulius
Please use the Gitter chatroom, the official forums or StackOverflow to ask usage questions; see the Contributing Guide for more information on what kind of posts should find themselves into the GitHub Issues board.

@asJulius Did you find an answer? If yes mind sharing on SO for future reference? Thanks.

authors: Banandrew amaurymartiny asJulius


text:
Swap huge and big in menu.variables #5899

Issue #5899
Closes #5899
Changed menu variables to be big -> huge -> massive to be consistent with global variables.

@ktmn
Thanks for pointing that out. I swapped bigWidth with hugeWidth in the sizes sections.

Thanks for the fix, looks good to me.


text:
C++: Annotate field-flow tests in [ABC].cpp

This brings the annotation style in sync with how we annotate new tests these days. I also changed a few annotations to have different expected outcome based on my understanding of the code.
@pavgust, have I misunderstood what flow there's supposed to be in your l3->next*->head examples?

@pavgust, have I misunderstood what flow there's supposed to be in your l3->next*->head examples?
That test is a fairly naïve transliteration of the Java equivalent: https://github.com/Semmle/ql/blob/d9bc07cb912e8acfaec273f43e6dcfa3230c463d/java/ql/test/library-tests/dataflow/fields/A.java#L98-L101

I hadn't put a lot of thought into whether I agree with the comments.

Then the discrepancy probably comes from the different conventions for annotations in the C/C++ tests vs. the Java tests.

authors: jbj pavgust

repo: Semmle/ql


text:
Android automatic refactor - ObsoleteLayoutParam

Hi,
I am developing a tool to automatically refactor Android applications with the goal of improving energy efficiency.
This pull request has the changes generated while applying the rule "ObsoleteLayoutParam".
While developing your application's views you might be specifying attributes in a view's artefact that are not necessary due to the nature of its parent. In this PR, those attributes were replaced by a comment.
I have made a previous validation of the changes and they seem correct.
Unfortunately, this tool is not able keep the original whitespace of the files, so comparison without ignoring whitespace might be confusing.
Please consider the changes and let me know if you agree with them.
Best,
Luis

Hi Luis
Thanks for your patch. Your headline states that the refactoring is in the light of improving energy efficiency. Can you elaborate on how the patch achieves said goal?
Also, if you could fix the whitespace generation to not cause a change of style and an unnecessarily large diff we might consider it.

@abrauchli I think @luiscruz  actually updated his patch to not apply unnecessarily large whitespace diff.

True @rnestler, sorry I missed it @luiscruz - It's merged now, thanks for your contribution.

authors: abrauchli luiscruz rnestler

repo: Sensirion/SmartGadget-Android


text:
minmax should allow fr

The minmax attribute should let you use fr.
I'm currently getting this error:
gridTemplateColumns([
  13 ┆   `repeat((`autoFit, `minmax((px(150), fr(1.))))),
  14 ┆ ]),
  15 ┆ gridGap(px(12)),

  This has type:
    [> `fr(float) ]
  But somewhere wanted:
    Css.length
  The second variant type does not allow tag(s) `fr

I can take this

Fixed in 8.0.3

authors: JakubMarkiewicz giraud lukashambsch

repo: SentiaAnalytics/bs-css

license: ISC


text:
Update to standard

See https://github.com/Senzing/template-repository/issues/43

Pull requests:

https://github.com/Senzing/template-docker/pull/98

repo: Senzing/template-docker


text:
I can't modify asset file. Wanted change some icons in apps

ios 14.8 iphone 7 Checkra1n

Details..?

Details..?

https://share.icloud.com/photos/059ST_TyNGK-DHbOHFAETq7iQ
Settings:

Ah I see, will be fixing this soon

thanks, i'll wait! iCloud Video (that I shared) will be available later, if you need it

hi! Did you see?

authors: SerenaKit TimurKuspanov mini-Loki

repo: SerenaKit/Santander


text:
Update main.tex

From your lecture video, you said if it's bigger it will violate other condition. so x should be not less than, nor equal.
otherwise, this condition will be convex.

Agreed!


text:
About aggregate queries question

mongoapi:runCmd([
{"aggregate", ?ORDER_TABLE},
{"cursor", #{ } },
{"pipeline",
{array,[
[
{"$match", #{status=>0}}
],
[
{"$group",[
{"_id","null"},
{"total", [{"$sum", "$amount"}]}
]}
]
]}
}
], ?MONGO_MASTER),
the query result is:
[{<<"cursor">>,
[{<<"firstBatch">>,
{array,[[{<<"_id">>,<<"null">>},{<<"total">>,1900}]]}},
{<<"id">>,0},
{<<"ns">>,<<"paycenter_db.pay_order">>}]},
{<<"ok">>,1.0}]
Can you give me a correct demonstration?
Cursor is a mandatory parameter, but I am not sure how to use it. Do I need to close cursor?

Cursor empty like in your example has no effect.

I'm still not sure how to use the cursor properly,can you give me example?

authors: SergejJurecko dadaxixiyou

repo: SergejJurecko/erlmongo


text:
Os segredos do Bárbaro foram descobertos!

Agora o Barbaro deve enfrentar seu inimigo, o Necromante com cuidado... Agora que o necromante sabe seus segredos ele deve se organizar melhor, separando seus pacotes de uma forma mais organizada e dividindo sua classe principal das demais. Agora que o Barbaro se encontra com os Bardos, ele deve enfrentar o Dragão Vermelho e Negro!

Sergio não vai gostar do título... mas eu faço mesmo assim


text:
access支持设置region

现在access只能配置account、ak/sk，但是provider config都是要增加region的，我们现在将region设置到prop里，很不友好。将region设置到access中，可以很方便的将测试、生产环境的profile放到不同的access中，对于ci/cd也更加友好

access是一个全局的配置，region放在access语义也不太妥当。region一般是跟随项目来的。可以这样做哈

edition: 1.0.0
access: 'default'
vars:
  region: cn-hangzhou

services:
  website-starter:
    component: apigateway
    props:
      bucket: 'aidankun'
      src:
        publishDir: ./src
        index: index.html
      region: ${vars.region}
      hosts:
        - host: auto

在CICD的场景，区分环境是一个比较重要的场景。一般会这样使用，比如默认的开发环境是 s.yaml,线上环境配置为s-pro.yaml 。在执行CD时候这样使用s deploy -t ./s-pro.yaml

region跟ak/sk一样，是provider的必备属性，access里有region，就相当于一个完整的ProviderConfig了。我认为region是不适合用var来表示的，var的用途是用户自定义属性，而region是系统认识的关键字
我的建议是：

s.yaml支持显示描述access，组件需要用到region的地方都可以从access里拿到。比如
edition: 1.0.0
access: 'default'
access:
region: cn-hangzhou
accessKeyId: xxxx
securityKeyId: xxx

services:
website-starter:
...

access文件里支持region，优先使用s.yaml中声明的，否则使用access文件中的

第一点有个问题，就是s.yaml一般用户不会ignore掉。会不会将ak,sk放在s.yaml配置中，容易泄露用户的ak,sk哈
第二点： fun 工具其实就这么干的，可以看下的

这里面的region作为全局变量其实并不是非常合理，目前在fun上面封装的midway，以及Serverless Framework，都是将region单独拿出来的，而不是配置到系统中。因为这里涉及到Region可能在同一应用中，有不同表现，例如前端我部署到A区，后端在A区没开，那么就要部署到B区；另外，在开发过程中，region可能是一个频繁切换的变量。
综上所述，我并不是非常推荐将region配置到系统中。但是如果想要，可以考虑把region放到环境变量中，可以指当作一种全局来用。

放到环境变量里是可以的，我的意思是region同ak/sk一样应该是系统的关键字，放到access中可以更方便用户进行cicd。因为测试、生产环境往往使用的是不同的子账号，所以连同region一起放到testing.access、production.access，使用不同的access就能进行环境级的隔离了。
我的proposal：

access增加region属性，默认传递到组件中
如果env中指定了region，则覆盖access的
这样region可以结合access和env使用，满足多种场景

这一部分我们可以找时间讨论一下。

authors: anycodes heimanba lowkeyrd

repo: Serverless-Devs/Serverless-Devs


text:
Feature/auckland

What has changed and why?
Retrieve the council info from the API, then use it to display the city name
Send council_id on the address finder widget
needs https://github.com/ServiceInnovationLab/pancake-backend/pull/235
closes https://github.com/ServiceInnovationLab/pancake-frontend/issues/437
closes https://github.com/ServiceInnovationLab/pancake-backend/issues/228
How to test this change

[ ] has automated tests
[ ] at least one a reviewer ran the code
[ ] tested in small screen
[ ] tested in Chrome
[ ] tested in Firefox
[ ] tested in IE
[ ] tested in Safari
[ ] i18n
[ ] tested in screen reader/contrast <-- remove this if no UX change

This pull request introduces 2 alerts when merging 0b50ba6db535bab05b20492509452d06931631ca into db76bf6e1d2562e68da077628260c8a2b511c5b8 - view on LGTM.com
new alerts:

2 for Unused variable, import, function or class

Comment posted by LGTM.com

This pull request fixes 2 alerts when merging c6d0d762a1bd8f483f7e0f6fef28c3316b83ea67 into db76bf6e1d2562e68da077628260c8a2b511c5b8 - view on LGTM.com
fixed alerts:

1 for Unused variable, import, function or class
1 for Unused or undefined state property

Comment posted by LGTM.com

This pull request introduces 2 alerts and fixes 2 when merging fb6d9c6135be6744b452367ce3efecab8216eeac into db76bf6e1d2562e68da077628260c8a2b511c5b8 - view on LGTM.com
new alerts:

1 for Implicit operand conversion
1 for Unused variable, import, function or class

fixed alerts:

1 for Unused variable, import, function or class
1 for Unused or undefined state property

Comment posted by LGTM.com

This pull request introduces 1 alert and fixes 2 when merging 091b5cea7e0ef2cc59c59f16957f0b1850799dc5 into db76bf6e1d2562e68da077628260c8a2b511c5b8 - view on LGTM.com
new alerts:

1 for Implicit operand conversion

fixed alerts:

1 for Unused variable, import, function or class
1 for Unused or undefined state property

Comment posted by LGTM.com

This pull request introduces 1 alert and fixes 2 when merging 93cbde77c15db10be9371a4972babd067d448c4a into db76bf6e1d2562e68da077628260c8a2b511c5b8 - view on LGTM.com
new alerts:

1 for Implicit operand conversion

fixed alerts:

1 for Unused variable, import, function or class
1 for Unused or undefined state property

Comment posted by LGTM.com

repo: ServiceInnovationLab/pancake-frontend


text:
SPath: Implement more helper methods

Implement some more methods that I would have uses for, and others may too.

SPath.fglob speeds
$ python benchmark.py
Total time for 10000 iterations: 0.4242 seconds
Average time per fglob call: 0.000042 seconds
Total time for 10000 simple glob iterations: 0.5244 seconds
Average time per simple glob call: 0.000052 seconds

oh ye, we zoomin' now

repo: Setsugennoao/stgpytools


text:
Consent template v2 design polish

Tweaked tone, table and copy of consent object page
Renamed the page from consent configuration back to consent object
Remove unused row of dataConsumer from the table

@RiddhiAthreya please take a look before merging?

LGTM!

authors: RiddhiAthreya yakshaG

repo: SetuHQ/docs


text:
Failed to Connect

It's not joining voice channel anymore.

4004, reason = not found.
Make sure that you're using the right ID for the voice channel. If you deleted it and remade it or something, this ID will be different.

As far as i can tell all of them are doing it right now, i think its an issue with discord
Just keep looking here: https://status.discordapp.com/

Same here

Any updates?

Can you try changing your server's voice region?

authors: CrypticCube DNAGamer jaydenkieran raideer

repo: SexualRhinoceros/MusicBot


text:
Add source modifications / Ability to turn on or off pauri numbers in translations

How to deal with this for overlay vs local displays, since overlay doesn't have any settings for source config etc?

Duplicate of #204

repo: ShabadOS/desktop


text:
Ban checker?

Hello there, I love your checker so much! It barely misses any possible hits and has capture for hypixel rank and level. By any chance, is it possible that you could add a Hypixel Ban checker? Thanks for keeping this checker free!

For the ban checker I would put it in if I know how to code it

authors: ShadowBlader ThanosOP

repo: ShadowBlader/OxygenX


text:
Only changing BF's note colors

What is your question?
Is there any way to only apply the note colors to BF only ? Or just detect which character's note is it ?

use the mustPress var in note like this, note.mustPress depending on what you named the note var

Should it be use with an if, or in some different way ?
Since the notes are colored upon being created

yea if statement

I'm guessing the note var is called "this"

It works fine
At least with the notes
Now I kinda need to figure out how to do the same with the Strums

It works fine
At least with the notes
Now I kinda need to figure out how to do the same with the Strums

look in the StrumNote class, and btw, install the Haxe extension for vsc

I'm not sure on what and where to use

This didn't work

I'm not sure on what and where to use  This didn't work

that's just the same thing

what you would do is check if (player == 1)

It works perfectly
Final question, is it possible to only change the colors on specific textures ?

yes, if (texture == 'inserttexturehere')
note it’s case sensitive

repo: ShadowMario/FNF-PsychEngine


text:
How do I go from the alt idle animation to the normal idle animation

What is your question?
So The event "Alt Idle Animation" let's you go from the normal to the alt idle animation but how do I revert it? (btw I'm using this for a lua script that makes the idle animations toggleable)

function onUpdate()
if curStep ==  Enter the step number then
setProperty('enter bf or dad .specialAnim', true);
characterPlayAnim('enter bf or dad', 'idle', true);
end
end

function onUpdate() if curStep == Enter the step number then setProperty('enter bf or dad .specialAnim', true); characterPlayAnim('enter bf or dad', 'idle', true); end end

Ok but the thing I wanna do is switch to the alt and normal idle's by pressing left shift

function onUpdate()
if curStep ==  Enter the step number then
setProperty('enter bf or dad .specialAnim', true);
characterPlayAnim('enter bf or dad', 'idle', true);
end
end

what the hell

Ok now how do I do it in lua?

triggerEvent('Alt Idle Animation', 'character name', '')
or you could also do the easier way and change idleSuffix
setProperty('dad.idleSuffix', '')

local animsA = {'singLEFT-alt', 'singDOWN-alt', 'singUP-alt', 'singRIGHT-alt'}
local animsB = {'singLEFT', 'singDOWN', 'singUP', 'singRIGHT'}
local hitCombo = 0
function onUpdate()
if keyboardJustPressed("SPACE") then -- space button
hitCombo = (hitCombo + 1)
elseif hitCombo == 2 then
hitCombo = 0
end
end
function goodNoteHit(i, d, t, s)
if hitCombo == 0 then -- normal notes
triggerEvent('Alt Idle Animation', 'bf','');
characterPlayAnim('bf', animsB[d + 1]);
elseif hitCombo == 1 then -- alt notes
triggerEvent('Alt Idle Animation', 'bf', '-alt');
characterPlayAnim('bf', animsA[d + 1]);
end
end
I found this script on yt so you could change space to left shift

local animsA = {'singLEFT-alt', 'singDOWN-alt', 'singUP-alt', 'singRIGHT-alt'} local animsB = {'singLEFT', 'singDOWN', 'singUP', 'singRIGHT'} local hitCombo = 0
function onUpdate() if keyboardJustPressed("SPACE") then -- space button hitCombo = (hitCombo + 1) elseif hitCombo == 2 then hitCombo = 0 end end
function goodNoteHit(i, d, t, s) if hitCombo == 0 then -- normal notes triggerEvent('Alt Idle Animation', 'bf',''); characterPlayAnim('bf', animsB[d + 1]); elseif hitCombo == 1 then -- alt notes triggerEvent('Alt Idle Animation', 'bf', '-alt'); characterPlayAnim('bf', animsA[d + 1]); end end
I found this script on yt so you could change space to left shift

Thx but how do I do that? I'm using JS engine (I know very weird and might get me banned) and space makes you taunt.. so what are the keys that can be used for lua

Maybe do uh not space but try writing smth like SLASH or smth

Maybe do uh not space but try writing smth like SLASH or smth

Wait I tried it but my mod has judgement based anims scripts so those scripts stopped working. what I REALLY wanna do is what aleon bf does with the changeAleonBF.lua script but for idle animations.


text:
Incompatbility with Obscure API (Armor Piercing does not work)

The Issue
When Obscure API is installed, Attributelib's  armor piercing  effect does not function. I have tested this in multiple formats:

Potion effect form (personal commision)
Gems
/attribute command
Adding it to equipment via /give command

With Obscure API, my Netherite Sword does not get any piercing.

When uninstalled, my Netherite Sword deals the full 8 damage (as I set my armor piercing attribute to 31)

Obscure API is a closed-source all rights reserved mod.  No support is provided for these mods.  You can report this as a bug to them and ask them resolve it on their end.

authors: LynxGrimbane Shadows-of-Fire

repo: Shadows-of-Fire/Apothic-Attributes


text:
Failed To Remove Alloy Smelter Recipes

zs code:
mods.enderio.AlloySmelter.removeRecipe(<enderio:item_alloy_ingot:1>);(which is energetic alloy)
Recipe still existed, with no error in the log.
But adding new recipes succeeded.
EnderIO version: 5.3.70, EnderTweaker version: 1.2.2.

Well, it seems that there is no such problem in Version 1.2.1

I can confirm what @VillagerGold said. I was using

EnderIO version: 5.3.70
EnderTweaker version: 1.2.3
and was having the same issues as @lunareclipse-64. Recipes could not be removed, but recipes could be added. I tried changing my EnderTweaker version to 1.2.1, but got a crash resulting from an invalid reference to code in EnderIO that didn't exist. So I changed my EnderIO version to 5.2.66 (to match the dates as close as possible). Now everything works precisely as you would want, even on the most recent forge version: 14.23.5.2859. So, as long as nothing in forge changes to make this version of EnderIO and EnderTweaker break, everything should be fine. You just miss out on any additions to EnderIO since that version (nothing vital).

Summary
This doesn't let you remove recipes:

EnderIO version: 5.3.70
EnderTweaker version: 1.2.3
This results in a crash:
EnderIO version: 5.3.70
EnderTweaker version: 1.2.1
This lets you remove recipes:
EnderIO version: 5.2.66
EnderTweaker version: 1.2.1

Hopefully that is enough information to discern the problem (which is probably a change EnderIO's code that EnderTweaker never accounted for in its updates passed 1.2.1).

repo: Shadows-of-Fire/EnderTweaker


text:
Fix the Readme so that it has valuable information.

I want to see a better title, description and maybe a roadmap.

Working on this now.

Included in pre-release v0.0.1-alpha.

repo: ShamimAkhter/IntroToGitHub


text:
想看一看你论文的实验结果

发现你贴了一个论文链接，但没有找到论文，想了解一下你论文的部分实验结果

您好，目前论文还没正式见刊，见刊后会第一时间放上来。谢谢～:smile:

authors: ShaneTian zhuhaijun-ai

repo: ShaneTian/Att-Induction


text:
Look at the sequence attribute on the <CustomAction> element... https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh500259(v=office.14)

Look at the sequence attribute on the <CustomAction> element... https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh500259(v=office.14)
I haven't verified this will work for command set extensions... it should, but if it doesn't, you can't impact the order.
Originally posted by @andrewconnell in https://github.com/SharePoint/sp-dev-docs/issues/5864#issuecomment-642544566

Since that issue was closed I just wanted to document this that adding the sequence attrbute didnt work. My procedure was:
add sequence=1 in elements.xml -> gulp clean -> gulp bundle --ship; gulp package-solution --ship; -> update the version -> remove the previous package from appcatalog -> drop the new package -> reinstall app in sites
So I am guessing there isnt any way to effect the sequence of the default context menu buttons and my custom buttons

repo: SharePoint/sp-dev-docs


text:
Updated and made instructions more clear

Made the instructions more explicit and also try to avoid npm shortcuts, ie use npm install in favor of npm i.

Hi @wictorwilen, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Thx Wictor, good edits.

authors: VesaJuvonen msftclas wictorwilen

repo: SharePoint/sp-dev-fx-webparts


text:
Error

My path is not created, powershell is running as administrator, error bellow, in the logs i dint find any clue
All the automatic steps are now completed!
Please proceed with the manual steps documented on the Setup Guide!
Get-Item : Cannot find path 'C:\sp-dev-gdpr-activity-hub-master\sp-dev-gdpr-activity-hub-master\GDPRStarterKit\sharepoint\solution\gdpr-starter-kit.sppkg' because it does not exist.
At C:\sp-dev-gdpr-activity-hub-master\sp-dev-gdpr-activity-hub-master\Scripts\Provision-GDPRActivityHub.ps1:148 char:23
... ppkgPath = (Get-Item -Path "..\GDPRStarterKit\sharepoint\solution\gdp ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : ObjectNotFound: (C:\sp-dev-gdpr-...arter-kit.sppkg:String) [Get-Item], ItemNotFoundException
FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
You can find the .SPPKG file at the following path:

Hi guys,
I could finally install the solution
Anyway when trying to insert and Event or Request on forms and pick "Save" nothing happens
Can you please help?

Using developer tools on browser i get in the home page this error
Failed to load resource: the server responded with a status of 500 ()
sites/GDPR2018/_api/social.following/IsFollowed
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>
-1, Microsoft.SharePoint.Client.ClientServiceException
</m:code>
<m:message xml:lang="pt-PT">
The HTTP method "GET" can not be used to access the "IsFollowed" resource. The resource operation type is specified as "Default". Use the correct HTTP method to invoke the resource.
</m:message>
</m:error>
More erros in the insert Event form
Failed to load resource: net::ERR_NAME_NOT_RESOLVED
relative-path.invalid/react-dom:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED

repo: SharePoint/sp-dev-gdpr-activity-hub


text:
Localization fixes for deploy in non-English default tenants

These fixes allow deployment on a Spanish default SharePoint Online tenant that sets the default LCID of new Communication sites to a value other than 1033.  Further RESX files have to be added for other language support.
Category

[x] Bug Fix
[ ] New Feature
Related issues: fixes #17

What's in this Pull Request?

Resource folder with two localized RESX files for the en-us and es-es locales. More RESX files would need to be added to support additional languages.
Changes to deploy.ps1 to detect the LCID of the newly created Communication site and call the provisioning template with the proper LCID.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: larslynch sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

thank you Lars!

authors: erwinvanhunen larslynch msftclas

repo: SharePoint/sp-starter-kit


text:
question about backpropagation

Thank you for sharing your great work. I'm a little confused about the back propagation process, could you help me? I = sum(wj * cj), in your implementation, it seems that only wj has impact on x, y coordinate, but actually cj also has impact on x, y coordinate either. If my understanding is correct,  what's the meaning of this simplification, or my understanding is wrong? Thanks.

Yes, we indeed considered Cj, check this line:
https://github.com/ShichenLiu/SoftRas/blob/b569bed5759cf2014f9b79c12ad10eef7b80ec34/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu#L615
C_grad_xy includes the gradients from color.

authors: ShichenLiu wanghxcis

repo: ShichenLiu/SoftRas