Add support for enable/disable private vulnerability reporting on repositories

Closes https://github.com/google/go-github/issues/2883

[x] go generate
[x] go vet
[x] go test

Please let me know if the method names are not descriptive enough or just need to be changed.
Also, something that's been bugging me. In my previous PR, I did some actual testing aside from the unit tests. While not present in CONTRIBUTING.md , is it advisable/necessary/optional to perform actual testing (importing the library, calling the new method and examine response).

Also, something that's been bugging me. In my previous PR, I did some actual testing aside from the unit tests. While not present in CONTRIBUTING.md , is it advisable/necessary/optional to perform actual testing (importing the library, calling the new method and examine response).

In this repo, we do not typically add to the integration tests anymore.
They were extremely helpful in the early design of the repo, but in my opinion, the surface area of this API is so huge that it would be an onerous task to attempt to keep up-to-date in addition to the unit tests.
Having said that, we place a high value on unit tests in this repo and want every endpoint to be exercised "round-trip" with an in-memory http server to verify that every looks like it should work in real practice.
So you are proceeding along just as planned, and we really appreciate your contributions, @vandanrohatgi !
Keep up the great work!  😁 ❤

Thank you for making this project such a pleasure to work with!

LGTM 👍🏽

Thank you, @mnafees !
Merging.


Content type templates

Summary

Reusable content type templates that we can use when creating a new page.
For reviewers:

Feel free to make any suggestions on the templates, I just used info from Divio, my experience with our docs, and I based it off of GitHub's templates. Admittedly, I still get some of the content types confused.
The eventual vision is that I also add a page to our contributing guide (external, I think) that explains each topic type in more detail, similar to what GitHub has here. So it would contain info about how to title the topic/sections, how to write the info in the topic, and example docs. I'd then add links to that page in the templates. I can do that with this iteration rather than later, I just figured that the templates themselves were the MVP.
More of a note, but as I was looking through examples in our docs of these, I noticed we weren't consistent with the formatting of each content type. Maybe possible work for the future or going forward where when we work on a page, we make it consistent with our template formatting?

Reason

Part of my onboarding tasks
Testing

See the changed files, these won't be in netlify.

Ignoring the Vale error. It's expected because I opted not to use {{site.base_gateway}} because this page is not meant to be rendered and it was just meant to be example text, not an example of a variable, so I thought it would be more confusing to use the variable instead.


web: show total number of alerts next to all item

yeah I think @yuindustries and I are going to iterate on the design a bit in the future.


charter: add director

copy taken directly from TSC charter s/TSC/CC
removed reference to individual director

Added the do-not-merge label, as we need to get Board approval to merge this.

LGTM.

@hackygolucky I don't think that is an issue. The inconsistencies with the approved resolution can be sent to the board next month as an errata change.
This still cannot land yet as we require one more approval from the foundation attorney first


Update beam-runners-direct-java, ... to 2.16.0

Updates

org.apache.beam:beam-runners-direct-java
org.apache.beam:beam-runners-google-cloud-dataflow-java
org.apache.beam:beam-sdks-java-core

from 2.11.0 to 2.16.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.beam" } ]

labels: semver-minor

I think this needs to stay in sync with Scio version


Error while build.sh

Hey,
while i run "sh build.sh" i get this error
"
opkg_install_cmd: Cannot install package libwolfssl<IP_ADDRESS>253b90.
"
and this
"
make[2]: *** [Makefile:167: package_install] Error 255
make[1]: *** [Makefile:122: _call_image] Error 2
make: *** [Makefile:240: image] Error 2
"
i hope someone can help me. <3
edit:
i changed libwolfssl<IP_ADDRESS>253b90 to libwolfssl<IP_ADDRESS>a5b54a
now it works! <3
thank you for your work

Hello, try the latest commit, you can remove the versioning from libwolfssl4 for latest which is what the build uses.


Model signature tests fail on zOS

The model signature tests hit this error on zOS:
JLT@PLPSC:dlc-automation$ java -classpath $HOME/dlc-automation/client/class:$HOME/dlc-automation/models/CPU/mnist-8.jar input_output
[2022-04-01 15:39:58 -0400][2460600000000003][error]jniwrapper.c:Java_com_ibm_onnxmlir_OMModel_input_1signature_1jni:794 jni_isig=0
null|[2022-04-01 15:39:58 -0400][2460600000000003][error]jniwrapper.c:Java_com_ibm_onnxmlir_OMModel_output_1signature_1jni:836 jni_osig=0

Doesn't show much except that both the input and output signature calls fail.  Only the jar model tests fail.  The so shared object tests pass.
The tests are run with the modelzoo mnist-8 model.
The tests are calling the src/Runtime/jni/src/com/ibm/onnxmlir/OMModel.java API's:
    public static String inputSignature() {
   	return input_signature_jni("run_main_graph");

    public static String outputSignature() {
  	return output_signature_jni("run_main_graph");

The problem is that src/Runtime/jni/jniwrapper.c does not convert the entry point name to EBCDIC prior to calling omInputSignature() or omOutputSignature().
I added the code below to jniwrapper.c which corrected the issue:
  return dupsig;
}

static inline char *ep_a2e(const char *origep) {
  char *dupep =strdup(origep);
  if (dupep == NULL)
    return NULL;

  /* Convert ASCII to EBCDIC in place */
  if (__a2e_s(dupep) < 0) {
    free(dupep);
    return NULL;
  }

  return dupep;
}
#endif

#ifdef __MVS__
  CHECK_CALL(char *, ep_ptr, ep_a2e(jni_ep), ep_ptr != NULL, "ep_ptr=%p", ep_ptr);
#else
  const char *ep_ptr = jni_ep;
#endif
  /* Call model input signature API */
  CHECK_CALL(const char *, jni_isig, omInputSignature(ep_ptr), jni_isig != NULL,
      "jni_isig=%p", jni_isig);

#ifdef __MVS__
  CHECK_CALL(char *, ep_ptr, ep_a2e(jni_ep), ep_ptr != NULL, "ep_ptr=%p", ep_ptr);
#else
  const char *ep_ptr = jni_ep;
#endif
  /* Call model output signature API */
  CHECK_CALL(const char *, jni_osig, omOutputSignature(ep_ptr),
      jni_osig != NULL, "jni_osig=%p", jni_osig);

The output with the corrected code is below:
JLT@PLPSC:dlc-automation$ java -classpath $HOME/dlc-automation/client/class:$HOME/dlc-automation/models/CPU/mnist-8.jar input_output
[    { "type" : "f32" , "dims" : [1 , 1 , 28 , 28] , "name" : "Input3" }

]|[   { "type" : "f32" , "dims" : [1 , 10] , "name" : "Plus214_Output_0" }

The reason the entry point needs to be converted into EBCDIC follows from similar code in jniwrapper.c on the:
Java_com_ibm_onnxmlir_OMModel_query_1entry_1points(JNIEnv *env, jclass cls) {

  /* Go through the entry points, convert them into Java String and
   * put them into the String array.
   */
  for (int64_t i = 0; i < neps; i++) {
    char ep[32];
    sprintf(ep, "ep[%lld]", i);
    HEX_DEBUG(ep, jni_eps[i], strlen(jni_eps[i]));
    LOG_PRINTF(LOG_DEBUG, "ep[%d](%ld):%s", i, strlen(jni_eps[i]), jni_eps[i]);

#ifdef __MVS__
    CHECK_CALL(
	char *, epptr, sig_e2a(jni_eps[i]), epptr != NULL, "epptr=%p", epptr);
#else
    const char *epptr = jni_eps[i];
#endif

The entry points are converted from EBCDIC to UTF-8 to return the entry points to Java.  When passing the entry point names into the model, the entry point names then need to be first converted back into EBCDIC from UTF8.

As I mentioned in the slack channel.  On z/OS, if you have passed in the correct mtriple indicating z/OS target when cross compiling, omInputSignature and omOutputSignature already return EBCDIC. There is no need to convert.

The problem is that src/Runtime/jni/jniwrapper.c does not convert the entry point name to EBCDIC prior to calling omInputSignature() or omOutputSignature().

Are you compiling src/Runtime/jni/jniwrapper.c on zLinux? I thought you would compile it on z/OS, in which case all string literals would be encoded in EBCDIC (unless of course you override it).

Should be fixed by #1313


Maintain name duplication state

What is the context of this PR?
Implements capture of household name duplicates. Adds a new key "same_name_items" to the ListStore which holds list_item_ids for all those list items that have a duplicate. Most of the work is done in questionnaire_store_updater.update_same_name_items which updates the duplicates following an update to a list.
Depends on https://github.com/ONSdigital/eq-questionnaire-validator/pull/63 to add same_name_answer_ids key to the schema.
How to review
Use the test_same_name_items.json to observe the behaviour, using /dump/debug to see how same_name_items changes as the list store items are updated.
Checklist

[x] New static content marked up for translation

 [T] Maintain duplicate first/last name list state (L)

Works as expected, a couple of suggestions. One other point, which we didn't discuss, and it is an edge case, but how do we want to represent 2 different names duplicated, eg. John A Smith, John B Smith, Martha A Smith and Martha B Smith. At the moment this produces one list with all 4 items in

We did discuss this in the tech session this week - if the name appears in the list, we show the middle name. There isn't a need to identify which other item it is duplicated with, simply that it appears in the same_name_items list.


Support AND based scan filtering

Currently, filters are specified in a list and scan results are filtered by if they match any of the specified filters (OR based), for example:
Scanner {
    filters = listOf(
        Filter.Name("Example"),
        Filter.Service(uuidFrom("96f630b5-7ee4-4e47-a550-ec0d0da5c487")),
    }
}

Will match any advertisements with the name "Example" OR service UUID "96f630b5-7ee4-4e47-a550-ec0d0da5c487".
Kable should support AND based filtering, for example:
Scanner {
    filters = listOf(
        Filter.Name("Example") and Filter.Service(uuidFrom("2001b5ee-9bf6-48da-a6e8-2901865c0435")),
    }
}

Will only match advertisements that have both the name "Example" AND the service UUID "2001b5ee-9bf6-48da-a6e8-2901865c0435".
The Web Bluetooth spec provides some nice examples of AND vs. OR matching.

Maybe we can create a Filter.All type, and if that is present, we use AND?
So
// Matches on ALL filters
filters = listOf(
        Filter.All,
        Filter.Name("Example"),
        Filter.Service(uuidFrom("2001b5ee-9bf6-48da-a6e8-2901865c0435")),
    }

// Matches with current default OR style
filters = listOf(
        Filter.Name("Example"),
        Filter.Service(uuidFrom("2001b5ee-9bf6-48da-a6e8-2901865c0435")),
    }

This solution should be backwards compatible. Users that want to use the AND based filters, only need to add Filter.All and should be good to go.
Let me know if this could work for you, and the exact name you would prefer? Filter.All, Filter.MatchAll, Filter.AndBased (naming is the most difficult thing in Software you know :) ) I'm happy to create a PR for you, if you agree to this approach.

I'm not sure if it is feasible, but I was thinking of using or and and syntax, for example:
filters = Filter.Name("Example") and Filter.Service(uuidFrom(..))

They could even be combined, for example:
filters = (Filter.Name("Example") or Filter.name("Test")) and Filter.Service(uuidFrom(..)

...this unfortunately would not be backwards compatible, but could have a deprecation cycle where the old behavior is moved to another property as the and + or feature is introduced. 🤷

Yeah, I see what you mean. The native filtering options, make my suggestion a bit clumsy to implement.
Let me see if I can start to work on this using your suggested approach

@Entreco this has been slated (internally) for our next sprint.
Work should begin in the coming weeks.

What would it mean to specify a filter like this?
filters = Filter.Name("Example") and Filter.Name("Other")

We would probably have to reject this with an exception at runtime?
I am wondering if it would be simpler and cleaner to provide a product type that expresses the range of possible filters instead of attempting to write combinators to make up for the lack of expression with the existing sum type.

We would probably have to reject this with an exception at runtime?

Oof, definitely not ideal.

I am wondering if it would be simpler and cleaner to provide a product type that expresses the range of possible filters instead of attempting to write combinators to make up for the lack of expression with the existing sum type.

Interesting, can you give an example of what you think that might look like?

I was thinking about this type (simplified for brevity):
sealed class Filter {
    class Service(uuid: Uuid) : Filter()
    class Name(name: String) : Filter()
}

when considered in isolation implies ONE OF a Service, Name etc. (i.e. a sum-type)
If we have some collection of these, we need to figure out a way to define whether to "OR" or "AND" that collection together, because the underlying type provides no guidance for how to combine them.
Instead, if we change the shape of the type to something like this:
class Filter(
    val services: List<Uuid>,
    val name: String?,
)

when considered in isolation implies Service(s) AND (optionally) Name etc. (i.e. a product-type)
This type is providing an inherent "AND". (Aside: I suppose that we are, in fact, deliberately choosing to "AND" the properties together, but it feels like the expected behavior.)
If we then have a collection of these, it necessarily implies that they be "OR"ed together, because an "AND" operation would be non-sensical.
I haven't thought through all the options, but it seems like a type of this shape provides an API that more naturally models the problem space. And of course I didn't conclude this in isolation, but came to realize it after messing around with the W3C API!
I do like the flexibility of the proposed and/or operators on the sealed class, and I like that it would be a pretty cool API to have. On the other hand it smells a bit over-engineered, and requires those ugly runtime heuristics.
It would be a fun exercise to implement it anyway, just to see how it shakes out.
For the API consumer, the difference would be:
listOf(Filter(services = listOf(uuid1)), Filter(services = listOf(uuid2), name = "bob"))

vs
Service(uuid1) or (Service(uuid2) and Name("bob"))

The latter is much prettier, but then also allows for "incorrect" expressions. I'm leaning towards ugly-but-functional-and-less-work myself.

After typing out the above I woke up in the middle of the night with the realization that I had accidentally worked out a solution, which is to combine both types. Will throw up a draft PR today of the concept.

My personal need for this feature has vanished, but i'm happy to review/test/brainstorm any drafts.
I'll keep an eye out for updates

Will throw up a draft PR today of the concept.

Welp, that didn't pan out and here we are some six weeks later 😬 Good news is we found a practical resolution to the issues: #695


Mouse right button is causing "double click" in menu

VSCode Version: 1.35.0 and older
OS Version: Linux x64 4.15.0-50-generic snap (Ubuntu 16.04)

Steps to Reproduce:

With many extensions that adds options in right button menu installed
Click in any part of code with the right button

I believe that, when the menu shows not at the same position as cursor, a option is selected and the release mouse event is causing a click.

Does this issue occur when all extensions are disabled?: No

this was addressed elsewhere


Pokemon are not displayed on the map

Hello. I run Pokemon GO Live Map.exe, insert your data, then the map is loaded, but the Pokemon do not appear on it. Please tell me the reason may be what?
http://prntscr.com/bw3xr9

Hello, I got the same issue, it happens after you run the app for a while when pokemons start to disappear and never shows up again

This is related to this issue #72 and has already been addressed (changes have been committed).  Fix should be present in release 0.0.8 (not released yet, hopefully soon?).

Error: Cannot call loadURL because the webContents is unavailable. The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.(…)
Please, tell me, how to fix this error?

My English is poor. I'm sorry but I can bring something to the project.
I had still problems with the desktop maps.
Error: Can not call loadURL because the webContents is unavailable
White screen, disappearing Pokemon, the problem with the location, login failures and errors.
The reason for this state was installed earlier Python27 and entries in the environment variables
https://hajloo.files.wordpress.com/2011/07/python_path.png
I installed earlier Python25 then Python 3.x and yet Python27
She made a mess there.
PokemonGo-DesktopMap run from a different directory, and the path to the file python was bad. She directed my previous installations and there looking for libraries.
After uninstalling all versions of Python and removing entries from the environment variables PokemonGo-DesktopMap began to work properly. Everything works beautifully instantly.
If you are not a programmer, and you tried to play python PokemonGo Map and recommend to remove plants and to rely only on what you have in the folder PokemonGo-DesktopMap. There is everything you need.
It works on my versions of Windows 8 / 8.1 Windows 7 and Windows 10 without problems
Regards.

Delete Python, delete environment variables.
Now http://prntscr.com/bwahcw and white screen
Help me please

I had a problem with my account name, maybe u have it too..try copy the app folder to the disk directory (C:\), and run it


Rename project? (There's oh so many pieces of software called rustic)

There's even a restic rust wrapper that is called rustic-backup.
Given all the search results below, should this project and org be renamed?

Just a thought. :)

TL;DR: rustic will not be renamed.
Thanks for the proposal. This topic however has been already discussed quite a lot.
Yes, there are several projects which call themselves rustic. However there's not much about backup in this field except a tiny wrapper. I think this rustic backup tool has become very fast one of the most popular projects with this name. I won't ask other projects to change their names, but I hope I also get some understanding that I won't put effort and energy in renaming something - even more when I don't see a very valid reason doing so.
Closing this issue as wontfix.


Move MyEvaluator into the mydsl package

Moves the MyEvaluator class from tests/test_string_literals.py to mydsl/__init__.py and updates import statements accordingly.

Class Relocation: Removes the MyEvaluator class definition from tests/test_string_literals.py and adds it to mydsl/__init__.py. This change makes MyEvaluator part of the mydsl package.
Import Adjustment: Updates the import statement in tests/test_string_literals.py to import MyEvaluator from the mydsl package, reflecting its new location.

For more details, open the Copilot Workspace session.

Moves the MyEvaluator class from mydsl/__init__.py to a new file mydsl/evaluator.py and updates import statements in tests/test_string_literals.py.

Empties mydsl/__init__.py and adds a comment indicating it as a package initializer.
Creates mydsl/evaluator.py with the MyEvaluator class and its methods, ensuring to import Transformer from lark at the top of the file.
Updates tests/test_string_literals.py to import MyEvaluator from mydsl.evaluator instead of mydsl, aligning with the new file structure.

For more details, open the Copilot Workspace session.


Module not found: Can't resolve 'next/dist/shared/lib/router-context'

On the latest version of Next.js (13.5.1), compilation fails due to a Next module which is not found within the next-translate-routes package.
This is the message which is shown in my console:
../../node_modules/next-translate-routes/react/withTranslateRoutes.js:38:0 Module not found: Can't resolve 'next/dist/shared/lib/router-context'

@cvolant I created #81 with a fix for this issue

@cvolant Still an issue. Just tried with latest nextjs (page router) and getting this error
package.json
{
  "name": "test-translate-route",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "next": "14.0.4",
    "next-translate-routes": "^1.10.2",
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "autoprefixer": "^10.0.1",
    "eslint": "^8",
    "eslint-config-next": "14.0.4",
    "postcss": "^8",
    "tailwindcss": "^3.3.0",
    "typescript": "^5"
  }
}


ruby: remove myself as maintainer/CODEOWNER

It's been at least a year since I kept up to date with Ruby, and I
don't think I really have anything left to offer Nixpkgs in terms of
Ruby expertise.

@marsam you contributed most of the last changes to ruby. Want to jump in?

Want to jump in?

Sure! I'll add myself in another PR


Add filter method on ManyToMany join table.

Is there any way to add filter options on ManyToMany through?
like,
goodFriends: {
  relation: ManyToManyRelation,
  to: XX,
  from: YY,
  through: {
    from: 'XX.id'
    to: 'YY.id',
    filter: (builder) => { builder.where('relationships.type', 'good') }
  }
}

Not currently, but that could be useful addition. It could be useful solution to https://github.com/Vincit/objection.js/issues/837

This would allow N:M polymorphic relationships like in this answer: https://github.com/Vincit/objection.js/issues/19#issuecomment-389356230
But instead of the filter field being on the relation table, it would be on the join table, which is freaking awesome (and how I thought it worked until I kept running into this error and analyzed that answer further).
I have a generic exclusive arc table that allows me to build relationships on the fly. I put the extra: ['relationKey'] on that table thinking it would work. It doesn't. So I'll need a relationKey on every single table. Sigh.

I figured out how to the querying part, but I still need to set a value on the pivot table column for querying later. (Mentioned in #1405)
The problem is beforeInsert isn't executed below, because it's not inserting a new profile. But it is inserting a new pivot table row for the relation, which is where I need to set a column value.
    public static get relationMappings (): RelationMappings {
        return {
            owner: {
                relation: Model.HasOneThroughRelation,
                modelClass: Profile,
                filter: (qb) => {
                    qb.join('nodes as node_profiles', 'node_profiles.toProfileId', '=', 'profiles.id')
                    qb.where('node_profiles.relationKey', 'owner')
                },
                beforeInsert (model) {
                    (model as Node).relationKey = 'owner'
                },
                join: {
                    from: 'collections.id',
                    to: 'profiles.id',
                    through: {
                        from: 'nodes.fromCollectionId',
                        to: 'nodes.toProfileId'
                    }
                }
            }
        }
    }

Any updates on this?

Any update about this issue?

I found a workaround by defining the intermediary table in my models and aliasing the fields using virtual attributes.
I have a polymorphic N:M relationship between Devices and Configurations through a ConfigurationLink pivot table.
In /models/ConfigurationLink :
      config: {
        relation: Model.HasOneRelation,
        modelClass: Configuration,
        join: {
          from: 'configuration_links.configuration_id',
          to: 'configurations.id'
        }
      },

In /models/Device.js :
      config_link: {
        relation: Model.HasManyRelation,

        modelClass: ConfigurationLink,

        join: {
          from: "devices.id",
          to: "configuration_links.configurable_id",
        },

        filter (builder) {
          // Filter for polymorphic relationship
          builder.where("configurable_type", "device");
          builder.where("configuration_links.deleted", false);
        }
      },

And :
  static get virtualAttributes() {
    return ['config'];
  }

  config() {
    return this.config_link.map((cl) => (
        {
        ...cl.config,
       premium: cl.premium, // Extra field fetched from the pivot table
       })
    );
  }

I found a workaround by defining the intermediary table in my models and aliasing the fields using virtual attributes.
I have a polymorphic N:M relationship between Devices and Configurations through a ConfigurationLink pivot table.
In /models/ConfigurationLink :
      config: {
        relation: Model.HasOneRelation,
        modelClass: Configuration,
        join: {
          from: 'configuration_links.configuration_id',
          to: 'configurations.id'
        }
      },

In /models/Device.js :
      config_link: {
        relation: Model.HasManyRelation,

        modelClass: ConfigurationLink,

        join: {
          from: "devices.id",
          to: "configuration_links.configurable_id",
        },

        filter (builder) {
          // Filter for polymorphic relationship
          builder.where("configurable_type", "device");
          builder.where("configuration_links.deleted", false);
        }
      },

And :
  static get virtualAttributes() {
    return ['config'];
  }

  config() {
    return this.config_link.map((cl) => (
        {
        ...cl.config,
       premium: cl.premium, // Extra field fetched from the pivot table
       })
    );
  }

Fixed in #1356

It doesn't work. Both. filter and modify is ignored.

Found the issue.
Relation.clone() does not copy joinTableModify, resulting in the property being missing when the model binds to Knex. Consequently, filter and modify are not applied.
To fix this, add:
relation.joinTableModify = this.joinTableModify;
to Relation.clone(). The version of Objection.js tested is 3.1.4.
Example:
94:    relation.joinTableModelClass = this.joinTableModelClass;
95:    relation.joinTableOwnerProp = this.joinTableOwnerProp;
96:    relation.joinTableModify = this.joinTableModify;    // Add this line
97:    relation.joinTableRelatedProp = this.joinTableRelatedProp;
98:    relation.joinTableBeforeInsert = this.joinTableBeforeInsert;
99:    relation.joinTableExtras = this.joinTableExtras;


flag provided but not defined: -L/usr/local/opt/ruby/lib

I am trying to build from source on macOS, but executing make binary gives me this error
flag provided but not defined: -L/usr/local/opt/ruby/lib

Go version: go1.15 & go1.16
macOS: Big Sur 11.3.1
Ruby version: ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin18]

When I remove the flag and manually execute: go build -trimpath -o dist/bee ./cmd/bee, the build will be successful.

not sure what this is about but I've never seen this before. Probably something related to your local setup (we have nothing even remotely related to ruby).


Adds some corrections in chapter 07

List of changes:

Update wrong references to paths of some files.
In Product model updated has_many from products to orders.
Update some code snippets.

Thank you very much for your work!


Recircumscription of Pronephrium to include Nannothelypteris, and recognition of segregate genera Abacopteris, Grypothrix and Menisciopsis (Thelypteridoideae; Thelypteridaceae) [PASSED]

Author(s) of proposal
Susan Fawcett and Alan R. Smith
Name of taxon
Pronephrium, Nannothelypteris, Abacopteris, Grypothrix, Menisciopsis
Rank of taxon
Genus
Approximate number of species affected
39
Description of change
We propose to include Nannothelypteris as a synonym of Pronephrium s.l.; to resurrect Abacopteris; and to elevate Menisciopsis and Grypothrix to rank of genus with the circumscription proposed by Fawcett and Smith (2021).
The name Abacopteris  Fée was published in 1852 and is the earliest available name for members of the Abacopteris clade. Abacopteris is more closely related to Pseudocyclosorus and Trigonospora than to any other members of Pronephrium C. Presl s.l. (Fawcett et al. 2021).
Both Grypothrix (Holttum) S.E. Fawc. & A.R. Sm. and Menisciopsis (Holttum) S.E. Fawc. & A.R. Sm. were recognized as sections of Pronephrium by Holttum (1982) and were elevated to genus rank by Fawcett and Smith (2021). The members of Grypothrix form a monophyletic clade defined by hamate (hooked) hairs. The genus corresponds perfectly to the Pronephrium sect. Grypothrix of Holttum (1982). It resolves as sister to a clade that includes Menisciopsis, Chingia and Plesioneuron (Fawcett et al. 2021). Species we recognize in the genus Menisciopsis had previously been treated in Pronephrium (e.g., Holttum 1982) or Christella (Palmer 2003; Holttum 1977).  Phylogenetic analyses representing all species resolve Menisciopsis as sister to Chingia + Plesioneuron (Fawcett et al. 2021).
For keys and morphological descriptions, see Fawcett & Smith 2021. For phylogenetic analyses, see Fawcett et al. 2021.
Fawcett_Smith_2021.pdf
Fawcett_2021_GlobalPhylogeny.pdf
Reason for change
The genus Pronephrium as recognized by PPG I is non-monophyletic, with its species resolving in eight distinct clades; four of these clades correspond to Abacopteris (14 spp.), Grypothrix (12 spp.), Menisciopsis (7 spp.) and Pronephrium s.s., and the rest are scattered within Sphaerostephanos (Fawcett et al. 2021). The type species of Nannothelypteris (6 spp.) is nested within Pronephrium s.s.
Fawcett, S. and A. R. Smith. 2021. A Generic Classification of the Thelypteridaceae. Sida, Botanical Miscellany 59. Fort Worth: Botanical Research Institute of Texas Press.
Fawcett, S., Smith, A.R., Sundue, M., Burleigh, J.G., Sessa, E.B., Kuo, L.Y., Chen, C.W., Testo, W.L., Kessler, M. and Barrington, D.S., 2021. A global phylogenomic study of the Thelypteridaceae. Systematic Botany, 46(4), pp.891-915.
Fawcett, S., A. R. Smith, M. Sundue, J. G. Burleigh, E. B. Sessa, L.-Y. Kuo, C.-W. Chen, W. L. Testo, and M. Kessler. GoFlag Consortium, and D. S. Barrington. 2021. Data from: A global phylogenomic study of the Thelypteridaceae. Dryad Digital Repository. https: doi.org/10. 5061/dryad.gxd2547j4.
Holttum, R. E. 1977. The family Thelypteridaceae in the Pacific and Australasia. Allertonia 1: 169–234.
Holttum, R. E. 1982. Thelypteridaceae. Flora Malesiana, ser. II 1: 334–560.
Palmer, D.D., 2003. Hawai'i's ferns and fern allies (No. 2002-2010). University of Hawaii Press.
Reference(s) for publication of the name
Fawcett_Smith_2021.pdf
List the numbers of any related issues
#58
No response
Code of Conduct

[X] I agree to follow the PPG Code of Conduct

This proposal was voted on during PPG Ballot 7 (voting period January 2024). A total of 73 votes were cast. There were 73 'Yes' votes (100%) and 0 'No' votes (0%). The proposal passes.


Change outline default model

It could be awesome if we were able to change the outline default model like the sticky scroll (with the sticky scroll settings as shown below).

It would allow more control on what we want to see in the outline

Can you install different extensions that could compute outline differently but there is no "default" outline (like one that's based on folding ranges)

Yeah languages extensions change the outline
But sometimes, not as you want
And I didn't find an extension that changes the outline in the way I need


Add ReleasePlanAdmission for FBC apps

Adds the RPAs for the FBC apps.
Look for example like
apiVersion: appstudio.redhat.com/v1alpha1
kind: ReleasePlanAdmission
metadata:
  name: serverless-operator-135-1350-fbc-prod
  namespace: rhtap-releng-tenant
spec:
  applications:
    - serverless-operator-135-fbc-413
    - serverless-operator-135-fbc-414
    - serverless-operator-135-fbc-415
    - serverless-operator-135-fbc-416
    - serverless-operator-135-fbc-417
  origin: ocp-serverless-tenant
  policy: fbc-standard
  data:
    fbc:
      fromIndex: "registry-proxy.engineering.redhat.com/rh-osbs/iib-pub:{{ OCP_VERSION }}"
      targetIndex: "quay.io/redhat/redhat----redhat-operator-index:{{ OCP_VERSION }}"
      publishingCredentials: "fbc-production-publishing-credentials"
      requestTimeoutSeconds: 1500
      buildTimeoutSeconds: 1500
      allowedPackages: [serverless-operator]
    sign:
      configMapName: hacbs-signing-pipeline-config-redhatrelease2
  pipeline:
    pipelineRef:
      resolver: git
      params:
        - name: url
          value: "https://github.com/konflux-ci/release-service-catalog.git"
        - name: revision
          value: production
        - name: pathInRepo
          value: "pipelines/fbc-release/fbc-release.yaml"
    serviceAccountName: release-index-image-prod
    timeouts:
      pipeline: "4h0m0s"

/lgtm


Has 1.0.3.RELEASE been formally released?

Just curious as I can see the 1.0.3 artefacts in Maven central however the website still lists 1.0.3 as snapshot and I can't find any change logs or release notes/ announcements?

The website needs to be updated. I'll do that now, thanks.

Thanks, I can see the website has now bee updated. Is there a change log anywhere or should I just diff the {{1.0.2.RELEASE}} branch and the {{v1.0.3.RELEASE}} tag?

We don't maintain release notes for this project AFAIK (maybe @aemruli has something?). You can get a list of issues resolved from github.


Using cloudinaryAssetData via frontmatter

This is more a question, than a bug report probably. I was wondering if it's possible to use frontmatter data as opposed to a json object to describe the cloudinaryAssetData?
I tried to following but it's not working:
post.md
---
date: "2021-02-21"
title: "titlel"
intro: "Details of the trip to nowhere"
author: "Linda Watkins"
coverPhoto:
  cloudinaryAssetData: true,
  cloudName: "<>"
  publicId: "pID"
---

blog entry ....

Hi @tpiros this is interesting! I tried it and it worked! Here's the graphql query below

This is what the blog post and frontmatter looks like

You should specify the originalWidth and originalHeight like I did.
Here's what my gatsby-config.js looks like using gatsby-transformer-remark:

Let me know if this helps.

Can close this now, please open it if you still have issues :)


tfvars not copied if working directory begins with "."

Ran into this when setting up a CI toolchain. We use the standard directory structure, but move an env into an "artifact" directory which is then bundled up during the build stage. This way regardless of environment, we can bundle the same output directory to be used during the apply/deploy stage.
It looks like terragrunt validates the tfvars fine when they are in the working directory, but fails to copy them over to the temp directory if the working directory begins with dot (.). This causes a semi-silent failure because it will essentially run terraform with no tfvars, so projects would receive the defaults (or terraform would prompt for input).
Example:
- staging
    - extra.auto.tfvars
    - terraform.tfvars
- prod
    - extra.auto.tfvars
    - terraform.tfvars

Build artifact (created during CI build)
- .artifact
    - extra.auto.tfvars
    - terraform.tfvars
    - terraform.tfplan     [ created by terragrunt during build ]

This artifact/temp directory was .artifact so it (hopefully) wouldn't collide with any other directory a project used. But it looks like Terragrunt doesn't copy any files that are contained within a hidden directory.
I added a few hooks to my config to check the files in each directory.

Output (Does not properly copy files)
> cd .artifact && pwd
/build/.artifact

> terragrunt plan \
    --terragrunt-non-interactive \
    -out="$(pwd)/terraform.tfplan"

[terragrunt] [/build/.artifact] 2018/05/08 13:23:48 Running command: terraform --version
[terragrunt] 2018/05/08 13:23:48 Reading Terragrunt config file at /build/.artifact/terraform.tfvars
[terragrunt] 2018/05/08 13:23:48 Downloading Terraform configurations from git::https://ghe.example.com/terraform/hello-world.git?ref=master into /root/.terragrunt/YqHYO-Q5iIjV7RlR8rIG3covSc0/MiQ5A_dvB0remey-dounjZgYyi4 using terraform init

[terragrunt] [/build/.artifact] 2018/05/08 13:23:48 Initializing remote state for the local backend
[terragrunt] [/build/.artifact] 2018/05/08 13:23:48 Detected 2 Hooks
[terragrunt] [/build/.artifact] 2018/05/08 13:23:48 Running command: terraform init -from-module=git::https://ghe.example.com/terraform/hello-world.git?ref=master /root/.terragrunt/YqHYO-Q5iIjV7RlR8rIG3covSc0/MiQ5A_dvB0remey-dounjZgYyi4

[terragrunt] 2018/05/08 13:24:13 Copying files from /build/.artifact into /root/.terragrunt/YqHYO-Q5iIjV7RlR8rIG3covSc0/MiQ5A_dvB0remey-dounjZgYyi4
[terragrunt] 2018/05/08 13:24:13 Setting working directory to /root/.terragrunt/YqHYO-Q5iIjV7RlR8rIG3covSc0/MiQ5A_dvB0remey-dounjZgYyi4
[terragrunt] 2018/05/08 13:24:13 Detected 2 Hooks

[terragrunt] 2018/05/08 13:24:13 Executing hook: before_hook_0
[terragrunt] 2018/05/08 13:24:13 Running command: ls -hal /build/.artifact
total 20K
drwxr-xr-x 2 root root 4.0K May  8 13:23 .
drwxr-xr-x 5 root root 4.0K May  8 13:23 ..
-rw-r--r-- 1 root root 1003 May  8 13:23 extra.auto.tfvars
-rw-r--r-- 1 root root  568 May  8 13:23 terraform.tfvars

[terragrunt] 2018/05/08 13:24:13 Executing hook: before_hook_1
[terragrunt] 2018/05/08 13:24:13 Running command: ls -hal
total 52K
drwxr-xr-x 6 root root 4.0K May  8 13:24 .
drwxr-xr-x 3 root root 4.0K May  8 13:23 ..
drwxr-xr-x 4 root root 4.0K May  8 13:23 .terraform
-rw-r----- 1 root root   27 May  8 13:24 .terragrunt-source-version
-rw-r--r-- 1 root root 3.1K May  8 13:23 README.md
-rw-r--r-- 1 root root 4.0K May  8 13:23 main.tf
-rw-r--r-- 1 root root  749 May  8 13:23 outputs.tf
-rw-r--r-- 1 root root 3.6K May  8 13:23 variables.tf
[terragrunt] 2018/05/08 13:24:13 Running command: terraform plan -out=/build/.artifact/terraform.tfplan

<< Terraform Asks for missing variables >>

Switching from .artifact to artifact for the working directory works fine:
> cd .artifact && pwd
/build/artifact

> terragrunt plan \
    --terragrunt-non-interactive \
    -out="$(pwd)/terraform.tfplan"

[terragrunt] [/build/artifact] 2018/05/08 13:55:56 Running command: terraform --version
[terragrunt] 2018/05/08 13:55:56 Reading Terragrunt config file at /build/artifact/terraform.tfvars
[terragrunt] 2018/05/08 13:55:56 Downloading Terraform configurations from git::https://ghe.example.com/terraform/hello-world.git?ref=master into /root/.terragrunt/x_9QmmdMYIWoZ14uehJY1M6fGqU/MiQ5A_dvB0remey-dounjZgYyi4 using terraform init

[terragrunt] [/build/artifact] 2018/05/08 13:55:56 Initializing remote state for the local backend
[terragrunt] [/build/artifact] 2018/05/08 13:55:56 Detected 2 Hooks
[terragrunt] [/build/artifact] 2018/05/08 13:55:56 Running command: terraform init -from-module=git::https://ghe.example.com/terraform/hello-world.git?ref=master /root/.terragrunt/x_9QmmdMYIWoZ14uehJY1M6fGqU/MiQ5A_dvB0remey-dounjZgYyi4

[terragrunt] 2018/05/08 13:56:18 Copying files from /build/artifact into /root/.terragrunt/x_9QmmdMYIWoZ14uehJY1M6fGqU/MiQ5A_dvB0remey-dounjZgYyi4
[terragrunt] 2018/05/08 13:56:18 Setting working directory to /root/.terragrunt/x_9QmmdMYIWoZ14uehJY1M6fGqU/MiQ5A_dvB0remey-dounjZgYyi4
[terragrunt] 2018/05/08 13:56:18 Detected 2 Hooks

[terragrunt] 2018/05/08 13:56:18 Executing hook: before_hook_0
[terragrunt] 2018/05/08 13:56:18 Running command: ls -hal /build/artifact
drwxr-xr-x 2 root root 4.0K May  8 13:55 .
drwxr-xr-x 5 root root 4.0K May  8 13:55 ..
-rw-r--r-- 1 root root 1003 May  8 13:55 extra.auto.tfvars
-rw-r--r-- 1 root root  567 May  8 13:55 terraform.tfvars

[terragrunt] 2018/05/08 13:56:18 Executing hook: before_hook_1
[terragrunt] 2018/05/08 13:56:18 Running command: ls -hal
drwxr-xr-x 6 root root 4.0K May  8 13:56 .
drwxr-xr-x 3 root root 4.0K May  8 13:55 ..
drwxr-xr-x 4 root root 4.0K May  8 13:55 .terraform
-rw-r----- 1 root root   27 May  8 13:56 .terragrunt-source-version
-rw-r--r-- 1 root root 3.1K May  8 13:55 README.md
-rw-r--r-- 1 root root 1003 May  8 13:56 extra.auto.tfvars
-rw-r--r-- 1 root root 4.0K May  8 13:55 main.tf
-rw-r--r-- 1 root root  749 May  8 13:55 outputs.tf
-rw-r--r-- 1 root root  567 May  8 13:56 terraform.tfvars
-rw-r--r-- 1 root root 3.6K May  8 13:55 variables.tf
[terragrunt] 2018/05/08 13:56:18 Running command: terraform plan -out=/build/artifact/terraform.tfplan

<< Plan continues successfully >>

Duplicate of #394.

I suspect it's the same cause and requires the same fix though!


[BUG] Chinese IME name is not normally displayed in doom-modeline

What did you expect to happen?
What actually happened?
Additional details:

Before f8ff505, it can display normally

since f8ff50565ebf5ffeeac1a332715c39147894ac0f, all Chinese are converted to utf-8 code string, so the wrong IME name is displayed.
The screenshot is a code snippet of autoload.pkg.el

As of 4a53f08 this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!


Slow plugin

Hi guys! I'm having trouble getting the plugin to work correctly. It works so slowly. I need correct autocomplete, go to definition, hinting of function signature and arguments. Help me please.
forc-lsp 0.49.3

Hi Paul, I'm happy to look into this for you. Do you have a specific project I might be able to reproduce with?

Hi Paul, I'm happy to look into this for you. Do you have a specific project I might be able to reproduce with?

Hi! Can you send twitter nickname?

Hi Paul, I'm happy to look into this for you. Do you have a specific project I might be able to reproduce with?

Hi! Can you send telegram nickname?

@JoshuaBatty

Shared the spark access 🫡
@JoshuaBatty @PaulZhemanov
https://github.com/compolabs/spark-perps/invitations

Received thanks guys. I'll start doing some profiling over the next week.

Received thanks guys. I'll start doing some profiling over the next week.

@JoshuaBatty this "loading" appears very often and hinders development,

@JoshuaBatty Hello. The plugin is terrible..  I compile my contract with no errors and see this in my editor...

A plugin should speed up development, not slow it down. Please fix it.

Hi @PaulZhemanov please be aware of the issue and that we are working on this as a priority. We will hopefully have a fix soon. The TLDR of the issue is the compiler is crashing due to the garbage collector not working properly for certain types. When this happens it also crashed the server plugin, leading to the screenshots. Reloading the window will allow it to work again until the next time the GC <> compiler become out of sync. Obviously this is very frustrating for users and we are looking into a fix.

If you want a quick fix you could checkout my josh/storage_gc_test branch on the sway repo and change this line from true to false gc_enabled: false,
then run cargo install --path ./forc-plugins/forc-lsp to install a local copy of the language server. Because the garbage collector is disabled you'll probably want to reload the editor when the RAM usage gets too high but it should at least get rid of the crash for now while we investigate the root cause.

Hey @chlenc & @PaulZhemanov we have fixed the Garbage collector and LSP issues. This has been merged and is in the latest 0.54 release. It's still going to be slow to respond due to the lack of granular caching and the size of your workspace, but it shouldn't be crashing and become non-responsive now. We're now looking at further optimisations.

gm guys thank you!!
Btw is it possible to somehow disable reentrancy warnings?

@JoshuaBatty

Sorry i've been out sick this week. We don't off the ability to disable certain warning types but we could look at adding that in the future. I'll take a closer look at this next week and see what we might be able to do.

Hi @JoshuaBatty . I got this notification and plugin doesnt work.

Hi @JoshuaBatty . how can I disable these settings

If you want a quick fix you could checkout my josh/storage_gc_test branch on the sway repo and change this line from true to false gc_enabled: false,
then run cargo install --path ./forc-plugins/forc-lsp to install a local copy of the language server. Because the garbage collector is disabled you'll probably want to reload the editor when the RAM usage gets too high but it should at least get rid of the crash for now while we investigate the root cause.

Hi @JoshuaBatty . how can I disable these settings

Hi Paul what version of forc-lsp are you using?
The garbage collection issue has been resolved and is in the latest release.

Hey @chlenc & @PaulZhemanov we have fixed the Garbage collector and LSP issues. This has been merged and is in the latest 0.54 release. It's still going to be slow to respond due to the lack of granular caching and the size of your workspace, but it shouldn't be crashing and become non-responsive now. We're now looking at further optimisations.

Hey @JoshuaBatty, how to update forc-lsp to 0.54 if I'm using the beta-5 channel?

@JoshuaBatty forc-lsp 0.49.3

I would suggest the quickest way to get it working would be to checkout the sway repo and follow the below commands to get the server updated.
git checkout https://github.com/FuelLabs/sway
cd sway
cargo install --path ./forc-plugins/forc-lsp

then running the which forc-lsp you should see something like.
 ~  which forc-lsp
/Users/joshuabatty/.cargo/bin/forc-lsp

 ~  forc-lsp --version
forc-lsp 0.55.0

hope plugin will be better soon

Gm guys
@JoshuaBatty @arboleya
Are there any updates??

The main issue here is that our compiler is slow and we lack a caching system to support more incremental compilation. We are focusing on improving compilation speeds at the moment, in-fact we have merged 3 PR's in the past 24 hours that have improved compilation speeds by ~60%. We are also in the process of putting together a design for implementing more granular caching. Unfortunately, until the compiler is optimised and caching support is implemented then the language server performance is going to be sluggish on large projects like the spark repo. I'll keep you updated as we go.

Another update, we now have support for caching at the file level rather than the previous project level. This should speed up response times substantially for projects with lots of files. We have plans to enable caching at the AST node level but this should be a nice bridge in the meantime.

I'm going to close this issue in favour of this tracking issue in the sway repo. https://github.com/FuelLabs/sway/issues/6230


Feature: Refactor store and routes config

Description
This PR simplifies the way routes are loaded for both react renders: popup, extension.
It includes:

Relocation routes under routes/extension & routes/popup respectively
Conditions for the initial route are calculated in entry points
Removed components and redux-connections con routes components, making them simpler.

Audit Explanations

Missed type checker, I suggest flow, because you just need to specify which files are validated using // @flow annotation at the beginning of the file. In that way, you can start integrating flow smoothly.
Missed eslint. I suggest installing eslint for getting notified automatically of typos.
Missed default view when something goes wrong. Right now in the extension if the code fails, the extension is white
Missed declaration of module's NameMapper for making easier import things

In order to test it, I can build the extension straight from this branch, right? Would this work with the regular PlayStore app or would I need to use another app version?

@tschubotz You can use this branch with the regular PlayStore app


How to use Array with promises in Swift 2?

With Swift 1.2 it was possible to do like this:
let promises: [Promise<Any>] = [
  getGames().asAny(), // func getGames() -> Promise<[Game]>
  getUser().asAny() // func getUser() -> Promise<User>
]

when(promises).then {
  results -> Void in

  if let games = results[0] as? [Game] {
    self.games = games
  }

  if let user = results[1] as? User {
    self.user = user
  }

}

But as asAny() is not available in the branch swift-2.0-beta5 I have no idea how to accomplish this. Any ideas?

@johanwigmo What I do is this:
let promise1 = myPromise1()
let promise2 = myPromise2()

when([promise1.asVoid(), promise2.asVoid()]).then {
    let value1 = promise1.value
    let value2 = promise2.value
}

Might not be the prettiest solution though. Maybe @mxcl can hint on a better one?

You can do this with Swift when now:
when(getGames(), getUser()).then {
  games, user in
  self.games = games
  self.user = user
}

This works up to four parameters. If you need more then they must all be the same type, and yeah, I recommend the asVoid() method. asAny was removed because Any is dangerous and I feel responsible to promise safe Promise use, you can still do it though if you like:
promise.then { $0 as Any }

I tried the asVoid() method as @ldiqual mentioned but sometimes promise.value returns nil and I can't figure out why.

let promise1 = getGames() // func getGames() -> Promise<[Game]>
let promise2 =  getUser() // func getUser() -> Promise<User>
var promises: [Promise<Void>] = [promise1.asVoid(), promise2.asVoid()]

when(promises).then {
  _ -> Void in

  if let games = promise1.value {
    self.games = games
  }

  if let user = promise2.values {
    self.user = user
  }

}

It returns nil if the promise was rejected. So if it returns nil in the then it is a bug. It seems unlikely it is doing so though. We have SOOOO many tests.

Anyway how about the solution I gave? It is type safe and the suggested route for Swift.


════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by widgets library ═══════════════════════════════════
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4224 pos 14: 'owner._debugCurrentBuildTarget == this': is not true.
The relevant error-causing widget was
    MaterialApp
════════════════════════════════════════════════════════════════════════════════

════════ Exception caught by scheduler library ═════════════════════════════════
'package:flutter/src/rendering/object.dart': Failed assertion: line 2330 pos 12: 'attached': is not true.
════════════════════════════════════════════════════════════════════════════════
D/ViewRootImpl@47efc4f[MainActivity](  666): ViewPostIme pointer 0
D/ViewRootImpl@47efc4f[MainActivity](  666): ViewPostIme pointer 1

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-8.0.pre, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-8.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision e0c63cd35e (6 days ago), 2020-04-23 22:29:01 -0400
    • Engine revision d2ec21221e
    • Dart version 2.9.0 (build 2.9.0-3.0.dev b0d35855d8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (5 available)
    • SM M305F      • 32003c30dc19668f          • android-arm64  • Android 10
      (API 29)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Web Server    • web-server                • web-javascript • Flutter Tools
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.129
• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86 • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios         • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.313, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.313 at /Users/tahatesser/Code/flutter_master
    • Framework revision 1cb0a24a46 (6 hours ago), 2021-01-12 21:39:27 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86    • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)                    • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (5 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86 • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios         • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.313, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.313 at /Users/tahatesser/Code/flutter_master
    • Framework revision 1cb0a24a46 (6 hours ago), 2021-01-12 21:39:27 -0800
    • Engine revision 10cee6abcb
    • Dart version 2.12.0 (build 2.12.0-214.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86    • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)                    • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome                    • web-javascript • Google Chrome 87.0.4280.141

• No issues found!

I can't reproduce that on latest master, tried web and Android

flutter doctor -v
[√] Flutter (Channel decoration, 2.5.0-7.0.pre.179, on Microsoft Windows [Version 10.0.19041.1110], locale ru-RU)
    • Flutter version 2.5.0-7.0.pre.179 at C:\dev\src\flutter
    • Upstream repository git@github.com:nt4f04und/flutter.git
    • FLUTTER_GIT_URL = git@github.com:nt4f04und/flutter.git
    • Framework revision 29f309fa9e (4 days ago), 2021-08-21 13:53:20 +0300
    • Engine revision 62cd3220be
    • Dart version 2.15.0 (build 2.15.0-37.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\danya\AppData\Local\Android\sdk
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.59.1)
    • VS Code at C:\Users\danya\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (4 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)       • windows       • windows-x64    • Microsoft Windows [Version 10.0.19041.1110]
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 92.0.4515.159
    • Edge (web)              • edge          • web-javascript • Microsoft Edge 92.0.902.78

! Doctor found issues in 1 category.

Hi @salsolatragus, Does this still reproduce ? I verified on the latest master channel with the below code sample and it seems to work fine.

code sample
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: const SearchDemo());
  }
}

class SearchDemo extends StatefulWidget {
  const SearchDemo({Key? key}) : super(key: key);

  @override
  State<SearchDemo> createState() => _SearchDemoState();
}

class _SearchDemoState extends State<SearchDemo> {
  final _SearchDemoSearchDelegate _delegate = _SearchDemoSearchDelegate();
  final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>();

  Book? _lastSelectedBook;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      key: _scaffoldKey,
      appBar: AppBar(
        title: const Text('Books Search Demo'),
        actions: <Widget>[
          IconButton(
            tooltip: 'Search',
            icon: const Icon(Icons.search),
            onPressed: () async {
              final Book? selected = await showSearch<Book?>(
                context: context,
                delegate: _delegate,
              );
              if (selected != null && selected != _lastSelectedBook) {
                setState(() {
                  _lastSelectedBook = selected;
                });
              }
            },
          ),
          //   MaterialDemoDocumentationButton(SearchDemo.routeName),
          IconButton(
            tooltip: 'Voice Search',
            icon: Icon(
              Theme.of(context).platform == TargetPlatform.iOS
                  ? Icons.more_horiz
                  : Icons.more_vert,
            ),
            onPressed: () {},
          ),
        ],
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            MergeSemantics(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  Row(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: const <Widget>[
                      Text('Press the '),
                      Tooltip(
                        message: 'search',
                        child: Icon(
                          Icons.search,
                          size: 18.0,
                        ),
                      ),
                      Text(' icon in the AppBar'),
                    ],
                  ),
                ],
              ),
            ),
            const SizedBox(height: 64.0),
            _lastSelectedBook == null
                ? const SizedBox.shrink()
                : Text(
                    'Last selected book: ${_lastSelectedBook!.name ?? 'NONE'}.'),
          ],
        ),
      ),
      drawer: Drawer(
        child: Column(
          children: <Widget>[
            const UserAccountsDrawerHeader(
              accountName: Text('Flutter Demo'),
              accountEmail: Text('flutter@example.com'),
              currentAccountPicture: CircleAvatar(
                child: FlutterLogo(),
              ),
              margin: EdgeInsets.zero,
            ),
            MediaQuery.removePadding(
              context: context,
              child: const ListTile(
                leading: Icon(Icons.payment),
                title: Text('Placeholder'),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

class _SearchDemoSearchDelegate extends SearchDelegate<Book?> {
  final List<Book> _data = booksDatabase;
  final List<Book> _history = <Book>[];

  @override
  Widget buildLeading(BuildContext context) {
    return const BackButton();
  }

  @override
  Widget buildSuggestions(BuildContext context) {
    final Iterable<Book> suggestions = query.isEmpty
        ? _history
        : _data.where(
            (Book i) => i.name!.toLowerCase().contains(query.toLowerCase()));

    return _SuggestionList(
      query: query,
      suggestions: suggestions.map<String>((Book i) => '${i.name}').toList(),
      onSelected: (String suggestion) {
        query = suggestion;
        final found = _data.firstWhere((Book i) => '${i.name}' == suggestion);
        if (!_history.contains(found)) {
          _history.add(found);
        }
        showResults(context);
      },
      onDeleted: (String history) {
        _history.removeWhere((Book i) => '${i.name}' == history);
        buildSuggestions(context);
      },
    );
  }

  @override
  Widget buildResults(BuildContext context) {
    final searched = _data.firstWhere((Book i) => '${i.name}' == query);
    if (!_data.contains(searched)) {
      return Center(
        child: Text(
          'No book found for "$query".',
          style: Theme.of(context).textTheme.headlineSmall,
        ),
      );
    }
    return _BookCard(
      searchDelegate: this,
      book: searched,
    );
  }

  @override
  List<Widget> buildActions(BuildContext context) {
    return <Widget>[
      if (query.isEmpty)
        IconButton(
          tooltip: 'Voice Search',
          icon: const Icon(Icons.mic),
          onPressed: () {
            query = 'Implement voice input';
          },
        )
      else
        IconButton(
          tooltip: 'Clear',
          icon: const Icon(Icons.clear),
          onPressed: () {
            query = '';
            showSuggestions(context);
          },
        ),
    ];
  }

  @override
  ThemeData appBarTheme(BuildContext context) {
    return Theme.of(context).copyWith(
      appBarTheme: const AppBarTheme(
        elevation: 0.0,
      ),
    );
  }
}

class _BookCard extends StatelessWidget {
  const _BookCard({required this.searchDelegate, required this.book});

  final Book book;
  final _SearchDemoSearchDelegate? searchDelegate;

  @override
  Widget build(BuildContext context) {
    return Card(
      child: ListTile(
        title: Text(book.name!),
        subtitle: Text(book.author!),
        onTap: () {
          searchDelegate!.close(context, book);
        },
      ),
    );
  }
}

class _SuggestionList extends StatelessWidget {
  const _SuggestionList(
      {this.suggestions, this.query, this.onSelected, this.onDeleted});

  final List<String>? suggestions;
  final String? query;
  final ValueChanged<String>? onSelected;
  final ValueChanged<String>? onDeleted;

  @override
  Widget build(BuildContext context) {
    final ThemeData theme = Theme.of(context);
    return ListView.builder(
      itemCount: suggestions!.length,
      itemBuilder: (BuildContext context, int i) {
        final String suggestion = suggestions![i];
        return ListTile(
          leading:
              query!.isEmpty ? const Icon(Icons.history) : const Icon(null),
          trailing: query!.isEmpty
              ? IconButton(
                  onPressed: () {
                    onDeleted!(suggestion);
                  },
                  icon: const Icon(Icons.close))
              : const Icon(null),
          title: RichText(
            text: TextSpan(
              text: suggestion.substring(0, query!.length),
              style: theme.textTheme.titleMedium!
                  .copyWith(fontWeight: FontWeight.bold),
              children: <TextSpan>[
                TextSpan(
                  text: suggestion.substring(query!.length),
                  style: theme.textTheme.titleMedium,
                ),
              ],
            ),
          ),
          onTap: () {
            onSelected!(suggestion);
          },
        );
      },
    );
  }
}

// sample book class
class Book {
  const Book(this.id, this.name, this.author);

  final String? name;
  final String? author;
  final String id;

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is Book &&
          runtimeType == other.runtimeType &&
          name == other.name &&
          author == other.author &&
          id == other.id;

  @override
  int get hashCode => name.hashCode ^ author.hashCode ^ id.hashCode;
}

// sample book data

List<Book> booksDatabase = [
  const Book('1', 'The Alchemist', 'Paulo Coelho'),
  const Book('2', 'The Kite Runner', 'Khaled Hosseini'),
  const Book('3', 'The Da Vinci Code', 'Dan Brown'),
  const Book('4', 'The Godfather', 'Mario Puzo'),
  const Book('5', 'The Notebook', 'Nicholas Sparks'),
  const Book('6', 'The Fault in Our Stars', 'John Green'),
  const Book('7', 'The Book Thief', 'Markus Zusak'),
  const Book('8', 'The Help', 'Kathryn Stockett'),
  const Book('9', 'The Hobbit', 'J.R.R. Tolkien'),
  const Book('10', 'The Catcher in the Rye', 'J.D. Salinger'),
  const Book('11', 'The Giver', 'Lois Lowry'),
  const Book('12', 'The Great Gatsby', 'F. Scott Fitzgerald'),
  const Book('13', 'The Hunger Games', 'Suzanne Collins'),
  const Book('14', 'The Lion, the Witch and the Wardrobe', 'C.S. Lewis'),
  const Book('15', 'The Lord of the Rings', 'J.R.R. Tolkien'),
  const Book('16', 'The Perks of Being a Wallflower', 'Stephen Chbosky'),
  const Book('17', 'The Secret Garden', 'Frances Hodgson Burnett'),
  const Book('18', 'The Twilight Saga', 'Stephenie Meyer'),
  const Book('19', 'The Wind in the Willows', 'Kenneth Grahame'),
  const Book('20', 'The 5 Love Languages', 'Gary Chapman'),
  const Book(
      '21', 'The 7 Habits of Highly Effective People', 'Stephen R. Covey'),
  const Book('22', 'The 7 Habits of Highly Effective Teens', 'Sean Covey'),
  const Book('23', 'The 7 Habits of Highly Effective Families', 'Sean Covey'),
];

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.55.20221129

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I am going to close this issue for now, since this is not reproducible on our end, Incase you still encounter the issue, please feel free to file a new issue with the requested details in the issue template or leave a comment on this issue and we will reopen it.
Thank you.

@maheshmnj I was able to reproduce it with the reproducible from this comment https://github.com/flutter/flutter/issues/43160#issuecomment-547400063
Reopening.

logs
I/AssistStructure(10945): Flattened final assist data: 436 bytes, containing 1 windows, 3 views
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown building MediaQuery(MediaQueryData(size: Size(392.7, 737.5),
devicePixelRatio: 2.8, textScaleFactor: 1.0, platformBrightness: Brightness.light, padding:
EdgeInsets.zero, viewPadding: EdgeInsets.zero, viewInsets: EdgeInsets.zero, systemGestureInsets:
EdgeInsets(0.0, 24.0, 0.0, 0.0), alwaysUse24HourFormat: true, accessibleNavigation: false,
highContrast: false, disableAnimations: false, invertColors: false, boldText: false, navigationMode:
traditional, gestureSettings: DeviceGestureSettings(touchSlop: 8.0), displayFeatures: [])):
'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Failed assertion: line 261 pos 16:
'child == null || indexOf(child) > index': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
 Flutter (Channel unknown, 3.7.0-10.0.pre.75, on macOS 12.0.1 21A559 darwin-x64, locale ru-RU)
    ! Flutter version 3.7.0-10.0.pre.75 on channel unknown at /Users/nt4f04und/development/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Unknown upstream repository.
      Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    • Framework revision de357647be (36 minutes ago), 2022-12-20 14:51:10 -0800
    • Engine revision 7ee3bf5180
    • Dart version 3.0.0 (build 3.0.0-39.0.dev)
    • DevTools version 2.20.0
    • Pub download mirror https://pub.dartlang.org
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
    • Android SDK at /Users/nt4f04und/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.74.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.54.0

[✓] Connected device (3 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • macOS (desktop)         • macos         • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)            • chrome        • web-javascript • Google Chrome 108.0.5359.124

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

code sample
https://user-images.githubusercontent.com/39104740/208785747-5fb6d86b-024c-4a38-aff6-aa2f73300913.mov

Thanks for the prompt reply and the code sample @nt4f04uNd,  I can reproduce it too on the stable 3.3 and the master 3.7.

code sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHome(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('minimal example'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: const <Widget>[
            Text(
              'Press + to provoke the error',
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          showSearch(
              context: context,
              delegate: _TaskWithProjectSearchDelegate(
                suggestions: [
                  TaskWithProject(718, 'A', 6600, 'zFriedhof', 'zFriedhof'),
                  TaskWithProject(718, 'A', 6605, 'zFriedhof', 'zFriedhof'),
                  TaskWithProject(718, 'A', 6611, 'zFriedhof', 'zFriedhof'),
                ],
              )).then((task) {});
        },
        child: const Icon(Icons.add),
      ),
    );
  }
}

class TaskWithProject extends Comparable<TaskWithProject> {
  final int projectId;
  final String projectName;
  final int id;
  final String taskList;
  final String name;

  TaskWithProject(
      this.projectId, this.projectName, this.id, this.taskList, this.name);

  String get _compareString => '$projectName :: $taskList :: $name';

  @override
  int compareTo(TaskWithProject other) {
    return _compareString.compareTo(other._compareString);
  }
}

class _TaskWithProjectSearchDelegate extends SearchDelegate<TaskWithProject> {
  final List<TaskWithProject> suggestions;

  _TaskWithProjectSearchDelegate({required this.suggestions});

  @override
  List<Widget> buildActions(BuildContext context) => <Widget>[];

  @override
  Widget buildLeading(BuildContext context) {
    return IconButton(
      icon: AnimatedIcon(
        icon: AnimatedIcons.menu_arrow,
        progress: transitionAnimation,
      ),
      onPressed: () {},
    );
  }

  @override
  Widget buildResults(BuildContext context) {
    return const SizedBox();
  }

  @override
  Widget buildSuggestions(BuildContext context) {
    return ListView(
      children: suggestions.expand((TaskWithProject task) {
        return <Widget>[
          Text('[#${task.projectId}] ${task.projectName}'),
          Text(task.taskList),
          GestureDetector(
              key: Key(
                  task.name), // <-- this causes the error (duplicated Key)
              child: Text('[#${task.id}] ${task.name}')),
        ];
      }).toList(),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.55.20221129

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.53.20221101

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

logs
Restarted application in 433ms.
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown building MediaQuery(MediaQueryData(size: Size(390.0, 844.0),
devicePixelRatio: 3.0, textScaleFactor: 0.9, platformBrightness: Brightness.light, padding:
EdgeInsets.zero, viewPadding: EdgeInsets(0.0, 0.0, 0.0, 34.0), viewInsets: EdgeInsets.zero,
systemGestureInsets: EdgeInsets.zero, alwaysUse24HourFormat: false, accessibleNavigation: false,
highContrast: false, disableAnimations: false, invertColors: false, boldText: false, navigationMode:
traditional, gestureSettings: DeviceGestureSettings(touchSlop: null), displayFeatures: [])):
'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Failed assertion: line 261 pos 16:
'child == null || indexOf(child) > index': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.


Update dependencies

Hi,
please can you update dependencies of this package?
It is hard to use these days and I don't see any replacement for this package.
Thank you.

@novjan PRs are welcome, unfortunately I don't really have time to maintain this project anymore.

@sagikazarmark
Added a PR that updates the dependency on symfony/options-resolver. Should make it installable with newer Symfony versions again. I think the other required dependencies are still fine.


update-pricing

Added clarification how we charge for fractions of a minute
#sign-off

Learn Build status updates of commit 9283444:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/102890/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Market orders missing from public player structures

It looks like the normal market orders endpoint /markets/{region_id}/orders/ does not return sell orders from public player structures.
Here's trying to fetch PLEX sell orders from The Forge:
$ curl -s "https://esi.evetech.net/latest/markets/10000002/orders/?datasource=tranquility&order_type=sell&type_id=44992" | jq -c '.[] | .location_id' | sort | uniq -c | sort -n
      1 60000361
      1 60000454
      1 60003754
      1 60004423
      1 60004468
      2 60002740
      2 60004474
      4 60015027
<PHONE_NUMBER>0

Not player structures are included, but we know they exist. Buy orders with a range > station are listed.
It'll have to iterate over public structures and include orders from the /markets/structures/{structure_id}/ endpoint, which is authenticated.
EVE Tycoon displays them and according to Xre Sloracknor:

Yes I fetch public sells from player-owned structures
I fetch them with an NPC corp character
If I get a 403 requesting orders from that structure, I don't request from that structure for 12h

The public structures ID endpoint shows fully public structures. However, not all of them have markets and therefor might return a 403 when fetching their orders. Since 403s are throttled, this could be very slow.
There are structures which aren't fully public and would therefor not appear on the public structures list, but they might have open markets. Some ways others have suggested getting those IDs:

Public contracts, including end location from courier contracts
Buy orders returned by the main orders endpoint

Excellent! The Fuzzwork ordersets have the sell orders. So I do technically have them in "my" archive.

I could prioritise https://github.com/autonomouslogic/eve-ref/issues/2 first and add a market order check to that, like an extra has_public_market: true|false entry.

Steve's code for updating citadels and fetching orders from them:

https://github.com/fuzzysteve/FuzzMarket/blob/master/scripts/aggloader-esi.py
https://github.com/fuzzysteve/FuzzMarket/blob/master/scripts/citadelgetter.py


Migrate/onboarding step markup

Alternating Card component with JSX for onboarding step markup

@diorshelton would you be able to paste the link to which card in Trello this belongs to? I can't find it. Thanks!


RE2022-177: add WS env for WS downloader

LGTM for WS downloader.
Do we also need to update parsing script and NCBI downloader as well?

yes. I will update the parser and taskfarmer scheduler accordingly after this PR.

Note that the NCBI downloader downloads from (obviously) NCBI, which doesn't have kbase environments, so it should be updated to just use none or something like that for an environment

Note that the NCBI downloader downloads from (obviously) NCBI, which doesn't have kbase environments, so it should be updated to just use none or something like that for an environment

I don’t see any reason why we are creating an null environment for NCBI. I would just leave it as is.

I don’t see any reason why we are creating an null environment for NCBI. I would just leave it as is.

I guess for the sourcedata directory it doesn't matter since everything is reading from the collectionssouce directory, but there it seems like it'd make more sense to have the same directory structure as the workspace based collections

👍

I don’t see any reason why we are creating an null environment for NCBI. I would just leave it as is.

I guess for the sourcedata directory it doesn't matter since everything is reading from the collectionssouce directory, but there it seems like it'd make more sense to have the same directory structure as the workspace based collections

👍


[Snyk] Upgrade @navikt/ds-css from 5.3.1 to 5.3.3

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @navikt/ds-css from 5.3.1 to 5.3.3.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-09-06.

Release notes

Package name: @navikt/ds-css

5.3.3 - 2023-09-06

5.3.2 - 2023-09-06

5.3.1 - 2023-09-03

    from @navikt/ds-css GitHub release notes

Commit messages

Package name: @navikt/ds-css

29b244e Version Packages (#2248)
6f2325b :art: HGrid align-prop (#2242)
9f575b7 Version Packages (#2246)
4e05993 🎨 Skeleton as-prop (#2239)
85a7521 :bug: fiks createPackageJsonsWithESMPointers i Windows (#2237)
f635be7 :label: Forbedret typesjekking i stories (#2234)
b675a5b :passport_control: Permissions for chromatic-workflow (#2235)
cc84211 :sparkles: Primitives-kategori
f36d4c4 :bug: Fikset Typo-eksempler, dupliserte prop-entries
d7bd84f :arrow_up: Oppdatert sanity (#2228)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

oppdatert i siste release


stage

What is your question?
whas the variable for stages in lua I couldn't find it on the wiki.
if stage == 'school' then
       canMove = false
end

try curStage, you might have to try getProperty though

I just went and looked and there is no variable for the current stage...

I just went and looked and there is no variable for the current stage...

a

OH WAIT YOU HAVE TO GET IT FROM THE SONG PROPERTY MB MB
use getProperty('SONG.curStage') maybe????


Fixed: Change of bgColor of beta

Summary
What have you changed? Provide context for those unfamiliar with what you're working on!
I have changed the bgColor of the beta button from grey to blue.
Before:

After:

Test Plan
How did you test your changes?
by running it on my PC locally
Related Issues
Which issue does this PR resolve?
#123

@tedspare check this out

Thanks @RajeevDash007. Could you justify what value this adds to the tool? Thanks.