Broken ts type definitions with<EMAIL_ADDRESS>and ts2.6.1 with strictFunctionTypes

Compiling a program with:
<EMAIL_ADDRESS>(.20 compiles ok)
ts 2.6.1 - strict: true (with strictFunctionTypes set to false it compiles ok)

gives
build-lint/0
build-lint/0  node_modules/material-ui/Button/Button.d.ts(5,18): error TS2430: Interface 'ButtonProps' incorrectly extends interface 'Pick<ButtonBaseProps & { classes: any; }, "media" | "hidden" | "dir" | "form" | "style" | "title"...'.
build-lint/0    Type 'ButtonProps' is not assignable to type 'Pick<ButtonBaseProps & { classes: any; }, "media" | "hidden" | "dir" | "form" | "style" | "title"...'.
build-lint/0      Types of property 'component' are incompatible.
build-lint/0        Type 'string | ComponentClass<ButtonProps> | StatelessComponent<ButtonProps> | undefined' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> |
undefined'.
build-lint/0          Type 'ComponentClass<ButtonProps>' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined'.
build-lint/0            Type 'ComponentClass<ButtonProps>' is not assignable to type 'StatelessComponent<ButtonBaseProps>'.
build-lint/0              Types of property 'propTypes' are incompatible.
build-lint/0                Type 'ValidationMap<ButtonProps> | undefined' is not assignable to type 'ValidationMap<ButtonBaseProps> | undefined'.
build-lint/0                  Type 'ValidationMap<ButtonProps>' is not assignable to type 'ValidationMap<ButtonBaseProps> | undefined'.
build-lint/0                    Type 'ValidationMap<ButtonProps>' is not assignable to type 'ValidationMap<ButtonBaseProps>'.
build-lint/0                      Types of property 'centerRipple' are incompatible.
build-lint/0                        Type '((object: ButtonProps, key: string, componentName: string, ...rest: any[]) => Error | null) | und...' is not assignable to type '((object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null) |...'.
build-lint/0                          Type '(object: ButtonProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '((object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null) |...'.
build-lint/0                            Type '(object: ButtonProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '(object: ButtonBaseProps, key: string, componentName:
string, ...rest: any[]) => Error | null'.
build-lint/0                              Types of parameters 'object' and 'object' are incompatible.
build-lint/0                                Type 'ButtonBaseProps' is not assignable to type 'ButtonProps'.
build-lint/0                                  Types of property 'color' are incompatible.
build-lint/0                                    Type 'string | undefined' is not assignable to type '"default" | "inherit" | "primary" | "accent" | "contrast" | undefined'.
build-lint/0                                      Type 'string' is not assignable to type '"default" | "inherit" | "primary" | "accent" | "contrast" | undefined'.
build-lint/0
build-lint/0  5 export interface ButtonProps extends StandardProps<
build-lint/0                     ~~~~~~~~~~~
build-lint/0
build-lint/0
build-lint/0  node_modules/material-ui/List/ListItem.d.ts(5,18): error TS2430: Interface 'ListItemProps' incorrectly extends interface 'Pick<ButtonBaseProps & LiHTMLAttributes<HTMLLIElement> & { classes: any; }, "media" | "hidden" | ...'.
build-lint/0    Type 'ListItemProps' is not assignable to type 'Pick<ButtonBaseProps & LiHTMLAttributes<HTMLLIElement> & { classes: any; }, "media" | "hidden" | ...'.
build-lint/0      Types of property 'component' are incompatible.
build-lint/0        Type 'string | ComponentClass<ListItemProps> | StatelessComponent<ListItemProps> | undefined' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined'.
build-lint/0          Type 'ComponentClass<ListItemProps>' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined'.
build-lint/0            Type 'ComponentClass<ListItemProps>' is not assignable to type 'StatelessComponent<ButtonBaseProps>'.
build-lint/0              Types of property 'propTypes' are incompatible.
build-lint/0                Type 'ValidationMap<ListItemProps> | undefined' is not assignable to type 'ValidationMap<ButtonBaseProps> | undefined'.
build-lint/0                  Type 'ValidationMap<ListItemProps>' is not assignable to type 'ValidationMap<ButtonBaseProps> | undefined'.
build-lint/0                    Type 'ValidationMap<ListItemProps>' is not assignable to type 'ValidationMap<ButtonBaseProps>'.
build-lint/0                      Types of property 'centerRipple' are incompatible.
build-lint/0                        Type '((object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null) | u...' is not assignable to type '((object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null) |...'.
build-lint/0                          Type '(object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '((object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null) |...'.
build-lint/0                            Type '(object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '(object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null'.
build-lint/0                              Types of parameters 'object' and 'object' are incompatible.
build-lint/0                                Type 'ButtonBaseProps' is not assignable to type 'ListItemProps'.
build-lint/0                                  Types of property 'component' are incompatible.
build-lint/0                                    Type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined' is not assignable to type 'string | ComponentClass<ListItemProps> | StatelessComponent<ListItemProps> | undefined'.
build-lint/0                                      Type 'ComponentClass<ButtonBaseProps>' is not assignable to type 'string | ComponentClass<ListItemProps> | StatelessComponent<ListItemProps> | undefined'.
build-lint/0                                        Type 'ComponentClass<ButtonBaseProps>' is not assignable to type 'StatelessComponent<ListItemProps>'.
build-lint/0                                          Types of property 'propTypes' are incompatible.
build-lint/0                                            Type 'ValidationMap<ButtonBaseProps> | undefined' is not assignable to type 'ValidationMap<ListItemProps> | undefined'.
build-lint/0                                              Type 'ValidationMap<ButtonBaseProps>' is not assignable to type 'ValidationMap<ListItemProps> | undefined'.
build-lint/0                                                Type 'ValidationMap<ButtonBaseProps>' is not assignable to type 'ValidationMap<ListItemProps>'.
build-lint/0                                                  Types of property 'component' are incompatible.
build-lint/0                                                    Type '((object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null) |...' is not assignable to type '((object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null) | u...'.
build-lint/0                                                      Type '(object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '((object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null) | u...'.
build-lint/0                                                        Type '(object: ButtonBaseProps, key: string, componentName: string, ...rest: any[]) => Error | null' is not assignable to type '(object: ListItemProps, key: string, componentName: string, ...rest: any[]) => Error | null'.
build-lint/0                                                          Types of parameters 'object' and 'object' are incompatible.
build-lint/0                                                            Type 'ListItemProps' is not assignable to type 'ButtonBaseProps'.
build-lint/0                                                              Types of property 'component' are incompatible.
build-lint/0                                                                Type 'string | ComponentClass<ListItemProps> | StatelessComponent<ListItemProps> | undefined' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined'.
build-lint/0                                                                  Type 'ComponentClass<ListItemProps>' is not assignable to type 'string | ComponentClass<ButtonBaseProps> | StatelessComponent<ButtonBaseProps> | undefined'.
build-lint/0                                                                    Type 'ComponentClass<ListItemProps>' is not assignable to type 'StatelessComponent<ButtonBaseProps>'.
build-lint/0
build-lint/0  5 export interface ListItemProps extends StandardProps<
build-lint/0                     ~~~~~~~~~~~~~

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

Expected Behavior
It should compile without errors.
Current Behavior
It doesn't compile due to errors.
Steps to Reproduce (for bugs)

Compile anything with the list of dependencies as seen above

Fixed in #9124.

@pelotom I'm gonna give you some write access so you can close the issue on your own next time :).

@oliviertassinari Thanks, I'll try to use this power wisely 😄


[BUG] Generates non-working code on versions 2.2.3+

Describe the bug
Starting in 2.2.3, some overrides are failing due to a type mismatch.
To Reproduce
Here is the swagger code: https://github.com/point-source/dart_plaid/blob/main/swagger/plaid_service.swagger
Error:
00:00 +0 -1: loading test/dart_plaid_test.dart [E]
  Failed to load "test/dart_plaid_test.dart":
  lib/generated/plaid_service.swagger.dart:11776:43: Error: The return type of the method 'Transaction.transactionType' is 'TransactionTransactionType?', which does not match the return type, 'TransactionBaseTransactionType?', of the overridden method, 'TransactionBase.transactionType'.
   - 'TransactionTransactionType' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
   - 'TransactionBaseTransactionType' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
  Change to a subtype of 'TransactionBaseTransactionType?'.
    final enums.TransactionTransactionType? transactionType;
                                            ^
  lib/generated/plaid_service.swagger.dart:11560:47: Context: This is the overridden method ('transactionType').
    final enums.TransactionBaseTransactionType? transactionType;
                                                ^
  lib/generated/plaid_service.swagger.dart:24208:50: Error: The return type of the method 'AccountIdentity.verificationStatus' is 'AccountIdentityVerificationStatus?', which does not match the return type, 'AccountBaseVerificationStatus?', of the overridden method, 'AccountBase.verificationStatus'.
   - 'AccountIdentityVerificationStatus' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
   - 'AccountBaseVerificationStatus' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
  Change to a subtype of 'AccountBaseVerificationStatus?'.
    final enums.AccountIdentityVerificationStatus? verificationStatus;
                                                   ^
  lib/generated/plaid_service.swagger.dart:10958:46: Context: This is the overridden method ('verificationStatus').
    final enums.AccountBaseVerificationStatus? verificationStatus;
                                               ^
  lib/generated/plaid_service.swagger.dart:24330:48: Error: The return type of the method 'AccountAssets.verificationStatus' is 'AccountAssetsVerificationStatus?', which does not match the return type, 'AccountBaseVerificationStatus?', of the overridden method, 'AccountBase.verificationStatus'.
   - 'AccountAssetsVerificationStatus' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
   - 'AccountBaseVerificationStatus' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
  Change to a subtype of 'AccountBaseVerificationStatus?'.
    final enums.AccountAssetsVerificationStatus? verificationStatus;
                                                 ^
  lib/generated/plaid_service.swagger.dart:10958:46: Context: This is the overridden method ('verificationStatus').
    final enums.AccountBaseVerificationStatus? verificationStatus;
                                               ^
  lib/generated/plaid_service.swagger.dart:28946:54: Error: The return type of the method 'AssetReportTransaction.transactionType' is 'AssetReportTransactionTransactionType?', which does not match the return type, 'TransactionBaseTransactionType?', of the overridden method, 'TransactionBase.transactionType'.
   - 'AssetReportTransactionTransactionType' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
   - 'TransactionBaseTransactionType' is from 'package:dart_plaid/generated/plaid_service.enums.swagger.dart' ('lib/generated/plaid_service.enums.swagger.dart').
  Change to a subtype of 'TransactionBaseTransactionType?'.
    final enums.AssetReportTransactionTransactionType? transactionType;
                                                       ^
  lib/generated/plaid_service.swagger.dart:11560:47: Context: This is the overridden method ('transactionType').
    final enums.TransactionBaseTransactionType? transactionType;
                                                ^

Library version used:
2.2.3 up to 2.3.2
Additional context
Feel free to clone this repo, update the swagger library dependency, and regenerate to reproduce.

Yes, seems problem with the prefix enum.
For now, seems we should be able to drop it completely.
New version will be released on Monday

Hi @point-source
I was on VAC, will fix this issue soon.

@point-source  Fixed in latest version


Make it possible to fire up DeX as part of Check Data Tables

ezEML has a Check Data Tables page where individual tables in a package are displayed with links to check the table. It would be awesome to also have a link/button for each table to Explore the Data that would open DeX on the table in a new tab. This is contingent on DeX being able to provide an API to make it possible.

Released in release 2024.02.21


Error: Plugin "Shiki" caused an error in its "performSyntaxAnalysis" hook.

Hi thank you so much for this awesome project, I currently create personal blog using it but I encounter an issue.
I'm using Astro and installed bothastro-expressive-code and remark-expressive-code and I use astro-expressive-code in astro.config.mjs for MDX files and remark-expressive-code for my Vue components that I load via Astro pages.
But unfortunately I encounter this error in the browser console coming from remark-expressive-code
Error: Plugin "Shiki" caused an error in its "performSyntaxAnalysis" hook.
Error message: Expected a valid instance of ExpressiveCodeAnnotation, but got
{"inlineRange":{"columnStart":0,"columnEnd":7},"renderPhase":"earliest","styleVariantIndex":0,"color":"#FF955C","italic":false,"bold":false,"underline":false}

Below you can found reproduction to the case
Reproduction link
https://codesandbox.io/p/devbox/pensive-marco-sth8lg

Looking at your package.json, you have a version mismatch between your installed Expressive Code packages, and therefore the engine gets loaded multiple times using different incompatible versions.
You need to ensure that all packages use the same version. In your case, @expressive-code/plugin-collapsible-sections is older than all the others.
After running npm i @expressive-code/plugin-collapsible-sections@latest and restarting the dev server, the error disappears and a code block is rendered.

Just a little word of caution: The way in which you're using Expressive Code in this example seems really complex to me and I'm a bit worried that you will run into issues when using it like that.
My goal with Expressive Code was always to do as much work as possible on the server, and only deliver minimal JS to the client. Actually, the only JS code currently needed are a few framework-agnostic JS lines for the copy button.
I've never seen Expressive Code wrapped into a vue component that must be hydrated on the client in order to actually display the code block. After fixing your example as described above, you can see how long it takes to actually display the code block due to the hydration overhead when using this approach.

Thank you so much, @hippotastic! I've been pulling my hair out for the last hour because of this 😅
Your last comment also made me realize I really don't need Expressive Code for my use case inside a Vue component; I just need a simple syntax highlighter! I guess I need to take a break for now 🎄

Haha, sounds good! Yeah, Expressive Code has a lot of features, and if all you need is a bit of syntax highlighting for your use case inside the Vue component, it's a good alternative to just use one directly. Enjoy your break! :)


allow useForm method and url to be "reactive"

Hi. I have a vue component (Modal dialog)  that can post or patch a record
props: {
  item: Object
}

const form = useForm(method, url, {...})

route and method should change if item is going to be created or updated (for example just check if ID is null)
with inertiajs form I simply set method and route while submitting... but precognition is not reactive...
Is there a workaround? Am I missing something?

Can you provide a full example of how you currently do this?

I have a modal dialog for create/update person records.
This is a simple example using inertiajs form
Modal.vue
<template>
<div class="modal" v-if="modelValue">
    <input v-model="form.first_name" />
    <input v-model="form.last_name" />
    <!--- other n fields ... --->

    <button @click="submit">OK</button>
</div>
</template>

<script setup>
import {useForm} from 'inertiajs/vue3'
import {computed} from 'vue'

const props = defineProps = ({
   modelValue: Boolean,
   person: Object
})

const emit = defineEmits(['update:modelValue'])

const form = useForm({
  first_name: props.first_name,
  last_name: props.last_name,
 //....
})

const exists = computed(() => props.person?.id !== null)

const submit = () => {
  let method, url

  if (exists) {
    method = 'patch'
    url = '/people/' + person.id
  } else {
    method = 'post'
    url = '/people'
  }

  form[method](url, {
      onSuccess: () => emit('update:modelValue', false)
  })
}
</script>

in precognition useForm composable method and url are strings and cannot change their  values after form object declaration.
Maybe is possible to re-declare entire object when person property changes but I think it isn't a good way

I've opened #20 which allows you to pass a callback as the method / url.
<script setup>
import {useForm} from 'laravel-precognition-vue'
import {computed} from 'vue'

const props = defineProps = ({
    modelValue: Boolean,
    person: Object
})

const exists = computed(() => props.person?.id !== null)

const form = useForm(
    () => exists.value ? 'patch' : 'post',
    () => exists.value ? `/people/${person.id}` : '/people',
    {
        first_name: props.first_name,
        last_name: props.last_name,
        // ...
    }
)

const submit = () => {
    form.submit({
        onSuccess: /* ... */,
    })
}
</script>

I'll close this and we can follow the PR.

Usually do releases on a Tuesday.

Usually do releases on a Tuesday.

Sorry for writing again... but any news about release?


Tests for NotificationController

Are tests even needed?

We don't really need tests, the only thing that we could test is if the urls are ok.


Fix Popper's anchorEl and createPointContextMenu()

https://github.com/osmandapp/OsmAnd-Issues/issues/2137


Elixir Error in consensys/blockscout:v4.1.5-beta

Hello everyone.
I successfully added consensys/blockscout:v4.0.0-beta-Image to my GoQuorum network on Openshift cluster.
Unfortunatelly Blockscout is not able to index a transaction. Instead I got an error with the following message:
    {:unknown_key, %{key: "isPrivacyMarkerTransaction", value: false}}
This problem is already discribed in https://github.com/blockscout/blockscout/issues/4995.
So I tried the same tutorial (https://consensys.net/docs/goquorum/en/latest/tutorials/kubernetes/deploy-charts/#9-blockchain-explorer) with the newer image consensys/blockscout:v4.1.5-beta.
But now I run in an Elixir error:
** (Mix) Could not start application explorer: Explorer.Application.start(:normal, []) returned an error: shutdown: failed to start child: Explorer.Repo
    ** (EXIT) an exception was raised:
        ** (Protocol.UndefinedError) protocol Enumerable not implemented for nil of type Atom. This protocol is implemented for the following type(s): DBConnection.PrepareStream, DBConnection.Stream, Date.Range, Ecto.Adapters.SQL.Stream, File.Stream, Floki.HTMLTree, Flow, Function, GenEvent.Stream, HashDict, HashSet, IO.Stream, Indexer.BoundQueue, Jason.OrderedObject, List, Map, MapSet, Postgrex.Stream, Range, Stream, Timex.Interval
            (elixir 1.13.1) lib/enum.ex:1: Enumerable.impl_for!/1
            (elixir 1.13.1) lib/enum.ex:143: Enumerable.reduce/3
            (elixir 1.13.1) lib/enum.ex:4144: Enum.reverse/1
            (elixir 1.13.1) lib/keyword.ex:186: Keyword.new/2
            (explorer 0.0.1) lib/explorer/repo/config_helper.ex:34: Explorer.Repo.ConfigHelper.extract_parameters/1
            (explorer 0.0.1) lib/explorer/repo/config_helper.ex:25: Explorer.Repo.ConfigHelper.get_db_config/1
            (explorer 0.0.1) lib/explorer/repo.ex:20: Explorer.Repo.init/2
            (ecto 3.7.1) lib/ecto/repo/supervisor.ex:25: Ecto.Repo.Supervisor.runtime_config/4

Do you have any idea how I could solve one these issues?
I do not care, if I use 4.0.0 or 4.1.5, I just want Blockscout to show transactions.

Hi @MaximilianIML, thankyou for raising this. Unfortunately, this is something we don't provide support for and recommend you raise this on the Blockscout issues page here: https://github.com/blockscout/blockscout/issues

@nicwhitts No, unfortunately the problem persists.

I downgraded to 4.0.0 and it got me a working build. But I didn’t have your other error

On 4 Nov 2022, at 20:32, MaximilianIML @.***> wrote:

@nicwhitts No, unfortunately the problem persists.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Actually i do have the same error!


Adding syntax errors for duplicate parameters scenarios

Adding syntax errors for duplicate parameters scenarios,

If the source code matching this production is strict code, the EarlyError rules for StrictFormalParameters:FormalParameters are applied.
It is a Syntax Error if ContainsUseStrict of FunctionBody is true and IsSimpleParameterList of FormalParameters is false.
It is a Syntax Error if IsSimpleParameterList of FormalParameterList is false and BoundNames of FormalParameterList contains any duplicate elements.

Hi @aneeshdk, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Aneesh Divakarakurup). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

LGTM

:+1:


Herokuapp cannot handle more than a single request

This corresponds to this page; heroku app's procfile just runs the script as of now. Need to test it out with gunicorn and add parallel processing or smth

Not important enough to spend time on this


The site is down

When I open https://gitote.com/ it return 404.
Thats normal? the service is shutdown?

It's still down, including on this end. It first complains about network protocol violations, and then it 404s upon refresh.

The Gitote service was officially shut down. The project runner claims he posted a notice on the site.


Running annotation-based picocli applications without runtime reflection

The annotation processor implemented  in #500 can create a CommandSpec model at compile time.
One use case for an annotation processor like this is to generate source code at compile time that would allow picocli-based applications to run without runtime reflection.
This ticket is to explore some ideas for achieving that.
One idea is to generate code (actually modify an existing annotated class) to implement an interface, where a method in this interface generates a CommandSpec model. Picocli needs to be modified to not perform reflection when the user object implements this interface, and instead call the interface method to obtain the CommandSpec.
Example input:
@picocli.codegen.GenerateModel
class App {
    @Option(names = "-x")
    private int x;

    public static void main(String[] args) {
        CommandLine cmd = new CommandLine(new App());
        cmd.parseArgs(args);
    }
}

Example output of annotation processor:
// after annotation processing:
class App implements picocli.CommandLine.Model.ICommandSpecFactory {
    @Option(names = "-x")
    private int x;

    public static void main(String[] args) {
        CommandLine cmd = new CommandLine(new AppV1());
        cmd.parseArgs(args);
    }

    // ICommandSpecFactory implementation (generated)
    public CommandSpec getCommandSpec() {
        CommandSpec result = CommandSpec.wrapWithoutInspection(this);
        result.addOption(OptionSpec.builder("-x").type(int.class)
            .getter(new IGetter() {
                public Object get() {
                    return App.this.x;
                }
            })
            .setter(new ISetter() {
                public Object set(Object newValue) {
                    Object old = App.this.x;
                    App.this.x = (Integer) newValue;
                    return old;
                }
            })
            .build());

        // other options
        return result;
    }
}

Lombok does something similar: it inserts accessor code into an existing class for fields annotated with @Getter and @Setter.
The way Lombok does this is by using internal APIs from Javac and the Eclipse compiler.

See https://github.com/rzwitserloot/lombok/blob/9198551defb7dd71d872c7b86af0a3f0bf0ec545/src/core/lombok/javac/handlers/HandleSetter.java and https://github.com/rzwitserloot/lombok/blob/9198551defb7dd71d872c7b86af0a3f0bf0ec545/src/core/lombok/eclipse/handlers/HandleSetter.java

Current thinking is to generate a subclass that can get/set protected or package-private fields and methods in the annotated superclass. This is a reasonable restriction that is more maintainable than using internal compiler APIs.

Hi @remkop, is there any progress on this? Do you maybe have an estimation on when you would get around to implementing this?
We are using picocli in combination with GraalVM native-image. We have multiple entrypoints with different sets of supported commands pulled from a shared pool. However with the current config generation, all commands are seen as reachable to the native-image compiler.
With the suggested codegen, automatic reachabillity analysis would correctly remove all unused commands, reducing our final executable size.

Hi @kristofdho I am not currently working on this and I don't see myself working on this in the near future. So I cannot give any estimate.
However, this message that was posted on the picocli mailing list may be relevant, so let me copy it here:
On Tuesday, July 6, 2021 at 9:14:03 PM UTC+9<EMAIL_ADDRESS>wrote:

Hi,
Just in case this might interest anyone, I created an annotation processor that takes an existing project that uses PicoCli annotations and generates code that uses the PicoCli API to recreate the same model:
https://github.com/quintesse/jbang/tree/picocli_annoproc
The code isn't finished because it only implements the PicoCli features we were using in our own project (but we're using quite a number). But it might be useful as a starting point for someone who'd like to do something similar.
Also the code quality is PoC-level because I was only trying to see if model creation time would improve using the API (in our case PicoCli setup is 3/4 of our app startup time so finding a way to improve this is pretty important to us). Unfortunately the gains were pretty minimal so I'll not be working on this any further.
The code for the annotation processor can be found in ... drum roll... /annotation.
Cheers!
-Tako
(Jbang contributor)

I currently have very little time to spend on picocli, but if this is something you want to work on, we can look at bringing this to production quality and integrating this into the picocli project somehow.

@remkop Thank you for the quick reply.
For now our best option would probably be writing a feature that programatically registers the required reflection configuration based on reachabillity hooks.
However, could you shed some light on when the reflective lookup calls happen? The CommandLine class is, to put it lightly, quite complex. For what I could follow, it looks like Field references get stored in the CommandLine instance while parsing the annotations. For simply running CommandLine#parseArgs and CommandLine#usage calls after the setup, are there any reflective lookups required?
If that would be the case, we could simply cache the CommandLine instance at build-time and we wouldn't need any configuration at all, removing all setup overhead as well.

@kristofdho Reflection happens at two times:

at initialization time to create the model (the hierarchy of CommandSpec, OptionSpec etc instances)
during parsing (parseArgs), after options and positional parameters were matched: the IGetter and ISetter bindings that picocli generates use reflection to set the value of annotated fields or invoke the annotated methods

An annotation processor could avoid both usages: the processor could generate code that creates the model. The IGetter and ISetter for each option and positional parameter could simply set the annotated field value (or invoke the annotated method) programmatically without reflection.
The usage methods does not need to use reflection if the default value for an option can be obtained without calling the IGetter of the option. So, @Option(names = "-a", defaultValue = "abc") would be fine.
It should be possible to reuse a single CommandLine instance, but there are some edge cases (like #1010) where there may be issues.

 I'm a bit disturbed by the comment above saying that even with compile-time generated specs, startup time didn't improve much. Why would that be? Where is the time actually going?

@mikehearn That is a good question. I personally have not spent time profiling. I believe some others have, notably here: https://github.com/remkop/picocli/issues/1377

(...) comment above saying that even with compile-time generated specs, startup time didn't improve much.

Can you link to that comment? I cannot find it.

Also the code quality is PoC-level because I was only trying to see if model creation time would improve using the API (in our case PicoCli setup is 3/4 of our app startup time so finding a way to improve this is pretty important to us). Unfortunately the gains were pretty minimal so I'll not be working on this any further.


Is there a way to force it to recalculate its position?

When the screen transitions and the vaul is re-rendered, its position becomes incorrect. Is there a way to force it to recalculate its position?
https://github.com/user-attachments/assets/d0327912-0d5a-4940-bffc-fcc4c7dca686

I have same problem when i put noBodyStyles to Drawr.Root props

@Azimka228 Thanks. I resolved my issue.


perf: skip dependency injection if there are no dependencies

This is a small optimization but it can help with things like a /healthcheck endpoint.
We'd just need to add a special case in Operator.solve to do self._app = _SimpleOperationApp or something like that.
The alternative is to just tell users to use Stalette routes for this use case, but then they won't get documented in OpenAPI.

Not worth it, di is a lot faster now


Add blockbook support for Arbitrum

Overview
blockbook currently does not support Arbitrum, we'll have to patch our fork or try to get it merged upstream.
References and additional details
https://github.com/trezor/blockbook/issues/668
Acceptance Criteria

Blockbook running correctly with Arbitrum support

Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

@lmyslinski I would Like to work on this I understand the whole code
my discord id Haardik#5890

https://github.com/kaladinlight/blockbook/tree/add-arbitrum


Sprk 2646 module training unavailable

fixed the issue with bytes, also changed the necessary fields to JSONFields, created migration.
Update little method activity_state_get

There's quite a lot of stuff in here and I'm not sure that it's all necessary. I'm also not sure that changing the type of the state field is safe, as it will either:

Drop and recreate the column (we'd lose all existing state data and I think this is most likely what would happen)
Try to keep the data, but are we sure that all the state is definitely json formatted?

I checked the DB on the broken 2.0 branch and it looks like the state is being saved in the database as b'{stuff}', which means we're saving a bytes object. Following this through it all originates in request.body being bytes rather than a string.
I've added a PR here: https://github.com/sponge-learning/ADL_LRS/pull/24/files
Could you give it a try and see if it resolves the issue?


docs(architecture): small tweaks

navigation order fixed, and missing link added for HTTP.

Thanks!


Spaceship External Section Registry

This issue is for discussion.

I mentioned the possibility of creating a Spaceship External Section Registry in #701.
I'm thinking about creating a separate repo for external sections, where people could send their custom sections. Also, people can publish their custom sections anywhere they want. The registry is for verified sections.
We can also add a command for a spaceship to simplify installing those sections and adding them to prompt.
@salmanulfarzy @maximbaz what do you think? I'm just brainstorming, but hopefully, we can shape those thoughts in something useful.

This is an interesting idea, as it would create a central place to find more sections. My biggest question right now is how to draw a line between "spaceship" and "spaceship-contrib" repos, if you want to submit a new section, how would you know to which repo to create a PR? Would you revisit some of the present sections and move them out of this repo into "spaceship-contrib"?

This was exactly what I had in mind for starship!
I would love to help out in the planning of this. 👍

I'm thinking about creating a separate repo for external sections, where people could send their custom sections.

Another solution is to allow the installation of sections given a GitHub $username/$repo to allow for easy extensibility. There could be a central repo or wiki that would surface them and show previews, much like oh-my-zsh does for themes.

Would you revisit some of the present sections and move them out of this repo into "spaceship-contrib"?

I think that would be a great way to slim things down in preparation for v4.0.0.

57

Implemented in v4.0


Fix :kotlin-dsl* integ test extra repo sysprop reading

This is a follow up to:

https://github.com/gradle/gradle/pull/26501

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


const dictionary results in a invalid Parse Error

Godot version
v4.0.beta2.official [f8745f2f7]
System information
all
Issue description
Run into this issue during migrate my plugin from Godot3 to Godot4
I build a mapping between notification constants and human readable messages and run into this issue
const NOTIFICATION_AS_STRING_MAPPINGS := {
	TYPE_OBJECT: {
		Object.NOTIFICATION_POSTINITIALIZE : "POSTINITIALIZE",
		Object.NOTIFICATION_PREDELETE: "PREDELETE",
		MainLoop.NOTIFICATION_WM_MOUSE_ENTER: "WM_MOUSE_ENTER",
	}
}

res://testScene.gd:3 - Parse Error: Initializer for a constant must be a constant expression.
The problem is related to constant MainLoop.NOTIFICATION_WM_MOUSE_ENTER
If you replace it by there value 1002 no error occurs.
And the constant is moved in Godot4 from
MainLoop.NOTIFICATION_WM_MOUSE_ENTER to Node.NOTIFICATION_WM_MOUSE_ENTER
The error is missleading, it should be the constant MainLoop.NOTIFICATION_WM_MOUSE_ENTER not exists.
Steps to reproduce
create a new script and add this code
is failing
const NOTIFICATION_AS_STRING_MAPPINGS := {
	TYPE_OBJECT: {
		Object.NOTIFICATION_POSTINITIALIZE : "POSTINITIALIZE",
		Object.NOTIFICATION_PREDELETE: "PREDELETE",
		MainLoop.NOTIFICATION_WM_MOUSE_ENTER: "WM_MOUSE_ENTER",
	}
}

it works
const NOTIFICATION_AS_STRING_MAPPINGS := {
	TYPE_OBJECT: {
		Object.NOTIFICATION_POSTINITIALIZE : "POSTINITIALIZE",
		Object.NOTIFICATION_PREDELETE: "PREDELETE",
		Node.NOTIFICATION_WM_MOUSE_ENTER: "WM_MOUSE_ENTER",
	}
}

should work in both cases
Minimal reproduction project
No response

The error is missleading, it should be the constant MainLoop.NOTIFICATION_WM_MOUSE_ENTER not exists.

In 4.0.3 and master the error order is correct, so I think this issue can be considered resolved.

See also https://github.com/godotengine/godot/issues/75052#issuecomment-1612654819. In some cases the order may be different, and this can be misleading, as the first error is the most noticeable.


Native crash in macOS remote smoke tests

From: https://dev.azure.com/monacotools/Monaco/_build/results?buildId=228258&view=results
566bc8db-1a99-4c33-b112-c433fd0a3edf.dmp.zip

Refs https://bugs.chromium.org/p/chromium/issues/detail?id=1422170, seems to fixed in newer versions. Based on the timeline, https://chromium-review.googlesource.com/c/chromium/src/+/4633916 seems to be the candidate that addressed the issue.
I am hesitant to backport the change since it is not trivial, can look into it again if the number reports increases in the future.

I am not sure how to verify this but I will monitor again for new smoke test crashes if there are any crashes attached.


Custom display driver with Raspberry PI

Hi,
I have released a program in PyQt and QML that transfers the drawing buffer to the SPI display in the same way as your program.
https://github.com/hishizuka/pizero_bikecomputer
I wanted to do the same thing in Kivy, but my hands had been tied for several years. I am very impressed with your program.
My project is similar to yours (Ubo) in that I am building a device that lets the various hardware of the Raspberry Pi do the work and control it through displays and buttons.
I would love to use your program in my project. Is the following request possible?

I want to use Fake() on Raspberry Pi instead of adafruit_st7789.
After getting data( = np.frombuffer(self.texture.pixels, dtype=np.uint8  in render_on_display of __init__.py), I want to connect to any callback function instead of going to downstream processing.

Hi,
I think these are good ideas to make this project more accessible and customizable.
Would it work for you if we do these things?

Drop the hardcoded condition of if IS_RPI for faking and let an environment variable/config parameter control it instead.
Replace the line that creates a thread for running transfer_to_display, with a callback provided in the config.

This way, headless-kivy would still generate hashes of frames and manage the fps and only the final rendering on the real display would be delegated to the callback. You can still disable all the fps management logic by setting HEADLESS_KIVY_PI_AUTOMATIC_FPS=False.

@hishizuka Please check if the latest version works for you.
Note that the name of the project has been renamed from headless-kivy-pi to headless-kivy. Since very few people are using it, I didn't create a migration notice in the previous pypi page.
https://github.com/sassanh/headless-kivy/releases/tag/v0.9.0

Hi, @sassanh
Thanks for your update so much!
I want to output to a 400x240 display, but when I change the WIDTH, it sometimes fails at line 254 of init.py.
I can get around this by adding try statement.
import numpy as np
from PIL import Image

from threading import Thread
from numpy._typing import NDArray

import kivy

WIDTH = 400
HEIGHT = 240

def render(
    *,
    rectangle: tuple[int, int, int, int],
    data: NDArray[np.uint16],
    data_hash: int,
    last_render_thread: Thread,
) -> None:
    im = Image.fromarray(data.astype('uint8').reshape((HEIGHT, WIDTH, -1)))
    im.save("tmp.png")

from headless_kivy import config, HeadlessWidget
config.setup_headless_kivy({
    'callback': render,
    'width': WIDTH,
    'height': HEIGHT,
    'flip_vertical': True
})

from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout

class FboGridLayout(GridLayout, HeadlessWidget):
    def __init__(self, **kwargs):
        super(FboGridLayout, self).__init__(**kwargs)

class MyApp(App):
    def build(self):
        fbg = FboGridLayout(rows=2, cols=2)
        fbg.add_widget(Label(text='Hello 1'))
        fbg.add_widget(Label(text='Hello 2'))
        fbg.add_widget(Label(text='Hello 3'))
        fbg.add_widget(Label(text='Hello 4'))
        return fbg

if __name__ == '__main__':
    MyApp().run()

File "/home/pi/code/headless-kivy/headless_kivy/init.py", line 254, in render_on_display
HeadlessWidget.raw_data[self.x : self.x + self.width][
ValueError: could not broadcast input array from shape (400,240,3) into shape (240,240,3)

Also, you define data as uint16, but are you dealing with more than 65536 colors? I thought uint8 would be more appropriate for the #RRGGBB format.
init.py L247
data = data.reshape(self.width, self.height, -1)[:, :, :3].astype(np.uint16)

@hishizuka Thank you so much for providing the reproduction code. I created a demo.py file in the repository based on your code, assuming I had your permission.

File "/home/pi/code/headless-kivy/headless_kivy/init.py", line 254, in render_on_display
HeadlessWidget.raw_data[self.x : self.x + self.width][
ValueError: could not broadcast input array from shape (400,240,3) into shape (240,240,3)

Since we were solely using this code with a square display, we hadn't noticed this issue and couldn't reproduce #12. Thanks to your reproduction code, I could now work on it.

Also, you define data as uint16

Good point! We needed uint16 for Ubo code. I converted the rest to uint8 in headless-kivy, I will migrate it back to uint16 in ubo-app.
Please check the latest version 0.9.3 and see if it works. I also added alpha channel as you can see in the demo, so you may need to drop it based on your use-case.

Hi, @sassanh
Thanks for the update. It worked here too.
This is an unrelated request, but the version of kivy that comes in with apt install in Bookworm is 2.1.0.
Is it possible to allow the user to specify line 30 of config.py?
kivy.require('2.3.0')

@hishizuka If you are sure it works with 2.1.0 without any issues I can drop the required version to 2.1.0.

HI, @sassanh
At least the original code in demo.py that I put in this issue worked fine in 2.1.0.
It will take some time, but I plan to incorporate it into my own project. I will let you know if there are any problems at that time.

Done in version 0.9.5


Fixed ActivationTypeIT flakyness

What does this PR do?
The agent does not sent the activation method when a APM server older than 8.7.1 is detected.
This caused some flakyness in the AgentActivationIT: If the health-check request finished before the metadata is generated, the agent assumed a pre-6.0 apm server and therefore did not send the activation method.
If the apm-server version is not known (the health-check request did not finish yet), the activation method is sent.

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-04-06T09:01:36.896+0000

Duration: 14 min 5 sec

:grey_exclamation: Flaky test report
No test was executed to be analysed.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


FEATURE REQUEST: Delete/move local and remote

Expected Behavior
In reference to following issue: #262
All local file (and folder) operations in VS Code should also be performed remotely.

I want to keep remote file operations in Remote Explorer.

For what reason? In my oppinion this only increases the workload.
Actual Behavior
Files are often renamed, moved or deleted. All these operations are not performed remotely, which leads to unnecessary files on the remote server.
Steps to Reproduce the Problem

Create a file locally
Rename or delete this file
Take a look on the remote server -> the initial file can still be found on the remote server

Specifications

Version: 1.5.7
Platform: Windows 10 64bit

You can remove unwanted files from remote with SFTP: Sync to Remote. This will make sure the remote is exactly the same with local.

Yeah, that's right. But that is another manual step that I would like to avoid. It could also be forgotten in everyday working life. Therefore, it is important for me that this happens automatically with the local operation.
Is there a way to trigger SFTP: Sync to Remote automatically together with the update / delete oparations? This would help for the moment.
Thank you!

+1 to this,
I think it would be ideal to have a dropdown menu in the Right menu, and there we could select: remove local and remote, rename local and remote, etc.

@Fabrazer @gergokoos rename and remove will come soon.

Experimenting more on this, sync local -> remote lets you select a folder, but i couldn't find how to select a subfolder. I wanted to sync /root/foo, and it synced all /root with all their subfolders in a very big project.
In addition to add options like
rename local and remote file/folder, remove local and remote file/folder, etc, i think that the sync local -> remote options should be done for the file or level you have opened / selected in the sidebar.

The primary situation in which this is super useful is if you're pulling a branch or checking out another branch, remote behaves accordingly.

How does delete local and remote work in this situation? It a branch checking out result a file get removed from local. How could you do a delete local  and remote.

How does delete local and remote work in this situation? It a branch checking out result a file get removed from local. How could you run delete local and remote on an removed file?

You wouldn't.. you would just sync the local changes to remote. The watcher should be able to handle this scenario.

i need this

I would be glad to see an option for this behavior.
By this I mean that if I want the local actions be performed remotely, I can set the config for this.
In most of my projects the sync local > remote will take way too long.
But the user should decide what behavior is the right for his environment.

Is there any indication when this would be released?


Can't override image entrypoint

When trying to override image entrypoint gitlab-ci-local crashes with a stack trace.
.gitlab-ci.yml:
gcl-test:
  image:
    name: gcr.io/kaniko-project/executor:v1.5.1-debug
    entrypoint: [""]
  stage: test
  script:
    - echo "blah"

Expected output:
yml files            processed in 80 ms
gcl-test             starting gcr.io/kaniko-project/executor:v1.5.1-debug (test)
gcl-test             pulling gcr.io/kaniko-project/executor:v1.5.1-debug
gcl-test             pulled in 230 ms
gcl-test             copying to container /builds/
gcl-test             copied in 307 ms
gcl-test             $ echo "blah"
gcl-test             > blah
gcl-test             finished in 1.48 s

I get a stacktrace instead:
yml files            processed in 110 ms
TypeError: image.includes is not a function
    at Job.get image [as image] (/snapshot/gitlab-ci-local/src/job.ts:116:22)
    at Job.start (/snapshot/gitlab-ci-local/src/job.ts:167:85)
    at Function.runSingleJob (/snapshot/gitlab-ci-local/src/commander.ts:113:13)
    at handler (/snapshot/gitlab-ci-local/src/default-cmd.ts:53:9)
    at Object.handler (/snapshot/gitlab-ci-local/src/default-cmd.ts:65:9)

My guess is that there's no handling for hash map version of image key so either a bug or enhancement request depending on how you look at it.

@okuuva You are right.
I've created a WIP Pull Request https://github.com/firecow/gitlab-ci-local/pull/99 with a jest test case.
Now we/I just need to implement it :smile:

@okuuva PR #99 is out of WIP, and will probably hit master any day now.


Weird behavior only when typing <span in HTML

Steps to reproduce, using Chrome Version 50.0.2661.102 m (64-bit):

Go to https://microsoft.github.io/monaco-editor/index.html
Change language to HTML.
Click at the end of  and press Enter.
Type "<span" and notice how it suddenly becomes "span    <" (before even pressing space). If I backspace, it goes back to "<spa".  If I type "<spandex", it will show as "spandex     <".  After pressing space or ">", the cursor jumps past the "<", but the problem remains.  Similar behavior occurs when trying to type the closing tag "", so trying to type "" becomes "span    span    <> </>".

I was also able to reproduce this in IE11.
I am not able to reproduce this with any other tag.  Typing "<div" or "<spin" or anything that doesn't start with "<span" does not cause the problematic behavior.

editor brokes in firefox.

Nice find! This is a conflict with bootstrap that contains this rule:
[class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
}

and the html tokenizer generates the following class name:
span


GH-899: num.stream.threads not taking effect

Binder is overriding the num.stream.threads property specified
through the binder configuration. Fixing this issue.
Adding tests to verify.
Doc changes
Resolves https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/899

@sobychacko This seems incredibly complicated. Why is it so much more complex than simply falling back to the binder-level property when there is no binding-level property?

Issue created to tackle the architecture of how we handle concurrency in the binder: https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/issues/905


runtime: timeout in TestCgoCCodeSIGPROF and TestCgoExecSignalMask on linux-ppc64le-buildlet

2020-04-09T01:16:43-376472d/linux-ppc64le-buildlet
CC @laboger @ceseo for linux-ppc64le, @aclements @ianlancetaylor for runtime_test.TestCgo*, @andybons for possible builder slowness

A few things look odd about the bad output. There is a new runtime test recently added that is spewing output about recurseFn now which wasn't before?
Also, the output shows it timed out at 3m, I thought at one time it was higher, like at least 4m or maybe more. Is there to see if this has changed in the past few months?

The log in 2021-09-15T03:29:41-b26d325/linux-ppc64le-power9osu has a shorter timeout applied to the subprocess and includes a goroutine dump for it.
(2020-08-25T20:04:27-8381408/openbsd-amd64-64 may or may not be legit: it's from the period where the openbsd-amd64 builders were highly unstable due to a platform bug.)
greplogs -l -e 'FAIL: TestCgoCCodeSIGPROF .*(?:\n\s+.*)*SIGQUIT' --since=2020-04-10
2021-09-15T03:29:41-b26d325/linux-ppc64le-power9osu
2020-08-25T20:04:27-8381408/openbsd-amd64-64


Where/How can custom css be added?

Since NextJS does not allow for Links in the head, what is the best approach for adding custom css to a Nextra project?

https://nextjs.org/docs/messages/no-stylesheets-in-head-component#document


Documentation for Text instance methods says no instance ("data type") is needed...

TSIA really. Many documentation pages for instance methods, such as here, wrongly state that no instance or "type name" (I guess copy-pasto'd from the static methods) is needed.

We need to type SomeTextVar.Substring(). The method is not available statically (not even as an overload taking an instance as the first argument).
The purple Note should be removed from the documentation pages for all such instance methods.
I don't know how many other built-in methods this might affect but would suggest checking.

While here, it would probably be nicer to write something like SomeTextVar.Method() instead of using Text literally, since we presumably shouldn't be calling instances the same names as their types (and should be quoting them when events force us to! ;-) )

This is still an issue, albeit in the documentation. Please can you move to https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb/issues ? Or do I need to open a new issue there?


Update team members

FYI, @stefanv you are still not in the GH list for the web team and I think you should be. I manually update the list to have you there.

Won't this just get overwritten next time you generate the gallery?

For now, I've added myself to the web team to simplify your life. Do you need any other people added to teams?

haha thanks. I think otherwise it's good. At leat with what I know :)

Pushing this now.


Buxfixes for allowing bwe overuse in certain conditions

This PR should fix the following:

WebRTC Endpoint crashing after removing a track
Not freeing the allocation of dead/removed TrackReceivers
Increasing delay in video playback
Not requesting higher allocation after willingly lowering it

I really appreciate commit names and PR description :+1:


Remove open-book References

There are still wrong/old references to "open-book".
Wrong link to vulnerability report.
E-Mails to open-book.org
https://github.com/OkunaOrg/okuna-api/blob/master/CODE_OF_CONDUCT.md
https://github.com/OkunaOrg/okuna-api/blob/14976f6ea22fb796a1df7147f8481cfb597245d3/.env.sample#L68
Several here:
https://github.com/OkunaOrg/okuna-api/blob/69599413f0966b5575dc24345ca143312d69b9ef/openbook_auth/tests/views/test_auth.py#L49
Old Api Name:
https://github.com/OkunaOrg/okuna-api/blob/64ec6d112189dfd555e227181d1aa091ca8260b7/openbook/settings.py#L251
Foldername:
Consider renaming with git mv
Don't know, if there would be problems with flutter.

API name and directories will have to remain the same. They're used by django to create database columns, tables and migrations. The rest, I have to verify the domain can be used by the API, tests don't matter much but a replace should do it.
Thanks!


Ignoring errors on some files

I am trying to build my project with ng-annotate as out of the filters. The problem is that some of the files are written in ES6.
I get the following error from such a file:
{ [Error: services/billingService.js: error: couldn't process source due to parse error
'import' and 'export' may appear only with 'sourceType: module' (1:0)]
  message: 'services/billingService.js: error: couldn\'t process source due to parse error\n\'import\' and \'export\' may appear only with \'sourceType: module\' (1:0)',
  showStack: false,
  showProperties: true,
  plugin: 'gulp-ng-annotate',
  __safety: { toString: [Function: bound ] } }

Is there a way to simply skip ngAnnotate for this file, for example by ignoring this error and making gulp continue?

This is not gulp-ng-annotate issue, you should solve it using gulp machinery, because plugin does the right thing here, throwing the error. You may try to add on('error') callback, see e.g. here or here.

Or, if I understand the issue correctly, you may want to use something like gulp-if to process different sets of files with different plugins.

Unfortunately there is no gulp-if that can help cause ES5 and ES6 files have the same file extension. The only way to tell that it is ES6 is that when ngAnnotate() fails in parsing. Unfortunately when it fails and I handle the error (even with gulp-plumber), the file is not being forwarded to the next pipe.

Unfortunately there is no gulp-if that can help cause ES5 and ES6 files have the same file extension

Then, possible solutions would be to put them in different folders or add extra prefix/suffix manually or transpile your sources to ES5 as recommended here.


Compliance with the IIIF Image API 2.0

As per @alexbilbie's suggestion, it may be worth investigating adding IIIF Image API 2.0 compliance to Glide. Their URI spec is  as follows:
{scheme}://{server}{/prefix}/{identifier}/{region}/{size}/{rotation}/{quality}.{format}

identifier - source file
region - crop area
size - target size
rotation - orientation
quality - basically effects (color, grayscale or black/white)
format - jpg, tif, png, gif, jp2, pdf, webp

The biggest challenge I see is that this limits Glide quite a bit, as the original intent of this spec wasn't for image manipulation:

This API was conceived of to facilitate systematic reuse of image resources in digital image repositories maintained by cultural heritage organizations. It could be adopted by any image repository or service, and can be used to retrieve static images in response to a properly constructed URI.

However, Glide could still offer compliance, albeit with only a subset of the overall feature set. We could offer a URI parser to do this work. Something like:
$glide = Glide\Factory::server([
    'source' => 'images',
    'cache' => 'cache',
]);

$parser = new Glide\UriParser\IIIF($request);

$glide->outputImage(
    $parser->filename(),
    $parser->params()
);

You can follow the discussion with the IIIF here. Sounds like this is doable, although we will need to add JSON information responses, which sounds like a good idea anyway.

I'm going to close this issue for now. Not because I don't want to do this, but because I just don't have the capacity right now. It's something we can revisit in the future


Tag  master with a new version

When pulling PeerTalk through CocoaPods it is not pulling the latest codebase. Its actually pulling an old commit since version 0.0.1 points to an old commit.
Would it be possible to push a new podspec to cocoapods master repo for version 0.0.2 and tag the master branch with tag 0.0.2?
I can do a PR for the podspec if you will

Any updates on this?

@priteshrnandgaonkar doesn’t seem there is much we can do here... any ideas?
Sent with GitHawk

You can pull the latest version directly from GitHub using
pod 'PeerTalk', :git => 'https://github.com/rsms/PeerTalk', :tag => '0.1.0'
This was pushed today.


Update README.md

Thanks! Found this typo myself yesterday and fixed it already, together with a bug in the examples.


raftstore: poll the newer peer list to check stale peer

Signed-off-by: Liqi Geng<EMAIL_ADDRESS>cherry-pick https://github.com/tikv/tikv/pull/7636 to release-3.0
Release note
Fix an issue that a peer may not be destroyed after isolation recovery.

/merge


Update Columbia County, PA

update URL for Esri service
update schema for data

You're killing it today! If you are interested I sent a slack invite to your email.


Fixbug: Install socketplane error on second server

When I install socketplane on a second server, I get the following error:
root@socketplane2:/usr/bin# curl -sSL http://get.socketplane.io/ | sudo sh
...

sleep 3
[ -t 0 ]
[ -z ]
BOOTSTRAP=false
socketplane install unattended
Installing SocketPlane...
-----> Setting Linux Kernel Options
net.ipv4.ip_forward = 1
net.ipv4.icmp_echo_ignore_broadcasts = 0
-----> Curl already installed!
-----> Open vSwitch already installed!
-----> Setting OVSDB Listener
-----> Docker already installed!
-----> Starting the SocketPlane container
BOOTSTRAP not set

Please ignore the CircleCI test failures. We have enabled the CI but once #100 is merged, the failures should be addressed.

LipingMao
Nice catch.  I had tested the install with a wget and it didn't look like I needed to export the BOOTSTRAP variable.  You change guarantees it will be set no matter what.  The team here really appreciates your help.
Thanks
John
@botchagalupe on twitter.


Some volumes are not deleted on Workflow completion

Volumes created via volumeClaimTemplates in Workflows are not deleted when a Workflow completes.

Ways this can happen:
When ARGO_POD_GC_STRATEGY is set to OnWorkflowSuccess and a workflow fails, it does keep the volume.
Otherwise, I tested this with OnPodCompletion (the default) and a failed or successful workflow deleted the volumes.
This might have been related to the Patch https://<IP_ADDRESS>:443/api/v1/namespaces/ issue from earlier. Maybe that specific kind of failure prevented the volumes from being terminated. But that was a system error in general. It might be worth pursuing a kind of cron that checks for bad resources, since it would be external to any failures.
I'll keep an eye on this one, but if anyone is able to reproduce it, please post below.

This looks to be an issue only when we delete clusters and don't delete paused or running Workspaces. Closing for now.

This looks to be an issue only when we delete clusters and don't delete paused or running Workspaces. Closing for now.


update chart minor version

:pencil: Description

Update chart version

:link: Related Issues

@mvaalexp FYI :)

Merging, waiting on this for failure.
https://github.com/ExpediaGroup/kubernetes-sidecar-injector/pull/46

no problem! thanks!


Add Command and Handler Generators

I've been using this package a lot and wanted to make creating Commands and Handlers easier
Generators
You can generate Commands and Handlers automatically using artisan
artisan make:tactician:command Foo
artisan make:tactician:handler Foo

This will create FooCommand and FooHandler and place them in the app/CommandBus/Commands and app/CommandBus/Handlers respectively
To run both at once
artisan make:tactician Foo

@joselfonseca I've fixed the CI issues on this PR.
Outstanding:

I believe the camel case issues in the Tests from Nitpick are false positives, as I followed your format
Nitpick and Scrutinizer disagree on this point, please let me know which you'd like me to use

Hi there! Thanks for this great contribution! in regards of your questions,

They are false positives as i like to use sneak case for tests so it is easier to read.
Please use nitpick's.

Thanks again and please let me know when i can merge.

cool I do that too!
This is ready to merge


Unable to debug as Zemu exits too early

Currently when attempting to launch the application in a debug context (with the --debug flag passed in custom to speculos) Zemu will still attempt to retrieve the main menu screen bailing out after a certain timeout.
The problem with this in a debug context is that there's potentially a very long delay before the main menu is actually present, as the debugger needs to be attached first and also the execution needs to continue for at least the first loop.

Should we disable the timeout if we detect that --debug is present?

Doing a bit of cleanup here. Regarding what you mention, you could do:
const zemu = new Zemu("/path/to/app");
zemu.start({ startTimeout: Infinity });

It is indeed a bit tricky, but adding more complexity to the startup seems overengineering for such a corner case.
Thanks for the report!


Hi. Is this thing on?

A friend of mine is looking for a good game engine he can use to work on his project. Seeing that the last update was around 6 months ago... should he try Piston, or is the project no longer being worked on?
Thanks in advance! :)

+1
cps~

This is still being worked on, but not as frequent as most things are stable.

Closing.


Add logo

Adding a logo! It seems to look okay even when tiny.

Minor update - added ticks to indicate the coordinates better.


getdscresourcekit recipe fails

The getdscresourcekit recipe is failing currently.
The first reason is the remote_file path fails to download the file.  The current file path I've found is: http://gallery.technet.microsoft.com/scriptcenter/DSC-Resource-Kit-All-c449312d/file/120455/1/DSC Resource Kit Wave 5 07212014.zip
Secondly: There appears to be an issue handling the destination part of the archive resource.
Stacktrace
Generated at 2014-08-18 14:56:23 -0700
PowershellCmdletException: archive[get-dsc-resource-kit] (msmq::get_dsc line 13) had an error: PowershellCmdletException: PowershellCmdletException
Powershell Cmdlet failed: The client cannot connect to the destination specified in the request. Verify that the service on the destination is

running and is accepting requests. Consult the logs and documentation for the WS-Management service running on the

destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the

destination to analyze and configure the WinRM service: "winrm quickconfig".

    + CategoryInfo          : ConnectionError: (root/Microsoft/...gurationManager:String) [], CimException

    + FullyQualifiedErrorId : HRESULT 0x80338012

    + PSComputerName        : localhost

Relevant code:
remote_file "C:\\Chef\\DSC_resource_kit.zip" do
	source "http://gallery.technet.microsoft.com/scriptcenter/DSC-Resource-Kit-All-c449312d/file/120455/1/DSC%20Resource%20Kit%20Wave%205%2007212014.zip"
end

dsc_resource 'get-dsc-resource-kit' do
  resource_name :archive
  property :ensure, 'Present'
  property :path, 'C:\\Chef\\DSC_resource_kit.zip'
  property :destination, "C:\\Program Files\\WindowsPowerShell\\Modules"
end

(It doesn't matter if I hard set the path or use the ENV variable.

Sorry for the late response, but we've deprecated since repository as the dsc functionality is now part of the chef-client itself.  I'm going to close this issue out at this point.  If you're still encountering this problem you'll want to file it against the chef project itself.


Update kid3 to 3.4.5

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as d8c168bc018032147c791ca39753763343e132ca. Your contribution is still credited to you.


Markdown rendering of symlinks

Gogs version (or commit ref): <IP_ADDRESS>3
Git version: 2.9.3
Operating system: Fedora 25 - 4.9.10-200.fc25.x86_64
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] SQLite

Can you reproduce the bug at https://try.gogs.io:

[x] Yes (https://try.gogs.io/mgarces/testing-markdown-symlink)
[ ] No
[ ] Not relevant

Log gist (usually found in log/gogs.log):

Description
When you create, for example, README files, if you do not put .md extension, but then create a symlink with the given extension, Gogs does not render the markdown at all.
...

I think this is the correct behavior, isn't it?
You cannot assume that README file is a markdown file.

Not only is the file not rendered as Markdown, but the symlink isn't followed at all. Instead it displays the filename that the symlink is pointing to.

I tested GitHub, it does the exact same thing as Gogs:

I think it is correct to show what symlink points to, which the real content of that file.


ly fails to start xorg

I'm on arch and after installing, ly won't start any session. It will just say failed to start xorg and leave with a pointer on a useless terminal.

I'm on Arch and don't get this issue. What exactly happens?

It logs me in but every session fails to start xorg server

Did this happen wtih any other display manager?

No. every manager I use like sddm or gdm or lightdm work perfectly fine

This will be complicated without any details or logs. If you can concentrate, what can you see after you hit Enter when trying to log in? Like what exact error message does it show? I'll need this to further investigate.

Well I see the xorg server trying to start like if I was using startx but it just fails. It says xorg server failed to start and then leaves me with a cursor.

Do you have any DE installed or not?

I have gnome, kde and dwm

even tried on another laptop with a fresh install

Is it any flavour of Arch or pure Arch? It works for me with pure Arch.

pure

How did you install Ly?

from source. followed the instructions and i thought i was doing something wrong so I tried the aur version but the same problem

There's clearly some problem here. Now, I don't know if this will solve anything (perhaps it will?), try my Ly fork by installing it from the AUR : ly-plank-patched.

Thanks, now it works

Nice, glad it solved the problem! The fork only sets one (just a tiny one) environment variable, XDG_SESSION_TYPE properly (if you're curious).


Ability to disable commit message length warning.

VSCode Version: 1.5.2
OS Version: Windows 10

Steps to Reproduce:

In the Git panel/tab, enter a commit message which is longer than 50 characters.
Note that a warning is displayed.

I find this warning to be a bit controlling, and would like to disable it. The opinion that a commit message should be < 50 characters may not work for every user, or every team.

That's already implemented: "git.enableLongCommitWarning": true, in the settings.

Thanks! I couldn't find it.


Fix time kwrd pop

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 87.28%

Files with Coverage Reduction
New Missed Lines
%

src/qutip_qoc/_optimizer.py
1
85.07%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.2%

Covered Lines:
645

Relevant Lines:
739

💛  - Coveralls


Fix (ingest): Update looker source for Looker query API breaking change

See patch notice here https://cloud.google.com/looker/docs/best-practices/query-id-update-instructions
Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@feldjay looks like there's some lint issues
src/datahub/ingestion/source/looker/looker_lib_wrapper.py:261: error: Incompatible return value type (got "LookWithQuery", expected "Look")  [return-value]
src/datahub/ingestion/source/looker/looker_source.py:1202: error: "Look" has no attribute "query"; maybe "query_id"?  [attr-defined]
src/datahub/ingestion/source/looker/looker_source.py:1202: error: Argument 1 to "get_look" of "LookerAPI" has incompatible type "Optional[str]"; expected "str"  [arg-type]


Add Infinite Cards Example

Possible starting on version 3.0.1

Hi, any update on this enhancement? Or a way around start over card swiping?
Thank you for providing this library.

@skdevil see my answer here https://github.com/mac-gallagher/Shuffle/issues/59#issuecomment-629024241

@mac-gallagher Thanks, got it. Though after swiping all cards, if I reload it starts from the beginning, I can use that, looks a bit glitchy, as the view are removed and added again, but that will do for now. Thank you.

Have you tried the appendCards method? You should only reload data if you want to start over and clear your swipe history

Yes, I have two requirements:

Load cards via a paginated API call
Once all data is loaded and you are on the last card, it should start over again.

So if I have 500 cards initially, I can append those 500 data elements again, but if I keep doing this, there will be performance issues right, as you maintain an array? For now, I won't be using undo operation.
Please let me know if I am wrong.

I would not add all 500 at once, but even so, it should be no problem for the library. It just maintains an array of integers

Great! Will use appendCards then, but of course, appending the same data in chunk.


Decorate get_keys with the new format.

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

Current dependencies on/for this PR:

main

PR #356

PR #357   👈

PR #358

This stack of pull requests is managed by Graphite.

Merge activity

Jan 19, 11:52 AM: @rohinb2 started a stack merge that includes this pull request via Graphite.


model_version 0125 is not available

Is there an existing issue for this?

[X] I have searched the existing issues

Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.8.5
Module Version
0.1.3
AzureRM Provider Version
~> 3.0, < 4.0
Affected Resource(s)/Data Source(s)
openai
Terraform Configuration Files
module "openai" {
  account_name                  = var.account_name
  source                        = "Azure/openai/azurerm"
  version                       = "0.1.3"
  resource_group_name           = azurerm_resource_group.cai_resource_group.name
  location                      = var.location
  public_network_access_enabled = true
  private_endpoint = {
    "${var.account_name}-${var.environment}" = {
      name                            = "${var.account_name}-${var.environment}"
      private_service_connection_name = "${var.account_name}-${var.environment}_connection"
      subnet_name                     = "default"
      vnet_name                       = data.azurerm_virtual_network.cai-vnet.name
      vnet_rg_name                    = data.azurerm_virtual_network.cai-vnet.resource_group_name
      private_dns_entry_enabled       = true
      dns_zone_virtual_network_link   = "dns_zone_link_openai"
      is_manual_connection            = false
    }
  }
  deployment = {
    "gpt-3.5-turbo" = {
      name          = var.gtp3_5_name
      model_format  = "OpenAI"
      model_name    = "gpt-35-turbo"
      model_version = "0301"
      scale_type    = var.scale_type
      capacity      = var.gtp3_5_capacity
    },
    "gpt-4-0" = {
      name          = var.gtp4o_name
      model_format  = "OpenAI"
      model_name    = "gpt-4o"
      model_version = "2024-05-13"
      scale_type    = var.scale_type
      capacity      = var.gtp4o_capacity
    }
  }
  depends_on = [
    azurerm_resource_group.cai_resource_group
  ]
}

tfvars variables values
client_id           = ""
subscription_id     = ""
account_name        = "tfe-np-open-ai-east-us"
gtp3_5_name         = "tfe-np-gpt-3-5-turbo"
gtp4o_name          = "tfe-np-gpt-4o"
gtp3_5_capacity     = 240
gtp4o_capacity      = 120
environment         = "np"
vnet_name           = "test-np"
vnet_resource_group = "test-vnet"

Debug Output/Panic Output
Believe issue is due to an older version of azurerm being used in the module

https://github.com/Azure/terraform-azurerm-openai/blob/main/providers.tf

0125 was added in Feb 24 - module was last published Jan 24

Expected Behaviour
Expect to be able to use 0125 model_version
Actual Behaviour
Terraform throws an error that 0125 is not present. 0301 as in the code above works correctly and deploys.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response

@zioproto its gpt-3.5-turbo that we would like to use 0125 for initially. will look at the above for GPT-4 Turbo

@kb12abz I understand now which model you are looking for:

Let me try to reproduce

Thanks apologies for not making that clearer.

@kb12abz at this table:
https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#standard-deployment-model-availability
you can check in which regions the model version you are looking for is available:

canadaeast
southcentralus
northcentralus

can you confirm you are using one of those regions ?

ah looks like this is where our issue has come in. We are deploying into eastus. Which is why it wont be working. thanks for your help

If you deploy to eastus your terraform apply should fail with this error:
│ Deployment Name: "gpt-35-turbo"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error:
│ InvalidResourceProperties: The specified SKU 'Standard' for model 'gpt-35-turbo 0125' is not supported in this region 'eastus'.


.Net: Function calling failing with 1106 (GTP 4 or 3.5) in some regions - API requests/response

Describe the bug
Function calling is not working anymore.
{
  "error": {
    "message": "Invalid value for 'content': expected a string, got null.",
    "type": "invalid_request_error",
    "param": "messages.[2].content",
    "code": null
  }
}

To Reproduce
It fails just with basic function calling (not using any planner).
Screenshots
If applicable, add screenshots to help explain your problem.
Platform

OS: Windows 10
IDE: Visual Studio
Language: C#
Source: 1.0.1 (nuget)

Additional context
LLM: Azure OpenAI
Version: GPT-4-Turbo-Preview 1106 / GPT-3.5-Turbo 1106
Region: UK South
Analysis
Doesn't seem to be a Semantic Kernel issue, however I post here for visibility as I see what I think are many related issues.
It works if I intercept the request/response (using a custom HttpClient) and convert the payload to a deprecated contract.
Ex:
Request

Response

If Semantic Kernel is doing additional calls, then more changes have to be performed on the request and response. I can add details if needed.

Hi, this issue is known already. https://github.com/microsoft/semantic-kernel/issues/4556

With Semantic Kernel .NET 1.1.0 and without the fix, nothing happens (but no error). Here is the response:
{
  "id": "chatcmpl-8jmYek5R2BNHdziIxKhc1Wef8KKls",
  "object": "chat.completion",
  "created":<PHONE_NUMBER>,
  "model": "gpt-4",
  "prompt_filter_results": [ REDACTED ],
  "choices": [
    {
      "index": 0,
      "finish_reason": "tool_calls",
      "message": {
        "role": "assistant"
      },
      "content_filter_results": {}
    }
  ],
  "usage": {
    "prompt_tokens": 619,
    "completion_tokens": 13,
    "total_tokens": 632
  }
}

With the fix (payload rewrite), it works.
Makes me think of this issue: https://github.com/microsoft/semantic-kernel/issues/4671 - with the payload rewrite, it works again too.

Thanks for reporting, as @Krzysztof318, this has been reported in #4556, so I'll close this as a duplicate.

Hi.
I seem to have the same issue in Switzerland North as of yesterday (worked previously)... even simply prompts result in
{
"error": {
"message": "Invalid value for 'content': expected a string, got null.",
"type": "invalid_request_error",
"param": "messages.[0].content",
"code": null
}
}
I have tried multiple chat models all with the same outcome.


Allow Draft.js editor to attach more that one entity to a same text-range

Hellou i just one question
Allow Draft.js editor to attach more that one entity to a same text-range?
because when i use RichUtils.toggleLink method to add entity to selection which allready contains another entity, the old entity is replaced with new one.
Thanks a lot.

Hey @Tommy10802 -- we are currently discussing composite entities here ->
https://github.com/facebook/draft-js/issues/246
In the meantime, an approach you can take to achieve similar effects as composite entities is:

Use a single Entity, to represent muliple entities via metadata

  i.e entity -> meta -> ['Link', 'something-else']

Use inline styles alongside entities


Embedded "Roboto Mono" font is really "Roboto Mono Bold"

It seems that the embedded monospace font "Roboto Mono" that was merged in #79 is really "Roboto Mono Bold".
I was confused why the embedded monospace font looks so bold (see screenshot in https://github.com/bitcoin-core/gui/pull/261#issuecomment-809163639), while both the embedded and the system monospace font looked nearly the same in the
configuration->display->Monospaced font selection menu preview:

Then I saw in the code that in the selection menu preview both fonts are set to "bold". When disabling that with the following diff:
diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp
index e6b948834..2be4e7ae5 100644
--- a/src/qt/optionsdialog.cpp
+++ b/src/qt/optionsdialog.cpp
@@ -146,13 +146,11 @@ OptionsDialog::OptionsDialog(QWidget *parent, bool enableWallet) :

     QFont embedded_font{GUIUtil::fixedPitchFont(true)};
     ui->embeddedFont_radioButton->setText(ui->embeddedFont_radioButton->text().arg(QFontInfo(embedded_font).family()));
-    embedded_font.setWeight(QFont::Bold);
     ui->embeddedFont_label_1->setFont(embedded_font);
     ui->embeddedFont_label_9->setFont(embedded_font);

     QFont system_font{GUIUtil::fixedPitchFont(false)};
     ui->systemFont_radioButton->setText(ui->systemFont_radioButton->text().arg(QFontInfo(system_font).family()));
-    system_font.setWeight(QFont::Bold);
     ui->systemFont_label_1->setFont(system_font);
     ui->systemFont_label_9->setFont(system_font);
     // Checking the embeddedFont_radioButton automatically unchecks the systemFont_radioButton.

it looks like so:

So the "Roboto Mono" font looks the same as the "Roboto Mono" font set to bold, I guess because the font is in fact already bold.
Only the system font is now displayed normally.
That matches that the embedded font file is named src/qt/res/fonts/RobotoMono-Bold.ttf
I am wondering why the word "bold" does not occur in the conversation of #79.
I would suggest to apply the above diff to remove the setting of the embedded and the system font to bold in the comparison preview, so they can really be compared, and also rename the label in the font selection menu from embedded "Roboto Mono" to embedded "Roboto Mono Bold".
This is really confusing, and I am wondering why macOS seems to need a bold font as "normal" font.

It seems that the embedded monospace font "Roboto Mono" that was merged in #79 is really "Roboto Mono Bold".

That is right.

I am wondering why the word "bold" does not occur in the conversation of #79.

Code change in #79 is obviously clear about "bold" font adding.

I would suggest to apply the above diff to remove the setting of the embedded and the system font to bold in the comparison preview, so they can really be compared, and also rename the label in the font selection menu from embedded "Roboto Mono" to embedded "Roboto Mono Bold".

This font comparison is intended for the Overview tab, as it is specified in its name.

...  I am wondering why macOS seems to need a bold font as "normal" font.

Sorry, not sure if I understand your question in a right way. Mind re-wording it please?

...  I am wondering why macOS seems to need a bold font as "normal" font.

Sorry, not sure if I understand your question in a right way. Mind re-wording it please?
Maybe this commit description could be useful?

The commit description says "This change makes macOS choose the correct monospaced font.", since the selected font was according to the conversations initial posting "not monospaced" (but not because it was not bold). But the change makes macOS not only choose a monospace font, but a monospaced bold font, as I understand. So, it seems to me like that there where two things changed with the change: 1. choose monospace font 2. use bold version of that font. I do not know, if that font shall be recognized as bold or not.

But the change makes macOS not only choose a monospace font, but a monospaced bold font, as I understand. So, it seems to me like that there where two things changed with the change: 1. choose monospace font 2. use bold version of that font. I do not know, if that font shall be recognized as bold or not.

There is no latter change as before #79 there were many code like that
             <widget class="QLabel" name="labelWatchPending">
              <property name="font">
               <font>
                <family>Monospace</family>
                <weight>75</weight>
                <bold>true</bold>
               </font>
              </property>

in src/qt/forms/overviewpage.ui

If monospaced bold font would be meant, I suggested to rename e.g. src/qt/guiutil.cpp: QFont fixedPitchFont(bool use_embedded_font) to QFont fixedPitchBoldFont(bool use_embedded_bold_font) etc.


Add Live Interior 3D Pro Latest

Thank you for the contribution. It was merged directly as d458d226e6939a772eb6e423d3319715725247a6 to keep commit history cleaner. Your contribution is still credited to you.


sound/pipewire: handle StreamWithIdNotFound consistently

Depends on #481
Summary of the PR

When handling controlq messages, handle StreamWithIdNotFound the same
way on all methods:

if we are passed a &mut ControlMessage, set it to
VIRTIO_SND_S_BAD_MSG.
if we are passed a stream_id, return StreamWithIdNotFound.

Requirements
Before submitting your PR, please make sure you addressed the following
requirements:

[x] All commits in this PR are signed (with git commit -s), and the commit
message has max 60 characters for the summary and max 75 characters for each
description line.
[x] All added/changed functionality has a corresponding unit/integration
test.
[x] All added/changed public-facing functionality has entries in the "Upcoming
Release" section of CHANGELOG.md (if no such section exists, please create one).
[x] Any newly added unsafe code is properly documented.

Duplicate of https://github.com/rust-vmm/vhost-device/pull/487


Dead links on presentation archive

A lot of dead links on the presentations archive page - found running the rake test using html-proofer and also a local browser link checker:
External link http://berlin2009.healthgrid.org/fileadmin/templates/download/KeyNote_GOBLE_HealthGrid2009.pdf failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: Couldn't resolve host name
  *  External link http://metadataopenforum.org/download.php?5cd41635c66aece6268b05f93364657a failed: 404 No error
  *  External link http://semanticgrid.org/presentations/GridReevaluated97.ppt failed: 404 No error
  *  External link http://www.cs.manchester.ac.uk/~pmissier/docs/ESIP09.pdf failed: 404 No error
  *  External link http://www.ebi.ac.uk/~tmo/talks/bosc2007.pdf failed: 404 No error
  *  External link http://www.genouest.org/documents/Evenements/2005-JPFBioinfo/2005_Presentation_Katy_Wolstencroft_181005.pdf failed: 404 No error
  *  External link http://www.mygrid.org.uk/files/presenations/brisbanegoderis.ppt failed: 404 No error
  *  External link http://www.mygrid.org.uk/files/presentations/BioITWorld200GOBLE-final.ppt failed: 404 No error
  *  External link http://www.mygrid.org.uk/files/presentations/EMBL-EBI30-09-02.ppt failed: 404 No error
  *  External link http://www.mygrid.org.uk/files/presentations/ISMB04_Glasgow.pp failed: 404 No error
  *  External link http://www.mygrid.org.uk/files/presentations/InfoTechPharma.ppt failed: 404 No error
  *  External link http://www.mygrid.org.ukfiles/presentations/ismb03-short-talk.ppt failed: response code 0 means something's wrong.
             It's possible libcurl couldn't connect to the server or perhaps the request timed out.
             Sometimes, making too many requests at once also breaks things.
             Either way, the return message (if any) from the server is: Couldn't resolve host name
  *  External link http://www.nesc.ac.uk/action/esi/contribution.cfm?Title=968 failed: 410 No error
  *  External link http://www.semanticgrid.org/presentations/ failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/ASWSemGrid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/AgentSemGrid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/Australasia97.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DCCkeynoteGOBLE2007.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DDER-NGG3EGTD.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DDeRJISCtalkCompressed.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DMTF/Part%200%20-%20Introduction.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DMTF/Part%201%20-%20Semantic%20Web%20101.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DMTF/Part%202%20-%20A%20Brief%20History%20of%20the%20Semantic%20Grid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DMTF/Part%203%20-%20A%20Semantic%20Datagrid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DMTF/Part%204%20-%20Semantics%20in%20the%20Grid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/DeRoureSemanticGridWeb2Stockholm.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/EDCL2008-GOBLE-Keynote-Publish.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/EarlyAdoptersDDeR97.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/Grid2007-GOBLE2.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/IntegrativeBiologykeynoteGOBLE.pdf failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/NCImygridGOBLE.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/NeweScienceBangalore.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/NeweScienceEindhoven.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/PRISM-SOKU.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/ProvSemGrid.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/RDFcombechem.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/RENCImyExperiment2.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/The%20BioCatalogue%20final.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/ThreePerspectives.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/Tyranny.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/bosc08.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/gridland.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/harvardGOBLE.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/hastac.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/issgcWeb3.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/myExpHCLS.pptx failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/myExpOxford.ppt failed: 404 No error
  *  External link http://www.semanticgrid.org/presentations/wsagreesemgrid.ppt failed: 404 No error
  *  External link http://www.sysmo-db.org/sites/default/files/DIR-Workshop-2011.ppt failed: 404 No error
  *  External link http://wwwmygrid.org.uk/files/presentations/NIBHImyGridtalkpublished.ppt failed: response code 0 means something's wrong.

Should we remove the links?

I can fix the sysmo-db.org link, but not sure what to do about the others

I have indicated the broken links as "404 Not Found" and added web.archive.org links where available. I have requested new snapshots so whatever it links to at www.mygrid.org.uk will hopefully be snapshotted as well.


NTR cell cortex of non-growing cell tip

The cell cortex of a cell tip which is not a growth-site.
ref: I'll find a suitable one in a minute...but PMID:17895368 will do

Proposed parent term would be:
http://amigo.geneontology.org/amigo/term/GO:0051285

and
GO:0035839    non-growing cell tip

and
GO:0035839    non-growing cell tip

parents
GO:0051285 cell cortex of cell tip
GO:0035839 non-growing cell tip
definition
The region directly beneath the plasma membrane at the cell tip at which no growth takes place.
ref PMID:17895368
coulld this be added? seems quick

Do you mind if I name this term 'cell cortex of non-growing cell tip region'? Otherwise it sounds like this is the cell cortex of the tip of a non-growing cell (this is what I first thought).

+[Term]
+id: GO:0140472
+name: cell cortex of non-growing cell tip
+namespace: biological_process
+def: "The region directly beneath the plasma membrane at the cell tip at which no growth takes place." [PMID:17895368]
+intersection_of: GO:0099738 ! cell cortex region
+intersection_of: part_of GO:0035839 ! non-growing cell tip
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/17249 xsd:anyURI
+created_by: pg
+creation_date: 2020-06-18T13:33:58Z

The other terms refer to "non-growing cell tip" so these would need to change. I also think is a bit clunky and redundant to add'region' and it's clear from the definition (and the alternative would be out of scope for CC?)
Also, the current terms precisely match the usage in publications.


cmake: 3.24.3 -> 3.25.1

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

duplicate of  #206799

Just for the record, cmake should be PRed to staging, not master.
(and I need anyone willing to test this on Darwin.)


Upload file dialog way too sensitive

With open-webui v1.0.0-alpha.100, and firefox on wayland kde, whenever you copy text from the website or the website tab loses focus the add-files dialog pops up, and won't go away.
Not sure what's causing this, but it's pretty persistently annoying as I end up needing to refresh the page every time I copy something.

This may be a bug in wayland-firefox

I highly suspect that this is caused by wayland-firefox. FYI, There was someone who reported the same issue on discord, and they resolved the issue by removing some extensions I believe.


Update contributor-agreements.md

Clarifications proposed by sebb:
Change terminology Full Name to Legal Name to match what is on the ICLA form;
Remove details on sharing and refer to Privacy Policy instead.

On Aug 18, 2021, at 3:09 PM, sebbASF @.***> wrote:
@sebbASF requested changes on this pull request.
Need to state that Legal name has replaced Full name in the form.

Why?
Craig

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/apache/www-site/pull/88#pullrequestreview-733394219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4M6RCJW67GMSSUU5HSPTDT5QVSHANCNFSM5CMSUC4A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

Craig L Russell
@.***

I believe that the discussion really belongs in privacy@ where it is now underway.
The contributor-agreements page is not the right place to discuss Privacy concerns.

On Aug 18, 2021, at 3:09 PM, sebbASF @.***> wrote:
@sebbASF requested changes on this pull request.
Need to state that Legal name has replaced Full name in the form.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/apache/www-site/pull/88#pullrequestreview-733394219, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4M6RCJW67GMSSUU5HSPTDT5QVSHANCNFSM5CMSUC4A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

Craig L Russell
@.***

Oops wrong button

@clr-apache should this PR be abandoned and closed?

Repeat:
@clr-apache I think that this PR is stale.

This PR as written is no longer useful. I believe that the discussion should be had on privacy@ and the description of the policy at https://privacy.apache.org/policies/privacy-policy-contributors.html should be the authoritative source of further information.