Dart plugin registration doesn't work when app is built with obfuscation

When building without obfuscation, this works.
This has started failing recently. Same issue seen on Windows, Linux and possibly other platforms.
Steps to Reproduce (Windows)

Execute flutter build windows --obfuscate --split-debug-info=build\app\symbols\windows on the code sample
Run the application from: build\windows\runner\Release
Press the button to see if the docs path is read correctly

Expected results: Call to getApplicationDocumentsDirectory() completes and docs path is updated
Actual results: Call never completes

pubspec.yaml
name: obfuscation
description: A new Flutter project.

version: 1.0.0+1

environment:
  sdk: ">=2.17.0-165.0.dev <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  path_provider: ^2.0.9

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true

main.dart
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({Key? key, this.dir}) : super(key: key);

  final String? dir;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: MyHomePage(title: dir ?? ''),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String _path = '<?>';

  Future<void> _getPath() async {
    final Directory directory;
    try {
      directory = await getApplicationDocumentsDirectory();
    } catch (e) {
      return;
    }

    setState(() { _path = directory.path; });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Text('Documents path: $_path'),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _getPath,
        tooltip: 'Get path',
        child: const Icon(Icons.folder),
      ),
    );
  }
}

Logs
flutter doctor -v
[√] Flutter (Channel master, 2.11.0-0.0.pre.752, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.11.0-0.0.pre.752 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a786f65700 (3 hours ago), 2022-03-03 03:01:22 -0500
    • Engine revision 993285f64d
    • Dart version 2.17.0 (build 2.17.0-165.0.dev)
    • DevTools version 2.11.1

[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.10)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32126.315
    • Windows 10 SDK version 10.0.19041.0

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

[√] VS Code, 64-bit edition (version 1.64.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.36.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1526]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.43

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

! Doctor found issues in 2 categories.

/cc @stuartmorgan
A bit of early debug suggests that when obfuscation is enabled, PathProviderWindows isn't registered at all and instead the default MethodChannelPathProvider instance is used, which is why the calls go nowhere. After disabling obfuscation this goes away and PathProviderWindows.registerWith() is called.

Hi @tgucio, thanks for filing the issue, I was able to reproduce the issue getApplicationDocumentsDirectory() does not return path on the master channel with obfuscation. But it does work on the stable channel. Labeling this issue as a regression.

flutter doctor -v (windows)
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.10.3 at C:\flutter_sdk\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (14 hours ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.64.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.36.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1526]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 98.0.4758.102
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 98.0.1108.56

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

• No issues found!

[√] Flutter (Channel master, 2.11.0-0.0.pre.752, on Microsoft Windows [Version 10.0.19044.1526], locale en-US)
    • Flutter version 2.11.0-0.0.pre.752 at C:\flutter_sdk\master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a786f65700 (in the future), 2022-03-03 03:01:22 -0500
    • Engine revision 993285f64d
    • Dart version 2.17.0 (build 2.17.0-165.0.dev)
    • DevTools version 2.11.1

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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.64.2)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.36.0

[√] Connected device (4 available)
    • Windows (desktop)       • windows • windows-x64     • Microsoft Windows [Version 10.0.19044.1526]
    • Windows (UWP) (desktop) • winuwp  • windows-uwp-x64 •
    • Chrome (web)            • chrome  • web-javascript  • Google Chrome 98.0.4758.102
    • Edge (web)              • edge    • web-javascript  • Microsoft Edge 98.0.1108.56

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

• No issues found!

@gaaclarke It sounds like the new lookup system not robust against obfuscation, which would be a significant regression.

It's probably this code:
     if (EndsWith(library_name,
                 "dart_tool/flutter_build/dart_plugin_registrant.dart'")) {

combined with https://github.com/dart-lang/sdk/issues/44215
@alexmarkov Is there a workaround we can use to call an entry point when obsfuscation is enabled?

We're already iterating through all the libraries to find the right one... what if we just tried calling InvokeDartPluginRegistrantIfAvailable on every single library until one works? The ones that are wrong would just return false due it looks like:
https://github.com/flutter/engine/blob/e37b91037c4f9ee7aa2ebc47d6898913df463620/runtime/dart_plugin_registrant.cc#L57-L62
(Presumably that's slower; we could try to find it by name first, then fall back to trying everything.)

what if we just tried calling InvokeDartPluginRegistrantIfAvailable on every single library until one works?

One problem with that is we could face naming collisions with _PluginRegistrant.  It would already be a bummer to have to accept the performance cost, but we'd have to try to limit the chance of collisions.  I guess if we only did that logic when the executable is obfuscated it would only collide if there was a @pragma('vm:entry-point').
I'll wait to hear back about https://github.com/dart-lang/sdk/issues/44215 from @alexmarkov since that's the ideal solution considering it has come up a few times already.

Unfortunately I'm not aware of any workarounds. We should just fix the obfuscation (https://github.com/dart-lang/sdk/issues/44215).

@alexmarkov How quickly could we get that done? This is a non-trivial regression, so we need a solution in the short term.

@mraleph might know better as he implemented the obfuscation.

The fix should be fairly straightforward, can be done in pure Dart. See ObfuscationProhibitionsVisitor - it should probably just be changed to add URIs of libraries containing entry points to the list of protected names.

I asked @jensjoha to look at this on the Dart side.

It looks like a fix has landed on the Dart side, and I believe it's rolled all the way through Flutter at this point. Is this still reproducible on latest master?

I am gonna close given that @jensjoha has tested with Flutter and says it works.
@tgucio please verify and let us know if it does not work.

Verified by running a binary built with flutter build windows --obfuscate --split-debug-info=build\app\symbols\windows using Flutter master 2.13.0-0.0.pre.142 and it starts correctly.
Thanks a lot!


chore(clerk-js,localizations): Add signup start action link translations

Description
Adds two new localization keys for signup start form.

Add Use email instead - signUp.start.actionLink__use_email
Add Use phone instead - signUp.start.actionLink__use_phone

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[x] other:

You can also run the script that generates localization keys for any other language

✅ thanks alex


[Tracking] forc-deploy UX improvement

This is to track our open effort to improve UX for forc-deploy. Some details can be found in sub-issues and #4723.

#4043
#4743
#4744

Also there are some forc-wallet PRs to wait for:

https://github.com/FuelLabs/forc-wallet/pull/116
https://github.com/FuelLabs/forc-wallet/pull/114
https://github.com/FuelLabs/forc-wallet/pull/118
https://github.com/FuelLabs/forc-wallet/pull/119

Opened more granular issues such as:

#4759
#4758
#4757
#4756
#4754

closing as all sub tasks are closed now.


Cop idea: prefer each over map when return value is not used

Is your feature request related to a problem? Please describe.
I found a code like this:
Model.all.map { do_something_as_side_effect }

I think everyone will agree that we should use each instead of map in this case, since map is mainly used for its return value but here it's not used.
This sort of thing can be automated by RuboCop!
Describe the solution you'd like
When a method named map is used and the return value is not used, the cop warns.
It can support auto-correct to replace map with each.
Describe alternatives you've considered
Actually, there are some more methods from Enumerable module that we use for their return values, such as select.
We might let users specify method names to replace with each
Additional context
When a user defines their own method named map, this cop might produce false positive. However, when it's named as map, it clearly shows that it's expected to return value and we care it.

Duplicate https://github.com/rubocop-hq/rubocop/issues/1052 ?

Thanks I didn't notice this old issue.

@fatkodima Good catch!
This issue has been closed in the past. Opening as a PR would be welcome. See #1052 for more information. Thank you.


Ads Returned

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
Egypt
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: Latest version
- Windows: 10
- PowerShell: 2.0

📝 Description
After a while of using that tool ads returned
📸 Screenshots
No response

Perform a clean install as described in the FAQ
If the problem remains then refine your full version of Spotify, no need to specify latest
Also describe or take a screenshot to see exactly how your ad looks like.

Perform a clean install as described in the FAQ
If the problem remains then refine your full version of Spotify, no need to specify latest
Also describe or take a screenshot to see exactly how your ad looks like.

I have updated the issue

you have not installed SpotX
Read the FAQ


Bug:- mobile number should be of 10 digit

mobile number should be of 10 digit, i want to solve this bug under participant of GSSoC'21,can you please assign this to me.

i have send PR please check

i have send PR please check


Add bmpl info

Official announcement: https://bmpl.fun/

Project team background:
Our BMPL team consists of experts in blockchain systems. We offer a new payment solution for fast transactions using a smart contract. We are based in three countries in Malaysia, Cambodia and Russia, our developers have more than 5 years of experience in blockchain development.

Project basic information:
Token Name: Bmplfort
Token Symbol: BMPL
Project Overview: BMPL is already at the stage of launching a new payment solution BMPL PAY. This is a payment system that will be between the participants of BMPL token holders, with the further release of a crypto card for convenience and payment for any goods on the Internet
email<EMAIL_ADDRESS>Company Website:: https://bmpl.fun/
Whitepaper: https://bmpl.fun/WP_BMPL_CHI.pdf

Supported Exchanges:
UNISAP: https://uniswap.info/pair/0xc2442dc02b123cb9b40bf07d8e326d9eb18a2f37

Gas Limit required for transfer (for ERC-20 project party): 60000

非常抱歉，该PR的Json格式不正确，请参考其他PR或教程重新提交，这个PR关掉了。


content: Handle blank text nodes after code blocks.

before
after

Fixes: #355

Appreciate the feedback, @gnprice. I believe it's good to go now, @chrisbobbe; would love to hear your insights on the trim behavior.


stops working after update received

Right. My bad.
On Windows global path is detected as URL...


mobx-react warning on newer versions

Describe the problem
An import of batchingForReactDom generates a warning with newer version of mobx-react
How do you reproduce the problem?
Create a new TS/JS project that depends on the last version of patternfly/react-topology, and import VisualizationSurface component. Launch the project (in dev)
A warning appears in the browser's console : [mobx-react-lite] importing batchingForReactDom is no longer needed
Expected behavior
No warning
Is this issue blocking you?
Not really, it is just a bit dirty to keep this warning
What is your environment?

OS: Windows 10
Browser: Firefox
Version: 114.0.1

Any other information?
My suggestion would be to bump mobx-react to ^7.0.0, as the import of batchingForReactDom in VisualizationSurface.tsx won't be needed, so we would be able to remove it, which will remove the warning for any accepted version of this library

Here's a screenshot from a test execution showcasing the same warning


[QUESTION] How to add description to Resource endpoint?

Description
How can I add a description to a Resource's endpoint? I went through the documentation but only saw an explanation on how to describe the response of the endpoint, not the endpoint itself.
For example in the screenshot below, how can I change "Put" to another title, and add a description to the endpoint?

You can describe the request the same as you would in Fastapi see this


article changes and necessary additions

Thank you for contributing to Microsoft Fabric documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:
Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your primary Skilling team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[ ] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[ ] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[ ] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[ ] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[ ] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the main branch or a release- branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

Please ignore this PR, it's for testing purposes.

@Fernandokkw,
Thanks for the heads up! When you're finished testing, please close this PR.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


x/pkgsite: package level Example quotes entire file, not just function code

What is the URL of the page with the issue?
https://pkg.go.dev/github.com/mroth/weightedrand@v0.2.2?tab=doc#example-package
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
Screenshot
Package Example function in godoc.org:

Package Example unction in pkg.go.dev:

(snipped...)
What did you do?
Use a package level Example function in the godocs for a module.
What did you expect to see?
The example code and output for the Example function only rendered at the top of the package documentation page.
What did you see instead?
The "code" section of the example function contains the source of the entire file, not just the Example function.

Possibly related (or even a duplicate) of https://github.com/golang/go/issues/39006.


Reusing Page Content - Allow explicit deep-includes (including working hack to do this now)

Describe the feature you'd like
Setting. Two includes: page-include / block-include (a copyright note). The block-include is already included in the page-include.

When importing a complete page with pre-existing block-include, the include tags get printed out, instead of resolved.

That was expected: I remembered that you can't have recursive includes and started to rebuild the pages

Documentation:

Note that the include behaviour is non-recursive so including will only work to a single level. This ensures performance and prevents users from breaking pages by creating include loops.

When I included the unresolved text-block after the page-include, the original include from the page-include also resolved (i.e. I had two copyright-notes on the page).
Now I just changed the text-block-include to style="display: none;" and have a full copy of the other page, including the copyright note.

My idea is: Maybe I could provide a list of includes to the page editor. This still prevents loops and performance issues, because it moves the processing power for iterating through all pages to my brain: I have to explicitly list all imports.
Describe the benefits this would bring to existing BookStack users
I personally think that the reusing page content function is an important function and this could make it even more useful for advanced users.
Can the goal of this request already be achieved via other means?
Yes, by changing the surrounding paragraph of the import-tag with style="display: none;" you can add deep-imports to a page without changing what the reader sees.
I haven't tested it with multiple layers. but I guess it would work.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
0 to 6 months
Additional context
No response

Hi @NeurohrByteS,
So from what I understand you want to allow nested includes when explicitly listed by the author within the page?
Personally I don't see that as a viable alternative to just adding nested inclusions, since all the same concerns would still apply since we can't really trust the original author to avoid these issues themselves. In addition, this requires some additional abstraction and potential maintenance for the author to follow/know/assume (In terms of updating the listed includes if child content changes).

@ssddanbrown Thank you for your response!
Hmm... I see the problem. It depends on the knowledge and accuracy of the authors too much (which is okay for us, since only a small team of authors handles everything). I forgot the the source could change in all but such simple cases as a legal note / static content block.
In that case the style="display: none;" hack works for us.
Hmm... what could be a working solution is that there is a global list of pages (without any nesting) which can always be included, even with deep-includes.
However that feels like more effort that is worth it for "default page header" or "default page footer".
I think we can close this request.


 I'll investigate tomorrow.

It looks like the last action is illegal as it's PSK. Last state states[-1] and states[-7] are the same.
I suppose it should have been omitted from legal action but it's legal now.
 False
345 legal? True
345 terminated? False
345 psk? False
305 legal? True
305 terminated? True
305 psk? True

After some investigation, I concluded that this is not the bug.
This game ends due to PSK. However, it's allowed in the legal action and the agent is expected to learn it. This is our specification.
This is described in our document:  https://sotets.uk/pgx/go/
Also, I suppose OpenSpiel also has the similar behavior.
I guess the game would end in tie in OpenSpiel.
Anyway, thank you four your report!

Does the presence of dead stones on the board affect the win or lose in go game？

It follows the Tromp Taylor rule https://tromp.github.io/go.html

So if dead stones  not cleaned by agent, it will counted into score, and affect the result?

PSK

finanlly understand，thanks.  This is the first time that i know this rule.


Detect OSD "slow ops"

Need a "scenario" to detect and diagnose slow ops from OSDs.

@pponnuvel where would I have to look to find that message?

This will be in both mon logs and OSD logs.
A mon log example (/var/log/ceph/ceph.log):
2022-03-18T18:36:14.293172+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766581 : cluster [WRN] Health check update: 3 slow ops, oldest one blocked for 65 sec, daemons [osd.12,osd.22,osd.6] have slow ops. (SLOW_OPS)
2022-03-18T18:36:19.295103+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766590 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 41 sec, daemons [osd.12,osd.13] have slow ops. (SLOW_OPS)
2022-03-18T18:36:24.296782+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766593 : cluster [WRN] Health check update: 1 slow ops, oldest one blocked for 45 sec, daemons [osd.12,osd.13] have slow ops. (SLOW_OPS)
2022-03-18T18:36:29.298882+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766603 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 51 sec, daemons [osd.12,osd.13] have slow ops. (SLOW_OPS)
2022-03-18T18:36:34.300346+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766612 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 55 sec, daemons [osd.12,osd.13] have slow ops. (SLOW_OPS)
2022-03-18T18:36:39.302100+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766613 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 31 sec, osd.13 has slow ops (SLOW_OPS)
2022-03-18T18:36:40.590522+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766614 : cluster [INF] Health check cleared: SLOW_OPS (was: 0 slow ops, oldest one blocked for 31 sec, osd.13 has slow ops)
2022-03-18T18:36:50.540357+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766624 : cluster [WRN] Health check failed: 0 slow ops, oldest one blocked for 32 sec, daemons [osd.13,osd.7] have slow ops. (SLOW_OPS)
2022-03-18T18:36:56.539466+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766625 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 35 sec, daemons [osd.13,osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:02.605789+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766634 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 40 sec, daemons [osd.13,osd.22] have slow ops. (SLOW_OPS)
2022-03-18T18:37:08.568790+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766638 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 48 sec, daemons [osd.13,osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:14.322438+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766639 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 48 sec, daemons [osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:19.324266+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766648 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 58 sec, daemons [osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:25.330297+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766649 : cluster [WRN] Health check update: 0 slow ops, oldest one blocked for 64 sec, daemons [osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:34.330107+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766659 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 69 sec, daemons [osd.22,osd.5] have slow ops. (SLOW_OPS)
2022-03-18T18:37:38.641768+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766662 : cluster [INF] Health check cleared: SLOW_OPS (was: 0 slow ops, oldest one blocked for 74 sec, osd.22 has slow ops)
2022-03-18T18:37:50.655673+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766674 : cluster [WRN] Health check failed: 0 slow ops, oldest one blocked for 30 sec, daemons [osd.17,osd.19] have slow ops. (SLOW_OPS)
2022-03-18T18:37:58.664680+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766675 : cluster [WRN] Health check update: 2 slow ops, oldest one blocked for 36 sec, daemons [osd.17,osd.19,osd.21] have slow ops. (SLOW_OPS)
2022-03-18T18:38:04.340740+0000 mon.juju-a79b06-10-lxd-0 (mon.0) 9766684 : cluster [WRN] Health check update: 4 slow ops, oldest one blocked for 41 sec, daemons [osd.13,osd.17,osd.19,osd.21] have slow ops.


LocalEmbeddingDriver

Developers want to generate embeddings locally, so we need to build a driver for that.
Before starting on the issue, let's figure out what approach we should use (e.g., gensim).

Closing, this can be accomplished with something like an Ollama Embedding Driver


Build hangs, with no messages.

When I run ipa build nothing happens. There is no output and the software never exits. When I Ctrl+C, I get the following:
/Library/Ruby/Gems/2.0.0/gems/shenzhen-0.11.2/lib/shenzhen/xcodebuild.rb:32:in ``': Interrupt
    from /Library/Ruby/Gems/2.0.0/gems/shenzhen-0.11.2/lib/shenzhen/xcodebuild.rb:32:in `info'
    from /Library/Ruby/Gems/2.0.0/gems/shenzhen-0.11.2/lib/shenzhen/commands/build.rb:28:in `block (2 levels) in <top (required)>'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:154:in `run'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/runner.rb:421:in `run_active_command'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/runner.rb:65:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/delegates.rb:15:in `run!'
    from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/import.rb:10:in `block in <top (required)>'

(Note, I don't know anything about this software, I'm just following documentation given to me by others). I looked through the source code and found that shenzhen ultimately calls xcodebuild. So I ran that command and I get:
Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“[redacted]”) were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'

That might be the underlying issue, but why then does shenzhen not output anything or exit?

I installed the certificates and now I get:
ipa build
Configuration was not passed, defaulting to Debug
Select a scheme:
1. Config1
2. Config2
?

From reading the code, I don't really understand why.

Cleaned out my build and started from scratch and now the issue is back. ipa --verbose build -s xyz -c Release always just sits there forever not doing anything. Do any of the commands need access to the internet? I can't think of what else would have made this work the one time.

Ok, so I found the source of the issue. I put statements in shenzhen to see where the error was occurring. It is hanging at lib/shenzhen/xcodebuild.rb:32. It seems the command xcodebuild -list hangs on my machine. Can I suggest that with the --verbose flag shenzhen outputs that it is calling the above command?
I inadvertently made it work, after installing the certificates, by opening the project in Xcode. Before opening in Xcode, I got the following:
macbuild:ios itdev$ xcodebuild -list
Information about project "Project":
    Targets:
        Project

    Build Configurations:
        Debug
        Release

    If no build configuration is specified and -scheme is not passed then "Release" is used.
^C

Afterword, I got the following:
macbuild:ios itdev$ xcodebuild -list
Information about project "Project":
    Targets:
        Project

    Build Configurations:
        Debug
        Release

    If no build configuration is specified and -scheme is not passed then "Release" is used.

    Schemes:
        Project

I noticed a few new files and folders. I think the important one is:
Project.xcodeproj/xcuserdata/itdev.xcuserdatad/xcschemes/Project.xcscheme

So, I am thinking that maybe this is a bug in xcodebuild? It's sort of an annoyance that these user-specific files have be in source control, but I digress. I think xcodebuild should return an error rather than just hanging. I'm not sure if you should handle this weird situation in your application, or not.

Had exactly the same issue on my new CI server- turns out I had never opened Xcode and need to enable "Developer mode" on this mac. Whatever that means.

We have had similar problem and solution was to open/wait/close xcode and then build.

I forgot how to generate the xcscheme file, but that file is really needed for xcodebuild to not hang, pretty frustrating

Running this ruby to open / save from the CLI seems to help with the hang, I needed to do this also when using Jenkins using the Xcode plugin, so I think it's more an issue with Xcode projects. (My xcode project is created from Cordova each build so I never actually open the Xcode app.)
https://gist.github.com/shanesmith/8b88720c19b910cc9900

:+1: to the solution provided by @cburyta
It would be nice to have this handled automagically by shenzhen


Updated Package.json DevDependencies

Summary

Changelog

[CATEGORY] [TYPE] - Message
Test Plan

Closing as we're at 7.20.0 now


Alphabetizing countries beginning with "N"

Subject: Alphabetizing countries beginning with "N"
Description:
i was entering countries where i have visited and where i have lived
Results:
the N section is not alphabetical! "netherlands" was hard to find - thanks everything otherwise very smooth
Backend version: develop-7c33e18d
Frontend version:
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Page: https://couchers.org/profile/home
User: zipnun_mendak (17012)

hmmm, this is due to it being alphabetized by country code instead, could be sorted in the frontend?


add multitaksing to DataLoader

Port the DataLoader from Flux and extend it with the multitasking features of
https://github.com/lorenzoh/DataLoaders.jl

One thing I'd like to do here is separate the view from the loader. So instead of eachbatchparallel(data), we have loadparallel(eachbatch(data)) where loadparallel accepts any iterator.

One thing I'd like to do here is separate the view from the loader. So instead of eachbatchparallel(data), we have loadparallel(eachbatch(data)) where loadparallel accepts any iterator.

So the way DataLoaders.jl does this, it has batchviewcollated which is just a view of collated batches (also supporting getobs!) and then eachobsparallel([;buffered]) that takes any data container.

Let me know if you need help on how to move forward with this.

What I wanted to do was have a single BufferedGetObs that supports multiple slots for parallelism and uses n = 1 for the single threaded-case. Instead of having a duplicate type for parallel vs single.

Courtesy of @samuela on Discourse, https://ffcv.io/ is a data loading library which appears to have insane performance. There might be some ideas in there worth emulating here.

Yeah, I'm not sure exactly what FFCV's secrets are yet... I guess we'll have to wait on the paper. From what I can piece together it sounds like they're using numba to JIT compile data augmentations and data loading to make things faster. Additionally there appears to be some async element to it all which makes sense considering hitting disk, etc. Not sure exactly what's going on, but it seems like the sort of things Julia should excel at.

Yeah we'll have to benchmark ourselves, but sounds like the kind of things that should happen "for free" with Julia.

I can't figure out from their website what they are actually doing. Any idea what's the secret sauce?

As @samuela and @darsnack mention, some of their data transformation functions that they optimize with numba will likely happen for free with Julia or at best might require some @tturbo magic from LV.
What will require a little more work to replicate is likely the data cache mechanism. For small datasets (or when the user has enough RAM) they preload the entire dataset in memory.
For larger datasets they use QUASI_RANDOM shuffling to minimize reads on the underlying storage.
More details seem to be in https://docs.ffcv.io/parameter_tuning.html

A big but under-discussed part of the performance gains come from the dataset generation step. AFAICT the .beton file format is a packed, binary one which is conducive to quick reads and scans. They also have functionality to selectively store a subset of images as compressed (jpeg) format and the rest as raw data. All this would probably be even easier to accomplish in Julia (ideally with Arrow.jl to keep close to standards), but to my knowledge it has yet to be done.

As @ToucheSir says, preprocessing the dataset for faster online loading can make a big difference, see for example this FastAI.jl tutorial. I also have a prototype package that automates many steps of saving and loading data containers that lets you dispatch based on the kind of data using Block types. For example, Image{2}s are saved as individual .jpg files while Keypoints are stored and loaded as a contiguous array using Arrow.jl. This also composes nicely when you have a dataset with different kinds of informations (e.g. inputs, targets, and more) and want to save each in the most efficient format while reusing as much functionality as possible. Some design thoughts could be taken from the repo, https://github.com/lorenzoh/DataBlockStorage.jl.

For example, Image{2}s are saved as individual .jpg files

I'm wondering if the new new lossless QOI format gives a better result here?
https://github.com/KristofferC/QOI.jl is included in ImageIO already.

I'm wondering if the new new lossless QOI format gives a better result here?

Didn't know there was a Julia implementation already. Will update here once I have tried. Do you know what the compression ratio is like compared to JPEGs?

Do you know what the compression ratio is like compared to JPEGs?

It's becoming off-topic now... In general, QOI works not that well in compression ratio, but works really well at encoding and decoding. Thus QOI is an ideal format for applications that don't need high network bandwidth (e.g., web applications) but requires high decoding throughput (e.g., games).
You can find some reference results on https://github.com/KristofferC/QOI.jl#benchmarks and https://github.com/johnnychen94/JpegTurbo.jl/issues/15#issue-1123606966 For instance, the "coffee" image is compressed into 78.10KB by JpegTurbo.jl, while 493.3KB by QOI.jl.


Swift 3

Hi,
This is a really neat library that I'm using in an app I'm working on. Thanks for putting in all the hard work!
It would be great to get this updated for Swift 3. I tried using the auto conversion tool but there are still a number of manual changes to make.
Thanks!

Updated for Swift 3 in commit 30aa0a2.

Thanks for the super quick response!!


enhancement: add sizeLimit to emptyDir used for user sessions

This can be done like this in spawners.py at line 215:
if not options.get("pvc_name"):
    volume = {
        "name": git_volume_name,
        "emptyDir": {"sizeLimit": server_options.get("disk_request", "1G")},
    }

Pods are then evicted very quickly after the emptyDir goes over the limit:
  Normal   Created              6m20s  kubelet            Created container git-https-proxy
  Normal   Started              6m19s  kubelet            Started container git-https-proxy
  Warning  Evicted              62s    kubelet            Usage of EmptyDir volume "jupyter-tasko-2eolevskitestprivate-2dce351525-git-repo" exceeds the limit "1G".
  Normal   Killing              62s    kubelet            Stopping container notebook
  Normal   Killing              62s    kubelet            Stopping container git-https-proxy

However, the evicted status is not properly communicated to the UI s.t. the sessions can be deleted. Currently the UI shows the user sessions as if it was just stuck in "loading" and it does not provide the option to delete the session from the UI.

I will reopen a new issue to inform user when a session is evicted because of consuming too much memory, disk or other resources that have limits. Not sure how easy it is to do this since the eviction from k8s happen very quickly (i.e. within less than a minute for disk space).


twig/twig < 3.14.0 has potential security issue and newer version cannot be installed with current 6.5 - probably not a relevant issue for Shopware but still

PHP Version: 8.3   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
Allow installation of twig/twig >= 3.14.0 with Shopware 6.5 as that one fixes the following security issue https://symfony.com/blog/twig-security-release-possible-sandbox-bypass
Actual behaviour:
Cannot install twig versions >= 3.9.0 due to shopware conflicts.
Though I admit the corresponding secuirty issue might not be relevant for Shopware.
How to reproduce:
see above.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39125
[created from NEXT-39125, comment 504922]

[public] This is a duplicate issue of  https://shopware.atlassian.net/browse/NEXT-38239 Resolved
[created from NEXT-39125, comment 505910]


Add WCONTINUED const for OpenBSD

Simple addition of WCONTINUED for OpenBSD-like systems. Built nix against this modified libc and used it to test.

@bors: r+
Thanks!

:pushpin: Commit e83f20b has been approved by alexcrichton

:hourglass: Testing commit e83f20bc0d4f21535282b2369d67eeb864b0263c with merge 4feda87afd727e2292a13f6ebd410f9d61af86f0...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 4feda87afd727e2292a13f6ebd410f9d61af86f0 to master...


operator mantaflow-operator (v36.0.0)

Closing this pull request and will replace it with a new one.

Replaced by PR #697


DRAFT: Show more meaningful approval dialogue when creating transactions

Closes #325

nice progress

Note that there's a 1 test_usd spend action — I'm not sure where that's coming from, or why it's being spent?

@jessepinho I believe this as an artifact of the current note selection logic. The transaction planner needs to construct a set of notes that will be sufficient to cover the requested amount, and I believe it currently does this in a naive way, picking notes one at a time. So my guess is that it selected the smaller note first, then spent another note to get enough balance.

@turbocrime since the lack of request IDs is an existing issue, and because I don't fully understand yet what circumstances would require request IDs, I'm going to merge this as-is. I created #377 to address your request.


Error raised in using the DGCNN implementation

Hello Dr. Zhang,
Thank you for this code.Can you please help me with the below issue?
I am using SEAL that exploits DGCNN. When I am running the file run_DGCNN.sh or trying to import functions from main.py in pytorch_DGCNN, it gives me "OSError: [WinError 193] %1 is not a valid Win32 application" error.
Kindly help.
Thanks in advance!

Hi! See #36.


Define simple show methods for PSparseMatrix and PVector.

It is pretty annoying when playing around in the REPL that this errors, so this defines some simple show methods.

Examples:
julia> K
3×3 PSparseMatrix{Float64} with 2 parts MPIBackend of SparseMatrixCSC{Float64, Int64}

julia> v
4-element PVector{Float64} with 4 parts SequentialBackend of Vector{Float64}

Updated

Codecov Report

Merging #65 (f71c6e7) into master (5d2acf8) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   91.23%   91.32%   +0.09%
==========================================
  Files           7        7
  Lines        2190     2202      +12
==========================================
+ Hits         1998     2011      +13
+ Misses        192      191       -1

Impacted Files
Coverage Δ

src/Interfaces.jl
90.67% <100.00%> (+0.07%)
:arrow_up:

src/MPIBackend.jl
93.33% <0.00%> (+0.55%)
:arrow_up:

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 5d2acf8...f71c6e7. Read the comment docs.


[draft] Scheduling

Required Backend Changes

https://github.com/ohcnetwork/care/pull/2576

Docs

https://github.com/ohcnetwork/docs/pull/61

Screenshots / Demo Video
(will update once ready)
Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[ ] Ensure that UI text is kept in I18n files.
[ ] Prep screenshot or demo video for changelog entry, and attach it to issue.
[ ] Request for Peer Reviews
[ ] Completion of QA

@rithviknishad
Here’s a screenshot of the Availability tab within the User Details page. For Admins, this tab can be accessed via the Users list. For doctors, could we add a direct 'Schedule' link in the sidebar that redirects them to the Availability tab in their user profile? Otherwise, if a doctor needs to set their own schedule, they’d have to navigate through their profile to find the Availability tab, which may be tedious.
Figma link

For doctors, could we add a direct 'Schedule' link in the sidebar that redirects them to the Availability tab in their user profile?

Yes, we can do that.

Closing as merged to #9262


DATASETS import error W1D1 T6&3

On Tutorials 3 and 6 of week 1 day 1, I am getting an error when running the import cell:
imports
import xarray as xr
from pythia_datasets import DATASETS
import matplotlib.pyplot as plt
No module named 'pythia_datasets'

Hi @ocgabs, would you mind adding your environment?  Thank you, Paul

Yes, sorry, I was using Jupyter Hub, does this path looks about right for this year? https://climatematch.2i2c.cloud/user/ocgabs/lab/workspaces/auto-H/tree/climate-course-content/tutorials/W1D1_ClimateSystemOverview/W1D1_Tutorial6.ipynb

Hi @ocgabs, please restart your JupyterHub and retry running T3 & T6, we think we found the issue :) Happy to get another round of feedback if not.

It works now, thanks... I wonder what was the problem and how was it fixed... feel free to close this issue now


Always automatically exits after downloading for about an hour.

Provide environment information
3%|███▏                                                                                | 796M/29.3G [18:49<21:32:53, 368kB/s]
6%|██████▎                                                                                | 1.63G/29.3G [1:00:36<17:06:09, 450kB/s]
This is not by chance. I've tried five or six times, and it's always like this.
What OS are you using?
Ubuntu 20.04.4
Describe the Bug
3%|███▏                                                                                | 796M/29.3G [18:49<21:32:53, 368kB/s]
6%|██████▎                                                                                | 1.63G/29.3G [1:00:36<17:06:09, 450kB/s]
This is not by chance. I've tried five or six times, and it's always like this.
Expected Behavior
No response
To Reproduce
No response

Same problem, any solutions?

It's hard to reproduce and debug without error due to the type of issue.
If you don't mind retrying, you can use gdown --continue, which should start from the previous exit.
(you can probably use with while loop)


Give e2e workload cluster config a unique name

Description of changes
Before, workload clusters added through the multicluster constructor had an already set config path that defaulted to the management cluster's config file. This meand workload cluster operations overwrote the same file.

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

/lgtm

/eks-anywhere-presubmit

/test eks-anywhere-presubmit


geopose sample customization help

Hello,
I've changed Georgia Tech coordinates to something close to me (110 meters) in geopose sample and the buzz box doesn't show in Android browser, just desktop's Chrome. Any ideas?
Thanks

Is it getting geolocation (does it show a location in the info box on the screen)?  Some browsers will only let you use the geolocation APIs over secure connections.  I tried it on Android just now, and over http:// I got no geolocation, but over https:// I was asked about it.

Hey Blair,
It is showing the coordinates and the distances (chrome implements that
https security stuff to grab user's location, but Android's built in
browser doesn't, so it works).
On Mar 14, 2017 17:44, "Blair MacIntyre"<EMAIL_ADDRESS>wrote:

Is it getting geolocation (does it show a location in the info box on the
screen)? Some browsers will only let you use the geolocation APIs over
secure connections. I tried it on Android just now, and over http:// I
got no geolocation, but over https:// I was asked about it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/argonjs/samples/issues/12#issuecomment-286553774, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJvVCpbySr9kZCfULixtguN7APMxDIy_ks5rlvwvgaJpZM4MdD5a
.

The Android Chrome browser I'm using implements https security stuff;  are you using a recent version of Android?  Is the "box" showing up, just not the GT box?  Does it look similar to the one on desktop?

That's it, but I just tested now, from farther, and the buzz with custom
location (closer to where I was) appears. I'll check tomorrow again, from
the place I was. By the way, is it possible to add some notion of distance
when dealing with this sample? I see the buzz box even greater than brown
box close to me, but it is 2km away. What could I do to really appears that
buzz box is farther? (I can open a new issue if needed :))
On Mar 14, 2017 18:28, "Blair MacIntyre"<EMAIL_ADDRESS>wrote:

The Android Chrome browser I'm using implements https security stuff; are
you using a recent version of Android? Is the "box" showing up, just not
the GT box? Does it look similar to the one on desktop?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/argonjs/samples/issues/12#issuecomment-286566551, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJvVCsuUf3gvvMEDAscdTj4eheVV90PQks5rlwaKgaJpZM4MdD5a
.

The buzz box in this sample is actually pretty huge (1km x 1km x 1km, I think).
You can try rendering with fog to help create the illusion of distance.

Ah, yes.  Ok, the deal is probably location accuracy.  If you are INSIDE the box, you won't see it (backface culling in the renderer).  And the location of desktop (using location APIs) or mobile GPS are TERRIBLE.  If you are outside under open sky it's better.
As for making the sample work at different distances;  sure, you can change anything.  We really just created the sample to show folks how to do "something" with geospatial coordinates in argon and three.js.   I don't want to make it too much more complicated, but if you have suggestions, we can change it.

@speigg I see, I'll try that.
@blairmacintyre actually I think Argon and this sample is really nice. I'm coming from "normal" 2d web mapping (Leaflet, Geoserver, etc.) for some adventures in 3D world :)
One possible application I have in mind is for example someone targeting the floor with his mobile device and seeing water or gas tubing under him, possibly being able to see some textual details.
The closest thing I found until now to do something like this is Argon.

Thanks @carrbrpoa !
The biggest challenge with doing geospatial AR is the poor quality of GPS/location sensor in mobile devices.  So, if your location is off by a few meters (best case) and changing ~1 time/sec with a noticeable jump, it makes it hard to look down and see things on the ground.


[Question] Create HLS Server

Hello,
Do you think it's possible to create HLS server to receive HLS stram with this framework ?
Thanks

Hi @Goule. It's definitely possible. I just implemented a very basic hls mock server to make my UITests more robust and enable offline support. My package might not be exactly what you need but it should be good starting point: https://github.com/fruitcoder/SwiftHlsMock


How to block Wraith visits from Google Analytics?

I'm guessing since Wraith runs JavaScript that its visits will trigger Google Analytics. This will throw off my site's analytics. Is there any way to block this?
Google makes an opt-out available as a browser plug-in, but is set up to install it, and I don't see a way to do that on Wraith.

This is beyond the scope of Wraith.
I suggest you use the before_capture hook to change the user agent header with your request, then on your website you check the header and only download Google Analytics if the header is not 'wraith', e.g.
module.exports = function (casper, ready) {
    // load the page with the correct header overrides
    casper.open(casper.page.url, {
        method: 'get',
        headers: {
            "X_USER_AGENT":    "wraith"
        }
    });

    ready();
}


Support any period

Instead of only supporting 1, 2, and 3-year registrations and renewals, support all periods set up in WHMCS

Closed in 1.1.0 beta 1


Value does not sync from parent to child component

[x] Before posting an issue, read the FAQ and search the previous issues.

Description
When we do Componentization of the form, the parent will not be able to subscribe to any changes from the child component.
Please see MRE here - https://www.sveltelab.dev/wl0rfm8u6rfld7z.
Notice that when I type to any fields the SuperDebug field does not get updated. Am I missing something? Thanks

Hi, you're creating a new instance of superForm in the component, that's why it's not working. You need to pass the SuperForm object created in +page.svelte instead of the SuperValidated data.

Got it, thanks!


Updating Phone-Number-Tracker(Tracker.py)

Aim
The objective of the Script is to handle error handling where there is an issue while parsing the number and also to implement advanced features.
Details
Firstly Implementing the Error Handling and implementing phonenumbers library which gives more advanced features like extracting the country code, national number, and region code from the parsed phone number
Do I want to work on this:

Yes

#Related to GSSOC

Hi @avinashkranjan Please Assign this task to me.

Already Open in #111

Hi @avinashkranjan If you check the timeline the issue is first opened by me. Can you please recheck how the other person got the issue assigned.


Window title style feature

Added a title to the window via CSS with an :after pseudo-selector on [data-termynal].
This is a stylistic change, so I'm not sure if you'd want it in the master, but I figured I'd create a PR anyway.

Thanks! Sorry I didn't get around to this sooner!


NULL pointer

In modsec_var_log_handler(), ther's a check for msr being NULL:
if (msr == NULL) return NULL;
return construct_single_var(msr, name);
construct_single_var() uses msr->msc_rule_mptmp, so this should also be checked:
if (msr->msc_rule_mptmp == NULL) return NULL;

Actually, it would  maybe be safer to perform the checks in construct_single_var():
if (!msr || !msr->mp || !msr->modsecurity) return NULL;
We should also check msr->modsecurity->msre & msr->msc_rule_mptmp, either in construct_single_var() or, better, in the functions they're used: msre_resolve_var() & generate_single_var()


Allow SP and IdP with the same EntityID

This issue is imported from pivotal - Originaly created at Dec 23, 2015 by Thijs Kinkhorst
As an organization that runs both an IdP and an SP, I want to use one software installation for both and this software can only publish one entityID. This should pose no problem for Engineblock, as only the tuple (entityID,type) needs to be unique.
Ensure that EB can cope with an entityID being in use both in an IdP and SP role.
Details in https://github.com/janus-ssp/janus/issues/483
Related to (and blocked by): #111132276

This has already been resolved in https://www.pivotaltracker.com/story/show/154841369
Testcase: https://github.com/OpenConext/OpenConext-engineblock/blob/master/src/OpenConext/EngineBlockFunctionalTestingBundle/Features/SingleSignOn.feature (Joris Steyn - Feb 20, 2018)


chore(telemetry): fix unstable unit tests

Increasing timeout for tests due to instabilities
Also making paths dynamic so they can be ran with tools like jest-runner

@cianmSAP do you know a little more about the instabilities? What is taking so long?

After some investigation I can see that getAppProperties https://github.com/SAP/open-ux-tools/blob/0682c012850d1b14401d54957ba65c479610561c/packages/telemetry/src/tooling-telemetry/data-processor.ts#L98
can take a 3-4 seconds to complete in some cases (atleast on my machine). I think the timeout here covers this unpredictability
@tobiasqueck


section 11.8 KW lobster revisited

Also can I suggest swapping the Lobsters(revisited) example out for something else, given that we concluded that the appropriate thing to do is use the ANOVA not the KW?

an error in the course materials in section 14.8.5. The interpretation is mixing up Tulips and Auxin.

Just going through the Clover & Yarrow example, which ends with the model: log(yield) ~ yarrow * farm
But the interaction is not significant. So it should be removed.
And it looks like in the model: log(yield) ~ yarrow + farm
the Farm term wouldn't be significant either
So perhaps the example should end with the model: log(yield) ~ yarrow
I think it may confuse the students to leave them with a model that includes terms that shouldn't be there - it's clear that Farm has no effect in this case


Transformer Swin backbone to other Detector get 0 AP

model = dict(
type='FCOS',
pretrained=None,
backbone=dict(
type='SwinTransformer',
embed_dim=96,
depths=[2, 2, 6, 2],
num_heads=[3, 6, 12, 24],
window_size=7,
mlp_ratio=4.,
qkv_bias=True,
qk_scale=None,
drop_rate=0.,
attn_drop_rate=0.,
drop_path_rate=0.2,
ape=False,
patch_norm=True,
out_indices=(0, 1, 2, 3),
use_checkpoint=False),
neck=dict(
type='FPN',
in_channels=[96, 192, 384, 768],
out_channels=256,
num_outs=5),
bbox_head=dict(
type='FCOSHead',
num_classes=11,
in_channels=256,
stacked_convs=4,
feat_channels=256,
strides=[8, 16, 32, 64, 128],
loss_cls=dict(
type='FocalLoss',
use_sigmoid=True,
gamma=2.0,
alpha=0.25,
loss_weight=1.0),
loss_bbox=dict(type='IoULoss', loss_weight=1.0),
loss_centerness=dict(
type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0)),
#
For example, I Ctrl+C the configs of Swin backbone and FPN from cascade_mask_rcnn_swin_tiny_patch4_window7_mstrain_480-800_giou_4conv1f_adamw_1x_coco.py, And Ctrl+V to Fcos Detector.
I use the changed Swin-Fcos Configs to train a detector and get 0 AP.
What is wrong with it? Could you give me a hand?

I also tried Swin with YoloV3 but i also get 0 ap

Have you solved this problem？

我用swin替换了detr的主干，我也得到了0 ap，你解决了这个问题吗？谢谢！


Windows Credentials store not working

Description
When the data start to synchronize, the credentials won't be found, producing an error.

Done as #92.


Find new tests

Create new issue from https://github.com/ouspg/trytls/issues/140#issuecomment-238207154:
Checking from here, we could try to find tests for the following

validity starts after checking time
not a CA/unknown Certificate Authority (CA)
connection name and certificate do not match
invalid wildcard in certificate

Currently the following are covered by the badtls.io tests:

validity starts after checking time (future.badtls.io:11001)
connection name and certificate do not match (domain-mismatch.badtls.io:11002)

When you say "invalid wildcard in certificate", it isn't clear to me if you mean the certificate contains an invalidly-encoded wildcard, of if you are looking for a wildcard mismatch. If you want a mismatch, that is handled by wildcard.mismatch.badtls.io:11007.
You could test "unknown Certificate Authority (CA)" by trying domain-match.badtls.io:10000 without the custom CA cert.
Generally I'm happy to add tests to badtls.io to test out various constructs. The python scripts that are part of https://github.com/wbond/badtls.io make it fairly easy to construct various good and bad configurations.

Spoke with @oherrala in real life™ about this. @wbond is correct in all cases.

validity starts after checking time is handled by future.badtls.io:11001.
not a CA/unknown Certificate Authority (CA) is currently handled by self-signed.badssl.com:443.
connection name and certificate do not match is tested by domain-mismatch.badtls.io:11002.
invalid wildcard in certificate is covered by wildcard.mismatch.badtls.io:11007, which tests the wildcard *.badtls.io against wildcard.mismatch.badtls.io. As always, there could be more tests, like foo.*.example.com, f*.example.com or *.*.example.com.

All in all, it looks like it's ok to close this issue.


Plugin has started to render twice in sidebar

I just upgrade to Remnote 1.13.34 and the roaming plugin has started rendering twice in my sidebar.

closing this b/c it's no longer happening with the latest version


amd_uprof: Write a role to download and install the AMD uProf tool (only on AMD systems)

See this for the tool website. We probably want to fail when the version updates so we can get the new one. Make sure we gather facts and only install on AMD machines.

There is also an excellent article on AMD-based perfomance counters that we should prehaps reference in the README.md. The link is here.


ProseMirror nested modules

I believe you have addressed this issue with other modules such as Angular 2 and lodash but wanted to add ProseMirror to the list of modules that have submodules that need to be included.
For example, to add the menu you need require("prosemirror/dist/menu/menubar")

https://github.com/christianalfoni/webpack-bin/issues/64

Thanks! Will add on next release.


python3Packages.ipython: disable clipboard test on darwin

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/157584#issuecomment-1037060879
Probably to big to into master, but easier to test on master. Can be rebased later.
cc @NixOS/darwin-maintainers please test
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Uh, one of the parameters that would better not change hash if added with an empty list :-/  But... with null it wouldn't be extremely ugly and it would avoid rebuild except where needed (and failed anyway).

Wondering if the solution is as simple as
diff --git a/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
index 0f708f88829..26aa614426e 100644
--- a/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
+++ b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
@@ -33,12 +33,12 @@ function pytestCheckPhase() {

     # Compose arguments
     args=" -m pytest"
-    if [ -n "$disabledTests" ]; then
+    if [ "${#disabledTests[@]}" -gt 0 ]; then
         disabledTestsString=$(_pytestComputeDisabledTestsString "${disabledTests[@]}")
       args+=" -k \""$disabledTestsString"\""
     fi

-    if [ -n "${disabledTestPaths-}" ]; then
+    if [ "${#disabledTestPaths[@]}" -gt 0 ]; then
         eval "disabledTestPaths=($disabledTestPaths)"
     fi

The solution has to be in evaluation time, i.e. shell can't do it.  On a quick glance, replacing empty lists by null values might even be a reasonable default for mkDerivation and similar functions.

Anyway, let's try this particular build
@OfBorg build python3Packages.ipython

Rebased, sorry for the noise. Need to learn how to do it properly I guess.


Fixed ResourceGroup "admin" when exporting workbooks

The workbook export it's not working by default because there's no variable for the resource group select at the code.
Please, check the syntax and add the right variable:
$BaseUri = "https://management.azure.com/subscriptions/" + $CurrentSubscription.id + "/resourcegroups/admin"
In the meantime, changing manually the resource group is successful.
Thank you!

Fixed


Enable Custom OptionStrategyPositionGroupBuyingPowerModel

Expected Behavior
Be able to customize a PositionGroupBuyingPowerModel to not block orders due to insufficient buying power models for strategies that are not implemented.
Actual Behavior
Insufficient buying power messages for strategies that are not implemented.
Potential Solution
N/A.
Ideally, we should cover all strategies.
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

Isn't the work around here using a NullMarginModel which would disable the margin checks entirely?


NASA color fix

-Changed the NASA logo in the users section on the front:
—Now uses three shades of gray to make more distinguishable and readable
—Changed the height from 60 to 70 to match the size of other logos
surrounding it

I am using: #B1B1B1 for the color of the circle, #DDDDDD in substitution for the red and white for the other elements if anyone wanted to reference this!

Looks great!

Thanks, it looks great, merging!
On Thu, Oct 29, 2015 at 1:26 PM, Steven Christe<EMAIL_ADDRESS>wrote:

Looks great!
—
Reply to this email directly or view it on GitHub
https://github.com/jupyter/jupyter.github.io/pull/63#issuecomment-152256793
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

:+1:


Not exposing nullable from Json.Decode in example

In example the following example, nullable needs to be exposed:
import Json.Decode exposing (int, string, float, Decoder)
import Json.Decode.Pipeline exposing (decode, required, optional, hardcoded)

type alias User =
  { id : Int
  , email : Maybe String
  , name : String
  , percentExcited : Float
  }

userDecoder : Decoder User
userDecoder =
  decode User
    |> required "id" int
    |> required "email" (nullable string) -- `null` decodes to `Nothing`
    |> optional "name" string "(fallback if name is `null` or not present)"
    |> hardcoded 1.0

Haven't tried running the code but I found: http://package.elm-lang.org/packages/elm-lang/core/latest/Json-Decode#nullable

Thanks! This has now been fixed on master


Conflict involving DAE, ER and Terrain Mapper

Related to my other open issue (https://github.com/caewok/fvtt-elevation-ruler/issues/209), with the latest version of ER and DAE 11.3.64, a region with a difficult terrain set will not display any changes in the terrain.
This is using the default difficult terrain that comes with terrain mapper.

This gif shows the issue. Dragging tokens over other tokens correctly adds +5 to their movement cost. This is reflected on the ruler. But when I drag the token through the difficult terrain territory. You can see this extra movement cost is not added.
When DAE is disabled, the measured cost is factored in correctly:

There are no error messages in the console, however.
Foundry 12.331
Dnd5e 3.3.1
ER: 0.10.11
DAE: 11.3.64

Setting aside the DAE issue, this should be addressed in v0.10.12.


[SRVCOM-1771][RELEASE-1.3] Bump prom client to 1.11.1 for CVE-2022-21698

Same as https://github.com/openshift-knative/net-kourier/pull/25

/assign @rhuss

/approve
/lgtm

@rhuss @nak3 need a lgtm or close this. Others repos merged this, if we close please not that will need to clarify in release notes about false positives.

/approve
/lgtm


chore: add change tags for existing change files

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[ ] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

Not sure how we could enforce adding a tag, otherwise all changes will endup in What's changed section? I myself forgotten to add them


Sg/merge/daemon toolchain

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test RfR

I've triggered the following builds for you. Click here to see all build failures.

ReadyForRelease build

@bot-gradle test RfR

I've triggered the following builds for you. Click here to see all build failures.

ReadyForRelease build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

Can't merge a draft PR.

@bot-gradle merge

The merge queue build has failed. Click here to see all failures.

@bot-gradle merge

@bot-gradle merge

The merge queue build has failed. Click here to see all failures.

@bot-gradle merge

@big-guy is there an issue that can be followed for the vendor support that was removed for now?


BUG: scipy.cluster.hierarchy.dendrogram: missing font size doesn't reset rotation anymore

seems like a copy paste bug... not specifying a leaf_font_size shouldn't reset a specified leaf_rotation

Same issue is fixed in gh-4920 in a different way. That currently has at least some style issues and is harder to review, so I'm going to merge this one first. With a minor modification: the bug is present in 3 places and you fixed only one.

Merged in daf4982. Thanks @joernhees.

:+1: and thanks for spotting the other ones


RFC: Reimplementing this Gradle Plugin from Scratch

This Gradle Plugin is a fork of Gradle Official FindBugs plugin, that depends on Gradle's internal API. This dependency makes continuous maintenance difficult and breaks this plugin when Gradle changed internal API.
To solve this problem from its root, I'm working on a new plugin at:
https://github.com/KengoTODA/spotbugs-gradle-plugin-v2
It still lacks some features such as filter file and worker API, and has not been deployed to Gradle Plugin Portal yet, but I need your help to make it better. Especially I lack the experience to build Android apps by Gradle, please help me to add more functional tests that use actual projects. Check the contributing guideline before you add new issues and/or PRs :+1:.
After we stabilize the implementation, I will propose us move the code from my personal repo to this SpotBugs organizations' repo.

Hi @DPUkyle @rpalcolea @Vampire @jscancella and others, I need your help 😀
I made a new Gradle Plugin from scratch, and deployed to Gradle Plugin Portal under my personal namespace.
I finished my test and benchmark, so if your time permits, I want to ask some of you to test in your project (I did it in SpotBugs project). Especially I want to confirm the performance; it should be faster than the classic implementation (= this repo). Its Groovydoc for plugin user is also available, you may check it.
Most existing features in classic implementation are implemented, but if you found lacked feature, please feel free to issue tickets at here. Thanks in advance!

Hi @KengoTODA , thanks for the heads up. I'll play around with it. Just opened https://github.com/KengoTODA/spotbugs-gradle-plugin-v2/issues/32

I'm out of the country until January 21, but I should be able to test it
when I get back home.
On Fri, Jan 10, 2020, 3:32 AM Roberto Perez Alcolea <
<EMAIL_ADDRESS>wrote:

Hi @KengoTODA https://github.com/KengoTODA , thanks for the heads up.
I'll play around with it. Just opened
KengoTODA/spotbugs-gradle-plugin-v2#32
https://github.com/KengoTODA/spotbugs-gradle-plugin-v2/issues/32
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spotbugs/spotbugs-gradle-plugin/issues/180?email_source=notifications&email_token=AB4JVLMOYTO4OJ4VZIN7NWTQ453TBA5CNFSM4KBV7UN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIRPY7Y#issuecomment-572718207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4JVLNGBE3RRJEXWEQ25QLQ453TBANCNFSM4KBV7UNQ
.

I hope I am doing something dumb, but after applying the java plugin and your new plugin I don't have a SpotBugsMain task anymore on my personal project. I created a branch so you can see what I did
https://github.com/jscancella/bagging/tree/newSpotbugsPlugin

after applying the java plugin and your new plugin I don't have a SpotBugsMain task anymore on my personal project

@jscancella is it the problem solved at https://github.com/KengoTODA/spotbugs-gradle-plugin-v2/issues/84 ?

I forget when you changed it, but after you updated which Java plugin gets applied it started showing up for me again. Using the latest plugin works for me.

Finally SpotBugs 4.0.0 is out :tada:. And the new Gradle Plugin seems fine for now.
If we got no problem reported at the issue list, I will propose to release that plugin as the official SpotBugs Gradle plugin version 4.0.0.

@KengoTODA what's the timeline for releasing this? Since spotbugs 4.0 was released recently it makes sense to release this as well.

@jscancella Created #191 to replace legacy implementation (~v3) with new one (v4).


Support for repeating events?

Planned support for repeating calendar events?
Thanks! This is a great extension!!

If you use this plugin with Google Calendar, you can create repeating events. Try starting block-visual mode with <C-v>. Select some days and press i to input the event title. You can use the block-visual mode within the month view for weekly events and in the days view for daily events. If you do not connect this plugin to Google Calendar, it is not supported.

That's pretty cool! Did I miss it in the documentation someplace?

How about for non-standard repetitions (like every 3 days, for example?).
If I delete one event from a repeating series does it delete just that event or the whole series?

Thanks!

Hmm, it does not seem that it supports such a non-standard repetition because it will rarely used in our daily life. Also, deleting all the recurrence is impossible. I don't remember clearly but I think that it was the   limitation of the Google Calendar API.


Glue Job Worker Type - G4x and G8x

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
I am using pulumi.aws python module in order to deploy a Glue Job.
It seems there is no support for G4x and G8x worker types when deploying a Glue Job.
Producing the following error:
error: aws:glue/job:Job resource 'glue_job_name' has a problem: expected worker_type to be one of [Standard G.1X G.2X G.025X], got G.4X. Examine values at 'Job.WorkerType'.
Would it be possible to add both this worker types ?
https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-jobs-job.html
https://www.pulumi.com/registry/packages/aws/api-docs/glue/job/#state_worker_type_python
Note: The documentation also doesn't mention the 0.25x worker type, but since the error included this type I assume it's only a missing documentation

Affected area/feature

Hi @ertykiko  - thank you for bringing this to our attention! As this is a bridged provider, functionality like this actually depends on implementations from the upstream terraform provider here. I would suggest opening an issue to support these worker types there, and then we can quickly incorporate those changes into our provider here. I'll leave this issue open to track for now, but will be marking it as awaiting-upstream. Thank you again!


Ownable contract owner is always the 0 address

When using Ownable, the owner of the contract is always the null address.
pragma solidity ^0.5.0;

import<EMAIL_ADDRESS>
contract Tester is Ownable {
    function sayHi() public view returns(string memory) {
        return "hi";
    }
}

Then deploy it to my local blockchain with openzeppelin create. Calling openzeppelin call on the owner function will result in 0x0000000000000000000000000000000000000000. I have no clue how to proceed.
I also posted this issue on the forums:
https://forum.openzeppelin.com/t/ownable-contract-owner-is-always-the-0-address

Hi @Chrissie,
I have answered in the forum:
https://forum.openzeppelin.com/t/ownable-contract-owner-is-always-the-0-address/1646/2
I suggest this issue can be closed and any further questions can be picked up in the forum.

Closing as solved specific issue in the forum.
Documentation could be improved to advise that we need to use @openzeppelin/contracts-ethereum-package with upgradeable contracts.


NewNetwork and CreateEndpoint to validate resource name

Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

LGTM.

@aboch rebase please

LGTM


Line thickness

Do you plan to adjust the line height? My UI uses thin lines and the default one is a bit too thick :)

add padding line
paddingLine: const EdgeInsets.symmetric(vertical: 1),


Ig manager integration with the workflow library

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Contributes to  #1729
Description
Integrate [IgManager] into [FhirOperator].
Highlights:

FhirOperator doesn't hold libraries in memory anymore.
Allow installing separate libraries into IgManager (will be added to the virtual "default ig")

Type
Choose one: Feature
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@ktarasenko The tests are failing running ./gradlew :workflow:compileDebugAndroidTestKotlin
e: /tmpfs/src/github/android-fhir/workflow/src/androidTest/java/com/google/android/fhir/workflow/FhirOperatorLibraryEvaluateTest.kt: (58, 56): No value passed for parameter 'igManager'
e: /tmpfs/src/github/android-fhir/workflow/src/androidTest/java/com/google/android/fhir/workflow/FhirOperatorLibraryEvaluateTest.kt: (104, 18): Unresolved reference: loadLibs


Flask Foundation with MongoDB?

I love the layout of this boilerplate, is there away to switch from SQL Alchemy to MongoDb?

I would recommend Flask-MongoEngine, which has a very similar syntax/style as SQLAlchemy and has optional type checking.


Blog on Basic SQL queries

Closes #21

Should add points related to how to reduce query cost.
Reference: https://docs.google.com/document/d/1kMgmqrj3PCBARVde6NkTUy_4TGbLemj9UIBPxC3kheE


Add LZMA support

This activates the lzma module of python, for python programs that need it (in my case, it was deluge.

The check may be failing due to Azure policy on repository forks:
References service endpoint. PRs from repository forks are not allowed to access secrets in the pipeline. For more information see https://go.microsoft.com/fwlink/?linkid=862029
TL;DR
For check to pass, either resubmit changes from a branch or enable fork access in Azure (there are security implications).

We have discussed and it is not a good idea to allow forks access to our secrets.  We will instead merge and monitor this package rather than change our security settings.

@pozsgaic thank you. Does that mean that contributors might unintentionally break a package?

@rsertelon Sure no problem.  This means that those checking in from forks rather than branches from inside chef-base-plans will cause a build check to fail on Azure.  We will for the time manually merge/build/promote affected packages.


dropdown menus on VM info page are mostly unusable because of page refresh

Description
When you want to select a new owner or group on a VM, from the info page, the select menu works as usual, the dropdown list is displayed. Then you scroll the list of your hundreds of users, looking for the right one, but you have 5s to do so, because the page refresh will reset the dropdown list.
To Reproduce

Have a log of users (but that's not mandatory)
Go to any VM
click on the owner, dropdown list is displayed
wait
see the dropdown list disappears when the page is refreshed

Expected behavior
Do not refresh info page
Details

sunstone 5.6.2

Additional context
It was working fine before 5.6.2.
Is there a way to disable auto refresh ? Because it also prevents us to read the log.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

In fact all the buttons are impacted (poweroff, migrate, recover etc)

Is there a way to disable auto refresh ? Because it also prevents us to read the log.

https://docs.opennebula.org/5.6/deployment/sunstone_setup/suns_views.html#autorefresh
Even if not possible to disable, setting to relatively high value should reduce the issue.

Thanks Anton, I've set the value to 50s and it's more usuable. Sorry I should have read the doc...
 I'm ok if you close it.

We have received many people with this problem, we have decided to reverse these commits.


Add error struct check for service

AOS-47 requires all error that returned by us should be struct value instead of a pointer, we can add this check in our code generator.
We can implement this feature by analyzing the code's AST.

Closed for not a big problem.


[Tuning][MI250] Gold17

Tuning for ticket SWDEV-391534
followup to #2112

closing in favor of #2152


docs: remove nuxt.config section in Installation

Linked Issue
related #188
Description
nuxi module add section has been added for Nuxt OG Image in #188  issue.
nuxt.config is automatically added by Nuxi, so I removed (2).

Hi @harlan-zw , I would be happy it if you could review it along with the following when you have time.
https://github.com/nuxt-modules/sitemap/pull/276


NODE_MODULE_VERSION 79. This version of Node.js requires NODE_MODULE_VERSION 75. Please try re-compiling or re-installing

Trying to use serialport and getting a mismatch on NODE_MODULE_VERSION
<EMAIL_ADDRESS>was compiled against a different Node.js version using
NODE_MODULE_VERSION 79. This version of Node.js requires
NODE_MODULE_VERSION 75. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
node version 13.2.0
npm version 6.13.1
<EMAIL_ADDRESS>node-gyp version v6.0.1
I have tried removing the node_modules dir and running npm i
running ./node-modules/.bin/electron-rebuild -o serialport -f
Went into the @serialport/bindings  folder under node_modules and did a node-gyp rebuild
I see that version 79 is node version 13.2.0 what I do not understand is where is this version 75 coming from?
I am stuck trying to write to a serial port..  Really thought node-serialport was going to do the trick, but.. now I am not so sure.

Fixed this by finally adding electron-builder to the scripts in package.json.
Tried electron-rebuilder bus was crashing.
I just told it to build serialport (-w or -o switches) it would pass but same error as before 79 vs 75...
"scripts": {
"start": "electron .",
"install": "electron-builder install-app-deps"
"devDependencies": {
"electron": "^7.1.2"
},
"dependencies": {
"electron-builder": "^21.2.0",


Add AclService method taking list of resources

This will facilitate the LI changes to allow HEAD access to blobs.
Note: I was undecided on how to name the enum class to distinguish between ALL/ANY on multiple resources, thought of Conjunction, Operator before settling on Resolution, but open to other suggestions.
One question I have: should I add an Operation value to distinguish HEAD from READ, or do the existing values essentially mirror what DataVault supports?

Codecov Report

Merging #984 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #984      +/-   ##
============================================
- Coverage     67.82%   67.81%   -0.01%
+ Complexity     4537     4536       -1
============================================
  Files           372      372
  Lines         29300    29303       +3
  Branches       3709     3709
============================================
  Hits          19873    19873
- Misses         8392     8396       +4
+ Partials       1035     1034       -1

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com.github.ambry/account/AclService.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../java/com.github.ambry.router/DeleteOperation.java
91.91% <0%> (-1.48%)
43% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
68.97% <0%> (-1.2%)
80% <0%> (-2%)

...ain/java/com.github.ambry.router/PutOperation.java
89.74% <0%> (-0.6%)
82% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
83.19% <0%> (+0.4%)
13% <0%> (ø)
:arrow_down:

...b.ambry.network/BlockingChannelConnectionPool.java
63.47% <0%> (+0.86%)
8% <0%> (+1%)
:arrow_up:

.../com.github.ambry.router/GetBlobInfoOperation.java
81.65% <0%> (+1.18%)
35% <0%> (+1%)
:arrow_up:

.../src/main/java/com.github.ambry.store/Journal.java
91.52% <0%> (+1.69%)
21% <0%> (+1%)
:arrow_up:

....github.ambry.clustermap/StaticClusterManager.java
76.92% <0%> (+1.8%)
81% <0%> (+1%)
:arrow_up:

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 8bdf479...15cbf1a. Read the comment docs.


MudTable: Fix the shifting of striped rows when loading

Based on the work by @aldakloran; The original PR #4628 appears to have gone stale.

brought up to speed with current dev
added unit test
minor perf improvements

Description
Fixes #3103
How Has This Been Tested?
visually + unit
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

If this will be considered to be merged, please add the https://github.com/MudBlazor/MudBlazor/pull/4628 PR author as co-author.

Thanks @aldakloran and @BieleckiLtd


feat: discover dynamically linked backends at runtime

This PR converts the backends to shared libraries that are dynamically linked and discovered at runtime, rather than at compile time.  This will make it easier to distribute (won't require that gurobi is present to use scip for example)
summary of changes:

moves to src layout (makes it harder to "accidentally" import the ilpy directory in the root folder during development without having installed and built the package)
support gurobi 11.0.3 specifically (looks like gurobi ≥12 no longer actually ships a dll on conda forge, but rather embeds it into gurobipy directly.  that's an issue for us)
lots of changes to SolverFactory.cpp, which now does all the work of dynamically loading a backend wrapper, and calling it's createSolverBackend function
in order to make it a bit easier to relocate, I also have createSolverBackend require a directory in which the dlls should be found, so that that can be more easily done on the python side at runtime.  might be a better way to do this ...

@AnniekStok Do you have any windows users in the lab? Yes, right?

After chatting with Jan yesterday, we've got a dramatically new possible strategy, which is to statically link scip, and use gurobipy (instead of our c code here).  That's a significant rewrite, but would make it much easier to distribute (and build).
So, windows users have no fear :)

We are mostly MacOS users, but the shared workstations and virtual desktop system are (mostly) running on Windows. So we would be very happy with Windows support if possible :)


Thank you so much

I was pulling my hair out while attempting to get the original wotel to transfer one trace from a publish to a consume, thank god I found this

Nice to hear that you found it useful!


Add Field version of Erf class

As straightforward as the title, it would be interesting to add the Field version of Erf.
I'll try to work on it ASAP.

Hi Vincent,
given how Hipparchus works, one needs to know the derivatives of erf evaluated at the constant term and use the univariate composition.
To achieve the former, the easiest solution (both in terms of brain power and lines of code) is to use the method integrate on the exponential term related to erf and set the constant with the double version. A better option performance-wise is to work out the actual recursive relationship satisfied by the derivatives (which can then be validated by the first approach). Some quick calculations by hand gave me the following formula:
f^(k+2) + 2 * (x * f^(k+1) + k* f^(k)) = 0 for k>=0
with  f^(1) = (2/sqrt(pi)) * exp(-x * x) and f^(0)=erf(x)
Cheers,
Romain.

Closing this issue as merge request #219 was merged.


Database#getLineComment mustn't throw an exception

this was a last-minute change before merging PR #25 and we didn't spot this: all tests are failing due to this as this is being called by the constructor of ChangeLogParameters.
instead of returning something artifical (like //) which doesn't apply here we'll just return an empty string. this is needed until liquibase adds first-class support for NoSQL DBs and removes any SQL-specific features (requires liquibase/liquibase#4236).

note: the integration tests were not executed, thus we didn't spot this. reported this in #48


Make rkt-install a oneshot.

This will make our dependencies wait for us before they execute.
/cc @yifan-gu @dchen1107 @jonboulle @yujuhong

LGTM

LGTM

LGTM. Merging.


Temporarily disable "Keyboard Manager"

Description of the new feature / enhancement
I have CAPS lock mapped to Windows key, but sometimes the remapped doesn't trigger and CAPS lock gets engaged, and now all the letters are showing on screen as uppercase as CAPS lock is engaged.  The only way to come back to lowercase state is to come back to PowerToys Settings, disable the Keyboard Manager so I can press CAPS lock to come back to lowercase state.
It would be nice to have a keyboard shortcut key that will disable the Keyboard Manager temporarily so that I don't have to go through the hassle of opening up PowerToys Settings, navigate to Keyboard Manager, and disable the feature temporarily.  This series of steps does not align with what PowerToys are made for - to enhance the productivity of day to day work.
Scenario when this would be used?
Keyboard Manager used to map CAPS lock mapped to Windows key.  I do have a weird keyboard that does not have Windows key on the left hand side so this is my workaround of pressing Windows key with my left hand.
Supporting information
n/a

Thanks for your suggestion! This issue is a duplicate.
I'm linking this issue to #4879 to centralize the discussion thread, please go to that thread for discussion.
Thanks for your help to make PowerToys a better piece of software!

Duplicate of #4879


[unittest] Fixed precision comparison test.

Some tests were using== operator instead of isApprox

Thanks for the fix.


Add GPS function for setting beacon position.

This PR adds the function to use GPS instead of setting beacon.position as beacon's local position.
In this version, smart beaconing is not supported.
So, this is not suitable for mobile stations.
I've tested on only T-Beam V1.0 because of the environment limitation.

thanks for the next PR! I will check it in a couple of hours when i have time!


non-breaking space

Debian 11, with bspwm.
How can insert non-breaking space?

I believe that is a unicode character... yes its ctrl+ U00A0 and you may have to configure your terminal to support utf-8.
if this is a common issue or often unsupported in terminals I don't mind trying to work on a feature.
just checking out the source as I have been looking for something to contribute to.

Then I solved it in the Debian configuration itself: setxkbmap -option "nbsp:level2"


Formatting of map after struct

There is no empty line inserted when a map is serialized after a struct. This behaviour is inconsistent to the formatting of other table-like structures, i.e. structs and arrays. It's not a big deal as it does not violate the TOML specification, but it may impede readability.
Minimal Example:
extern crate serde;
#[macro_use] extern crate serde_derive;
extern crate toml;

use std::collections::HashMap;

#[derive(Serialize, Deserialize)]
struct Foo {
    bar: Bar,
    baz: HashMap<String, Bar>,
}

#[derive(Serialize, Deserialize)]
struct Bar {
    foo: u32
}

fn main() {
    let mut baz = HashMap::new();
    baz.insert("a".into(), Bar { foo: 0 });

    let foo = Foo {
        bar: Bar {
            foo: 42,
        },
        baz: baz,
    };

    println!("{}", toml::to_string_pretty(&foo).unwrap());
}

Actual Output:
[bar]
foo = 42
[baz.a]
foo = 0

Expected Output:
[bar]
foo = 42

[baz.a]
foo = 0

Swapping the bar and baz members of Foo produces an expected result.

Maintenance of this crate has moved to the https://github.com/toml-rs/toml repo.  As a heads up, we plan to move toml to be on top of toml_edit, see https://github.com/toml-rs/toml/issues/340.
Closing this out.  If this is still a problem, feel free to recreate this issue in the new repo.


Wrapped Maps WIP

Maps can be wrapped around by setting the EdgeView property to Wrap.  This feature is a literal edge case that affects everything that deals with positioning.  Currently, the following aspects have been accounted for:

Dungeon and Ground mode successfully draw out-of-bounds to be the other side of the map.
Dungeon and Ground Mode player can travel through the map border to the other side.
FOV is consistent through switchover.
Autotile is consistent through switchover.
All dungeon actions move the player properly past the border in logic and visual.

The following elements need to be refactored or checked before the feature is considered complete:

Attack targetting inconsistent, causes errors
Item landing inconsistent
Dungeon AI explodes on any setting other than standing still
Ground AI probably can't handle it either
Ground collisions must account for parallel universes
Proximity Passives need to be checked
BeforeExplosionEvents need to be checked for proximity
Check all references to Loc.Diff8, Collision.InBounds, Collision.Collides for wrapping issues.

All references to the following needed to be checked for wrapping issues:
Map.Tiles
Loc.Diff8
Collision.InBounds: mapgen left
Collision.Collides: mapgen left
DirExt.GetDir