update app installed from custom bucket will always fallback to main bucket.

Installed an app from a 3rd-party bucket, when I updating it, it will always fallback to the main bucket  if there is a same name app manifest in the main bucket.
How to reproduce? e.g. install miniconda3 from my bucket:
$ scoop bucket add dorado https://github.com/h404bi/dorado
$ cd ~/scoop/bucket/dorado
# checkout old commit to install old version of miniconda3 from my bucket
$ git checkout 729b61
# version 4.3.30
$ scoop install dorado/miniconda3
# update bucket
$ scoop update
# now update miniconda3 to <IP_ADDRESS>
$ scoop update miniconda3

And it will update miniconda3 using the manifest in the main bucket, instead of using the custom bucket one, though we install it with scoop install dorado/miniconda3.

Should be fixed now with https://github.com/lukesampson/scoop/commit/9e124dae23bffa775262d9c12faeed2f03d22e36


golang problem

i use kali linux sanna but i can't run the script because i don't have golang on my system and i don't know which repository i must use  to install it ?

use "apt-get install golang"

I think this is because of your old kali version, try "apt-get install go" if you still can't download the repo you can install golang here manualy https://golang.org/dl/


bug: Clicking popup can click txtarea behind it if busy

Type: bug
Platform: ios 7 webview
In https://github.com/driftyco/ionic/issues/2204 adamdbradley fixed a bug in which if you click an $ionicActionSheet, it clicks any textarea behind where you clicked. It was supposed to fix the same thing for $ionicPopup - however, if the $ionicPopup promise handler makes the system busy for a few milliseconds (such as when calling Angular's $http service), the problem happens again. In the sample code that follows, I simulate "making the system busy" by doing a tight loop for 90 ms.
To repro:

Create a blank Ionic starter project.

In index.html, make the body the following:

Hello World

Click this to show a popup.
This pink area is a textarea that covers the screen.

Run the app in the emulator or on an iPhone. You may need to adjust the 90ms busy time higher or lower, but 90ms works for me on both the emulator and iPhone 4S running IOS 7.

Click the link to show a popup.

Click OK.

// Expected: The keyboard does not appear.
// Actual: The keyboard appears, and the textarea does not have focus.
Interestingly, the issue does not happen with $ionicActionSheet - just with $ionicPopup.
The same code for $ionicActionSheet, for which the problem does NOT happen:
<ion-pane>
  <ion-header-bar class="bar-stable">

Hello World

  </ion-header-bar>
  <ion-content>

Click this to show an action sheet.

    <textarea style="height: 1000px; background-color: pink">This pink area is a textarea that covers the screen.</textarea>
  </ion-content>
  <ion-footer-bar></ion-footer-bar>
</ion-pane>

Greetings, @JonathanAquino!
My sensors indicate that this issue has been inactive for a while.
Due to this, the issue will be closed in 7 days.
If you believe the issue has not been fixed, please add a comment.
This will notify us so we can assist you, and will prevent the issue from being automatically closed.
Feel free to include the following information about the issue, so that we may assist you:

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
What platform does this happen on? (iOS, Android, all, etc.)
What platform versions does this happen on? (Android 4.2, iOS 7, all, etc.)
Is this an issue with the Ionic Framework, or Ionic CLI?

Thank you for allowing me to assist you.

Just tried this with beta 14, seems to no longer be an issue.
Closing for now. Feel free to reopen if this is still an issue for you.


Pages flashes an error briefly after save+exit config

This happens when saving to exit config within pages for about 2 seconds. Doesn't matter if no change is made.
"Error response from daemon: Container ac6114a6c4186ae83af9ecb6da24092451cd0fa3675a792737e743f4b4d5ab74 is not running"

answer is to pause health checks while the container is being bounced.

Looks like the approach here is to not commit the results of the health check if the container has exited for a "good reason". Good reasons defined by stop control action, or when a container is sent a signal.

@BitcoinMechanic can you test this on the branch bugfix/invalid-health-check-results. It seems to be fixed now but I never repro'ed the issue before.

Working for me now.


python wheels improvements

          I suggest we move forward and even if it's not perfect, the wheels are properly generated.

Here is the dispatch workflow run: https://github.com/Meakk/f3d-superbuild/actions/runs/5753444662
We still have many things to do for Python anyway before the release (rework bindings, monkey patching and pytest).
I tested the wheels 3.11 Linux and 3.9 Windows successfully.
I identified these remaining things to do in a (more or less) near future:

[x] Enable sscache and run the worflow automatically (@mwestphal? ^^)
[ ] Avoid symlink/soversion duplication of zlib (and future shared deps) to reduce Linux/macOS wheel size
[ ] Enable TBB (now that shared libs copy is working, it should work out of the box)
[ ] Enable raytracing? Probably challenging because of dynamic loading
[x] Add tests of wheels with pytest (can be run automatically by ciwheelbuild after each wheel generation)
[ ] Add more platforms (priority on ARM), cross-compiling is supported by ciwheelbuild
[x] Add a release workflow for automatic upload to PyPI

Originally posted by @Meakk in https://github.com/f3d-app/f3d-superbuild/issues/76#issuecomment-1665184196

upload on pypi is functionnal now


Generate markdown document of data model using mermaid diagrams

Describe the feature
It would be very useful to be able to generate a markdown document of the GORM data model using mermaid entity relationship diagrams.

Related Issues

REF: https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram

Example output:
erDiagram

User ||--|| Account : has-one
User ||--o{ Pet : has-many
User ||--o{ Toy : has-many-polymorphic
User |o..o| Company : belongs-to
User }o..o{ Language : speaks
User ||--o{ User : team
User ||--o| User : manager
User }o--o| User : friends

Pet ||--|| Toy : has-one-polymorphic

User {
    string Name
    uint Age
    time Birthday
    int CompanyID
    uint ManagerID
    bool Active
}

Account {
    NullInt64 UserID
    string Number
}

Pet {
    uint UserID
    string Name
}

Toy {
    string Name
    string OwnerID
    string OwnerType
}

Company {
    int ID
    string Name
}

Language {
    string Code
    string Name
}

NOTE: Also maybe "vote" for this feature: https://github.community/t/feature-request-support-mermaid-markdown-graph-diagrams-in-md-files/1922
Here is what it looks like in GitLab: https://gitlab.com/-/snippets/2099793

It would be helpful if there is a gorm plugin to do the job, which could be hosted under github.com/go-gorm, but I think it should not part of gorm itself.


[spdlog] Fix package issues

Fixed typo: SPDLOG_COMPILE_LIB -> SPDLOG_COMPILED_LIB.
Added SPDLOG_NO_EXCEPTIONS define for noexcept option.
Added wchar option.

TODO:

Determine if the option header_only can be set to default to false. This seems unlikely at this point.
Determine if the option fmt_external can have fmt's header_only = true be moved to a separate option fmt_external_ho to follow spdlog's cmake.

I need input on the TODO above before this pr can be marked as ready. Alternatively such changes can be relegated to a separate discussion/pr.

Is it ready to be merged? I see it is still in draft status.

I still haven't had a response to my two TODO questions above.

Determine if the option can be set to default to false. This seems unlikely at this point.header_only

We can't modify it, it will break the package the user is using now. Also, xmake-repo has its own independent configuration specification and option status, and is not guaranteed to be consistent with cmake's original options.

Determine if the option can have fmt's be moved to a separate option to follow spdlog's cmake.fmt_externalheader_only = truefmt_external_ho

I don't understand what this is to solve

I don't understand what this is to solve
At the moment it is adding fmt as a dependency with header_only turned on but it is passing the non-header-only cmake option SPDLOG_FMT_EXTERNAL to ON rather than SPDLOG_FMT_EXTERNAL_HO

I don't understand what this is to solve

At the moment it is adding fmt as a dependency with header_only turned on but it is passing the non-header-only cmake option SPDLOG_FMT_EXTERNAL to ON rather than SPDLOG_FMT_EXTERNAL_HO

You can fix it and add fmt_external_ho.


Generate a tests/samples folder

Hi, code lovers :heart: !
I have a challenge for you: I want to generate a tests or a samples folder, to enforce DiddiParser and its functions. We want your ideas to create one of this folders. You decide which one!
NOTE: Before to proposing a tests/sample file, please read the contributing guidelines.
We are waiting for your suggestions!

I made it on #28. This issue can be closed now.


[Security] Workflow master.yml is using vulnerable action pre-commit/action

The workflow master.yml is referencing action pre-commit/action using references v2.0.0. However this reference is missing the commit 80db042ff08cdddbbbfb6f89c06a6bfc4dddf0b7 which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

thanks for letting me know ill update the template


Suggestion: If possible, add a waypoint inside the game.

Currently the program doesn't modify the game in any way which is fine, but if you could find a way to create a waypoint in game and have the program just do that instead of (or in addition to) the youtube videos, that would be a great spoiler-free way to gather collectibles. Even better if you just had a hotkey for 'find nearest collectible' (especially when combined with the 'currently obtainable' filter which was my other suggestion) and it'd just waypoint you to the nearest obtainable collectible or play some kind of sound if you have all currently obtainable collectibles.

This is actually my eventual plan! Unfortunately, it requires more modding knowledge than I currently have, so it will be a while yet before I can implement it


October 1 News iteam

I made a new October 1st news item.

Minor suggestion: for internal links, using relative URLs  (<a href="/about/"...) can make testing easier. Not sure if target="_blank" is necessary for an internal URL in this case, but either way it's not a big deal.

@StevenCannon-USDA
Thank you for the alternative candidate. My short news post was a very rough draft.  Please review again.


[Deps] Update to Clang-16

Manual invocation of the grpc/core/master/linux/grpc_portability job on this PR seems to succeed: https://fusion2.corp.google.com/invocations/c4fec396-5477-434f-9ae9-896f445f10eb/log


Primitives example view/model separation

This change does the following:

Exposes a public interface on the DdsCollection data object to be used by a separate view
Modifies the view to take that object and use its public interface
Removes usage of IFluidHTMLView from the model
Uses the example-utils ContainerViewRuntimeFactory to combine the now-separate view and model
Minor renames and cleanup (further improvements are certainly possible but the purpose/scope of this change is view/model separation).

would love to see converstion to function based react components, but another time another place

Agree, I punted on that for expediency for this PR :)


Rc fixes

@tzarebczan The decimal fix is in https://github.com/lbryio/lbry-redux/pull/100

Moved to time estimates based on block heights in https://github.com/lbryio/lbry-redux/pull/101/commits


[Event Hubs Client] Minor Improvements

Summary
The focus of these changes is to make several minor improvements, which are largely unrelated to one another.  These include:

Documentation for the expected delay when stopping an Event Processor
Better documentation for client lifetimes and cacheability
Additional test scenarios for the Idempotent Producer
Fixing a CODEOWNERS typo

Last Upstream Rebase
Friday, October 3, 2:43pm (EDT)

//cc: @stewartadam, @chrisjbarr

From our discussions this week -- for the expected delay docs, the new remarks look great and add clarity. Thank you!


Fixed publish release to be on main branch instead

See here for more info: https://github.com/MetaMask/api-specs/pull/224/files#r1583576395

@Gudahtt addressed your comments in the last 2 commits


Trying to improve the TransitioningContentControl/RoutedViewHost

Hi, I'm trying to improve the TransitioningContentControl so that it supports custom transitions that you can just bind to as currently they're all hard coded and you've got to edit the template to change them and you can only edit what is there.
I got told about this existing issue https://github.com/reactiveui/ReactiveUI/issues/930#issuecomment-138987052 with performance, so I thought I'd try and solve that too. I reworked the example from that issue into modern ReactiveUI and it performs better today than it did then. But I think the performance issue with it today is that activating WPF bindings are based on whether the view is visible. So if you add a transition into the mix then as soon as the control displays the view, the bindings are activated and you get an interrupted transition because of the loading. On simple views it's not noticeable, but on complex views such as one with 100 mini views with bindings, it is.
I think the solution to this would be to manually activate the view just before we set the content on the TransitioningContentControl. I've attempted implementing this myself but I'm struggling with how to do it properly since activating the parent view doesn't activate any views contained within it. And if a view is manually activatible it still needs the default activation that is currently present.
I've got a branch with what I've messed around with so far commented out and the RoutedViewHost is using the "ImprovedTransitioningContentControl" just so I can test it properly before moving that into the current class. https://github.com/Jasonfran/ReactiveUI/tree/Improving_the_TransitioningContentControl

Now that v10 of RxUI is out I've got time to revisit this. Will look at this in the next day or so.


SystemUiOverlayStyle#systemNavigationBarDividerColor doesn't work.

Steps to Reproduce

Set the systemNavigationBarDividerColor using SystemChrome.setSystemUIOverlayStyle.
Run the app on an Android device running Android P or above.
The navigation bar divider colour is not set.

Here's an example project: nav_bar_bug.zip
Logs

No issues found! (ran in 1.8s)

[✓] Flutter (Channel dev, v1.1.9, on Mac OS X 10.14.2 18C54, locale en-CA)
    • Flutter version 1.1.9 at /Users/Colin/flutter
    • Framework revision 1407091bfb (4 days ago), 2019-01-08 20:40:19 -0800
    • Engine revision e5ec3cf3ea
    • Dart version 2.1.1 (build 2.1.1-dev.0.1 2cb346bd0c)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/Colin/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/Colin/Library/Android/sdk
    • Java binary at: /Applications/Android Studio 3.3 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio 3.3 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Community Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.4886.3

[!] VS Code (version 1.30.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Pixel 3 • 8BDX18F5Y • android-arm64 • Android 9 (API 28)

! Doctor found issues in 3 categories

Hi @colinrtwhite
testing the code you provided with the latest master
code
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    initSystemUIOverlayStyle();

    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }

  static void initSystemUIOverlayStyle() async {
    if (!Platform.isAndroid) {
      return;
    }

    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark.copyWith(
      systemNavigationBarColor: Colors.white,
      systemNavigationBarIconBrightness: Brightness.dark,
      systemNavigationBarDividerColor: Colors.black
    ));
  }
}

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

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

screenshots
@ launch

after minimising and back

doctor
[✓] Flutter (Channel master, 1.21.0-6.0.pre.90, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.21.0-6.0.pre.90 at /Users/nevercode/development/flutter_master
    • Framework revision 531ee9452a (2 hours ago), 2020-07-29 02:26:03 -0400
    • Engine revision 1ba310017c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (4 available)
    • Pixel 3a (mobile) • 965AY0WP5C • android-arm64  • Android 10 (API 29)
    • macOS (desktop)   • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

it seems to apply the seeings only after minimising and restoring the app
Thank you

@colinrtwhite Looks like it is possible to make the navigation bar color change work. This is an example: https://github.com/jacek-marchwicki/flutter-insets-bug2/commit/74e17edc48c4045e29cfee6524e4f86f979be9f0.
There is a small issue: https://github.com/flutter/flutter/issues/66429 but if you don't need to change the color while content scrolls it shouldn't be a problem for you.

Hi, @zoechi I think you misunderstood the OP. The OP wants to say that using systemNavigationBarDividerColor: Colors.black doesn't do anything. And I have also faced the same issue.
Everything else in SystemUiOverlayStyle worked fine except systemNavigationBarDividerColor: . I'm pasting below the code I used.
AnnotatedRegion<SystemUiOverlayStyle>(
      value: SystemUiOverlayStyle(
        systemNavigationBarDividerColor: Colors
            .black,
        systemNavigationBarColor: Colors.white,
        statusBarColor: Colors.white,
        systemNavigationBarIconBrightness: Brightness.dark,
        statusBarIconBrightness: Brightness.dark,
      ),

This is how it looks in my app on a device running Android R/11.

As you can see that there is no divider between systemNavigationBar and bottomNavigationBar.
Please let me know if I'm missing or misunderstanding anything here. Thank you.

@TahaTesser I think this issue has been fixed in flutter stable 2.0.1
As expected the  systemNavigationBarDividerColor is visible now :-


Issue with Get Record ID and Rollup Function

Expected behavior and actual behavior.
Getting Error for Rollup Function when we are getting the PARENT_GUID from Get Record ID step
Steps to reproduce the problem (screenshots are really usefull)
First use GetRecordID as a First Step
In the next step use Rollup Function and Pass the RecordID from First Step as a parameter
CRM Version - online/onpremise - WorkflowTools version
CRM Online d365 9.1
ErrorDetails (1).txt

Hi,
first of all, check if you are replacing correctly the Parent_GUID with the ID you retrieved in previous step.
Second, check if the first attribute of the FetchXML is a number, this is the number I use for calculations, and must to be a number.
Third, I uploading a new fix in this action, so please try with the new one if this works.
Thanks!


3.1 Linux - Arch Linux

Openocd is a AUR-Package so it can't be installed directly with pacman, but one needs to use ones favorite aur-manger or install it by "hand" with the aur package.

I added this in the description in the following pull request: #151.


⚠ Samsung has degraded performance

In d172ad7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2678 ms

Resolved: Samsung performance has improved in 55b181f.


Issue #1734: Add realm name in Desktop Notifications and Emails

[x] Desktop Notifications
[x] Emails
[ ] Testing

I need help in testing digest emails. Although I think my code is fine, but at the same time the things that you know for sure won't go wrong, usually go wrong. :p
Issue: #1734

Automated message from Dropbox CLA bot
@cosmicAsymmetry, it looks like you've already signed the Dropbox CLA. Thanks!

I'm done! I've tested the "while you were away" emails and Desktop notifications. I haven't figured out a way to test digests tough. If I've missed out a type of notification let me know. 😄

@rishig can you review this one?

@cosmicAsymmetry please remove WIP from the title if applicable.

Please fix the commit messages, too.

Thanks for working on this @cosmicAsymmetry! I think some of the challenge in this task is getting the wording right, so that it sounds clean/professional/good. For instance, "A lot has happened on {{realm_name}}, Zulip .." is not grammatically correct. Maybe post on the GCI channels to get feedback/more ideas about how to more naturally include the realm name in the emails?

I manually tested a couple cases, example email for missed private messages:
Subject: Missed Zulips in Zulip Dev from Zoe
I'm not sure what triggers the digest message, apparently I've never been away long enough to get one myself. Folks on chat seem happy with the wording anyway.
Please have a look at the commit messages tho. All I see is the summary, it isn't a complete sentence, and there isn't a reference to the issue you are fixing. At minimum, there should be "Fixes #1734" as the last line. I see it in this PR, but unfortunately that doesn't update commit messages. That's where it will be important to have information for folks looking at this in the future. (Here's a page with some examples: http://zulip.readthedocs.io/en/latest/version-control.html#commit-messages)
Overall looks awesome, thanks!

Hey @feorlen, I've addressed the requested changes. 😄

@cosmicAsymmetry, the 'Fixes #1734' should be in the description of the commit. I think you should also wrap the commit description lines at 72-80 characters.

Doing it ASAP!

@cosmicAsymmetry, lgtm. You will have to wait for a final review.

Thanks @cosmicAsymmetry for working on this! A few comments:

You have "Fixes X" in both the commit messages.
Could you remove the list of modified files from the commit message?

This looks like a great solution for the emails, and I think we can merge the email change with the fixed commit message, and close this PR.
For the notification problem, it might be worth having this discussion in #frontend or in another issue thread, but with the current solution, in nearly all notifications, the "in realm_name" part will be cut off to the right of the notification in firefox. What sort of styling is available for notifications? Can we do different colors for different realms? Put the realm name in small font between the title and the message body?
Also, putting the realm name into the notif is sort of expensive (in terms of real estate), so I think we'll only want to put the realm name for the notification for people logged in to more than one realm.

Hey @rishig, I'll start a discussion on #frontend and I love the idea for different colored notifications. 😄 I'm currently a bit swamped with school work, perhaps I'll touch base with the rest of the team on #frontend about this in a few days.

Hi @cosmicAsymmetry - how's this going? :)

@cosmicAsymmetry ping :)

So we should have merged the email piece a while ago.  I made an attempt to do so just now, and I have a few concerns.  The relevant string templates currently are the following; I post some example plausible organization names as examples to help guide thought on how these read:
"Missed Zulip%s in %s from %s", in the subject of missed-message emails, e.g.:

"Missed Zulip in Acme Corporation from Joe Smith"
"Missed Zulips in Zulip Development Community from Joe Smith"
"Missed Zulip in Dropbox from Jane Smith"

"[Zulip] While you've been away from {{realm_name}}" in the subject of digest emails, e.g.:

[Zulip] While you've been away from Acme Corporation
[Zulip] While you've been away from Zulip Development Community
[Zulip] While you've been away from Dropbox

"A lot has happened on the {{ realm_name }} Zulip while you've been away!", in the body of digest emails, e.g.:

A lot has happened on the Acme Corporation Zulip while you've been away!
A lot has happened on the Zulip Development Community Zulip while you've been away!
A lot has happened on the Dropbox Zulip while you've been away!

I definitely feel like the text could be improved, but I'm not sure what it should be that wouldn't be awkward in one of these cases.  Suggestions?

The sender will be Zulip, so we don't necessarily need to have [Zulip] in the subject line (I may have been the one to originally suggest it, in which case oops).
Other products, for inspiration:
Quora:
Sender: Quora
Subject: Jane Smith sent you a message on Quora
Sender: Quora Weekly Digest
Subject: Why does the Palo Alto city council oppose a high-speed rail station?
Paper:
Sender: Dropbox Paper
Subject: Updates to "Analytics Documentation"
Subject: 1 update to "Analytics Documentation"
Subject: Jane, here's your weekly digest
Sender: John Smith
Subject: John commented on "Analytics Documentation"

@rishig Was just thinking about Quora here 😄 . "Digest" makes it crystal clear and creates a definite difference between "missed messages" and "what you've missed when you were away".

I agree with the use of "Digest"; we still don't have a concrete proposal that puts the organization name into the titles for these, right?

Closing this. I think the notifications will need some thought, and #4553 handles the missed message emails.
This PR also includes changes to the digest emails, and hopefully will be a good reference for whoever picks up #1734.
Thanks @cosmicAsymmetry for your work on this!


Fix Doctrine PropertiesExtensions

Property may be writable if it mapped by doctrine

Please write a test so that we can see what problem does this solve. You can get inspired by tests in https://github.com/phpstan/phpstan-doctrine/tree/1.3.x/tests/Rules/Properties
(You might have to write a new test for UnusedPrivatePropertyRule, I'm not sure.)

Feel free to open a new PR if you ever decide to finish it, thanks.


Multi select: cursor over button should be same as for other buttons

E.g. compare with this cursor:

The cursor over the multi select widget seems to be the pointer and not hand cursor.

@chrmarti: We now have the hand cursor everywhere in the multi-select except over the checkboxes. (It's actually the same behavior on the welcome page.)  The cursor over the checkbox is consistent with what the OS does and also for example what you

[ ] here on the left

but it feels awkward since a checkbox is something I interact with just like the rows themselves.

Indeed, at least on Mac the pointer cursor is used very sparingly.


Seed blocks from 370000 to 380000 are not used

const int MAX_SEED_BLOCK = 369999; in seedblocks.cpp causes seed blocks 370000 to 380000 to be ignored and every block in the range to be checked.
A verification should be performed that the seed blocks are accurate for this range.

 :) Happy new year!
Thanks for pinning this one down!

 :) Happy new year!
Thanks for pinning this one down!

 :) Happy new year!

 :) Happy new year!

Hehe thanks bud, yeah it was great to spend New Year with the family - a little too much to drink haha but that's half the fun :)  Happy New Year to you too mate, and hope you enjoyed yourself too :)


Error The operation couldn’t be completed. (NIO.NIOConnectionError error 1.)

If I try to create a connection as shown in the doku  I get the above error:
var request = try HTTPClient.Request(url: "https://swift.org", method: .GET)

//request.headers.add(name: "Authorization: \(authorizationHeader.description)" , value: "")
//print (request.headers.description)
httpClient.execute(request: request).whenComplete { result in
    switch result {
    case .failure(let error):
        print (error.localizedDescription)
    case .success(let response):
        if response.status == .ok {
            print (response.status)
        } else {
            print ("error in response")
        }
    }
}

Arnold

CC @artemredkin

Hi, here what's happening. When you call execute method you get a EventLoopFuture of the response. Then, you add a callback to this future that will be executed at some point in time, but then your program continues to run and de-allocates the client and that in turn forces http client to close all connection, that in turn leads to your request being failed before it manages to succeed (side note: instead of printing .localizedDescription, try printing an error itself, then you will get much better error description). To fix that you need to guarantee that client will be alive until http request has time to complete. One simple way to do it is to call .wait() on the future you get from .execute, but that is only good for testing/demo purposes, as it will block the thread its called on. Usually, http client is created for the duration of an application life and until this application is alive, requests will be executed and your callback will be called.
@weissi do you think this should be clarified in the readme?

Thanks, now its clear. But I want to use it in a server side cron job, so its a command line prog.Therefore I have to work in an synchronous mannier( sequential). Ok then I try it to call with wait(). Perhaps you can tell me please (I see you know very well the library) how I can create a header for my digest authentication like ("Authorization: Digest bla..bla"). I didn't found the possibility to create a simple header without name and value....
Thank you for you immediate response.

Sure, to add a header named Authorization with value Digest: xxx you can do the following:
var request = try HTTPClient.Request(url: "https://swift.org", method: .GET)
request.headers.add(name: "Authorization", value: "Digest xxx")

@artemredkin yeah, I think clarifying this would be a great idea

I will try it. I used your form in my previous attempts, but there I had problems with the error describe above, but it should be resolve now. Now I can retry my authentication steps. I use as described in the doku a delegate to create my authorizationheader in the didreceivehead function of my delegate. But then I have to send it back to server server. I will try also your propose of the header but in the dokus of Digest Authentication the response of the client shoud be in the form:
Authorization: Digest username="Mufasa",
<EMAIL_ADDRESS>                     nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
                     uri="/dir/index.html",
                     qop=auth,
                     nc=00000001,
                     cnonce="0a4f113b",
                     response="6629fae49393a05397450978507c4ef1",
                     opaque="5ccc069c403ebaf9f0171e9517f40e41"

If I am able to create a digest authentication against the remote server using async-http-client I will give you surely a feedback.
Thank you for your hints and tipps.


Avoid variable name min length rule violation by SwiftLint

I replaced type with value. Thank you for pointing it out.
This PR is related to https://github.com/onevcat/Kingfisher/pull/312.

👍
Thanks!


Static provisioning example errors: /bin/sh: line 0: echo: write error: Input/output error

/kind bug

NOTE:  If this is a filesystem related bug, please take a look at the Mountpoint repo to submit a bug report

What happened?
s3-app logs /bin/sh: line 0: echo: write error: Input/output error
I am able to see the files already in the s3 bucket in the /data path. But I cannot write.
What you expected to happen?
Read and write should work
How to reproduce it (as minimally and precisely as possible)?
EKS Cluster, Create the necessary IAM policy, role and add the Addon. Apply the example static provisioning example
Anything else we need to know?:
nodes are arm64
mount command shows this entry correctly
mountpoint-s3 on /data type fuse (rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions)
No errors in the driver pod.
Environment

Kubernetes version (use kubectl version): 1.31
Driver version: v1.9.0-eksbuild.1

Hi, thanks for creating this issue.
Can you say what IAM permissions you assigned to the policy?
If you've only given read access, I wouldn't be surprised if this is what happens.
Otherwise, can you include the mountpoint logs using this runbook: https://github.com/awslabs/mountpoint-s3-csi-driver/blob/main/docs/LOGGING.md#mountpoint-logs

Thanks. That was clear. What happened what I gave the specific role to the csi driver addon which has write and read to the specific bucket. I was under the impression, that was only needed. Once I added the same policy to the node, it works perfectly, tks.

You should be able to give permissions to the role of the CSI Driver addon - could you send logs using the runbook previously linked?

Thanks. That was clear. What happened what I gave the specific role to the csi driver addon which has write and read to the specific bucket. I was under the impression, that was only needed. Once I added the same policy to the node, it works perfectly, tks.

I'm wondering if the underlying node already had a policy attached which granted read access, and then you are adding the new policy with read&write afterwards which gets picked up. If Mountpoint is unable to find the IAM credentials associated with the driver's service account, it'll currently attempt to use the credentials vended by IMDS.
This makes me think it could be a misconfiguration of the IAM Role, specifically the trust policy. Can you double check how you configured it? Please do share here (redacted if necessary).
Reviewing Mountpoint logs would still be a good next step. In particular, if you could run with --debug-crt flag (so the spec for the volume should include - debug-crt under mountOptions list. This should tell us what the credentials provider is doing.


[Feature]-[536]:Chart widget needs a selectedDataPoint property

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Expose a new binding property called selectedDataPoint which contains information about the data point user clicked on. This will help in customising UI. The information to be exposed is available by fusion charts - https://www.fusioncharts.com/fusiontime/examples/data-plot-click-mouse-event
Why should this be worked on?

When I select a data point on the chart widget, I want to use the information of the selected data point so that I can drill down on the selected item and customise the UI.
Example -
When  I select no. of failed transactions in a month, I want to see a table with with all the logs of the failed transactions in a table so that I can drill down on each transaction.

Stats

Stat
Values

Reach
134

Effort (months)
0.5

@techbhavin here we need a way to add the selected series from a chart widget into the selected data point.

@techbhavin apologies i think this works, let me move it back to my plate to check

Apologies, this feature is already there. Closing it.


Restore timestamps from older chats.

Can addResponseMessage and addUserMessage be extended to pass in an optional timestamp Date.
I would like to continue a previous chat.  I can load the history from the database and use those two methods, but all messages will have the current time stamp due to:
    timestamp: new Date(),

There is a PR for this https://github.com/Wolox/react-chat-widget/pull/275
@mcallegari10 request you to merge as it is a requirement from lot of us

@bnjr  Thanks, I missed that branch.  I agree, a merge would be helpful for many.


Switch rexi_sup restart strategy to rest_for_one

Previously, as described in issue #1571, rexi_server_sup supervisor could die
and restart. After it restarts rexi_server_mon would not respan rexi servers
as it wouldn't notice rexi_server_sup went away and come back. That would
leave the cluster in a disabled state.
To fix the issue, switch restart strategy to rest_for_one. In this case, if a
child at the top dies it will restart all the children below it in the list.
For example, if rexi_server dies, it will restart all the children. If
rexi_server_sup dies, it will restart rexi_server_mon. And then on restart
rexi_server_mon will properly spawn all the rexi servers.
Same for the buffers, if rexi_buffer_sup dies, it will restart rexi_buffer_mon
and on restart it will spawn buffers as expected.
Fixes: #1571

+1


Wire up SORDER

SORDER is a way to order the series returned in a result. This is useful if you're going to return the top or bottom series by some function. For example:
SELECT mean(value)
FROM cpu
WHERE time > now() - 24h
GROUP BY time(1h), host
SORDER max(value) 5m desc
SLIMIT 5

This query says to take the most recent 5m period in the query's time range and compute the max for every host. It would then order those in descending order and then take the first 5 and do queries for them to get their series.

+1

+1

+1

+1

+1

+1

that would be a really useful feature. is there working going on in regards to this?

+1

Please reopen and schedule.  This feature would make influxdb much more useful.

+1
I'm now using InfluxDB and Grafana to monitor a 36 node cluster. The previous project had nine nodes. The graph legends become too big and most of the series on the graph are of no real interest. I want to find the things that need action by looking at, say, the worst 5 or 10 nodes but I can't find a way with InfluxDB. A shame because it's really easy with ElasticSearch/Kibana but otherwise Grafana+InfluxDB is a much better fit for my needs. SORDER with SLIMIT seems to be exactly what I need.
Rather a shame to see this issue closed 16 hours before I found it.

We have about the same use-case and problem as @andycarlsonuk. This feature would make InfluxDB actually much more helpful!

Thanks for commenting.  We'll keep this open, but it's not currently scheduled for any release yet.

That's exactly my use case as well.  We're monitoring hundreds of servers and storing metrics in InfluxDB.  Not having a SORDER operator has been a major limiting factor on how useful our graphing is.
It's too the point where when I have down time I'm going to see if I can figure out how to implement it myself
Thank you for reopening this.

+1

I'm looking for an influxdb equivalent to graphite's highestAverage. Other posts have mentioned this but they eventually link to #5930 which contains "Top accepts nested functions", but from what i've seen the top function doesn't return a series.
This looks like the feature request i need to follow. Can anybody confirm?

@clheikes  Yeah, totally, all we need from SORDER is to do something like "SORDER BY mean(bytes) DESC LIMIT 10", which would be full analog of highestAverage. But, further, it allows all sorts of series sorting.

from what i've seen the top function doesn't return a series.
Yep, so I have custom script to achieve this (metrics are assigned back to series), but it leads to null values in series and more series returned, for example top(10) would lead to ~30 series. Of course number of series depends on data.

@clheikes this is a pretty big missing functionality and from reading various threads people dont seem to under that the "fix" they are pushing is not actually what the want. they needs a time series of "top".
@vlitvin Could you share an example of your script in a Gist ? it would be helpful.

Without SORDER we can't switch from Prometheus to influxdb enterprise, please add this feature

@white-hat can you give me a little more detail about what you're trying to do with the query?

@pauldix in my use case SLIMIT is kinda useless without SORDER.  I can graph a line per server for example but I can't say 'show me the worst 10'.  Makes a lot of dashboarding much less useful

@Kaelten the worst 10 based on what criteria? For example, look at the most recent cpu system utilization for every server and take the highest 10 servers, then query them for some period of time? Is it important to say worst over some longer period or the entire period for what is returned?

@pauldix without SORDER I get a random 10 series.  With SORDER I should be able to say 'order by avg cpu utilization' or 'max 15 min load' or other similar statements.  Right now if I query and get back 30 series and SLIMIT it to 10 I have no idea if I'm being the most useful 10.
In our case we have ~ 900 servers monitored right now and some charts have too many series on them to be even remotely useful or actionable. SLIMIT with SORDER would make these charts significantly more useful.

We really miss the following Graphite functions that limit the number of series returned based on some criteria: highestAverage, highestCurrent, highestMax, lowestAverage, lowestCurrent as well as mostDeviant.
All these Graphite functions order the series (aka SORDER) before limiting the number of series returned (aka SLIMIT).

It would be really nice to have SORDER feature unless someone can come up an alternative solution

I agree. The lack of that feature is the only reason why we have to use graphite+influx.

Another +1 here. I recently switched from Graphite to InfluxDB. I rely on functions like highestAverage, highestCurrent, and highestMax for our dashboard as we then limit the results in Grafana using a a template for "Top Resources". With Graphite this is incredibly simple to achieve.

+1
@rbetts you mean this will not be developed?

This is absolutely the most glaring feature omission in influxdb.

This feature will be delivered through IFQL. You can read the ifql announcement and a more recent update. We also blog each completed ifql iteration as we continue early development. You can follow the ifql repository to track our progress.
We aren't far enough along yet to publicize a release date for IFQL 1.0; however, we are doing all of the development in the open and welcome your feedback and thoughts. We package the query processor in the influxdata sandbox, if you'd like to install and try it in its current state.
We appreciate your feedback about desired query functionality. We read and listen to all of your comments even when we can't always reply promptly.

@nathanielc
Is there a working example of the functionality described here in flux?


QGB Decide on a SignificantPowerDifferenceThreshold upper bound

          I guess 5% errs on the side of caution but the upper bound might be something like 33% or 1/3. I haven't spent too much time thinking about the attack vectors here but it might be good to eventually write them up as a form of rationale

Originally posted by @cmwaters in https://github.com/celestiaorg/celestia-app/pull/1911#discussion_r1229267025

fwiw as long as it doesn't change to something higher than it is now, I think we could add this in a non-consensus breaking way

I guess it should be higher so the change is not consensus breaking, if i understand right

no longer needed as we're switching to BlobstreamX


Field missing from model when used in a @connection

We are using the following schema, but when we generate the models the groupID is not being created in the generated code for the Member model? Our understanding is this should be the field that is used to reference the Group in the connection. Whats going on here, and why is the groupID missing? Is this a bug?
type Member @model
@key(
    name: "getMemberGroupID"
    fields: ["groupID"]
    queryField: "getMemberByGroupID"
)
{
  id: ID!
  groupID: ID!
  group: Group @connection (fields: ["groupID"])
}

type Group @model
{
    id: ID!
    members: [Member] @connection(keyName: "getMemberGroupID", fields: ["id"])
}

Member.swift:
// swiftlint:disable all
import Amplify
import Foundation

public struct Member: Model {
  public let id: String
  public var group: Group?

  public init(id: String = UUID().uuidString,
      group: Group? = nil) {
      self.id = id
      self.group = group
  }
}

Member+Schema.swift:
// swiftlint:disable all
import Amplify
import Foundation

extension Member {
  // MARK: - CodingKeys
   public enum CodingKeys: String, ModelKey {
    case id
    case group
  }

  public static let keys = CodingKeys.self
  //  MARK: - ModelSchema

  public static let schema = defineSchema { model in
    let member = Member.keys

    model.pluralName = "Members"

    model.fields(
      .id(),
      .belongsTo(member.group, is: .optional, ofType: Group.self, targetName: "groupID")
    )
    }
}

Group.swift:
// swiftlint:disable all
import Amplify
import Foundation

public struct Group: Model {
  public let id: String
  public var members: List<Member>?

  public init(id: String = UUID().uuidString,
      members: List<Member>? = []) {
      self.id = id
      self.members = members
  }
}

Group+Schema.swift:
// swiftlint:disable all
import Amplify
import Foundation

extension Group {
  // MARK: - CodingKeys
   public enum CodingKeys: String, ModelKey {
    case id
    case members
  }

  public static let keys = CodingKeys.self
  //  MARK: - ModelSchema

  public static let schema = defineSchema { model in
    let group = Group.keys

    model.pluralName = "Groups"

    model.fields(
      .id(),
      .hasMany(group.members, is: .optional, ofType: Member.self, associatedWith: Member.keys.group)
    )
    }
}

Amplify (1.4.4):

Amplify/Default (= 1.4.4)

Amplify/Default (1.4.4)
AmplifyPlugins/AWSAPIPlugin (1.4.4):

AppSyncRealTimeClient (~> 1.4.0)
AWSCore (~> 2.19.0)
AWSPluginsCore (= 1.4.4)
ReachabilitySwift (~> 5.0.0)

AppSyncRealTimeClient (1.4.2):

Starscream (~> 3.1.0)

AWSAuthCore (2.19.1):

AWSCore (= 2.19.1)

AWSCognitoIdentityProvider (2.19.1):

AWSCognitoIdentityProviderASF (= 2.19.1)
AWSCore (= 2.19.1)

AWSCognitoIdentityProviderASF (2.19.1)
AWSCore (2.19.1)
AWSMobileClient (2.19.1):

AWSAuthCore (= 2.19.1)
AWSCognitoIdentityProvider (= 2.19.1)
AWSCognitoIdentityProviderASF (= 2.19.1)
AWSCore (= 2.19.1)

AWSPluginsCore (1.4.4):

Amplify (= 1.4.4)
AWSCore (~> 2.19.0)
AWSMobileClient (~> 2.19.0)

ReachabilitySwift (5.0.0)
Starscream (3.1.1)

Hi @EdwardFinegan, the groupID field is omitted from the swift Member Model and is managed for you at runtime using the group object passed into the Member object. For example
let group = Group()
Amplify.API.mutate(request: .create(group)) // Persist the group first
// on mutation complete, create the member with the group
let member = Member(group: group)
Amplify.API.mutate(request: .create(member))

Internally, Amplify.API.mutate(request: .create(member)) will use the targetName "groupID" in the schema swift class to generate the correct GraphQL Input as
{
"groupID": "groupI123" // group.id
}

I recall there's a PR in progress that fixes your scenario when querying a list of Members by groupID:
// This will fail
let predicate = Member.keys.group.eq("memberId123")
Amplify.API.query(request: .list(Member.self, where: predicate))

Feel free to let us know if you have more questions

Thanks for the clarification. When the connection is defined as:
group: Group @connection (fields: ["groupID"])
Can the 'fields: ["groupID"]' parameter be omitted? The documentation seems to suggest it can be but what ramifications does this have on your above example?

From what I can tell, it's better to keep the explicit field like groupID on the Member Model and referencing it on the @connection as fields: ["groupID"] so that you can perform a list operation for members by groupID.
Under "Alternative definition" https://docs.amplify.aws/cli/graphql-transformer/connection#many-to-many-connections
The above definition is the recommended way to create relationships between model types in your API. This involves defining index structures using @key and connection resolvers using @connection. There is an older parameterization of @connection that creates indices and connection resolvers that is still functional for backwards compatibility reasons. It is recommended to use @key and the new @connection via the fields argument.

If you remove the fields from @connection directive, i actually think you'll be using the older usage of the directive. If you consider this AppSync API
listMembers(filter: {groupID: {eq: "groupID123"}})

Without the explicit field, you would not be able filter on groupID


Investigate alternate dirty rectangle merging

In #427,  @statico and @mlogan proposed an alternate merge strategy for dirty rectangles.  This was to resolve a particular bug with alpha sprites; however, that bug is now fixed due to broader changes in how we handle dirty rectangles.
Their algorithm was also faster than the merge Crafty used at the time; however, that was due to some inefficient copying of arrays rather than the actual algorithm Crafty was using.
So what's wrong?
The way that we merge could have an impact on how quickly we can complete the draw.  Overly aggressive merging means that we redraw areas of the screen that don't need it; not merging enough means we draw the same areas multiple times.  We need to figure out a good heuristic for this.
At a minimum we should benchmark the proposal in #427 against what Crafty uses now.
I did investigate doing an "exact" merge; finding the polygon that needs to be redrawn, rather than a set of bounding rectangles.  This algorithm ran about an order of magnitude more slowly than the simpler ones, and didn't seem to help drawing speed much except in extreme cases.

I'm closing this, since (a) WebGL avoids the issue completely, and (b) it's not likely we'll have any sudden revelations here :)


react-native run-android

When I run this command "react-native run -android" the error showed up:
Command run unrecognized. Make sure that you have run npm install and that you are inside a react-native project.
the solution it says "npm install" so I follow the instruction and it showed the error as well:
npm WARN hami No description
npm WARN hami No repository field.
npm WARN hami No license field.
npm install : solution I found on stackOverflow is :  "node your-script.jsnode your-script.js"
but it also showing error :
internal/modules/cjs/loader.js:775
throw err;
^
Error: Cannot find module '/home/hami/your-script.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
at Function.Module._load (internal/modules/cjs/loader.js:677:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
pls help!

react-native run-android this is the right cmd (No space)

@raajnadar Thanks!


Load a specific branch

Does anyone know if it's possible to load only a part of the tree?
See below an example where I have the full tree loaded by default. I was wondering if there is a way to load only the tree on the right-hand-side (which is a specific part of the original one)

Dear @IgnatG,
As far as I know, this functionality does not exist in phylotree.js at present. There seems to be a function to do this in ETE3:
http://etetoolkit.org/docs/latest/reference/reference_tree.html#ete3.TreeNode.prune
Let's keep this issue open since this would definitely be useful to have and others may want to chime in. Thanks for pointing out an interesting feature!
Best,
Stephen

Dear @IgnatG,
When you say

to load only the tree on the right-hand-side

do you mean

Load the entire tree, display only a substree
Load only the subtree, ie. ignore the rest of the tree when the Newick string is parsed?

Best,
Sergei

Dear @IgnatG,
Also it definitely could be done. Perhaps by programmatically hiding, see the following functionality which is part of the default user interface. I just meant that there is no equivalent function from ETE3 to do this immediately at the moment.

Best,
Stephen

Dear @spond,
Ideally, it would be option 2 to avoid having to load the entire tree.
But option 1 is fine as well.
I don't have a personal preference as long as it achieves the goal.
My scenario is as follows:
I have a newick tree saved in a variable (or file). It's a big tree so I don't want to look at the whole thing at once, but rather only on specific parts/branches at a time. This example helps as it has 2 coloured clusters:

In this case, I'd want to look first at Cluster 1 only - so only this one would be visible at a time.
But I should be able to look at Cluster 2 as well if I need to (but again, only this one would be visible).
Or, I should be able to go back to see the entire tree if needed.
Let me know if this helps.
Best wishes,
Gabriel

Dear @stephenshank ,
Yes, this is what I'm doing now.
I'm actually doing it in the code as well through tree.delete_a_node(node) and it hides the branch as expected.
I was just curious to see if there is a better way of doing it as sometimes I could have multiple branches that need hiding. Of course, this can be achieved through a loop, but that's a back-up plan
Thank you for your help though!
Best wishes,
Gabriel


decouple role change from restore-AC-state

OCD run https://ocd.appscale.com:8080/job/Daily Build/2769/

OCD run https://ocd.appscale.com:8080/job/Daily Build/2773/


pub: need "dependency overrides" for development

If I want to hack on a library package that is used by a few other packages in my dependency graph, I need to clone all of them locally, edit their pubspecs and use path dependencies.
It would be great if I could instruct Pub to use my version of the library package for all transitive dependencies.

This issue has been moved to dart-lang/pub#448.


Add provision support for Ingress

Kismatic 1.1 will add support for managing Ingress nodes. This is a useful way to access K8s services from outside of a cluster.
Basic support for Ingress has been added to all new clusters built with Provision. For now, the first Worker in any cluster is also used as an Ingress host.
Ingress hosts expose an HTTP proxy (we use a contained Nginx) along with a controller to reconfigure them. This adds a little extra responsibility to the most basic clusters but we think it's worth it.

It looks like you are missing the option in the CLI for the number of ingress nodes.

There currently isn't a way to control ingress node count -- I allow for one ingress node, always the first worker and always schedulable (available to host other workloads).
Introducing specialized workers is gonna be tricky and might be outside the scope of a "make me a full featured demo fast" tool.

I was thinking of provisioning a separate node for ingress (then a separate for storage). Defaulting to running the ingress on the same node doesn't follow the message we are providing in Kismatic.
Seems like having a demo of an ingress in a DMZ or a way to have more sophisticated demos might be useful.
Maybe there could be another cluster mode of 1/1/2 to cover the "demo fast" scenario.

For now, Provision's role is to make development & demoing fast. More complex scenarios (such as anything dealing with the complexity of workers that have different capabilities from each other) is something we want to be cautious adding.


Error when there is no title in feeds entries

Some RSS feed entries do not have titles or content/descriptions, in which case the code could run into errors.

This should be fixed by #9


Update link URLs for calico documents

This updates URLs for calicoctl and calico-logs,
which seems to be moved from https://docs.calicoproject.org to https://docs.tigera.io/calico/3.25.
This also follows the category change of calico-logs from maintenance to operations.

#sign-off


onLongPress for Text is not working

🐛 Bug Report
After upgrading from React Native 0.58.6 t0 0.59.0 or 0.59.1, onLongPress for Text is not working. I tested in IOS, it is not working. But it works well with 0.58.6
To Reproduce
Use Text with onLongPress in React Native 0.59.0 or 0.59.1 app,
Code Example
<Text style={styles.welcome} onLongPress={()=>{alert('TestA')}}>Welcome to React Native!</Text>
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 24.48 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.5.0 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 26, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-24 | Google APIs Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.3 AI-182.5<IP_ADDRESS>14842
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.1 => 0.59.1

Duplicate of #24001 ?

Hey @chppeng 👋 - thanks for reporting. As @danilobuerger mentioned; this is a duplicate of #24001 (Text internally consumes Touchable). I will close this issue now - please follow up on the other issue.


Loss calculation on discriminator for WGAN and WGAN GP

In the WGAN GP the loss is calculated:
# Sample generator input
noise = np.random.normal(0, 1, (batch_size, self.latent_dim))
# Train the critic
d_loss = self.critic_model.train_on_batch([imgs, noise], [valid, fake, dummy])

I am wondering whether this is an intended behavior or instead it should be calculated with generated samples from the generator using the "noise" variable.
Thanks!

Yes, that is intended. If you look in WGANGP.__init__ you can see how the computational graph of the critic is compiled. The critic takes a images sampled from the dataset and noise as input (which will be used by the generator to produce fake samples), and tries to discriminate real from fake samples. The real and fake samples are also used to compute the gradient penalty described in the WGAN-GP paper.
        #-------------------------------
        # Construct Computational Graph
        #       for the Critic
        #-------------------------------

        # Freeze generator's layers while training critic
        self.generator.trainable = False

        # Image input (real sample)
        real_img = Input(shape=self.img_shape)

        # Noise input
        z_disc = Input(shape=(self.latent_dim,))
        # Generate image based of noise (fake sample)
        fake_img = self.generator(z_disc)

        # Discriminator determines validity of the real and fake images
        fake = self.critic(fake_img)
        valid = self.critic(real_img)

        # Construct weighted average between real and fake images
        interpolated_img = RandomWeightedAverage()([real_img, fake_img])
        # Determine validity of weighted sample
        validity_interpolated = self.critic(interpolated_img)

        # Use Python partial to provide loss function with additional
        # 'averaged_samples' argument
        partial_gp_loss = partial(self.gradient_penalty_loss,
                          averaged_samples=interpolated_img)
        partial_gp_loss.__name__ = 'gradient_penalty' # Keras requires function names

        self.critic_model = Model(inputs=[real_img, z_disc],
                            outputs=[valid, fake, validity_interpolated])
        self.critic_model.compile(loss=[self.wasserstein_loss,
                                              self.wasserstein_loss,
                                              partial_gp_loss],
                                        optimizer=optimizer,
                                        loss_weights=[1, 1, 10])


How to get the reconstruction visualization result?

Hello, thanks for your really great job! I have a question about the visualization of reconstrustion: How to get the reconstruction result like figure 3 in your paper? Have you released the code?

Hello,
Unfortuantely I cannot share the visualization code.


stores[this._storeName] = undefined

Getting an error here:
set action(val) {
stores[this._storeName].store.dispatch(val);
}
When I set a break point and inspect in the console "stores" is {} and stores["DEFAULT_STORE"] is undefined.
Successf ully using this element in a Poly v1 app and now trying to set up a Polymer v2 app.  Might be related?

Make sure you set the root reducer before you fire any actions. Looks like your root reducer has not been set by the time you are firing the action, so the store has not been created

I have this in my  element

A child element loaded via the router has

this.action = {type: 'TEST_ACTION',snee: "foo"}

Do you import and set the rootReducer in your app element? What does the JavaScript look like?

First, thanks so much for helping me.
In my index.html I import an elements file
< link rel="import" href="/src/elements.html" >
and in the body of my index.html I have my app element.
In my elements files I import my app element and the redux-store-element in this order (is this order dependent?)
< link rel="import" href="/src/poly2app-app/poly2app-app.html" >
< link rel="import" href="/node_modules/redux-store-element/redux-store.html" >
In my app element I have
< redux-store root-reducer="[[rootReducer]]" on-statechange="_mapState"  >< /redux-store >
< redux-store action="[[action]]"  >< /redux-store >
this.rootReducer = function(state, action) {
if (!state) {
return initialState;
}
switch(action.type) {
case 'TEST_ACTION': {
var newState = Object.assign({}, state);
newState.test = true;
return newState;
}
default: {
return state;
}
};
};
this.action = {type: 'DEFAULT_ACTION'};
}
In a child element I have:
< redux-store action="[[action]]" >< /redux-store >
And I am firing the action via a paper-button for testing so it is well after everything is loaded:
this.$.dothis.addEventListener("click", function(){
if(this.someId!=undefined){
this.set('prop1', this.someId);
this.action = {type: 'TEST_ACTION',snee: "foo"}
}
}.bind(this))

With the imports loading in this order the "set rootReducer(val)" never gets called.
< link rel="import" href="/src/poly2app-app/poly2app-app.html" >
< link rel="import" href="/node_modules/redux-store-element/redux-store.html" >
If I switch the order then the "set rootReducer(val)"
< link rel="import" href="/node_modules/redux-store-element/redux-store.html" >
< link rel="import" href="/src/poly2app-app/poly2app-app.html" >
However, as I step through the code the constructor gets called again which resets the _rootReducer to null.  What would cause the constructor to be called again?  Importing the redux-store.html twice?

Oh for crying out loud.... I was missing this:
var initialState = {
temp: 'initial temp'
};
Which caused the weird cascade of issues.

Glad to hear it. By the way, if I were you I would not load all elements from a single file, it makes each element less modular. Each element should directly load its own dependencies: https://github.com/webcomponents/gold-standard/wiki#loading


Enable SIL verification with the sil-opt driver.

This was obviously intended given that the driver enables the corresponding
compiler option by default, and most SIL tests explicitly call for it.
Enabling verification does not increase the run time of the swift-check target.

@swift-ci test.

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d02040c35525801b77d85245987e21d5a37b4a91
Test requested by - @atrick

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - d02040c35525801b77d85245987e21d5a37b4a91
Test requested by - @atrick

@swift-ci test linux.

@swift-ci test osx.

@swift-ci test osx platform.

@swift-ci test OSX platform.

@swift-ci Please test OS X platform

@swift-ci which request did you finally respond to?

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - d02040c35525801b77d85245987e21d5a37b4a91
Test requested by - @atrick

@swift-ci test.

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - d02040c35525801b77d85245987e21d5a37b4a91
Test requested by - @atrick

It's not possible for my change to cause the test case failure that CI hit.

@swift-ci test.

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 1aa9021b7db5a67325701f976c24a4b5f3ed126c
Test requested by - @atrick

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 1aa9021b7db5a67325701f976c24a4b5f3ed126c
Test requested by - @atrick

@swift-ci Please clean test and merge

@swift-ci smoke test and merge.

@swift-ci please smoke test and merge.


Basic box with simple GUI(OpenGL, or Glut)

I appreciate your work and I also I wanted to ask to push some kind of very simple demo using some GUI libs.
Can you show or put the demo which uses ReactPhysics3D and draw for ex: Box in a window? I would love to see that because it is very difficult to even start with this lib for beginners.
Thanks beforehand.

Hello.
The repository contains a "testbed" application with multiple demos (rendered using OpenGL) as you can see here. Take a look at the documention (see below) in order to compile this application.
I also suggest that you take a look at the hello world sample in order to see how to compile and use the ReactPhysics3D library in your project. This can be found here.
Note that you can find the documentation of the library here.
I hope this helps.

Can I close this issue ?

Can I close this issue ?

Yes, thank you btw for your response


feat(forum): Add Markdown Editor in Forum

Is your feature request related to a problem? Please describe.
Currently , the markdown support is going to be added. But it needs to type all markdown syntax manually. Which can be an issue  for end-user also preview option is a necessary option.
Describe the solution you'd like
I found this JS library which can help to achieve that.
https://github.com/nhn/tui.editor
We can customize it as per our need.
Write/Preview like Github

Are you working on this? (Yes/No)
No

I found two editors

Easy markdown editor https://github.com/Ionaru/easy-markdown-editor
Toast UI Editor https://github.com/nhn/tui.editor

Toast UI editor seems to be more popular and well maintained..
@tachyons can you take a look at this two editor libraries. If there is anytother better library suggest that

Can i work on this issue ?
cc @vedant-jain03

@tachyons do we need this for now?

Not yet, this is to be bundled with forum revamp.
On Mon, 9 Jan, 2023, 6:25 pm Vedant Jain, @.***> wrote:

@tachyons https://github.com/tachyons do we need this for now?
—
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/3473#issuecomment-1375583505,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXYAEEQSGAW4W2GVVI4ILLWRQDDFANCNFSM6AAAAAATR376GA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Create macos_re-opened_applications.yml

Detection for https://attack.mitre.org/techniques/T1164/ using Osquery process monitoring

closing, since I updated and corrected a few CI breaking changes in PR https://github.com/splunk/security-content/pull/355


Gemma 2b configs

This is a really tough one. I tried a lot of different settings and this was the best I could find for LoRA and QLoRA.

A val loss of 1.4 seems high, but it's coming down from >15, so it's a lot improvement
Anything else I tried results in more overfitting
Interestingly, I looked at and tried the Axolotl configs in Axolotl, and their loss even seems to increase to like 70, not converging at all
The full finetuning is in the works, this is even tougher; for some reason gemma-2b is really hard to train; I will probably move on to other models now because it's been quite the time sink
at least we see that QLoRA saves some memory over LoRA here.

Will add a new PR including the full finetuning shortly.


canvas line progressive rendering does not work with datasets < 10

Because progressive rendering has a min of 5 frames, you need a min of 10 datapoints for it to be able to draw something.
Need to either check if dataset is < 10 and do render at once if it is or change min number of frames.

Actually, looking into it more, progressive rendering on a single line yields another error where the batches do not connect.
From demo:

Should look like:


[test] Fix 'coloredSphere.py' script for Paraview 5.8

Hello @teojgo, Thank you for submitting the Pull Request!

In the file cscs-checks/apps/paraview/src/coloredSphere.py:

Line 9:3: E111 indentation is not a multiple of four
Line 12:80: E501 line too long (82 > 79 characters)
Line 13:3: E111 indentation is not a multiple of four
Line 14:7: E111 indentation is not a multiple of four
Line 15:7: E111 indentation is not a multiple of four
Line 15:80: E501 line too long (84 > 79 characters)
Line 16:3: E111 indentation is not a multiple of four

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #1449 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1449   +/-   ##
=======================================
  Coverage   91.93%   91.93%
=======================================
  Files          82       82
  Lines       12959    12959
=======================================
  Hits        11914    11914
  Misses       1045     1045

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 ee5a0aa...e3b5216. Read the comment docs.


Added Bulgarian translation

This request includes the bulgarian translation for Lock. Please make sure I added the language code to the build process correctly.

Great work! Could you translate the new strings from version 0.5.0?
You can run this command to update bg.po to include the new strings:
just translate

just, meson and gettext need to be installed for this

I'm having some difficulty with that sadly, I ran the command but got this:
meson compile -C _meson com.konstantintutsch.Lock-pot

ERROR: Current directory is not a meson build directory: `/home/me/Проекти/Lock/_meson`.
Please specify a valid build dir or change the working directory to it.
It is also possible that the build directory was generated with an old
meson version. Please regenerate it in this case.
error: Recipe `translate` failed on line 9 with exit code 1

I tried rebuilding the project but then I got other errors with the dependencies not installing my computer cant even fetch the remotes for flatpak/gnome (which I also get in every other project even when trying with Builder, so its something on my end that I have to fix). I'm fine with also updating it next week or whenever the POT file is updated, im not in a rush.

Nothing is simple on my computer 🙃:
The Meson build system
Version: 1.5.1
Source dir: /home/me/Проекти/Lock
Build dir: /home/me/Проекти/Lock/_meson
Build type: native build
Project name: Lock
Project version: 0.4.1

meson.build:5:0: ERROR: Unable to detect linker for compiler `cc -Wl,--version`
stdout: ГНУ свързваща програма version 2.43.1-2.fc41
Авторско право: 2024 Фондация за свободен софтуер
Тази програма е свободен софтуер: можете да я разпространявате под условията
на Всеобщ Публичен Лиценз ГНУ версия 3 или по ваш избор, следваща версия.
Тази програма е без гаранции.

stderr: collect2 version 14.2.1 20240912 (Red Hat 14.2.1-3)
/usr/bin/ld -plugin /usr/libexec/gcc/x86_64-redhat-linux/14/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-redhat-linux/14/lto-wrapper -plugin-opt=-fresolution=/tmp/ccsjwrJQ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/14/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/14 -L/usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/14/../../.. --version -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-redhat-linux/14/crtend.o /usr/lib/gcc/x86_64-redhat-linux/14/../../../../lib64/crtn.o

A full log can be found at /home/me/Проекти/Lock/_meson/meson-logs/meson-log.txt

Feel free to leave it as it.. I can come back and update the translation later on before my dignity isn't lost completely here

git pull should work though
git reset --hard HEAD # discard changes by build system
git pull

That force push is fine, just a PR ;)

I think its good now, thanks for the help 😅

🎉


⚠ ClamAV has degraded performance

In a412f91, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 76 ms

Resolved: ClamAV performance has improved in 2fe1388.


[release-1.7] Avoid Sidecar Cluster Config Generation for UpstreamClusters when CredentialName is set

This is an automated cherry-pick of #25885

cc: @JimmyCYJ


I cannot reproduce the result either. Please help, thank you very much!

@JosephKJ
Hi authors, thanks for your great work, but I have met problems when trying to reproduce the result, I have also read the issue #18  and #26 , can you help me? Thank you very much!
I used 8 GPUs too, which are 6 rtx2080ti and 2 rtx3090, and I attach my result as follows.

Btw, my friend @ShuoYang-1998, is my result similar to yours? And whether you have reproduced the result or not later? I will appreciate so much if you might help. The full logs are attached as follows.
t1.txt
t1_final.txt
t2.txt
t2_ft.txt
t2_final.txt
t3.txt
t3_ft.txt
t3_final.txt

Hello, I can achieve similar results with you in task1-task3. But I got very low performance on task4(Previous known:3.2;current known:13.8). Can you share your results on task 4? Thanks!

Please try with our newer work.


Protocol error when trying to convert darknet to keras model

I tried to run this command to convert the model as the instruction said.
python convert.py yolov3.cfg yolov3.weights model_data/yolo.h5
But I encountered the following problem.
Traceback (most recent call last):
File "convert.py", line 262, in
_main(parser.parse_args())
File "convert.py", line 245, in _main
model.save('{}'.format(output_path))
File "/home/vagrant/anaconda3/lib/python3.6/site-packages/keras/engine/topology.py", line 2591, in save
save_model(self, filepath, overwrite, include_optimizer)
File "/home/vagrant/anaconda3/lib/python3.6/site-packages/keras/models.py", line 115, in save_model
f = h5py.File(filepath, mode='w')
File "/home/vagrant/anaconda3/lib/python3.6/site-packages/h5py/_hl/files.py", line 269, in init
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/home/vagrant/anaconda3/lib/python3.6/site-packages/h5py/_hl/files.py", line 105, in make_fid
fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 98, in h5py.h5f.create
OSError: Unable to create file (unable to open file: name = 'model_data/yolo.h5', errno = 71, error message = 'Protocol error', flags = 13, o_flags = 242)
What is the reason for this? How to fix it?
Thanks!

@andieheung-s4d can you share the solution here?


Just build an doceker but I have no firmware——Azure Kinect camera

I have follow all your description in the README.MD. And I build the docker from scratch step by step. I doubt whether the result like this is good or not. Thanks！！

Docker images as the above picture shows

@Yaosmart Hello, I am having the exact same issue. Have you solve this problem?


Continue button is cut off on Ipod screen when roles are officially addressed

Maybe just a scrolling issue?

I refreshed the Ipod and re-joined the game and it glitched the other two players


Fix PSP for kube-proxy

How to categorize this PR?

/area networking
/kind bug
/priority normal
What this PR does / why we need it:
#2238 introduce a bug, that the kube-proxy could not start up properly for newly created cluster with .spec.kubernetes.allowPrivilegedContainers=false.
This PR fixes this issue.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

A bug has been fixed, which caused the `kube-proxy` to fail starting up for clusters with `.spec.kubernetes.allowPrivilegedContainers=false`.

I have written a small script, which can be run against clusters that are stuck in creation because of the bug, this PR addresses for the time until fix is released and deployed:
https://gist.github.com/tim-ebert/8827134b70c3e52cf2b532563008a218
curl -s https://gist.githubusercontent.com/tim-ebert/8827134b70c3e52cf2b532563008a218/raw/4aeabbfb43f21a6847f6d29d5140ff52cc155b8f/fix-kube-proxy-psp.sh | bash


ATT&CK v12.1 mappings

We need to update the MITRE ATT&CK mappings to v12.1

https://github.com/mitre/cti/releases/tag/ATT%26CK-v12.1
https://github.com/mitre/cti/tree/ATT%26CK-v12.1/enterprise-attack
https://github.com/mitre/cti/blob/ATT%26CK-v12.1/enterprise-attack/enterprise-attack.json

Thanks @MaurizioCasciano, we are in the process of updating this project to v12.1. I hope to share something here in a couple months.

Hi @mehaase, thanks. If there is something I can help with, just let me know how to proceed.

HI @MaurizioCasciano, I'm following up on this thread to notify everybody that the 12.1 mappings are now released!


Not Working

I have Atom 1.12.7 and your plugin isn't working?
It's the only community plugin I have installed as all the others are core.

@dalepowell44  try wordpress-dictionary instead.

@AhmedShareef thank you so much man, great early Xmas present!

Close due to old - may have been fixed in v0.2.3


Pitches: Share your CivicCamp session idea before the conference

If you plan on pitching an unconference session this year for CivicCamp, please add a comment to this issue with the proposed title and your name. Feel free to add a brief description. We will list the submitted proposals to the website schedule page so attendees can start to formulate a few topics that will be at the unconference.
Disclaimer: you must be present at CivicCamp on Friday, September 29 to make your pitch in person at approximately 11:35 am at the Red Hat Annex.

Discussion topic: What are the challenges to using open data?

Wake County is launching a new transparency portal. Please tell us what we did wrong. Need video.

Code for San Francisco started a Data Science Working Group. We could totally do that too! https://codeforsanfrancisco.org/projects/the-data-science-working-group/

How can we create a better way to connect people with resources / services? Maybe a more human/user-centered approach, instead of lists/directories of resources. (e.g. 211, Durham Network of Care [http://durham.nc.networkofcare.org/mh/(url) )
Multiple aspects to consider:

How to create something that's easy for residents to use
How to create something that minimizes the effort needed to keep it up to date
How to create something that helps us understand how people are connecting with resources / services (data, trends, etc.)

How can civic tech help during emergency situations? (e.g. hurricanes)
What problems are not being addressed by other organizations? How can we fill these gaps?

How can civic tech help schools?
(We do a lot with cities and counties, but not school systems.)

How can we tell if our projects make a difference? How do we measure / monitor / evaluate success / impact?

How can we increase the diversity of people involved in our projects / events?
(age, gender, race, ethnicity, education level, disability, technical experience, location, etc.)

Final: http://ncopenpass.com/blog/unconference-grid-2018/


Exception while running SD XL: Not enough memory resources are available to complete this operation

I was working with Stable Diffusion XL with Direct ML (DML) framework and was stuck with the error saying - "Not enough memory resources are available to complete this operation"

All the dependencies that were installed were checked.
What could possibly be the issue for this issue ?
Anyone else who got the same issue ?
Any debug help could be helpful.
Thanks.

@PatriceVignola could you help take a look at this issue? Thanks!


Refactor pipeline filtering, create params flags for tools

Changes
This PR includes the following changes:

refactors filtering failed samples for fairy
refactors ICA handling, terra handling
add a param flags in nextflow.config

execution-based

run_busco
ncbi_excel_creation
extended_qc
run_srst2_mlst
run_griphin

feature-based

save_trimmed_fail
save_merged
save_output_fastqs
save_reads_assignment

moves parameter checks upstream to main.nf

ICA
TERRA

Issues
This PR addresses the following issues:

[x] #147
[x] #149
[x] #150
[x] #151
[x] #153

Scope
These changes have only been tested on the --entry PHOENIX part of the pipeline, on an AWS EC2 instance.
Checklist
The following points were addressed in this PR:

[x] Description of the changes with justifications and issue links, where applicable
[x] Updated docs related to these changes
[x] Updated CHANGE.md with changes outlined above and a reference to the PR number.

hey @jvhagey  - this is ready for review!

Closing PR since updates listed here were submitted as separate commits / will not be updated.


Travis: try a non sudo container

This gives us the same errors as we see in the 1.1.0 stable branch

@ekasper: Is there any reason you used sudo: required? It seems to work fine in the non-sudo container now.

@kroeckx the cross-compile tests use sudo. Try adding [extended tests] to the commit message to run all tests.
(FWIW I think it's thoroughly confusing that tests appear as "passed" that were in fact not run.)

@kroeckx the cross-compile tests use sudo. Try adding [extended tests] to the commit message to run all tests.

D'oh.  I'm retracting my approval


Some small performance improvements

Avoid materializing array
Use let with anonymous func over loop
Reorder bool

bors r+


Event does not propogate when subscribed IoC

I created a parent class with two children. Child 1 fires a WeakEvent. Child 2 has a public handler. In the parent scope, we should be able to subscribe via inversion of control:
public Parent()
{
    Child1 = new Child1();
    Child2 = new Child2();
    Child1.Event += Child2.EventHandler;
}

I have very weird behavior with the event firing off and on.  I have confirmed that a local handler inside Child1 is firing correctly. But Child2 doesn't fire as expected. It literally worked in one debug and failed in the next with no changes. Any ideas?

Hi @NWoodsman,
I'm not sure I understand what the problem is. What is Child2.EventHandler? Is it a method? A delegate field or property?
Could you give a bit more context? Maybe a short but complete repro?

Sorry @thomaslevesque, I got back to the problem and it was my fault. WeakEvent works exactly as expected.
In the snippet I gave, Child2.EventHandler is a public method with the signature to handle the WeakEvent Child1.Event
I didn't realize that I had correctly written Child1 as a property of Parent, declared outside the scope of the Parent constructor. Whereas I was still declaring Child2 as a variable within the constructor. Once the constructor exited, WeakEvent was working too well for my sleepy haze and letting Child2 get GC'ed.
So I wasn't getting the event propogated because Child2 didn't exist. I moved Child2 to a property of Parent and all is good.
Thanks, I'll close this one.

No problem, glad you were able to solve this 👍


AVM tree-access opcodes

### Tasks
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4839
- [x] EMITNOTEHASH
- [x] NULLIFIEREXISTS
- [x] EMITNULLIFIER
- [ ] https://github.com/AztecProtocol/aztec-packages/pull/4673
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4837
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4838
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4835
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4125
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/4840

I think we can close and treat HEADERMEMBER as needed.


pipenv lock does not capture dev and non-dev requirements of the same package

Issue description
I have a Pipfile that specifies a stable version of a package for production and an editable local version of a package for development. These differences are not being captured when running pipenv lock.
Expected result
Pipfile.lock is updated with one package definition in the "default" section and another in the "develop" section.
Actual result
The definition in the "default" section is also listed in the "develop" section.
Manually editing the Pipfile.lock allows pipenv install --dev to work as expected.
Steps to replicate

Update the Pipfile to have the same package in both the "packages" and "dev-packages" sections, with different definitions/requirements.
Run pipenv lock.
Observe that Pipfile.lock has not captured the "dev-packages" definition.

Note: pipenv install --dev only works after pipenv uninstall --all. Running pipenv install --dev after having run pipenv install does not install the dev version on top of the default version. (However, the opposite does happen: running pipenv install after pipenv install --dev will replace the dev version.)

Due to the same issue,   "pipenv lock -d -r > dev-requirements.txt"  may not generate a valid requirement file for pip. To reproduce the error:

Create a Pipfile as follows:

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
"alembic" = "==1.7.5"

[dev-packages]
"flake8" = "4.0.1"

[requires]
python_version = "3.6"

pipenv lock -d -r > dev-requirements.txt
pip install -r dev-requirements.txt, this will encounter an error due to the conflicting version:

ERROR: Cannot install -r dev-requirements.txt (line 12), -r dev-requirements.txt (line 13) and importlib-metadata==4.8.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested importlib-metadata==4.8.2
    alembic 1.7.5 depends on importlib-metadata; python_version < "3.9"
    flake8 4.0.1 depends on importlib-metadata<4.3; python_version < "3.8"

The cause of error seems to be an intentional overwrite of dev-dependencies with default dependencies in the do_lock function

Assuming that it is possible to resolve dependencies and dev dependencies together without a conflict (like in the @shiyuangu's example where the solution is to use for example importlib-metadata==4.2.0), I see three strategies how one can approach such an issue.
When I hit this issue, I used the first approach which I achieved by pinning the conflicting package in default packages. However, it would probably be nice to add a CLI option to be able to allow downgrading a default package so that the dev packages are not in conflict.
1. Downgrade the default requirement to meet the dev requirements
This would mean downgrading importlib-metadata==4.8.2 to version 4.2.0 to also meet the dev requirements (importlib-metadata<4.3). However, the main question is whether you should downgrade a default (production) package just because you want to use some linter or testing library.
2. Use different versions of the requirement in production and in development.
This can probably simply be achieved by not overwriting the dev dependencies in the do_lock function and setting up your dev environment by first installing the default packages and then the dev packages which will overwrite the versions.
3. Fail resolving the dev dependencies
pip-tools recommends to first resolve the production requirements and then use the created requirements.txt file as constraints while resolving the dev dependencies. See pip-tools docs. This way the pipenv lock -d would fail with an error due to the unmet constraints.

Create requirements.in file

alembic==1.7.5

Run pip-compile that generates a requirements.txt file

alembic==1.7.5
    # via -r requirements.in
# ...
importlib-metadata==4.8.3
    # via
    #   alembic
    #   sqlalchemy
# ...

Use the requirements.txt file as constraints and observe the error

> pip install flake8==4.0.1 -c requirements.txt

ERROR: Cannot install flake8==4.0.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    flake8 4.0.1 depends on importlib-metadata<4.3; python_version < "3.8"
    The user requested (constraint) importlib-metadata==4.8.3

I believe this may be resolved by work @dqkqd did recently on constraint files -- could you recheck with pipenv=2022.8.17?

Hey @matteius, thank you for the update and sorry that it took me so long to test this.
I can definitely confirm that the behavior is different now. The generated list of requirements is now installable. However, after rerunning @shiyuangu's example, I can see that the dev requirement "flake8" = "4.0.1" is not respected. This is what the resulting dev-requirements.txt file looks like (notice flake8==5.0.4).
-i https://pypi.org/simple
alembic==1.7.5
greenlet==1.1.3
importlib-metadata==4.8.3
importlib-resources==5.4.0
mako==1.1.6
markupsafe==2.0.1
sqlalchemy==1.4.41
typing-extensions==4.1.1
zipp==3.6.0
flake8==5.0.4
importlib-metadata==4.8.3
mccabe==0.7.0
pycodestyle==2.9.1
pyflakes==2.5.0
typing-extensions==4.1.1
zipp==3.6.0

Even though the dev requirement "flake8" = "4.0.1" is not respected, I'm not sure what the correct behavior should be, because the way I see it, there are only two options, both having their pluses and minuses.

Respect flake8==4.0.1 which transitively requires importlib-metadata<4.3. By honoring the default requirements ("alembic==1.7.5" -> importlib-metadata) as well as dev requirements (flake8==4.0.1 -> importlib-metadata<4.3), we'd end up with importlib-metadata==4.2.0.
➕ All the requirements are honored, the behavior is predictable.
➖ We downgrade a default (non-dev) requirement just to respect some dev package that does not get used in production. By using an older version there is a higher chance of introducing bugs and/or security issues to your app.

Do not respect dev requirements. We end up with importlib-metadata==4.8.3 which is incompatible with flake8==4.0.1 but if we upgrade flake8 to 5.0.4, everything works fine.
➕ We don't downgrade a default (non-dev) package just because of some dev package.
➖ The behavior is less predictable since we ask for a version of a package but a different version gets selected. It would probably make sense to at least warn the user on pipenv lock -d that a dev package version was not respected.

You seem to have chosen the second approach. I cannot say which approach is clearly better. I'm maybe slightly in favor of the first approach but maybe the better solution also depends on the exact case you're solving.
What do you think about all this? Which approach do you find better? Since the second approach is now implemented , do you think a warning could be added if a requirement is not respected?


Create Hyperapp SSR example

Create an example of server rendering a Hyperapp application, using hyperapp-render. Recommend to check React, Preact and Vue SSR examples first to understand how to make the example better.

Temporarily closing because of https://github.com/kriasoft/hyperapp-render/issues/17#issuecomment-723152971

implemented in 9e6f10d