CustomPainter drawParagraph overflow on windows platform

Steps to Reproduce

https://gist.github.com/alexsunday/1f1d2a0dd07c730e91a30d6b4e4090f0
dartpad@cn:
https://www.dartpad.cn/?id=1f1d2a0dd07c730e91a30d6b4e4090f0
Expected results:
text must be correct.
Actual results:
text display on web is correct, but it's overflow on windows

Code sample
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

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

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

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      child: CustomPaint(painter: Painter02()),
    );
  }
}

class Painter02 extends CustomPainter {
  final _paint = Paint()
    ..color = Colors.blue
    ..style = PaintingStyle.fill;

  @override
  void paint(Canvas canvas, Size size) {
    drawText(canvas, TextAlign.left);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return false;
  }

  void drawText(Canvas canvas, TextAlign textAlign) {
    var builder = ui.ParagraphBuilder(ui.ParagraphStyle(
      textAlign: textAlign,
      fontSize: 40,
      textDirection: TextDirection.ltr,
      maxLines: 1,
    ));
    builder.pushStyle(
      ui.TextStyle(
          color: Colors.black87, textBaseline: ui.TextBaseline.alphabetic),
    );
    builder.addText("Flutter Unit");
    ui.Paragraph paragraph = builder.build();
    paragraph.layout(const ui.ParagraphConstraints(width: 300));
    canvas.drawParagraph(paragraph, const Offset(0, 0));
    canvas.drawRect(const Rect.fromLTRB(0, 0, 300, 40),
        _paint..color = Colors.blue.withAlpha(33));
  }
}

flutter info:

web:

windows:

Thanks for the report, @alexsunday
My Windows is not available right now for checking this. On MacOS, it displays as expected. Can you please check this on the latest master channel (on your Windows machine)?

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.5, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.7.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (5 hours ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Users/huynq/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08)
    • All Android licenses accepted.

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

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

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 110.0.5481.100

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.8.0-16.0.pre.57, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.8.0-16.0.pre.57 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 45723adf4d (2 hours ago), 2023-02-26 23:35:37 -0500
    • Engine revision 88b48c357b
    • Dart version 3.0.0 (build 3.0.0-275.0.dev)
    • DevTools version 2.22.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.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

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

[✓] Connected device (4 available)
    • Pixel 3a (mobile) • 964AY0WL20 • android-arm64  • Android 12 (API 32)
    • macOS (desktop)   • macos      • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

A text style with fontSize: 40 is not guaranteed to lay out with a height of 40.
Use the background property of TextStyle to paint a background rectangle that will match the height of the text.  Or use the various Paragraph height and metrics APIs to obtain the text size.

Thanks for the report, @alexsunday My Windows is not available right now for checking this. On MacOS, it displays as expected. Can you please check this on the latest master channel (on your Windows machine)?
flutter doctor -v (stable and master)

@alexsunday Please try the hint from https://github.com/flutter/flutter/issues/121450#issuecomment-1447119465 if it works for your case.


Ingest BDR J1750+3809

BDR J1750+3809 is a cold methane dwarf of spectral type T6.5±1 at a distance of 65+9 pc.

Reference: https://iopscience.iop.org/article/10.3847/2041-8213/abc256
Thanks @jrcallingham!

SIMBAD link: https://simbad.cds.unistra.fr/simbad/sim-id?Ident=%4015996184&Name=[VCS2020] BDR J1750%2B3809&submit=submit

Let's not worry about the distance, it's not a parallax.
The spectral type of T6.5 is based on data in the nir regime.
Will also want to ingest the photometry from Table 1.


Set electrum server visible in IRC.

This removes the default invisible flag in IRC.
If servers are visible, it is possible to issue a command like :WHO #electrum E_* and get the peer list without even joining the channel.
Someone in IRC is writing "a pure Go electrum client" and wants to use IRC for bootstrapping. It would be a bit unpleasant to have these clients join and part #electrum all the time so I thought it would be better if the servers would not hide from the outside.

Someone here. Would it make more sense to have -i set before joining?

Also, :WHO #electrum E_* doesn't seem to be a valid command. You can either have E_* or #electrum as the argument.
However, :WHO #electrum and then filtering for E_* is rather easy.

I'm not sure. The only advantage would be that they would be a few milliseconds earlier invisible.
The downside would be that it would take a few milliseconds more before other servers can advertise the server.
Or am I missing something here :hushed:

Eh, doesn't matter. I was thinking that setting a user flag alerted other people in the channel, but I was wrong.

Good :+1:
This could take a while to be merged so your client should better not be a huge success in the next few days :wink:

Haha, don't think you have to worry about that. Doesn't have much use until I implement wallet support.

it's not a good idea for clients to join IRC; it will break if we move servers to another channel, or if we replace irc by another strategy.
please use the same strategy as the official client.


Simulation not working on Safari MacOS

Hello,
Wanted to bring to your attention that the simulation isn't working as intended on Safari in MacOS. For some reason, the fluids are just draws as "lines", and not actual fluid. You can look at it on the demo as well.
Any fix for it would be great!

#12 Seems like the same issue here, but on Safari as well.


allow us to reset playground during testing

if I want to test contract and modify it,
I have to create new playground each time
I cannot undeploy a contract or reset all contracts

Would allowing deleting a contract work for "resetting"?


MIVisionX Windows installer does not install the .lib files

OpenVX.lib, vx_opencv.lib, vx_winml.lib files should be installed under $(MIVisionX_ROOT)\bin in order to be linked to certain apps.

Windows Installer for MIVisionX 1.2.0 will include lib in the release.


add rkyv support

For some reason github closed the old PR while I was trying to merge master into the old pr.
Should've used rebase!

@cuviper Any way this can get merged? https://github.com/dimforge/nalgebra/pull/1128 is blocking on this...

@cuviper I have made the changes requested :)

Is there any update on this PR? I merged https://github.com/dimforge/nalgebra/pull/1128 without Complex support in the mean time.

OK, let's go!
bors r+

Bah, libm published new versions with a higher MSRV. I'll deal with that...

bors r+

bors r+

This is published in 0.4.3.


add a number of HTTP hits

When Molotov leaves, let's display the number of requests that where done against a service. Just a counter per host and per status

Example of output:
**** Molotov v0.5. Happy breaking! ****
[44543] Preparing 10 workers...OK
SUCCESSES: 20 | FAILURES: 0

HTTP hits per endpoint:
- http://example.com/here
  - 200: 12
  - 503: 8
*** Bye ***

Let's display the ten busiest endpoints, ordered by number of hits

also: HTTP method

see #71


primitives: add openCL support and autodection of best implementation

This PR adds support for OpenCL in primitives, for now only YUVtoRGB primitives are implemented.

@hardening did some cleanups here: https://github.com/akallabeth/FreeRDP/tree/opencl
One thing that may improve speed a lot is implementing YUV444ToRGB_8u_P3AC4R as YUV420ToRGB_8u_P3AC4R is currently only used by the video redirection (AVC420 is more or less dead)

@hardening any update on this? would love to merge ;)

FindOpenCL.cmake is shipped with CMake 3.2 and above.
The variables differ to your script though, so maybe it would be good to fix that.
https://cmake.org/cmake/help/latest/module/FindOpenCL.html

Unfortunately for now the minimum cmake version that we require is 2.8. Do you suggest changing my file so that it match the shipped script ?

@hardening would use the variables of the module available since 3.2 and add a check to use the cmake provided version for these cases. (maybe like the cmake/compat* folders?)

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test


Attribute: use type: GL.DOUBLE for double precision

Follow up of #3468
Change List

Bump luma.gl dependencies
Remove doublePrecision option, use type: GL.DOUBLE

Coverage increased (+2.6%) to 83.019% when pulling aac4008dedf974c0f670290acafd5402313bb09c on x/double-precision-clean-up into cda53a8acc59f2d6b511243553d9dcc5cfbdcc01 on master.


Removal of server/ssl-config.js

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #12544

Description

Deleted a file freecodecamp/server/ssl-config.js

Congrats @0212n on your first PR to freeCodeCamp!


Dead-end flow if login fails on selected server

It seems the only way to return to the initial server selection screen is to logout of all instances.
Once you've entered a server address, if there's a problem logging in (e.g. you don't have credentials or the server has an error processing them), you're stuck on the login screen forever - or have to re-install the app.

Your Rocket.Chat.Android app version: 3.2
Your Rocket.Chat server version: N/A
Device model (or emulator) you're running with: Google Pixel 1, Android 8.0.0
Steps to reproduce...

Log out of all instances
Enter server address
Assume you can't login
No escape

@timkinnane Hey! What's the app version you're using? I don't recognize any Android app with 3.2 as version.

My bad, version 1.0.22 - Don't know where I found the other number.

It probably is in multiple version though. How do you exit this screen without logging in...

Sounds good! We're working on a new release that is fixing this bugs already. Thank you!

I'm not sure what about this sounds good? Wouldn't you leave the issue so you can reference it when it's fixed? Or are you saying it's already fixed in development branch?

Oh, sorry, forgot to mention the PR: #581. This is being fixed already.

OK thanks, looking forward to it.


US 1583733 Add missing language IDs - 34

US 1583733 - Fix CATS P1 issues by adding missing language IDs to code blocks.

Used "bat" for .bat file examples.
Used "console" for sample program console commands and console output examples.

Contributes to #2192

Couldn't access build report any longer. Rebuilding.

@mairaw @HongGit To resolve the last two comments I need a suggested change. I think that @HongGit is asking that we rewrite the code line or replace it, but I need more information to be able to do that. Thanks!


Add decimal for default

i need put ,00 in value per default
example:
keyup 100 return 100,00

The following example show how to set the decimal point to ,.  ..but you still have to manually type ,00.  Adding ,00 by default is not supported at the moment..
import createNumberMask from 'text-mask-addons/dist/createNumberMask'

// First, you need to create the `numberMask` with your desired configurations
const numberMask = createNumberMask({
  thousandsSeparatorSymbol: '.',
  decimalSymbol: ',',
  requireDecimal: true
})

Then use numberMask for your mask.

I'm going to close this issue now - Let us know if that didn't answer your question.


Copper (I) sufide mispelling

https://github.com/USEPA/fedelemflowlist/blob/d08790526b1d0c3feeaf3c8e1d98b7182a5f284c/fedelemflowlist/input/GeologicalFlowables.csv#L99

resolved by https://github.com/USEPA/fedelemflowlist/commit/3d3a4ebe1a4e77dbaffbc216f462ca51c65378c1


fix: Typescript zod (and effect) language uses block scoped variables before they've been declared

By ensuring that referenced types are defined before they are referenced. Tested on a fairly large set of interconnected schemas for the bridging API in the FDC3 standard.
Please let me know if there's a more idiomatic way to get to the types underlying sets, unions, intersections, arrays etc..
resolves https://github.com/glideapps/quicktype/issues/2414
@ryoid @Southclaws @dvdsgl
P.S. The TypeScript effect schema language uses the same code in its generation and probably also needs these changes - I don't have a test set-up for that one however.

@ryoid @Southclaws @dvdsgl any chance of a review on this PR? I believe it straightens out issues with generated typescript zod code in the current release.

Yep! Will review next weekend.

Much appreciated @dvdsgl

I’m pretty sure the type graph already provides this for other languages where declaration order matters, although I am not sure where that functionality is. I think we can still merge this however, and replace it if there’s a built-in way to do it.

Thank you!


How to check that tests already running?

Hi everyone! How can I check using bash or any other way that tests already running?

Please follow the issue template, which includes a section for your use case for such a feature.
http://xyproblem.info/

That said, you can use a reporter to know when tests are running https://jestjs.io/docs/en/configuration#reporters-arraymodulename--modulename-options


Second display not working in Release APK

Describe the bug
When we make release APK , second display does not work.

u run "flutter build apk --release" right?

Yes i did that,
When app is running i get this,
Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@4748c80) but could not find and invoke the GeneratedPluginRegistrant.

the problem might be related to proguard shrinking

i don't use proguard shrinking in the project.
u can add to manifest

on debug work normaly, same problem here when run "Flutter run --release"
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: PlatformException(showPresentation, Value null at displayId of type org.json.JSONObject$1 cannot be
converted to int, null, null)
E/flutter ( 6899): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:597)
E/flutter ( 6899): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158)
E/flutter ( 6899):

@MarcoGolin What device are you using?
I think maybe both devices are not connected yet

@MarcoGolin What device are you using?
I think maybe both devices are not connected yet

is the Sunmi D2-mini

Sunmi D2-mini i think u should use flutter_nearby_connections for it
We're use flutter_nearby_connections for D2-mini in the my project

i don't use proguard shrinking in the project.
u can add to manifest
<meta-data
    android:name="flutterEmbedding"
    android:value="2" />

my project is already using V2

Same error to me, release apk is not working and at same place debug one is working.

Same issue,
Not working on the release version.

Worked for me by adding a progaurd rule
-keep class com.namit.** { *; }

i was use two condition but nothing change

https://developer.android.com/reference/android/support/annotation/Keep
Use this to ignore the DisplayJson.kt from obfuscating.

Another solution will be to use GSON field name annotations on the DisplayJson.kt fields, this way if the variable name changes the annotated name will remain , and it will work fine.

i have added the -keep class com.namit.** { *; } in proguard . but when i release the apk, the  get display shows "null null"
I am new to this. could you please help me on this?

It seems like with the latest flutter, that problem also exists in the example app... Just clone the repo, run flutter pub get, cd example, flutter build apk --release and install the apk. Get Displays returns null, null, null, null...

@VNAPNIC Could you please help here. When we test using release apk its not working

@patelnirav48 I'm using @arbyazra123's fork successfully (https://github.com/VNAPNIC/presentation-displays/issues/7#issuecomment-906461804)

@hrueger I'm using iMin device (connected through HDMI) will it work on that too?

I have no idea - try it and report your findings ;-)

This code is not needed. The author used obfuscated keys for parsing json, but those keys change on each compilation.
The actual soltion is to add this file to prguard rules file to not be obfuscated in release.
Check it here
https://github.com/ziakhan110/presentation-displays-1/commit/62c47202ccf540bd259dda1f5efb6f94de004e44

Here is prguard rules, this should be added to the readme.md of this library so people know its needed in release apk.
-keep class com.namit.** { *; }

Here is prguard rules, this should be added to the readme.md of this library so people know its needed in release apk.
-keep class com.namit.** { *; }

When i release the apk file, the secondary display didn't work.Why?? Please tell me

Hello guys, please help me when I release the apk the second display didn't work.Only worked in the debug apk.why is that??

I'm using @arbyazra123's fork successfully (#7 (comment))

Check @arbyazra123's fork (https://github.com/VNAPNIC/presentation-displays/issues/7#issuecomment-906461804)
It worked for me.


Add support for MinGW/MSYS shell

Add support for MinGW/MSYS shell
According to https://stackoverflow.com/a/31990313/1471046
Fix emailAddress cannot be parsed issue
According to https://stackoverflow.com/questions/38441426/how-to-create-csr-with-emailaddress-oneline

Hi @qiansen1386 , It is good to highlight that for other type of ostype will required different format.
I think it will be good if we can support multi OSTYPE instead of just on msys to make the changes more impactful, feel free to contribute for the other types of OSTYPE
e.g.
if [[ "$OSTYPE" == "linux-gnu" ]]; then
# ...
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OSX
elif [[ "$OSTYPE" == "cygwin" ]]; then
# POSIX compatibility layer and Linux environment emulation for Windows
elif [[ "$OSTYPE" == "msys" ]]; then
# Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
elif [[ "$OSTYPE" == "win32" ]]; then
# I'm not sure this can happen.
elif [[ "$OSTYPE" == "freebsd"* ]]; then
# ...
else
# Unknown.
fi

@qiansen1386 , also if you make any other similar type of changes, you can still tap on the same Pull Request (PR). No need to create new one

Actually, only Windows system have this kind of problem. Thanks to their unique path format.
All other POSIX systems should be fine. Though I cannot attest it at this moment.


Continuous Profiling should be disabled by default until tiflash can be safely profiled

See: https://github.com/pingcap/tiflash/issues/5687
Continuous Profiling has been enabled by default since v6.1.0, so TiDB/TiKV/TiFlash will continue to trigger CPU profiling by default since v6.1.0. The CPU profiler of TiKV/TiFlash is pprof-rs. pprof-rs registers a signal handler during CPU profiling and periodically triggers the SIGPROF signal. After the SIGPROF signal is triggered, the signal handler is dispatched to the business thread for execution to sample the call stack of the current thread. Signal handler also makes system calls through glibc during execution, so it has a chance to affect errno. After the signal handler is executed, the business thread may get the wrong errno. However, errno has been protected in the current version of pprof-rs, so there is still no key evidence that the errno was modified by pprof-rs. The current judgment is based on two facts:

The problem only occurs while profiling is on
pprof-rs has a very similar issue

So, Continuous Profiling should be disabled by default until tiflash can be safely profiled.

/assign

Is it possible to avoid "Signal handler also makes system calls"?

Is it possible to avoid "Signal handler also makes system calls"?

There are currently two choices for stack backtracking: libunwind-based and frame-pointer-based.
In the past we were based on libunwind by default. In this case, it is unavoidable to affect errno. Here is an example:
fn main() {
    unsafe {
        println!("before backtrace: {}", *libc::__errno_location());
    }
    let _ = backtrace::Backtrace::new();
    unsafe {
        println!("after backtrace: {}", *libc::__errno_location());
    }
}

The output is:
before backtrace: 0
after backtrace: 2

Now we are based on frame-pointer by default, which ideally does not need to depend on system calls. Unfortunately, we cannot guarantee that all dynamic link libraries have frame pointers turned on, so a protection mechanism needs to be introduced. This protection mechanism needs to depend on system calls.
However, since the root cause of the problem on profiling on TiFlash is still unclear, we cannot determine whether the signal handler affects errno for the same reason.
And, I may try to introduce eBPF in the near future to improve the performance and stability of profiling, refer to https://github.com/tikv/tikv/issues/13336.


Fix Remind Command error message not showing

Changes
-Display error message when command is invalid
Related Issues/ PRs

Fixes #139

Codecov Report

Merging #142 (d89d594) into develop (ad0d906) will increase coverage by 3.33%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             develop     #142      +/-   ##
=============================================
+ Coverage      53.06%   56.40%   +3.33%
- Complexity       505      612     +107
=============================================
  Files            110      127      +17
  Lines           2137     2484     +347
  Branches         204      253      +49
=============================================
+ Hits            1134     1401     +267
- Misses           933      983      +50
- Partials          70      100      +30

Impacted Files
Coverage Δ

...main/java/seedu/ibook/logic/parser/ParserUtil.java
69.69% <100.00%> (+1.77%)
:arrow_up:

...ava/seedu/ibook/logic/commands/AddItemCommand.java
35.29% <0.00%> (-4.71%)
:arrow_down:

src/main/java/seedu/ibook/model/product/Price.java
72.72% <0.00%> (-2.28%)
:arrow_down:

...java/seedu/ibook/logic/commands/UpdateCommand.java
93.02% <0.00%> (-1.18%)
:arrow_down:

src/main/java/seedu/ibook/ui/CommandBox.java
0.00% <0.00%> (ø)

src/main/java/seedu/ibook/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/ibook/ui/MenuToolbar.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/ibook/ui/table/ProductCard.java
0.00% <0.00%> (ø)

...c/main/java/seedu/ibook/ui/popup/PopupHandler.java
0.00% <0.00%> (ø)

... and 49 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Enable workflows on fork-based PRs part I

Approved, even though the workflow fails, as this is the expected behavior for the time being


Changing boot type api hangs indefinitely

Describe the bug
After upgrading to vCenter 6.7, we're seeing this hang indefinitely on vsphere-automation-sdk-ruby 0.3.0. When I check vCenter, the task completes almost immediately; but hangs via the API.
How to reproduce
configuration = VSphereAutomation::Configuration.new.tap do |c|
  c.host = @name
  c.username = @user
  c.password = @pass
  c.scheme = 'https'
  c.verify_ssl = false
  c.verify_ssl_host = false
end

@rest = VSphereAutomation::ApiClient.new(configuration)
VSphereAutomation::CIS::SessionApi.new(@rest).create('')

spec = { spec: { enter_setup_mode: false, efi_legacy_boot: false, type: 'EFI' } }
VSphereAutomation::VCenter::VmHardwareBootApi.new(@rest).update(<VM ID>, spec)

Expected behavior
Should respond when the task has completed in vCenter.
Versions
Dev Environment:

Ruby: 2.4.1 & 2.6.3
vSphere Automation SDK: 0.3.0
OS: macOS and CentOS

Additional notes
Add any other notes about the problem here.

Thanks for opening this, I'll take a look as soon as I can.

I upgraded to 0.4.3 and I'm seeing this exception when attempting to deploy an OVF:
16: from /.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/vsphere-automation-vcenter-0.4.3/lib/vsphere-automation-vcenter/api/ovf_library_item_api.rb:82:in `deploy'
15: from /.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/vsphere-automation-vcenter-0.4.3/lib/vsphere-automation-vcenter/api/ovf_library_item_api.rb:123:in `deploy_with_http_info'
14: from /.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/vsphere-automation-runtime-0.4.3/lib/vsphere-automation-runtime/api_client.rb:71:in `call_api'
13: from /.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ruby-ntlm-0.0.4/lib/ntlm/http.rb:22:in `request'
12: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1470:in `request'
11: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:920:in `start'
10: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1472:in `block in request'
 9: from /.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ruby-ntlm-0.0.4/lib/ntlm/http.rb:22:in `request'
 8: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1479:in `request'
 7: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1506:in `transport_request'
 6: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1506:in `catch'
 5: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http.rb:1509:in `block in transport_request'
 4: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http/response.rb:29:in `read_new'
 3: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/http/response.rb:40:in `read_status_line'
 2: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:201:in `readline'
 1: from /.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:191:in `readuntil'
/.rbenv/versions/2.6.3/lib/ruby/2.6.0/net/protocol.rb:217:in `rbuf_fill': Net::ReadTimeout with #<TCPSocket:(closed)> (Net::ReadTimeout)

Should I create a new ticket for this?

@JerrodCarpenter Please do. I think I can fix that issue pretty quickly.


Fixes for julia-0.5

This eliminates a lot of warnings, as well as a few bugs. Likely to require https://github.com/JuliaLang/julia/pull/15810, but let's try it anyway.

Changes Unknown when pulling b86a81cbc1249cc8fa7b2194a55bc67d6bb3cd95 on teh/0.5 into ** on master**.

The AppVeyor failure was some random webclient thing, and only affected one build.
Nice to see all this green!


Quetion of training time of the provided checkpoints

Thanks for your amazing project.
I am curious about the training time of the provided checkpoints. Does it train from the 10000+ hour wenet speech?  How many devices do you use?  How long did you train the model. How many epochs do you use and how about the final loss

WenetSpeech checkpoint is trained from 10000+ hours data. We use 24 V100 gpus with 25 epochs, and it takes about 3 days. The final loss is around 8~10%.

Thanks for your reply!


write a _CONTRIBUTING.md to demonstrate team's git workflow to allow forking

Who do you think should do this? Is this something we should do together?


Externally managed content update

Update the externally managed content. This includes all content, including updates to the rare disease subsets.

Closing since this was made as a test.


support regexes for searching

Not worth the dev effort for now, it represents a new attack surface too


Error when trying to add profile picture

When editing your profile and trying to upload a profile picture it returns the following message when trying to save
"There is a problem
An unexpected error occurred when attempting to update the user"

This should be fixed as part of story 89853(#128) same with #138

@simplybenuk Please can you confirm if resolved? If so we can close this and #138

@Alex-Grubba-CDS still getting the same results on live when I try and upload a pic and add pronouns

Don't think it's been pushed to prod yet, still only on devtest

Once these are all working on prod, I can close any that are fixed

This is fixed now


Adding doc & diagram for end-to-end recursive proving

Adding a doc & diagram to clarify how lift, join, identity_p254, and compress are related.
To streamline the review process, I've only included changes on next. Will duplicate the changes onto 1.0 after initial review process.

OK I've revised this based on the first round of feedback... hopefully tests will pass this time but I'm signing off for the day.

with .md I CANNOT get anything to work. Without md, any path "works" but does not show up

I also can't get it to work with .md.
Without md, it shows up under next.

@sashaaldrick @nuke-web3 -- i think this is ready to land, pending your approval

Love the theme :star_struck:  - how was that managed?

One issue: the text is waaaaaay to small to read, ideally I would like to see a github wrapper for our mermaid stuff to allow zooming/panning/fullscreen toggle, like:
flowchart TD
    A[Christmas] -->|Get money| B(Go shopping)
    B --> C{Let me think}
    C -->|One| D[Laptop]
    C -->|Two| E[iPhone]
    C -->|Three| F[fa:fa-car Car]

Love the theme 🤩 - how was that managed?

I don't know what you mean.

One issue: the text is waaaaaay to small to read

Oh hmm good point. I've rotated the diagram which mitigates the fontsize issue.
Open to other suggestions...

Theme is the colors on the diagrams, the default is on gh, we have something much nicer rendering IMHO on our site:

I think it's great as is for a start! We can do a latter PR getting mermaid styled and sized really nice.

I guess the theme is maybe coming from here?
https://github.com/risc0/risc0/blob/89ebf7b971a3e26ed0f6b2a9433196c9bb59047a/website/docusaurus.config.js#L35


Swap _rows_count and deleted in QuerySet.delete.

The doc says:
The delete method, conveniently, is named [delete()](https://docs.djangoproject.com/en/4.0/ref/models/instances/#django.db.models.Model.delete). This method immediately deletes the object and returns the number of objects deleted and a dictionary with the number of deletions per object type. Example:

>>> e.delete()
(1, {'blog.Entry': 1})

And if we check Collector.delete we will see:
return sum(deleted_counter.values()), dict(deleted_counter)

But in QuerySet.delete I see:
deleted, _rows_count = collector.delete()

# Clear the result cache, in case this QuerySet gets reused.
self._result_cache = None
return deleted, _rows_count

So, we need to swap _rows_count and deleted. It won't change the logic, but will fix the code from misunderstanding.

Thanks for raising this. I think this is intentional as is, but I agree the names aren't very good. How about num_deleted, num_deleted_per_model?

Thanks for raising this. I think this is intentional as is, but I agree the names aren't very good. How about num_deleted, num_deleted_per_model?

Thank you for checking. I have updated the names.

@felixxm please take a look.

@expert-m Thanks for this patch :+1: Welcome aboard :boat:

@felixxm please take a look.

Looks good, thanks :+1:


Release arrow-rs / parquet minor version 52.2.0

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Follow on to https://github.com/apache/arrow-rs/issues/5905
Release Info for Version 52.1.0: TBD

Our release schedule is here  https://github.com/apache/arrow-rs?tab=readme-ov-file#release-versioning-and-schedule
Describe the solution you'd like
A new release
Describe alternatives you've considered
According to the release schedule, the next release should be a minor, non breaking release 52.2.0 released around early August 2024
Additional context
Suggested content:
TBD

I plan to start work on this late July

Per discussion on https://github.com/apache/arrow-rs/issues/6050 we are going to make a 53.0.0-dev feature branch so we can merge / integrate breaking API changes before master opens for 53.0.0.

BTW I plan to create a release candidate likely tomorrow so we can continue 53.0.0 development on main (including library upgrades, etc)

Vote thread on mailing list: https://lists.apache.org/thread/82w98fk19tmyzjzpplooxpsvgxr7tzh5

The release is now complete and available for downloads and on crates.io: https://lists.apache.org/thread/lbofzobmbhss9lqppfpbn0bs482fnw5s

label_issue.py automatically added labels {'parquet'} from #6110

label_issue.py automatically added labels {'arrow'} from #6110


Switch remaining (un-namespaced) workers to use X::Runner scheme

The only real change here is an incidental one: I'm killing MiqControlMonitor, because its worker requires a file that doesn't exist.

Great work! :+1:

@matthewd Wow.  :+1:   Does this work with rake evm:start?  The way it builds the command line in miq_worker.rb might cause some annoyances with these changes.
Also, are the workers able to find their worker_settings or be unaffected by this change?  I believe we have some tests for this.
See: https://github.com/ManageIQ/manageiq/blob/4b1c5a80fe1ace5e24556ab22efd582f204a6749/app/models/miq_worker.rb#L199
And:
https://github.com/ManageIQ/manageiq/blob/4b1c5a80fe1ace5e24556ab22efd582f204a6749/config/vmdb.tmpl.yml#L260-L262?

Amazing how such changes make the code clearer and me happier!

Does this work with rake evm:start?

Good catch.. I had missed the direct invocation of UiWorker / WebServiceWorker in lib/vmdb/initializer.rb. Fixed.

Also, are the workers able to find their worker_settings or be unaffected by this change?

Unaffected; that all happens in the MiqFoo models, which are not being touched here.
MiqFooWorker  ->  MiqFooWorker
FooWorker     ->  MiqFooWorker::Runner

Does this work with rake evm:start?

Good catch.. I had missed the direct invocation of UiWorker / WebServiceWorker in lib/vmdb/initializer.rb. Fixed.

:tada:

Also, are the workers able to find their worker_settings or be unaffected by this change?

Unaffected; that all happens in the MiqFoo models, which are not being touched here.
MiqFooWorker  ->  MiqFooWorker
FooWorker     ->  MiqFooWorker::Runner

Great, thanks!  I thought so but wanted to make sure.


A broker catalog payload with zero services should be treated as an error

It's not, currently, but it should be.

I'm taking this one

I have it mostly done but not pushed.

ok, assigned


Form submit doesn't clear form contents

When clicking submit button on form it doesn't clear form contents, allowing for endless repeat submissions of same form

This is fixed now.


npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>

Hi,
When can we expect an update?
Best regards

I assume this happens when you install the package from npm, correct?
If so @mattstyles just publish a new version from master and should be OK.


No info in dashboard

I installed flask-profiler today and seems to work alright, except I don't get any methods info in the dashboard screen, what am I doing wrong?
Filtering page seems to work alright.
Please check the screenshots:
dashboard: http://imgur.com/OfnCqU0
filtering: http://i.imgur.com/TdZkmgY

actually you are not supposed to do anything to get summary info. I will check this.
if your database does not contain sensitive data, could you please send it here?
or could you send responses of the ajax request of the summary page?

I've been running this in a test environment so there's no sensitive data. Here's the DB: https://drive.google.com/file/d/0B-gm7xa66enOWEFEQlJfQ2xDN3M/view?usp=sharing
As an unrelated question: what's the impact of running this on a production server?

thanks for the db.
I downloaded and started flask-profiler with it; it works for me. I am able to see the summary info on the dashboard page.

Can you check the ajax request using chrome's developer console? And what do you get when make the request below?
http://<IP_ADDRESS>:5000/flask-profiler/api/measurements/grouped/?draw=1&sort=count%2Cdesc&skip=0&limit=-1&startedAt=1459501722&endedAt=1460020122&_=1460020122420

Ok, I think that's where the problem is.
For some reason, the URL requested in my instance of flask profiler looks like this: grouped?draw=1(...), which returns an empty response. Yours looks like this: ?draw=1(...).
I found that simply adding a slash ( grouped/?draw=1(...)) returns as expected.
Here's a screenshot: http://imgur.com/BSgi6zu

Hi @alejoar
I am not able to reproduce the issue so that I cannot come up with a solution.

@muatik unfortunately I moved on to logstash to get the same kind of stats so I can't give you any more feedback for flask-profiler. I have no idea why the requested url had that difference in my server, I didn't alter the code at all.
The problem I had was that I have several servers running flask and I needed something centralized so I moved my data recollection to the load balancers.

ohh ok, thanks anyway.

FWIW I ran into a similar issue today, and it turned out to be that the "/grouped" url can be a bit long (my wsgi had a limit to 4096 characters) - so setting buffer-size=32768 in wsgi settings solved it
Hope this helps

I just ran on this issue today and indeed there is a mismatch between the js ajax call to and the route declaration.
From the Werkzeug Rule documentation:

URL rules that end with a slash are branch URLs, others are leaves. If you have strict_slashes enabled (which is the default), all branch URLs that are matched without a trailing slash will trigger a redirect to the same URL with the missing slash appended.

The route declaration has a slash at the end:
@fp.route("/api/measurements/grouped/".format(urlPath))

While the ajax request don't:
<IP_ADDRESS> - - [04/Aug/2017 18:29:31] "GET /flask-profiler/api/measurements/grouped?draw=...

This generate a HTTP 500 error with following traceback:
Traceback (most recent call last):
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1590, in dispatch_request
    self.raise_routing_exception(req)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/app.py", line 1573, in raise_routing_exception
    raise request.routing_exception
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/flask/ctx.py", line 294, in match_request
    self.url_adapter.match(return_rule=True)
  File "/opt/app/.pyenv/versions/3.6.2/envs/0.0.0/lib/python3.6/site-packages/werkzeug/routing.py", line 1534, in match
    safe='/:|+') + '/', query_args))
werkzeug.routing.RequestRedirect: 301 Moved Permanently: None

I manually edited(remove the slash) the flask_profiler.py in the site package and it work as expected.
By removing the trailing slash it will ensure that the route work with either Werkzeug strict_slashes enabled or not (or any other WSGI server in production).


prior art

I fully support you making a new browser, but are you really not reusing anything? surely you could use an existing HTML parser, and build your own browser on top of that? can you explain your rationale here?

I know there are a lot of components out there that allows me to basically "point-and-click" a browser. But one of the goals is to know more about the whole process. It's not until I actually wrote a tokenizer for the html5 stream, that made me aware of the complexity. This is much more work, and will definitely result in inferior code that has been written by many people much smarter than me.. but it gives - at least me - a good idea on how things work.   I know this is not for everybody, but I do think it's important that people still try and grasp the foundations of tech / internet.


exclude/tag strings referenced by library functions (identified by FLIRT)

Hello @williballenthin, I have a question about this issue. Doesn't FLOSS already recognize library functions using viv-utils? Can we use that to tag strings used by these? I guess we could use the addresses to see if the strings are used within the functions, but not sure about arguments etc. though..

Exactly, for recognized functions we can mark associated strings up accordingly. This markup doesn't happen currently and we would also have to discuss and/or change the rendering of identified library-related strings.

yeah! this is just what we want to explore. seems like the data is there and shouldn’t be too hard, but we’d like to try it out and see if the idea works.
then there’s additional research to be done to improve library detection, especially when the signatures don’t match well.

Thank you for the replies! Also it does seem like FLOSS can sometimes not recognize library functions.. For example, this is a C program that I used (compiled by GCC):
#include<stdio.h>

int main(){
    printf("Hello World");
    return 0;
}

Just a simple hello world program. However, FLOSS seems to be picking up multiple functions and decoded strings:

I assume those are added by the compiler, but is there something we can do to mark these functions aswell?

We don't have any signatures for GCC currently. We could try with the rizin libs (https://github.com/rizinorg/sigdb).

Is there any data I can use to test the code? Something that has library functions with strings that can be recognized by FLOSS. @mr-tz @williballenthin

i dont think we have any binaries handy right night, but using something statically linked with OpenSSL or zlib should provide a good starting point, since those strings are fairly obvious and easy to correlate with the source code, and FLIRT signatures should work reasonably well against them.

Plus Microsoft Visual Studio CRT functions from many versions (see https://github.com/mandiant/siglib/); when using the default signatures. I'd recommend to find a file, e.g., from https://github.com/mandiant/capa-testfiles that has many library function identifications and start from there.

Plus Microsoft Visual Studio CRT functions from many versions (see https://github.com/mandiant/siglib/); when using the default signatures. I'd recommend to find a file, e.g., from https://github.com/mandiant/capa-testfiles that has many library function identifications and start from there.

@mr-tz Sorry I don't understand what you mean. Could you please explain more?

Sorry for being unclear. My comment was meant as an addition to Willi's comment above it.
Our signatures should also pick up standard run-time (library) functions used by MS Visual Studio compiled binaries.


papermerge-cli import option --delete without any function

The option --delete of papermerge-cli has no function. The imported docs are not being deleted
Info:

Papermerge Version 3.0.3

I fixed the problem.
--delete option works in papermerge-cli 0.7.1, which is already published and ready for use.
For record, here is Pull Request


error: failed to parse lock file

error: failed to parse lock file at: /home/yuan/.nexus/network-api/clients/cli/Cargo.lock
Caused by:
lock file version 4 requires -Znext-lockfile-bump

same issue here

same issue here

same issue here

same issue here

same issue here

how to fix

same issue here

I solved it by reinstalling rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh


Errors

The template [/Users/nelsonkeating/.rvm/gems/ruby-1.9.2-p180/gems/suspenders-0.2.3/template/suspenders.rb] could not be loaded. Error: No such file or directory - /Users/nelsonkeating/Desktop/idoit/nelly/spec/spec_helper.rb
I also get 4 of these "Could not find gem 'thin (>= 0)' in any of the gem sources listed in your Gemfile."
that apear after generaterspec:install
Generate: cucumber:install
generate:clearance:install
generate:clearance:features

I recently moved Thin to all environments in this commit:
https://github.com/thoughtbot/suspenders/commit/4c789266203a5f0be0c0913561f40045e9c619ed
The reason was unrelated to this ticket, but maybe that will help this issue.
For the spec/spec_helper.rb issue, I think that's related to bundling or another previous shell command failing. I've opened a separate issue for that:
https://github.com/thoughtbot/suspenders/issues/46


⚠ Bofrost.lu has degraded performance

In d0f880e, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 976 ms

Resolved: Bofrost.lu performance has improved in ff6a8d8 after 42 minutes.


Remote Development Syntax Highlighting is Not Working

Environment data

OS and version: Windows 10.0.19
Pylance v2021.9.2

Expected behaviour
Syntax Error highlighting as shown below (code from local machine):

Actual behaviour
No syntax highlighting when connecting to a remote machine with ssh. Validated that pylance and python are both installed on the remote.

Logs
I have attached the log in .vscode-server here as well.

*
* Visual Studio Code Server
*
* Reminder: You may only use this software with Visual Studio family products,
* as described in the license https://aka.ms/vscode-remote/license
*

Extension host agent listening on 33289

[15:25:17] Extension host agent started.
[15:25:17] [<IP_ADDRESS>][c42fcdef][ManagementConnection] New connection established.
[15:25:17] [<IP_ADDRESS>][cd04a2d8][ExtensionHostConnection] New connection established.
[15:25:17] [<IP_ADDRESS>][cd04a2d8][ExtensionHostConnection] <8628> Launched Extension Host Process.
[15:25:28] [<IP_ADDRESS>][c42fcdef][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[15:25:29] [<IP_ADDRESS>][cd04a2d8][ExtensionHostConnection] <8628> Extension Host Process exited with code: 0, signal: null.
Last EH closed, waiting before shutting down
[15:25:29] Last EH closed, waiting before shutting down
Got delay-shutdown request while in shutdown timeout, delaying
[15:25:36] Got delay-shutdown request while in shutdown timeout, delaying
Cancelling previous shutdown timeout
[15:25:36] Cancelling previous shutdown timeout
[15:25:36] [<IP_ADDRESS>][512d1973][ManagementConnection] New connection established.
[15:25:36] [<IP_ADDRESS>][f2eb5c83][ExtensionHostConnection] New connection established.
[15:25:36] [<IP_ADDRESS>][f2eb5c83][ExtensionHostConnection] <8741> Launched Extension Host Process.
[15:25:54] Installing extension: ms-python.vscode-pylance
[15:25:55] Installing extension: ms-python.python
[15:25:55] Installing extension: ms-toolsai.jupyter
[15:25:55] Installing extension: ms-toolsai.jupyter-keymap
[15:25:55] Downloaded extension: ms-toolsai.jupyter-keymap /home/ec2-user/.vscode-server/data/CachedExtensionVSIXs/ms-toolsai.jupyter-keymap-1.0.0
[15:25:55] Downloaded extension: ms-python.python /home/ec2-user/.vscode-server/data/CachedExtensionVSIXs/ms-python.python-2021.9.1230869389
[15:25:55] Extracted extension to /home/ec2-user/.vscode-server/extensions/.59d7aefa-49bc-4453-8e16-bd6e8ab367f0: ms-toolsai.jupyter-keymap
[15:25:55] Renamed to /home/ec2-user/.vscode-server/extensions/ms-toolsai.jupyter-keymap-1.0.0
[15:25:55] Extracting completed. ms-toolsai.jupyter-keymap
[15:25:55] Downloaded extension: ms-toolsai.jupyter /home/ec2-user/.vscode-server/data/CachedExtensionVSIXs/ms-toolsai.jupyter-2021.8.2041215044
[15:25:57] Extracted extension to /home/ec2-user/.vscode-server/extensions/.df63ccf3-6366-41c5-b019-cd7be161e769: ms-toolsai.jupyter
[15:25:57] Renamed to /home/ec2-user/.vscode-server/extensions/ms-toolsai.jupyter-2021.8.2041215044
[15:25:57] Extracting completed. ms-toolsai.jupyter
[15:25:59] Extracted extension to /home/ec2-user/.vscode-server/extensions/.49362731-cd2d-4e4b-b3a2-ca6ea7f5ad43: ms-python.python
[15:25:59] Renamed to /home/ec2-user/.vscode-server/extensions/ms-python.python-2021.9.1230869389
[15:25:59] Extracting completed. ms-python.python
[15:25:59] Downloaded extension: ms-python.vscode-pylance /home/ec2-user/.vscode-server/data/CachedExtensionVSIXs/ms-python.vscode-pylance-2021.9.2
[15:26:02] Extracted extension to /home/ec2-user/.vscode-server/extensions/.f1b75ad6-6205-4f97-9970-6228961db40f: ms-python.vscode-pylance
[15:26:02] Renamed to /home/ec2-user/.vscode-server/extensions/ms-python.vscode-pylance-2021.9.2
[15:26:02] Extracting completed. ms-python.vscode-pylance
[15:26:02] Extension installed successfully: ms-toolsai.jupyter-keymap
[15:26:02] Extension installed successfully: ms-toolsai.jupyter
[15:26:02] Extension installed successfully: ms-python.python
[15:26:02] Extension installed successfully: ms-python.vscode-pylance
[15:26:08] [<IP_ADDRESS>][512d1973][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[15:26:09] [<IP_ADDRESS>][f2eb5c83][ExtensionHostConnection] <8741> Extension Host Process exited with code: 0, signal: null.
Cancelling previous shutdown timeout
[15:26:09] Cancelling previous shutdown timeout
Last EH closed, waiting before shutting down
[15:26:09] Last EH closed, waiting before shutting down
Got delay-shutdown request while in shutdown timeout, delaying
[15:26:24] Got delay-shutdown request while in shutdown timeout, delaying
Cancelling previous shutdown timeout
[15:26:24] Cancelling previous shutdown timeout
[15:26:24] [<IP_ADDRESS>][9edc2aa7][ManagementConnection] New connection established.
[15:26:24] [<IP_ADDRESS>][2ea4a22e][ExtensionHostConnection] New connection established.
[15:26:24] [<IP_ADDRESS>][2ea4a22e][ExtensionHostConnection] <8977> Launched Extension Host Process.
[15:26:37] [<IP_ADDRESS>][9edc2aa7][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[15:26:38] [<IP_ADDRESS>][2ea4a22e][ExtensionHostConnection] <8977> Extension Host Process exited with code: 0, signal: null.
Cancelling previous shutdown timeout
[15:26:38] Cancelling previous shutdown timeout
Last EH closed, waiting before shutting down
[15:26:38] Last EH closed, waiting before shutting down
Got delay-shutdown request while in shutdown timeout, delaying
[15:26:43] Got delay-shutdown request while in shutdown timeout, delaying
Cancelling previous shutdown timeout
[15:26:43] Cancelling previous shutdown timeout
[15:26:44] [<IP_ADDRESS>][1c6481c9][ManagementConnection] New connection established.
[15:26:44] [<IP_ADDRESS>][5846c52a][ExtensionHostConnection] New connection established.
[15:26:44] [<IP_ADDRESS>][5846c52a][ExtensionHostConnection] <9094> Launched Extension Host Process.
New EH opened, aborting shutdown
[15:31:43] New EH opened, aborting shutdown
[16:24:36] [<IP_ADDRESS>][15b8fc5d][ManagementConnection] New connection established.
[16:24:36] [<IP_ADDRESS>][b9ea16a9][ExtensionHostConnection] New connection established.
[16:24:36] [<IP_ADDRESS>][b9ea16a9][ExtensionHostConnection] <14830> Launched Extension Host Process.
[16:24:45] [<IP_ADDRESS>][15b8fc5d][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[16:24:47] [<IP_ADDRESS>][b9ea16a9][ExtensionHostConnection] <14830> Extension Host Process exited with code: 0, signal: null.
[16:24:53] [<IP_ADDRESS>][55cdb953][ManagementConnection] New connection established.
[16:24:53] [<IP_ADDRESS>][9fc644e2][ExtensionHostConnection] New connection established.
[16:24:53] [<IP_ADDRESS>][9fc644e2][ExtensionHostConnection] <14943> Launched Extension Host Process.

Thanks for the report. Could you please add the Pylance logs?

Do any features work in the remote setup? Or is it strictly semantic highlighting?
I would expect that if Pylance is not running that VS Code would do its regular TextMate-based syntax highlighting. If it's not even doing that, then it doesn't sound like a Pylance issue, it sounds like a VS Code issue. What is your language set to for the file at the bottom right?

It is currently set to python. The Pylance logs are below.
[Info  - 6:23:28 PM] Pylance language server 2021.9.2 (pyright eca6f1a5) starting
[Info  - 6:23:28 PM] Server root directory: /home/ec2-user/.vscode-server/extensions/ms-python.vscode-pylance-2021.9.2/dist
[Info  - 6:30:17 PM] No configuration file found.
[Info  - 6:30:17 PM] No pyproject.toml file found.
[Info  - 6:30:17 PM] Setting pythonPath for service "orbit-reduction": "/opt/conda/bin/python"
[Warn  - 6:30:17 PM] stubPath /home/ec2-user/some_path/typings is not a valid directory.
[Info  - 6:30:17 PM] Assuming Python version 3.9
[Info  - 6:30:17 PM] Assuming Python platform Linux
Search paths for /home/ec2-user/some_path
  /home/ec2-user/.vscode-server/extensions/ms-python.vscode-pylance-2021.9.2/dist/typeshed-fallback/stdlib
  /home/ec2-user/some_path
  /home/ec2-user/some_path/src
  /adv/software
  /home/ec2-user/ESCAPADE/orbit-reduction/typings
  /home/ec2-user/.vscode-server/extensions/ms-python.vscode-pylance-2021.9.2/dist/typeshed-fallback/stubs/...
  /home/ec2-user/.vscode-server/extensions/ms-python.vscode-pylance-2021.9.2/dist/bundled/stubs
  /adv/software
  /opt/conda/lib/python3.9
  /opt/conda/lib/python3.9/lib-dynload
  /opt/conda/lib/python3.9/site-packages
[Warn  - 6:30:17 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 6:30:17 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 6:30:17 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Warn  - 6:30:17 PM] Exception received when installing file system watcher: TypeError [ERR_FEATURE_UNAVAILABLE_ON_PLATFORM]: The feature watch recursively is unavailable on the current platform, which is being used to run Node.js
[Info  - 6:30:17 PM] Searching for source files
[Info  - 6:30:17 PM] Found 5 source files

The fact that only semantic highlighting is failing makes it seem like a client bug, yeah.
Can you set "python.trace.server": "verbose" and see if you see messages appear in the logs that pertain to semantic highlighting?

I have the same issue currently, with Pylance version 2021.9.4.

Oddly enough, switching to an older version, 2021.9.3 works for me.

If switching down to 2021.9.3 fixed you, then your issue isn't the same as the original post. Can you please file a new issue with the bug form filled out?


What should we use as the eth-trie hash type?

Two years ago, I made a choice to represent the hash as a keccak::H256. It's been long enough that the choice might not be the best one anymore (it was just a byte slice before, so it's still probably better than that)
When trying out v0.2.0, which includes this change, in trin, that seems like the biggest breaking change. So, what is the best option here?
One option would be to switch the type from the keccak one to the ethereum_types H256. That requires exposing ethereum_types as a proper dependency (not just a dev one). Also, it doesn't fully fix the issue:
error[E0277]: the trait bound `ethereum_types::H256: ssz::Decode` is not satisfied
  --> ethportal-api/src/types/consensus/body.rs:11:59
   |
11 | #[derive(Debug, PartialEq, Clone, Deserialize, Serialize, Decode, Encode)]
   |                                                           ^^^^^^ the trait `ssz::Decode` is not implemented for `ethereum_types::H256`
   |
   = help: the following other types implement trait `ssz::Decode`:
             (A, B)
             (A, B, C)
             (A, B, C, D)
             (A, B, C, D, E)
             (A, B, C, D, E, F)
             (A, B, C, D, E, F, G)
             (A, B, C, D, E, F, G, H)
             (A, B, C, D, E, F, G, H, I)
           and 98 others
   = note: this error originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `ethereum_types::H256: ssz::Decode` is not satisfied
   --> ethportal-api/src/types/consensus/body.rs:15:19
    |
15  |     pub graffiti: H256,
    |                   ^^^^ the trait `ssz::Decode` is not implemented for `ethereum_types::H256`
    |
    = help: the following other types implement trait `ssz::Decode`:
              (A, B)
              (A, B, C)
              (A, B, C, D)
              (A, B, C, D, E)
              (A, B, C, D, E, F)
              (A, B, C, D, E, F, G)
              (A, B, C, D, E, F, G, H)
              (A, B, C, D, E, F, G, H, I)
            and 98 others
note: required by a bound in `SszDecoderBuilder::<'a>::register_type`
   --> /home/carver/.cargo/registry/src/index.crates.io-6f17d22bba15001f/eth2_ssz-0.4.0/src/decode.rs:176:29
    |
176 |     pub fn register_type<T: Decode>(&mut self) -> Result<(), DecodeError> {
    |                             ^^^^^^ required by this bound in `SszDecoderBuilder::<'a>::register_type`

The most obvious options are:

keep keccak:H256 as the exposed type, dependent projects just have to adjust (and maybe have the same encoding issues?)
switch to ethereum_types:H256, and try to get the ssz lib to write encode/decode for this type
switch it back to a bytes slice, and lose the guarantee of it being a 32-byte slice

I'll sleep on it. Open to discussion!
I guess we could try to get the ssz library to implement Encode and Decode for the H256 type

@ogenev what do you think of these options?

eth2_ssz::Decode and Encode are implemented in ethereum_types::H256 for version 0.12.1.
It looks like this support is dropped for versions 0.13.1 and  0.14.1, H256 is now re-exported from primitive-types: https://github.com/paritytech/parity-common/blob/f9cfc79fdd25b0bb0b96b7265055e82f932f299c/ethereum-types/src/hash.rs#L44
Trin types are using H256 from ethereum_types 0.12.1: https://github.com/ethereum/trin/blob/cbede65de50e2eb74c8ccdbfe8bae39e5202ef9a/ethportal-api/Cargo.toml#L23 .
As a quick fix, switching to ethereum-types 0.12.1 should do the trick but in the long run, we may want to switch to a new SSZ library in Trin which seems to support  H256 from ethereum types 0.14.1: see lighthouse.


Multiple Authors

Hey there!
Great work on the theme!
For multiple authors, I suggest changing this on post.hbs (lines 117-120).
FROM:
          {{#has author="count:>1"}}

              {{authors separator=", " prefix=(t "Among with no break line") from="2"}}

TO:
          {{#has author="count:>1"}}

              {{authors separator=", " prefix=(t "With ") from="2"}}

or
          {{#has author="count:>1"}}

              {{authors separator=", " prefix=(t "Along with ") from="2"}}

The English in these two sounds much more natural.

Yeah, I think something like that makes sense, would you mind to open a PR? 😄
Basically it's just matter of changing the values on the right side of the following translations in the locales/en.json file.
"Among with": "
Among with ",
"Among with no break line": "Among with ",

I'm closing this issue now since I already implemented those changes in the latest version.


Global shortcut to show the app window ("Show Messenger")

Operating system: Windows 10
Messenger for Desktop version: v.2.0.9-stable

Is it possible to have a keyboard shortcut for the Show Messenger for Desktop function?

Ex: ctrl-alt-m or something customazible?

This is possible, marked as a feature request.
Devs: https://github.com/electron/electron/blob/master/docs/api/global-shortcut.md

I would like to work on this issue :+1:


"WEBSCREENSHOT=true" hangs with reconftw_axiom.sh

Describe the bug
Every time time I run the ./reconftw_axiom.sh -d SomeDomain.Tld -r
one random node will hang during the gowitness scan
line 671
axiom-scan .tmp/webs_screenshots.txt -m gowitness -o screenshots
To Reproduce
Steps to reproduce the behavior:

spin up a 5 node (or larger) Axiom fleet.
I'm using the g6-standard-2 at Linode
./reconftw_axiom.sh -d paypal.com -r
wait for the  "Web Screenshots"
watch the tmp logs see when each node finishes with it's list.  One node always seems to hang

To get things moving again, I axiom-ssh into the stuck node and perform a "pkill -9 chrome"  and recon continues
Expected behavior
scan should complete (or time out)
Screenshots
Desktop (please complete the following information):

Linode g6-standard-2
ReconFTW Image
updated ReconFTW & axiom this morning (04/30/21 08:00 CDT)

Additional context
The amount of data this recon script collects is Overwhelming.
This is some fantastic work!  Bravo and Thank You.

Seems to be a gowitness issue, I'm looking for a good replacement, for the moment my bet is webscreenshot . It doesn't have html report but works really good.

Thanks @six2dez , I'll check it out. It shouldn't be too hard to deploy to Axiom. And maybe we can get it added to the next ReconFTW image.
This morning I worked on the function fuzz() in reconftw_axiom.sh and got it to use axiom-scan instead.
With the old function it took 3+ hours to fuzz the 228 domains in my paypal.com webs.txt.
After the rewritten function...
11 minutes on a 6 node cluster of 2 vcpu linodes.
Once I finish testing I'll do a PR.

Hey @itsgudenuf
Feel free to do PR :) Contributions will be always appreciated.
Cheers,
0_0eth0

About webscreenshot is already done here but not merged in axiom master :/. I'm testing it again right now.

Aquatone is still my go-to for screen shots :)

The Creator of axiom was on nahamsec's stream and gowitness hung on him also, he said it's on the to-do list,
So it's not a bug with reconftw or gowitness, it's a bug in axiom.

Thanks @gprime31 , now that you mention that, I do remember him saying something about that.
I think a simple timeout option could solve the issue.
I'll make up a gowitness-to.json module and test it out.
I noticed there was already an aquatone module in Axiom too.
Maybe we can adjust reconftw_axiom to use whichever one we like with a switch or two in the cfg file.  I'll look at that... after I get all the other PRs I need to do.

I've tested axiom's aquatone module, and it works almost good, it generates one html report per instance which is not perfect :/
For me there are 3 options:

use maaaz/webscreenshot without html report
fix gowitness
try any other alternative like eyewitness, but this would require creating a new axiom module and modify reconftw installer and axiom provider

for now...
How about adding a function for aquatone now and defaulting it to false in the cfg.  Then the user can select between aquatone or gowitness
I'm working on the order of things, especially in the multi_recon so I can just spin up the fleet when I need it and shut it down when I'm done.
I'm also adding some timeout commands in spots where I've seen it hang.  And making a few timeout variables configurable in the cfg.
Quick formatting ?
For if statements,  do you like
if [ test ]; then
   ...
fi

-- OR --
if [ test ]
then
  ...
fi

Ok, we can add the function for aquatone, no problem, just a bit busy next 2-3 days.
About formatting I prefer:
if [ test ]; then
   ...
fi

but my code editor always put "then" in the next line, so.... an entire code reformat is required for this change XD

RE: formatting  I write my stuff the way you prefer. That's my preference too.  I'll correct the stuff I touch.
Totally understand busy :)

Fixed in dev https://github.com/six2dez/reconftw/commit/5f75750d14334042154dfd0eaadc74b31988fd13


Using MKUnits for OS X with CocoaPods

I am sure I can integrate it by hand but if I try to use MKUnits in an OS X application:
The platform of the target ... (OS X 10.10) is not compatible with `MKUnits (2.0.0)` which has a minimum requirement of iOS 7.0.

MKUnits was written for iOS only - the podspec specifies only iOS as deployment platform https://github.com/michalkonturek/MKUnits/blob/master/MKUnits.podspec
I don't do OSX apps at the moment, butI guess I will make a deployment target for both iOS and OSX one day.


FileNotFoundError: [Errno 2] No such file or directory: '/tmp/.../results.json'

Hi @asottile, thank you for another awesome project!
I am getting this error when running with --testids-file option
root@01c459141970:/path/to/project# pipenv run detect-test-pollution --failing-test 'project/tests/tests.py::Test::test'      --testids-file './testidsfile.txt'
discovering all tests...
-> pre-discovered 100 tests!
ensuring test passes by itself...
-> OK!
ensuring test fails with test group...
Traceback (most recent call last):
  File "/root/.local/share/virtualenvs/project-Qkx4pV5j/bin/detect-test-pollution", line 8, in <module>
    sys.exit(main())
  File "/root/.local/share/virtualenvs/project-Qkx4pV5j/lib/python3.9/site-packages/detect_test_pollution.py", line 299, in main
    return _bisect(testpath, args.failing_test, testids)
  File "/root/.local/share/virtualenvs/project-Qkx4pV5j/lib/python3.9/site-packages/detect_test_pollution.py", line 224, in _bisect
    if _passed_with_testlist(testpath, failing_test, testids):
  File "/root/.local/share/virtualenvs/project-Qkx4pV5j/lib/python3.9/site-packages/detect_test_pollution.py", line 136, in _passed_with_testlist
    with open(results_json) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp4c4aahsz/results.json'

I will try to make a reproducible example on the weekend. In the meantime I was hoping maybe you have some clues what could be the problem here.

no idea without a reproduction. dtp injects a plugin which writes that file
please open a new issue with a reproduction

I had a similar issue and was able to reproduce it. The error is basically the fallback if something with pytest has gone wrong. Some of my examples

Test collection failed due to a missing dependency.
Invalid test-id in testids file.

The code currently suppresses all errors which include such invalid inputs.
https://github.com/asottile/detect-test-pollution/blob/bc901e084baf356dd4393312c1ef694b8913bd55/detect_test_pollution.py#L126-L132
Maybe it would sense to check the exit code here?
https://docs.pytest.org/en/latest/reference/exit-codes.html

@cdce8p I didn't find time to mare reproducable example. Maybe you could provide it?

@cdce8p I didn't find time to make reproducible example. Maybe you could provide it?

Just add something like this to a test file.
from unknown_module import Unknown

It will raise a ModuleNotFoundError pytest internally and subsequently result in the FileNotFoundError.


Post tech-review tasks

[x] Migrate to github.com/ansys
[x] Change the URLs from github.com/ansys-internal to github.com/ansys
[x] Set up branch and tag protection
[x] Generate PyPI token, right before going public
[x] Transfer visibility to public
[x] Do a first release to PyPI

Originally posted by @RobPasMue in https://github.com/ansys-internal/ansys-api-tools-filetransfer/issues/21#issuecomment-1940954933

Done!
Public repository.
Firs release on PyPI: https://pypi.org/project/ansys-api-tools-filetransfer/0.1.0/
Enjoy @greschd!


parent of root directory should be root

It seems that Ammonite treats "parent of root directory" as an error (Path.scala); however a conventional shell in Linux/Mac OS X, usually treats it as the root directory.

What's the use case for this, though?
This was an explicit design decision to be less forgiving than normal shells, in order to have better control of what's happening, and more aggressive throwing of exceptions rather than trying to "carry on".
I could be convinced to change my mind, but I would take some convincing

@lihaoyi Actually I cannot think of a reasonable scenario. I just feel that a regular shell had better follow the convention; and in this case, I think perhaps simply silent this error (or only displaying a warning) should be more preferable.
Anyway, this is personal favor.

ok closing this for now, feel free to reopen and talk more i you feel strongly


Support for extended metadata/interaction of the Play Store

Currently Google::Apis::AndroidpublisherV2 only supports a small set of interactions with the Play Store. I would find it extremely useful to be able to do a number of other things as well. For instance selecting a Category and Content Rating, acknowledge Content Guidelines and export laws, setting the Privacy Policy URL and Price, declaring if the app contains ads. Basically I would like to do as much setup as possible through the API. I explored what I could do yesterday; if I missed how to do something please point me to where I can find it.

See https://developers.google.com/android-publisher/ for guides on how to use the API. This issue tracker is for the ruby bindings only.

@sqrrrl Thanks for the clarification. The API doesn't seem to support what I'd like to do, so who can I get in touch with to submit my petition? I couldn't find any contact information on the site you gave me.


Install and use posh-git

I installed posh-git. Now I am having an issue using it. From PowerShell I execute the command 'Import-Module posh-git' and I get the following error
Import-Module : File C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\posh-git.psm1 cannot be loaded. The file C:\Program
Files\WindowsPowerShell\Modules\posh-git\1.0.0\posh-git.psm1 is not digitally signed. You cannot run this script on the current
system. For more information about running scripts and setting execution policy, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ Import-Module posh-git
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [Import-Module], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

I am not sure how to proceed? Basically posh-git is not digitally signed so this cannot be executed with the execution policy of RemoteSigned?

How did you install posh-git 1.0.0 for Windows PowerShell?  Install-Module should take care of removing the internet zone identifier so it doesn't show up as a "remote" scirpt.
You can remove the internet zone identifier from these files by running:
Get-ChildItem ~\Documents\WindowsPowerShell\Modules\posh-git\1.0.0 -rec -file | Unblock-File

Install-Module posh-git
On Tue, Jan 18, 2022 at 3:10 PM Keith Hill @.***> wrote:

How did you install posh-git 1.0.0 for Windows PowerShell? Install-Module
should take care of removing the internet zone identifier so it doesn't
show up as a "remote" scirpt.
You can remove the internet zone identifier from these files by running:
Get-ChildItem ~\Documents\WindowsPowerShell\Modules\posh-git\1.0.0 -rec -file | Unblock-File
—
Reply to this email directly, view it on GitHub
https://github.com/dahlbyk/posh-git/issues/886#issuecomment-1015836622,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUFM3VMD5GDGFH5GIGAFKLUWXJM7ANCNFSM5MICDFWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Did you try unblocking all of the module files?  Install-Module should have done that but it's not exactly the most bug-free command. FWIW posh-git does work in Windows PowerShell v5 and an execution policy of RemoteSigned:


add macro for calculating radians

What exactly will this solve?

What exactly will this solve?

adds the ability to specify weird sensor mounting angles on custom setups

Π

@unlogisch04 float cast issue has been corrected, math be mathing 😋


peg git packages to known good commit

[ ] mpv

why?

A bad segfault causing commit could accidentally be pushed or an extra dep could be added which would cause the build to fail

Not sure if this idea would be a sane choice for vim. See b46d9cf089f0bc16498ad45a677c0ddf0adb64c1

Yeah, I think vim is just insane in this instance...
Sep 21, 2022, 8:59 PM by @.***:

Not sure if this idea would be a sane choice for vim. See > b46d9cf
—
Reply to this email directly, > view it on GitHub https://github.com/kiss-community/repo/issues/109#issuecomment-1254377737> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AEVM3SNAJIPYFDYDVNFBJIDV7OVOJANCNFSM6AAAAAAQO6ECMQ> .
You are receiving this because you commented.> Message ID: > <kiss-community/repo/issues/109/1254377737> @> github> .> com>


tk103 trouble connecting to server.

Hi. I am having trouble connecting my TK103 to server. I don't know if the device is making a connection or nothing is being sent to the server.
here is the log file
2017-06-20 22:18:17  INFO: [3FC38EE1] connected
2017-06-20 22:18:17 DEBUG: [3FC38EE1: 5001 < <IP_ADDRESS>] HEX: 78780d010358688800584427002a41e70d0a
2017-06-20 22:23:21  WARN: [3FC38EE1] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-20 22:23:21  INFO: [3FC38EE1] disconnected
2017-06-20 22:26:21  INFO: [50011F31] connected
2017-06-20 22:26:21  INFO: [50011F31] disconnected
2017-06-20 22:42:17  INFO: [41CD79A1] connected
2017-06-20 22:42:17 DEBUG: [41CD79A1: 5001 < <IP_ADDRESS>] HEX: 78780d010358688800584427003b40ef0d0a
2017-06-20 22:44:47  INFO: [F9000D90] connected
2017-06-20 22:44:47  INFO: [F9000D90] disconnected

Your device is using GT06 protocol, so correct port is 5023.

Thank you

Still doesn't work. server connects to the tracker. I see it online but no data is being received
2017-06-21 17:16:48  INFO: [9DB934BB] connected
2017-06-21 17:16:48  INFO: [9DB934BB] disconnected
2017-06-21 17:17:44  WARN: [C8622CEA] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:17:44  INFO: [C8622CEA] disconnected
2017-06-21 17:17:46  WARN: [8F9B2967] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:17:46  INFO: [8F9B2967] disconnected
2017-06-21 17:17:56  WARN: [42140CBF] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:17:56  INFO: [42140CBF] disconnected
2017-06-21 17:18:18  WARN: [B5A124C6] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:18:18  INFO: [B5A124C6] disconnected
2017-06-21 17:18:23  WARN: [5CF00173] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:18:23  INFO: [5CF00173] disconnected
2017-06-21 17:22:53  INFO: [1CA63604] connected
2017-06-21 17:27:54  WARN: [1CA63604] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:27:54  INFO: [1CA63604] disconnected
2017-06-21 17:30:51  INFO: [3A92FB37] connected
2017-06-21 17:30:51 DEBUG: [3A92FB37: 5023 < <IP_ADDRESS>] HEX: 78780d010358688800584427002f164a0d0a
2017-06-21 17:30:51 DEBUG: [3A92FB37: 5023 > <IP_ADDRESS>] HEX:<PHONE_NUMBER>2f11a00d0a
2017-06-21 17:33:54  INFO: [6012CCEF] connected
2017-06-21 17:34:24  INFO: [1DD5EE0F] connected
2017-06-21 17:35:59  WARN: [3A92FB37] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:35:59  INFO: [3A92FB37] disconnected
2017-06-21 17:36:24  INFO: [4D032EC5] connected
2017-06-21 17:38:54  WARN: [6012CCEF] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:38:54  INFO: [6012CCEF] disconnected
2017-06-21 17:39:26  WARN: [1DD5EE0F] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:39:26  INFO: [1DD5EE0F] disconnected
2017-06-21 17:39:53  INFO: [567D6EDF] connected
2017-06-21 17:39:53 DEBUG: [567D6EDF: 5023 < <IP_ADDRESS>] HEX: 78780d01035868880058442700408dbb0d0a
2017-06-21 17:39:53 DEBUG: [567D6EDF: 5023 > <IP_ADDRESS>] HEX:<PHONE_NUMBER>408a510d0a
2017-06-21 17:41:23  WARN: [4D032EC5] error - An existing connection was forcibly closed by the remote host - IOException (...)
2017-06-21 17:41:23  INFO: [4D032EC5] disconnected

Port is correct. Your device just doesn't report any location data.


different markup on the client and server (with code splitting)

I tried to reimplement your guide: https://github.com/mqklin/react-async-component-bug
And I got this error:

What's wrong?

The way your state gets bound/interpreted seems to be happening synchronously for some reason.  Switch the statements around so that the state is bound before your client script gets loaded.
The following works:

${appString}

Thank you very much.

Dude, you are awesome! I love this library.
I almost have it all working but when I load my AboutAsync page I get "checksum was invalid". From what you mentioned above. The HtmlWebpackPlugin output looks correct.
Here is my branch and my PR to see what I've changed.

...

I figured it out. I forgot to add asyncBootstrapper to the client-side code.
https://github.com/codeBelt/hapi-react-hot-loader-example/blob/master/src/client.jsx#L42


Executing 'brew style' Results in Multiple Offenses

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Execute 'brew style' to check for spec adherence
What happened (include command output)
'brew style' resulted in multiple formula offenses in test directory.

Command output

Inspecting 770 files
............................................................................................................................................................................................................................................................................................................................................................................................................................C.CCC..CC.CCCCC.C..CCCC.CCCCCCCCCCCCCCCCCC..CCCCCC..CCCC..CCCCC.CCCCC.C.................................................CCC.CCCC.CC................................C.C.CCCCCC.CCC.CCCCCC.CCCCCC..C.CC.CCC.CCC..CCCCCC.CCC.......................C.C.....................CC.CCCCCCCCCCC.C.CCCCCCCCCCC.C..CCCCC..C......................................................
 If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /Users/robert/.pyenv/shims/python-config
  /Users/robert/.pyenv/shims/python3-config
  /Users/robert/.pyenv/shims/python3.8-config

This is an issue with the setup on your machine, I'm afraid. Our CI verifies this isn't the case.

This is an issue with the setup on your machine, I'm afraid. Our CI verifies this isn't the case.

Thanks. I wasn't sure because I did execute 'brew update-reset' after this and checked to ensure that files were synced to origin/master. When I ran 'brew style' gems were updated in the bundle. So, I didn't think that was a coincidence but perhaps it was. I'll remove the test directory or remove taps and re-add to determine if it is resolved.

I think I've managed to reproduce this. It's a change/bug in rubocops-rspec 1.39.0. Basically it depends on your current directory. If you do cd $(brew --repo) && brew style it should work.

Seems like this has been known for a couple months (though didn't affect released versions until now as 1.39.0 was only released yesterday), but wasn't seen as a blocker to fix: https://github.com/rubocop-hq/rubocop-rspec/pull/869#discussion_r383214486

I think I've managed to reproduce this. It's a change/bug in rubocops-rspec 1.39.0. Basically it depends on your current directory. If you do cd $(brew --repo) && brew style it should work.

Yep. You're awesome. I hadn't used 'brew style' in a while but I recall multiple gems. You're probably right on with the rubocops-spec gem 1.39.0 update.

Seems like this has been known for a couple months (though didn't affect released versions until now as 1.39.0 was only released yesterday), but wasn't seen as a blocker to fix: rubocop-hq/rubocop-rspec#869 (comment)

@Bo98 Might be worth downgrading?

Yeah the two options are: downgrade or cd inside brew style.
Either way, we should open a formal bug report upstream.

Not this failing cop is being disabled entirely in https://github.com/Homebrew/brew/pull/7510.


BrokenPipeError when trying to connect to the Pydoc server

Description
What steps will reproduce the problem?

Went into preferences-> appearance to incresae font size. changed from 9 to 10, pressed apply. ok. changed from 10 to 11, pressed apply. got this issue reporter screen
Traceback
  File "/usr/lib64/python3.8/socketserver.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib64/python3.8/socketserver.py", line 347, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib64/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib64/python3.8/socketserver.py", line 720, in __init__
    self.handle()
  File "/usr/lib64/python3.8/http/server.py", line 427, in handle
    self.handle_one_request()
  File "/usr/lib64/python3.8/http/server.py", line 415, in handle_one_request
    method()
  File "/usr/lib/python3.8/site-packages/spyder/plugins/onlinehelp/pydoc_patch.py", line 910, in do_GET
    self.wfile.write(self.urlhandler(
  File "/usr/lib64/python3.8/socketserver.py", line 799, in write
    self._sock.sendall(b)
BrokenPipeError: [Errno 32] Broken pipe
----------------------------------------

Versions

Spyder version: 4.1.4
Python version: 3.8.3
Qt version: 5.15.0
PyQt5 version: 5.13.2
Operating System: Linux 5.7.9-1-default

Dependencies

# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.4.1 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.16.1 (OK)
jedi >=0.17.1                  :  0.17.1 (OK)
keyring                        :  None (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.9.2 (OK)
parso >=0.7.0                  :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=1.0                   :  2.5.3 (OK)
pyls >=0.34.0;<1.0.0           :  0.34.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  0.6.0 (OK)
qtconsole >=4.6.0              :  4.7.5 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
sphinx >=0.6.6                 :  3.0.4 (OK)
spyder_kernels >=1.9.2;<1.10.0 :  1.9.2 (OK)
watchdog                       :  None (OK)
xdg >=0.26                     :  0.26 (OK)
zmq >=17                       :  19.0.1 (OK)

# Optional:
cython >=0.21                  :  0.29.21 (OK)
matplotlib >=2.0.0             :  3.2.2 (OK)
numpy >=1.7                    :  1.18.4 (OK)
pandas >=0.13.1                :  1.0.5 (OK)
scipy >=0.17.0                 :  1.4.1 (OK)
sympy >=0.7.3                  :  1.6 (OK)

# Spyder plugins:
spyder_line_profiler           :  0.2.1 (OK)
spyder_memory_profiler         :  0.2.1 (OK)
spyder_notebook                :  0.2.3 (OK)
spyder_terminal                :  0.3.2 (OK)

Hi @robwarm,
I'm not able to reproduce this, can you please upload a gif with the error?
Are you changing rich text or plain text in the appearance pane and do you have something open in the online help pane?

Hi @steff456 ,
thanks for the response. I can reproduce the behaviour changing the plain text twice (fe. increase by 1, apply increase by 1, apply). The message appears after the text in the main window is updated to the new size. Changing the rich text size works fine.
Regarding the help plane... I don't pay attention to what's in there, but the error stil appears if I close that pane before changing the setting.
Let me know, if I can do more to help.

@robwarm, thanks for reporting! This looks like a legitimate error, but not directly related to applying a font size change.
We'll fix it in our next version, to be released in a couple of months.


Allow alias to be entered as a command

Coverage increased (+0.1%) to 80.693% when pulling 3a5acaf21f8038beb7ffbffcec3d213ef2ba1f1f on JYL123:add_alias into bc50e82da744032f3b8b6e7dc8f192641912114c on CS2103AUG2017-W11-B1:master.


Add the ability to play public google drive videos

Adds the ability to play videos from a google drive, as whished in issue #83 (closes #83).

TODO: Add support for other formats that MP4 when accessing google drive videos

I guess the CI fails at the moment because the CI Google API key is not configured to access Google Drive. @timonegk is that correct?

Maybe somebody from the frontend should have a look at this because the mime metadata is part of the metadata request and not the URL for google drive requests. Therefore the frontend can not rely on the URL or the domain to get the mime info.
It could be embedded in the stream URL by the backend, but this seems a bit hacky
(e.g. streamUrl: "https://www.googleapis.com/drive/v3/files/<File>?key=<Key>&mime=video/mp4").


"odo url describe" doesn't state "Kind" of the url on windows platform

/kind bug

What versions of software are you using?

Ran the steps both on windows and macOS. But on windows its not stating the Kind field.
Steps to reproduce:
On windows:
1. odo preference set Experimental true
Global preference was successfully updated

2. odo project create testdevurl
 V  Project 'testdevurl' is ready for use
 V  New project created and now using project: testdevurl

Copy the project dir of devfile nodejs to the current working directory

4. cd ./project

5. odo create nodejs --project testdevurl blah
Experimental mode is enabled, use at your own risk

Validation
 V  Checking devfile compatibility [2ms]
 V  Creating a devfile component from registry: DefaultDevfileRegistry [89ms]
 V  Validating devfile component [1ms]

Please use `odo push` command to create the component with source deployed

6. odo url create myurlwithhost --port 3000 --host testh.com --ingress
 V  URL myurlwithhost created for component: blah

To apply the URL configuration changes, please use `odo push`

7. odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false
There are local changes. Please run 'odo push'.

macOS:
1. odo preference set Experimental true
Global preference was successfully updated

2. odo project create testdevurl
 V  Project 'testdevurl' is ready for use
 V  New project created and now using project: testdevurl

Copy the project dir of devfile nodejs to the current working directory

4. cd ./project

5. odo create nodejs --project testdevurl blah
Experimental mode is enabled, use at your own risk

Validation
 ✓  Checking devfile existence [136531ns]
 ✓  Checking devfile compatibility [538783ns]
 ✓  Creating a devfile component from registry: RegistryName [515404ns]
 ✓  Validating devfile component [569407ns]

Please use `odo push` command to create the component with source deployed

6. odo url create myurlwithhost --port 3000 --host testh.com --ingress
 ✓  URL myurlwithhost created for component: blah

To apply the URL configuration changes, please use `odo push`

7. odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE     KIND
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false      ingress
There are local changes. Please run 'odo push'.

Actual behavior
Described in how to reproduce on windows.
Expected behavior
Should give the result as on macOS.
odo url describe myurlwithhost
NAME              STATE          URL                                PORT     SECURE     KIND
myurlwithhost     Not Pushed     http://myurlwithhost.testh.com     3000     false      ingress
There are local changes. Please run 'odo push'.

Any logs, error output, etc?

It was happening basically due to oldest version of odo. Now it is working fine so closing this issue.
/close


Product manager responsibilities

Description
Describe the Product manager responsibilities
Good example: https://about.gitlab.com/handbook/product/product-manager-responsibilities/#core-pm-tasks
Related Issue(s)
https://github.com/FlowFuse/website/issues/1179
Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

@MarianRaphael I've removed the "What the PM is not responsible for", it feels a lot like trying to define "What's legal in this country" -- The list is endless. Also moved the content around, let me know what you think.

@ZJvandeWeg let's go with it


routes without id don't work

lumen.ERROR: exception 'NilPortugues\Api\Mapping\MappingException' with message 'Could not find "id_properties" property with data .
but an api should have such routes ;)
I tried to test your work with the entry point of my API. "/api"
What is the undocumented way?

There's no need for the hal+json transformer there. /api should point to your API documentation the list of endpoints available. Using the response trait and a json_encode should be OK.
If you intend to do /api/user/1/friends for instance, 1 should be a userId, that is constructor parameter for a getAction in your controller.
The hal+json transformer is to be used for mapping resources (eg: eloquent models). All models have an id, so that's when the hal-json transformer should be use.
The transformer  is not a API server. That's just another project I will eventually release.
In conclusion, for URLs containing ids, use the hal-json transformer, elsewhere just normal arrays that can be json_encoded+response trait. You should be fine.

I think you have a gap in your approach.
If I design an API then I provide an interface. IMO this interface should be consistent.
What about all listing resources without an ID?
/api/oders
/api/customers
    {
        "_links": {
            "self": { "href": "/api/orders" },
            "next": { "href": "/api/orders?page=2" }
        },
        "_embedded": {
            "ea:order": [{
                 /* ...*/
    }

All of this should be possible to respond a HAL JSON and the whole API should be viewable in HAL-Browser, I guess.
Now I understand your projects as a single resource transformer. Please update the documentation with a hint.

It's actually feasable if I just remove the check for ids in the source code.

@jensklose should work now. Just do a composer update and let me know if I can help you.

Hey, I'll do so if you share it.
There are no changes in the repository. ;)

cool :+1:

first feedback:
It seem to work partially;
debugging shows the rendered content
but
nothing was sent to client
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 02 Oct 2015 17:19:58 GMT
Content-Type: application/hal+json
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.5.7 ZendServer/6.3.0
...
X-Zend-Debug-Server: OK
Cache-Control: max-age=0, must-revalidate, private
Strict-Transport-Security: max-age=31536000; includeSubdomains
X-Content-Type-Options: nosniff

Hmm mind sharing your mapping and classes in a gist?
Even without ids it will render information..I've investigated but haven't been able to reproduce your case.

I'm closing this as no gist has been provided. Will be reopened if gist if provided, or more data on the subject.
For those reading, input without ID field specified will still output data where possible and return a valid HAL+JSON response.

Thanks for your investigation.
Some other issues with Lumen/Laravel forces a switch to Slim framework.

You can always use the standalone package... will certainly get the job done :)


Remove peers from gossip by connection closed

this should listen to closing connections from the connectionpool and report to the gossip protocol to remove these peers.
to do this need :

[x] - Replace Net's ClosingConnections with a pub sub
[x] - Hook to this event and remove peers from gossip by it

#310