[8.x] fix JsonResponse::fromJasonString() double encoding string

The Illuminate\Http\JsonResponse class inherits a static fromJsonString() method from the base Symfony\Component\HttpFoundation\JsonResponse class for creating a JsonResponse from an already encoded JSON string, but because of changes to the constructor signature it does not perform as expected, returning a response with the provided string reencoded as a literal string. While you can achieve the desired result like so:
$response = new JsonResponse();
$response->setJson($jsonString);

(and that's probably the preferred way to do it anyway) it seems wrong to just leave the broken function there.

Why did you need to redefine fromJsonString at all? It's method body is the same as the parent class so couldn't you just let the parent class define it?

I hope I'm not missing something obvious, but the parent class method doesn't work because of the extra $options parameter that was added to the laravel implementation's constructor
return new static($data, $status, $headers, true); in the original
vs
return new static($data, $status, $headers, 0, true); in the new one
The test I added doesn't pass without the redefined fromJasonString.

Ah, gotcha.


Change UI PrintTable to return error rather than panic when column header missing

This is mostly a duplicate of the stale PR #358
Fixes issue #334
Feel free to accept the other PR and close this if preferable.

+1, I just hit this issue.


Enhance CLI validation

Is this a bug report?
No, we've reverted #6080, but want to continue this work in the near future.
Steps to Reproduce
Create an application using npx create-react-app option1 option2 option3. A project called option1 is created, and other arguments are ignored without user feedback.
Expected Behavior
When creating an application with npx create-react-app [options], I should be warned if an option doesn't exist or is invalid.
Actual Behavior
When creating an application with npx create-react-app [options], I can pass in non-existent arguments.

@mrmckeb @iansu I would love to address this. Could you guide me on an effective way to handle those arguments as you intend :thinking:


Update semanticdb-scalac to 4.4.14

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "semanticdb-scalac" } ]

labels: library-update, semver-patch

Superseded by #124.


Proposed Main

This work combines the ideas from #1 and #2 to establish a tuxedo core as well as an example node that includes several pieces.
This should NOT be squashed because we want to keep all the history. In fact, if we agree to it, we should just push it to main with the cli rather than using the github ui.

Most of this was merged through the CLI. I'll close this and the remaining work here can be a separate PR.


⚠ Bofrost.de has degraded performance

In 1d9ab63, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1048 ms

Resolved: Bofrost.de performance has improved in decec25.


auto terminal cd

Based on https://github.com/Microsoft/vscode/issues/12094 I believe my productivity would increase if there would be a setting that the current active terminal would follow you around by automatically cd to the file directory you are working on or is selected without having to right click, open in terminal. Maybe a sticky icon in the terminal bar you can toggle on or off.

Request in an extension here: https://github.com/Tyriar/vscode-terminal-here/issues/9


deCONZ not connecting with Raspbee 2

I've been trying to get a RaspBee 2 installed on a Raspberry 3B+ properly for a while now. At first the RTC didn't work, but after a clean image finally got it to work. Now it is not possible to connect the CONZ to the RaspBee 2; with the ConBee everything worked perfectly.
I'm a bit desperate now because I replaced the ConBee with 2 RaspBee 2 modules and I can't get it to work........
Have no idea what else I can do now.
Any suggestions?

There are some extra installation steps needed for the RaspBee2:
 sudo raspi-config

Interfacing Options → Serial
Would you like a login shell accessible over serial? → No
Would you like the serial port hardware to be enabled? → Yes

Perhaps rebooting the RaspBee2 with the command could help: sudo GCFFlasher_internal -r
Or you need to update deCONZ and/or the Raspbee2 FW:
https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Update-deCONZ-manually#update-in-raspbian

Chris,
many thanks!
The problem (I think) was rebooting the raspbee. After that updating was no problem any more and everything works fine now,


Register UpdatableCholeskyFactorizations.jl

@JuliaRegistrator register
Release Notes:

updatable_cholesky can now take a Cholesky or CholeskyPivoted struct as input

Registration pull request created: JuliaRegistries/General/60147
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.0 -m "<description of version>" 0401d6b6dfb8e376b55765cfa7d752e1e9bb218c
git push origin v1.1.0

@JuliaRegistrator register
Release Notes:

Added fallback of constructor for arbitrary Factorization inputs


feat: Implementing the Polynomial long division algorithm

Why?
I want to add operator/ on Algebraic to allow the division of a polynomial by another. Currently, an user can only perform +, - and * on a polynomial. I want to add the division too.
What?
The division of a polynomial by another one is made using the Polynomial long division algorithm. I have created the PolynomialLongDivision class to deal with divisions on polynomials 🚀
Types of Changes

New feature (non-breaking change which adds functionality)
Documentation change (change to update documentation)

Notes
In this PR I am also fixing some minor documentation errors and improving some code 😄
Checklist

[x] I have provided a description of the proposed changes.
[x] I added unit tests for all relevant code.
[ ] I added golden tests for all UI changes.
[x] I added documentation for all relevant code.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6373710). Click here to learn what that means.
The diff coverage is 89.11%.

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage          ?   99.05%
=========================================
  Files             ?       47
  Lines             ?     1693
  Branches          ?        0
=========================================
  Hits              ?     1677
  Misses            ?       16
  Partials          ?        0

Impacted Files
Coverage Δ

lib/src/algebraic/types/constant.dart
100.00% <ø> (ø)

lib/src/algebraic/types/linear.dart
100.00% <ø> (ø)

lib/src/nonlinear/nonlinear.dart
100.00% <ø> (ø)

lib/src/nonlinear/utils/integration.dart
100.00% <ø> (ø)

.../src/nonlinear/utils/results/integral_results.dart
100.00% <ø> (ø)

...src/nonlinear/utils/results/results_nonlinear.dart
100.00% <ø> (ø)

lib/src/system/system.dart
100.00% <ø> (ø)

lib/src/system/types/sor.dart
100.00% <ø> (ø)

lib/src/utils/complex/complex.dart
100.00% <ø> (ø)

...exceptions/types/poly_long_division_exception.dart
50.00% <50.00%> (ø)

... and 28 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6373710...e42f243. Read the comment docs.


use of neo-minimap in .tex files

Hi, I am trying to run the plugin in *.tex files but I have the following error "E490: no fold found", any suggestion?, in other languages it works fine

Well, that errors occurs when you try pressing "zo" right? Can you give me the .set function to inspect it?

Yes, when I press "zo" I get that error, with "zu" it doesn't work but the error doesn't come out, I guess it must be a problem with my queries?

Hi @davidluna-fn , please update the plugin, I've made a small change for it to work.
Also please add events = "BufEnter" to your .set call, like:
nm.set({ "zo", "zu" }, "*.tex", {
	events = { "BufEnter" },
	query = {},
	regex = {
		{ [[\\section]], [[\\subsection]], [[\\subsubsection]] },
		{ [[\\begin{.*}]] },
	},
})

works perfect, thanks. the plugin is great


Small fixes in dashboard template

Coverage remained the same at 65.159% when pulling af38aa9d90070a5218864af6c3013b8409c0ccdf on kvasenko:master into 421f9f073eae0c1b464ca8b13229e580fcfcd4a5 on bluzphp:master.


feat: Add example with stateful disks in stateful policy

Description
Fixes b/216660539
Note: If you are not associated with Google, open an issue for discussion before submitting a pull request.
Checklist
Readiness

[x] Yes, merge this PR after it is approved
[ ] No, don't merge this PR after it is approved

Style

[x] My sample follows the rules described for Terraform in the Effective Samples style guide
[x] My sample follows the other requirements and best practices in the Contributing
guide

Testing

[x] I have performed tests described in the Contributing guide:

[x] Tests pass: terraform apply
[x] Lint pass: terraform fmt check

Intended location

[x] Yes, this sample will be (or already is) included on cloud.google.com
Location(s):https://cloud.google.com/compute/docs/instance-groups/configuring-stateful-disks-in-migs#configuring_stateful_disks_on_mig_creation

[ ] No, this sample won't be included on cloud.google.com
Reason:

API enablement

[x] If the sample needs an API enabled to pass testing, I have added the service to the Test setup file

Review

[x] If this sample adds a new directory, I have added codeowners to the CODEOWNERS file

/gcbrun


Back to top link

Adding the link "back to top" on the rest of the summary parts.

Hey, I truly believe there is no need for more "back to top" buttons.
Thank you for the time!


[Bugs] Old PFCP Session left in SMF and UPF

Describe the bug
If PDU Session is established without releasing previous PFCP session, PDUSessionResourceSetupRequest message is sent when sending DL data with the IP address of the previously allocated UE.
To Reproduce

Initial Registration ~ establish PDUSession
AN Release(UE Context Release Request ~ UE Context Release Complete)
Initial Registration ~ establish PDUSession(same UE as 1.)
Sending DL data with the IP address of the previously(1.) allocated UE

Expected behavior
Release old PFCP Session and not sending PDUSessionResourceSetupRequest message.
Environment (please complete the following information):

free5GC Version: 3.0.6
OS: Ubuntu 18.04
Kernel version: 5.0.0-23-generic
go version go1.14.4 linux/amd64

PCAP File
Bugs_OldPFCPSessionLeft.zip
Additional context
I have sent a PR.

The merged https://github.com/free5gc/smf/pull/34 solved the same issue.
Anyway, thanks for the PR.


Engine Paragraph Painter Renders Whitespace-only Lines Incorrectly

In short, the Flutter engine uses the ParagraphStyle to compute the line metrics of lines that contain only whitespace, even when a TextStyle with a non-null fontSize different from the ParagraphStyle.fontSize has been pushed to the style stack.
I would expect that when there is a style on the stack, the engine would use that style first to compute the line metrics, and then fall back on the ParagraphStyle if the required style values aren't present.  Updating this behavior would match the behavior of most modern text renderers.
This issue primarily affects the RichText and Text.rich widgets in Flutter, since these are the only text widgets that can modify the TextStyle mid-paragraph.
Here is the engine code where the problem arises: https://github.com/flutter/engine/blob/main/third_party/txt/src/txt/paragraph_txt.cc#L1132-L1142
I've included the code sample as a reproducible visual example of the engine issue. See the attached screenshot for the result of running that code sample. Note the differences in line height between the two sets of text on the whitespace-only lines. The bottom set of text matches the expected behavior, but only because we printed actual text on the "whitespace-only" lines.
Steps to Reproduce

Execute flutter run on the code sample
See the difference in the whitespace-only lines between the top and the bottom lines of text in the paragraph
The bottom run of text has the expected fontSize for the 'newline' characters, but only because we actually painted text on each line

Expected results:
The paragraph painter ought to paint the whitespace-only lines with line metrics calculated from the topmost fontSize and typeface in the style stack, falling back on the ParagraphStyle if the value doesn't exist.
Actual results:
The paragraph painter uses the ParagraphStyle to calculate the line metrics of whitespace-only lines.

Code sample
import 'dart:ui' as ui;

import 'package:flutter/material.dart';

void main() => runApp(DemoApp());

class DemoApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: SingleChildScrollView(
        child: Container(
          width: double.infinity,
          height: 1000,
          child: CustomPaint(painter: ParagraphPainter()),
        ),
      ),
    );
  }

}

class ParagraphPainter extends CustomPainter {
  final blackPaint = Paint()..color = Colors.black;

  @override
  void paint(Canvas canvas, Size size) {

    //Just use the default
    final paragraphStyle = ui.ParagraphStyle();

    final paragraphBuilder = ui.ParagraphBuilder(paragraphStyle);
    buildParagraph(paragraphBuilder, Size(size.width, size.height));

    final paragraph = paragraphBuilder.build();
    paragraph.layout(ui.ParagraphConstraints(
      width: size.width,
    ));

    //Draw a black background so we can see the text
    canvas.drawRect(
      Rect.fromLTWH(0, 0, paragraph.width, paragraph.height),
      blackPaint,
    );

    canvas.drawParagraph(paragraph, Offset.zero);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) => false;

  void buildParagraph(ui.ParagraphBuilder builder, Size constraints) {
    final mediumStyle = ui.TextStyle(
      fontSize: 25,
    );

    final largeStyle = ui.TextStyle(
      fontSize: 50,
    );

    //Starting a new run:
    builder.addText("Before any styling\n");
    builder.pushStyle(mediumStyle);
    builder.addText("After medium text style pushed\n");
    builder.addText('\n\n');
    builder.addText("↑ 2 'empty' lines\n");
    builder.pushStyle(largeStyle);
    builder.addText("After large text style pushed\n");
    builder.addText('\n\n');
    builder.addText("↑ 2 'empty' lines\n");
    builder.pop();
    builder.addText("After large text style popped\n");
    builder.pop();
    builder.addText("After all styles popped\n");
    //End of example

    builder.addText('\n\n');
    builder.addText("Again, but with text added with every newline:");

    //Now, do the same, but with a little bit of text added to each previously blank line
    builder.addText("Before any styling\\n\n");
    builder.pushStyle(mediumStyle);
    builder.addText("After medium text style pushed\\n\n");
    builder.addText('\\n\n\\n\n');
    builder.addText("↑ 2 'empty' lines\\n\n");
    builder.pushStyle(largeStyle);
    builder.addText("After large text style pushed\\n\n");
    builder.addText('\\n\n\\n\n');
    builder.addText("↑ 2 'empty' lines\\n\n");
    builder.pop();
    builder.addText("After large text style popped\\n\n");
    builder.pop();
    builder.addText("After all styles popped");
    //End of example
  }
}

Logs

[+1454 ms] Observatory URL on device: http://<IP_ADDRESS>:58005/-dHL07jtyt8=/
[   +7 ms] Caching compiled dill
[  +40 ms] Connecting to service protocol: http://<IP_ADDRESS>:58005/-dHL07jtyt8=/
[ +217 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at
http://<IP_ADDRESS>:58005/-dHL07jtyt8=/.
[  +91 ms] DDS is listening at http://<IP_ADDRESS>:58008/CM_nlgW0H10=/.
[  +68 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:58005/-dHL07jtyt8=/
[  +32 ms] DevFS: Creating new filesystem on the device (null)
[  +21 ms] DevFS: Created new filesystem on the device
(file:///var/folders/wm/z0n892ps46x71lsw0ht0_qt40000gn/T/com.sub6resources.flutterHtmlDemo/flutter_html_demowakU5L/flutter_html_demo/)
[   +3 ms] Updating assets
[ +131 ms] Syncing files to device macOS...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[        ] Processing bundle.
[   +1 ms] <- recompile package:flutter_html_demo/html_painter.dart 3f3fec39-4357-43eb-875a-f8150a6be8a4
[        ] <- 3f3fec39-4357-43eb-875a-f8150a6be8a4
[   +3 ms] Bundle processing done.
[ +128 ms] Updating files.
[        ] DevFS: Sync finished
[   +2 ms] Syncing files to device macOS... (completed in 136ms)
[        ] Synced 0.0MB.
[   +2 ms] <- accept
[   +3 ms] Connected to _flutterView/0x7fb247054020.
[   +4 ms] Flutter run key commands.
[   +2 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[   +1 ms] An Observatory debugger and profiler on macOS is available at: http://<IP_ADDRESS>:58008/CM_nlgW0H10=/
[ +537 ms] The Flutter DevTools debugger and profiler on macOS is available at:
http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:58008/CM_nlgW0H10=/
[+9326 ms] Service protocol connection closed.
[        ] Lost connection to device.
[   +4 ms] DevFS: Deleting filesystem on the device
(file:///var/folders/wm/z0n892ps46x71lsw0ht0_qt40000gn/T/com.sub6resources.flutterHtmlDemo/flutter_html_demowakU5L/flutter_html_demo/)
[ +255 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed
[   +5 ms] "flutter run" took 32,670ms.
[ +255 ms] ensureAnalyticsSent: 252ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

Analyzing paragraph_painter.dart...
No issues found! (ran in 1.7s)

[✓] Flutter (Channel stable, 3.0.5, on macOS 12.5 21G72 darwin-x64, locale en-US)
    • Flutter version 3.0.5 at /Users/matthewwhitaker/Projects/FlutterDevelopment/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/matthewwhitaker/Library/Android/sdk
    • Platform android-31, build-tools 33.0.0-rc4
    • Java binary at: /Users/matthewwhitaker/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Users/matthewwhitaker/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8609683/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 3.6)
    • Android Studio at /Users/matthewwhitaker/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/192.6392135/Android
      Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.4)
    • IntelliJ at /Users/matthewwhitaker/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 69.0.4
    • Dart plugin version 221.6008.17

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.4)
    • IntelliJ at /Users/matthewwhitaker/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.6008.13/IntelliJ IDEA.app
    • 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.3)
    • IntelliJ at /Users/matthewwhitaker/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/221.5921.22/IntelliJ IDEA.app
    • 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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 104.0.5112.101

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

• No issues found!

Here is what the included code sample looks like upon rendering:

Let me know if you have any questions! I would like to submit a pull request soon, but don't currently have the time to get my machine set back up for development on the engine.

Hi @Sub6Resources, Thanks for filing the issue. I am  seeing the same behavior labeling this issue for further insights from the team

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

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

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

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

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

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

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

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.114

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

• No issues found!

[✓] Flutter version 3.1.0-0.0.pre.2186 on channel master at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 458c7b9c65 (12 days ago), 2022-08-10 03:19:07 -0400
    • Engine revision 75e17f1a6f
    • Dart version 2.19.0 (build 2.19.0-81.0.dev)
    • DevTools version 2.16.0

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

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

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

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

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

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

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 104.0.5112.79

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

• No issues found!

cc @jason-simmons

This has been fixed on the current Flutter master branch

May I ask if this issue has been resolved in Flutter version 3.3.10? Currently, in version 3.3.10, it has been found that the height of blank lines between paragraphs rendered on the same page is inconsistent compared to version 2.10.3


Unable to define the custom xmlns

Hi Dino,
I got a scenario where i need to define custom xmlns  . The xpath doesnot resolve.
Sample XML.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://eventtrigger.webservice.alerts.ctp.stp.com"> <Parameter> <ordinal>4</ordinal> <value>1647622651000</value> </Parameter> </soap:Envelope>
Apigee Xpath Policy ..
<JavaCallout async="false" continueOnError="false" enabled="true" name="Java_XPath">     <DisplayName>Java_XPath</DisplayName>     <Properties>         <Property name="source">message.content</Property>          <Property name="xmlns:soap">http://schemas.xmlsoap.org/soap/envelope/</Property>         <Property name="xpath:rcn">/soap:Envelope/Parameter/ordinal</Property>     </Properties>     <ClassName>com.google.apigee.callouts.ExtractXpath</ClassName>     <ResourceURL>java://apigee-xpath-20210409.jar</ResourceURL> </JavaCallout>
This fails with ...
xpath_error 	xpath does not resolve to one node. (length=0)
xpath_exception 	java.lang.IllegalStateException: xpath does not resolve to one node. (length=0)
But,
If i remove xmls from my XML as below, The xpath works fine.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > <Parameter> <ordinal>4</ordinal> <value>1647622651000</value> </Parameter> </soap:Envelope>
How do i resolve this ?

I think you want this
<JavaCallout  name="Java_XPath">
  <DisplayName>Java_XPath</DisplayName>
  <Properties>
    <Property name="source">message.content</Property>
    <Property name="xmlns:soap">http://schemas.xmlsoap.org/soap/envelope/</Property>
    <!-- specify a namespace and assign a prefix , so you can refer to it later, in the xpath -->
    <Property name="xmlns:ns1">http://eventtrigger.webservice.alerts.ctp.stp.com</Property>
    <!-- to refer to the Parameter and the ordinal elements, include the ns1 prefix -->
    <Property name="xpath:rcn">/soap:Envelope/ns1:Parameter/ns1:ordinal/text()</Property>
  </Properties>
  <ClassName>com.google.apigee.callouts.ExtractXpath</ClassName>
  <ResourceURL>java://apigee-xpath-20210409.jar</ResourceURL>
</JavaCallout>

The xmlns= attribute in your XML document specifies the default namespace. Because the <Parameter> element has no XML namespace explicitly declared, it inherits the default namespace of its parent element.  That namespace is http://eventtrigger.webservice.alerts.ctp.stp.com. Likewise the <ordinal> element has no xmlns= attribute, so it inherits the namespace from the default namespace of its parent.
Therefore, to specify an xpath that matches the Parameter element, you need to specify the namespace. Do that via a prefix that you define. The prefix in the xpath does not have to match a prefix in the XML document. In fact the document might not have a prefix at all, as in this case.
This is just one of those quirks of XML, Namespaces and their prefixes, and Xpath.

I'm going to close this one as answered & resolved.


Adding a method with a theory extension breaks @instance

GATs allow dispatching on types. Below theory T2 adds a new operation with the name h:
@theory T1 begin
  X::TYPE; h(a::X)::X
end
@theory T2<:T1 begin
  Y::TYPE; h(b::Y)::Y
end

@instance T1{Int} begin h(a::Int) = 1 end

There is a problem when trying to implement an instance of T2.
# ERROR #
@instance T2{Int,Bool} begin
  @import h
  h(b::Bool) = false
end

The @import keyword within the @instance macro is commonly used when something has been implemented already. However, in this case, we cannot @import h because then h(::Bool) is not one of the expected signatures and it errors upon seeing that line.
I'll upload a fix to this soon that is working locally: basically it changes what @import does within the instance macro. Rather than removing expected signatures, whenever we have leftover unimplemented signatures (such as h(::Int) in the case above) we check if the name of the method is in the imports and ignore the missing method error if so.

A more sophisticated approach would be syntax for @importing specific methods (with a particular signature) but that can be a further enhancement.


Add a Gitter chat badge to README.md

gdg-x/firefly now has a Chat Room on Gitter
@stefanhoth has just created a chat room. You can visit it here: https://gitter.im/gdg-x/firefly.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Will do another one as the position of this button is weird.


add hellofs, cleanup and document storage driver interface

A minimal hello world filesystem as an example for a read only storage driver.
I also documented the storage drive interface and deleted the unused GetHome and CreateHome functions.
To actually be able to use this in ocis I had to patch it as well. PRs incoming.

I am.missing any docs on how to actually use this when running reva/ocis.
Hints are welcome.


suggestion: consider using record markers in the packs

I have a suggestion for improving the long-temr resilience for the pack files - we should consider including record markers in the pack file (e.g. similar to the Fortran sequential file).
The main advantage is that this would allow extraction of the data without the SQLite database (the index) at all. For example, in the case of disk storage failure rendering the latter corrupted.
My understanding is that the current implementation simply concatenate the pack file with the stream, and record the offset and lengths in the SQLite database. Instead, a slight modification can be done when writing the stream, something like this:

Write a N bytes integer marker whose value is the record length
Write the actual data
Write a N bytes integer marker repeated - indicating the end of the record
Record the offset and the length of the object taking account of the record sizes.

In Fortran, N is actually compiler dependent, with N=4 a maximum record length of about 2GB but there is support for "sub-records", but this is mainly for backward compatibility with F77. One can also use a 8 byte marker so the maximum size can be greatly incrased, but this means some storage overheads would be involved. The sign of the integer may be used as a flag for compression or not, or one can include dedicicate bytes etc.
Now, I realised that a BIG difference here (compard to Fortran WRITE) is that the size of the object may be unkown before writing it, as it can just be stream when directly writting data to the pack. But we can just omit step one above, or make it a fixed value (for integrity check). and to reconstruct the index, we read the pack file backwards and find each object using the markers.
This would allow reconstruction of the SQLite index purely from the pack file. One first read the marker, then use the length to read the content (object), followed by the ending marker as a verification (optional). Then the hash can be computed for this object (uncompress it first if needed), and the offest, size, length, can be recorded into the new SQLite database.
I think the only part that would need to be updated in the code is to include the record mark(s) in the (_write_data_to_packfile_):
https://github.com/aiidateam/disk-objectstore/blob/7a09ea2a953f0b0dfa79a6688306c51a501f874b/disk_objectstore/container.py#L1245-L1251
and also the repack methods.
This approach should maintain full backward compatibility as the precise size, length and offsets are stored in the SQLite database, it is just that the old pack format would not be supported for reconstruction without the SQLite database.
Reference:

Pack format used by restic backup software that allows index reconstruction (we don't need to be as complicated as this, as they also need the data to be encrypted): https://restic.readthedocs.io/en/stable/100_references.html#pack-format
Some of fortran record format: https://traktofon.github.io/FortranFiles.jl/stable/files.html
Some python code for reading fortran record: https://github.com/zhubonan/castepxbin/blob/3b57e0b9470d4217afc599c96bbef4c132026263/castepxbin/castep_bin.py#L702-L740

Pinning @giovannipizzi @chrisjsewell

Summary of the dicussion:
Problem with the existing PR #125

The current implementation in #125 is not robust enough. In particular, if the file is truncated the or the process dies while the pack file is been written, using the tailing markers will not be able to recover all file records.
Using preceding markers of each record may help but: 1. we do not usually know the file size in the first place; 2. updating the markers can be dangerous, and is possible with the appending mode ; 3. it is still prone to truncation, or "hole" in the pack file.

Suggestions for the way foward:

Another way is to add a collection of markers at the end of the pack file, when the file is "sealed", e.g. no longer accepting new inputs. The markers can just contain the offsets stored in the SQLite database.
Such "sealed" pack file would have a data structure looking very similar to ZIP file.
We should investigate whether it makes sense to just make the "sealed" packes actually the ZIP files.
This means that  "unsealed" packs' indices cannot be reconstructed on their own, but there should be only a few of them in the data repository.

Some notes on ZIP format:
It would be ideal if the sealed pack is actually a ZIP files - this would make it very robust and accessible to wide avalaible softwares that can read ZIP.
The ZIP file have the following format:

Note that there present a both a LOCAL HEADER and a central directory in the end. When writing the pack file we may include the LOCAL HEADER, and the data descriptor since size and checksums are not know at the time the header is written. The header size may be something of concern? The LOCAL and the centre directory header for each record can approach 80 bytes - we should have some idea of what the average file sizes stored in the AiiDA usually is.
We can write the packs in a ZIP compatible format, without the central directory, which is only added at the end when the pack is "sealed". The latter opertions should be cheap, and there is no needed to update the offsets in the SQLite database.

Just want to say that I am working on this....

Cool, thanks! :-)
Probably it would be good to already introduce a table of packs, which contains the state of the pack (if missing from the table = current state, editable), and contains for this PR the state Sealed, and can also change to archived when working on #123). It might be good, after sealing, to also add a column with the full pack hash (same algorithm as the container itself?) that can be used for additional validation.

It would be also useful to check if one can avoid adding the local header for each file that will take a lot of space for many small objects. E.g. looking into alternative files? It's not clear to me e.g. if 7z requires them, see https://py7zr.readthedocs.io/en/latest/archive_format.html - if it does not, it might be a good idea to use that format instead of zip? -> we can always add the very first header when creating a new pack, that is easy, but the local headers are a bit more annoying

I had a look of the specification and I think it is a bit complex than ZIP. 7z does not require the local header because its main advantage is to be able to have a single "packed stream". e.g. solid compression to achieve better compression ratios, instead of ZIP compressing each file individually.
Anyhow I think having the local header is a good idea as it does add more robustness in case that the end of the file central directory is damaged. There are tools that can try to "repair" damaged zip files. At the moment, my rough estimate of the local header is aound 82 bytes (30 bytes + 20 bytes for ZIP64 + 32 bytes for filename (part of the hash, to be added when sealling) ) . The same information is repeated in the end of the file central directory. So if we switch to a format that does not have local headers, then the maximum space save is just about 50%.

One thing with ZIP is that the CRC check sum needs to be in the header. Since CRC is only avalaible after the data is written to the pack, it has to be stored somewhere and reused to seal the pack "sealed" - making a fully functioning ZIP file. One option is to keep it in the data descritpor file, an optional 20 bytes tailing marker. But I think we can get rid it and save the space, since the actual marker needs to be updated anyway.
I am wondering how difficult it would be to add a column to the SQLite table Obj. Ideally the CRC can be stored there. But I remember migrating SQLA might not be straightforward. If CRC is not avalaible, we can still get it by reading the data while sealing the pack file, but it can make the process much slower.
Now the header size is 30 bytes (mandatoray) + 20 bytes (ZIP64 support for files larger than 4GB) + 16 bytes (filename from part of the hash) = 66 bytes.
Would this be someting acceptable in exchange to have pack files compatible as ZIP archives?  @giovannipizzi @chrisjsewell

I don't think we should compute CRC on the fly or change the SQLite table.
I suggest we instead leave the correct number of bytes empty (e.g. set to 0x00 0x00 0x00...) before each section (or some other temporary marker) that is essentially ignored during normal usage; and during the sealing procedure we compute the CRC on the fly and other things that are needed, write it in the right place (so no need to rewrite the file), and seal the file (I tested on my laptop and CRC32 on ~6GB takes less than 3 seconds; I didn't check the cost of seeking and writing a lot of short byte sequences in an existing file though, but I imagine it's not impossibly slow, but I would guess slower than computing the CRC).
Then one just appends the ZIP final central directory and one is done?

Yes that would be a good way to do it. One thing to note is that the CRC is calculated for the uncompressed data, so if compression is used, the data needs to be uncompressed first. Assumming a thoughpout of 100MB per second, a 6GB file would take at least one minute to seal.

Alternatively we can just store the CRC computed on-the-fly tailing the record, e.g. taking 4 bytes space. During sealing we write it back in the local header. The resulting file should still be ZIP compatible.

I would be tempted to say that, while sealing, it wouldn't be a bad idea to validate the content recomputing the hashes (sha256), what do you think? (we already have a function for that). If we agree on this, then also computing the CRC is a little additional cost? (and we could modify the validate function to also compute the CRC on the fly?)

good point, I agree. Let's have the sealing operation also validate the hash and compute CRC - both can be done in the same time. The sealling process does not bring any down time - since the actual contents of the file remain unchanged. Hence, other process may access it for reading.


CheckboxInput component is not exported

Description
The Checkbox structure on the docs shows that the Checkbox component exports Checkbox, Indicator, and Input. However, the Input component doesn't seem to be exported.
Steps to reproduce

Import the Checkbox component from bits-ui.
Attempt to use the <Checkbox.Input> component.
Observe the error: Property 'Input' does not exist on type 'typeof import("/project-path/node_modules/bits-ui/dist/bits/checkbox/index")'.

Additional information

The Checkbox.InputProps is exported correctly.
The error message suggests that the Input component is not being exported from the bits-ui/dist/bits/checkbox/index file.

Expected behavior
The Input component should be exported and available for use as described in the docs.
Actual behavior
The Input component is not exported and attempting to use it results in an error.

Closed by #84 , thank you!


Add more demo keyboards

A couple of more demo keyboards that I'd like to have:

[ ] A keyboard that lets you toggle styles.
[ ] A keyboard with completely custom content, that just calls the action handler, feedback engine etc.
[ ] A Pro keyboard that lets you read all the text in a document.

I will do this eventually, but it doesn't need to have an issue.


SQLite database url is missing /

instance_database_uri = 'sqlite://%s' % sqlite_path
should be
instance_database_uri = 'sqlite:///%s' % sqlite_path

Done


Mysterious interaction with Jupyter/IPython causes deserialization to hang

Describe the bug
This bug is deeply, deeply cursed.
Somehow, the Jupyter environment interacts with phylotrackpy to cause deserialization to hang.
However, once you interrupt and run again it works fine.
To workaround, it is necessary to use multiprocess to perform phylotrackpy operations in a forked process.
To Reproduce
Steps to reproduce the behavior:
mv reproduce.ipynb{.json,}
jupyter nbconvert --execute --inplace reproduce.ipynb

Also occurs in interactive sessions.
out.csv
reproduce.ipynb.json

had to make JSON for GH issues upload compatibility

Expected behavior
A clear and concise description of what you expected to happen.
Notebooks should not hang when using phylotrackpy.
Screenshots
If applicable, add screenshots to help explain your problem.
Computational environment (please complete the following information):

OS: Fedora
Python version 3.10.4

Last updated: 2024-04-13T15:52:06.351382-04:00

Python implementation: CPython
Python version       : 3.10.14
IPython version      : 8.22.1

Compiler    : GCC 13.2.1 20240316 (Red Hat 13.2.1-7)
OS          : Linux
Release     : 6.8.4-200.fc39.x86_64
Machine     : x86_64
Processor   :
CPU cores   : 8
Architecture: 64bit

Git hash: 008cdf2d71f41e37c3f6b4539121ff39fb53310e

Git branch: debug2

phylotrackpy                      : 0.2.0
seaborn                           : 0.13.2
numpy                             : 1.23.5
alifedata_phyloinformatics_convert: 0.16.2
more_itertools                    : 9.1.0
pandas                            : 1.5.2
joblib                            : 1.3.2
teeplot                           : 1.0.1
keyname                           : 0.5.2

Watermark: 2.4.3

Additional context
Mostly adding this to the issue tracker so we can +1 it if encountered again.

Here is a simpler reproduction of the example.
reproduce.ipynb.json

Reproducible on github actions, see e.g., https://github.com/mmore500/wse-sketches/actions/runs/8675773517/job/23789562334


Putting html comment besides root element causes TypeError

Hi,
I am using the single file components and as soon as I put a html comment on the same level as the root element of my component, I get following error when I want to build the styleguide: TypeError: Cannot read property 'children' of undefined
Example:
<template>
  <!-- test -->
  <div> This is the root element of my component. </div>
</template>

vue-styleguidist/vue-styleguidist#267

@mob8607 can you follow this issue?

It seems to be a problem with vue-template-compiler.
I just posted an issue with the core team.
https://github.com/vuejs/vue/issues/9407
You can follow this one too if you want.

it is delivered in<EMAIL_ADDRESS>


Initial Module Version Commit

Description
This is this initial version of the resource group module.
-->
Type of Change

[ ] Non-module change (e.g. CI/CD, documentation, etc.)
[ ] Azure Verified Module updates:

[ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in locals.version.tf.json:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in locals.version.tf.json.
[ ] Breaking changes and I have bumped the MAJOR version in locals.version.tf.json.
[ ] Update to documentation

Checklist

[x] I'm sure there are no other open Pull Requests for the same update/change
[x] My corresponding pipelines / checks run clean and green without any errors or warnings
[x] I did run all  pre-commit checks

@mbilalamjad  adding for review as this is a new module being created. I have not published this yet.

@mbilalamjad, any update on this PR?

@mbilalamjad, any update on this PR?

@Azure/avm-core-team-technical-terraform looking for some assistance.

@Azure/avm-core-team-technical-terraform looking for some assistance.

@JFolberth @kevball2 this is in review and will update later this week

@JFolberth , @mbilalamjad  would one of you please re-run the test actions?

@JFolberth , @mbilalamjad the tests require someone's approval to start

Hey @kevball2  I approved the other day and the Action is hanging. My other Terraform modules seem to be running so I will follow up internally with the team.

Hey @kevball2 I approved the other day and the Action is hanging. My other Terraform modules seem to be running so I will follow up internally with the team.

Hey @JFolberth, the repo name is incorrect which results in the workflow not able to trigger the correct runner.

@segraef how long should we be waiting?

@lonegunmanb please let @JFolberth know once the runner pool was updated, thanks.


Support musl builds along with packaging

Package formats supported currently are archive (tar.gz) and deb.
Some documentation at: https://github.com/wayfair-tremor/tremor-runtime/tree/musl_plus_packaging/packaging

Currenty the build fails for musl with
error[E0308]: mismatched types
   --> /cargo/registry/src/github.com-1ecc6299db9ec823/simd-json-0.3.9/src/lib.rs:216:86
    |
216 | fn please_compile_with_a_simd_compatible_cpu_setting_read_the_simdjonsrs_readme() -> ! {}
    |    ----------------------------------------------------------------------------      ^ expected `!`, found `()`
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
    |
    = note:   expected type `!`
            found unit type `()`

Which is a bit surprising since based on the output the flags are set correctly.


Special WebExtensions in Firefox with embedded node.js

A new type of add-on is being proposed (in addition to Extensions, Themes and Plugins) that would allow non-reviewed (because the add-ons editors team workforce is not unlimited) applications to be installed in Firefox, with user appropriate warnings. Those applications would be technically similar to extensions, using the WebExtensions API, but also having access to a special native application: a Firefox-embedded node.js instance that would take its modules from within the application package. This would be an alternative solution to NW.js and Electron (both using Chromium) for developing multi-platforms applications based on Web technologies, with the additional benefit to allow some possible interaction with the browser (through the WebExtensions API).

References:

https://discourse.mozilla.org/t/webextensions-and-native-apps/23678/1
https://bugzilla.mozilla.org/show_bug.cgi?id=1425229

(This is a placeholder issue to track ongoing discussion at Mozilla, if it gets any traction we could see what can be delivered with these new powers. If not, we will just close this issue 🌵 )

Closing as this won't happen:


Firefox, IE10/11: Flex children that are taken out of the flow with position: absolute can incorrectly affect the flex layout with justify-content

When using justify-content: space-between (also fails with space-around) to align one element to the left and another to the right with a gap in the middle and adding a position: absolute element as a flex-child, the absolute element incorrectly affects the layout by being thought of as an actual flex-child.
Demo:
http://codepen.io/stowball/pen/eZqgdp

Button first - affects layout

    <button class="floating">top-left absolute</button>

left

right

Button in middle - doesn't affect layout

left

    <button class="floating">top-left absolute</button>

right

Button last - affects layout

left

right

    <button class="floating">top-left absolute</button>

* {
    font-family: sans-serif;
    font-size: 18px;
}

div {
    background: palegoldenrod;
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-top: 20px;
    position: relative;
}

.floating {
    position: absolute;
    top: 0;
    left: 0;
}

.left {
    background: pink;

    .flex-grow & {
        flex-grow: 1;
    }
}

.right {
    background: orange;
}

document.getElementById('toggle').onclick = function () {
    document.body.classList.toggle('flex-grow');
}

Actual results:
The absolute element is treated as a normal flex child, so when it is the first or last element, it has space incorrectly created for it.
Expected results:
Being absolute, it should no longer be thought of as a layout-affecting flex child. It works as expected in Chrome, Safari, Opera and Edge.
If there is no vacant space (such as if you give the first element flex-grow: 1) then the absolute button does not affect the layout.
Also logged in Firefox bug tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=1274876

Thanks, this is a duplicate of #111, and unfortunately, I don't think there's a workaround.

And for anyone looking, the FF tracking bug for this is here:
https://bugzilla.mozilla.org/show_bug.cgi?id=874718


[OTA] Make default requestor more consistently named

Problem
All default implementations for various OTA Requestor components are aptly named except for a few.
Change overview
Rename the OTARequestor class -> DefaultOTARequestor
Testing

No functional change, tree compiles
Verified basic happy path flow of OTA download succeeds

Fast tracking renames.


Support for texel size as input parameter

For game engines, you often need to specify what a texel size will be in world coordinates (as in, meters or centimeters), then the unwrapper not only unwraps but decides what the texture size should be in order to make sure texels are the specified size.

Hi @reduz Currently the packing is pack to a square area, which means the same size with with and height, and the final texture coords is normalized to 0.0 ~ 1.0; So I guess you can multiply to what size you want. Unless you want specify the ratio of texture width and height. Maybe need a new api such as setPackRatio(float ratio).

The problem with this is the padding between the elements. If you know the right texel size, you can do proper padding in the packer (since the actual sizes are known). Otherwise I may scale the texture but padding will be wrong.

Ok, after I read the code in xatlas, I got what you mean. I will add this parameter for specify the texel size in the following days.

The texel size api is ready: https://github.com/huxingyi/simpleuv/blob/8375bb416a8a8bba9ef7fca65635ceaed0c19b72/simpleuv/uvunwrapper.h#L16
I also removed the Qt dependence.

@huxingyi Amazing, thanks!
@JFonS since you are working on the new Lightmapper in Godot, want to give this a spin?

@huxingyi btw I see you allow setting texel size, but how do you actually obtain the texture size back?

https://github.com/huxingyi/simpleuv/blob/8375bb416a8a8bba9ef7fca65635ceaed0c19b72/simpleuv/uvunwrapper.h#L21
This can be used to fetch the actual square size, width and height are the same.

oh i see, looks great

Hello, may you help to use this library please, some example please. I want to contact with you.

Hi @FSSRepo Please see the example here: https://github.com/huxingyi/dust3d/blob/610bc978a8021ee34be33ca45ff90fb14ef444de/src/uvunwrap.cpp#L58

Thank you, :), I hope it works


Document how to post a work to Po.et

In a language-agnostic way

Hey @lautarodragan! You mean the steps to build a code to send a work through the API?

Yes. Since you're working on the new endpoint, you can document it after you're finished.

Re-reading your question, think I got it wrong. I don't mean how to code it, just the steps in English. What the API expects, what responses it will give, what happens afterwards, what it does, etc.


fix datatype to match the database

see #123

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0%) to 65.883%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4598

Relevant Lines:
6979

💛  - Coveralls

I approve of this change, since it enables to use astropy/pyVO TAP queries on the metadata tables


AutoChart component

Consider creating an AutoChart component similar to Observable Plot's auto mark.
See initial discussion for some context.
Some initial thoughts:

Identify the TooltipContext mode based on data/scales (reference)
Consider using getMajorTicks() / formatMajorTicks() (and minor version) to provide Axis ticks for date/time scales (reference)

Would love to see this!


[Bug] Vertical Scroller is visible to user when the alignment and Row height is changed

Steps to reproduce:

Add a table
Bind the API
Add the alignment and Row height
Reduce the table size
Now change the alignment and Row height
and observe

Observation:
Observation 1:
It is observed that the vertical scroller is visible to user on scrolling
Expectation:
It is expected that the vertical scroller must not be displayed to user
Environment:
https://deploy-preview-4006--appsmith-editor-ce.netlify.app

@prapullac In this scenario, the amount of space available to show the first row is not enough, hence there is a vertical scrollbar.

@riodeuno Since we read the row height of the we can restrict the user to resize until that. This will improve the experience of the user

@prapullac Yes, we're looking into restrictions on the widget dimensions. A set of minColumns and minRows, however, there are no such restrictions at the moment.

@areyabhishek we need some inputs from design here. The table has a vertical scrollbar when the row height is set to tall and the no of table rows in the body is an odd number. as pointed by @riodeuno, we will need restrictions on the widget dimensions.

Can the scroll bar be removed unless someone is actually scrolling? It's the empty state scrollbar that looks ugly.

New table design we do not have the table row size option, this extra scrollbar won't be present if we remove row size option.

@vicky-primathon my point is not to show a scroll bar unless the user is actually scrolling. I don't see scroll bars on long webpages unless I'm scrolling. Why show a scrollbar to the user when they are not scrolling?
We need row height options. If it's not in new designs, then it's a mistake.

@momcilo-appsmith kindly check this. We have to update the table designs.

@somangshu @momcilo-appsmith My bad here. We'll have row height controls, but it'll be inside the property pane and not in the table header. This option is useful for developers and not for end users.

We now show the scrollbars only when we begin scroll. Closing this for now.


Improved metrics

Yea, pls halp? It's small changes anyway.

Hehe, the quality stuff passed

Hey @vlhtg, while reviewing your PR, I'd suggest the following code changes:
👉 Code Suggestion for #19

https://github.com/SEP-TU-e-2024/runner_container/pull/19

You can also review and apply these suggestions locally on your machine.
Learn more about GitKraken Code Suggest

Code Suggest liberates your code reviews from GitHub's restrictive, comment-only feedback style. As simple as suggesting changes in a Google-doc, provide real code suggestions from where you code, e.g. your IDE, and on anything in your project — not just on the lines of code changed in the PR.

Join your team on GitKraken to speed up PR review.


Replace Newtonsoft.Json package with System.Text.Json

We use Newtonsoft.Json package to serialize/deserialize json. It is great library. But seems json is becoming built-in format in BCL (.net 6). In future it allow us to be not dependent on any 3rd-party libraries.
We will produce multi-targeted package:
netstandard2.0 - depends on System.Text.Json
net6.0 - has no dependencies
Newtonsoft.Json dont support native aot but System.Text.Json support with source generator

Feel free to play with that! :)

@NCLnclNCL if you go to implement that. You are free to go.

@NCLnclNCL if you go to implement that. You are free to go.

But why you donot it

@NCLnclNCL if you go to implement that. You are free to go.

But why you donot it

Because I have another 100 issues to work on and I might need some help?

There is an additional problem with Newtonsoft.Json dependency - it is not trimmable: https://github.com/JamesNK/Newtonsoft.Json/issues/2813. Thus, PuppeteerSharp users will see related trim warnings.
On the other side, System.Text.Json does not lead to any trim warnings.

There is an additional problem with Newtonsoft.Json dependency - it is not trimmable: JamesNK/Newtonsoft.Json#2813. Thus, PuppeteerSharp users will see related trim warnings.
On the other side, System.Text.Json does not lead to any trim warnings.

If possible, you can convert it, or at least use regex instead json haha, I feel like the 2 libraries are quite different and the conversion is extremely difficult

The following migration guide might be useful: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft?pivots=dotnet-8-0

The following migration guide might be useful: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/migrate-from-newtonsoft?pivots=dotnet-8-0

I appreciate if you can convert

This ticket is also important for AOT deployment support (publish with PublishAot = true). Newtonsoft.Json is unlikely to support that ever: https://github.com/JamesNK/Newtonsoft.Json/issues/2732

you can try PuppeteerAot ，this library is support for aot

you can try PuppeteerAot ，this library is support for aot

thanks


Updated to match new cy.screenshot behavior (closes #9)

Cypress screenshot behavior significantly changed in 3.0.2 which was breaking our API.
This PR updates cypress-image-snapshot to work with the new screenshot behavior and matches it's storage structure.  The biggest change is that now snapshots will be stored in nested directories similar to how screenshots are stored.
Before the example snapshot path was:
examples/cypress/snapshots/app-should-visit-the-app-snap.png

Now it is:
examples/cypress/snapshots/integration/App.test.js/should-visit-the-app-snap.png

So for versioning this thing.
I would bump current master to 1.0.0 and then merge this and release 2.0.0.


Feature Request: Add Live Preview feature for Web development

Well, there are already a bunch of extensions doing what you are looking for such as https://marketplace.visualstudio.com/items?itemName=hdg.live-html-previewer if you want more I guess you can search directly there https://marketplace.visualstudio.com/search?term=live preview&target=VSCode&category=All categories&sortBy=Relevance

Well, i didn't know that because I'm new to VS Code, that's great thanks for letting me know of these extensions.
null


Boot hangs

Commit 92f365073cd8 ("lpm3, xloader: fix spi2 and i2c0 clock slow issue") breaks our OP-TEE environment (see https://github.com/OP-TEE/optee_os/issues/1851).
To reproduce:
$ mkdir -p $HOME/devel/optee
$ cd $HOME/devel/optee
$ repo init -u https://github.com/OP-TEE/manifest.git -m hikey960.xml
$ repo sync
$ (cd tools-images-hikey960; git checkout 92f365073cd8)
$ make -j9
$ make flash

Boot hangs at:
[0.753291] hi3660-mbox e896b000.mailbox: Mailbox enabled
[ 21.773459] INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 21.779191] 5-...: (1 GPs behind) idle=135/140000000000000/0 softirq=21/22 fqs=2625
[ 21.787109] (detected by 0, t=5252 jiffies, g=-289, c=-290, q=111)
[ 21.793448] Task dump for CPU 5:
[ 21.796706] swapper/0 R running task 0 1 0 0x00000002
[ 21.803837] Call trace:
[ 21.806320] [] __switch_to+0x94/0xa8
[ 21.811513] [<0000000000000040>] 0x40

Commit 92f365073cd8 does not mention any dependency (should we upgrade the kernel?), so I'm assuming this is a regression in tools-images-hikey960 and I'm reporting here.

@jforissier I want to reproduce your issue. I just want to confirm the environment. Are you using latest code of ATF/UEFI? Which kernel branch are you using?
Loop @vchong

@hzhuang1 This involves aosp and probably all other environments too. See https://android-review.googlesource.com/502385. We think it's probably the "disable ocldo on big cluster" in
https://github.com/96boards-hikey/tools-images-hikey960/commit/92f365073cd812a8d8ca159b01f52dd6dd06d111.
Loop @docularxu

"disable ocldo on big cluster" is a bug fixing for system hang issue; from the log the CPU is locked up when send the mailbox message so I suspect the memory layout has some conflict between MCU and OP-TEE?

I think that MCU is using the memory space in below that is defined in HiKey960Mem.c of UEFI.
{ 0x89B80000, 0x00100000 },    // MCU Code reserved
{ 0x89C80000, 0x00040000 }     // MCU reserved
And OPTEE is located at 0x3E000000. It seems that OPTEE shouldn't access the memory in MCU. @vchong Could you help to double confirm it?

Guodong is still on vocation in this week. Now I could reproduce this issue.
I did a few tests.

Only enable little cluster and build OP-TEE into firmware.
Only enable 1 core in little cluster and build OP-TEE into firmware.
Build firmware without OP-TEE.

I could reproduce this issue in all these three cases. I could only avoid this issue by rolling back to commit ccb401f726 (recovery-flash:  add '-e' flag for bash) that is just before commit 92f3650. It's clear that this issue is caused by sec_xloader.img.
We need hisilicon guys to fix this issue first. As a workaround, revert commit 92f3650 in master branch.

Loop in @Kevin-WangTao to aware this bug.

This bug is created in the bug system (https://bugs.96boards.org/show_bug.cgi?id=617). I recommend to discuss it in the #617 bug instead for easy tracking.

@hzhuang1 I found we missed one thing, when we update the sec_xloader.bin, we also need update the latest lpm3.img for OpenPlatformPkg/Platforms/Hisilicon/HiKey960/Binary/lpm3.img, so sec_xloader.bin and lpm3.img can match with each other.

@Leo-Yan In original test, lpm3 isn't included into OpenPlatformPkg. When I include it for test, it doesn't help me on this issue.

Close it and move to bug #617 (https://bugs.96boards.org/show_bug.cgi?id=617).

@Leo-Yan the change of lpm3.img has no dependency on xloader,  so it doesn't matter that the images don't match with each other

@Kevin-WangTao thanks for confirmation. Let's use bug #617 (https://bugs.96boards.org/show_bug.cgi?id=617) for later's discussion.


Where is GenerateUniformRandomNumber code ?

Common.h defines GenerateUniformRandomNumber but no code
can be found, although it is called many times ! Any suggestions ?

Hello! The source code of the function GenerateUniformRandomNumber is implemented in src/common.c. Have fun!

More specifically at line 1684 (https://github.com/jppbsi/LibOPT/blob/master/src/common.c#L1684).
If you have any problems, please let us know!
Best regards,
Gustavo.

Thanks guys ! Really useful library.


[backport] Fix docstring for fallback modules

Backport of #5728 by @kmaehashi

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 338c40faf639aff27862c9571aca0bdb3b3e341d, target branch v9) failed with status FAILURE.

pfnCI, run Jenkins please.

Jenkins CI test (for commit 338c40faf639aff27862c9571aca0bdb3b3e341d, target branch v9) succeeded!


[Bug] Recover from big request

Describe the bug
I copied and pasted a request which has a really large boy, the application stopped working, and now everytime I open it goes down with the "Insomnia has become unresponsive. Do you want to reload"?. Is there any way to solve this? I really don't want to lose every curl I currently have.
To Reproduce
Steps to reproduce the behavior:

Paste a request with a large body.'
See how the application stops working.

Expected behavior
I would expect it to give me a way of at least deleting the request that's failing, so I can keep using the application. Specially once I close it and then re-open it.
Desktop (please complete the following information):

OS: macOS 10.15.1
Installation Method: dmg.
App Version [e.g. v7.0.3]

Having the same problem did you manage to fix it?


run order of “label-studio start” in window10, with a problem of "'label-studio' 不是内部或外部命令，也不是可运行的程序"

I have run the label_studio in window10, and meet the above problem.

是否使用的anaconda cmd？


The colorAccent is white in darkMode making toggle switch unidentifiable whether on/off

Summary:
The colorAccent is white in darkMode making toggle switch unidentifiable whether on/off.
Steps to reproduce:
How can we reproduce the issue?
->going to settings from the  navigation drawer.
What did you expect the app to do, and what did you see instead?
->The toggle switch should have some color when its on , which gives a better visual effect and easy identification.
Device and Android version:
everywhere
Commons app version:
current master branch
Screen-shots:

Would you like to work on the issue?
yes

Thanks for creating the issue @ankit1414. It would be great if you could reference google's material style guide to see what color should be used.

@maskaravivek  i think this is fine considering the app theme.
Hex Code : #108DE8


Error message upon trying to delete family

Receiving an error upon trying to delete a family.

The family in question contains an accidentally added plant genus, which I am trying to remove.

Note to Jeff: there are also two copies of Rudbeckia in the DB.
In general I think we need a better way to handle maintenance of the taxonomy. This came up in previous issues. I will find them and resurface the conversation.

This one I was able to replicate and will work on a fix for it.


bug-fix: fixed OPEN_RIR data preparation process conflict.

https://github.com/speechbrain/speechbrain/blob/598f6eda70f9b0c9ad49b393114ff483add1fd25/speechbrain/lobes/augment.py#L470
None main process might skip the following block if main process already got in and created the folder.

@xin-w8023 lgtm - thank you for this contribution!
Can you please fetch the latest develop branch into your local branch?
Then, we can re-run the tests (they should work out just fine then), and merge.

@xin-w8023 lgtm - thank you for this contribution!
Can you please fetch the latest develop branch into your local branch? Then, we can re-run the tests (they should work out just fine then), and merge.

I just push Sync Fork button, but this seems like introducing an extra commit, is that ok?

@xin-w8023 let's see - this is normal; don't worry. One commit more in the tree won't hurt - git should handle it automatically.


GetWorkflowExecutionHistory throws error

Could not parse body (arg3) argument. Expected Thrift encoded arg3 for endpoint WorkflowService::GetWorkflowExecutionHistory. Got    instead of Thrift. Parsing error was: value must be a valid member of enumeration EventType, got: 41.
The thrift file need to update

#58


Fixing MJPEG streaming in Werkzeug

Description: This fixes MJPEG streaming by changing the response to include direct_passthrough.
The only downside to this change was that I had to change how Response is passed into mjpeg_stream so that I could pass this flag.
Related issue (if applicable): fixes #2260
Checklist:
If code communicates with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Seems good. I'm planning a hot fix for 0.21 and I'll include this fix. Thanks

@stjohnjohnson, I just upgraded again to 0.21.1, but the issue still occurs. The preview is working, and I get a live image when I click the camera image, but when I close that, the interface freezes. It happens on every device, and when I refresh the page, it keeps loading.


changed link to microservices page

@intrepidsoldier : Thanks for your contribution! The author, @cephalin, has been notified to review your proposed change.

@intrepidsoldier Thanks for your suggestion. However let's keep the link pointing to Wikipedia because we want to keep this term as general as possible (it's industry term, not Microsoft's)

#please-close


fix indexer behavior when there aren't many docs

i forgot to include the last batch...

LGTM! thanks @dlwh


Transfer model to apple core ml

Is there any way I can transfer the .t7 model to apple machine learning model using the latest iOS 11 core ml? In that case, I can call the model in iPhone without renting a server

If we could get the trained model in Caffe or Keras then it should be possible.
I tried converting a trained Torch .t7 model to a Caffe model using Facebook's torch2caffe utility, but apparently, the model uses custom class(es) that are not automatically convertible. I don't recall the exact name of the custom class but I think it was Reflection2D or something like that...

have you find any way around, I have found a library called torch2coreml but this respiratory failed to be converted


Update and test dbinit

Supersedes #640

@henn, please review

@henn I don't agree having this as part of the CI.
If you want CI to test this, write a integration test that tests it and its correct output. Just running it is not enough.

Kristi - my goal with including this in CI was to ensure that a future
change to the API wouldn't break the example script accidentally; the
script isn't intended to be part of our testing per se.
Is your opinion on this strong? How do others feel?

@knikolla Is your concern addressed?

It would be good to actually test that the script does the right thing, but just testing that it runs at all is a start.  (Note that we had to fix it here because previous changes to HIL made it invalid---adding it to CI in this form will prevent that from happening again.)


Multitool config & bazel 0.16 update

Added multitool config for large instances and standard instances, replacing the sentinel file for large instances. Also updated the RBE container to the image containing bazel 0.16.1

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Minor nit: PR title should be multipool.

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,615      Total (=)      1,964,615

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,886,807      Total (>)     10,886,802

 No significant differences in binary sizes

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,588      Total (=)      1,964,588

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,886,809      Total (>)     10,886,805

 No significant differences in binary sizes

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,580      Total (=)      1,964,580

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,886,957      Total (>)     10,886,949

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,600      Total (=)      1,964,600

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,886,957      Total (>)     10,886,954

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

I don't see anything suspicious in the diff, but perhaps I'm lacking context. What's the end goal of this change?

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,965,918      Total (=)      1,965,918

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,891,793      Total (<)     10,891,795

 No significant differences in binary sizes

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,965,918      Total (=)      1,965,918

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,891,795      Total (>)     10,891,791

 No significant differences in binary sizes

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,965,918      Total (=)      1,965,918

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,891,798      Total (<)     10,891,801

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

Replaced by PR 17110


feat: add roleModel, permissionModel, roleApi, permissionApi

example of usage:
var roles = await client.GetRolesAsync();
var perm = (await client.GetPermissionsByRoleAsync(roles.First().Name))?.Data;
var persmissions = await client.GetPermissionsAsync();

@ISulimanov fix:

@ISulimanov I think this one is the key:

@hsluoyz looks like was a problem with my email commits, i've create the new one PR

@ISulimanov plz re-use the same PR, see: https://casdoor.org/docs/contributing#modify-prs


Make manifestWork UpdateStrategy configurable through AgentAddonOptions

It makes possible to specify that "create only" or "server side apply" is to be used for some manifests containing configuration data so that regular changes made by users do not get overwritten by an update of the resource pushed by the addon.
fixes: #173

cc @zhiweiyin318 @qiujian16

/lgtm


Multi-line destructuring breaks keyword highlighting

TS and JS Grammar Extension version:  0.4 / latest
Notice that the last this in the screenshot is not highlighted. Note that I tried using the beta version by installing the vscode plugin and it was worse. The beta version did not highlight any of this keywords regardless of whether destructuring is present.
Code
class ExampleClass {
    private myVariable: any;

    constructor(params: any) {
        this.myVariable = 5;

        let { example } = params;
        this.myVariable = example;

        let {
            anotherExample
        } = params;
        this.myVariable = anotherExample;
    }
}

This is fixed by latest grammar and is below is screen shot with TS and JS Grammar Extension version: 0.0.6

Note that the screen shot is in VSCode insider build as VSCode currently has issue: Microsoft/vscode#13044 because of which this is not colored correctly.


drivers/ieee802154 Kconfig and build cleanup

Should this reference to RAW also be removed?
/home/sebo/zephyr/boards/arm/usb_kw24d512/Kconfig.defconfig
109:if IEEE802154_MCR20A || IEEE802154_MCR20A_RAW
132:endif # IEEE802154_MCR20A || IEEE802154_MCR20A_RAW

Removing myself as reviewer because I still haven't figured out how Kconfig should be written.

/boards/arm/usb_kw24d512/Kconfig.defconfig  indeed

This PR is required for the upcoming OpenThread one.

recheck

@SebastianBoe are you OK with this? looks good to me

LGTM


Can no longer run net48 web application after installing .Net Core 3 SDK

From @Almenit on Friday, June 28, 2019 1:38:23 PM
We have a Web application using .net 48 and ASP.Net Core. I tried to update to .Net Core 3 using the  3.0.100-preview6-012264 SDK. I manage to get that to work. When a later change back to the old branch (using net48). I can build the application but when I run it I get an  System.Reflection.ReflectionTypeLoadException with loader exceptions: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>.
I tried to uninstall the 3.0.100-preview6-012264 SDK reinstall .net 48 SDK and 2.2 the .Net Core SDK. But still the same error.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions.AddControllersAsServices(IMvcBuilder builder)
   at Capish.Reflect.Web.Startup.ConfigureServices(IServiceCollection services) in C:\Dev\Repos\Reflect\Source\Capish.Reflect.Web\Startup.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
[15:34:20 FTL] Application startup exception
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions.AddControllersAsServices(IMvcBuilder builder)
   at Capish.Reflect.Web.Startup.ConfigureServices(IServiceCollection services) in C:\Dev\Repos\Reflect\Source\Capish.Reflect.Web\Startup.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
[15:34:20 FTL] Host terminated unexpectedly
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.RuntimeAssembly.get_DefinedTypes()
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.Extensions.DependencyInjection.MvcCoreMvcBuilderExtensions.AddControllersAsServices(IMvcBuilder builder)
   at Capish.Reflect.Web.Startup.ConfigureServices(IServiceCollection services) in C:\Dev\Repos\Reflect\Source\Capish.Reflect.Web\Startup.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()```

_Copied from original issue: dotnet/core-sdk#2693_

From @livarcocc on Friday, June 28, 2019 3:51:34 PM
Can you share your csproj? Have you tried to clean/restore/build/run?

From @Almenit on Friday, June 28, 2019 5:35:03 PM
Yes I have tried to clean/restore/build/run (even a hard reset from git)
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>net48</TargetFramework>
    <UserSecretsId>secret</UserSecretsId>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
    <Company>A</Company>
    <Product>B</Product>
    <Copyright>Copyright </Copyright>
    <Description>application</Description>
    <AssemblyVersion><IP_ADDRESS></AssemblyVersion>
    <FileVersion><IP_ADDRESS></FileVersion>
    <Version><IP_ADDRESS></Version>
    <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    <Platforms>x64</Platforms>
    <LangVersion>latest</LangVersion>
    <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
    <OutputPath>bin\Debug\</OutputPath>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <OutputPath>bin\Release\</OutputPath>
  </PropertyGroup>
  <PropertyGroup>
    <GeneratedItemPatterns>build/**</GeneratedItemPatterns>
    <InteropsItemPatterns>bin/Release/net48/win10-x64/x64/**</InteropsItemPatterns>
    <DefaultItemExcludes>$(DefaultItemExcludes);$(GeneratedItemPatterns);$(InteropsItemPatterns)</DefaultItemExcludes>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Our.Internal.net.48" Version="<IP_ADDRESS>0483453" />
    <PackageReference Include="Our.2.Internal.net.48" Version="<IP_ADDRESS>57" />
    <PackageReference Include="Dapper" Version="1.50.4" />
    <PackageReference Include="Dapper.Contrib" Version="1.50.4" />
    <PackageReference Include="Dapper.SqlBuilder" Version="1.50.4" />
    <PackageReference Include="Destructurama.JsonNet" Version="1.2.1" />
    <PackageReference Include="JSNLog" Version="2.28.0" />
    <PackageReference Include="MemBus" Version="4.0.1" />
    <PackageReference Include="Microsoft.AspNetCore" Version="2.0.2" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication" Version="2.0.3" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="2.0.3" />
    <PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="2.0.3" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.0.3" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.ViewCompilation" Version="2.0.3" PrivateAssets="All" />
    <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.0.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.0.2" />
    <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.0.2" />
    <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.0.2" />
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.0.3" />
    <PackageReference Include="Rhino.Licensing" Version="1.3.0" />
    <PackageReference Include="Scrutor" Version="2.2.2" />
    <PackageReference Include="Serilog" Version="2.7.1" />
    <PackageReference Include="Serilog.AspNetCore" Version="2.1.1" />
    <PackageReference Include="Serilog.Extensions.Logging" Version="2.0.2" />
    <PackageReference Include="Serilog.Settings.Configuration" Version="2.6.1" />
    <PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
    <PackageReference Include="Serilog.Sinks.RollingFile" Version="3.3.0" />
    <PackageReference Include="System.Data.SQLite.Core" Version="1.0.108" />
  </ItemGroup>
  <ItemGroup>
    <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.3" />
  </ItemGroup>
  <ItemGroup>
    <None Remove="Database\Scripts\1.sql" />
    <None Remove="Content\css\error.css" />
    <None Remove="Database\Scripts\2.sql" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Content\css\error.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="Database\Scripts\2.sql" />
    <EmbeddedResource Include="Database\Scripts\1.sql" />
  </ItemGroup>
  <ItemGroup>
    <Reference Include="System.Configuration" />
  </ItemGroup>
  <ItemGroup>
    <None Update="TypeScript\Messages\ExceptionMessagesTemplate.tt">
      <LastGenOutput>ExceptionMessagesTemplate.cs</LastGenOutput>
      <Generator>TextTemplatingFileGenerator</Generator>
    </None>
    <None Update="TypeScript\Messages\ExceptionMessagesTemplate.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>ExceptionMessagesTemplate.tt</DependentUpon>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
  </ItemGroup>
  <ItemGroup>
    <Compile Update="TypeScript\Messages\ExceptionMessagesTemplate.cs">
      <DependentUpon>ExceptionMessagesTemplate.tt</DependentUpon>
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Content Update="Content\Languages\en-US.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Update="Content\Languages\sv-SE.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>

  <Target Name="PrepublishScript" BeforeTargets="PrepareForPublish">
    <Exec Command="npm run publish" />

    <ItemGroup>
      <_GeneratedFiles Include="$(GeneratedItemPatterns)" />
      <ContentWithTargetPath Include="@(_GeneratedFiles->'%(FullPath)')" RelativePath="%(_GeneratedFiles.Identity)" TargetPath="%(_GeneratedFiles.Identity)" CopyToPublishDirectory="PreserveNewest" />
    </ItemGroup>

    <ItemGroup>
      <_InteropFiles Include="$(InteropsItemPatterns)" />
      <ContentWithTargetPath Include="@(_InteropFiles->'%(FullPath)')" RelativePath="%(_InteropFiles.Identity)" TargetPath="%(Filename)%(Extension)" CopyToPublishDirectory="PreserveNewest" />
    </ItemGroup>
  </Target>
</Project>

From @livarcocc on Friday, June 28, 2019 10:20:13 PM
@anurse can you take a first stab at this?

@Almenit can you share a runnable sample application that reproduces the issue? If that's not feasible, would it be possible for you to privately share the build/publish outputs so we can see the specific assemblies?

Sure I will try to do that. But it will take same time since I'm on holiday.

Closing this as we haven't heard from you and generally close issues with no response after some time. Let us know when you've been able to get a sample together we can re-open the issue and investigate further!


Satisfy clippy 1.67 beta.

Clippy lints addressed:

uninlined_format_args

Yeah there are even some more, which I'll also handle.
However the more serious issue is that there is a infinite loop of clippy with the beta toolchain.
warning: variables can be used directly in the `format!` string
   --> druid\src\widget\flex.rs:619:13
    |
619 | /             debug_assert!(
620 | |                 flex >= 0.0,
621 | |                 "flex value for space should be greater than equal to 0, received: {}",
622 | |                 flex
623 | |             );
    | |_____________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
    = note: `#[warn(clippy::uninlined_format_args)]` on by default

into
warning: panic message contains an unused formatting placeholder
   --> druid\src\widget\flex.rs:621:84
    |
621 |                 "flex value for space should be greater than equal to 0, received: {flex}"
    |                                                                                ^^^^^^
    |
    = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
    = note: `#[warn(non_fmt_panics)]` on by default
help: add the missing argument
    |
621 |                 "flex value for space should be greater than equal to 0, received: {flex}", ...
    |                                                                                +++++
help: or add a "{}" format string to use the message literally
    |
621 |                 "{}", "flex value for space should be greater than equal to 0, received: {flex}"
    |                 +++++

I will investigate it tomorrow. Perhaps just updating the edition will solve the issue. However I feel clippy shouldn't recommend fixes that it itself will immediately complain about.

Okay, so with the beta clippy both assert! and debug_assert! are incorrectly handled with Rust 2019. This was already fixed in rust-clippy#10055 and has landed in nightly, but it's unclear to me if it will arrive with stable 1.67 or some future version.
I think we might be able to just upgrade to Rust 2021 and get around this issue. I'll see if I can make it happen.

Alright, this is ready for another look. It solves all clippy errors now.


Personal Protofolio-Website

https://gleaming-narwhal-0a2bf5.netlify.app/

https://gleaming-narwhal-0a2bf5.netlify.app/


Not working on latest Sendy Release. <IP_ADDRESS>

Kindly check, I have no clue why.

Have a look at this potential solution:
https://github.com/CrystalAsia/sendywpcf/issues/2#issuecomment-292058497


Chore: GitHub workflow multiple OS and general updates

It is a big refactor of the workflows in GitHub based on the issue https://github.com/Col-E/InstrumentationServer/issues/10.
Note:
I can't test the release jobs in the new workflow, but they should be work because I didn't touch the main logic, only the conditions. For any inconvenience, please let me know or contact me directly at my email.

If you want to consolidate the commits and provide a summary you can do something like:
git rebase -i HEAD~103
Mark the commits you wanna collapse with f then the kept commit with r to reword the commit summary. One git push force later, the commit history looks much more organized. I probably could have done that with my old CI work earlier, but oh well 😅

I was initially going to do a squash, but then thought to double check if you wanted to control what went into that first.

I was initially going to do a squash, but then thought to double check if you wanted to control what went into that first.

No problem, please go ahead.

Thank you again for the awesome work!


Banner seems to be created but not showing

Hi, I am able to compile an Android app using PGB and cordova-admob-pro. Plugin is correctly called and the createBanner() success callback is also called. But my banner doesn't appear (I use isTesting:true).
I was wondering if the app's HTML structure should be specific to show the banner?

Closing, foung the problem's origin (wrong API usage).


Added scalarxmat44_sse and vect4xmat44.c

Indeed -O2 and above optimize away the loops and the program seems to end immediately. We will need to refactor it a bit.


Hello World in Assembly

Added a Hello World in Assembly

Go through the CONTRIBUTING.md file to understand the contribution process.


Kong proxy_protocol support is broken

Summary
Kong doesn't seem to support proxy_protocol. I've enabled it by running it with the following environmental variables:
KONG_TRUSTED_IPS=<IP_ADDRESS>/0
KONG_REAL_IP_HEADER=proxy_protocol
KONG_REAL_IP_RECURSIVE=on

and I'm using the kong:0.13.1 docker image, but when sending requests using proxy protocol v1 I see this in the logs:
<IP_ADDRESS> - - [12/Jun/2018:14:24:20 +0000] "PROXY TCP4 <IP_ADDRESS> <IP_ADDRESS> 19726 30082" 400 12 "-" "-"

which suggests to me nginx is trying to parse the proxy protocol part as the request.
Steps To Reproduce

Run kong:0.13.1 docker image with the headers above
Send it a request using proxy protocol v1 (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)

@olivercf Hi,
If you intend on using the PROXY protocol, did you also add the proxy_protocol suffix on the configured listener? As in:
proxy_listen = <IP_ADDRESS>:80 proxy_protocol

You would then need to make sure that the clients using the PROXY protocol are connecting to this port.
These properties changed in 0.13.0 (and have been properly documented as breaking changes in the CHANGELOG). See: https://github.com/Kong/kong/blob/master/kong.conf.default#L89

Also see this note in the configuration file.

Closing due to lack of response.


Switch test runtime to wlp-webProfile7

Currently the test runtime is wlp-runtime, but this will be removed as of <IP_ADDRESS>.

Closed by #83.