[1.12] "Push multiple items" resulting in "internal error"

Forge version: 2443
I've been attempting to create a recursive autocrafting system with RFTools control similar to the one here, but when I run it, I get "internal error" where "push multiple items" should run, and the crafting ingredients are stuck inside the processor.
Is there a way to resolve this?

Upon further inspection, this might be very slightly related to #105 — when trying the autocraft program, I can push one, and only one, item into the workbench for crafting; attempting to push any more results in the "internal error". I can successfully autocraft 1x1 recipes, but I cannot autocraft anything else.

Can I see your program? (do ctrl-c in the programmer and paste it somewhere)


add example of OnewayProducer and ScheduledMessage

The issue tracker is ONLY used for bug report(feature request need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.
Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration and other improvements.
Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as the following:

Please describe the issue you observed:

What did you do (The steps to reproduce)?
add the example for OnewayProducer and ScheduledMessageConsumer.

pls link a PR

pls link a PR

i find if the cl failed, then the link is failed....
the pr is https://github.com/apache/rocketmq/pull/3053
i will fix it soon
thanks:)


[PROPOSAL][SPARK] Ability to produce a generic facet to get environment information.

Below are some of the examples Databricks properties which facet should contain:

"orgId"
"spark.databricks.clusterUsageTags.clusterOwnerOrgId"
"spark.databricks.notebook.path"
"spark.databricks.job.type"
"spark.databricks.job.id"
"spark.databricks.job.runId"
"user"
"userId"
"spark.databricks.clusterUsageTags.clusterName"
"spark.databricks.clusterUsageTags.azureSubscriptionId"

Implementation
Create a new Facet class called as EnvironmentFacet
public class EnvironmentFacet extends OpenLineage.DefaultRunFacet {
    @JsonProperty("environment-properties")
    private HashMap<String, Object> properties;

    public EnvironmentFacet(HashMap<String, Object> environmentDetails) {
        super(OpenLineageClient.OPEN_LINEAGE_CLIENT_URI);
        this.properties = environmentDetails;
    }
}

Add Method in OpenLineageSparkListener.java which will run on onJobStart to collect information about Databricks environment.
To achieve this we will need to introduce a new property in SparkSQLExecutionContext.
public HashMap<String, Object> EnvironmentProperties;

this property will be initialize in OpenLineageSparkListener in sparkSQLExecStart() and get value from getDatabricksEnvironmentalAttributes()
private HashMap<String, Object> getDatabricksEnvironmentalAttributes(SparkListenerJobStart jobStart){
  dbProperties = new HashMap<>();
  List<String> dbPropertiesKeys = Arrays.asList(
          "orgId",
          "spark.databricks.clusterUsageTags.clusterOwnerOrgId",
          "spark.databricks.notebook.path",
          "spark.databricks.job.type",
          "spark.databricks.job.id",
          "spark.databricks.job.runId",
          "user",
          "userId",
          "spark.databricks.clusterUsageTags.clusterName",
          "spark.databricks.clusterUsageTags.azureSubscriptionId"
  );

  dbPropertiesKeys.stream().forEach((p) -> {
    dbProperties.put(p,jobStart.properties().getProperty(p));
  });

  return dbProperties;
}

After the execution in sparkSQLExecutionContext class inside Start and End event, EnvironmentProperties will be added to event JSON.
new SimpleImmutableEntry("environment_properties", environmentFacet),

@harishsune shouldn't this be specific custom DatabricksEnvironmentRunFacet?
Generic (standarized) facets should be created for properties that are generalized over multiple systems, compared to specific improvements for one system.

this property will be initialize in OpenLineageSparkListener in sparkSQLExecStart() and get value from getDatabricksEnvironmentalAttributes()

I would also make sure that we're running on Databricks, not an standalone Spark cluster before checking for those properties.
Overall, besides those, looks good to me 👍

I think the CustomFacetBuilder interface outlined in https://github.com/OpenLineage/OpenLineage/pull/437 is helpful here. The work for that proposal is almost ready for merge - at that point, I think the DatabrickEnvironmentRunFacet definitely makes sense to include, though I'd include it using an instance of CustomFacetBuilder rather than having the OpenLineageSparkListener invoke it directly.

Thanks @mobuchowski , @collado-mike, I will take a look at CustomFacetBuilder. The reason I kept it as EnvironmentFacet is because it is only exposing HashMap, we can include any key-value pair which will be based on the environment.

Hi Team, I have included changes using CustomFacetBuilder, please help with the review.


Implement fmt::Write for CompactStr

This makes it possible to write!() into a CompactStr. This is useful if you know that the formatted string will be (most often) shorter than 24 bytes.

Thanks for the PR! It's probably fine to bump the MSRV, let me just look into this a bit more

Ahh I see, the optimization provided by Arguments::as_str() is just when the arguments contain 0 or 1 static strings and no arguments to format into the resulting string.
Given it's an optimization in only the most trivial cases, I'd opt to keep the MSRV at 1.49, and if you could move the commented code into a draft PR like you suggested, that would be great :)

Yeah, I only added the .as_str() case for "completeness". It should occur seldom enough, and more likely in generated code than in what a person writes.
I removed the comment, and will open the draft PR. :)

Thanks for making the changes, and for the PR!


AttributeError: 'SBMLNetwork' object has no attribute 'setGeometricShape'

I'm trying to change the shape of the species in my system and have previously used the setGeometricShape() method, but now I'm seeing an error that there is no such attribute. Is there a new way to change the shape of a species in the network?
Thanks!

Starting from version 0.1.2, we've replace 'setGeometricShape' with 'setGeometricShapeType' method. You can use the new version of it in your code with the same functionality!


Update SDK references repo

Problem
Update the SDK references repo to add the specifications for Swift.
https://github.com/hashgraph/hedera-sdk-reference
Solution
See above
Alternatives
No response

This repo will be deprecated and will not require to be updated.


This is awesome! But how to efficiently query lots of data?

I really don't know how I didn't discover this API before...I was really looking for a European-aggregated database for weather observation. This is just awesome :D
I would like to make a map of daily tmax in Europe so I just tried to use bounds followed by a fetch
stations = Stations()
stations = stations.bounds((70, -25), (30, 50))
list_stations = stations.fetch()
start = datetime(2021, 5, 1)
end = datetime(2021, 5, 2)
data = Daily(list_stations, start, end)
data = data.fetch()

This is obviously taking a long time as from the code it seems it is querying individually every csv and extracting info to reconstruct the output df.
Is there a better way to obtain daily data over an area? Seems that all endpoints only support querying data by station  ID which means that they will also work with a list but likely iterate over it.
Thanks again for making this lib available to everyone :)

Thanks @guidocioni 🙂
You're right. That's the way to go with what the lib offers at the moment. I'm working on gridded data access using XArray. That might be an alternative, but it will take a few more months until this is ready.

Thanks @guidocioni 🙂
You're right. That's the way to go with what the lib offers at the moment. I'm working on gridded data access using XArray. That might be an alternative, but it will take a few more months until this is ready.

Maybe out of curiosity but...aren't the observations also stored into a DB? Wouldn't it be better to use that source of data also in the Python library? Or isn't that used because the bulk API does not require a token?

Exactly. I wanted to provide an interface which provides unlimited data access. However, I can provide custom endpoint as part of the JSON API if required.


more updates for equipdb export

Addressing issues here:
https://docs.google.com/spreadsheets/d/1vDyu0SJzxqbLw0PHqxfy5eMGnApAfVNEwBYXUqnHYec/edit?usp=sharing

Notes as I dig through the issues.

Do we want to merge "APC" and "Schneider Electric" as manufacturers?


Block issue: replace all

I recently discovered that if I try to replace the character: $ with the block replace all then it is not replaced (the character itself is deleted but not replaced with $), in addition if I attach the character ($) to the join block with a mathematical number I get an error.
My temporary solution is to use the character ＄ (this character is very similar to the $ character, but is less common - it is also not found on the keyboard)
Here is a link to aia: https://drive.google.com/file/d/1uzXb0_aud4aWXudGY27D_Px4yrG_AwDl/view?usp=sharing

I'm reclassifying this as a documentation issue for now. The replace all block allows for regular expressions, and the $ is a special character indicating the end of the match. If you want to use $ you need to escape it with a \, i.e., \$. This could be better explained in the documentation.

I'm reclassifying this as a documentation issue for now. The replace all block allows for regular expressions, and the $ is a special character indicating the end of the match. If you want to use $ you need to escape it with a \, i.e., \$. This could be better explained in the documentation.

Got it, thanks for the explanation.  Is it necessary to close the issue?

Got it, thanks for the explanation.  Is it necessary to close the issue?

You can close it if your motive of creating this issue is completed or if you dnt need any further improvement on this issue.
@tomer2526

Please don't close this! As far as I know the documentation still needs to be updated.
But in general @kmryashasvi 's advice is correct =)

@ewpatton Can i work on this issue ?


Setting checked value for checkbox

How does one set the default value of a checkbox using BootForm?  I am trying the following code but I cant seem to get it to work.  I am using laravel 5.2
{!! $interestControl = BootForm::checkbox($interest, 'interests[]')->value($interest) !!}
@php
$interestControl->defaultCheckedState($key);
@endphp

Any ideas would be great...

Check the documentation for the underlying form package here:
https://github.com/adamwathan/form#checkboxes-and-radio-buttons


Error at fastqc when we use multibyte characters.

Description of the bug
Process NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RbohA_KO) terminated with an error exit status (1)
Without usefull traces and logs.
Steps to reproduce
Set a current directory to folder with multibyte characters. (ex:./ゼニゴケ)
nextflow run nf-core/rnaseq  --input ./samplesheet.csv --fasta ./MpTak_v6.1.genome.fasta --gff ./MpTak_v6.1r1.gff  -profile docker  --max_memory 32GB
and it throws LinkageError occurred while loading main class uk.ac.babraham.FastQC.FastQCApplication.
Renaming the folder name into marchantia works for me.
Expected behaviour
Before run it,make sure the working folder is not child of folder with multibyte characters.
And should warn in log file.
Log files
6月-07 16:37:04.709 [Task monitor] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RbohA_KO)'

Caused by:
  Process `NFCORE_RNASEQ:RNASEQ:FASTQC_UMITOOLS_TRIMGALORE:FASTQC (RbohA_KO)` terminated with an error exit status (1)

Command executed:

  [ ! -f  RbohA_KO.fastq.gz ] && ln -s IonXpressRNA_015.R_2019_11_01_14_59_29_user_Proton-184-Marpoly_RNA_Seq.fastq.gz RbohA_KO.fastq.gz
  fastqc --quiet --threads 6 RbohA_KO.fastq.gz
  fastqc --version | sed -e "s/FastQC v//g" > fastqc.version.txt

Command exit status:
  1

Command output:
  (empty)

Command error:
  Error: LinkageError occurred while loading main class uk.ac.babraham.FastQC.FastQCApplication
  	java.lang.ExceptionInInitializerError: null

Work dir:
  /ゼニゴケ/work/91/69696258ea67457b6eae16feb588e4

System

Hardware:Macbook Pro 2019,2.4GHz 8 core i9,32GB memory
OS: macOS
Version:11.4

Nextflow Installation

Version:21.04.0

Container engine

Engine:  Docker
version: 3.3.3
Image tag:  nfcore/rnaseq:3.1

This looks like the same issue seen in #335.
But it uses no multibyte characters.
So not only multibyte characters but some symbols may lead to this error.

Did you ever manage to figure this one out @EFEXP ?

This issue is still reproducible.
I renamed the directory into ゼニゴケ and this issue occurred again.
I confirmed multibyte character makes the FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE process crashed.
Next, I renamed it into marchantia-rnaseq_data like #335 and no error occured.
So, symbols bring #335 are not identified.


Docker!

To test:
make install
make test
make test-matrix
make test-coverage

I think this has been my most successful experience with Docker so far. Everything works and the tests pass. :+1:

Ahaha, brilliant. Thanks jake :bow:.


Add paper format option to PDF

rename option so all options is matching what the protocoll expect

This is all looks great except maybe camel-cased options. I know it's how they are represented in Chrome but in Ruby we don't use such, thus I decided to use underscore.

I agree that undesscore names are nices, and the ruby way. I would agrue that camed-case option is fine here since we are telling the user that we are passing it to Page.printToPdf and you can add any options from that one. Maybe it is better to match the protocol 1-to-1 rather then maping everykey. I did not check what you did for other calls but I think is is important to be consistent with throught the gem.
Adding more more thoughts what do you think?

Do you have some secound thought?  or do you want me to implement all as snake case?

Thanks @stoivo I didn’t use camel case anywhere in this gem or cuprite. I guess we better stick with ruby rather than chrome, because as a user I would expect it to be underscored and chrome internal calls are usually hidden from end user.

Right. Then I will adopt how you would like to have it.
These are the keys today

landscape
displayHeaderFooter
printBackground
scale
paperWidth
paperWidth
marginTop
marginBottom
marginLeft
marginRight
pageRanges
ignoreInvalidPageRanges
headerTemplate
footerTemplate
preferCSSPageSize
transferMode

How would you like to do the mapping? convert case and a hash with exceptions

Yea let's do the mapping manually like it was done in the method or if it's too many options we may copy-paste camelize method from AS, don't want to add such a huge dependency for just one method.

@stoivo sorry I didn't notice when you force pushed, I'll check soon

Thank you!


how to deploy multimodal model like llava on triton server? tensorrtllm_backend does not support multimodal

The multimodal example on backend is on going because the backend of multimodal is very different to pure decoder (like GPU), as mentioned in https://github.com/triton-inference-server/tensorrtllm_backend/issues/463. Close this issue to prevent duplication.


Remove control types

Hi,
We have a special case where we need to remove certain types of controls. Would you be interested in a PR that add this option to the install ?

Hi friend
Looks cool, I'll add it for the next patch version.


Upstream retries

I'm occasionally seeing these errors in my SignalR logs for the upstream calls

Failed invoking '[url-redacted]' for 'hub:[hub-name-redacted],event:disconnected,type:sys,category:connections'.","type":"MessagingLogs","collection":"Serverless"

I am at a loss as to why - because I am not seeing any other downtime on the destination URLs or any failures in that destination server etc..  (Any suggestions as to why this is failing?)
But it got me thinking that the Upstream should really have retries on failure?
I know that the EventGrid integration stuff has retries, so I could change to move that instead, but then it would mean that local Emulator would no longer work in my application if I stop using upstream.

Retry makes sense when the request is totally failed. Like socket failure and we don't get any http response. That can be put on our roadmap.

I think standard practice is failed responses, and specific Http Status Codes as per the Polly Transient Error retry policy - it includes HttpResponseException and then the specific status codes.


Further Details on the "Show Details" section for each category.

It might be nice to have a short little blurb about the line items in the little Details pop-ups. Like, what does "public works" mean, as compared to "capital projects"? Not a priority.

Rachel Dissell from the Documenters was very interested in this issue and offered to help.

Oh extremely dope. She's a pro. We would benefit from her input, especially for the nuances of who-does-what.

Some thinking aloud/ideas:


[web][Canvaskit]: App throws Error: Failed to encode the image into bytes. while decoding images into bytes.

Steps to Reproduce

Install flutter_file_picker (or use another method to get the data in a variable)
Put this action in a button
Run the action (set the web renderer to canvaskit and use the chrome browser)
See the error

Expected results:
The data should get successfully compiled. I tried it on firefox and the native platforms (android, linux, windows) and it works.
Actual results:
An error (see logs)

Code sample

            var files = await FilePicker.platform.pickFiles(
                type: FileType.image, allowMultiple: false, withData: true);
            if (files?.files.isEmpty ?? true) return;
            final e = files!.files.first;
            var content = e.bytes!;
            print(base64Encode(content));
            ui.Codec codec;
            try {
              codec = await ui
                  .instantiateImageCodec(content);
            } catch (e) {
              if (kDebugMode) {
                print(e);
              }
              return;
            }
            var frame = await codec.getNextFrame();
            var image = frame.image.clone();

            var bytes = await image.toByteData(format: ui.ImageByteFormat.png);
            print(bytes.toString());

Logs

Error: Failed to encode the image into bytes.
    at Object.createErrorWithStack (http://localhost:56226/dart_sdk.js:5093:12)
    at Function._throw (http://localhost:56226/dart_sdk.js:20399:18)
    at Function.throwWithStackTrace (http://localhost:56226/dart_sdk.js:20396:18)
    at async._AsyncCallbackEntry.new.callback (http://localhost:56226/dart_sdk.js:40921:18)
    at Object._microtaskLoop (http://localhost:56226/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:56226/dart_sdk.js:40784:13)
    at http://localhost:56226/dart_sdk.js:36261:9

and the debugger stops in the line codec = await ui.instantiateImageCodec(content);

flutter analyze
Analyzing app...
No issues found! (ran in 2.6s)

[✓] Flutter (Channel beta, 2.13.0-0.2.pre, on Microsoft Windows [Version 10.0.22000.652], locale de-DE)
    • Flutter version 2.13.0-0.2.pre at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 8662e22bac (7 days ago), 2022-04-20 08:21:52 -0700
    • Engine revision 24a02fa5ee
    • Dart version 2.17.0 (build 2.17.0-266.5.beta)
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\src\Android
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\src\Android
    • Java binary at: C:\Program Files\Eclipse Adoptium\jdk-<IP_ADDRESS>-hotspot\bin\java.exe
    • Java version OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
    • All Android licenses accepted.

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

[☠] Visual Studio - develop for Windows (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know
      about this issue at https://github.com/flutter/flutter/issues. (This is already reported here: #102451

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at C:\Users\wusel\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\213.7172.25
    • 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

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at C:\Users\wusel\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\221.5080.210
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.66.2)
    • VS Code at C:\Users\wusel\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.39.20220405

[✓] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.652]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 101.0.4951.41

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

! Doctor found issues in 2 categories.

I'm using the latest chromium 100.0.4896.127

Preview in a running web app
This problem can be seen in my note taking app: https://preview.butterfly.linwood.dev
Try clicking on the background add click on insert. Then click on image and choose a random png image. In the console you get an error. On firefox everything works.

@CodeDoctorDE
Can you provide us complete minimal code sample ?

Okay, do you know how I get a png picture data in the minimal code sample?

Okay I built a dartpad example for this: https://dartpad.dev/?id=d1008ae251cda51d1eebc611570638d2
Currently the decoding of the image works on dartpad. When creating a blank project, add this in the main.dart and run it on chrome using flutter run -d chrome it throws the error. An example input can be https://cdn.pixabay.com/photo/2022/01/07/07/13/chicago-6921293_960_720.jpg (it's an image from pixabay)
This is the minimal code that is needed. content is a variable where the image bytes are stored
ui.Codec codec;
            try {
              codec = await ui
                  .instantiateImageCodec(content);
            } catch (e) {
              print(e);
              return;
            }
            var frame = await codec.getNextFrame();
            var image = frame.image.clone();

            var bytes = await image.toByteData(format: ui.ImageByteFormat.png);
            print(bytes.toString());

Thanks for the updated code. Using it, I observed that, the error is shown in canvaskit mode, but the decoding seem to be working in html mode, as it generates the bytes and doesn't throw the error: Error: Failed to encode the image into bytes..

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.5 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (12 hours ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.791, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.791 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d873157287 (87 minutes ago), 2022-04-27 23:14:06 -0400
    • Engine revision 220613fc0b
    • Dart version 2.18.0 (build 2.18.0-65.0.dev)
    • DevTools version 2.12.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

 runnable code sample

import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
import 'dart:ui' as ui;
import 'dart:convert';

const Color darkBlue = Color.fromARGB(255, 18, 32, 47);

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(
        scaffoldBackgroundColor: darkBlue,
      ),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MyWidget(),
        ),
      ),
    );
  }
}

class MyWidget extends StatelessWidget {
  final TextEditingController _urlController = TextEditingController();
  @override
  Widget build(BuildContext context) {
    return ListView(children: [
      TextField(
        controller: _urlController,
      ),
      TextButton(
          child: const Text('Decode image!'),
          onPressed: () async {
            final response = await http.get(Uri.parse(_urlController.text));
            final content = response.bodyBytes;
            print(base64Encode(content));
            ui.Codec codec;
            try {
              codec = await ui
                  .instantiateImageCodec(content);
            } catch (e) {
              print(e);
              return;
            }
            var frame = await codec.getNextFrame();
            var image = frame.image.clone();

            var bytes = await image.toByteData(format: ui.ImageByteFormat.png);
            print(bytes.toString());
          }
      )
    ]);
  }
}

Googler here, jamesoleary@, been chasing this issue for a few months on an internal project.
This seems to be related to the new image codec decoding support announced for Flutter 3: if I replace references to browserSupportsImageDecoder with false in ex. canvaskit/image.dart, it works again.
To summarize:

on Chrome
with a CanvasKit web app
using web platform image decoders
ui.Image.toByteData() fails and throws an error "Failed to encode the image into bytes."

The fix is likely the same as https://github.com/flutter/flutter/issues/103803, which @hterkelsen is currently working on.

In the sample in https://github.com/flutter/flutter/issues/102683#issuecomment-1112161448 I can get it to work if I change the toByteData line to:
var bytes = await image.toByteData(format: ui.ImageByteFormat.rawRgba);

Suggesting that the problem is with the PNG encoding. I will keep digging into this


Adds prune by default for static assets. fixes #13

I am thinking I should move this to arc-plugin-enhance since users can override it in this .arc file in their own app.
WDYT @macdonst @tbeseda ?

@kristoferjoseph as long as the .arc file wins out it sounds good to me.


Migrate cocoon label code to github workflows

There's code like https://cs.opensource.google/flutter/cocoon/+/main:app_dart/lib/src/request_handlers/github/webhook_subscription.dart;l=352 that can be moved into the repo under test.
This should make it easier to find, and quicker to deploy.

[x] Add docs on adding new labels - https://github.com/flutter/flutter/wiki/Labeling-PRs
[x] Migrate flutter/flutter - https://github.com/flutter/flutter/pull/126012
[ ] Migrate flutter/engine - https://github.com/flutter/engine/pull/42566
[x] Migrate flutter/packages - https://github.com/flutter/packages/pull/335
[ ] Remove label functionality from Cocoon - https://github.com/flutter/cocoon/pull/2687

\cc @itsjustkevin as FYI. This is follow up from some of our discussions about moving Cocoon code into GitHub actions

I sent an email PSA to all the contributors directly notifying them of this change.


WRPTR behavior in RASEMU

From Bruce Ableidinger:
The spec defines WRPTR as
WARL field that indicates the physical CTR buffer entry to be written next. It is incremented after new transfers are recorded.
So WRPTR always points to the next entry to be written to.
However in the RAS section,
Function returns pop the most recent call, by invalidating logical entry 0 (by setting ctrsource.V=0) and decrementing the WRPTR, such that (invalidated) logical entry 0 moves to logical entry depth-1, and logical entries 1..depth-1 move to 0..depth-2.
However, the WRPTR must be decremented first then .V bit set to 0.  Then if a call occurs, the location pointed to by WRPTR is written with source/target/data, including .V=1, then the pointer incremented.

I think technically what the spec says is correct.  As stated earlier in the spec, logical entry 0 is (WRPTR-1)%depth, which is the entry that WRPTR would point to once it's decremented.
From an implementation perspective, I agree that you would decrement the WRPTR first and then invalidate the new WRPTR entry.  I suppose we could have said:

Function returns pop the most recent call, by decrementing the WRPTR then invalidating the WRPTR entry (by setting ctrsource.V=0).  As a result, logical entry 0 is invalidated and moves to logical entry depth-1, and logical entries 1..depth-1 move to 0..depth-2.

I'll add this clarification at the conclusion of public review


Update Issues

Description of the new feature / enhancement
These are translated using Baidu Translate.
First of all, in China, your update may use your own Microsoft server, but the problem is that it is very slow to connect to your server in Chinese Mainland, and most Microsoft services are very slow to connect, so I suggest that you create an installation package with the update function, or update in the Microsoft store
The following is the untranslated Chinese version:
这些使用百度翻译翻译。
首先，在中国，你们的更新可能使用了你们自己的微软服务器，但是问题在于，在中国大陆连接你们服务器速度很慢，并且大多数微软服务都连接很慢，所以我提议你们制作的安装包带有更新的功能，或者能在Microsoft store里更新
Scenario when this would be used?
Sorry, I can't understand the meaning of this question after I translate it. Maybe there is a problem with my translator. I can't answer this question
Supporting information
No response

we asked a while back for a speedtest (https://github.com/microsoft/PowerToys/issues/4780) but we got limited testing and no one has brought up speed issues from China for a long time.  Something could be throttling GitHub's CDN on your side.
how does downloading via the Store winget link go for you?
winget install XP89DCGQ3K6VLD
/needinfo

不久前，我们要求进行速度测试（#4780），但我们得到的测试有限，很长一段时间以来没有人提出中国的速度问题。有些东西可能会限制GitHub的CDN。
There's really a problem with the internet, so am I
如何通过商店 winget 链接下载？
winget install XP89DCGQ3K6VLD
/需要信息


Save page crashes when annotating more than 1000 images

An image with more than 1000 marks will crash the page, and at 500 marks the page will render slowly and stagger

Save page crashes when annotating more than 1000 images

the error code is SBOX_FATAL_MEMORY_EXCEEDED ? And I have the same problem.

There was many improvements since then, I will close the issue.


Fix HeaderValue throwing an exception on legal characters

In RFC 2822, section 2.2, there are different conditions used for header names vs header values.
Header names are restricted to only printable ascii characters (with folding allowed), while header values are any allowed ascii character except a bare LF or CR.
This is a major problem, because Apache and Outlook/Office365 use tab characters to fold their subject lines. These characters are perfectly valid according to the RFC, yet throw an exception when read.
Relevant spec is below (Section 3.2.1):
NO-WS-CTL       =       %d1-8 /         ; US-ASCII control characters
                        %d11 /          ;  that do not include the
                        %d12 /          ;  carriage return, line feed,
                        %d14-31 /       ;  and white space characters
                        %d127

text            =       %d1-9 /         ; Characters excluding CR and LF
                        %d11 /
                        %d12 /
                        %d14-127 /
                        obs-text

specials        =       "(" / ")" /     ; Special characters used in
                        "<" / ">" /     ;  other parts of the syntax
                        "[" / "]" /
                        ":" / ";" /
                        "@" / "\" /
                        "," / "." /
                        DQUOTE

   No special semantics are attached to these tokens.  They are simply
   single characters.

Header names are NO-WS-CTL, while header values are text with folding allowed.

Despite adding an additional test case and adding extra elements to data providers (as well as actually testing a line that was previously never even touched), coverage never seems to go up.
I give up; I'll just keep my repo in my composer files.

Don't worry too much about the coverage; we'll be evaluating the
correctness of the patch only.
On Oct 8, 2015 3:22 AM, "Amelia Ikeda"<EMAIL_ADDRESS>wrote:

Despite adding an additional test case and adding extra elements to data
providers (as well as actually testing a line that was previously never
even touched), coverage never seems to go up.
I give up; I'll just keep my repo in my composer files.
—
Reply to this email directly or view it on GitHub
https://github.com/zendframework/zend-mail/pull/28#issuecomment-146453735
.

Because the number of relevant lines has decreased then percentage given to any covered/uncovered line is higher (i.e 2 lines in a pack of 10 has more percentage than 2 lines in a pack of 100)

Ah, okay.
I'll see if I can get a copy of an email that breaks in pretty horrifying ways when reading it and add it in, too.

From http://tools.ietf.org/html/rfc5322#section-2.2

2.2.  Header Fields
2.2.1.  Unstructured Header Field Bodies

... specified in section 3.2.5 as any printable
US-ASCII characters plus white space characters) with no further
restrictions.  These are referred to as unstructured field bodies.
Semantically, unstructured field bodies are simply to be treated as a
single line of characters with no further processing (except for
"folding" and "unfolding" as described in section 2.2.3).

2.2.2.  Structured Header Field Bodies

Some field bodies in this specification have a syntax that is more
restrictive

For the purpose of general validation / filtering we opt for choose the "unstrcutured header" syntax for to be the most unrestricted.
From http://tools.ietf.org/html/rfc5322#section-3.1

In some of the definitions, there will be non-terminals whose names
start with "obs-".  These "obs-" elements refer to tokens defined in
the obsolete syntax in section 4.  In all cases, these productions
are to be ignored for the purposes of generating legal Internet
messages and MUST NOT be used as part of such a message.  However,
when interpreting messages, these tokens MUST be honored as part of
the legal syntax

ABNF resume with errata (1905, 1908) applied
unstructured  =   (*([FWS] VCHAR) *WSP) / obs-unstruct
FWS           =   ([*WSP CRLF] 1*WSP) /  obs-FWS
obs-FWS       =   1*([CRLF] WSP)
obs-unstruct  =   *( (*CR 1*(obs-utext / FWS)) / 1*LF ) *CR
obs-utext     =   %d0 / obs-NO-WS-CTL / VCHAR
obs-NO-WS-CTL =   %d1-8 /  %d11 / %d12 / %d14-31 / %d127
VCHAR         =   %x21-7E ; visible (printing) characters (decimal 33 / 126)
WSP           =   SP / HTAB ; white space (decimal 32 / 9)

Header bodies conclusion:

May be 0 length (0 characters)
May be composed of only FWS sequences
Use of WSP characters (char 9 / 32) is unrestricted
Use of obs-utext characters (char 0-8, 11-12, 14-31, 33-127) is unrestricted

So the following character range may appear without any restriction:
[0-9, 11-12, 14-127]
and the characters 10, 13 must be together and followed of at least one WSP (9, 32)

@ameliaikeda This PR is invalid. You didn't fixed your original issue with TAB characters folding.
Please add tests for that scenario.

Hello,
Not sure about how to tell it or to report i, but i've got a problem relative to this using a character like "é" in the name. It worked well in ZF1 but doesn't in ZF2. Thanks for the coming fix.

Just got back to this; I'll have updates either later today or tomorrow night.
Thanks for the feedback!

Any chance for to see this finished?

I know this is about a month old, but is there anyway to get this resolved? I'm running into the same issue in my application ._.

I'm running into the same issue in my application. Getting the exception when using the character "è" on ReplyTo header ...

Can lines 37 and 78 on src/Header/HeaderValue.php be merged to resolve this issue?

I'm also running into this issue :-(.

@jomofcw
The current problem was fixed with version 2.7.1. Please recheck you version and if you still have problems, open a new issue report and add a detailed description or an unit test.
Thanks!

@froschdesign Hello !
Thanks for your quick answer.
Here are all the version of Zend component I use in my project (managed through composer) :
zendframework/zend-cache`               2.7.2  provides a generic way to cache any data
zendframework/zend-component-installer 2.1.1  Composer plugin for automating component registration in zend-mvc and Expressive applications
zendframework/zend-eventmanager        3.2.0  Trigger and listen to events within a PHP application
zendframework/zend-json                3.1.0  provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP
zendframework/zend-loader              2.5.1
zendframework/zend-mail                2.9.0  provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages
zendframework/zend-mime                2.7.0  Create and parse MIME messages and parts
zendframework/zend-serializer          2.8.1  provides an adapter based interface to simply generate storable representation of PHP types by different facilities, and recover
zendframework/zend-servicemanager      3.3.2  Factory-Driven Dependency Injection Container
zendframework/zend-stdlib              3.1.0
zendframework/zend-validator           2.10.2 provides a set of commonly needed validators

zend-mail seems to be in version 2.9.0, right ?
Is that the last/correct version for this module ?
If yes according to you, so I'll open a new issue.
If not, how can I upgrade it using composer, please ? Because I thinked i didi it but it doesn't worked if the answer is "no" :/.

2.9.0 is the latest version and also on your system.
Create a new issue report and don't forget the description or add an unit test to illustrate your problem.

Btw. here can you find all releases: https://github.com/zendframework/zend-mail/releases

Thanks @froschdesign .
So, here we go : https://github.com/zendframework/zend-mail/issues/203


Camera rotating in 3 positions on diagonal its changing position

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
https://github.com/flutter/flutter/assets/136465577/a6050960-31fb-45d0-bcc3-e2e00ec611d9
Expected results
It should be just on portrait and landscape mode
Actual results
there are three orientations of camera i showing
Code sample
RotatedBox(
quarterTurns: quarterTurns(), child: _cameraPreviewWidget()),
),
Widget _cameraPreviewWidget() {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
  return const SizedBox.shrink();
} else {
  return Listener(
    onPointerDown: (_) => _pointers++,
    onPointerUp: (_) => _pointers--,
    child: CameraPreview(
      controller!,
      child: LayoutBuilder(
          builder: (BuildContext context, BoxConstraints constraints) {
        return GestureDetector(
          behavior: HitTestBehavior.opaque,
          onScaleStart: _handleScaleStart,
          onScaleUpdate: _handleScaleUpdate,
          onTapDown: (TapDownDetails details) =>
              onViewFinderTap(details, constraints),
        );
      }),
    ),
  );
}

}
Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
[✓] Flutter (Channel stable, 3.16.2, on macOS 13.6.1 22G313 darwin-x64, locale en-GB)
• Flutter version 3.16.2 on channel stable at /Users/xheenapps/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9e1c857886 (5 days ago), 2023-11-30 11:51:18 -0600
• Engine revision cf7a9d0800
• Dart version 3.2.2
• DevTools version 2.28.3
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/xheenapps/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
• CocoaPods version 1.14.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
[✓] Connected device (3 available)
• Xheen Apps’s iPhone (mobile) • 00008110-001C5D820EE3401E • ios            • iOS 16.2 20C65
• macOS (desktop)              • macos                     • darwin-x64     • macOS 13.6.1 22G313 darwin-x64
• Chrome (web)                 • chrome                    • web-javascript • Google Chrome 119.0.6045.199
[✓] Network resources
• All expected network resources are available.
• No issues found!

Hi @afaq3522
Could you share a complete & minimal sample code for this? Also, it will be more clear if you can take a screenshot of the 3rd orientation as you observed. Thank you!

Hi @afaq3522 Is this issue only reproducible on iOS? Does it happen on Android?
Could you share a complete & minimal sample code for this? Also, it will be more clear if you can take a screenshot of the 3rd orientation as you observed. Thank you!

basically what i'm doing just using native sensor orientation package to sense orientation so in case if device's orientation is locked than i can rotate camera. I m just rotating preview with rotated box and lock orientation after rotation change
void setOrientation(Orientation orientation) async {
if (prankController.isRecordingStarted.isFalse) {
this.orientation = orientation;
// await Future.delayed(const Duration(milliseconds: 300));
if (controller != null) {
controller!.lockCaptureOrientation(orientation == Orientation.portrait
? DeviceOrientation.portraitUp
: orientation == Orientation.landscapeRight
? DeviceOrientation.landscapeLeft
: DeviceOrientation.landscapeRight);
}
}
}
this function calls when orientation sensor sense change in orientation.
but the issue is that you know default behaviour of camera. on device rotation to landscape mode it make the video orientation landscape but video and its aspect ratio is not landscape video is still portrait.
so now issue is that on orientation change if it shows default behaviour like going to straight landscape then actual landscape after rotation

Sorry, but I still don't understand your cases. Do you mean the camera preview is distorted when the device is rotated?
It would be clearer if you could take advantage of the plugin demo app and break it down into separate issues (three "orientations" as mentioned)

https://github.com/flutter/flutter/assets/136465577/8f04f777-1d79-4bd8-ad10-e7ad0f14c387
now look that if i don't rotate widget of camera this is what happening in landscape mode. that's why i m rotating camera widget so that i can create video in landscape mode. you can see that without rotation on landscape mode camera orientation is not right.

now look that if i don't rotate widget of camera this is what happening in landscape mode.

Do you set device orientation as auto-rotate or fixed orientation (portrait/landscape)? What is your device mode?
I checked this using plugin demo app on both Android and iOS. Below are results in two cases (as title), it doesn't look like the issue in your video above.

Demo video (device orientation is in portrait)

Android
iOS

Demo video (device orientation is auto rotate)

Android
iOS

Please also use plugin demo app and confirm if you see the same behavior as mine. If you have a different case with your implementation, please share a complete minimal sample code.

now look that if i don't rotate widget of camera this is what happening in landscape mode.

Do you set device orientation as auto-rotate or fixed orientation (portrait/landscape)? What is your device mode?
I checked this using plugin demo app on both Android and iOS. Below are results in two cases (as title), it doesn't look like the issue in your video above.
Demo video (device orientation is in portrait)
Android	iOS
Record_2023-12-08-11-12-53_2088dbc85c3063e5c5d863d1c7dbeaa5.mp4
RPReplay_Final1702009043.mp4
Demo video (device orientation is auto rotate)
Android	iOS
android.mp4
ios.mp4
Please also use plugin demo app and confirm if you see the same behavior as mine. If you have a different case with your implementation, please share a complete minimal sample code.

i already know that thing but my scenerio is rotating camera and icons without device orientation means in case if device orientation is locked then too screen should rotate in landscape mode and video too should be with landscape aspect ratio same like native camera behaviour. i achieved that behaviour with a package native_device_orientation it sense orientation in every case like if device orientation is locked or unlocked
but you can see that in your demo if device orientation is portrait than video capture in  portrait and landscape both cases after capture video orientation will be potrait.
so due to overcome this issue you will require to rotate the widget.
below is sample code:
void setOrientation(Orientation orientation) async {
if (prankController.isRecordingStarted.isFalse) {
this.orientation = orientation;
// await Future.delayed(const Duration(milliseconds: 300));
if (controller != null) {
controller!.lockCaptureOrientation(orientation == Orientation.portrait
? DeviceOrientation.portraitUp
: orientation == Orientation.landscapeRight
? DeviceOrientation.landscapeLeft
: DeviceOrientation.landscapeRight);
}
}
}
int quarterTurns() {
return orientation == Orientation.landscapeLeft
? 1
: orientation == Orientation.landscapeRight
? -1
: 0;
}
@override
Widget build(BuildContext context) {
return NativeDeviceOrientedWidget(
landscapeLeft: (context) {
setOrientation(Orientation.landscapeLeft);
return screen();
},
landscapeRight: (context) {
setOrientation(Orientation.landscapeRight);
return screen();
},
portraitUp: (context) {
setOrientation(Orientation.portrait);
return screen();
},
fallback: (_) {
setOrientation(Orientation.portrait);
return screen();
},
useSensor: true,
);
}
SizedBox(
height: cameraHeight,
width: double.infinity,
child: RotatedBox(
quarterTurns: quarterTurns(), child: _cameraPreviewWidget()),
),
Widget _cameraPreviewWidget() {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
  return const SizedBox.shrink();
} else {
  return Listener(
    onPointerDown: (_) => _pointers++,
    onPointerUp: (_) => _pointers--,
    child: CameraPreview(
      controller!,
      child: LayoutBuilder(
          builder: (BuildContext context, BoxConstraints constraints) {
        return GestureDetector(
          behavior: HitTestBehavior.opaque,
          onScaleStart: _handleScaleStart,
          onScaleUpdate: _handleScaleUpdate,
          onTapDown: (TapDownDetails details) =>
              onViewFinderTap(details, constraints),
        );
      }),
    ),
  );
}

}
Future onNewCameraSelected(CameraDescription cameraDescription) async {
if (controller != null) {
return controller!.setDescription(cameraDescription);
} else {
return _initializeCameraController(cameraDescription);
}
}
late double cameraHeight;
// Counting pointers (number of user fingers on screen)
int _pointers = 0;
@override
void initState() {
cameraHeight = Get.height;
WidgetsBinding.instance.addObserver(this);
onNewCameraSelected(AppConfig.cameras.first);
Wakelock.enable();
super.initState();
}

if device orientation is locked then too screen should rotate in landscape mode and video too should be with landscape aspect ratio same like native camera behaviour.

I also tried comparing device's native camera and Flutter plugin camera with plugin demo app but they outputted the same result:

Demo video (native app vs Flutter app)

Android device native app's camera
Flutter plugin app's camera

Please share your result with plugin demo app so that we can make sure the issue is not caused by your implementation or 3rd plugins.

if device orientation is locked then too screen should rotate in landscape mode and video too should be with landscape aspect ratio same like native camera behaviour.

I also tried comparing device's native camera and Flutter plugin camera with plugin demo app but they outputted the same result:
Demo video (native app vs Flutter app)
Android device native app's camera	Flutter plugin app's camera
VID20231211121411.mp4
REC2736796883047982484.mp4
Please share your result with plugin demo app so that we can make sure the issue is not caused by your implementation or 3rd plugins.

just one thing more check please after recording video then check result of video native and flutter plugin camera in rotation mode

just one thing more check please after recording video then check result of video native and flutter plugin camera in rotation mode

I assume rotation mode here means "device orientation is unlocked". I checked this and see the same result between native camera and Flutter camera apps:

Demo video in rotation mode (native app vs Flutter app)

Android device native app's camera
Flutter plugin app's camera


failed to solve with frontend dockerfile.v0:

For all deployments I'm receiving this issue:
[16:56:15.117] #3 [internal] load metadata for docker.io/library/node:18
[16:56:15.124] #3 sha256:2075f92ee200d60c58a0280e24693548f3220d21fb6c89da59dcfc23eb696f9e
[16:56:15.128] #3 ERROR: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc01:c4:4967:28eb:1824]:443: connect: cannot assign requested address
[16:56:15.132] ------
[16:56:15.142] > [internal] load metadata for docker.io/library/node:18:
[16:56:15.149] ------
[16:56:15.155] failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc01:c4:4967:28eb:1824]:443: connect: cannot assign requested address

Coolify v3.12.36

Same issue:
[19:32:37.727] Building production image...
[19:32:37.911] #2 [internal] load build definition from Dockerfile
[19:32:37.917] #2 sha256:54907e84aa42b5cdf1e48a81d07fbf9ede1927870d72cc51be0e2a66507603b1
[19:32:37.922] #2 transferring dockerfile: 265B done
[19:32:37.932] #2 DONE 0.0s
[19:32:37.937] #1 [internal] load .dockerignore
[19:32:37.941] #1 sha256:b36b48b2e7c265e4f89a0aaf2311f946776da98cfa3a6c7627ad8820e99e5730
[19:32:37.944] #1 transferring context: 2B done
[19:32:37.946] #1 DONE 0.0s
[19:32:37.949] #3 [internal] load metadata for docker.io/library/node:lts
[19:32:37.952] #3 sha256:d292083fecdf88c05c7f542ce51888d7f5e3ec5d9e01de0c2be3b86532af0204
[19:32:38.160] #3 ERROR: failed to authorize: failed to fetch oauth token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc02:4bf0:3a98:55ae:e3d5]:443: connect: cannot assign requested address
[19:32:38.160] node:lts: failed to authorize: failed to fetch oauth token: Get "https://auth.ipv6.docker.com/token?scope=repository%3Alibrary%2Fnode%3Apull&service=registry.docker.io": dial tcp [2600:1f18:2148:bc02:4bf0:3a98:55ae:e3d5]:443: connect: cannot assign requested address
[19:32:38.167] #4 [auth] library/node:pull token for registry-1.docker.io
[19:32:38.175] #4 sha256:ce76d9d77b869026d43731b7c86caf9ff9e9c62fc94c77ecf81d5db7307756ef
[19:32:38.179] #4 DONE 0.0s
[19:32:38.183] ------
[19:32:38.187] > [internal] load metadata for docker.io/library/node:lts:
[19:32:38.192] ------

Same happening for me - every deployment fails after 1-2 seconds with the above errors..

Same happening here too

I have the same issue.
Maybe do you know how to fix this without workarounds?

@Tiagofv you tecnically don't need to "exec" into the container, both Coolify and your client are using the same Docker socket. You can just pull the images with docker pull node:18-alpine.

I wonder if this issue is also related to a problem I'm having with traefik (coolify-proxy) not being able to get HTTPS certs.
I upgraded my Coolify version, broken the key, restored the database to the older backup (and lost some secrets along the way). After restoring everything back I tried to rollback to an older commit via UI, but now Traefik is not getting the HTTPS cert and my application is unreachable.

Same issue. Current workaround is to pull an image again shortly before I intend to deploy. In my case it's webdevops/nginx:alpine

This is apparently a bug in Docker, they are working in a fix right now.
https://forums.docker.com/t/unable-to-pull-docker-image-due-to-ipv6-since-2023-08-23-around-6pm-cest/137378

Everything should be working now! Happy hacking!


Games Fail to Load in Firefox Private Browsing Modes

Love.js games fail to load in the following situations:

Firefox Private Browsing
Chrome Incognito when Embedded in an Iframe (for example, when uploading to Itch.io)

This can be easily repro'd by:

Opening https://davidobot.net/lovejs/lovejs_spec_c/ in Firefox private browsing
Opening https://jsfiddle.net/8rz41ms0/ in Chrome Incognito mode

The culprit is IndexedDB. In private browsing mode, some browsers will throw exceptions when performing IndexedDB operations. The fix is to catch these exceptions in EmscriptenPersistence.js and ignore; so games can proceed using MemFS.

Unfortunately Firefox does not support IndexedDB in private browsing, which love.js requires. Please complain to Mozilla.
https://bugzilla.mozilla.org/show_bug.cgi?id=1639542


Sending SMS to unknown number fails

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @zach in #support.

Not sure this is relevant anymore. Closing


How can create container service k8s cluster with aliyuncli ?

Background information:
I follow this link https://pypi.org/project/aliyuncli/ to setup aliyuncli:

installed pip install aliyuncli
installed pip install aliyun-python-sdk-cs
executed configuration with aliyuncli configure

I want to create container service k8s cluster from command line like aliyuncli cs CreateCluster
You can see this screenshot ---> https://www.evernote.com/l/AdfFjVzMd0hMRZjdKKh8ie3tzt1sBrhsXzsB/image.png
Questions:

What's params will be passed after that aliyuncli cs CreateCluster ??? ???

Note:

I want to use aliyuncli not aliyun

The Python version of the CLI has stopped maintenance，you can got the new release version of CLI which reconfiguration by Golang , and there is a website (https://help.aliyun.com/document_detail/71197.html?spm=a2c4g.11174283.6.732.45d57a22245InW) , which will help you with your question.
Thank you for your attention to AliCloud CLI Project！


Type declarations in function generics cause issues when names overlap

When explicitly declaring function generics, the generic types leak outside of the function and can cause issues if other generic types for other functions are of the same name
Not 100% sure if this is a bug, but I don't believe generic types inside functions should leak and affect the behavior of generics of another even when both have the same name
Fairly sure this started happening since commit 2f989fc049772f36de1a4281834c375858507bda
(I rarely post issues so if I've done something incorrectly, please let me know)

--!nonstrict
--consider the following code under --!nonstrict
local util = {}
function util.matchDict<K, V>(lambda: (key: K, value: V) -> boolean?, dict: {[K]: V}): (K?, V?)
	for k, v in pairs(dict) do
		if lambda(k, v) == true then
			return k, v
		end
	end
	return nil, nil
end

function util.matchDictAll<K, V>(lambda: (key: K, value: V) -> boolean?, dict: {[K]: V}): {[K]: V}
	local matched = {}
	for k, v in pairs(dict) do --this will throw a "Type {[K]: V} could not be converted into {[any]: any}" on the dict
		if lambda(k, v) == true then
			matched[k] = v
		end
	end
	return matched
end

--!nonstrict
local util = {}
function util.matchDict<K, V>(lambda: (key: K, value: V) -> boolean?, dict: {[K]: V}): (K?, V?)
	for k, v in pairs(dict) do
		if lambda(k, v) == true then
			return k, v
		end
	end
	return nil, nil
end
--the generic type names are changed and no longer overlap with the previous function
function util.matchDictAll<X, Y>(lambda: (key: X, value: Y) -> boolean?, dict: {[X]: Y}): {[X]: Y}
	local matched = {}
	for k, v in pairs(dict) do --the type error no longer occurs
		if lambda(k, v) == true then
			matched[k] = v
		end
	end
	return matched
end

Thanks! Glad to see this has been fixed.


[R] Using s3_bucket with non-AWS S3-compatible storage is confusing

Describe the bug, including details regarding any error messages, version, and platform.
If I want to use arrow with non-AWS, S3-compatible storage, I might find the s3_bucket convenience function from our documentation [1, 2].  The documentation doesn't always mention non-AWS storage but I might see in the help page for s3_bucket that I can pass options to S3FileSystem$Create using dots and those options include endpoint_override. I might then try the following:
s3_bucket(
    "my-bucket",
    endpoint_override = "example.org",
    anonymous = TRUE
)

However, this results in the following error:
# Error: IOError: Bucket 'my-bucket' not found
# /Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/s3fs.cc:829  ResolveRegionUncached(bucket)
# /Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/s3fs.cc:357  ResolveS3BucketRegion(bucket)
# /Users/bryce/src/apache/arrow/cpp/src/arrow/filesystem/filesystem.cc:719  S3Options::FromUri(uri, out_path)

You can see that we're trying to resolve the bucket's AWS region which fails as expected. Interestingly, the user that reported this issue to me found they could prevent this error by creating a bucket on AWS with the same name at which point the region resolution would succeed (pointlessly), the S3FileSystem createsd would respect their endpoint_override, and future calls like $ls() would target the correct endpoint. This could actually cause some significant frustration for non-AWS users.
If I go back to the docs and read further down on https://arrow.apache.org/docs/dev/r/articles/fs.html#file-systems-that-emulate-s3, I find that the recommended way to do what I want is directly through S3FileSystem$create:
S3FileSystem$create(
    endpoint_override = "example.org",
    anonymous = TRUE
)

I was made aware through other channels while researching this issue that this syntax would also have worked (though it's not documented sufficiently):
s3_bucket("s3://anonymous@my-bucket?endpoint_override=example.org")

With the increasing number of non-AWS providers of S3-compatible storage (e.g., Ceph, DigitalOcean], I only think we'll have more users of non-AWS, S3-compatible storage and those users will run into confusion over (1) how things work and (2) how things are documented.
I'd like to:

Do a pass over the documentation (online, and R help pages)
a.  To make the messaging clear that we support AWS, GCS, and S3-compatible storage providers
b. Add more examples to s3_bucket to make it clearer how a user can go about doing that
Change the behavior of s3_bucket to special-case passing endpoint_override to skip region resolution and just jump directly to creating an S3FileSystem.

Component(s)
R

Good call @amoeba !

FYI all: @cboettig filed a PR and makes the case for dramatically simplifying the function body in his top level comment. See https://github.com/apache/arrow/pull/33918#issue-1561445006.


Unable to converge

i want to add s3im loss in k-planes, but it unable to converge. This is because k-planes adds random background during the training process？

Sorry for the late reply.
I think you can try a smaller s3im loss weight.


Use buffer pooling in IOutputFormatters

Allocation data from 3000 request to a simple API site. Post JSON -> Return 201 Created with JSON.
Before

After

The overall reduction in allocations here is about 16mb - based on a total of 106mb. The vast majority of the remaining char[] and byte[] allocations come from input formatters, which I'll address next.

/cc @lodejard

Will resend based on dev


python311Packages.google-cloud-speech: 2.21.0 -> 2.21.1

Changelog: https://github.com/googleapis/python-speech/blob/v2.21.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 262949 run on x86_64-linux 1

4 packages built:

python310Packages.google-cloud-speech
python310Packages.google-cloud-speech.dist
python311Packages.google-cloud-speech
python311Packages.google-cloud-speech.dist


5.0.4 not available on Maven Central

I don't see version 5.0.4 at https://repo1.maven.org/maven2/com/adobe/acs/acs-aem-commons-bundle/
Was something not working with publishing?

@kwin Nope. Released this on the side - had to jump on other stuff so didn't get around to releasing it till just now. It's up there now!


Add "discard" and "unstage" equivalents to git.stageChange

Issue Type: Feature Request
At the moment, most of the git-index commands that can be bound have to do with entire files, or specific, selected ranges — for instance, git.clean, git.stage and git.unstage; or git.stageSelectedRanges and git.unstageSelectedRanges.
There's one useful exception, git.stageChange, which presumably is supposed to preform the behaviour I'm used to from Vim w/ GitGutter — staging the change that my cursor is currently inside (which is especially useful in a workflow that's heavy on mappings involving the workbench.action.editor.nextChange and workbench.action.editor.previousChange commands). I can't actually get this to work at the moment, but I think that's an unrelated issue on my end.
Unfortunately, git.stageChange seems to stand alone — there's no corresponding singular git.cleanChange or git.unstageChange for discarding or unstaging the change containing the current cursor. I'd love to see these added!
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:16:38.656Z)
OS version: Darwin x64 18.2.0

@joaomoreno no problem, because I totally understand what it's like to maintain a large repo — but I actually specifically addressed the git.*SelectedRanges commands in my OP! I'm talking — very specifically, and separately — about the git.stageChange command (notice the lack of ...SelectedRange at the end of it), that operates without making a prior selection.
If it's helpful to understand my use-case, I'm a Vim user, and do most of my navigation from the keyboard: navigating to one of my changes, and then having to select a range that covers that change before I can operate on it, is just one extra step. (=
Please re-open!

I see. Apart from git.stageChange, you also have its counterpart git.revertChange.  git.unstageChange can't really be implemented unless you open the indexed file and run it from there...


Fix github.com/containous/traefik-extra-service-fabric dep to v1.0.1.

What does this PR do?
Pin the github.com/containous/traefik-extra-service-fabric dependency to version 1.0.1.
Motivation
Prevent unintentional updates as a side effect to adding new dependencies explicitly.

Hmm, Semaphore CI seems to be stuck. Checking if closing and reopening the PR helps.

Sadly, our test suite does not survive a Semaphore machine shutdown:
---> Making bundle: test-unit (in .)
+ go test -cover -coverprofile=cover.out ./acme
ok  	github.com/containous/traefik/acme	1.261s	coverage: 14.7% of statements
+ go test -cover -coverprofile=cover.out ./cmd/traefik
ok  	github.com/containous/traefik/cmd/traefik	0.056s	coverage: 3.9% of statements
+ go test -cover -coverprofile=cover.out ./cmd/traefik/anonymize

Broadcast message from root@semaphore-1711
	(unknown) at 9:13 ...

The system is going down for power off NOW!
ok  	github.com/containous/traefik/cmd/traefik/anonymize	0.085s	coverage: 86.0% of statements
+ go test -cover -coverprofile=cover.out ./configuration
make: *** [test-unit] Error 137
make test-unit failed, attempt 1/3


Warning causing compile error with Elixir 1.14.0

Steps to Reproduce
Compile and run with Elixir 1.14.0
warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
  lib/myapp/guardian/guardian.ex:7: MyApp.Guardian

Compilation failed due to warnings while using the --warnings-as-errors option

  use Guardian, otp_app: :my_app

Expected Result
No Warnings
Actual Result
Warning

Closer in favor of #702


"Lisa" commune is listed in the drop-down menu

Description:
The commune is listed in the drop-down menu according to the law
Preconditions: the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Step 1
Type "Lisa" in the search bar.
Expected results
The location is listed in the drop-down menu as "Lisa, Brașov"


How to mark dimensions

Hi sir, Please tell me How to mark dimensions. And Dimensions displayed when creating model Font color How to change.
Thanks!

I apologize for the delayed response.
We currently provide support for Plasticity on our official Discord. We apologize for the inconvenience. Could you please direct your questions to the Discord help channel?
For Everyone Including Trial Users
The Discord for everyone, including trial users, can be accessed at the link below.
https://discord.gg/b6fwenZjez
For Indie or Studio Users
The link to the Discord for Indie or Studio users can be found in the purchase confirmation email.
Thank you for your understanding and cooperation.


Not getting i18n to work

Please provide us with the following information:

OS?
Mac OS X Sierra
Versions.
2.1.0
Repro steps.
Added one single i18n attribute to a paragraph tag on one of my components like so:
<p i18n="Test title|Test description">Welcome to i18n</p>

The log given by the failure.
| => ./node_modules/.bin/ng-xi18n
Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol AppModule in /Users/crash/git/traveliko/traveliko-spa-frontend/src/app/app.module.ts, resolving symbol AppModule in /Users/crash/git/traveliko/traveliko-spa-frontend/src/app/app.module.ts
    at simplifyInContext (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/static_reflector.js:469:23)
    at StaticReflector.simplify (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/static_reflector.js:472:22)
    at StaticReflector.annotations (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/static_reflector.js:61:36)
    at _loop_1 (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/extract_i18n.js:67:54)
    at Extractor.readFileMetadata (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/extract_i18n.js:80:13)
    at /Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/extract_i18n.js:87:74
    at Array.map (native)
    at Extractor.extract (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/extract_i18n.js:87:35)
    at extract (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/compiler-cli/src/extract_i18n.js:16:35)
    at Object.main (/Users/crash/git/traveliko/traveliko-spa-frontend/node_modules/@angular/tsc-wrapped/src/main.js:30:16)
Extraction failed

Mention any other details that might be useful.
I am using module lazy loading.

Thanks! We'll be in touch soon.

Perhaps specifying the tsconfig.json might help?
./node_modules/.bin/ng-xi18n -p src/tsconfig.json

Or in package.json:
  ...
  "scripts": {
    "i18n": "ng-xi18n -p src/tsconfig.json"
  }
  ...

Same error I'm afraid. I don't even know if this is an Angular CLI issue or if it is with Angular itself.

I also have this error.

Closed in favor of https://github.com/angular/angular-cli/issues/2201


build: IPv4 inside a container, mariadb_repo_setup binary

The Issue
From Discord https://discord.com/channels/664580571770388500/1252792407775514686
Something changed in Debian Bookworm, which results in ping being using IPv6 inside a container:
$ ddev exec ping -c 1 localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.026 ms

--- localhost ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.026/0.026/0.026/0.000 ms

I don't have a pattern here, but I remember a time when it always used IPv4. We can make it more predictable to always prefer IPv4 over IPv6.
How This PR Solves The Issue

There is a commented section in /etc/gai.conf, that we can uncomment:

https://wiki.archlinux.org/title/IPv6#Prefer_IPv4_over_IPv6

#
#    For sites which prefer IPv4 connections change the last line to
#
precedence ::ffff:0:0/96  100

After MariaDB 11.4 goes in, we can use mariadb_repo_setup to install newer mariadb-client, there is no need to pull this script every time (because the connection might fail and we don't want that):

#6243

Manual Testing Instructions

ddev exec ping -c 1 localhost should ping <IP_ADDRESS>
try the command mariadb_repo_setup

Automated Testing Overview

Release/Deployment Notes

Rebased to pick up MariaDB 8.4 support

I added mariadb-client support for MariaDB 11.4 in the webserver.
I'll think about the test coverage on Monday.
I also changed mysql-client-install.sh a bit: use timeout only for curl, because we don't really need it for the whole script.
I repushed the image here:
docker pull ddev/ddev-webserver:20240620_stasadev_ipv4

Sorry to delay this again. Thanks for your work on it.

I added missing mariadb:11.4 to the README.md generation in GoReleaser.
And reworked the code a bit, now it should be clearer.


Add ability to resend code

Added the ability for a user to resend the auth code from the two_factor_auth page.

Thanks, could you please added some tests?

Yes. I should have time to take care of this toward the end of the week.

Planning to merge this anytime soon?

done

@iDiogenes I know this has already been merged, but it would be great if you could please submit a new PR with tests for this. Thanks!


Support skip header and footer for hive CREATE TABLE

Related to https://github.com/prestosql/presto/issues/572
I'll send another PR for delimiter.

I'll check the cause of travis failure.

The travis failed reason is presto-phoenix.

Changed to Optional<Integer> and added two tests.

Created another PR https://github.com/prestosql/presto/pull/891 to disable INERT INTO Hive table having skip.header.line.count or skip.footer.line.count.

The new test looks great. Merged, thanks!


Support importing catalog skills under a Skills Group

:+1:

assign to @cjmoses after merge

PR: https://github.com/NationalSecurityAgency/skills-service/pull/1365

:+1:


Add winston-loki support

Add winston-loki support + winston-loki typings.
Resolves #7

@nmlinaric What's your issue?

@nmlinaric What's your issue?

Not 100% sure if winston-loki typings are ok this way and having trouble with that TransportStream

@mpetrunic I've added GRAFANA_CONTAINER_NAME, GRAFANA_CONTAINER_PORT, WINSTON_LOKI_CONTAINER_NAME, WINSTON_LOKI_CONTAINER_PORT env variables for setting them on the server in containers, are we going to need them or are they excess?

We are missing error logs here: https://github.com/NodeFactoryIo/node-ts-starter-fastify/blob/816798ce86cb1a19d7165bd1c8dbae6b3ef4a37c/src/services/logger/fastify.ts#L30.
Should be like this: https://github.com/NodeFactoryIo/aument-backend/blob/43fca025aeaf4dd2f8494231c5b2e451ad649422/src/services/logger/fastify.ts#L34


METRON-1930: Update webpack-dev-server in Alerts UI

Contributor Comments
After running npm audit in the Alerts UI, it looks like we need to update our version of webpack-dev-server.
Testing
Be sure your local master branch is up-to-date. From the terminal, change directories to metron/metron-interface/metron-alerts. Run npm ci, then npm audit. You should see a message notifying you of 1 vulnerability.
To test the fix, clone and switch to this PR branch locally, run npm ci, then npm audit. The report should return with 0 vulnerabilities.
Link to vulnerability report: https://www.npmjs.com/advisories/725
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

Have you written or updated unit tests and or integration tests to verify your changes?

If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

I went through the testing guide and it worked as expected. 👍

@nickwallen I just spun-up Full Dev with no problems. Thanks again to you and @ruffle1986 for reviewing my work!


Remove old ProfileViewController.

What
Removed old ProfileViewController.
Why
The ViewController was no longer being used, but the codebase still had some logic applied to it, what caused a bug where, due a Config decoding error, the old profile (blank screen) was being shown instead of the BackerDashboardViewController.
How
delete, delete, delete

 Support DEV Bug: P1: [iOS] Profile section on app is empty.

 Remove ProfileViewController feature flag (and remove the unused VC)


License not specified

Hey @jamarino, first, kudos for creating this library!
It seems that the project contains no license.
There is a MIT license link in the NuGet page that navigates to https://licenses.nuget.org/MIT, which is generic license text with placeholders.
AFAIK, no one can legally use your library until there is an explicit license that allows otherwise.
Could you please add a LICENSE file to the project?

Hi @felix-b!
Thank you for raising this, I did not realise that was an issue. I'll be sure to look into that and fix it ASAP!


Terminal layout changes when open developer tools.

Issue Type: Bug
Terminal layout changes when open developer tools.

VS Code version: Code 1.28.1 (3368db6750222d319c851f6d90eb619d886e08f5, 2018-10-11T18:13:53.910Z)
OS version: Windows_NT x64 10.0.17134

Haven't tested when use Powershell or Bash.

In the animated GIF I can see that the terminal adjust its layout to the smaller space, which is correct. Do I overlook another problem?

@egamma If you take a look at the second screenshot below the GIF, it appears that the terminal doesn't properly resize itself back once it's no longer "squeezed".

This is likely related to winpty, tracking in https://github.com/Microsoft/vscode/issues/45693


Suggestion: Add to SpigotMC/Hangar?

Could we get plugin releases pushed to SpigotMC and/or Hangar?

Hey there, and again thank you for showing interest in my work!
Yes, I am very much planning on releasing my plugins not only on SpigotMC, but also on Modrinth, Hangar, and the like - I want to get them into as many hands as possible.
Please note that this software is still in its early development-phase, where I can neither guarantee the absence of bugs, the validity of documentation, nor the stability of any APIs or configuration-schemes; once things have settled, I will make sure to properly advertise and release my work.
There are still a few items on my to-do list, but I believe that I could take care of them within the next few days. Progress has stalled a bit lately, due to complications caused by my mental health challenges; I'll give my best to finish up as soon as possible.


'sh' alias should run bash in POSIX compat mode

Hello. /bin/sh historically used to be (and continues to be on some distros) a POSIX or "Bourne" shell specifically, for this reason when bash executes shell script with a /bin/sh shebang, it enters "POSIX mode". Specifying "sh" as a language in the bot doesn't invoke such behavior and runs a standard bash instead of this.
The suggestion is for "sh" alias to run "bash --posix $@" instead. This would be very helpful to have.

https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html

Interesting!
I'm wondering why does the backend itself doesn't do that. Maybe this should be an issue on piston itself?
If not, I'd be happy to look into this.

Thanks for considering this. I've never used Piston itself, I will have to investigate that.


Route modify with station UIDs

How to

Others

[ ] It's not a hack or at least an unauthorized hack :).
[ ] The images added are optimized.
[ ] Everything in ticket description has been fixed.
[ ] The author of the MR has made its own review before assigning the reviewer.
[ ] The title means something for a human being.
[ ] The title contains [WIP] if it's necessary.
[ ] Labels applied. if it's a release? a hotfix?
[ ] The new class' members & methods are well documented
[ ] Tests added.

@danji90  is this PR still relevant ? or can we close it ?

@danji90 ping


Install OpenSSL on AppVeyor using Chocolatey

Oh, it seems like the full version is needed. Never mind, then...


Final unaries set (renamed from set2 to the final name)

@giovannipizzi regarding your last commit. You think then that png is good format for the paper as well? Or will we explore a way to obtain a pdf?


examples: Add todopluid which shows prefixed ULID (PULID) example.

This includes an example that uses prefixed ULIDs as ids.
Prefixed ULIDs or (PULIDs) include a two-byte prefix that indicates which type is being referenced by the identifier which removes the need to reference a lookup table to derive type from an ID.
This type of ID scheme may be familiar to users of Twilio APIs which include a prefix that encodes the entity type.

Hey @tmc and thanks a lot for your contribution.
3 comments/questions:

Can you elaborate what does pulid mean? I didn't find any reference about it
What do you think about using a popular package like oklog/ulid for this example?
Maybe add additional info about it on some README file or create a patch for updating the doc for entgo.io

Update:

Can you elaborate what does pulid mean? I didn't find any reference about it

pulid -> Prefixed ULID?

Yes, pulid == Prefix ULID.
oklog/ulid is a great package, I am using it in ent/schema/pulidgql/puplidgql.go (I'm going to rename this package to just pulid, FWIW).
I have a very small package that wraps oklog/ulid here: https://github.com/tmc/pulid. Let me know if you think it's more appropriate to put a small pulid package into ent-contrib instead of referencing that package.
I'd be happy to extend the docs to reference this approach, let's get the code into a better place and arrive at where a pulid package should live. Happy to follow on with a docs update.

Hey @tmc and thanks a lot for your contribution.
3 comments/questions:

Can you elaborate what does pulid mean? I didn't find any reference about it
What do you think about using a popular package like oklog/ulid for this example?
Maybe add additional info about it on some README file or create a patch for updating the doc for entgo.io

Update:

Can you elaborate what does pulid mean? I didn't find any reference about it

pulid -> Prefixed ULID?

Yes, pulid == Prefix ULID.
oklog/ulid is a great package, I am using it in ent/schema/pulidgql/puplidgql.go (I'm going to rename this package to just pulid, FWIW).
I have a very small package that wraps oklog/ulid here: https://github.com/tmc/pulid. Let me know if you think it's more appropriate to put a small pulid package into ent-contrib instead of referencing that package.
I'd be happy to extend the docs to reference this approach, let's get the code into a better place and arrive at where a pulid package should live. Happy to follow on with a docs update.

Added some improvements, unfortunately this has the issue of the type assertion here:
	// todo.DefaultID holds the default value on creation for the id field.
	todo.DefaultID = todoDescID.Default.(func() pulid.ID)

failing because of the DefaultFunc in the todo.go schema requiring a func() string -- recommendation on how to address?

Added some improvements, unfortunately this has the issue of the type assertion here:
	// todo.DefaultID holds the default value on creation for the id field.
	todo.DefaultID = todoDescID.Default.(func() pulid.ID)

failing because of the DefaultFunc in the todo.go schema requiring a func() string -- recommendation on how to address?

Wonderful @tmc. Can you please add a few words about this example in https://entgo.io/docs/graphql/#examples?

Absolutely! I'll get a PR opened to do that.

Wonderful @tmc. Can you please add a few words about this example in https://entgo.io/docs/graphql/#examples?

Absolutely! I'll get a PR opened to do that.


Sharing state inbetween activities

Is it possible to share state inbetween activites? I get errors when trying to access a viewmodel in an activity.

I would be surprised if you can. MxRx relies on Jetpack ViewModel and Google recommends using a single Activity approach because you can share ViewModel.

@jQrgen No, MvRx does not support this out of the box. If you want to build your own system or have a ViewModel on your Application/Dagger graph, you can do that as you see fit.

So if i use MvRxViewModel for keeping a global state such as the state of a user i should just initiate it in the fragment identified in nav_graph.xml's app:startDestination=""?
What do you guys use for approaching this?

@jQrgen Well if you want it to persist across activities, you can't instantiate it in a Fragment. You can try having one in your dagger/DI graph with a @Singleton scope or something.


/usr/bin is protected on OSX El Capitan

Update install script to install into /usr/local/bin instead of /usr/bin

Updated, thanks


Determining if hashes exist

For cloud-only Azure AD environments, users must reset/change their password in order for the required password hashes to be generated and stored in Azure AD.

Is there a way via powershell or otherwise to determine which accounts have the required hashes, and which don't? For example, for a customer that implemented AADDS a year ago, determine which users have already changed their passwords, and which users have not since AADDS was added.  This would allow targeting of the users that still need to reset passwords without inconveniencing those that already have. If this is possible, adding information on how to check this would be beneficial.

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

ID: 80784d9f-1c4d-00ed-dc71-033ae276b267
Version Independent ID: 940da10a-71c3-300b-2187-c34b44add22b
Content: How synchronization works in Azure AD Domain Services
Content Source: articles/active-directory-domain-services/synchronization.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @Justinha
Microsoft Alias: justinha

@Toasty66
Thanks for your feedback! We will investigate and update as appropriate.

@Toasty66
Thank you for your time and patience! I've reached out to our engineering team regarding this and will update as soon as possible.

@Toasty66
Thank you for your time and patience! I've reached out to our engineering team regarding this and will update as soon as possible.

About the only option I've found is to get a list of all user's last password change date. Any change date after the golive of AADDS would suggest the hash should exist. It's not perfect as being able to check for the hash being absent/present, but it is something.
Get-MsolUser -All | Select DisplayName,UserPrincipalName,LastPasswordChangeTimeStamp |
Export-CSV "C:\LastPasswordChangeInfo.csv" -NoTypeInformation -Encoding UTF8

@Toasty66
Thank you for your time and patience! I received a response from our engineering team and will post it below.
Update:
The only way to get this information is either through password last change in Azure AD or looking at the value of pwdlastset attribute for users in Azure AD Domain Services.
Since there's no way to determine which accounts have the required hashes, and which don't - besides looking at the password last changed info, I'll go ahead and close out this issue.
Thank you again for your time and patience throughout this issue.


Hardcoded location value in policy definition

policy_definition_es_deploy_asc_standard.json contains hardcoded 'northeurope' value on "location" at line 126. Should this be a variable?

Thank you for reporting this @tohov.
This particular value is only controlling the location of the deployment, although I agree this should probably also match the location of the resource(s) being deployed by this policy.
We are due a policy refresh shortly so I will look to ensure this is addressed as a part of that.

Thank you for reporting this @tohov.
This particular value is only controlling the location of the deployment, although I agree this should probably also match the location of the resource(s) being deployed by this policy.
We are due a policy refresh shortly so I will look to ensure this is addressed as a part of that.

This appears to be blocked due to a platform limitation. Will continue to track progress though, so leaving issue open for now.

I'm trying to deploy this to AzureGov and getting a lot of these types of errors and thinking it's related to the hard coded locations
Error: reading Policy Definition "9d2b61b4-1d14-4a63-be30-d4498e7ad2cf": policy.DefinitionsClient#GetBuiltIn: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="PolicyDefinitionNotFound" Message="The policy definition '9d2b61b4-1d14-4a63-be30-d4498e7ad2cf' could not be found."
│
│   on .terraform/modules/enterprise_scale/locals.policy_assignments.tf line 148, in data "azurerm_policy_definition" "external_lookup":
│  148: data "azurerm_policy_definition" "external_lookup" {

@krowlandson I think you are correct.  In Azure commercial I can see the policy

$ az cloud set -n AzureCloud
Switched active cloud to 'AzureCloud'.

$ az policy definition show --name "9d2b61b4-1d14-4a63-be30-d4498e7ad2cf"
{
  "description": "This policy deploys the Log Analytics agent to Linux Azure Arc machines if the agent isn't installed.",
  "displayName": "[Preview]: Deploy Log Analytics agent to Linux Azure Arc machines",
  "id": "/providers/Microsoft.Authorization/policyDefinitions/9d2b61b4-1d14-4a63-be30-d4498e7ad2cf",
...

But AzureGov....
$ az cloud set -n AzureUSGovernment
Switched active cloud to 'AzureUSGovernment'.

$ az policy definition show --name "9d2b61b4-1d14-4a63-be30-d4498e7ad2cf"
The policy definition '9d2b61b4-1d14-4a63-be30-d4498e7ad2cf' could not be found.

I'm hoping I can export the definitions from commercial and import into my gov tenant.  Any advice before I get down a rabbit hole? I'm happy to work through this and document my work in this repo. Would you like me to open a new issue to continue this conversation?

@sandman-battelle

I'm hoping I can export the definitions from commercial and import into my gov tenant. Any advice before I get down a rabbit hole?

Unfortunately that won't help as the scope of custom Policy Definitions will be different from built-in. It seems unfortunately that the GUIDs do not match across Clouds.
Assuming the "correct" policy is available in AzureGov, you're better off creating a copy of the failing Policy Assignment(s) in your custom lib, and updating the policyDefinitionId in the template to point to a valid policy.
I don't think there's much I can do from this side at the moment, but please raise an issue and I'll see whether we can add a switch for different Clouds to automate the re-mapping of IDs.

Closing issue as stale and no updates forthcoming from the platform to help resolve this.


Taunt

What about some taunt binds with specific distance to play audio?

I implemented something similar on my fork here https://github.com/FALL1N1/FiveM-Prophunt, the hotkey is "R" and it plays ogg sounds depending on the distance.. currently looking if I can make it "surround-like"


Nebra Error Miner Rpc Unavailable

Hello. My device has had the message Miner RPC Unavailable from 03.02.2022.
I restarted, reboot, stopped, turned on, the same message.I physically check inside seems okay.
Some intruction how to resolve?
Please help.

This is not a support forum. Please contact<EMAIL_ADDRESS>


Add bindings for VisualViewport

Add bindings for VisualViewport(MDN, specification).
I think the comment about SameObject above window.screen might also apply to window.visualViewport. For now, I just copied the IDL from the specification.

@DanielleHuisman I noticed VisualViewport was missing and found this. Thanks!

@rustwasm How does this look to you?

In the meanwhile, I'll use a fork. But I'm not clear on the syntax. What do I write in Cargo.toml to specify a Github fork to provide web-sys? -- given that web-sys lives in wasm-bindgen?

I've answered my own question.
First Attempt (Not Enough)
If one only specifies the git repository of a fork in Cargo.toml you will likely see an error like this:
% cargo build
    Updating crates.io index
error: failed to select a version for `wasm-bindgen-shared`.
    ... required by package `wasm-bindgen-macro-support v0.2.92 (https://github.com/xpe/wasm-bindgen?branch=feature/visual-viewport#0710b292)`
    ... which satisfies git dependency `wasm-bindgen-macro-support` (locked to 0.2.92) of package `wasm-bindgen-macro v0.2.92 (https://github.com/xpe/wasm-bindgen?branch=feature/visual-viewport#0710b292)`
    ... which satisfies git dependency `wasm-bindgen-macro` (locked to 0.2.92) of package `wasm-bindgen v0.2.92 (https://github.com/xpe/wasm-bindgen?branch=feature/visual-viewport#0710b292)`
    ... which satisfies git dependency `wasm-bindgen` (locked to 0.2.92) of package `web-sys v0.3.69 (https://github.com/xpe/wasm-bindgen?branch=feature/visual-viewport#0710b292)`
    ... which satisfies dependency `web-sys = "^0.3.69"` (locked to 0.3.69) of package `ais-graph v0.1.0 (/Users/xpe/ixe/web/ais-graph)`
versions that meet the requirements `=0.2.92` (locked to 0.2.92) are: 0.2.92

the package `wasm-bindgen-shared` links to the native library `wasm_bindgen`, but it conflicts with a previous package which links to `wasm_bindgen` as well:
package `wasm-bindgen-shared v0.2.92`
    ... which satisfies dependency `wasm-bindgen-shared = "=0.2.92"` of package `wasm-bindgen-macro-support v0.2.92`
    ... which satisfies dependency `wasm-bindgen-macro-support = "=0.2.92"` of package `wasm-bindgen-macro v0.2.92`
    ... which satisfies dependency `wasm-bindgen-macro = "=0.2.92"` of package `wasm-bindgen v0.2.92`
    ... which satisfies dependency `wasm-bindgen = "^0.2.92"` of package `ais-graph v0.1.0 (/Users/xpe/ixe/web/ais-graph)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the `links = "wasm_bindgen"` value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `wasm-bindgen-shared` which could resolve this conflict
``

## Solution

Instead as recommend (see links at bottom), the `[patch]` section of `Cargo.toml` is needed.

With that in mind, here is how I use my fork of `web-sys`:

```toml
[package]
name = "project-name"
version = "0.1.0"
edition = "2021"

[dependencies]
console_error_panic_hook = "0.1.7"
wasm-bindgen = { version = "0.2.92" }
web-sys = { version = "0.3.69", features = [
    "Document",
    "Element",
    "VisualViewport",
    "Window",
] }

[patch.crates-io]
wasm-bindgen = { git = "https://github.com/xpe/wasm-bindgen", branch = "feature/visual-viewport" }
web-sys = { git = "https://github.com/xpe/wasm-bindgen", branch = "feature/visual-viewport" }

Relevant docs and issues

https://github.com/rust-lang/cargo/issues/1462
https://github.com/rustwasm/wasm-bindgen/issues/2451
https://doc.rust-lang.org/1.75.0/cargo/reference/overriding-dependencies.html#the-patch-section

@Liamolucko @daxpedda I see that you both are recent active contributors. Could you help @DanielleHuisman and I get this PR merged? Much appreciated.

I added a changelog entry. Hope it's all good now :)


[stable/wordpress] Bump WordPress version

Update WordPress image version to 4.7.1-r0
Update chart to 0.4.1

LGTM

Closing in favour of #494