--dry-run updates modification time in destination

rclone v1.35-40-gb6848a3ß
running in Windows XP 32-bit
Google Drive is the remote.
When I do an rclone sync with the --dry-run option, if a file has identical contents but has a different modification time, rclone updates the remote modification time.  According to the docs, --dry-run should not make any permanent changes.
rclone sync -v --dry-run test remote:test

2017/02/04 12:18:33 rclone: Version "v1.35-40-gb6848a3ß" starting with parameters ["rclone" "sync" "-v" "--dry-run" "test" "remote:test"]
2017/02/04 12:18:34 Google drive root 'test': Modify window is 1ms
2017/02/04 12:18:34 Google drive root 'test': Not making directory as dry run is set
2017/02/04 12:18:34 Google drive root 'test': Reading ""
2017/02/04 12:18:34 Google drive root 'test': Finished reading ""
2017/02/04 12:18:34 test.txt: Modification times differ by -1m25.375s: 2017-02-04 12:18:27.696 -0800 PST, 2017-02-04 20:17:02.321 +0000 UTC
2017/02/04 12:18:34 Google drive root 'test': Waiting for checks to finish
2017/02/04 12:18:35 test.txt: Updated modification time in destination
2017/02/04 12:18:35 test.txt: Unchanged skipping
2017/02/04 12:18:35 Google drive root 'test': Waiting for transfers to finish
2017/02/04 12:18:35 Waiting for deletions to finish
2017/02/04 12:18:35
Transferred:      0 Bytes (0 Bytes/s)
Errors:                 0
Checks:                 1
Transferred:            0
Elapsed time:        1.6s
2017/02/04 12:18:35 Go routines at exit 5

I just checked the code - yes you are right!
I'll fix this.

Thanks. :)  It's not a big deal, really, but the behavior was unexpected.
I'm still rocking the --backup-dir option.  It's working extremely well and I can't thank you enough.

@balazer You should definitely win a prize for noticing that - it has been like that since the very first version of rclone!

I've fixed this in http://beta.rclone.org/v1.35-102-gb52c80e/ (uploaded in 15-30 mins)


any chance writing the math for the max borrow amount on balancer and curve?

i am willing to pay for it

Me too

For Balancer or Curve, it's quite complicated to solve for the best solution. Suggestion to try to calculate it off-chain by using tools such as scipy or you can use an off-chain binary searching for an optimized borrow amount.
For Uniswap V3, I only suggest using binary searching for an optimized borrow amount.

@stefangabos @yoongyy how much? I have a formulation that I'm using in my bots, that I'm willing to sell, depending on price and use case. Also have optimal amounts for triangular arbitrages.

@stefangabos @yoongyy how much? I have a formulation that I'm using in my bots, that I'm willing to sell, depending on price and use case. Also have optimal amounts for triangular arbitrages.

The important part is not the formula, but Balancer/Curve is Vault, so it is not like normal pool like WBNB/BUSD in PancakeSwap. I need the script to calculate the borrow amount from Vault and selling amount on Dex or from Dex to Vault, off chain and on chain (if possible).

Would you mind explaining a bit further the way you would implement the binary search for the optimized borrow amount? I'm trying to code my flashswap contract from scratch bit I'm struggling with this part

@stefangabos @yoongyy how much? I have a formulation that I'm using in my bots, that I'm willing to sell, depending on price and use case. Also have optimal amounts for triangular arbitrages.
How can I contact you,i want to buy

@mtyou pm me on twitter @samlafer


Problem about loading resnext101_32x8d_wsl

Thank you for your wonderful work. But when I reproduced the results, some problems appeared. The model resnext101_32x8d_wsl cannot be downloaded, as shown in the figure below.  The problem seems like #404 error when pulling model from hub. Can you provide this file that you downloaded before? If so, I would be very grateful!

Thank you again for your wonderful work, and hope to get your reply!

I have solved this problem. The solution is:
a. manually download this code
b. unzip and put it under ./cache/torch/hub/
c. finally rename it to facebookresearch_WSL-Images_master.
Thank you very much for your wonderful work!


Add tutorial on how to use custom typeorm models

Docs on how to use custom typeorm models, goes only as far as specifying how to pass in a custom model, how to extend/inherit from the default ones.
The rest should be up to your typeorm expertise/goals
Maybe I should add a warning about overriding the default properties as they might break something?
Fixes https://github.com/iaincollins/next-auth/issues/283

Thank you this is great, I really appreciate it!
I'll merge it in to the v3 branch so that it's published when the fix you made goes out.


proxmox-backup-client packaging request

Project description
Client for proxmox backup server written in Rust.
Metadata

homepage URL: https://pbs.proxmox.com/
source URL: https://git.proxmox.com/?p=proxmox-backup.git;a=summary
license: aGPLv3.
platforms: unix, linux

It would also be nice if added some sort of service that backups certain folders on a CRON timer to the server.
Like:
service.proxmox-backup.client = {
  enable = true;
  enableAutoBackup = true;
  on = "4:45";
  data = [
    {"path" = "/some/data"; "type" = "pxar"; "name" = "filename";}
  ];
};

I have built a derivation for proxmox-backup-client in 2020 (but currently only at version 1.1.3) that I'm using on some machines and my phone (via nix-on-droid).
I'll see if I can update that derivation to the latest release and clean it up for inclusion in nixpkgs.

@jojosch any updates?

Hello, I packaged 2.2.1: https://git.frsqr.xyz/firesquare/nixos/src/branch/main/pkgs/proxmox-backup-client

Hello, I packaged 2.2.1: https://git.frsqr.xyz/firesquare/nixos/src/branch/main/pkgs/proxmox-backup-client

I moved this version to PR, thanks.


DCOS 1.10 deployment

Marathon Python is broken yet again. I'm tired of waiting or patching their wrapper of the Marathon APIs that break every version. We should investigate use of DC/OS SDK or just run everything via the Scale scheduler.
Biggest issue with this is the chicken / egg problem of having to schedule the DB / Messaging / Logging services ahead of the scheduler itself.

DC/OS Commons isn't going to be a perfect solution. It does not support any means to expose external services. It may simplify our deployment by providing a 2-piece packaging schema: scale (internal only, via Admin Router), scale-public (simply the webserver, exposed via Marathon LB). This would allow us to deploy all the dependencies via DC/OS Commons (db, rabbit, logstash) and then deploy the scheduler and web server.
Since this seems like a step back from an ease of use perspective, I'm going to defer this and attempt to patch the Marathon Python API.

Upstream changes are now included in marathon-python v0.9.1.


onPointerCancel of  Listener in never called

Steps to Reproduce

Execute flutter run on the code sample
Tap down (but don't release) the amber square and move outside of the square and then release
Pointer down event and pointer up event is sent, but pointer cancel should be sent.
There seems to be no way to generate pointer cancel events, and either docs is wrong, or a bug exists

Expected results:
A pointer cancel event is sent when the input from a pointer that triggered an [onPointerDown] is no longer directed towards this receiver (as per what the docs suggest would happen).
Actual results:
No pointer cancel event is sent at all... and instead a pointer up event sent when the receiver should no longer be receiving events !?

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

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: ListenerTest(),
    );
  }
}

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

  @override
  State<ListenerTest> createState() => _ListenerTestState();
}

class _ListenerTestState extends State<ListenerTest> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Listener Test'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Listener(
                onPointerDown: (pde) => debugPrint("$pde"),
                onPointerUp: (pue) => debugPrint("$pue"),
                onPointerCancel: (pce) => debugPrint("$pce"),
                child: Container(
                    width: 100,
                    height: 60,
                    color: Colors.amber,
                    child: const Text(
                      'ClickMe',
                    ))),
          ],
        ),
      ),
    );
  }
}

Logs

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-AU)
    • Flutter version 2.5.3 at /Users/gslender/Documents/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (4 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/gslender/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.0

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

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7281165)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6 20G165 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

Issue is reproducible on stable and master.
onPointerCancel  doesn't seem to be triggered.

logs
Waiting for another flutter command to release the startup lock...
Launching lib/main.dart on iPhone 13 in debug mode...
Xcode build done.                                           11.6s
Connecting to VM Service at ws://<IP_ADDRESS>:57935/IThXGMLl1PU=/ws
flutter: pointerDown: _TransformedPointerDownEvent#0cc6f(position: Offset(186.3, 472.7))
flutter: pointerUp: _TransformedPointerUpEvent#56006(position: Offset(206.0, 488.0))
flutter: pointerDown: _TransformedPointerDownEvent#4da1f(position: Offset(195.7, 480.7))
flutter: pointerUp: _TransformedPointerUpEvent#f363a(position: Offset(195.7, 480.7))
flutter: pointerDown: _TransformedPointerDownEvent#0af01(position: Offset(186.0, 474.0))
flutter: pointerUp: _TransformedPointerUpEvent#3c10b(position: Offset(186.0, 474.0))
flutter: pointerDown: _TransformedPointerDownEvent#7c324(position: Offset(194.3, 485.3))
flutter: pointerUp: _TransformedPointerUpEvent#b9b5b(position: Offset(191.0, 480.0))
Application finished.
Exited (sigterm)

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7249189)

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

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.723, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.723 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 245168f85c (12 hours ago), 2021-11-15 12:55:32 -0800
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.16.0 (build 2.16.0-14.0.dev)
    • DevTools version 2.8.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2020.3)
    • 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.10+0-b96-7249189)

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

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

CC @dkwingsmt

The behavior is expected, but I agree that the description might have been a bit misleading.
The "receiver" in this context does not refer to a widget, but the entire client. This event is usually not triggered by some gesture of your finger, but when a gesture is interrupted by some emergent events such as low power. This is equivalent to event types of the similar name on other platforms, such as Web's pointercancel or touchcancel events, or iOS's UIControlEventTouchCancel, to name a few.
Usually if you want to detect the relationship between your gesture and a specific widget area, you should turn to GestureDetector. But if your demand is whether the held pointer has moved out of the starting widget, GestureDetector will not work either, due to how Flutter always routes the entire tap to the starting widget. You should take a look at (or better, just use) DragTarget.

I'm closing this issue as being intended. Feel free to comment for more questions. It'll be appreciated if you can submit a PR to improve the documentation.

Happy to submit a PR if you can answer a question for me... :-)
If I'm using an InkWell for splash effects, how do I use that and a GestureDetector so that I can get OnTapDown, OnTapUp and OnTapCancel events? When using GestureDetector on its own, I can get the full Tap events I need to make my custom widget work correct, but adding InkWell for the nice Material splash effects break the GestureDetector because InkWell and InkResponse consume the Tap events and don't provide the full visiblity of TapCancel to complete what I need done... so was looking at Listener (which worked for most e events but lacked the Cancel event)... any tips as to how you'd solve this? Do I need to extend/re-implement InkResponse for my needs or could this be something easily added in the next Flutter release??

I see that both InkWell and InkResponse have onTapDown and onTapCancel, but not onTapUp. I see no reason not to have it :) Feel free to submit a PR for that as well.

Cool. Can you point me to a guide for submitting PRs to the Flutter team? Unless there is no specific requirement and just fork, branch and then submit the PR.... TIA

Is this the best guide?? https://github.com/flutter/flutter/wiki/Tree-hygiene

@gslender - there's also this recent video about contributing to Flutter https://www.youtube.com/watch?v=4yBgOBAOx_A

Two (2) PRs submitted and passed... so hopefully they'll be in the next release 👍


Is there a preferred way to configure Passport-SAML to support dynamic IdPs?

So I'm working on an app that needs to support dynamic IdPs. Upon receiving a request, the database is queried for a config JSON object based on some request parameters. That config object will contain any and all data about the IdP we're trying to work with for SSO. How would I go about configuring passport-saml to run with dynamic configurations? Is there a smarter approach?

Would https://www.npmjs.com/package/passports get you what you want?


Prevent extra infobox appearaing in Print-view when changing parameters

Description: Read Issue's title (self-explanatory).
Estimated 5 man-hours.

Fix included in https://github.com/SuperCap/SuperCap/commit/afeb2a0ade2f02ff3d1bdb896695a5581f7be348


Verify an image exists before running terraform apply

What this PR does / why we need it:
Verifies an image exists before running terraform apply. Exits with an error earlier.
Which issue this PR fixes
fixes #19
Release note:

Verify at least one image exists before running terraform apply

/ok-to-test

/approve
/lgtm


t-writer doesn't handle non-ascii characters

Complex scripts render one symbol, glyph or grapheme for a cluster of characters.
For example: కృష్ణ.
T-Writer would type out the 5 individual unicode characters:

క (\uc15)
ృ (\uc43)
ష (\uc37)
్ (\uc4d) and
ణ (\uc23)

instead of typing out కృ and then ష్ణ.
This is probably because t-writer iterates over each character in the string instead of iterating over cluster of characters that make up a single symbol, glyph or grapheme displayed. Essentially: కృష్ణ is an array of characters ["క", "ృ", "ష", "్", "ణ"]
What makes it hard is probably because JavaScript doesn't provide a simple way to iterate over grapheme clusters.
I am still trying to find a JavaScript library that can handle complex scripts (like all Indian languages, Arabic, Hebrew, East-Asian languages and so on).

One approach to this would be passing an option that tells the typewriter to 'watch out' for unicode characters, and slightly changing the scripting.  However, this library is not being used by enough people to warrant me investing time into developing it further.  I appreciate you bringing this to my attention though.


How can I reproduce the detection results

Hi,
Sorry to disturb you again.
Does 'a YOLOX detector [13] trained following [77].' means you directly consider the bytetrack results as the input of SUSHI?

No, one should disable all the tracking components of bytetrack and only use their detection backbone. You can find the detections in the repo.


--hls-prefer-native on a live twitch.tv stream uses ffmpeg anyway, bypasses proxy

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.03.10

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ ./youtube-dl -v -f 480p --hls-prefer-native --proxy socks5://<IP_ADDRESS>:9050/ https://www.twitch.tv/carlsagan42
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'480p', u'--hls-prefer-native', u'--proxy', u'socks5://<IP_ADDRESS>:9050/', u'https://www.twitch.tv/carlsagan42']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.10
[debug] Git HEAD: d11691899
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-6-amd64-x86_64-with-debian-9.3
[debug] exe versions: ffmpeg 3.2.10-1, ffprobe 3.2.10-1, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>:9050/', u'https': u'socks5://<IP_ADDRESS>:9050/'}
[twitch:stream] carlsagan42: Downloading stream JSON
[twitch:stream] carlsagan42: Downloading channel access token
[twitch:stream] carlsagan42: Downloading m3u8 information
[debug] Invoking downloader on u'https://video-weaver.fra02.hls.ttvnw.net/v1/playlist/Ct0Cojn-wSxhMMks9Vx5meXm9_glFtr1hh-lZHU5nCL2gkiPKoAKH6_5vZnzNNtmXu8lqtQi9Pb4m5l0N2FUby3E95lA4SFtWTXy2FBo_sSiaO9TSTL7MxEVScTjzyzK8QLWVKpu7bRuU-1KPSXbf5i0FmkoVK0dRHprt4ncfEN5UCQMry3eHD7OP2d6TpLZWjqkK76TipGU5Nhc6fhmmmT5n_SM3PWLxN14M0A-CO7-2YHlxTkCcsE_t18dEshuoXU53WHt8BNGVuEIG-aazWa6RbktHzYApS7yYYSPn-JxWdC9YumLL3lwdfvjGsgG041cjvLfAIInkHo4QOggZMdJbM2iCmYYjFep9P9JdU3XSRenytswvrSOA8CAaUjcPse8Y3-Q0OAI18nXgTonUK9Jmu7pbQmjp7xxmHij1HTQXWEGDa4WK2rrN58vQhrq92Kau5YFZIwhFQGzoijiABIQwCewrcVMde0tVoYAMxMBoBoMb6bZHixVpps31Dj5.m3u8'
[download] Destination: CarlSagan42 2018-03-10 19_50-27888787776.mp4
WARNING: ffmpeg does not support SOCKS proxies. Downloading is likely to fail. Consider adding --hls-prefer-native to your command.
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
' -i 'https://video-weaver.fra02.hls.ttvnw.net/v1/playlist/Ct0Cojn-wSxhMMks9Vx5meXm9_glFtr1hh-lZHU5nCL2gkiPKoAKH6_5vZnzNNtmXu8lqtQi9Pb4m5l0N2FUby3E95lA4SFtWTXy2FBo_sSiaO9TSTL7MxEVScTjzyzK8QLWVKpu7bRuU-1KPSXbf5i0FmkoVK0dRHprt4ncfEN5UCQMry3eHD7OP2d6TpLZWjqkK76TipGU5Nhc6fhmmmT5n_SM3PWLxN14M0A-CO7-2YHlxTkCcsE_t18dEshuoXU53WHt8BNGVuEIG-aazWa6RbktHzYApS7yYYSPn-JxWdC9YumLL3lwdfvjGsgG041cjvLfAIInkHo4QOggZMdJbM2iCmYYjFep9P9JdU3XSRenytswvrSOA8CAaUjcPse8Y3-Q0OAI18nXgTonUK9Jmu7pbQmjp7xxmHij1HTQXWEGDa4WK2rrN58vQhrq92Kau5YFZIwhFQGzoijiABIQwCewrcVMde0tVoYAMxMBoBoMb6bZHixVpps31Dj5.m3u8' -c copy -f mp4 'file:CarlSagan42 2018-03-10 19_50-27888787776.mp4.part'
ffmpeg version 3.2.10-1~deb9u1 Copyright (c) 2000-2018 the FFmpeg developers
[then it proceeds to download]

Because the --hls-prefer-ffmpeg downloader doesn't support a SOCKS proxy (#10304), I tried using --hls-prefer-native. But youtube-dl used ffmpeg anyway, and even emitted a warning telling me to use an option I was already using:
WARNING: ffmpeg does not support SOCKS proxies. Downloading is likely to fail. Consider adding --hls-prefer-native to your command.

Although the stream starts to download, it's clear that it's ffmpeg doing the downloading, and I verified with tcpdump that the download was not obeying my --proxy option.
In order to reproduce the problem, you'll need to find a stream that's currently online, otherwise you'll just get the error ERROR: <user> is offline. Sorry I don't know of any streams that are always available, but you can just choose one from the front page of https://twitch.tv/.
I tried without the --proxy option too: it still uses ffmpeg, though without the warning about not supporting a SOCKS proxy.
I tried uninstalling ffmpeg and repeating the command. When I do this, I get an error about an m3u8 download requiring ffmpeg or avconv. Here is the output log when ffmpeg is uninstalled:
$ ./youtube-dl -v -f 480p --hls-prefer-native --proxy socks5://<IP_ADDRESS>:9050/ https://www.twitch.tv/carlsagan42
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'480p', u'--hls-prefer-native', u'--proxy', u'socks5://<IP_ADDRESS>:9050/', u'https://www.twitch.tv/carlsagan42']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.03.10
[debug] Git HEAD: d11691899
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-6-amd64-x86_64-with-debian-9.3
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>:9050/', u'https': u'socks5://<IP_ADDRESS>:9050/'}
[twitch:stream] carlsagan42: Downloading stream JSON
[twitch:stream] carlsagan42: Downloading channel access token
[twitch:stream] carlsagan42: Downloading m3u8 information
[debug] Invoking downloader on u'https://video-weaver.fra02.hls.ttvnw.net/v1/playlist/Ct0CN0Os0dJgqPUxm_h00xUjsaoWUI9SdZai0eVokpV3bXcb_G2Zb0N-j1nCEN3x8AUi3VX7W3OcSIkRKWmByTdAwod4RrOfQ-kbt4iX_u_9JBW7pYV8GCivcft7dv8Rez12zQNv8Vozs6kNc0jQRT3wO-I60oCHrh-SeL7ff8KZL5r-U-C62ODeLMqF1wz7eG1v_puFIEqZ2ZkU2rV-gVeo-x9b5SOra4DCIe_QZjxPEozR_cC1oacdUNDLDjqZlBYcUrFX86qi33NmV4q6zecB2G9dTrRZ7MNVc0IHupxc00zJFKOHVfxprJiXGXUiBGw_mWY5L9VAsDdAWDFFbYrfi2WoO8wdyB2-1LTt0jbrVbjqp1p9WNktVLY2gdAVx2naDLHMFw04W421xv6fffq0TgxuENgiZP2ew8u5scqUq9vNwNdRqGjN3hB1cQyYwJqjY7AQE3vsOGXK52RbSRIQ7DI_aJzTdnKiylmAq_Mj0RoMNtXmnKGd0XgyXvxU.m3u8'
[download] Destination: CarlSagan42 2018-03-10 19_52-27888787776.mp4
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.
  File "./youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/home/user/youtube-dl/youtube_dl/__init__.py", line 471, in main
    _real_main(argv)
  File "/home/user/youtube-dl/youtube_dl/__init__.py", line 461, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 1989, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 850, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 1623, in process_video_result
    self.process_info(new_info)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 1896, in process_info
    success = dl(filename, info_dict)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 1835, in dl
    return fd.download(name, info)
  File "/home/user/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/home/user/youtube-dl/youtube_dl/downloader/external.py", line 33, in real_download
    retval = self._call_downloader(tmpfilename, info_dict)
  File "/home/user/youtube-dl/youtube_dl/downloader/external.py", line 209, in _call_downloader
    self.report_error('m3u8 download detected but ffmpeg or avconv could not be found. Please install one.')
  File "/home/user/youtube-dl/youtube_dl/downloader/common.py", line 166, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 613, in report_error
    self.trouble(error_message, tb)
  File "/home/user/youtube-dl/youtube_dl/YoutubeDL.py", line 575, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

hls native does not support live streams.

What about using "--external-downloader curl" or "--external-downloader wget"?
I have a similar problem, FFMPEG is downloading live youtube video at "speed=0.163x" After a long time, when the live feed it shutoff, the download stops with only a partial download due to the huge time offset. Been googleing for a fix or workaround and came across this bug.

I found a workaround that can also be use as a workaround on this bug. For youtube live feeds:
youtube-dl --verbose --hls-prefer-native $(youtube-dl -g  https://www.youtube.com/watch?v=4tFB_3YgluI)
replace the youtube URL with the twitch URL.


[Transaction] Fix transaction ack one topic with multi sub.

Motivation
Now Transaction ack one topic with multi sub will be filtered. fix it.
implement
add topic + subName filter.
This is transaction component status.
Verifying this change
Add the tests for it
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes
Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (yes)
Anything that affects deployment: (no)

@eolivelli @codelipenghui please review again thanks

@codelipenghui PTAL


GEODE-6528: Add host.jvm.memory.used meter for heap and nonheap

Co-Authored-By: Dale Emery<EMAIL_ADDRESS>Co-Authored-By: Michael Oleske<EMAIL_ADDRESS>Please review: @demery-pivotal @moleske

DistributedTestOpenJDK11 failed two flaky tests: ShutdownCommandOverHttpDUnitTest and PersistentRecoveryOrderDUnitTest.

GEODE-6537 has been filed for flakiness in ClearTXLockingDUnitTest.


Rewrite Rules not working

Hello,
I have these settings

WP site: www.dynpage.com
Static version: www.statpage.com

I have the need to rewrite a specific url in the static version of the wp site.
I added this rewrite Rule to achieve this
https://www.dynpage.com/contact/,https://contact.dynpage.com/
I also tried in case the url rewrite for the static page happends before
https://www.statpage.com/contact/,https://contact.dynpage.com/
Unfortunally the urls are never touched.
How can I achieve this?
There is a hint that "URLs will be first checked to ensure they are part of this site, not an external WordPress site, which would mess up URLs of linked images, etc"
But does that include the new URL too? Is this maybe the reason and I have to postprocess all files with "sed" after the export myself?

Hi @swtrse, I'm assuming this if for version 6.6.7?
Can you please share a before/after code sample from your site (paste here as a code block), you can obfuscate the parts that aren't needed/adjust the URLs, but I'd like to see the exact format of the original code.
The rewrite destination won't be getting checked during rewriting whether it's internal or not, so any string replacement should work.
How are you planning to host/do the actual content direct from the subdomain to the /contact/?

Try keeping expected link in advanced at dev site, then start exporting.

OK Thats easy since both version are online.
You can look at https://www.aninite.at for the original version and https://2021.aninite.at for the Version created with wp2static. I deactivated my sed-workaround
The Link in question is the link to the contact page:  https://www.aninite.at/kontakt->https://kontakt.aninite.at. I use wp2static to create an archive of the page. However there is the requirement that the kontact page link always points to the actual contact page.
I put the process into a script that runns daily
`#!/bin/sh
event=aninite
archive=2021
contactPage=https://$archive.$event.at/kontakt
contactCurrentPage=https://kontakt.$event.at
sourceHtmlFolder=/var/www/$event.at/html
sourcePage=https://www.$event.at
targetRootFolder=/var/www/$archive.$event.at
targetHtmlFolder=$targetRootFolder/html
targetPage=https://$archive.$event.at
startDirectory=$PWD
echo SourceFolder: $sourceHtmlFolder
echo SourcePage: $sourcePage
echo TargetFolder: $targetHtmlFolder
echo TargetPage: $targetPage
echo ArchivedContactPage: $contactPage
echo RewriteContactPage: $contactCurrentPage
if [ ! -d "$targetRootFolder" ]
then
echo Directory $targetRootFolder does not exist, it will be created.
mkdir -p "$targetRootFolder"
chown -R nginx:nginx "$targetRootFolder"
fi
ulimit -Hn 500000
ulimit -Sn 500000
cd "$targetRootFolder"
/var/www/wp-cli/wp --allow-root wp2static options set targetFolder "$targetHtmlFolder" --color --url="$sourcePage" --path="$sourceHtmlFolder"
/var/www/wp-cli/wp --allow-root wp2static options set baseUrl "$targetPage" --color --url="$sourcePage" --path="$sourceHtmlFolder"
/var/www/wp-cli/wp --allow-root wp2static options set excludeURLs "/wp-admin/" --color --url="$sourcePage" --path="$sourceHtmlFolder"
/var/www/wp-cli/wp --allow-root wp2static options set additionalUrls "/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl" --color --url="$sourcePage" --path="$sourceHtmlF$
/var/www/wp-cli/wp --allow-root wp2static options set crawl_increment 5 --color --url="$sourcePage" --path="$sourceHtmlFolder"
/var/www/wp-cli/wp --allow-root wp2static options set rewrite_rules "$contactPage,$contactCurrentPage" --color --url="$sourcePage" --path="$sourceHtmlFolder"
rm -Rf "$targetHtmlFolder"
/var/www/wp-cli/wp --allow-root wp2static generate --color --url="$sourcePage" --path="$sourceHtmlFolder"
ulimit -Sn 1024
ulimit -Hn 4096
#sedCommand="s@"$contactPage([/]?)"@"$contactCurrentPage\1"@g"
#sedCommand=${sedCommand//./\.}
#find "$targetHtmlFolder" -type f -exec sed -r -i $sedCommand {} +
chown -R nginx:nginx "$targetHtmlFolder"
cd "$startDirectory"
`

Try keeping expected link in advanced at dev

I have absolutley no idea what you want to say. If it is to use the expected link on the wordpress site itself than, this is not an option for all locations. This works with links I made in Posts, News or other content. But the Menu is autogenerated from the side structure. There would be the possibility to add an custom Menu to achieve this but then a new site would only be visible if added to the custom menu by hand. That is not what is intendet.

There is a plugin called "Real Time Find and replace", might be helpful at Dev site if you want any on-the-fly changes.

There is a plugin called "Real Time Find and replace", might be helpful at Dev site if you want any on-the-fly changes.

Well that woul work too. But I like to keep the plugins at a minimun on the wordpress side. Even if that Solution is totaly valid I prever my sed workaround over another wp plugin.
And I would prefer it asolutley if wp2static could handle it.

AFIK, wp2static offers rewriting for template path such as /wp-content/ to /content/ with intent of hiding of WordPress trace and keep bots away from unnecessary crawling.
@leonstafford Is there any filter to modify HTML output something as str replacement?

@swtrse it's great to see your script there. Even though it's a workaround, when running via WP_CLI, it's nice to see the flexibility for such use cases. As the URL is on the same domain host, it is easiest to keep it at the end of the process, after everything else is done. If you don't want to do that in the script, you could use the statichtmloutput_post_deploy_trigger action (if you're using the zip deploy option, can still ignore zip and do what you want with the files). That could be added to your theme's functions.php or into a custom WP plugin you make. If there's a pattern to how the contact forms and URLs work across all your sites, a 1-file plugin with such a script might work for you. Else, what you're doing now looks pretty good.
If you grab the release 6.6.20 from this repo's Releases page, I'd think you can remove the ulimit commands as they should be mitigated by no longer reading/writing the files so much during exporting (not confirmed, may still be an issue just due to the amount of files being opened/written during crawl/post processing, maybe I need to close file handles explicitly - would be keen to hear).

I stick with my script then :)


Add callback for string returns

Post(), Get(), Put(), Delete(), don't have the ability to add callbacks

with PR #15


raise_exception=True for views

As was announced at Django REST framework 3.0, using serializer.is_valid(raise_exception=True) may help to remove error response handling from view code. Also it is useful when somebody uses custom error hadnling, for example, to make reponses with validation errors more consistence with other error responses

@ron8mcr :+1: Thanks!


finetune detector

Thank you for sharing your amazing work.
Do you have the mmdetection configs for finetuning the detectors?

Since we have provided the tools for convert models to detectron2 and mmdetection formats, you can use the converted models and modify the lines related pretrained model path or resume model path of the official configs files provided by mmdetection, then you can directly finetune the pretrained model with official mmdetection code.
Thanks.


User Interviews

Talk with producers about their experiences with Play.

Running notes doc: https://docs.google.com/document/d/1dicXOCkG7GzQJqMkcawoyh0ayvaMI5HEf1kTcq9tuD0/edit


its not working

Traceback (most recent call last):
File "server.py", line 5, in
import flask
ModuleNotFoundError: No module named 'flask'

Traceback (most recent call last): File "server.py", line 5, in import flask ModuleNotFoundError: No module named 'flask'

pip install flask

still not working

still not working

nice lenovo pc hahah

maybe you run your python scripts from some other environment, if so then you need to go and install Flask in that particular environment. If you could show where your python scripts run from then maybe someone could help more.


Implement recordings from Synology Surveillance Station

Hello @dermotduffy ,
First of all i love frigate and the frigate card.
I have setup frigate only for live view of my cameras in docker onto Synology DS718+. Seems like for the detection feature of frigate my Synology has not enough power and no detector. For this reason i use the Surveillance Station from Synology for detection and recordings.
Is there a way to implement recordings from Synology Surveillance Station into frigate or frigate card?
Best regards,
Jack

First of all i love frigate and the frigate card.

Glad you find it useful!

Is there a way to implement recordings from Synology Surveillance Station into frigate or frigate card?

Of course, anything is technically possible, just might be a lot of work. Does Surveillance Station have an Home Assistnat integration, and can you already access Surveillance Station recordings through Home Assistant (e.g. the Media Browser)?

If yes, we could probably get recordings into the card with a moderate amount of work
If no, we could probably get recordings into the card with a substantial amount of work

Both would likely require someone with a Surveillance Station do the work though...

@Jack77777777 Realistically, to do this right, it needs a developer with both the capability to integrate this into the card AND the necessary hardware to test. That is not me. Sounds like it is also not you :-) We can leave this issue open and hope that someone comes along better suited to implement this.
Another idea I've had more generally is to just allow the Frigate card to browse media separate from the camera system. This wouldn't allow any kind of media filtering, link between camera and media, or timeline support, but would be pretty much "Have a version of the HA media browser" in the card, i.e. Anything you could see in the HA media browser, you could "browse to" yourself in the Frigate card. That might be a hacky way to give you somewhat close to what you want, but wouldn't be anything like the same level of integration the card has for frigate, reolink, motioneye, etc.

@dermotduffy could you make it possible to copy recordings manually to frigate storage and have them visible? I already tried this by renaming folders and files to fit frigate structre (https://docs.frigate.video/configuration/record/). But the recordings are not visble in media browser->frigate. I read that this is nothing intented but probably there is way ;) ?
I could set up a job to copy and rename automatically i think.

@dermotduffy could you make it possible to copy recordings manually to frigate storage and have them visible? I already tried this by renaming folders and files to fit frigate structre (https://docs.frigate.video/configuration/record/). But the recordings are not visble in media browser->frigate. I read that this is nothing intented but probably there is way ;) ?

Both the card and HA are asking Frigate what events happened between date X and Y. Simply having the media present is not sufficient.

Ok. Regarding to link media browser to the card. Would it be possible to link each camera to different folders in mymedia?
cam1: media browser/mymedia/recordings_cam1
cam2: media browser/mymedia/recordings_cam2
.
.
.

In best case seperate for Recordings, Snapshots... for each cam 😅

In best case seperate for Recordings, Snapshots... for each cam 😅

Yes, perhaps something like (making this up):
camera:
  - camera.foo:
    media_library:
      paths:
        snapshots: ["My Camera Ecosystem", "Images", "Baz"]
        clips: ["My Camera Ecosystem", "Events", "Baz"]
        recordings: ["My Camera Ecosystem", "24x7 Recordings", "Baz"]

None of these would work:

Timeline
Media filtering of any kind
"Infinite scrolling back in time"

It would simply present the same contents of the Media Browser, in the card (but perhaps starting at the paths as specified above).

@dermotduffy this would fit my needs 👍🏻.

@dermotduffy It would be great if you can implement local paths as media source. Thats the feature I'm missing in the moment. Switching from frigate to basic reolink detection and upload the clips/images to an ftp on my ha server. That feature would work, for all cameras with ftp support - also for the battery driven.
There is an other card https://github.com/lukelalo/gallery-card  using local media - maybe that helps
For the timeline they exctract the filenames - which needs to be configurable - for reolink my config looks like:
entities:

camera.camera_einfahrt_fliessend
path: media-source://media_source/local/camera-einfahrt/
recursive: true
include_images: false
menu_alignment: bottom
maximum_files: 5
file_name_date_begins: 19
file_name_format: YYYYMMDDHHmmss
caption_format: MM/DD HH:mm

For the timeline they exctract the filenames - which needs to be configurable - for reolink my config looks like:

This is part of the problem with this feature, honestly. The card already supports fancy media handling, and extracting times from filenames (this is what reolink and motioneye cameras do in the card), and is much more extensible than a configuration like this. But it needs someone who has the willingness & hardware to implement it.
If this "generic folder" feature turns into something like the above -- I fear we're missing the point, and should just implement support for that camera type "properly" into the card.

Thank you for the answer, I understand your point to support camera types and not create something generic with all the support this feature will have in the future. Your suggestion should definetly work - with reolink ftp for example you always get the snapshot and the clip in the same folder - with a different timestamp for the same event, not really great for automations...

I struggle with a similar use case.  I use the frigate card for my ring camera.  Any of the motion or ding event videos are uploaded from ring to my media folder.  To review the videos, I have to go to the media folder and drill down to the "My Media" folder.  It works but having similar functionality from the frigate card would be the cats meow!

A few thoughts about how this could work . Comments very welcome here or in the doc.

A few thoughts about how this could work . Comments very welcome here or in the doc.

Looks very good!

I reviewed your plan, and it appears to meet my needs in that I want to be able to tag a specific camera to a specific directory.  Thanks for doing this. It will make a great addition for the non-Frigate cameras.  This would also be a reason to rename the card to a more universal name.

Looks good, I have one point:
the logic of creating the timeline from the file names would be delivered true the attached camera? When I understand it correctly,  this will work only for reolink cameras at the moment

the logic of creating the timeline from the file names would be delivered true the attached camera? When I understand it correctly, this will work only for reolink cameras at the moment

It works for frigate, reolink and motioneye all of which have some sort of "proper" camera engines implemented in the card. To start, I don't want to go anywhere near making that generic, so in v1 of this feature there'll be no timeline association whatsoever with media in the folders and barebones filtering (if any).
Timeline support would come if we implement the work described under "Future Possibilities", but that would not be in the initial version.

That's also my understanding and is completly fine, I just want to make it clear for everybody with other brands like ring etc.

A few thoughts about how this could work . Comments very welcome here or in the doc.

This would be fantastic!


How can I get the current bid?

not the initial bid but the current bid
Peace!

Can you elaborate a bit? Not sure what it is that you want? For discussions please use the Gitter channel!

startingBid: prices.start, <-- this get initial bid  and
buyNowPrice: prices.buyNow, <-- this get buy now value
I'd like to know how to pick up the current bid.

"pick up the current bid"? To do what exactly?

Closing in favor of #121 then.
As mentioned before I'd like to get a good overview of all possibilities first before implementing something. Every new feature will cost maintenance effort so I'd like to be careful with the stuff I add. This might become a rabbithole I don't want to get myself involved in unknowingly 😄
@JhonMaya please reopen if you meant something else, but be more clear about what you want in that case. Otherwise, discuss further in #121.


Add a context viewer to see match context, and don't close igrep upon editor close

I was about to start a new project that was like igrep, but with the context viewer - I started, and did some work, but then someone pointed out igrep.
It was exactly what I was thinking, except it was lacking the code viewer, and it closed upon editor close.
So I changed those two things, and now it's as I like it.
If you like it better this way too, then you can merge this. :)

Hey @Robertleoj, thank you for your contribution, I very much like the idea of context viewer being introduced in igrep!
I think the user should be able to toggle the viewer on/off and for a time being I would do it opt-in rather than opt-out feature. Do you mind if I work further on your PR and refine an implementation a bit?
BTW. I highly recommend introducing rustfmt and clippy in your Rust workflow!

Forgot to ask:

and it closed upon editor close

What editor do you use? This isn't expected behaviour, but I cannot observe it unfortunately.

Hey @Robertleoj, thank you for your contribution, I very much like the idea of context viewer being introduced in igrep!
Great! :D

I think the user should be able to toggle the viewer on/off and for a time being I would do it opt-in rather than opt-out feature. Do you mind if I work further on your PR and refine an implementation a bit?

Yes, I was expecting that reply, along with mentions about the viewer not using the user's theme config. I just did not have time to implement these, so go nuts improving it :D
One thing, my friends wanted the package with the viewer, so I published a seperate package for them, leaving the PR branch. After that I fixed a couple bugs in my implementation, They're trivial fixes, and I'll put them in here if you don't beat me to it. The bugs were:

Forgot to stop mouse capture upon program exit
There was no frame around the context viewer

BTW. I highly recommend introducing rustfmt and clippy in your Rust workflow!
Oh of course, sorry about that - I'm pretty new to using Rust, thanks for the tip!

What editor do you use? This isn't expected behaviour, but I cannot observe it unfortunately.

Oh ok, in the code it looked like that was intended behavior - I might have skimmed it too fast then.
I'm using standard vim on ubuntu 22.04, and I'm using tilix as my terminal emulator if that matters.
Happy you like the contribution :D igrep is awesome

Just fixed the two bugs, and applied rustfmt and clippy. I knew about rustfmt, but not clippy - it's an awesome tool, thanks for pointing that out!

I made some refactoring and merged your PR, thanks for a great idea! :) I reverted changes related to opening files since I believe it is working correctly. If you notice igrep closing upon editor close please file an issue with reproduction steps, I will try to take care of it. I will release a new version with this feature included soon after I make some required refactoring in a code base - it is messy in a few places.


[WSL2] Oh My Posh Themes broken on new tab startup

Windows Terminal version
Windows Terminal Preview Version: 1.12.3472.0
Windows build number
19043.1469
Other Software

on-my-posh v7.5.1 (in WSL2, Ubuntu 20.04)
CaskaydiaCove NF (Cascadia Code Nerd Font) installed on Windows

Steps to reproduce
Once you configured your bash with Oh-My-Posh theme (the theme I'm using is: powerlevel10k_rainbow) and your Nerd Font.

Open a new instance of Windows Terminal or a new tab of WSL2 (Ubuntu in this case).

Expected Behavior

The terminal should render the theme correctly, from startup:

As example, in vscode terminal, when you open a new WSL terminal, will load correctly (that's the expected behavior from Windows Terminal as well):

Actual Behavior

The terminal shows broken (not as expected), as following:

You can clear the console with clear command and the console will look as expected, but it's broken from startup (new terminal instance or new tab)

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #8341 for more discussion.
/dup #8341


Issue when migrating from v0.54.0 to v0.55.0

When updating the mobx-keystone package in  a react native app from v0.54.0 to v0.55.0 i have the following error:
ERROR    TypeError: undefined is not a function, js engine: hermes
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes

I have previously migrated most of my other apps without issue ( node, electron )
It seems to only be with react native.
babel.config.js
module.exports = {
  presets: [
    // If you use TypeScript
    ["@babel/preset-typescript", { allowDeclareFields: true }],
    [
      "module:metro-react-native-babel-preset",
      {
        unstable_disableES6Transforms: true,
      },
    ],
  ],
  env: {
    production: {},
  },
  plugins: [
    // MobX 5/6
    [
      "@babel/plugin-proposal-decorators",
      {
        legacy: true,
      },
    ],
    ["@babel/plugin-proposal-class-properties", { loose: true }],
    ["@babel/plugin-proposal-optional-catch-binding"],
  ],
}

package.json
    "react-native": "^0.63.4",
    "react": "16.14.0",
    "mobx": "^6.6.1",
    "mobx-keystone": "^0.55.0",
    "mobx-keystone-persist": "^1.2.0",
    "mobx-react": "^7.5.2",
    "mobx-react-lite": "^3.4.0",

Does anybody have similar experiences?
All versions from 0.55.0 on have this issue.
Kr,

does it also happen if you use another engine instead of hermes?

When i set /android/build/build.gradle to:
project.ext.react = [
enableHermes: false,  // clean and rebuild if changing
]
It stays the same. I also updated the hermes engine from 0.5.2 to 0.11.0 without effect.

If you edit this line from the package.json inside node_modules/mobx-keystone to this:
  "react-native": "./src/index.ts",
does it work then?

With Hermes 'off' and "react-native": "./src/index.ts", it gives following error:
<EMAIL_ADDRESS>& 0.60.5 without Hermes
ERROR    TypeError: (0, _mobxKeystone.prop_dateString) is not a function. (In '(0, _mobxKeystone.prop_dateString)()', '(0, _mobxKeystone.prop_dateString)' is undefined)
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

For this, I should refactor quite a bit, if done it before in other migrations..
However the two last errors seem similar to the ones before, so I'm not sure I'm going to refactor this now.
Since it will have similar results.
When I set Hermes back on I have the same error as initially
<EMAIL_ADDRESS>& 0.60.5 with Hermes
[Fri Jul 29 2022 14:18:04.290]  ERROR    TypeError: undefined is not a function, js engine: hermes
[Fri Jul 29 2022 14:18:04.290]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes
[Fri Jul 29 2022 14:18:04.291]  ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication), js engine: hermes

<EMAIL_ADDRESS>error: Error: While trying to resolve module `mobx-keystone` from file `/home/u/git/CamePrinterLast/app/models/root-store.ts`, the package `/home/u/git/CamePrinterLast/node_modules/mobx-keystone/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved...

Logic, since the src doesn't exist in 0.50
So it seems to impact something

What if besides the other change you also set "sideEffects": true in the package.json?

I just published v0.69.7 which has some changes that make it work for expo (the previous one was not), could you check if it works now?

It's the same with 0.69.7
ERROR    TypeError: (0, _mobxKeystone.prop_dateString) is not a function. (In '(0, _mobxKeystone.prop_dateString)()', '(0, _mobxKeystone.prop_dateString)' is undefined)
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
ERROR    Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

Hermes off
In node_modules/mox-keystone package.json:
"sideEffects": true
"react-native": "./src/index.ts"


csgo lagging

after I inject osiris to csgo, my fps drops below 60

buy new pc

I agree with @NexSqaud here
Osiris does not affect my fps, at least not noticeable.

Compile the cheat with AVX2 instructionset if your cpu supports it.

Also + LOD ANIMATION FIX has lots of fps drops and lags imho.

Compile the cheat with AVX2 instructionset if your cpu supports it.

how do you do that?


Fetch Skwasm module from gstatic

Right now, the Skwasm module is always included in the user's build and always fetched from the same domain as the rest of the user's application. We probably want it to actually use the gstatic CDN url for fetching it by default, but also allow the user to customize this behavior.

This is in progress.

This is addressed with https://github.com/flutter/flutter/pull/141396


Thunderbird U2F support doesn't work

Describe the bug
When attempting to log onto a Google email account within Thunderbird, Google's systems direct Thunderbird to use OAuth2. For users who have configured their Google accounts to require a U2F credential (such as a Yubikey), the U2F prompt occurs during this flow. The flow works normally up to the U2F step, which I am not able to complete.
To Reproduce
Steps to reproduce the behavior:

Prepare a Google account configured with at least one U2F hardware token as a second factor for logging in, and ensure that gmail is an active service in the account.
Launch Thunderbird. Add a new email account. Enter any human name, and the email address of the prepared Google account, leaving the password black. Click "done" a few times while Thunderbird discovers the correct way to log in.
A window will pop up showing Google's login page. Enter the username and password at the prompts, until you reach the prompt to use a security key.
Observe that the security key does not flash its lights (as it normally would to indicate that a touch is requested). Also observe that, though the on-screen prompt to touch the security key appears normally, after about a second it is replaced by the words "Something went wrong. Remove your Security Key and try again."

As this message is produced by Google's code, not by Thunderbird's, it is likely that the exact text will change over time.
Expected behavior
At step 4, the security key plugged into my USB port would flash its lights, I would touch it to authorize the login, and the login would complete successfully, allowing me to check my email in Thunderbird.
Screenshots

Additional context
Most users encountering this problem will be able to work around it by using Google's app-specific passwords feature; if you're having this problem, consult the Google help center for advice. This workaround is not available to users using the highest level of security setting, Advanced Protection, since that setting intentionally disables the app-specific passwords feature.
U2F during the OAuth2 flow is ostensibly supported in Thunderbird since 60.0, and my tests are with Thunderbird 68.7.0, the latest packaged in NixOS 20.03.
This same login flow also appears when trying to log into the same Google account as a normal user in Firefox. In that context, it works as expected for me. It is likely that Google is doing some user-agent detection as well as some API-version detection, but I played around with both of those a bit using Thunderbird's developer tools and was unable to find a variation that produced different behavior.
I suspect that this may be an issue related to a similar bug in Firefox on NixOS, #34747, that was fixed two years ago. In that bug, the issue was the absence of libudev. I read the Thunderbird code and found that, indeed, it has a Rust component which supports U2F and relies on being able to dlopen("libudev.so.1") at runtime (see thunderbird-68.7.0/dom/webauthn/libudev-sys/src/lib.rs). I attempted to resolve the issue by adding libudev to the Thunderbird buildInputs, but this didn't appear to change anything.
I am happy to assist in gathering more information. After discussion in the Thunderbird Matrix chatroom, it was suggested to me that this is more likely to be a NixOS issue than a Thunderbird issue, so I'm following up here. My main goal is to make sure this is being tracked, and to help however I can; I don't have a time-critical need to make it work.
Notify maintainers
@edolstra @lovesegfault @nbp
Metadata

system: "x86_64-linux"
host os: Linux 5.4.35, NixOS, 20.03.1619.ab3adfe1c76 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.4
channels(root): "nixos-20.03.1619.ab3adfe1c76, nixos-unstable-20.09pre223023.fce7562cf46"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: thunderbird
# a list of nixos modules affected by the problem
module:

Thanks for the clear report. Just for sanity's sake; did you have
hardware.u2f.enable = true;

in your NixOS config? This is needed to load required udev and hwdb rules

As a note I'm having the same issue. Yubikey works in Firefox but not in Thunderbird
nixos-option hardware.u2f.enable
Value:
false

Default:
false
//...

Looks like I don't have that enabled but that doesn't explain why it works for Firefox but not for Thunderbird :thinking:
I'll enable it and try some time soon.

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.35, NixOS, 20.09pre223023.fce7562cf46 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.4`
 - channels(root): `"home-manager, nixos-20.09pre223023.fce7562cf46, nixos-hardware"`
 - channels(username): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Firefox and thunderbird are just as is from pkgs
nixos-option environment.systemPackages | grep -i thunderbird
  text = "[ pkgs.firefox pkgs.thunderbird ]";

Maybe we should default hardware.u2f.enable to on, or just remove the toggle entirely. Does it increase closure size significantly?

That said, I have it on and can reproduce this problem on my system, so unfortunately it's not a fix for this issue.

I've had this same issue from day one of being on NixOS and I fiddled around a bit without success trying to fix the issue.

Maybe we should default hardware.u2f.enable to on, or just remove the toggle entirely. Does it increase closure size significantly?

It's literally just adding a single libu2f-host package.

@arianvp I had actually been using the following code manually, since my use of U2F goes back to before the hardware.u2f.enable option existed.
  services.udev.packages = with pkgs; [
    libu2f-host
  ];

  environment.systemPackages = with pkgs; [
    libu2f-host
  ];

Looking at the implementation of hardware.u2f.enable, this looks more than sufficient (I probably didn't need to add it to systemPackages).
I have now re-tested with hardware.u2f.enable = true. I get the same behavior as in my original report.

I am logging my progress on this to motivate myself, and in case anybody else chooses to work on it. I don't know when or whether I'll have time to finish.
I wanted to verify my hypothesis that libudev isn't being found at runtime. I made the following change to the Thunderbird source:
diff --git a/src/dom/webauthn/libudev-sys/src/lib.rs b/src/dom/webauthn/libudev-sys/src/lib.rs
index c422399d85..3999a95505 100644
--- a/src/dom/webauthn/libudev-sys/src/lib.rs
+++ b/src/dom/webauthn/libudev-sys/src/lib.rs
@@ -56,9 +56,17 @@ impl Library {
     let name = CString::new(name).unwrap();
     let name = name.as_ptr();

-    Library(unsafe {
+    let result = Library(unsafe {
       ifnull!(dlopen(name, flags_noload), dlopen(name, flags))
-    })
+    });
+
+    match result {
+        Library(pointer) => {
+            println!("IAK libudev.so.1 {:?}", pointer)
+        }
+    };
+
+    result
   }

   fn get(&self, name: &'static str) -> *mut c_void {

When I ran it, this printed out the following output:
IAK libudev.so.1 0x0

That's a void pointer. So I'm now reasonably confident that this dlopen() failure is the problem. I think simply putting libudev in the buildInputs isn't sufficient for the Thunderbird build system to find it. I'll try my best to understand the build system and figure out what else is needed.

Quite a few packages that mention libudev symlink it in the installPhase or they have a patch that adds a flag that lets you point at it
ln -s ${systemd.lib}/lib/libudev.so.1 $out/lib/libudev.so.0
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';

I have a PR that fixes this coming soon. I'm not able to make an automated test for the behavior, so I think it's likely that this issue thread will be important to have around should there ever be a regression. Therefore, I'm documenting an observation about development workflow, hoping that nobody will ever need it, but just in case.
The observation is this: If you have successfully logged in once, the credential will be cached. If you need to test again after doing that, the steps to reproduce above won't work because you won't be able to force a login. To work around that, the file to get rid of is ~/.thunderbird/<profile>/logins.json.

Running latest Arch Linux with latest Thunderbird version 115.6.0-1 (native Arch package).
TL:DR still doesn't work for my system, however found workaround to log in.
I just enabled Google Advanced Protection(GAP) on my account. Before setting up GAP, I was successfully logged into this account on the Thunerbird client. After setting up GAP, it logs out you from absolutely everywhere (of course including Thunderbird client).
After that I was prompted to authenticate again, came across the same problem: it should prompt me for my U2F key after clicking "continue"(or whatever it's called) button. Nothing happens after clicking that. I can spam click the button and nothing happens.
When I try to sign in with other option, I can only choose to log in with password, U2F key or "calling Google for help" (or something like that, don't remember the name - it was account recovery option after all). Choosing to login in with password, after providing one, brings me to the same page as the @IreneKnapp provided in the issue, except the red error message is: "Can't find Chrome extension".
Workaround to this problem, is (at least that worked for me) to choose the help with the account option, then choosing to generate one time password, with another device you have access to with link: https://g.co/sc


Internal Server Errror - Module4

Getting "Internal server error" after  creating API Gateway and deploying the REST-API.
InternalServerErr.docx

I am getting the same at the same place. Did you solve this?
I have everything working up until then.


[WIP] Calibrations Definition

Summary
The CalibrationsDefinition class is intended to let users manage parameters and schedules.
Details and comments
At the heart of the calibrations definition is a dict of template schedules and a dict of parameters with values. The template schedules are fully parametric schedules (i.e. pulse durations, pulse parameters, channel indices, etc... are all parameters). The dict of parameters stores the values of the each parameter for different qubits and schedules as the parameter evolves through the calibration.

The test with the CR requires this fix on the terra side: https://github.com/Qiskit/qiskit-terra/pull/6322

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: eggerdj:x: wshanksYou have signed the CLA already but the status is still pending? Let us recheck it.


Added contents links for Usage section of README

Hello, I'd like to suggest a set of links for all the sub sections within Usage, to help people navigate the README file when they know roughly what they're looking for, or are looking to understand the scope of functionality on offer.
I appreciate it will add a small maintenance overhead as documentation is added/updated, but that should only be a minor chore.
Thanks

Great idea!


[ART-3088] Remove obsolete operator-metadata commands

No longer needed once 4.5 goes away

Codecov Report

Merging #450 (79234db) into master (1ed59a4) will increase coverage by 29.64%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #450       +/-   ##
===========================================
+ Coverage        0   29.64%   +29.64%
===========================================
  Files           0       38       +38
  Lines           0     8766     +8766
  Branches        0     1815     +1815
===========================================
+ Hits            0     2599     +2599
- Misses          0     6010     +6010
- Partials        0      157      +157

Impacted Files
Coverage Δ

doozerlib/cli/__main__.py
0.00% <ø> (ø)

doozerlib/model.py
79.27% <0.00%> (ø)

doozerlib/rhcos.py
75.00% <0.00%> (ø)

doozerlib/coverity.py
11.81% <0.00%> (ø)

doozerlib/pushd.py
90.47% <0.00%> (ø)

doozerlib/image.py
15.95% <0.00%> (ø)

doozerlib/olm/bundle.py
0.00% <0.00%> (ø)

doozerlib/__init__.py
54.54% <0.00%> (ø)

doozerlib/cli/__init__.py
55.00% <0.00%> (ø)

doozerlib/gitdata.py
20.83% <0.00%> (ø)

... and 29 more

Continue to review full report at Codecov.

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

🎉
/cc @vikaslaad

We should still keep it for some time even after 4.5 is EOL, lets not merge this until I confirm from BU.

I would prefer not to merge this until we get clear notice that 4.5 is EOL.
/hold

@vikaslaad is there any chance we would actually update and ship an OLM operator for 4.5 now? the payload, maybe, but operators? that would basically require shipping an actual image...


Timeline Transitions

Problem
Currently, the only suggested way to modify a PhantomCamera's priority, and in turn where the Camera2D / Camera3D is and what it's looking at it, is to call the method set_priority.
But there are many, if not most, instances where being able to do this via a Timeline, when doing cutscenes or more bespoke animations in general, is a desire approach for using this. While it's possible to adjust this from the timeline, it's a bit overwhelming with the amount of properties to choose from and knowing which to adjust.
The idea here is to explore how to simplify that workflow as much as possible to allow for an equally simple code and timeline approach.
Proposed Solution
TBD

Solved by adding documentation for how to use the AnimationPlayer with the plugin: https://github.com/ramokz/phantom-camera/wiki/Using-AnimationPlayer


Hard Forms

Why did you complicate everything with forms? Implementing a simple POST query is very difficult.

Hi, thanks for your feedback.
This website hosts a set of samples for AMP, for any general feedback or if you want to engage a discussion with the AMP team you can use other channels.


PowerMock must work with Hamcrest

From<EMAIL_ADDRESS>on October 21, 2008 08:25:44
PowerMock must work with hamcrest. Now we get a linkage error (see
org.powermock.examples.hamcrest).
Original issue: http://code.google.com/p/powermock/issues/detail?id=30

From<EMAIL_ADDRESS>on October 21, 2008 10:50:24
Status: Fixed


[CMake] Don't use hashes in target names

This code was added in the mega-commit 6670bb7 with the commit message "Rewrite the CMake build system", so I'm a little bit light on context here. The comment in the code was:
# Construct a unique name for the custom target.
# Use a hash so that the file name does not push the OS limits for filename
# length.
This seems bunk to me. Since the string being hashed is a filename it seems to me that we don't need a hash to stay under the OS filename size limits. Additionally since output files must be unique using the filename as the unique target name seems like a good idea to me. The only issue here is that custom target names can't contain '/'s. To workaround that we replace the '/' character with '-'.
This patch has the added benefit of having the full filename encoded into the target names, so if you need to debug the build dependency graph you can much more easily walk back from the generated build files to the place in CMake where it was generated.

@swift-ci please smoke test

@swift-ci please smoke test Linux platform

Files named a/b-c and a-b/c will have the same representation a-b-c. This seems like it's asking for bugs somewhere down the line if we had a unique representation before?

@erg we have no situations where that is the case today, and there is always the workaround of specifying a target name manually. This is really just the fallback case for when the caller doesn't provide a target name.
Longer term, I think we should actually force all callers to construct unique and sensible target names manually to prevent overlap and make them debuggable.

LGTM!

I assume this is because CMake will output files of the form $TARGET-PostBuild-RelWithDebInfo.sh or similar. Just because the base name fits in a file doesn't mean the fully-specified name will.
…actually, it's worse than that: you're turning a path into a path component. That can definitely hit filename limits without too much trouble.

@jrose-apple the Xcode generator is the only place that would be an issue. Those script files aren't created with other generators. This patch actually causes other issues with the Xcode generator, and I'll have a fix shortly.

Those particular ones aren't, but I have no confidence that CMake won't decide to generate files based on target names at some point, and I don't want to fall over because of it. I don't see any reason to actually change the behavior that's working.

Not being able to debug the build system because the custom target names are unintelligible is a problem. I originally wrote this patch to find the dependency issues that were causing swift no-change rebuilds to execute hundreds of build steps because I was having too much trouble tracking it down through the mess of hash-named targets.
The latest PR removes common path prefixes, which actually makes the paths pretty short in practice. CMake might decide to generate files based on target names for more things in the future, but I think the risk of the target names we're generating now being larger than OS file component limits is pretty minimal, and the benefit of making the system more easily debuggable is worth it.
For context, the longest target name I see that was generated with this patch is 104 characters. OS X and Windows both set a 255 character limit on filename components, so we're still 151 characters short of having any problems (note this is an in-tree build where the path components are 12 characters larger than build-script builds).
If we encounter problems with this in the future I think the fix is pretty simple, just specify target names explicitly instead of allowing add_custom_command_target to add them for us.

It's never our machines I'm worried about. Buildbot paths have gotten well over 255 characters before, and I can certainly imagine someone's local build inside some container user having similar issues. But removing common path prefixes should take care of all that, so I feel a lot better.

Cool.
In case I wasn't clear, 255 is the limit on components, not full filenames. Windows allows up to 32,767 characters in a full path on NTFS, and HFS+ has no limit on full path, just component length (most other *nix file systems have similar limits to HFS+).

@llvm-beanz I see what @erg is saying here. I would be fine with ignoring the a/b-c and a-b/c issue if there was an easy way to detect that we hit the problem. From what I can tell instead this would just be a landmine bug.
Question, wouldn't the following scheme work:

Escape all '-' in all components by placing a '-' in front of it. Then we know that real dashes are '--'.
Escape all '' by placing a '' in front of it. Then all real '_' are '__'.
Then replace all '/' with '-_'.

You could use different characters than '_' or '-' if you wanted to. NOTE I just made this up on the fly.


Using VVC in function decleared outside of tb.vhd

Hi, I have a function decleared in an external package where I want to use the SPI VVC. However, I am not able to pass the SPI_VVCT to my function since t_vvc_target_record is decleared in td_target_support_pkg.vhd.
I have tried including the td_target_support_pkg as follows, but no success:
library uvvm_vvc_framework;
use uvvm_vvc_framework.ti_vvc_framework_support_pkg.all;
use uvvm_vvc_framework.td_target_support_pkg.all;
Any suggestions?

Hi,
have you included the VVC library, e.g. bitvis_vip_sbi in your package?
library bitvis_vip_sbi; context bitvis_vip_sbi.vvc_context; use bitvis_vip_sbi.sbi_bfm_pkg.all;
Best regards
Marius

I am sorry for my late response. I have just checked now. It still does not work. My procedure declaration looks as follows:
package body my_pkg is
procedure foo(
signal VVCT     : inout t_vvc_target_record;
signal a            : std_logic;
signal b            : std_logic
) is ..........
I get the following error message:
"
Multiple markers at this line

Could not find declaration corresponding to 't_vvc_target_record'.
Unused declaration
Vcom/Vlog: (vcom-1136) Unknown identifier "t_vvc_target_record
"

Trying to include a
"use work.td_target_support_pkg.all;"
It complains that it does not exist:
"
Multiple markers at this line

Could not find declaration corresponding to 'td_target_support_pkg'.
Vcom/Vlog: Unknown expanded name.
Vcom/Vlog: (vcom-1195) Cannot find expanded name "work.td_target_support_pkg".
"

Maybe my compiler order is somehow wrong? I use Sigasi if that matters.

Is package my_pkg compiled to the same library as the VVC? The file td_target_support_pkg.vhd is compiled in to the VVC library. The correct compile order is listed in the VVCs quick reference on the last page, and also in the /script folder of the VVCs.
If you like we could have a look at you setup, just send it on info[at]bitivis.no
Best regards,
Marius


chore: add missing projects and improve workflow

Issue #, if available:
Description of changes:

Change the cd to working-directory
add missing projects

Checklist

[x] Meet tenets criteria
[ ] Update tests
[ ] Update docs
[x] PR title follows conventional commit semantics

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (228c0d8) 78.94% compared to head (a2030fa) 79.80%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1487      +/-   ##
============================================
+ Coverage     78.94%   79.80%   +0.85%
- Complexity      651      741      +90
============================================
  Files            74       90      +16
  Lines          2508     2778     +270
  Branches        259      294      +35
============================================
+ Hits           1980     2217     +237
- Misses          446      469      +23
- Partials         82       92      +10

see 16 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use --version --verbose to get rustc version out of clippy-driver

Fixes issue #13

Yeah, it did work for me - clippy-driver -Vv produced identical output to rustc.

The PR uses --verbose --version though, not -Vv.
The fact that those produce different output seems like a bug and makes me hesitant to accept this PR until we understand what's going on there.

Clippy issue https://github.com/rust-lang/rust-clippy/issues/5167


Disable NVDP to avoid conflict with bottlerocket

Description of changes:

Disable side-loaded NVIDIA Device Plugin to avoid conflict with built-in NVDP in Bottlerocket OS.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[BREAK GLASS]
Bypass code review due to this PR is related to an urgent bug fix.


Inheriting from ShardedByMixing doesn't activate signal.

Hey.
In my test app I want to shard by ShardingApp model. And split ShardedUser into multiple database shards. Here is the code, I expected to work:
@model_config(database='default')
class ShardingApp(models.Model, ShardedByMixin):
    name = models.CharField(max_length=50, default='Test')

    def get_shard_key(self):
        return self.pk

@model_config(shard_group='shards_by_app_group', sharded_by_field='app_id')
class ShardedUser(models.Model):
    objects = ShardManager()

    id = PostgresShardGeneratedIDAutoField(primary_key=True)
    app_id = models.PositiveIntegerField()

    def get_shard(self):
        return ShardingApp.objects.get(pk=self.app_id).shard

    @staticmethod
    def get_shard_from_id(app_id):
        return ShardingApp.objects.get(pk=app_id).shard

But when I called ShardingApp.objects.create() I got shard = None in the database.
The bug is that pre_save signal is called only if shard field has attribute django_sharding__stores_shard = True which is not correct for models.CharField used in ShardedByMixin.
I've tried to solve the problem by replacing default CharField with ShardStorageCharField:
@model_config(database='default')
class ShardingApp(BaseModel, ShardedByMixin):
    # Need to redefine it, as choices don't see it during class creation
    SHARD_CHOICES = ((i, i) for i in _get_primary_shards())

    name = models.CharField(max_length=50, default='Test')

    # Here I redeclared shard field.
    shard = ShardStorageCharField(max_length=120, blank=True, null=True, choices=SHARD_CHOICES,
                                  shard_group='shards_by_app_group')

    def get_shard_key(self):
        return self.pk

But this also doesn't work: pre_signal is executed, but it gets ShardingApp model as a sender. And in this line it wants django_sharding__shard_group attribute:
bucketer = apps.get_app_config(app_config_app_label).get_bucketer(sender.django_sharding__shard_group)

So the resulting working code was:
@model_config(database='default')
class ShardingApp(BaseModel, ShardedByMixin):
    # BUG Signal wants it. I suggest adding that in the docs
    django_sharding__shard_group = 'shards_by_app_group'

    SHARD_CHOICES = ((i, i) for i in _get_primary_shards())

    name = models.CharField(max_length=50, default='Test')

    # BUG Signal is not called if it's simple CharField. I suggest replace field in ShardedByMixin.
    shard = ShardStorageCharField(max_length=120, blank=True, null=True, choices=SHARD_CHOICES,
                                  shard_group=django_sharding__shard_group)

    def get_shard_key(self):
        return self.pk

My suggestions are:

Replace CharFIeld with ShardStorageCharField in ShardedByMixin by default
Write in the docs, that django_sharding__shard_group = 'shards_by_app_group' should be defined in ShardedBy model.

Thanks for the documentation errors and this, I'll try to get to taking a look this weekend.


[Feature Request] Max character length in Input component

Is your feature request related to a problem? Please describe.
I want to set a character limit in Input. I can't  find the required prop in docs.
Vs code intellisense shows "maxLength", but setting it doesn't make any difference
Describe the solution you'd like
_
Describe alternatives you've considered
I don't know
Screenshots or Videos
No response

I can't reproduce the issue, it seems to be working for me, for both controlled and uncontrolled inputs


Allow prompt symbol to be shown and customized on error

This adds three new variables that allow to show and customize the prompt symbol when an error occurs:

Variable
Type
Description
Default

hydro_show_prompt_symbol_on_error
boolean
Show the prompt symbol after the error segment if an error occurs.
false

hydro_symbol_prompt_error
string
Prompt symbol when an error occurs (if shown).
❱

hydro_color_prompt_error
color
Color of the prompt symbol on error (if shown).
$fish_color_error

This covers the use case of #11 but makes it configurable (instead of always showing the prompt).

Closed due to lack of feedback and me personally not using hydro anymore; of course, feel free to use the code from the PR, if desired.

Sorry, I should've responded more quickly. I know it's a bit late, but I'm not really interested in customizing this. Maybe that's why it fell under my radar. Cheers!


Improvement of Contact-Us Done

Updated Validations of contact-us form with proper error messages

Added Goodbye Card which will be shown after successfully submitting of form

Also, card will be responsive in all screen-sizes!
Also fixed the page reload issue in contact-us form!

@smaranjitghose , pls review pr!

Deploy is failing, create a new PR and also use a minimal colour of red so that blue and red match.

@anushbhatia Could you please suggest a better scheme for the font and the text colors. The red over violet background is somewhat weird

@anushbhatia Could you please suggest a better scheme for the font and the text colors. The red over violet background is somewhat weird

@smaranjitghose, but the errors should be thrown in red color to follow standards, right?

if you want to follow the standards then change the background to a minimal colour.


SAP Netweaver Provider Error

Hello,
I am getting an error while trying to configure an SAP Netweaver Provider, as follows:
The provider settings validation operation has failed with code 'SoapAPIValidationFailed'.
Possible Causes: The operation failed with error: 'Unable to reach the hostname: X.X.X.X. Error occurred while validating SOAP client API calls for SAP system.'.
Recommended Action: 'Please check the input hostname, instance number, and host file entries. Ensure that the SOAP web service methods are unprotected correctly.'.
(Code: ProviderInstanceValidationOperationFailed)
I've gone through all of the prerequisite steps. The service/protectedwebmethods parameter is successfully set for the system and the sapcontrol check of it comes back OK. However, when I run the PowerShell that is meant to be a test query, I get the following output:
Cannot convert argument "ABAPGetWPTable1", with value: "WebServiceProxy.ABAPGetWPTable", for "ABAPGetWPTable" to type
"WebServiceProxy.ABAPGetWPTable": "Cannot convert the "WebServiceProxy.ABAPGetWPTable" value of type
"WebServiceProxy.ABAPGetWPTable" to type "WebServiceProxy.ABAPGetWPTable"."
At line:1 char:1

$sapcntrl.$Function($FunctionObject)

  + CategoryInfo          : NotSpecified: (:) [], MethodException
  + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

I have made sure in the Adding Netweaver Process that I have added the hostname and host file entries inputs. Any insight you have on this matter would be greatly appreciated.
Thank you in advance!

@naherring ,
Few things to verify

please make sure the ports (range 50013-59916) are allowed in NSG rule.
Test to check If ports are open by trying the wsdl in a browser.

If issue still persists, please open a support ticket with subscription id so that we can assist you further.
Thanks!

please make sure the ports (range 50013-59916) are allowed in NSG rule. - Do you mean the NSG rule associated with the subnet created for the monitoring or the one where SAP resides? It is open across the subnets for any port.
Test to check If ports are open by trying the wsdl in a browser. - I am able to successfully reach the link in a browser without issue.

@naherring , can you please provide us the AMS name for us to trace?

The AMS name is s4psapmon. I have an active HANA Provider set up without issue, as well.

@naherring , I am seeing 401 unauthorized error with EnqGetStatistic when it is trying build the connection, can you please make sure that ['MESSAGESERVER/ENQUE"] is reachable. All other web methods(-GetQueueStatistic -ABAPGetWPTable  -GetProcessList) were successfully connected.
Please run the PS script from your local machine.
Refer to the link https://github.com/Azure/Azure-Monitor-for-SAP-solutions-preview/wiki/Known-issues-and-Self-Help for more details and you can check the public documentation - https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/configure-netweaver-azure-monitor-sap-solutions.
Issue still persists, reach out to cloud support team and they can raise an incident for you.
Thanks

Thank you! It looks like it was the service/protectedwebmethods not being the profile of the Message Server. It was in the DEFAULT.PFL and the App Server profile. I have now successfully added the Provider.


resolve incorrect ci version being launched

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/boostsecurityio/scanner?version=dev:67e676bfb1063e573216c94efbfa0625c8952405

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/boostsecurityio/scanner?version=dev:a8bf4278f6d8938519f3b7611dfa1ad74b0d34cd

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/boostsecurityio/scanner?version=dev:a8bf4278f6d8938519f3b7611dfa1ad74b0d34cd

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/boostsecurityio/scanner?version=4.0.6


Update generate-release-notes.py to only include release-note-required label [v1.33]

Cherry-pick of #3282

I'm sorry but I failed delete the branch after merging the pull request.


[libra framework] Add account limits checks to VASP accounts

VASPs need to track account limits (inflow + outflow) in a time window, and allow setting of maximum balances. This is set per currency.
This PR implements the logic for this. In particular:

Intra-vasp transfers are not counted towards inflow/outflow/max balance for any currency.
VASP->any  we check and update the sending account's account limits
any->VASP we check and update the receiving account's account limits

Even if a VASP is "unrestricted" we still track the balance, this is because we cannot really retroactively assign the balance for all of the VASP's accounts. Max holding is not reset with the time window.
Implementation details

Every VASP has a LimitsDefintion<Currency> and Window<Currency> for each currency it or any of its children can hold.
A child account cannot add a currency to its account without the parent VASP first publishing a LimitsDefintion and Window for that currency. In particular this means that the parent VASP account will hold a LimitsDefintion/Window for each currency any its children can hold.
Only the parent VASP can publish limits/windows for a currency. We start out a parent VASP account with all of the available currencies. If one is added later, the parent account will need to add a limits/window for it before any of its accounts can have a balance in that currency.

closes #4823

:umbrella: The latest upstream changes (presumably b37d494bae8e2103fe4a6463509c7566548732fb) made this pull request unmergeable. Please resolve the merge conflicts.

We have our sprint ending tonight, I'll take a look once that's over :)

@wrwg sounds good. I'll try and get this in before lunch if possible

@bors-libra r=wrwg

:pushpin: Commit 32457aa has been approved by wrwg

:hourglass: Testing commit 32457aafd4126e7f8e65a1e8b90b1a13b18ce590 with merge 8cb0f3a0a7209b508abaa66b3249ba1067f18117...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit 32457aafd4126e7f8e65a1e8b90b1a13b18ce590 with merge af709789546f69736b50c718b5cc11dde0b8a898...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit 32457aafd4126e7f8e65a1e8b90b1a13b18ce590 with merge 619e2adac46842841c46c3150895efeaf80f243c...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra r=wrwg

:pushpin: Commit 43f6206 has been approved by wrwg

:hourglass: Testing commit 43f62061f07bb2d4656467542ac4fcf55057e537 with merge c327db0c4db97ec764aaab94ff9ffbed920c1aff...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit 43f62061f07bb2d4656467542ac4fcf55057e537 with merge 503b45c03ef59807ca8872e36fcc3df7b0273074...

:broken_heart: Test failed - checks-circle_commit_workflow

@bors-libra retry

:hourglass: Testing commit 43f62061f07bb2d4656467542ac4fcf55057e537 with merge 8aa176ff9e42444b428fd15e0dabbbaaec661e43...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wrwg
Pushing 8aa176ff9e42444b428fd15e0dabbbaaec661e43 to master...


Fix code style security issues

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 21

See the complete overview on Codacy


[WIP] Refactors

Looks good, squash everything into one commit and it should be ready to go.

I do not think I can squash merge commit... Will squash everything after merge commit.

Ok, I'll squash it after merging


unsubstantiated claim: legal notice means higher success rate of prosecution.

The text has a disputed claim: "Not using this warning-message policy setting leaves your organization legally vulnerable to trespassers who unlawfully penetrate your network. Legal precedents have established that organizations that display warnings to users who connect to their servers over a network have a higher rate of successfully prosecuting trespassers."
To my knowledge, this is an entirely unsubstantiated claim.

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

ID: 8897b50b-10e9-5d0b-6150-c1834a296a20
Version Independent ID: bed1c6d9-91c3-02f2-12c9-58229886118a
Content: Interactive Logon Message text (Windows 10) - Windows security
Content Source: windows/security/threat-protection/security-policy-settings/interactive-logon-message-text-for-users-attempting-to-log-on.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Copying text from current local policy setting:

Interactive logon: Message text for users attempting to log on
This security setting specifies a text message that is displayed to users when they log on.
This text is often used for legal reasons, for example, to warn users about the ramifications of misusing company information or to warn them that their actions may be audited.
Default: No message.

@truekonrads thanks for the feedback. We've updated the doc pages, and closed this issue.

Hello. The documentation still says the same thing, the issue has not been resolved.

Hey @truekonrads - the change was accidentally overridden by a recent commit. I'm fixing it again. It should be updated later today. Thanks for checking!