Unclear how global error topic is set up with Kafka binder

I'm been reading available documentation and I am very confused about the correct approach to get an error topic working when using the Kafka binder.
The current documentation states that the property spring.cloud.stream.bindings.error.destination can be used to configure a global error topic, but this support appears to have been removed in this commit.
I have also tried to implement using properties for the Kafka binder specifically; the code below demonstrates my attempt, including the configuration.
My Maven BOM is org.springframework.cloud:spring-cloud-dependencies:Greenwich.SR1 and my dependencies are:
    org.springframework.boot:spring-boot-starter-web
    org.springframework.cloud:spring-cloud-stream
    org.springframework.cloud:spring-cloud-starter-stream-kafka

It would be great if it could be clarified how exactly a global error topic can be set up. So far, with the code below, I can see the message being handled multiple times via retries, but nothing is sent to the error topic (DLQ) that I have configured.
@SpringBootApplication
@EnableBinding(Processor.class)
public class Application {

    public static void main(final String[] args) {
        SpringApplication.run(Application.class, args);
    }

}

@Configuration
public class AppConfig {

    @Bean
    public ServiceImpl service() {
        return new ServiceImpl();
    }

    @Bean
    public Function<String, String> execute(ServiceImpl service) {
        return service::doBusinessLogic;
    }
}

public class ServiceImpl {

    public String doBusinessLogic(String message) {
        System.out.println("Handling message");
        if (message.startsWith("foo")) {
            throw new RuntimeException("This is a test");
        }
        return message;
    }

}

spring:
  cloud:
    stream:
      kafka:
        binder:
          brokers: localhost:9091
          autoCreateTopics: false
        bindings:
          input:
            consumer:
              enableDlq: true
              dlqName: myErrorTopic

      bindings:
        input:
          destination: myInputTopic
          group: myConsumerGroup
        output:
          destination: myOutputTopic

      function:
        definition: execute

I believe this is related to https://stackoverflow.com/questions/56528263/sending-errors-to-kafka-retry-topic-with-spring-cloud-stream
This is indeed a bug that would require some enhancements in upstream projects (e.g, spring-kafka/integration/rabbit etc).
We should be able to address it shortly and make it available in the next SR, hopefully next week.
Thanks for reporting it.

Tagging @garyrussell @artembilan

The spring.cloud.stream.bindings.error.destination  was a legacy implementation that was naaive and has been replaced by the current error handling. Which, as Oleg said, is broken for spring-cloud-function support.
The documentation should be fixed to remove that legacy stuff if it's still there.
That commit did remove one reference: https://github.com/spring-cloud/spring-cloud-stream/commit/a82c906913d9dbf0c42810443adce3ec1b2b5eb6#diff-369a0fe7a77fddec73a04336c6c349bd

Thank you for the rapid response.
Is there a version I can fall back to, preferably compatible with latest Spring Boot, that includes the new error topic mechanism?

I'll fix the documentation as part of the commit for this issue once Gary/Artem will signal that their snapshots with relevant enhancements ready

The feature has been implemented in Spring Integration: https://github.com/spring-projects/spring-integration/issues/2958.
We we always add IntegrationMessageHeaderAccessor.SOURCE_DATA header into the message emitted by the AMQP Inbound Channel Adapter (Gateway/Source).
This must be yet implemented in the Spring Integration Kafka and AWS, but at least we have something to play with from the Rabbit Binder perspective.

I just changed the title and also reclassified it as an enhancement rather then a bug given we never really had it working

So the issue is addressed in the corresponding PR(s), however we can't really merge them until the relevant bits on spring-rabbit/kafka/integration are released with subsequent spring-boot release.
That said you can certainly build for now from PR(s) and test it. You'd have to build core first and then corresponding kafka or rabbit PR depending on the binder you are using.

Issue exist with Stream Listener as well. Has this been fixed only for functions?
spring-cloud-depencies: Hoxton.M3
spring-cloud-stream
spring-cloud-starter-stream-kafka


Clpeak compute-sp freezes with mailbox

When executed via the mailbox-interface, the clpeak --compute-sp benchmark freezes (the kernel?) in the second execution. The --global-bandwidth benchmark runs fine, so do both benchmarks when run via register-poking.
More exact error description:

according to htop, the VC4CL Queue Handler thread moves into status D, which means uninterruptible sleep (usually IO) (see here), which looks like it hangs in the mailbox-syscall
forcibly stopping the process is unable to kill the VC4CL Queue Handler thread, even sudo reboot does nothing.

Side note: When this error is fixed, re-examine the delay in src/executor.cpp:108, since at least the --global-bandwidth benchmark seems not to require it (anymore).

Maybe related: since two weeks or so, clinfo freezes after:
  Max work group size                             12
This is with raspbian stretch, so gcc 6.3.0 and clang 3.9 installed. It used to work.

@ThijsWithaar, do you use clinfo from the repository or a manually compiled version?
The version in the repository has an error, because of which I started using the github version. I just currently don't remember what the error was.

I use the one from raspbian (stretch)

On my Raspberry Pi, the clinfo from the repository fails (before any output) with

terminate called after throwing an instance of unsigned int

The manually compiled version runs fine, though I am not sure, this is related.


Number of Metatype Relationship Pairs limited to 1000

Bug Description
It seems that the number of Metatype Relationship Pairs is limited to 1000

Steps to Reproduce
Import a container with the DIAMOND ontology. See number of relationship pairs is 1000. Attempt to add an additional relationship pair, then search in the list
Impact
Requires reduction of the full ontology

@brennanxyz - this isn't actually an issue of adding more than 1000 to the relationship pairs. The return is capped at 1000 records if the API call is made without a limit/offset parameter. In order to solve this Jeren's issue #89 Modify Taxonomy Tables to be Data Tables needs to be implemented. This will fix the return capping at 1000 records.

@brennanxyz - this isn't actually an issue of adding more than 1000 to the relationship pairs. The return is capped at 1000 records if the API call is made without a limit/offset parameter. In order to solve this Jeren's issue #89 Modify Taxonomy Tables to be Data Tables needs to be implemented. This will fix the return capping at 1000 records.


Make DefaultMediaNotificationProvider more customizable

I want to customize the smallIcon as well as the setShowActionsInCompactView().
Unfortunately I can't extend the DefaultMediaNotificationProvider because it is marked private in the package.
So the only solution I found was to copy the code from DefaultMediaNotificationProvider.java to my project and then change it there.
But that is not very nice, and if upstream it is changed, we won't get the changes.

Closing as this is fixed and will be included in 1.0.0-beta01 which is on its way to be released.


NIFI-11538: Fix primitive type conversion for PutIceberg

Summary
NIFI-11538
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@mattyb149 looks like you have a few unit tests failure in the iceberg package.


cnm: Fix sporadic netns issue related to wrong thread ID

Starting "docker run" commands with 3.0 runtime, we have detected some sporadic issues related to the thread ID. In case the thread ID is different from the process ID, if we set the current process
to a given network namespace, Docker CNM plugin cannot reach this network namespace because it will find the one tied to the process ID. There is only one case where this is working, we need the thread ID being the same than process ID.
The way to achieve this, we call runtime.LockOSThread() so that the main thread does not end up executed by another thread.
Then, the other issue is about using go routines when you call LockOSThread(). In that case, the go routine will be automatically assigned a different thread ID. And in our case, we are calling Do()
function which is using a go routine to switch to the specified netns. That means we have switched a different pair PID/TID to the netns, and Docker CNM plugin won't be able to reach the network namespace.
That's why the second part of the patch is about writing a Do() but safe from the usage of any go routine. That way, we are always in the same pair PID/TID when switching the current process to the netns, making Docker finding the right netns all the time.
Notice that LockOSThread() is called from init() function so that we make sure this function is executed before the main() function of the consumer of our virtcontainers library. That's the way we ensure that
PID will always be equal to TID.

Coverage increased (+0.01%) to 66.898% when pulling 7654b0cbfd239b36550630be4fb18f8b98740838 on sboeuf/fix_netns_pidtid_issue into ba8051417c1eb31cac6b8277f737985cc34f624a on master.

These changes look fine to me, but what isn't clear is why there are still calls to doNetNS(). Since this is quite subtle, I'd recommend adding an explanatory comment on doNetNS() stating when it is appropriate to use this function and when it is necessary to use safeDoNetNS().

Once @jodh-intel comments are adressed, this one LGTM

Coverage increased (+0.01%) to 66.922% when pulling 6ac8ac520f66058c411b25bee66c2776a28a1d88 on sboeuf/fix_netns_pidtid_issue into 318cca4fde190d5ed7a817e63ddbeffc572d1f20 on master.

@sameo @jodh-intel I have just added some comments to safeDoNetNS() and doNetNS().

Coverage increased (+0.01%) to 66.922% when pulling 6ac8ac520f66058c411b25bee66c2776a28a1d88 on sboeuf/fix_netns_pidtid_issue into 318cca4fde190d5ed7a817e63ddbeffc572d1f20 on master.

lgtm


Support bit-level initialization tracking.

From @mheinsen on March 15, 2013 2:31
I think that this should proceed as follows:

Update shadow memory tracking to be allocation-based rather than the old fragment-based system (recreated memory was updated way back in 97b8557fca6edaaa967b0528e3a69ca36774c8a8).
Implement methods to retrieve/set the shadow state of memory that can be used by instrumented code and interceptors.
Update the instrumentation to propagate uninitialized bits through instructions.

In the long term, it would be nice to have a large block of shadow memory so that determining the location of the shadow memory for any particular byte was a simple operation (a la Memcheck, MemorySanitizer, etc.)
Copied from original issue: mheinsen/seec#9

[x] Update shadow memory tracking to be allocation-based rather than the old fragment-based system (done in 6d04037312ccadf6e24e63e7a986f1cf92cf0dfb)
[ ] Implement methods to retrieve/set the shadow state of memory that can be used by instrumented code and interceptors.
[ ] Update the instrumentation to propagate uninitialized bits through instructions.


Replace Lenna image in tests with a truly free alternative.

The Lenna image used in image processing tests is considered problematic due to
its unclear copyright status. Right now it is considered to be "overlooked" by
the copyright holder Playboy.
A suitable replacement image is already provided in the libav sources which is
licensed under the Expat (MIT) license and thus truly free.
This replaces the Lenna image with the one from the libav project.

Thank you!


Add AMD Matisse and Renoir ZEN2 cpu autodetection

expected to fix #2738

Nonsense, blame lack of sleep


Adding No-IP domain

As for ChangeIP I have included in the list No-IP with its domains.

Thanks but the category Shared hosting provider is incorrect IMHO.
Thus I modified your PR in #24.


Fix e2e with Go 1.12

/lgtm

/test pull-knative-build-integration-tests

/lgtm

/test pull-knative-build-integration-tests

/test pull-knative-build-integration-tests


Get TypeError when running forte/examples/visualize

Describe the bug
Get a TypeError when running the examples in forte/examples/visualize.
TypeError: undefined is not an object (evaluating 'o.position.rects[0].x')

To Reproduce
Steps to reproduce the behavior:
1.
git clone https://github.com/asyml/forte.git
cd forte/examples/visualize
cat README.md

Follow the steps described in the README.md file and you will get a terminal prompt like:

Enter your query here:

Copy the following text and paste it into terminal.

Forte provides a platform to assemble state-of-the-art NLP and ML technologies in a highly-composable fashion, including a wide spectrum of tasks ranging from Information Retrieval, Natural Language Understanding to Natural Language Generation.

Press return on keyboard and a Stave web page should be popped out, from which you can view the text you just entered.
4. Click the radio button of Token on the left panel and an error message will show in browser console.
TypeError: undefined is not an object (evaluating 'o.position.rects[0].x')

Expected behavior
No error should appear and Stave should correctly show the Token annotations.
Screenshots

Environment (please complete the following information):

OS: macOS
Version 11.4

Additional context
Add any other context about the problem here.

I found that it's browser-specific. Only Safari has the issue, and chrome doesn't.

I found that it's browser-specific. Only Safari has the issue, and chrome doesn't.

Hmm, good to know, I think we can create a issue after we finish the upgrade (with browser type/version etc.)


Dummy graphql requests module

Use v2 api endpoints for search and downloads.

Left some tiny comments.
In general, as a reviewer I would love to have this split to one big feature branch and smaller PRs (much easier to review). Also, wouldn't hurt to leave more verbose docstrings.

Thanks for the comments. A good reason for the length of the pr:
Ideally wanted to make prs for both search and downloads. But when search is called, downloads gets called in the original main branch's code (without downloading the actual file, just gets the download url). Was not easy to decouple the logic without making larger changes (will need to edit the Model class, and completely decouple load_files_from_stub)


Scrolling Issue

Whenever i am editing a line, and use my mousepad to scroll a little bit, then I am losing my focus on my editing part.
Scrolling a little bit is taking me to some other place in the editor.
please fix this issue.
Attaching the same problem's complete description: https://github.com/microsoft/vscode/issues/28795#issuecomment-341273788

Let's track in #28795


☂ Umbrella Issue: CI

[ ] For all pushes:

[ ] Lint (cargo clippy)
[ ] Build
[ ] Pacts

[ ] For pushes to master

[ ] Deploy (with our typical update_version
[ ] Verify contracts

Probably the most annoying thing will be to init the database and wait for it before building / running contract tests.

Probably the most annoying thing will be to init the database and wait for it before building / running contract tests.

Would it be worth it to make a tiny subset with the data just for the tests?

Probably the most annoying thing will be to init the database and wait for it before building / running contract tests.

Would it be worth it to make a tiny subset with the data just for the tests?

Don't think that this is needed (especially since it would writing unit tests more annoying). Since we need a database for the tests anyways, the SQL import step itself isn't a problem.

Don't think that this is needed (especially since it would writing unit tests more annoying). Since we need a database for the tests anyways, the SQL import step itself isn't a problem.


Wrong column_display context used in record app main body

Go to: https://synapse-dev.isrd.isi.edu/chaise/record/#1/Zebrafish:Image/RID=2N0
Scroll down to the field labeled 'Image File' which corresponds to the 'URL' column of this table.
See a custom markdown presentation instead of an asset column presentation
Go to https://synapse-dev.isrd.isi.edu/ermrest/catalog/1/schema/Zebrafish/table/Image/column/URL/annotation

Note, the annotation defines a markdown pattern for the compact context but not for the * context. It also provides an asset annotation.  For the record app, this should be displaying the asset presentation for the detailed context.

Based on the annotation "detailed": "compact", we are using whatever is defined for the compact  for detailed too. So it's working as expected.

Hah, thanks.  I don't know how many times I looked at that and didn't notice that extra line...


restartShardById

https://github.com/DV8FromTheWorld/JDA/blob/e92e0ae3c1c77c8ba181342adecffbe898f03e63/src/main/java/net/dv8tion/jda/bot/sharding/ShardManager.java#L748
Maybe it's a good idea to change the name of this method to restartShardById to follow the same name as getShardById.

The issue tracker is only for master. If you want to comment on PRs or experiments then do so on the respective PR or on discord.

(This is a GitHub feature, you can select a line and attach that to a new issue)


wal: add buf_copy to limit memory usage

This adds a new FileExt::buf_copy that allows to pass in a buffer that can be smaller than the file size to reduce memory pressure.

Please resolve conflicts and let's get this one merged @LucioFranco

I took the liberty to resolve conflicts and push the updated change. @LucioFranco please have a look if I didn't make any mistakes


[docs]: change icon in open side drawer documentation

Open/Close side-drawer functionality is not clearly understood. I propose to change the hamburger icon to X icon when the component is closed, or think about a different functionality solution altogether in order to supply a better user experience.
I've checked a few other design systems, and in none of the "open menu" icon often represented by a hamburger icon was in the same line with the side menu, and used to move aside when the menu was opened.
For some examples you can check the functionality in your gmail, or look at these references:
https://docs.microsoft.com/en-us/windows/apps/design/basics/navigation-basics
https://www.patternfly.org/v4/components/navigation/design-guidelines
https://designsystem.backbase.com/v2/web-components/layouts-and-navigation/design
Note: I would prefer the hamburger icon to change to X icon like in these references (but after my little research it bothers me less that hamburger icon that moves aside when the menu opens):
https://codepen.io/choogoor/pen/yJLOgp
https://codepen.io/aderaaij/pen/pgNxwY
https://codepen.io/gustavomodena/pen/adZgWK
It doesn't have to be with the beautiful animations as seen in these references, but I think that an icon change delivers the message better.
Also, there were other examples of side menu functionality that i have found:
https://designsystem.backbase.com/v2/web-components/layouts-and-navigation/design
p.s. scroll to the "Small screen with collapsed menu"
https://vmware.github.io/clarity/documentation/v0.12/vertical-nav/basic-structure/charmander
Maybe we can use a "collapse/expand" icons from our design system, and it can clearly deliver the message.
Maybe instead of hamburger icon it can be an arrow that functions as open/close component, maybe something like this:
https://codepen.io/simoberny/pen/vNYavm
Same functionality exists in Dell design system:
https://www.delldesignsystem.com/components/side-navigation/

I would love to know your thoughts about this issue

here's a question to tackle, a modal aside (featured in side-drawer) is currently only scrims the main app content and doesn't block the header as well. is this a correct implementation of a modal? it's a conflict of stacking context vs inert of elements

@AyalaBu Current design hides the last button inside the sidenav.

@AyalaBu Can we close this issue?


Exit 0 on success

If the script succeeds, but selects the currently used mirror, the
current version returns 1. This is the same exit code used for actual
errors, like network problems, invalid input etc. This makes it
impossible for callers to know whether an actual error occurred or not.
Instead we now return 0 in this case.

Note: I'm open to returning non-zero in this case as well, if you think that's better. But then we should return something else than 1, so the caller can detect it. I also think we should document the exit codes. Here's for instance how man grep does that:

EXIT STATUS
Normally the exit status is 0 if a line is selected, 1 if no lines were selected, and 2 if an error occurred.  However, if the -q or --quiet or --silent is used and a  line  is  selected,  the  exit
status is 0 even if an error occurred.

Thanks for the feedback!
Using a different exit code is a good idea. I made a new commit now acting on your feedback. Does it look ok to you? Not sure if I put the SKIPPED_FILE_GENERATION constant in the right place, but that's the best place I could find. Open to suggestions here (and elsewhere of course).
If the changes are ok, I suggest I squash the two commits before merging.

Fixed those two things now too. Did it as separate commits still to make review easier. I'm happy to squash myself when everything is approved.

Thanks for approving! I've squashed the commits now and written one common commit message.

Any idea when this will be merged and released?

This has been released in 2.2.0 and is now available on pypi. Apologies for the delay, day job has kept me distracted.

No worries at all, thanks for accepting the PR and making the release! :)


wrong count of monthly posts

Thanks for this awesome generator, I'm new to it.
Now I'm debugging a theme "hugo-pacman-theme" which is not compatible greatly on new version of hugo.
I submited an issue in the repo of this theme but it seems that it is not maintained by the author for a long time, so I try to fix it by myself. Many of these compatible-problems had been fixed such as isset problem and "main" should be lowercase inSite.Menus.Main except one below.
This is the source code of the sidebar which shows the monthly counts of posts
{{ if not (eq (len .Site.Pages) 0) }}

{{ .Site.Params.Strings.Archive }}

      {{ range $value := (where .Site.Pages "Type" "post").GroupByDate .Site.Params.MonthFormat }}
      {{ $url := (index $value.Pages 0).Date.Format "2006-01" | urlize }}

        {{ .Key }}{{ len $value.Pages }}

      {{ end }}

{{ end }}

it works well under hugo v0.17 (demo in author's repo) but when I use v0.20 (demo in hugo theme page), the count of first monthly posts(only first month) will always be 1 more.("about" page doesn't matter, because it's not in posts and the problem still exists even this page deleted)
Is this a bug of {{ len $value.Pages }} or just a compatible problem? How can I fix it?

@yyBeta this is a question better suited for the forums at https://discuss.gohugo.io I would post this question there and you'll get much better feedback. Thanks for your support of Hugo!


Support case-insensitive Hub dataset name in load_dataset

Feature request
The dataset name on the Hub is case-insensitive (see https://github.com/huggingface/moon-landing/pull/2399, internal issue), i.e., https://huggingface.co/datasets/GLUE redirects to https://huggingface.co/datasets/glue.
Ideally, we could load the glue dataset using the following:
from datasets import load_dataset
load_dataset('GLUE', 'cola')

It breaks because the loading script GLUE.py does not exist (glue.py should be selected instead).
Minor additional comment: in other cases without a loading script, we can load the dataset, but the automatically generated config name depends on the casing:

load_dataset('severo/danish-wit') generates the config name severo--danish-wit-e6fda5b070deb133, while
load_dataset('severo/danish-WIT') generates the config name severo--danish-WIT-e6fda5b070deb133

Motivation
To follow the same UX on the Hub and in the datasets library.
Your contribution
...

Closing as case-insensitivity should be only for URL redirection on the Hub. In the APIs, we will only support the canonical name (https://github.com/huggingface/moon-landing/pull/2399#issuecomment-1382085611)


Fix exists operator for boolean question types

Exists operator is not applied for boolean question types
item:
  - text: Question 1
    type: boolean
    linkId: question1
  - text: Question 2
    linkId: question2
    enableWhen:
      - answer:
          boolean: false
        operator: exists
        question: question1

Unfortunately, this problem exists not only for the boolean type of question. It also has problems with integers and decimals.
It's because _.isEmpty is not the correct function to work with it.
Checks if value is an empty object, collection, map, or set.

The actual information about the issue is stored here: https://github.com/beda-software/sdc-ide/pull/63


Not Adding Physics Shape To The Character Causes Unhandled Exception

Release Type: Official Release
Version: Version 4.0
Platform(s): All
Describe the bug
if you don't add a physics shape to the character component and call any physics function for that character you'll get the following error : Unhandled Exception: System.InvalidOperationException: Attempted to call a Physics function that is avaliable only when the Entity has been already added to the Scene.
To Reproduce

add a characterComponent to an entity
create a new script and add it to that entity
in the script create a characterComponent variable then reference it through either game studio or code
call any function for that characterComponent such as SetVelocity
try running the game and you'll get an error

Expected behavior
have a clear error that says "character doesn't have physics shape" or something similar

Hello, I would like to give this bug a try, any guidance? Thank you

@r00terAF18 hello, thanks for having a look at this, very nice to hear. i think the first step would be to reproduce the bug with visual studio attached and break at the exception.
then have a look in the debugger whether the error case could be handled earlier, e.g. inside the CharacterComponent class. for example, by checking whether a physics shape exists.

Hello! I was looking and I wasn't sure if this issue was being worked on. If not, I would love to give it a try, Thanks!


Covering java component debug test

What type of PR is this?
/kind test
What does does this PR do / why we need it:
Adding integration test coverage for java debug test
Which issue(s) this PR fixes:
Fixes #2153
How to test changes / Special notes to the reviewer:
make test-cmd-debug

@amitkrout any update on this?

@amitkrout any update on this?

Actually i did not get time to update this pr. Will update and open it for review

/hold cancel

/appreove

@girishramnani This is a real failure. I can reproduce it locally too. Can you please have a look.
Running odo with args [odo debug port-forward --local-port 36978 --context /tmp/447265959]
error while requesting: Get http://localhost:36978: dial tcp <IP_ADDRESS>:36978: connect: connection refused

NOTE : I am using free free port in the test script
Details - https://travis-ci.com/github/openshift/odo/jobs/320371654#L1299

@girishramnani This is a real failure. I can reproduce it locally too. Can you please have a look.
Running odo with args [odo debug port-forward --local-port 36978 --context /tmp/447265959]
error while requesting: Get http://localhost:36978: dial tcp <IP_ADDRESS>:36978: connect: connection refused

NOTE : I am using free free port in the test script
Details - https://travis-ci.com/github/openshift/odo/jobs/320371654#L1299

Ping @mik-dass @girishramnani

@girishramnani This is a real failure. I can reproduce it locally too. Can you please have a look.

Does the port-forward command pass locally?

/refresh

Issue https://github.com/openshift/odo/issues/2153 is removed from the current sprint, So i am closing this atm.


Trouble with Pkg.add("Gurobi")

I installed Gurobi 9.0.1 on my Mac and tried Pkg.add("Gurobi") on JuliaPro 1.2.0, but I'm getting the following error message (see copy/pasted material at end of message).
ENV["GUROBI_HOME"] output is 'key "GUROBI_HOME" not found'.
I don't know what the problem was, but Terminal advised that I store the license key file in 'Users/changd' (home directory) rather than 'Library/gurobi' or a similar variant. Also, there is no gurobi-related folder in /Library/ although I successfully installed and tested Gurobi following the Quick Start guide.
How do you advise that troubleshoot?

┌ Error: Error building Gurobi:
│ dyld: Library not loaded: libgurobi90.dylib
│   Referenced from: /usr/local/bin/gurobi_cl
│   Reason: image not found
│ ERROR: LoadError: Unable to locate Gurobi installation. If the advice above did not help,
│ open an issue at https://github.com/JuliaOpt/Gurobi.jl and post the full
│ print-out of this diagnostic attempt.
│
│ Stacktrace:
│  [1] error(::String) at /Applications/JuliaPro-1.2.0-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [2] top-level scope at /Users/changd/.juliapro/JuliaPro_v1.2.0-1/packages/Gurobi/CI8ht/deps/build.jl:154
│  [3] include_relative(::Module, ::String) at /Applications/JuliaPro-1.2.0-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [4] include(::Module, ::String) at /Applications/JuliaPro-1.2.0-1.app/Contents/Resources/julia/Contents/Resources/julia/lib/julia/sys.dylib:?
│  [5] include(::String) at ./client.jl:431
│  [6] top-level scope at none:5
│ in expression starting at /Users/changd/.juliapro/JuliaPro_v1.2.0-1/packages/Gurobi/CI8ht/deps/build.jl:152
│ Unable to locate Gurobi installation. Running some common diagnostics.
│
│ Gurobi.jl only supports the following versions:
│
│  - gurobi90
│  - gurobi81
│  - gurobi80
│  - gurobi75
│  - gurobi70
│
│ Did you download and install one of these versions from gurobi.com?
│
│
│ Looking for a version of Gurobi in your path:
│
│
│ We could not find a version of Gurobi in your path, and we could
│ not find the environment variable GUROBI_HOME. You should set
│ the GUROBI_HOME environment variable to point to the install
│ location. For example:
│ - on Windows, this might be C:\Program Files\gurobi810\win64\
│ - on OSX, this might be /Library/gurobi810/mac64/
│ - on Unix, this might be /opt/gurobi810/linux64/
│
│ Alternatively, you can add the Gurobi install directory to your path.

I get a similar error but on windows 7 pro. In my case the GUROBI_HOME environment is correct.
I am wondering if the reason is that I have a Julia 1.4.0 32bit while Gurobi 9.0.1 is 64bit.
Error: Error building Gurobi:
│ ERROR: LoadError: Unable to locate Gurobi installation. If the advice above did not help,
│ open an issue at https://github.com/JuliaOpt/Gurobi.jl and post the full
│ print-out of this diagnostic attempt.
│
│ Stacktrace:
│  [1] error(::String) at .\error.jl:33
│  [2] top-level scope at C:\Users\dimili.julia\packages\Gurobi\CI8ht\deps\build.jl:154
│  [3] include(::String) at .\client.jl:439
│  [4] top-level scope at none:5
│ in expression starting at C:\Users\dimili.julia\packages\Gurobi\CI8ht\deps\build.jl:152
│ Unable to locate Gurobi installation. Running some common diagnostics.
│
│ Gurobi.jl only supports the following versions:
│
│  - gurobi90
│  - gurobi81
│  - gurobi80
│  - gurobi75
│  - gurobi70
│
│ Did you download and install one of these versions from gurobi.com?
│
│
│ Found GUROBI_HOME =  C:\gurobi901\win64
│
│ Does this point to the correct install location?
│ - on Windows, this might be C:\Program Files\gurobi810\win64\
│ - alternatively, on Windows, this might be C:/Program Files/gurobi810/win64/
│ - on OSX, this might be /Library/gurobi810/mac64/
│ - on Unix, this might be /home/my_user/gurobi810/linux64/
│
│ Note: this has to be a full path, not a path relative to your current
│ directory or your home directory.
│
│ We're going to look for the Gurobi library in this directory:
│     C:\gurobi901\win64\bin
│
│ That directory has the following files:
│
│  - C:\gurobi901\win64\bin\Gurobi90.NET.XML
│  - C:\gurobi901\win64\bin\Gurobi90.NET.dll
│  - C:\gurobi901\win64\bin\GurobiJni90.dll
│  - C:\gurobi901\win64\bin\grb_ts.exe
│  - C:\gurobi901\win64\bin\grbcluster.exe
│  - C:\gurobi901\win64\bin\grbgetkey.exe
│  - C:\gurobi901\win64\bin\grbprobe.exe
│  - C:\gurobi901\win64\bin\grbtune.exe
│  - C:\gurobi901\win64\bin\gurobi.bat
│  - C:\gurobi901\win64\bin\gurobi.env
│  - C:\gurobi901\win64\bin\gurobi90.dll
│  - C:\gurobi901\win64\bin\gurobi90_light.dll
│  - C:\gurobi901\win64\bin\gurobi_cl.exe
│  - C:\gurobi901\win64\bin\pysetup.bat
│  - C:\gurobi901\win64\bin\vslauncher.exe
│  - C:\gurobi901\win64\bin\vswhere.exe
│
│ We were looking for (but could not find) a file named like
│ libgurobiXXX.so, libgurobiXXX.dylib, or gurobiXXX.dll. You
│ should update your GUROBI_HOME environment variable to point to the
│ correct location.
└ @ Pkg.Operations D:\buildbot\worker\package_win32\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:892

@changd You need to set the GUROBI_HOME environment variable to point to wherever you installed Gurobi to. /Library/gurobi810/mac64 is just an example. It might be /Applications/Gurobi/mac64 or similar.
@dimili yes, you need matching bit versions of Julia and Gurobi.

Problem was solved, thanks for the response.


Deploy from only one job within a build matrix

I should also mention that you probably should not deploy from all of your jobs within a build matrix. It can lead to possible race conditions where deployment may fail unexpectedly.
Please see https://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on%3A

And make a notice about Carthage Prebuild Frameworks


fix: update storybook aws deployment

Check process.env.DS_ENV on viteFinal.
Use /ogcio-ds/ for Github pages else, default path /.

TODO: testing required.

@ianlnf Hello, I am Joao from RedHat, did a project 1 year ago for ogcio.
I keep receiving updates from the OGCIO repos, can you please remove me from the organization?


problems with function argument size in Mercury > 4K

Reported by chaarawi on 1 Jan 1970 00:23 UTC
Mercury does not detect when the function arguments or the response sent are bigger than NA_MPI_UNEXPECTED_SIZE.
Right now this value is 4K. If something larger than that is sent, mercury should detect that and preferably handle it transparently or with some hints from the user. The least preferable solution is to return an error when that happens.

Modified by jsoumagne on 1 Jan 1970 00:23 UTC


When shutdown is imminent, BEEPs should be emitted

It seems Fabomatic is not beeping in this scenario, whereas it beeps correctly at boot time.
Investigate and create a test case.

Tested in lab successfully


split window closes on match

Describe the bug
When opening a message in a split, e.g. highlights, if I search with /, once I press enter to match, the split closes
Which version of Neovim are you using?
0.9.0-dev
To Reproduce
Steps to reproduce the behavior:

Open a message on a split, e.g. highlights
Search something with /
Press ENTER

Expected Behavior
When I press ENTER, the text is matched and the split does not close.

Please provide a minimal.lua https://github.com/folke/noice.nvim/wiki/Minimal-`init.lua`-to-Reproduce-an-Issue.
close.events = {"BufLeave"} is only set by default for config.views.popup, not splits.
Splits only close on q.

I observed the same behaviour (using minimal.lua); in particular, however, only for splits that open invoking highlights/map/set functions.
I presume the reason is that such interfaces are not "searchable" even in standard (un-configured) vim, namely if you open the :highlight (likewise :map, :set) view and /, the search is not responsive (vim does not allow you to search those views). Perhaps the behaviour translates into Noice into the popup/split closing as / is an un-recognised key.

@gennaro-tedesco thank you for your comment. I can indeed reproduce it now with :hi.
Those views are definately searchable, nothing special about those buffers.
Will look into it

So the problem is that doing the search, actually clears the current active messages, which means the split will be cleared. Related to https://github.com/folke/noice.nvim/issues/164
That's something I'm planning to fix/change soon, but for now, the best easiest way to work around it, is doing :Noice last after for example :hi. That will open the last command in a popup where you can search


Some code and documentation improvements

I was playing with type hints and static code analysis (mypy, to be specific) and found some minor errors and inconsistencies in our code (and docstrings), so here are their corrections...

Hello @MikhailRyazanov! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file abel/__init__.py:

Line 28:1: E402 module level import not at top of file

@MikhailRyazanov - Neat!  I did not know about mypy. What is the mypy.ini file that you are using, if you do not mind sharing.

I've actually tried to make typing stub files for the whole PyAbel: https://github.com/MikhailRyazanov/PyAbel-stubs. I guess, it would be useful to incorporate them into PyAbel once they become usable enough... The mypy.ini for testing the stubs themselves is included there, but using them might be better with somewhat different options.

It is strange that Travis tests for Python 3 now fail with something typing-related, although I haven't done anything typing-related in this code. Searching the internets doesn't help much except that it might be related to a conflict between the apparently preinstalled dataclasses package (.../site-packages/dataclasses.py) with the built-in dataclasses (/usr/lib/python3.x/dataclasses.py). Let me try to uninstall it...

OK, uninstalling "dataclasses" on Travis helped indeed. Hopefully, soon they will correct this themselves (everything was working fine until recently)...

I know nothing about mypy, but these changes look great! Thanks Mikhail!

Thanks!
(I've actually noticed some additional strange things but forgot to mention them here because they need some further analysis and discussion. I'll open an issue later...)


Mistake in scalamock documentation

Hi, I found a little mistake in documentation’s quick-start chapter

I think that there are
extends Formatter

Instructions missing right after each 3 objects inside the Greeting object, aren’t they?
please, update the docs if I’m right or redirect the problem to the corresponding contributors. I’ve been facing this missing code segment for quite a long while

why is this issue closed without any comments and explanations?

it hasn't, see the link just above your comment


No longer works on MS Edge 126.0.2592.113

Hello,
Pardon me ignoring the bug report template, I believe it will be cleaner if I write this straight.
Since the last weeks I am no longer able to login to the extension. It keeps saying "Login with Twitch" and when I do, i get redirected to the oauth page and I get succesful message that I was logged in, yet the extension remains without session.

(it tells me to login in polish)
I am using MS Edge browser version 126.0.2592.113 as of now. What is worth mentioning is that I have the strictest security settings enabled, but seems like they dont make a difference.
I am not sure what might help with investigation, but this is what I have in the dev tools when i get redirected:

I am also on Edge so it shouldn't be a browser issue. My guess is that some of the extension's data currently stored is invalid, causing the popup to throw exceptions. Did you try to reset the extension (extension://aalmjfpohaedoddkobnibokclgeefamn/settings.html#/advanced) or reinstall the extension?

Well I was kind of surprised no one reported this so it is probably on my end as you said. I tried reinstalling but no success. Anyway I will try to solve it on my side, not to bother you here now that you confirm it works for you in Edge.

FYI @Seldszar removing this extension https://chromewebstore.google.com/detail/privacy-badger/pkehgijcmpdhfbdbbnkijodmdjhbjlgp solved the problem. Dunno why I havent tried that before. Thanks for your help anyway and sorry for redundant issue.

Thanks for finding the root cause and no problem about what you did, I'll investigate why this particular extension is causing issues.

Hi all!
If using Edge, you can work around the conflict by uninstalling Chrome Web Store's version of Privacy Badger and installing the version from the Edge store. The Edge store version is still on Manifest V2, and is not impacted by this MV3-only bug.

If not using Edge, could somebody check if moving the toggles for id.twitch.tv and api.twitch.tv to green in Privacy Badger's options works around the conflict? Thank you!

I just added api.twitch.tv to Privacy Badger's compatibility list of domains. This type of update takes up to 24 hours to reach all Privacy Badger installations.


breaks in IE if element is not present

If passed selector is not present in DOM, ofi triggers an error which stops execution of js in IE.
Documentation should give an advice here or maybe handle it inside ofi.

That doesn't seem to be the case

Or, if you pass an actual selector that doesn't match anything: http://jsbin.com/citiyofino/1/edit?js,console

Well, we just encountered that issue in IE9 / 10 using:
objectFitImages( $('.image-container img') );

Use objectFitImages('.image-container img'); no need for jQuery


Suggestion: GitHub readme for pre-requisite information

I think we should add the pre-requisite information in the GitHub readme. The readme only mentions to install SAM CLI, AWS CLI and docker as pre-reqs but does not provide the download links/instructions explicitly. So, I think, adding those links and instructions would help the users to successfully implement the github solution

Pre-requisite is on the end of README, as per SAM standard template. However, I'll move that section up and include a docker link. Other tools(SAM, CLI) are already documented.

Closed by 2cd07c55b62245b21392f3aa158dfba07d44f314


BulkInsert uses merge approach or insert one (with SetOutputIdentity set to false) without any clear criteria

Hello everyone!
First of all thank you for your great effort in this library!
I'm facing some issue in understanding how the BulkInsert method works, mostly because I see some incoherent behaviors between the code and the actual queries.
The problem I have is that in my application we use bulk insert operation for some background tasks which operates on different tables.
This is the code that should execute the bulk insert:
await dbContext.BulkInsertAsync(entities, cancellationToken: cancellationToken).ConfigureAwait(false)
While analyzing the different operation we could see that the same piece of code runs different queries and we don't understand the criteria.
For example we have some case where the query executed is a simple INSERT BULK INTO without the use of temp table
insert bulk [dbo].[Table] ([CreatedOn] DateTime, [CreatedBy_UserId] BigInt, [UpdatedOn] DateTime, [UpdatedBy_UserId] BigInt, [Lcid] Int, [Code] NVarChar(200) COLLATE SQL_Latin1_General_CP1_CI_AS, [Value] NVarChar(1000) COLLATE SQL_Latin1_General_CP1_CI_AS, [Key] UniqueIdentifier)

And other cases (with different table) where the used approach is the one of inserting data into a temp table and run a merge
insert bulk [dbo].[Table2Tempfc9eb42e] ([Id] BigInt, [CreatedBy_UserId] BigInt, [CreatedOn] DateTime, [DisplayName] NVarChar(500) COLLATE SQL_Latin1_General_CP1_CI_AS....)

[....]

MERGE [dbo].[Table2] WITH (HOLDLOCK) AS T USING (SELECT TOP 1000 * FROM [dbo].[Table2Tempfc9eb42e] ORDER BY [Id]) ....

I saw into the library code and I saw that the usage of the two operations should be decided based on the option SetOutputIdentity

In my case I would expect to always have the direct INSERT without the usage of the temp table and merge. I digged a little bit into the code and I couldn't find any point where SetOutputIdentity is forced to true.
Can you help me in understanding what I am missing? It would be very important for us in order to understand whether always use SetOutputIdentity=true or not.
Thanks a lot!

SetOutputIdentity is set in the background when using IncludeGraph or with BulkSaveChanges.


Koel does not start

I had issue with main.js not building (parse error), and I solved it by telling browserify to accept ".vue" extensions.
Now, I can php artisan serve, logged on the given port, and I get this in my console:
Failed to mount component: template or render function not defined. (found in anonymous component - use the "name" option for better debugging messages.))

warn() main-de790e1f37.js:21724
lifecycleMixin/Vue.prototype._mount() main-de790e1f37.js:20927
[193]</</Vue.prototype.$mount() main-de790e1f37.js:24159
init() main-de790e1f37.js:21184
createElm() main-de790e1f37.js:22683
patch() main-de790e1f37.js:23031
lifecycleMixin/Vue.prototype._update() main-de790e1f37.js:20954
lifecycleMixin/Vue.prototype._mount/vm._watcher<() main-de790e1f37.js:20933
get() main-de790e1f37.js:20116
Watcher() main-de790e1f37.js:20106
lifecycleMixin/Vue.prototype._mount() main-de790e1f37.js:20932
[193]</</Vue.prototype.$mount() main-de790e1f37.js:24159
initRender() main-de790e1f37.js:21387
initMixin/Vue.prototype._init() main-de790e1f37.js:21668
Vue() main-de790e1f37.js:21706
[197]<() main-de790e1f37.js:24350
s() main-de790e1f37.js:1
e()

Using latest git version (v3.1.1-dirty I guess, node v4.4.7), on Debian linux Jessie (followed the unofficial install guide), by the way, and run gulp (not with --production to get a better backtrace)
It would be better if the warn function threw an exception so I could analyze what failed with the debugger, but I can't set a breakpoint (althrough the main.js.map works fine, for source line mapping) on it, so I can't tell what component failed

See https://forum.vuejs.org/topic/4399/vue-2-0-vue-warn-failed-to-mount-component-template-or-render-function-not-defined-found-in-root-instance/3

Well, it does not work. I've tried many things:

If not using the require('laravel-elixir-vueify-next');trick in the gulpfile, browserify fails with a parse error (and I can't figure out how to capture the intermediate source from a browserify's transform)
If using the trick above, browserify works, but it seems no template are generated (should they ? and if so, where ?)
Using the former trick, plus changing "import Vue from "vue/dist/vue.js" does not make Koel to appear either (same error: can't find template)

While trying to understand this pile of cards, I figured out that: laravel-elixir-vueify-next only add vueify in the broswerify transform chain. It's already what's done in the original gulpfile.js, so I wondered why it does not work, and figured out I only needed to add vueify in the transform chain twice. This does not make sense at all, but without this, it fails somehow.
Can a generous soul where koel works, post its npm module list & node + npm version, because I'm very close to give up with this project... ?

laravel-elixir-vueify isn't needed. A clean npm install works for me – verified on every machine I have. What's your node/npm version, and on what OS?

Nevermind, I see you've posted the versions on the other issue. Please continue there.


[openblas] Revise, enable better cross builds

Validate usage by building executables in blas and openblas test ports.
Enable general cross builds.
Fix arm cross builds.
Revise uwp handling.
Generally, apply host CPU optimization also to other triplets for the same CPU and OS (e.g. for x64-linux-dynamic on x64-linux). For uwp, apply the windows host configuration (e.g. x64-uwp on x64-windows). Otherwise, or with dynamic-arch, use safe defaults for the deployment target.
NB:

Upstream's CMake build system is "experimental".
For MSVC, no optimized (assembler) kernel is used.

CC past port contributors @NickelWenzel @JAicewizard @JulZimmermann @daniel-ju @FabienPean-Virtonomy

Thanks for the improvements!


add ringOut mock

Coverage remained the same at 37.284% when pulling affb521af364d59f5e6ec1a1e60949904ee3cc8e on unadlib:add_IT into 5c9076c65d472deb692bbfa504b9a138055ec34e on ringcentral:master.

Something went wrong. Investigate!


[FP]: CVE-2020-36448 incorrectly detected on<EMAIL_ADDRESS>

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:cache_project:cache:2.9.1:*:*:*:*:*:*:*
CVE
CVE-2020-36448
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
5.3.0
Description
I have a Java / Maven project that's using<EMAIL_ADDRESS>Maven dependency check has flagged this as CVE-2020-36448 , but that's a Rust vuln, not a Java vuln. So I think this is a false positive.
I don't really see how the "cpe" matches the maven package here, so I don't understand how this has come about.
My dep tree to caffeine looks like this:
[INFO] +- io.dropwizard:dropwizard-jdbi3:jar:1.3.29:compile
[INFO] |  +- io.dropwizard:dropwizard-db:jar:1.3.29:compile
[INFO] |  |  \- org.apache.tomcat:tomcat-jdbc:jar:9.0.41:compile
[INFO] |  |     \- org.apache.tomcat:tomcat-juli:jar:9.0.41:compile
[INFO] |  +- org.jdbi:jdbi3-core:jar:3.18.0:compile
[INFO] |  |  +- org.antlr:antlr4-runtime:jar:4.7.2:compile
[INFO] |  |  +- io.leangen.geantyref:geantyref:jar:1.3.7:compile
[INFO] |  |  \- com.github.ben-manes.caffeine:caffeine:jar:2.9.1:compile

See also https://github.com/jeremylong/DependencyCheck/issues/3968 which looks similar
Your bot seems to have a problem with the pkg: url. Here's the linked URL from my report<EMAIL_ADDRESS>

@RichardBradley note that even at the time of your report 5.3.0 was already a very outdated version of DependencyCheck

Thanks, good point.
I can confirm that updating to DependencyCheck v7.2.1 has cleared this false positive, so I'll close this issue.
I was invoking with just:
mvn --batch-mode \
    -DfailBuildOnAnyVulnerability=true \
    -DsuppressionFiles=dependency-check-maven-suppressions.xml \
    compile \
    org.owasp:dependency-check-maven:check

... which was using the version found in ~/.m2, i.e. the version that was current when I first ran this on my machine.
I have fixed by changing this to:
mvn --batch-mode \
    -DfailBuildOnAnyVulnerability=true \
    -DsuppressionFiles=dependency-check-maven-suppressions.xml \
    compile \
    org.owasp:dependency-check-maven:LATEST:check

@RichardBradley that's likely because you have version 5.3.0 in your pom-file or one of it's parents, as maven would otherwise check the repository for the latest release. So make sure (if the project defining the version of the plugin is under active development) to also bump the version there.
The strategy we use in our company (not sure whether it would equally apply to your project) is to have a central parent pom <pluginManagement> use a property for the version.
Within that central parent pom we define its default value to the latest available version of DependencyCheck at the time of its release.
For the (local or CI/Buildserver) build one can override the version of DependencyCheck that will be used by setting that same property in the maven settings.xml (~/.m2/settings.xml).
By editing the central settings.xml in our CI we can make sure that all builds will run with the latest version we have accepted for our internal use (typically updated to the latest version soon after we've seen notice of its release and verified that it should not break our CI.
We have the central parent + CI server settings.xml configured such that during our CI builds dependency-check will always run as part of the verify phase, with a configured CVSS threshold that will fail the build, forcing the developers to triage the issue and either suppress or upgrade to get a passing build.
Developers on their local system can either run it explicitly on demand or add some further configuration in their settings.xml to always run it on verify (and they can use the same property to set the version to use for all of the local runs of dependency-check)

that's likely because you have version 5.3.0 in your pom-file or one of it's parents, as maven would otherwise check the repository for the latest release

I don't have dependency-check at any version referenced in any of my pom files; I was solely invoking it from command-line mvn by name. It appears that in that usage, mvn will use a version you already have in ~/.m2 without checking for updates.


Noob help changing the primary color

I want to change the primary color. I found the _default-theme.scss in the core folder, I tried to use sass to compile it, even after changing the name and compiling it produced an empty file. I feel like I'm doing this wrong, what is the correct way to set the primary color pallete?
Thanks,
Nate

I don't know if this is the right way (maybe I misinterpreted someone saying that this _default-theme thing is just for upcoming theming) but the first thing working for me was changing the styles in the component (for example there are styled in the toolbar.js) so I just replaced the color code for the whole solution
If I did it wrong and there is something else, let me know

https://github.com/angular/material2/issues/724

This is tracked via #123
We currently don't have a way for the end-user to customize the theme; this will be coming before beta.

So, again, what is the suggested way to change primary color or adjust material theme?
I saw this doc https://github.com/angular/material2/blob/master/docs/scss-theming.md  but it doesn't tells me what to do actually

We unfortunately don't have user-controlled theming available yet at this
point in the alpha. It will be coming before we get to a beta stage.
On Wed, Jul 13, 2016 at 2:00 PM, Alex Sorokoletov<EMAIL_ADDRESS>wrote:

So, again, what is the suggested way to change primary color or adjust
material theme?
I saw this doc
https://github.com/angular/material2/blob/master/docs/scss-theming.md but
it doesn't tells me what to do actually
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/angular/material2/issues/736#issuecomment-232485161,
or mute the thread
https://github.com/notifications/unsubscribe/AAzMUFf5zK-BHVO17KNUzBZjoXnUcOBsks5qVVIFgaJpZM4I7G8L
.

@alexsorokoletov (I'm not part of material2 team;) ) as a temporary workaround you could fork material, modify _default-theme.scss and replace you npm dependency from material2-core to your own version...
But let me be clear this is bad idea and I'm not even sur it would work ;)

Thanks guys. I've heard similar solution from other person. As for now I reference Palette and theming functions in app component scss and add styles I need there. For toolbar this worked nice, but looking at button makes me dizzy :)


Moved Sync Gateway JSON config files from repo root directory into /s…

Moved Sync Gateway JSON config files from repo root directory into /src directory as per:
https://issues.couchbase.com/browse/DEVADV-1734

@biozal
Hi Aaron, this PR is ready for your review.
Thanks!


Feature Request:  Pre-Rolls based on folder

So currently with Pre-rolls we have to give the path and every file name.
Example: /Media/PreRoll/PreRoll01.mp4;/Media/PreRoll/PreRoll02.mp4;/Media/PreRoll/PreRoll03.mp4;/Media/PreRoll/PreRoll04.mp4;
Would be nice if we had an option to just specify a path and it would generate the list from all file in that folder (But not sub folders)
Example: /Media/PreRoll/
That would grab the files in that folder and generate the list like in the first example and adding the ; between each file.
This way we could add or remove files from folders without having to edit the file each time.
Yet leave the ability for use to still have the file names also.
Maybe something like this:
  DEC change preroll:
    build_collection: false
    server_preroll:
    sever_preroll_folder:
    schedule: range(12/01-12/31)

if the server_preroll is filled in skip the server_preroll_folder, if the server_preroll is empty then use the server_preroll_folder, if both are empty skip this preroll collection.

  DEC change preroll:
    build_collection: false
    server_preroll:  /Media/PreRoll//DEC/PreRoll01.mp4; /Media/PreRoll/DEC/PreRoll02.mp4;
/Media/PreRoll/DEC/PreRoll03.mp4; /Media/PreRoll/DEC/PreRoll04.mp4;
    sever_preroll_folder:
    schedule: range(12/01-12/31)

VS

  DEC change preroll:
    build_collection: false
    server_preroll:
    sever_preroll_folder: /Media/PreRoll/DEC
    schedule: range(12/01-12/31)

see the problem with this is that PMM doesn't need access to those files or that directory and most likely cannot see that directory which is why all i can do is update the string.


Flickering when typing

Describe the bug
Sometimes the vertical line dissapears and after few milliseconds comes back again.
Timestamps of video when this occurs:

00:11
00:15
00:19
00:26

https://user-images.githubusercontent.com/34353640/114551068-2f0cde80-9c63-11eb-8459-98d8731b672a.mp4
To Reproduce
Vim config: https://github.com/gbaranski/dotfiles/tree/master/dot_config/nvim
Initializing gitsigns: https://github.com/gbaranski/dotfiles/blob/369481c7461a48c6b1c6bdd53c47acba592d8497/dot_config/nvim/lua/plugins.lua#L30
Steps to reproduce the behavior:

Run my config
Open some file
Spam enter to make new lines

Observed output
Include the output of :lua require('gitsigns').debug_messages().
I've received:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'debug_messages' (a nil value)

Additional context
System: Arch Linux
Neovim version: NVIM v0.5.0-dev+1243-g4a36ec6da
Terminal emulator: Alacritty

Include the output of :lua require('gitsigns').debug_messages().
I've received:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'debug_messages' (a nil value)

You need to set debug_mode = true in your config. I need to update the issue template to explain this.

Also the MP4 file says it is corrupt.

Also the MP4 file says it is corrupt.

Here is fixed video(you must open fullscreen to see the git signs)
https://user-images.githubusercontent.com/34353640/114564595-bdd42800-9c70-11eb-8dec-836f96aa61e9.mp4

Include the output of :lua require('gitsigns').debug_messages().
I've received:
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'debug_messages' (a nil value)

You need to set debug_mode = true in your config. I need to update the issue template to explain this.

It keeps saying this a lot of times
run_job: git --no-pager --git-dir=/home/gbaranski/code/houseflow/.git show :0:lighthouse/src/tcp_server.rs
update(3): updates: 327, jobs: 331

Try setting _refresh_staged_on_update = false. That'll stop it running git show on every edit.

_refresh_staged_on_update = false

Awesome, that works, thanks :D

Great! Just be wary that the config field is experimental and will be changed/removed at some point. You may also encounter some issue with it enable (hopefully not) but please raise an issue if you do.

Maybe try increasing update_debounce or maybe setting use_decoration_api=false


Signing errors on used iOS pods after Xcode 14 upgrade

Since I upgraded to Xcode 14, my Flutter project doesn't run because of Signing issues of iOS pods
Error:
Could not build the precompiled application for the device.
Error (Xcode): Signing for "DKPhotoGallery-DKPhotoGallery" requires a development team. Select a development team in the Signing & Capabilities editor.
{path to project folder}/ios/Pods/Pods.xcodeproj

Error (Xcode): Signing for "DKImagePickerController-DKImagePickerController" requires a development team. Select a development team in the Signing & Capabilities editor.
{path to project folder}/ios/Pods/Pods.xcodeproj

Error (Xcode): Signing for "TOCropViewController-TOCropViewControllerBundle" requires a development team. Select a development team in the Signing & Capabilities editor.
{path to project folder}/ios/Pods/Pods.xcodeproj

My project's dependencies (to reproduce the problem, the error is from one of these dependencies and the corresponding iOS Pod):

dependencies:
  flutter:
    sdk: flutter

  # TODO: Switch back to main package when this is merged: https://github.com/jhomlala/betterplayer/pull/1059
  better_player:
    git:
      url: https://github.com/matthewrice345/betterplayer.git
      ref: Issue1057
  blur: 3.1.0
  bugsnag_flutter: 2.2.0
  cached_network_image: 3.2.2
  connectivity_plus: 2.3.6+1
  # Needed for tus_client
  cross_file: 0.3.3+1
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: 1.0.5
  device_info_plus: 4.1.2
  dio: 4.0.6
  easy_localization: 3.0.1
  expandable: 5.0.1
  fading_edge_scrollview: 3.0.0
  faker: 2.0.0
  file_picker: 5.0.1
  firebase_analytics: 9.3.4
  firebase_core: 1.22.0
  firebase_messaging: 13.0.1
  flare_flutter: 3.0.2
  flinq: 2.0.2
  flutter_app_badger: 1.4.0
  flutter_facebook_auth: 4.4.1
  flutter_inappwebview: 5.4.3+7
  flutter_keyboard_visibility: 5.3.0
  flutter_local_notifications: 9.9.1
  flutter_polygon_clipper: 1.0.4
  flutter_slidable: 2.0.0
  flutter_spinkit: 5.1.0
  flutter_staggered_grid_view: 0.6.2
  flutter_svg: 1.1.5
  fluttertoast: 8.0.9
  font_awesome_flutter: 10.2.1
  form_field_validator: 1.1.0
  google_maps_flutter: 2.2.0
  html: 0.15.0
  html_unescape: 2.0.0
  http: 0.13.5
  http_parser: 4.0.1
  image_cropper: 3.0.0
  image_downloader: 0.31.0
  image_picker: 0.8.5+3
  intl: 0.17.0
  json_annotation: 4.6.0
  jwt_decoder: 2.0.1
  mime: 1.0.2
  # TODO: Remove this dependency if it is added to the Flutter core: https://github.com/flutter/flutter/pull/67515
  modal_bottom_sheet: 2.1.2
  # Version checking
  package_info_plus: 1.4.3+1
  path: 1.8.2
  path_provider: 2.0.11
  percent_indicator: 4.2.2
  photo_view: 0.14.0
  pin_code_fields: 7.4.0
  provider: 6.0.3
  pusher_client:
    git:
      url: https://github.com/appcapsergen/pusher_client
  scroll_to_index: 3.0.1
  shared_preferences: 2.0.15
  shimmer: 2.0.0
  sign_in_with_apple: 4.1.0
  timeago: 3.3.0
  tus_client: 1.0.2
  uni_links: 0.5.1
  url_launcher: 6.1.5
  uuid: 3.0.6
  video_player: 2.4.7

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_launcher_icons: 0.10.0
  json_serializable: 6.3.1
  linter: 1.28.0

flutter doctor -v:

[✓] Flutter (Channel stable, 3.3.1, on macOS 12.6 21G115 darwin-arm, locale en-NL)
    • Flutter version 3.3.1 on channel stable at {path to Flutter folder}
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4f9d92fbbd (7 days ago), 2022-09-06 17:54:53 -0700
    • Engine revision 3efdf03e73
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/{user}/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Users/{user}/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • 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 /Users/{user}/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/{user}/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/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)

[✓] VS Code (version 1.71.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

For me selecting the team for every error on Xcode actually working. After selecting I can just run flutter using Android Studio.

Just realised, if you call pod install again the team will be unselected again. There's this method tho

@uzuki-P These solutions don't work with CI tools and multiple Teams for (multiple app flavors)

Same issue here.

Happens to me after Xcode 14, for it to function I have to select my teams. Also happens every time I run pod install

+1

Hi @appcapsergen @uzuki-P @armandojimenez @vasscher  and anyone else experiencing this, please provide a complete minimal sample along with steps to reproduce so that we can investigate this.
Please also provide the output of flutter doctor -v as well.
Thank you

same issue after upgrading to Xcode 14

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.6 21G115 darwin-arm, locale en-NP)
• Flutter version 2.10.5 at /Users/kodega/fvm/versions/2.10.5
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (5 months ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/kodega/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = /Users/kodega/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)
• Xcode at /Applications/Xcode.app/Contents/Developer
• 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 Ultimate Edition (version 2022.1)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 69.0.4
• Dart plugin version 221.5588
[✓] VS Code (version 1.71.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.48.0
[✓] Connected device (2 available)
• macOS (desktop) • macos  • darwin-arm64   • macOS 12.6 21G115 darwin-arm
• Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.102
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

I fixed it by this method.
https://github.com/TimOliver/TOCropViewController/issues/533#issuecomment-1245332415

Hi @danagbemava-nc ! I added the flutter doctor -v to the issue.
The steps to reproduce, however, are simply to implement my dependencies into a Flutter project and installing them for iOS. If you then try to run, it throws that error.
I did not change anything in my project and it worked before, but since I only upgraded my project to Xcode 14, this error occurs.
Hope that helps!

@danagbemava-nc
this is the minimal sample
the only thing I add is file_picker package
https://github.com/uzuki-P/pod_sign_error_xcode_14

You can disable code signing from podfile for all dependencies.
post_install do |installer|     installer.pods_project.targets.each do |target|       target.build_configurations.each do |config|         config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""         config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"         config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"        end     end   end

Hi @appcapsergen  @uzuki-P, what command do you run or action do you perform that results in the signing errors?

@danagbemava-nc running on an iOS device, aka flutter run

@appcapsergen thanks for the info and @uzuki-P, thanks for the repro.
I think these issues should be reported in the repos of the respective plugins.
I tested some of the first_party plugins, (file_selector, image_picker, video_player, and in_app_purchase) but I was not able to reproduce the issue with them. I was however, able to reproduce the issue with the file_picker plugin which might mean that there is an issue with how they are doing their implementation.
I'm still making my way through the first_party plugins and will update when I am done.

@appcapsergen
I believe google_sign_in also have problem with it
also a module with that blue icon. I never develop iOS natively before, don't know what it's called

Same issue here with google_sign_in after xcode 14 upgrade

Yes, during my testing of the first-party plugins I run into this issue with google_sign_in. google_sign_in depends on the GoogleSignInIOS native plugin so I went to the repo to see if there are reports of this. See https://github.com/google/GoogleSignIn-iOS/issues/105 This has been an issue since the beta version of Xcode 14 was released.
This StackOverflow comment seems to summarise the issue and workaround quite well https://stackoverflow.com/a/39949186.
This issue most likely has to be fixed by the cocoapods team but for now, I will label for further insight from the tool team.
The original issue tracking this on cocoapods can be found at https://github.com/CocoaPods/CocoaPods/issues/11402.
Steps to reproduce

Be on Xcode 14
flutter create bug
flutter pub add google_sign_in
Select dev team in xcode
flutter run on a physical device

flutter_run.log

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.1, on macOS 12.6 21G115 darwin-arm, locale en-GB)
    • Flutter version 3.3.1 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4f9d92fbbd (8 days ago), 2022-09-06 17:54:53 -0700
    • Engine revision 3efdf03e73
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • 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)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)

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

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 16.0 20A362
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

[✓] Flutter (Channel master, 3.4.0-19.0.pre.272, on macOS 12.6 21G115 darwin-arm64, locale en-GB)
    • Flutter version 3.4.0-19.0.pre.272 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2262892e3b (2 hours ago), 2022-09-15 00:44:22 -0400
    • Engine revision 63cc5ea2b1
    • Dart version 2.19.0 (build 2.19.0-201.0.dev)
    • DevTools version 2.17.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • 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)

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526/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)

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

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 16.0 20A362
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

The exact workarounds should be https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1149585364 and https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1188774894.

I wonder why I've never seen this locally or in CI in all the months I've been testing the Xcode 14 betas...

I wonder why I've never seen this in CI

It's because we pass in CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGNING_IDENTITY="" most places, at least in the framework.

The exact workarounds should be CocoaPods/CocoaPods#11402 (comment) and CocoaPods/CocoaPods#11402 (comment).

This works like a charm. Thank you!

iOS PR out for review at https://github.com/flutter/flutter/pull/111714.  Still need to do macOS.
In the meantime you can workaround this issue until Xcode releases a fix for this, or CocoaPods adds a similar workaround:

Open ios/Podfile
Replace the following:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

+   # Workaround https://github.com/flutter/flutter/issues/111475.
+   target_is_resource_bundle = target.respond_to?(:product_type) && target.product_type == 'com.apple.product-type.bundle'
+   target.build_configurations.each do |build_configuration|
+     if target_is_resource_bundle
+       build_configuration.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
+       build_configuration.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
+       build_configuration.build_settings['CODE_SIGNING_IDENTITY'] = '-'
+       build_configuration.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = '-'
+     end
+   end
  end
end

macOS workaround looks similar:

Open macos/Podfile
Replace the following:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_macos_build_settings(target)

+   # Workaround https://github.com/flutter/flutter/issues/111475.
+   target_is_resource_bundle = target.respond_to?(:product_type) && target.product_type == 'com.apple.product-type.bundle'
+   target.build_configurations.each do |build_configuration|
+     if target_is_resource_bundle
+       build_configuration.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
+       build_configuration.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
+       build_configuration.build_settings['CODE_SIGNING_IDENTITY'] = '-'
+       build_configuration.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = '-'
+     end
+   end
  end
end

My workaround turns off codesigning the resource bundles (images, localization files, etc) as opposed to setting DEVELOPMENT_TEAM, which would codesign them.
Can anyone confirm that my posted workarounds work when you validate/submit your app?

My workaround turns off codesigning the resource bundles (images, localization files, etc) as opposed to setting DEVELOPMENT_TEAM, which would codesign them.
Can anyone confirm that my posted workarounds work when you validate/submit your app?

I used this workaround and the build was accepted by TestFlight, so I imagine your more robust version will work as well 🙂

@maxlapides I'm not sure if that's correct either, I believe the frameworks should be codesigned in your app, only com.apple.product-type.bundle should not be codesigned.

@maxlapides I'm not sure if that's correct either, I believe the frameworks should be codesigned in your app, only com.apple.product-type.bundle should not be codesigned.

Meaning, are you sure it doesn't crash at runtime?

I wonder why I've never seen this in CI

It's because we pass in CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGNING_IDENTITY="" and --no-codesign in most places in CI since we don't have certs set up.

Filed https://github.com/flutter/flutter/issues/111760

#111714 has merged to master. Can someone confirm that their app builds and runs on master with codesigning on, without any workaround in your Podfile?

Particularly want to validate the App Store submission doesn't complain:

If we actually have to codesign this by parsing the DEVELOPMENT_TEAM and not skip codesigning this is going to be an extremely tricky workaround on Flutter's end...

@jmagman I did not pull master but I did the changes outlined in https://github.com/flutter/flutter/issues/111475#issuecomment-1249615346 while using flutter_file_picker and can confirm that I was successfully able to submit a build for both iOS and macOS without any processing errors. Can also confirm that the functionality continues to work throughout the application on both platforms.

Thank you so much, @JagandeepBrar!

After upgrading to Xcode 14, I got these errors messages when I try build/run my project on Mac:
Android studio -> Build -> Flutter -> Build iOS
shared_preferences: ^2.0.15
Flutter version: 3.3.2
Note that everything were working without any problem before the upgrading
Automatically signing iOS for device deployment using specified development team in Xcode project: 65456KJ35R
Running Xcode build...
Xcode build done.                                           18.4s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    Writing result bundle at path:
    	/var/folders/cc/3b8b8j7s3nd92qwt4_6zgzhh0000gn/T/flutter_tools.DBua0Q/flutter_ios_build_temp_dirdSTTIY/temporary_xcresult_bundle

    /Users/test/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.m:27:41: error: no type or protocol named 'FlutterPluginRegistrar'
    + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar {
                                            ^
    /Users/test/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.m:29:34: error: property 'messenger' not found on object of type 'NSObject *'
      UserDefaultsApiSetup(registrar.messenger, plugin);
                                     ^
    3 errors generated.
    Command SwiftCompile failed with a nonzero exit code
    note: Building targets in dependency order
    warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
    warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')

    Result bundle written to path:
    	/var/folders/cc/3b8b8j7s3nd92qwt4_6zgzhh0000gn/T/flutter_tools.DBua0Q/flutter_ios_build_temp_dirdSTTIY/temporary_xcresult_bundle

Generics Issue (Xcode): No type or protocol named 'FlutterPlugin'
/Users/test/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.h:5:50

Generics Issue (Xcode): No type or protocol named 'FlutterPluginRegistrar'
/Users/test/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.m:26:40

Semantic Issue (Xcode): Property 'messenger' not found on object of type 'NSObject *'
/Users/test/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.1/ios/Classes/FLTSharedPreferencesPlugin.m:28:33

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

Encountered error while building for device.
Process finished with exit code 1

Note that everything were working without any problem before the upgrading

@blue492 Please submit separate issues to track this, thanks.

Im also getting the same issues. currently I am signing these pods with my development team certificates.
What should be the proper resolution?
Error (Xcode): Signing for "DKImagePickerController-DKImagePickerController" requires a development team. Select a development team in the Signing & Capabilities editor.
/Users/akashgkrishnan/Documents/pyjamahr/ios/Pods/Pods.xcodeproj

Error (Xcode): Signing for "DKPhotoGallery-DKPhotoGallery" requires a development team. Select a development team in the Signing & Capabilities editor.
/Users/akashgkrishnan/Documents/pyjamahr/ios/Pods/Pods.xcodeproj

Error (Xcode): Signing for "GoogleSignIn-GoogleSignIn" requires a development team. Select a development team in the Signing & Capabilities editor.
/Users/akashgkrishnan/Documents/pyjamahr/ios/Pods/Pods.xcodeproj

Encountered error while archiving for device.

This fix is now available in Flutter 3.3, and you may remove any build setting workarounds you've added to your Podfile.
Thank you for your patience!

build setting workarounds

I could not build my project with Flutter 3.3 Without the  build setting workarounds in podfile. I got a build issue with connectivity_plus package. So I keep it for now

He meant 3.3.3 and i can confirm that it works!

meant 3.3.3 and i can confirm that it works!

I did, thanks.

[Solved] Select a development team in the Signing & Capabilities editor

I still got the issue with 3.3.6 but for

@oscarshaitan please file a new issue and completely fill out the template.


how this project achieves mouse wheel scaling？

Hello, thank you very much for your work,
I want to control the display range. I would like to ask how this project achieves mouse wheel scaling, left mouse button or keyboard up, down, left and right keys to control rotation, and right mouse button or WASD keys to control position movement. (Example as shown in the figure)
As a beginner, I cannot find the corresponding code.
Can you tell me what the relevant code is so that I can modify it? Thank you?

Hi! You can find it in CameraControls.tsx: https://github.com/nerfstudio-project/viser/blob/main/src/viser/client/src/CameraControls.tsx

Thank you very much. Specifically, I want to implement my features in the new version of the viewer in nerfstudio,
But there is no CameraControls.tsx in nerfstudio.
Can you tell me the code in nerfstudio that controls this feature?
By the way, I have a question about Crop scale. Do you have time to take a look at this issue?
https://github.com/nerfstudio-project/nerfstudio/issues/1606

The latest version of nerfstudio just uses viser as a dependency, so if you make a change to viser (eg a clone of it that you do an editable install of with pip install -e .) it should be reflected there!
Other issue: will take a look and respond in the other repo.

It seems that Viser can only be installed on Linux (pip install - e.) and cannot be installed on Win10?
This is my experimental procedure, do I understand correctly?
I should have installed nerfstudio properly
Then pip uninstall viser
And then git clone https://github.com/nerfstudio-project/viser.git
cd/ viser
Pip install - e
Find viser/blob/main/src/visitor/client/src/CameraControls.tsx and modify CameraControls.tsx
Run ns-viewer –load-config data/path in nerfstudio
I will be able to control the range of the scroll wheel.


Use NT shared handles for Vulkan interop on Windows

Apparently that's required for Intel and nVidia GPUs

You can test this PR using the following package version. 11.0.999-cibuild0029935-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0029964-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]


Can mount Red dots to M4 Carry Handles

General information:
Project issue is for:
SPT AKI (3.8.0) Bleeding Edge Test
Expected result:
Not be able to mount a red dot to an M4 Carry Handle
Actual result:
Was able to mount a red dot to an M4 carry handle
How to reproduce:

Take a PK-06 and attach it to a carry handle.
Go into weapon modding and add a mounting plate for a red dot.

Screenshots:
https://cdn.discordapp.com/attachments/1203053345527300176/1204287003169136651/image.png?ex=65d42eac&is=65c1b9ac&hm=f51d11492bc7620ea153fefe4ee89de088183cded4fbbdbf2d634ec926bafa0d&
Provided by All_Heil_lord_pepe: https://cdn.discordapp.com/attachments/1203053345527300176/1204290471283789834/image.png?ex=65d431e6&is=65c1bce6&hm=4de28a0109f5e1d04aeff82a393754c259aa4f7d31749d3edbd16eba7ed4bfb6&

Attachments

LogOutput.log (62 KiB)
2024.02.06_4-31-39_<IP_ADDRESS>.28476 traces.log (471 KiB)

Originally written by shadowsoze

Tested and confirmed as an issue on live

Attachments

image.png (5093 KiB)

Originally written by DrakiaXYZ


Fully implement AXON chain endpoint

Summary
The Axon Chain Endpoint interface isn't implemented well, we missing the verification and some interface are unimplemented.
Details
All interfaces are located in crates/relayer/src/chain/axon.rs
Lack of proof

[ ] query_client_state
[ ] query_consensus_state
[ ] query_connection
[ ] query_channel
[ ] query_packet_commitment
[ ] query_packet_receipt
[ ] query_packet_acknowledgement
[ ] query_next_sequence_receive
[ ] build_connection_proofs_and_client_state

Just unused interfaces

[ ] query_upgraded_client_state
[ ] query_upgraded_consensus_state
[ ] query_txs
[ ] verify_header
[ ] check_misbehaviour

required contract support

[ ] ibc_version
[ ] query_balance
[ ] query_all_balances
[ ] query_denom_trace

Problem Definition
We have some unimplemented interface in Axon chain endpoint.
Proposal
Fully implement the Axon chain endpoint.
Acceptance Criteria
The supervisor module shouldn't output any error logs. And verification on Axon side should be enabled.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Duplicated with https://github.com/synapseweb3/forcerelay/issues/164


Unable to Run Tests one after another - once i run first tests which login  but  again for second going to login

import { Selector } from 'testcafe';

fixture `Mul Release Testing`
    .page `https://portalweb/p99ls9-val/configuration`

    test('login', async t => {

        await t
            .typeText(Selector('#_58_login'), 'me_portal')
            .pressKey('tab')
            .typeText(Selector('#_58_password'), 'Newuser005')
            .click(Selector('.aui-button-input.aui-button-input-submit'))
            .wait(1000)
            .click(Selector('#image-1021'))
    });

    test
    ('Number Create', async t => {
    await t
        .click(Selector('#addToolbar-btnInnerEl'))
        .typeText(Selector('#number-inputEl'), 'AUTOMATION_CAFE_STD_001')
        .typeText(Selector('#projId-inputEl'), 'SQA')
        .click(Selector('.x-boundlist-item.x-boundlist-item-over'))
        .expect(Selector('#number-inputEl').value).eql("AUTOMATION_CAFE_STD_001")

        });

in the above code second test will not be not executed as it logges out and again goes back to login page.
any suggestion what needs to be done to solve this.

Please checkout the documentation:
https://devexpress.github.io/testcafe/documentation/how-it-works/#isolated-tests

Each test starts with a clean browser state. Cookies and storages are reset, an empty user profile is used, and the tested page is reloaded.

You can use the user roles API to log in to each test.

I'm experiencing the same issue with user roles - Initially it logs in, then when another test is executed it logs out and forces another login. It seems everything is cleared down - cache, tokens, etc.
In my userRoles.ts file, I have the following:
export const adminUser = Role(https://companyDomain.eu.auth0.com/login/', async t => {
    await t
        .typeText(**login**.username<EMAIL_ADDRESS>        .typeText(**login**.password, 'password!!')
        .click(**login**.Submit)
        .expect(**login**.logo.hasAttribute("src")).ok("Unable to login")
        .wait(10000);
}, { preserveUrl: true });

Where login is a page object defining the locators.
The following are my tests:

fixture(`Checking some logins`).page('https://https://companyDomain.eu.auth0.com')
                                        .beforeEach( async t=>
{

                                            await t.useRole(adminUser);
    t.ctx.workspace = await home.AddWorkspace();
                                          await t.ctx.workspace.ClickMenuItem()

})

test('Checking Layout', async t=>
{
 // Logic to do some checking
})

test('Running Filters', async t=>
{
 // Assumption is while preserveUrl: true, all cache, and tokens will be saved so no need to login again so that I can continue
// testing on the same page

})

I have the following currently installed:
"testcafe": "^1.9.0-alpha.2" (This version was recommended after a fix was made to UserRoles.)
<EMAIL_ADDRESS>and our login page is handled by Auth0

Hi @yorkshireflatcap,
I cannot reproduce your authentication scenario using the github.com site.
Please check the Troubleshooting section in our docs.

so no need to login again so that I can continue testing on the same page

I assume that you actually need to use the disablePageReloads feature. It will help you force your tests to stay on the same page and prevent its state from cleaning. Otherwise, each TestCafe test will start from a clean state by default.
To get more information about this experimental feature and an example of its usage, please navigate to the answer.
If this doesn't help, please share a reproducible example so that we can investigate it and fix the problem. Feel free to create a separate issue with an example illustrating it. Alternatively, you can use our<EMAIL_ADDRESS>mailbox to share private information with us.


r

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

Repro steps.

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

Closing as this seems like it was opened by accident.


feat(tournament): use buefy table component

:tada: This PR is included in version 1.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Expose planHelper.lua

All of the availablePlansFor<x>Objects should be exposed. Additionally, please expose the local data where you define per-asset things.
For example:
local huntPlanInfosByObjectType = {
    [gameObject.types.chicken.index] = basicHuntingInfo,
    [gameObject.types.alpaca.index] = spearHuntingInfo,
    [gameObject.types.mammoth.index] = spearHuntingInfo
}

This needs to be exposed so I can add my custom mob here.

fixed in b20


Missing controller lifecycle and sharing information

Are controller instances created in every request, or are they reused (i.e. shared by different requests)?
If reused, are they singleton, i.e. supposed to be thread-safe? Or are they pooled and reused only when the previous request is fully finished?
This information is critical to designing controller classes.
If the application can choose among the above options, such as providing a custom factory/provider for controller instances, then the documentation should state where this customization can be done and what is the default behavior if there is no such customization.

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

ID: b391017f-25e1-d5e1-c4f7-020408ade7b5
Version Independent ID: 263a7b64-2e42-bbfc-c1d3-61680438e1e4
Content: Create web APIs with ASP.NET Core
Content Source: aspnetcore/web-api/index.md
Product: aspnet-core
Technology: aspnetcore-webapi
GitHub Login: @tdykstra
Microsoft Alias: riande

Associated WorkItem - 86705

@msfcolombo
controllers wouldn't work with a singleton lifetime, they have request specific fields like HttpContext
controllers are transient, they are not meant to be reused


embedding/openai: fix method-dependent embedding discrepancy

For #356
PR Checklist

[x] Read the Contributing documentation.
[x] Read the Code of conduct documentation.
[x] Name your Pull Request title clearly, concisely, and prefixed with the name of the primarily affected package you changed according to Good commit messages (such as memory: add interfaces for X, Y or util: add whizzbang helpers).
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. Fixes #123).
[x] Describes the source of new concepts.
[x] References existing implementations as appropriate.
[x] Passes all golangci-lint checks.

Thanks for your contribution!


Parsing and linting inline OpenAPI documentation

Hi
Firstly, thank you for the effort and making this plugin available.
We hope to be able to use this plugin to help with documenting our projects.
We prefer writing inline comments right next to the elements (endpoints, schemas etc.) for our work.
Is there a way to enable the linter to parse and lint the inline comments?

Do you mean some kind of code annotations? I think that would depend on the language and annotation framework, It's something to look into.

Not exactly.
My understanding has been that the linter relies on looking at the extension of the file for linting.
So a .json file which has the OpenAPI documentation work properly.

However I have my OpenAPI documented defined in the source javascript itself (right above the implementation).
Our team likes that both implementation and documentation are right next to each other and helps us keep the documentation updated.

Is there any way to get the linter to lint the documentation identified under the @swagger identifier?

No, unfortunately, linting or validating fragments of OpenAPI definitions within comments / code-annotations is out of scope for this project.


🐛 [Bug]: Modal弹框关闭按钮样式有问题

Version
latest
Vue Version
latest
Link to minimal reproduction
https://vue-devui.github.io/components/modal/
Step to reproduce

What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response

这个 我想试试修复一下

Fixed by @Husky-Yellow on #928


Update private endpoint DNS list to include new zone for Postgres Flexible server

Update private endpoint DNS list to include new zone for Postgres Flexible server

@AbdullahBell
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off