After Unsubscribing Device device not gets deleted from Admin Panel.

I have successfully subscribe to push notifications with connectycube. But when i am trying to delete that subscription on logout then the device remains there in the admin panel. It should gets deleted automatically.
Find below the logs for better understanding:
[Response][1] {"session": {"application_id": 3448, "created_at": "2020-10-22T05:52:48Z", "id": 18578845, "nonce": 1313, "token": "1e05f67a25a5f227bc65d1a6f9b9b0de33000d78", "ts":<PHONE_NUMBER>, "updated_at": "2020-10-22T05:52:48Z", "user": {"avatar": "", "blob_id": null, "created_at": "2020-10-13T14:54:13Z", "custom_data": "", "email": null, "external_user_id": null, "facebook_id": null, "full_name": "Sakshi Banyal", "id": 2192407, "last_request_at": "2020-10-22T05:52:48Z", "login": "Sakshi", "phone": "8216564049", "twitter_id": null, "updated_at": "2020-10-22T05:52:48Z", "user_tags": null, "website": null}, "user_id": 2192407}}
[Thu Oct 22 2020 11:22:49.780]  LOG      [Request][2] POST https://api.connectycube.com/subscriptions.json {"data": {"device": {"platform": "android", "udid": "764822d5338a351b"}, "notification_channel": "gcm", "push_token": {"bundle_identifier": "com.afyanet", "client_identification_sequence": "dqYGBzZ8SRmB5RMDT5TACW:APA91bGlMQZuYmusRgjOaAuP_RMrlnN-5yEF_A96DRnaZ62_lxWhZHR-C49yAR8A64HAQE0o21Cb46xymHCMzzpc4X8SoxzXny8_9S1W_iWjTHIfrArGjfr-vppZIs88rGUfphmuIhrz", "environment": "development"}}, "type": "POST", "url": "https://api.connectycube.com/subscriptions.json"}
[Thu Oct 22 2020 11:22:49.950]  LOG      [Chat] Connect with parameters  {"password": "King#123", "userId": 2192407}
[Thu Oct 22 2020 11:22:49.970]  LOG      [Chat] status connecting wss://chat.connectycube.com:5291
[Thu Oct 22 2020 11:22:49.643]  LOG      [Response][2] [{"subscription": {"device": [Object], "id": 442270, "notification_channel": [Object]}}]
[Thu Oct 22 2020 11:22:50.739]  LOG      [Chat] status connect
[Thu Oct 22 2020 11:22:50.741]  LOG      [Chat] CONNECTING
[Thu Oct 22 2020 11:22:50.742]  LOG      [Chat] status opening
[Thu Oct 22 2020 11:22:50.743]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:51.379]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:22:51.381]  LOG      [Chat] status open
[Thu Oct 22 2020 11:22:51.391]  LOG      [Chat] RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">PLAINANONYMOUSPLAIN_FASTzlib</stream:features>
[Thu Oct 22 2020 11:22:51.392]  LOG      [Chat] SENT: ADIxOTI0MDctMzQ0OABLaW5nIzEyMw==
[Thu Oct 22 2020 11:22:52.880]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:22:52.900]  LOG      [Chat] status opening
[Thu Oct 22 2020 11:22:52.910]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:52.763]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:22:52.765]  LOG      [Chat] status open
[Thu Oct 22 2020 11:22:52.769]  LOG      [Chat] RECV: <stream:features xmlns:stream="http://etherx.jabber.org/streams">zlib</stream:features>
[Thu Oct 22 2020 11:22:52.770]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:53.404]  LOG      [Chat] RECV<EMAIL_ADDRESS>[Thu Oct 22 2020 11:22:53.410]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:53.411]  LOG      [Chat] status online<EMAIL_ADDRESS>[Thu Oct 22 2020 11:22:53.412]  LOG      [Chat] ONLINE
[Thu Oct 22 2020 11:22:53.413]  LOG      [Chat] CONNECTED
[Thu Oct 22 2020 11:22:53.413]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:53.414]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:22:54.210]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:22:54.418]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:22:54.447]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:23:50.233]  WARN     deleteSubscription [{"subscription": {"device": [Object], "id": 441382, "notification_channel": [Object]}}] android
[Thu Oct 22 2020 11:23:50.235]  LOG      [Chat] disconnect
[Thu Oct 22 2020 11:23:50.240]  LOG      [Chat] SENT:
[Thu Oct 22 2020 11:23:50.240]  LOG      [Chat] status closing
[Thu Oct 22 2020 11:23:50.241]  LOG      [Request][3] DELETE https://api.connectycube.com/session.json {"dataType": "text", "type": "DELETE", "url": "https://api.connectycube.com/session.json"}
[Thu Oct 22 2020 11:23:50.499]  LOG      [Chat] RECV:
[Thu Oct 22 2020 11:23:50.500]  LOG      [Chat] status close
[Thu Oct 22 2020 11:23:50.504]  LOG      [Chat] status disconnecting
[Thu Oct 22 2020 11:23:50.512]  LOG      [Chat] ERROR: [Error: WebSocket ECONNERROR wss://chat.connectycube.com:5291]
[Thu Oct 22 2020 11:23:50.518]  LOG      [Chat] status disconnect [object Object]
[Thu Oct 22 2020 11:23:50.522]  LOG      [Chat] DISCONNECTED
[Thu Oct 22 2020 11:23:50.525]  LOG      [Chat] status offline
[Thu Oct 22 2020 11:23:50.525]  LOG      [Chat] OFFLINE
[Thu Oct 22 2020 11:23:51.611]  LOG      [Response][3] empty body
@ccvlad  Please look into this.

Hi @GuleriaAshish.
Thank you, it really was a mistake. This is fixed, please update your branch - master.

@Kachanov-dev , when did you fixed this? Because i am using the current version of the library and this issue is still there.

@GuleriaAshish , you need to make: git pull origin master.
This is commit with fix: Fix unsubscribe push notifications

@Kachanov-dev  i have checked your commit. you was sending token than subscription id in your sample. But my problem is i am not using your sample project right now as i am implementing it in my app. And you can check the logs that i am correctly sending the subscriptionId there.

@GuleriaAshish , you need to send a DEVICE_SUBSCRIPTION_ID.
// Subscribe to push notification (we save the subscription.id) ConnectyCube.pushnotifications.subscriptions.create(params)   .then(result => {     AsyncStorage.setItem(PushNotificationService.DEVICE_SUBSCRIPTION_ID, ${result[0].subscription.id}`)
})
// When we unsubscribe from push notifications
async unsubscribePushNotifications() {
const subscriptionIdToDelete = await AsyncStorage.getItem(AuthService.DEVICE_SUBSCRIPTION_ID)
ConnectyCube.pushnotifications.subscriptions.delete(subscriptionIdToDelete);
}`
Please read the documentation:
Subscribe to push notifications:
Unsubscribe from push notifications


Raspbee 2 is not recognised on NanoPi Neo

I looked anywhere for an answer to my problem but I wasn'T able to find a solution.
I had troubles with setting up the container due to the nonexistence of /dev/ttyAMA0.
I finally set up the container with the /dev/ttyS0 variable.
Am I doing anything wrong becaue the container seems to work fine. There is just no recognisation of the Raspbee II hat..

Is the Raspbee recognized by the server? If that's not the case, this is the wrong place to ask :)
I guess you can check by using the flasher tool, and flash the latest firmware of the Raspbee.


"&" symbol coming up in terminal after using "Run Selection/Line in python terminal"

VS Code version: 1.46.1
Extension version (available under the Extensions sidebar): v2020.6.89148
OS and version: Windows 7
Python version (& distribution if applicable, e.g. Anaconda): 3.8.0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Value of the python.languageServer setting: Jedi

Expected behaviour
Compile python program
Actual behaviour
Received syntax error
SyntaxError: invalid syntax

& "D:/Program Files/Python/Python 3.8.0/python.exe" "d:/VS Code Projects/hello/hello.py"
File "", line 1
& "D:/Program Files/Python/Python 3.8.0/python.exe" "d:/VS Code Projects/hello/hello.py"
^

Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Create a python file with some print statements
Run the code with "Run Selection/Line in python terminal" and try running using play button

Possible dup of https://github.com/microsoft/vscode-python/issues/11435

This is a dupe of #11435


feat: add github action for image compression

Please, go through these steps before you submit a PR.

[x] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Fixes #2 using GitHub action.

Looks good to go! I like the title semantics!

Thanks @NoahCardoza :)


Defining inputDecorationTheme in TimePickerThemeData Causes Misalignment of Hour and Minute Input Boxes

When defining an inputDecorationTheme within TimePickerThemeData, the hour and minute input boxes in the TimePicker become misaligned when an error message is displayed. This issue occurs specifically when customizing the inputDecorationTheme and triggering a validation error that causes an error message to appear.
Steps to reproduce

Create a Flutter app and implement a TimePicker using showTimePicker.

Define the TimePickerThemeData with a custom inputDecorationTheme as shown below:

timePickerTheme: TimePickerThemeData(
  inputDecorationTheme: InputDecorationTheme(
    // something property
  ),
),

Trigger an error in the TimePicker that causes an error message to be displayed (e.g., invalid input).
Observe the alignment of the hour and minute input boxes.

Expected results

The hour and minute input boxes should remain aligned correctly, even when an error message is displayed below them.

Actual results
When an error message is displayed, the hour and minute input boxes become misaligned, negatively impacting the usability and visual consistency of the TimePicker.

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Web TimePicker',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  TimeOfDay selectedTime = TimeOfDay.now();

  Future<void> _selectTime(BuildContext context) async {
    showTimePicker(
      context: context,
      initialTime: selectedTime,
      builder: (context, child) {
        return MediaQuery(
          data: MediaQuery.of(context).copyWith(alwaysUse24HourFormat: true),
          child: Theme(
            data: Theme.of(context).copyWith(
              timePickerTheme: TimePickerThemeData(
                  inputDecorationTheme: InputDecorationTheme(
                    // something properties
                  ),
              ),
            ),
            child: child!,
          ),
        );
      },
    );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Flutter Web TimePicker'),
      ),
      body: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            ElevatedButton(
              onPressed: () => _selectTime(context),
              child: Text('show time picker'),
            ),
          ],
        ),
      ),
    );
  }
}

Flutter Doctor output
Doctor output
 flutter doctor -v
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale ja-JP)
    • Flutter version 3.24.0 on channel stable at /Users/naoido/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (2 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/naoido/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/naoido/Library/Android/sdk
    • Java binary at: /Users/naoido/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

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

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/naoido/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.4)
    • IntelliJ at /Users/naoido/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.17890.8

[✓] VS Code (version 1.92.1)
    • VS Code at /Users/naoido/Downloads/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 127.0.6533.120

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

• No issues found!

This isn't specific to when an input decoration theme is specified, it just becomes more obvious that way. Using the default values, this appears to have regressed in 3.24.0 as it worked fine in 3.22.3 and 3.19.6.
However, with specifying the input theme, this issue has always been present.
Labeling for further investigation

3.24.0+
3.22.3 & below
Similar behavior from 3.19.6

flutter doctor -v
[!] Flutter (Channel [user-branch], 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    ! Flutter version 3.22.3 on channel [user-branch] at /Users/nexus/dev/sdks/flutter_rc/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter,
      which is not inside your current Flutter SDK checkout at
      /Users/nexus/dev/sdks/flutter_rc/flutter. Consider adding
      /Users/nexus/dev/sdks/flutter_rc/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is
      not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter_rc/flutter.
      Consider adding /Users/nexus/dev/sdks/flutter_rc/flutter/bin to the front of your path.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision b0850beeb2 (4 weeks ago), 2024-07-16 21:43:41 -0700
    • Engine revision 235db911ba
    • Dart version 3.4.4
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended
      to use "git" directly to perform update checks and upgrades.

[!] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (2 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Flutter (Channel master, 3.24.0-1.0.pre.605, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.605 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bced008679 (8 hours ago), 2024-08-15 22:29:24 -0400
    • Engine revision a8fefc8118
    • Dart version 3.6.0 (build 3.6.0-146.0.dev)
    • DevTools version 2.38.0


[publishing] ensure even if remote isn't there we don't fail

easy enough. Just do some additional clean up on how fragile the current publishing flow is. This way if the system isn't authorized to do the pushes it'll at least still commit things into the correct branches.


chore(deps): update common-dev-assets digest to 6699dc1

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
e4ce78d -> 6699dc1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Supervisor reports that image is not supported.

Please see a fragment from Supervisor's log:
21-10-30 11:52:51 WARNING (MainThread) [supervisor.resolution.evaluations.base] Found images: {'portainer/portainer', 'rhvoice-rest'} which are not supported, remove these from the host! (more-info: https://www.home-assistant.io/more-info/unsupported/software)

There is no issues with rhvoice integration. Use different installation method or other docker host to run unsupported containers.

What is "different installation method"? Where can I read about it?

https://www.home-assistant.io/installation/

!

RHVoice Home Assistant add-on: https://github.com/definitio/ha-rhvoice-addon (work in progress).


fix(polyfills): web-animations-js should be in browser.polyfills.ts

Since web-animations-js uses document it really shouldn't be imported in polyfills.ts but in browser.polyfills.ts

Thank you @ruant :+1: 💯


docs: start writing axioms docs

Current dependencies on/for this PR:

main

PR #26

PR #27

PR #28

PR #29   👈

This comment was auto-generated by Graphite.


Unable to disable guest browsing

Describe your setup

4B 4GB
r80 release

To Reproduce
Steps to reproduce the behavior:

Open settings
Select "You and Google" on the left
Click "Manage other people"
Try to toggle "Enable Guest browsing"

It flickers back and forth but ultimately lands on the enabled setting

fixed and tested working in r86 releases.


[FR] Parametrize Tic-Tac-Toe to accept an arbitrary sized board and win patterns

E.g., we might want a 10x10 board with the win conditions being
X
X
X
XXX

(up to any number of 90 degree rotations.).
PS: If you’re too busy, would a PR of this feature be accepted?

I don't see why we wouldn't accept a PR implementation. I would recommend leaving Tic-Tac-Toe implemented as is and make a new game.
I'm curious, though: is it because you'd use this game for a research project?

I am learning RL, so I am not doing research yet; but I like Tic-Tac-Toe's simplicity. It's easier for me to analyze the game, rather than, say, chess. But the classic version is too useless.
I also really like big Tic-Tac-Toe games ;)

You might also be interested in Ultimate Tic-Tac-Toe. I saw a recent applicate of AlphaZero to it: https://www.reddit.com/r/MachineLearning/comments/rdb1uw/p_utttai_alphazerolike_solution_for_playing/?utm_medium=android_app&utm_source=share
I have always liked this game, would be great to have it in OpenSpiel.

Hi @NightMachinary, we have now added an implementation of Ultimate Tic-Tac-Toe: https://github.com/deepmind/open_spiel/commit/fa7b6af395a0d80ac62513d4edfeb4f9a0092957

Thanks, that game is also interesting!


Update Configuring a codespace for VS

Why:
Visual Studio devinit tool team requested changes to the section on Configuring a codespace for VS
What's being changed:
See PR for content changes
Check off the following:

[x] All of the tests are passing.
[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[x] For content changes, I have reviewed the localization checklist
[x] For content changes, I have reviewed the Content style guide for GitHub Docs.

@gregvanl Thanks so much for opening a PR! I'll get this triaged for review ✨

@gregvanl - Thanks again for the update to this topic. Merging now.


Create Script to Transfer Data from one sheet to the other

Overview
Bonnie would like a script to be created to transfer the data from this sheet over to this sheet. Additionally, we want to grab all the github names of each repository, count and save all the topic tags used, and query all repositories per org tag.
Action Items
Resources/Instructions
from source sheet over to target sheet

Running a script to get all the topics for all the repositories for all organizations we know about is going to be problematic unless we find a more efficient way to query this than what I am trying. I am doing a call for each org to get a list of its repositories and then one call per repo for the topics. I can do about 1/4 of our current org list before I run out of API calls for the hour.

This is what I could get with 3 runs with our current set of orgs. Hope that helps for launch but we will need to redesign this if we want it to work on an ongoing basis.
topics.txt

@ExperimentsInHonesty @cnk commented that she ran the test for 3 hours and aliases aren't appearing as we had thought.  She was, however, seeing patterns and a lot of themes such as open data, election data, air quality et al. She made the recommendation that we'd potentially use this as a jumping off point  to reach out to other orgs — i.e., inviting others to contribute to CTI instead.

I am still auditing the spreadsheet I will have an update by the end of next week

Sheet is audited, kevin needs to input into database


Upgrade question

Hello - when I initially set up this container, it defaulted to 4.5.0alpha1. I now need to upgrade my client because of recent security vulnerabilities resulting in 4.5.0 being on blocklists. Can you advise on whether I can simply rebuild the base image? Thank you.

This container relies on a fork of both libtorrent and qbittorrent. While the libtorrent fork can be brought up to date fairly easily, the qbittorrent fork is another story. Unfortunately until someone who knows their stuff puts in the work to update the fork we're stuck with 4.5.0alpha1.


Adding text to a model

Hello, I am trying to add text to a model, meaning not just rendering the text to the screen but having it on the model. This is important because I want the text exported when I export as .pdf and .dxf. Currently I cannot figure out how to overcome the asynchronous opentype.load function, which is the bottleneck of this issue. How do I overcome this?
`                       this.models = {
                        grid: grid
                    };

                    // Font loading

                    opentype.load('/fonts/mavenpro/MavenPro-Regular.ttf', function (err, font) {
                        if (err) {
                            // Font failed to load
                        } else {
                            var textModel = new makerjs.models.Text(font, 'Hello', 100);

                            makerjs.model.center(textModel, true, false);

                            this.models.text = textModel; // This does not work, because it's asynchronous.
                        }
                    });`

Essentially, I have a modified version of your Window Arch Grid demo, and I want to add text to the model so I can export the text with the window, and update the text too when the playground values are updated, just like the window figure. Thanks.

Hello, are you doing this in the online Playground or in your own app?

Hey there, I have set up a coding environment which uses the same libraries as the online Playground with a few changes. I want to do this on a normal apache web-server.

You'll need to render after you've set the textModel. When I say render, I'm assuming you're calling `makerjs.exporter.toSVG()', then adding the svg to the page.

The thing is, apart from just having to render the text to the website screen, I need the text added to the model. I have an entire model, like your Window Arch Grid, and I would like to add text to this at a very specific position according to the settings made in my local playground, and I also need it to be included in the .pdf and .dxf export for the model (download buttons). I can't exactly seem to figure out the way to make all of these features included, if I were to just render the svg to the screen.

This is one of the pitfalls of asynchronous programming.
One thing you might do, is load the font first. Once it is loaded, then start your app.

I see, I had thought of that solution too, but wanted to hear if there was an easier solution beforehand. I'll see what I can do - thanks.

Hi, I've made it work. Is there any way to rotate a Text object, or making any work-around to have text rotated? Thanks.

Certainly, use makerjs.model.rotate.


Forward as argument after -- to test task

@robsonpeixoto what would be the use case for this feature?

Being honest, I do not remember.


deleting EC2 Subnet (subnet-xxxxxxx): DependencyViolation: The subnet 'subnet-xxxxxxx' has dependencies and cannot be deleted.

Description
I have used terraform VPC module to create the VPC through Terragrunt. When i try to delete the VPC, it got hanged and throw EC2 Subnet (subnet-xxxxx): DependencyViolation error.
Versions
Module version [Required]:
Terragrunt version:
v0.55.20
Provider version(s):
registry.terraform.io/hashicorp/aws v5.42.0
Reproduction Code [Required]
  source = "terraform-aws-modules/vpc/aws"
  version = **"4.0.0"**
  name   = local.vpc_name
  cidr   = var.vpc_cidr

  azs              = var.availability_zones
  public_subnets   = var.public_subnets
  private_subnets  = var.private_subnets
  database_subnets = var.database_subnets

  create_database_subnet_group = true
  manage_default_route_table   = true
  default_route_table_tags     = { DefaultRouteTable = true }

  enable_dns_hostnames = true
  enable_dns_support   = true

  enable_nat_gateway     = true
  one_nat_gateway_per_az = true

  enable_vpn_gateway = false
  map_public_ip_on_launch = false

  manage_default_security_group  = true
  default_security_group_ingress = []
  default_security_group_egress  = []

  enable_flow_log                                 = true
  create_flow_log_cloudwatch_log_group            = true
  create_flow_log_cloudwatch_iam_role             = true
  flow_log_max_aggregation_interval               = 60
  flow_log_cloudwatch_log_group_retention_in_days = 30

  tags = var.default-tags
}

When i apply destroy command to delete the vpc, i got below.
module.vpc.aws_subnet.private[1]: Destroying... [id=subnet-xxxxx]
module.vpc.aws_subnet.private[0]: Destroying... [id=subnet-xxxxx]

Error: deleting EC2 Subnet (subnet-xxxxx): DependencyViolation: The subnet 'subnet-xxxxx' has dependencies and cannot be deleted.
│ 	status code: 400, request id: 76947801-c590-4a79-bfdb-6468693133b8
│
│

│ Error: deleting EC2 Subnet (subnet-xxxxx): DependencyViolation: The subnet 'subnet-xxxxx' has dependencies and cannot be deleted.
│ 	status code: 400, request id: eaffa1e1-870d-43e3-a32a-434fffcd75ad

It got hanged in deleting the subnet. Above two subnets are private subnets.
Expected behavior
The plan is applied, deleting the VPC and associated subnets.
Actual behavior
It will say "Still destroying" for about 20 minutes, before it gives up saying the subnet has dependencies:
module.vpc.aws_subnet.private[2]: Destroying... [id=subnet-xxxxxx]
module.vpc.aws_subnet.private[1]: Still destroying... [id=subnet-xxxxx, 19m20s elapsed]
...
Error: deleting EC2 Subnet (subnet-xxxxx): DependencyViolation: The subnet 'subnet-xxxxx' has dependencies and cannot be deleted.
│ 	status code: 400, request id: 76947801-c590-4a79-bfdb-6468693133b8

Any update on this?

Any update on this?

It's not a module issue so there's nothing we can do here


Add-Migration does not recognize removal of class property

Describe what is not working as expected.
Add-Migration should not see properties that do not exist in class.
If you are seeing an exception, include the full exceptions details (message and stack trace).
Exception message:
Stack trace:

Steps to reproduce
Include a complete code listing (or project/solution) that we can run to reproduce the issue.
I removed a property from an existing class and relative foreign key and virtual property.
I deleted all of my migrations.
I restarted the computer, cleaned the solution, and rebuilt the solution.
Add-Migration Initial-Create creates a migration with the non-existent property and relative foreign key.
I did Find for the solution to confirm that neither the property nor the foreign key exist in the solution, but every time I delete and create the migration, the property is added to the migration.
Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to reproduce the issue.
Is there a cache somewhere that needs to be deleted?
<code listing>

Further technical details
EF Core version: 1.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 7
IDE: Visual Studio 2017 15.1 26403.7

I created the initial migration which creates the following migration:
migrationBuilder.CreateTable(
name: "Distributor",
schema: "shared",
columns: table => new
{
ID = table.Column(nullable: false)
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
BuyingGroupID = table.Column(nullable: true),
CompanyName = table.Column(type: "varchar(100)", nullable: false),
Notes = table.Column(type: "VARCHAR (MAX)", nullable: false, defaultValueSql: "''"),
Url = table.Column(type: "varchar(500)", nullable: false)
},
BuyingGroupID is the property that is not in the model.
I added the property back to the model and created a second migration:
        migrationBuilder.AlterColumn<int>(
            name: "BuyingGroupID",
            schema: "shared",
            table: "Distributor",
            nullable: false,
            oldClrType: typeof(int),
            oldNullable: true);

It changed the column from NULL to NOT NULL.
I removed a property from the model and created a third migration.
        migrationBuilder.AlterColumn<int>(
            name: "BuyingGroupID",
            schema: "shared",
            table: "Distributor",
            nullable: true,
            oldClrType: typeof(int));

It altered the column back to NULL.

@dpedrelli Is BuyingGroupID a foreign key?

It is shadow foreign key property.
When ef cannot find foreign key property for a relationship,(from explicit user code or by convention) it adds a shadow property for fk. By default it is nullable (unless relationship is made required). So clr type would be int?
When you added property you used type int hence property's nullability changed.

I found the problem.  There was a virtual property on another class, pointing to this class.  Apparently, Entity Framework created a foreign key column to support the virtual property.


Move the PAC getting-started docs into User Guides > PAC

In order to keep the content int he Getting Started section focused on getting started with Pulumi, we should move the PAC-related docs into a subsection of User Guides > PAC.

Part of #3693.

this is no longer in get started, so closing.


Fix and improve IW input placeholder text

This PR allows https://github.com/microsoft/vscode-jupyter/issues/9038 to be fixed.
Currently Jupyter extension's contributed keybinding (Shift+Enter) for the interactive.execute command always wins over the default keybinding (Ctrl+Enter), even if the Jupyter extension uses the new notebookKernel contextkey added in #143163 so the binding only applies when one of its kernels is being used.
This PR corrects this, and also adds the languageId to the placeholder.
Before, with a Jupyter kernel (Python):

Before, with a kernel contributed by another extension and Jupyter extension also enabled:

Jupyter keybinding is displayed.
Before, with a kernel contributed by another extension and Jupyter extension disabled:

Default keybinding is displayed.
After, Jupyter:

After, other extension, Jupyter enabled:

pinging @rchiodo and @rebornix

@gjsjohnmurray 👍


[$250] Room - Pasting long text in description not scrolled to bottom & cursor shown at middle.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.10
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to https://staging.new.expensify.com/home
Tap on any room chat (#admin)
Paste any long text in compose box and note user scrolled to end showing cursor at end.
Tap on header
Tap room description
Paste the same long text in description field and note user not scrolled to end and cursor not shown at end.
Tap private notes
Paste the same long text in Private Notes field and note user scrolled to end and cursor shown at end.

Expected Result:
Pasting long text in description must scrolled to bottom & cursor must be shown at end.
Actual Result:
Pasting long text in description not scrolled to bottom & cursor is shown in middle of text instead of end.
This happens in task description and in other description field across the app.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5a995426-49ea-4adc-ae42-a15bccdc1c97

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013fba32c1ac87d746
Upwork Job ID:<PHONE_NUMBER>332130443
Last Price Increase: 2024-07-31

Issue OwnerCurrent Issue Owner: @mollfpr

Checking a couple other cursor-related issues

https://github.com/Expensify/App/issues/42216
https://github.com/Expensify/App/issues/44259

Proposal
Please re-state the problem that we are trying to solve in this issue.
Pasting long text in description not placing cursor at end of text
What is the root cause of that problem?
Cursor positon is not corrected while pasting text similar to Composer text field.
What changes do you think we should make in order to solve the problem?
useHtmlPaste  hook to be used in description text field similar to composer and notes text fields
What alternative solutions did you explore? (Optional)
N.A.

@mallenexpensify : I would like to work on this issue, based on previous work in this area. Please assign this to me.

@mollfpr can you review @kpadmanabhan proposal above and the issues I linked above too?
https://github.com/Expensify/App/issues/45885#issuecomment-2243843578

I agree that the @kpadmanabhan solution is the same as the @abzokhattab proposal. It seems using useHtmlPaste is fixing the issue, but can we seek a universal solution so it can fix the issue in another place?

@abzokhattab : didnt notice your proposal earlier. sorry for that.
@mollfpr : according to me useHtmlPaste itself is a universal solution as it is the central handling for all paste actions for the control passed in. We can add this by default to any text input, unless it is unsubscribed explicitly.

according to me useHtmlPaste itself is a universal solution as it is the central handling for all paste actions for the control passed in. We can add this by default to any text input, unless it is unsubscribed explicitly.

I mean a solution that can be fixed without applying useHtmlPaste every time we want the multiline input.

I mean a solution that can be fixed without applying useHtmlPaste every time we want the multiline input.

An option here is to create useHtmlPaste as a global hook for all components that accepts pasting of content from clipboard. An approach similar to https://medium.com/swlh/decouple-your-logic-from-ui-by-creating-your-own-react-hooks-d291fd2d60dc
This will make sure that we handle the paste by default for all components unless we explicitly disable that.

I was thinking that the useHtmlPaste could be used in InputWrapper instead reapply it in another component that uses InputWrapper, because I see that the issue only appears on multiline input with InputWrapper.
@kpadmanabhan Could you update your proposal based on your last comment? Thanks!

I am still able to reproduce the issue on web chrome.

Thanks ... i removed the autoGrowHeight, maxAutoGrowHeightfrom the room description page to see whether this happens when the multiline is only enabled and the same issue is happening it doesn't move the index focus to the last char

So it might be the issue-only case for InputWrapper?

@abzokhattab Could you explain why the issue is with isMarkdownEnabled?

@abzokhattab can you reply to @mollfpr 's comment above? Thx.

Could you explain why the issue is with isMarkdownEnabled ?

@mollfpr , 👀 on the above proposal from @dominictb ?

Reviewing 👀

Sorry for the delay 🙏
It's a great explanation for RCA from @dominictb!

Please note that we have a new refactor PR for web markdown https://github.com/Expensify/react-native-live-markdown/pull/394. I tried to test out the solution with the new version of react-native-live-markdown but it doesn't seem to work, so we might need to provide a patch in E/App before the new version of react-native-live-markdown is deemed stable.

Regarding the above comment, what patch we should add to make your solution work?

Not overdue, still open for proposals!

Issue not reproducible during KI retests. (First week)

@mollfpr and @dominictb , regarding the post from QA not being able to reproduce, can you both attempt reproduction and share your results? If you're able to, please provide vid or screenshots.

I am still able to reproduce the issue, it's only reproducible with long text paragraphs and doesn't have a break-line space at the end of the paragraph. The same things happen for Safari.
https://github.com/user-attachments/assets/fb21d21f-a34d-4060-a392-7f744321ce36
@dominictb Is there a reason we using scrollIntoView  from the element interface and replacing our own logic?

@dominictb I'm not sure if bringing back the old solution is a good idea. One of the goals of our refactor was to get rid of scrolling into view by calculating pixels. We wanted to simplify it and use the new structure elements as a base for new approach. We've missed the case when the content of the element is too long, but for sure we can fix this issue by modifying the current solution. My idea for it is to detect if the cursor is outside the view, and just launch node.element.scrollIntoView(false) or node.element.scrollIntoView({block: "bottom"}) to scroll to it

Issue not reproducible during KI retests. (Second week)

Going to try reproducing this today, as it sounds like it may no longer be reproducible?

Hello, I decided to investigate this issue more inside the library since I have more capacity. To fix this issue and overall scrolling into view logic, we have to make some bigger logic changes inside the library. First of all, we don't need to scrollIntoView on every input change or event. We can do it only on the actions that were totally replaced by our custom implementation, like: onPaste and onFocus and value prop changes. The rest of the actions can use the default browser's scroll logic. Thanks to that, Live Markdown Input works and feels more like normal RN TextInput.
After that, we can update our scrollIntoView function, so whenever the cursor isn't visible inside the input window, it scrolls to the position of the cursor range. Something like this:
 const selection = window.getSelection();
    if (selection && selection.rangeCount > 0) {
      const range = selection.getRangeAt(0);
      const caretRect = range.getBoundingClientRect();
      const targetRect = target.getBoundingClientRect();

      // In case the caret is below the visible input area, scroll to the cursor position
      if (caretRect.top + caretRect.height > targetRect.top + targetRect.height) {
        targetElement.scrollTop = caretRect.top + caretRect.height - targetRect.top - targetRect.height + target.scrollTop;
      }
    }

Here is the PR with the fix inside the react-native-live-markdown library: https://github.com/Expensify/react-native-live-markdown/pull/502

Issue not reproducible during KI retests. (Third week)

@Skalakid is working on so I add them as an assignee

Hello, the PR with the bump was reverted. Here I'm bumping the library again

Issue not reproducible during KI retests. (Fourth week)

@Skalakid can you provide an update? Wondering if this is worth fixing, def an edge case bug that's not going to affect many/anyone.

Hello, the PR with the fix has been merged so the issue should be fixed now

@mallenexpensify I can't repro the issue anymore. I think we can close this.

Thanks @mollfpr , closing.  Comment/reopen if anyone disagrees.


Add module-info

It is quite standard for JavaFX libraries and projects to be modular, can you please add a proper module-info with an appropriate name.

@iamgio Any reason for not doing this? Or do you just not have time right now

Hi @satsen, which advantages would this bring? I don't have experience about it, plus animated is written in Java 8.

@iamgio It would bring the advantage of not having to use the generic auto-generated (from JAR) module name and better fit in modular configurations.
You can do a multi-release JAR with module-info only for Java past 8, though I don't know why you are supporting Java 8, most JavaFX libraries have left that far behind by now.
The least you can do is to add an Automatic-Module-Name to the manifest which is better than nothing and would also be appreciated.

@satsen alright, I'm going to add this and I'll probably start supporting Java 11+ only. Do you have any good reference about the module-info?

There are many examples :)

ControlsFX https://github.com/controlsfx/controlsfx/blob/master/controlsfx/src/main/java/module-info.java
FormsFX https://github.com/dlsc-software-consulting-gmbh/FormsFX/blob/master-11/formsfx-core/src/main/java/module-info.java
Scenic View https://github.com/JonathanGiles/scenic-view/blob/master/src/main/java/module-info.java
I can make a pull request but you need to decide the module name. You can take ideas from these projects that I sent, most modular Java projects seem to use the main package name or some variant of it.

@satsen while trying to deploy a snapshot containing the new module-info, I ran across this Maven error:
Required filename-based automodules detected: [AnimateFX-1.2.3.jar]. Please don't publish this project to a public artifact repository! *

After some research, I found this.
I guess I have to stick to Automatic-Module-Name and drop the module-info file then, do you agree?

I don't know, the error looks like it is complaining about the jar itself? I have never published anything to maven central so I don't know. Automatic-Module-Name is good enough for now though so thanks for that


Summary stats

Fix for bug "Error on fetching metabolomics data for a metabolite"

Replaced by summary-fix


gutter.neon only as a binary?

gutter.neon seems to contain the game logic and text. It is only available in binary form, apparently? That's a shame, because it would make a very good example for how to use the adventure engine and its scripting language.

The gutter.neon file is generated by the NeonNoirEditor. It takes in two files: gutter.json (which defines all the locations, scenes, hit locations, and dialogues) and the gutter.nscript files (which defines in "noirscript" all of the actions that will happen when something gets clicked.
Noirscript is an assembly-ish language that gets compiled into bytecode by the editor. The "engine" will look at that bytecode and make calls within the engine. Unfortunately I don't have any documentation on noirscript, but you can see what it looks like if you look at gutter.nscript.
I hope this helps. Eventually I'd like to fix all the issues with these tools so people can easily make their own games.


[Feature Request]: Pretty print for PublisherCollection

Problem statement
One of the first items in tutorial 1 is the introduction of the PublisherCollection.
from fundus import PublisherCollection

PublisherCollection.us

For better transparency, it would be great if one could print a PublisherCollection and get a nice printout.
I.e. this should work:
print(PublisherCollection.us)
print(PublisherCollection.de)
print(PublisherCollection)

Solution
Some printout that contains the number of sources and a (potentially truncated) list of sources.
Something like:
print([source for source in PublisherCollection.us])

Additional Context
No response

Sounds like a good idea to me. I will try to make this happen but that could be somewhat complicated because the PublisherCollection is built on top of Python's Enum implementation and to do that I would have to overwrite the __str__ dunder method of EnumMeta and currently I have no idea how to do that. Let's see how that goes.


Update actions versions in GitHub workflow

Body
We need to check the versions of our used GitHub actions, e.g. checkout and updated where appropriate.
Mentoring
As this ticket is marked as good first issue: one of @dominikriemer, @tenthe, or @bossenti are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.

We need to check the versions of our used GitHub actions, e.g. checkout and updated where appropriate.

@bossenti Is this what you want? https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

Hi @WaterLemons2k,
thanks for responding.
This issue is not about dependabot. The idea is to update the version of the used actions in [1].
Therefore you need to check the uses variable and check if there is a new version available.
Example:
- name: Checkout
  uses: actions/checkout@v1

to
- name: Checkout
  uses: actions/checkout@v3

[1] https://github.com/apache/streampipes/tree/dev/.github/workflows

I think the link is about actually doing this via @dependabot
So that would be great @WaterLemons2k 👍🏼

@tenthe @bossenti Thanks everyone!
Need a PR?

Would be great if you could come up with it :)

@WaterLemons2k, I am sorry my fault.
That would be awsome, thank you


Slurm resource allocation and usage

We can submit jobs to the Slurm scheduler via the --slurm argument. This is great. By default we have Slurm log files in .snakemake/slurm_logs/. We can implement fallible rule and dynamic resource allocation on a per-rule basis with retries and  resources directives. What is missing in the Slurm logs is the resources assigned to each rule, can we make this info emerge in the log files?
Second, question. HPC resources allocation is notoriously a bit of a try and error process, especially with poorly documented/experimental tools. Reasonably recent Slurm versions offer the seff script to assess the efficiency of a job. Can we consider running it on a per-job basis, collect some statistics and make them available to the users either in the slurm_logs or in the Snakemake report if required? Maybe organize the slurm_logs folder into two subfolders one holding the current jobs logs and the other jobs statistics.

OK I just figured out that resource allocation is reported in the slurm_logs files :)
I still think it would be nice to have the info of resources utilization efficiency somewhere. As a bonus, one could also get the reason why some jobs fail (timeout, oom etc) becasue seff reports it. Probably a similar result could be achieved with sacct and some calculation on the Snakemake side, the advantage of sacct is that is older and present in earlier Slurm versions.

Have you tried snakemake's benchmarks? It provides info on time, memory, load, etc...

closing this issue - meanwhile snakemake >=v8 supports the slurm executor plugin and the benchmark feature works just fine.
Relying on seff might be severely misleading: SLURM samples the job, however snakemake submits itself and then - upon request - will benchmark your applications. If using seff this overhead will be considered, too. If working on a slow file system, this will lead to lousy figures.


[BP-2188] Payment method availability gets checked on shipping address

The Buckaroo module overrides the default Magento check to determine if a payment method is available for a cart:
https://github.com/buckaroo-it/Magento2/blob/master/Model/Checks/CanUseForCountry/CountryProvider.php
The logic that has been changed, is that it checks the shipping country instead of the billing country. I think it's undesirable and doesn't make sense, but most of all it kills the checkout if the cart's billing country is different from the shipping country. This is because the Buckaroo module only overrides the functionality that is being used to fill the payment method list in the checkout. When the customer selects a payment method in the checkout, Magento uses another check (which is in \Magento\Payment\Model\Method\AbstractMethod::validate()) that still uses the billing address.
So which situation doesn't work?
Configure two payment methods: one only available in NL (e.g. iDeal) and one only available in BE (e.g. Bancontact). Then in the checkout, select NL as shipping country and BE as billing country. You only see iDeal now as available payment method, but selecting it produces an error: You can't use the payment type you selected to make payments to the billing country..
What should be done?
I think that the overridden check should be removed. But most probably, there was a reason to add it (see commit  b6feba5c07472f68c4ec8a82cb1a88d22a8db25f which references an internal ticket) and most probably it was to handle a specific situation for a specific payment method. Then please make it only affect that situation.

@markvds  Thank you for your extensive research and explanation. We're going to look into this.

Released in v1.46.0


HIVE-27127: Upgrade jackson version to 2.13.5

What changes were proposed in this pull request?

Upgrade jackson version to 2.13.5
Why are the changes needed?

To resolve CVE-2022-42004
Does this PR introduce any user-facing change?

No
How was this patch tested?

Existing tests

Same question do you need help to merge this? :)

Same question do you need help to merge this? :)

Sure, that would be great.

@veghlaci05 Could you pls help to @shreeyasand tomorrow?

@TuroczyX could you help review the PR?

Sorry for reviewing it so lately, I completely forgot about this one.


Update Newtonsoft.Json to a version unaffected by CVE-2024-21907

Description
https://github.com/microsoft/vstest/blob/07acde22b65497e72de145d57167b83609a7f7fb/temp/testhost/testhost.deps.json#L18 and a few other places refer to Newtonsoft <IP_ADDRESS> which is affected by https://github.com/advisories/GHSA-5crp-9r3c-p9vr
suggest to upgrade to <IP_ADDRESS>.1 everywhere to silence dependency security scanners.
Steps to reproduce
Scan dotnet sdk 6.0.425 release with a security scanner, which finds the vulnerable version referenced in usr/share/dotnet/sdk/6.0.425/testhost.deps.json
Expected behavior
No security scanner warnings
Actual behavior
triggers on above security advisory
Environment
SUSE Linux Enterprise 15

we are shipping 13.0.3 in net6, in this fix https://github.com/dotnet/installer/pull/19320/files we are rewriting the testhost.deps.json to reflect that. This is how the dll looks like in ilspy:

Where is the version <IP_ADDRESS>.1 you mentioned coming from?

Where is the version <IP_ADDRESS>.1 you mentioned coming from?

sorry, I meant 13.0.1 which is mentioned as the solution for the https://github.com/advisories/GHSA-5crp-9r3c-p9vr advisory.
I can still find the references in "dotnet-sdk-6.0-6.0.425-1.x86_64" which comes from packages.microsoft.com:
# grep -r Newtonsoft.Json/<IP_ADDRESS> /usr/share/dotnet/sdk/6.0.425/
/usr/share/dotnet/sdk/6.0.425/testhost.deps.json:      "Newtonsoft.Json/<IP_ADDRESS>": {
/usr/share/dotnet/sdk/6.0.425/testhost.deps.json:    "Newtonsoft.Json/<IP_ADDRESS>": {

a user of us is running some security scanner which barfs on that.


dart2js: inlining difference in dart2

This example shows _checkLength gets inlined in Dart1 but not in Dart2. The _checkLength function simply returns the parameter and has no checks, even in compliance mode.
import 'dart:typed_data';

const C = 304;

main() {
  print(new Uint8List(0));
  print(new Uint8List(C));
}

@rakudrama - is this something that should be fixed before dart2stable?

https://dart-review.googlesource.com/c/sdk/+/58542 fixes this instance.


github: Drop the publish job's action type check

Current publish job is only triggered by published release. But, it is guarded by "released" action. The mismatched condition blocks the jobs. Drop the publish job's action type check to avoid this issue.

This to me looks necessary but not sufficient. Rereading the documentation at https://github.com/deep-entertainment/godot-asset-lib-action?tab=readme-ov-file#example-usage I don't know why I included this check. But I see that we need to provide a template for the submission as well. I'll look at adding that.


How to upload asses after completion of both Windows and Linux run

Here is my current setup I use for action:
on: [push]

jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]

    runs-on: ${{ matrix.os }}

In my case, windows run takes much more time to complete and build the executable than Linux VM. In such cases, how do I wait for Windows VM to complete the job and trigger the upload process to github release?

I also have a similar question. I am not using matrix but I have windows, mac, linux (x86_64, arm7, and arm64) builds and I want to attach them all to a single release. I tried this:
jobs:
  publish:
    runs-on: ubuntu-latest
    needs: [windows, mac, linux]
    steps:
      - name: zip windows
        run: |
          cd build-windows-x86_64
          zip ../my_raylib_game-windows.zip my_raylib_game.exe
      - name: zip mac
        run: |
          cd build-mac-universal
          zip ../my_raylib_game-mac.zip my_raylib_game
      - name: zip linux-x86_64
        run: |
          cd build-linux-x86_64
          zip ../my_raylib_game-linux-x86_64.zip my_raylib_game
      - name: zip linux-arm64
        run: |
          cd build-linux-arm64
          zip ../my_raylib_game-linux-arm64.zip my_raylib_game
      - name: zip linux-arm7
        run: |
          cd build-linux-arm7
          zip ../my_raylib_game-linux-arm7.zip my_raylib_game
      - name: create_release
        uses: softprops/action-gh-release@v1
        with:
          files: |
            my_raylib_game-windows.zip
            my_raylib_game-mac.zip
            my_raylib_game-linux-x86_64.zip
            my_raylib_game-linux-arm64.zip
            my_raylib_game-linux-arm7.zip

  windows:
    # some build steps, first step is actions/checkout@v2
  mac:
    # some build steps, first step is actions/checkout@v2
  linux:
    # some build steps, first step is actions/checkout@v2

First it runs all the builds, but then the zip steps don't work. I tried sharing the actions/checkout@v2 between all steps with a needs in each build-step, but then the builds don't work because it doesn't seem to share the filesystem.
Am I thinking about this wrong?

I did something similar here, where I create the release, then used the upload_url and actions/upload-release-asset to attach them all, but I'm not sure how to do that here.

actions/upload-release-asset is not maintained any more and causes lots of warnings due to the recent set-output deprecation.
I migrated to https://github.com/shogo82148/actions-upload-release-asset

I ended up solving my usecase with create_release/actions/upload-release-asset@v1

One approach, not specific to action-gh-release is to use artifacts (see https://github.com/actions/upload-artifact and https://github.com/actions/download-artifact ) to communicate the built stuff from earlier stages to a later stage that invokes action-gh-release to build the release.  An example of a workflow that does that, though probably overly complicated for what you want, is at https://github.com/angband/angband/blob/master/.github/workflows/release.yaml .


fix: Pandas Column Stats Extractor error cast type: str to float

Summary of Changes
Force STAT_MAPPINGS: Min, Max, Range: from data type float to str
Tests

tested with column have data type: int, float, datetime (I did not face error: ValueError: could not convert string to float: '2018-04-30 17:35:25' with data type  datetime anymore.

Documentation

CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

thanks! please remember to complete Github DCO so I can merge

done, @mgorsk1


Class Thing not found in BxOAuthAPI.php

OAuth2 to Chat+ isn't working.  Stubbing in "Thing" fixes it.  I was unable to get bx_include('Thing') to work.

Is it happening in Dolphin 7.3.3 or in current version downloaded from GitHub ?

Master from GitHub.
On Jan 10, 2017 9:26 AM, "Alex Trofimov"<EMAIL_ADDRESS>wrote:

Is it happening in Dolphin 7.3.3 or in current version downloaded from
GitHub ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/boonex/dolphin.pro/issues/519#issuecomment-271604606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGBVZXh3ZUuHd34buRlso1-FvZdZBcZks5rQ6MagaJpZM4Le07K
.

Thank you for the report.


ipynb vs qmd

We ought to work out a good strategy re jupyter (.ipynb) notebooks vs quarto (.qmd) notebooks.  The quarto publishing system is happy to render from either source, so we don't necessarily have to stick with just one format.  .ipynb can run either python or R kernels, but I don't think it supports doing both in a single notebook the way quarto does.  I'm slightly partial to qmd, because the plain-text version is 'source only', while the plain-text of ipynb is raw JSON that isn't particularly human-readable / editable (i.e. can't be edited in RStudio or any other standard text editor that doesn't explicitly support it), and it mixes inputs and outputs in a single file (whereas version control and reproducible workflows usually emphasize a clean separation between "source" and derived outputs).
OTOH, ipynb is more widely recognized, at least within the python world, and renders on GitHub.  I also find the ipynb experience in VSCode/codespaces to be more polished than the quarto experience right now (e.g. results and images render in-line in the notebook, not just echoed to console).
For the reasons, we should probably have examples of both .qmd and .ipynb recipes in contents/ and somehow document that this is a deliberate illustration of these modalities...

done, see #22


update webform styling

ok to merge, but will need one more commit to fix the issue identified in the ticket comment.


Testing in a macbook pro

Thanks for sharing the model, I have been able to test it on my macbook pro, i9 with 32 GB of ram. I notice that the cpu goes to 400% when inferring the answer, and the gpu goes to 0%. Is it possible to make the model use the gpu? Radeon Pro Vega 20 4GB

The required package sentence-transformers is available. There is a hyphen instead of underscore in the package name.
Currently the model is the quantized version of the mpt-30b-chat model which is being loaded with Ctransformers. You can use the original huggingface llm with this code
import transformers
llm = transformers.AutoModelForCausalLM.from_pretrained(
  'mosaicml/mpt-30b-chat',
  trust_remote_code=True
)

You should replace lines 73 to 78 in question_answer_docs.py with the above code. It should work fine ( I haven't tried) with GPU if you have the GPU which can hold the 30b parameter model.
refer this "https://github.com/mayooear/private-chatbot-mpt30b-langchain/issues/1#issuecomment-1614173626"

Hi!, i have tried with your suggestion, but i am getting this error:
pip --version
pip 23.2.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
python3.11 -m pip install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.11/site-packages (23.2.1)
python3.11 -m pip install einops
Requirement already satisfied: einops in /usr/local/lib/python3.11/site-packages (0.6.1)
make server
poetry run python question_answer_docs_server.py
embeddings_model_name is  all-MiniLM-L6-v2
persist_directory is  db
model_path is  models/mpt-30b-chat.ggmlv0.q4_1.bin
target_source_chunks is  4
Initializing model for the first time...
Loading model... models/mpt-30b-chat.ggmlv0.q4_1.bin
This modeling file requires the following packages that were not found in your environment: einops. Run pip install einops
Traceback (most recent call last):
File "/Users/aironman/git/private-chatbot-mpt30b-langchain/question_answer_docs_server.py", line 139, in
init()
File "/Users/aironman/git/private-chatbot-mpt30b-langchain/question_answer_docs_server.py", line 127, in init
llm=load_model(),
^^^^^^^^^^^^
File "/Users/aironman/git/private-chatbot-mpt30b-langchain/question_answer_docs_server.py", line 58, in load_model
llm = transformers.AutoModelForCausalLM.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/private-chatbot-mpt30b-aREpNEbB-py3.11/lib/python3.11/site-packages/transformers/models/auto/auto_factory.py", line 475, in from_pretrained
model_class = get_class_from_dynamic_module(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/private-chatbot-mpt30b-aREpNEbB-py3.11/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 431, in get_class_from_dynamic_module
final_module = get_cached_module_file(
^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/private-chatbot-mpt30b-aREpNEbB-py3.11/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 306, in get_cached_module_file
get_cached_module_file(
File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/private-chatbot-mpt30b-aREpNEbB-py3.11/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 268, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/private-chatbot-mpt30b-aREpNEbB-py3.11/lib/python3.11/site-packages/transformers/dynamic_module_utils.py", line 151, in check_imports
raise ImportError(
ImportError: This modeling file requires the following packages that were not found in your environment: einops. Run pip install einops
make: *** [server] Error 1
i have tried to install einops, but, as you can see i am using poetry


Replace pickle with JSON

In collaboration with @ivan-klass, this pull request addresses a critical issue in the django-constance where values were saved using Python's pickle serialization. Moreover redis and database backends do this quite differently. That approach posed significant security risks and made the stored data incompatible with other programming languages.
Changes Introduced
Implemented a custom JSON serializer and deserializer for django-constance.
The new serializer encodes objects in the format:
{"__type__": "discriminator", "__value__": "..."}

This change enhances security by eliminating the use of pickle and ensuring the data remains human-readable and backend-agnostic.
It also enables interoperability with other programming languages since the JSON format is widely supported.
Benefits

Security: The removal of pickle mitigates the associated security vulnerabilities.
Readability: The stored values are now in a JSON format, making them easily understandable regardless of the backend.
Interoperability: JSON is a universal format, enabling the data to be accessed and manipulated in other programming languages without the need for unpickling Python-specific objects.
Backend Unification: The new approach provides a unified way to store and retrieve values, regardless of the backend being used.

Risks

Backward Compatibility: Existing data stored using pickle may not be compatible with the new JSON-based serialization. Our changes contain migration strategy, but not all cases might be covered. As a result, this change should bump a major version part.

Fix #101

@Mogost I love it. Please fix the coverage warnings to merge it.

@Mogost I love it. Please fix the coverage warnings to merge it.

Done. All new lines are covered.

@Mogost how should one go about upgrading to constance V4 without downtime? Doesn't the migration breaking running old versions immediately?

@phb-teleclinic i think its not possible to migrate v2 -> v3 / v3 -> v4 without downtime.

@Mogost @camilonova, would you approve a contribution to the 3.x branch to make a release that can both read JSON and Pickle values?

json/pickle change is in v4. v3 contains table change. Both changes are backward incompatible.
If you strongly need migration without downtime, you can create a proxy object on your own side to maintain compatibility during the transition. However, I wouldn't want to see backward compatibility code in django-constance.


Using < in the limits of a sum leads to rendering issues

I encountered the following bug:
Using < in the sum-operator doesn’t work and will not be rendered.
To reproduce:
\\[
\sum_{i’<i} \alpha_{i’j}
\\]

will not produce a correct formula where as:
\\[
\sum_{i’ = 0}^{i-1} \alpha_{i’j}
\\]

works.

Tested with Marked 2 (2.5.10) and using the MathJax configuration: TeX-AMS-MML_HTMLorMML-full

Please read the documentation http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents.


When the train is about to arrive, report the station

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: I'm always frustrated when...
There was no report when the train was about to arrive. It was particularly unreal!
Describe the solution you'd like
A clear and concise description of what you want to happen.
When the train is about to arrive, report the station
Additional Information
Add any other context or screenshots about the feature request here.

No one responded! ! !

Your issue is incorrectly filled.

it would be a good idea but be patient i guess

I saw some audio files (just after jonafanho's m train announcement) that read the next station (although at the time only Town Centre), a message saying to mind the gap, and a message saying 'For the convenience of other passengers, please do not smoke, eat, or drink on LRT platforms, and inside train compartments. Thank you.'
If you're talking about a message in chat, you can enable it in Railway Dashboard > Options.

This can be done with the train schedule or redstone sensor blocks. Thanks for your suggestion!


Make InputOrGroup accessible through library.

Creating complex 'custom' fields by hand is currently a challenging task. Especially most of the times, we only want to add a small button the the field and that requires rebuilding everything from scratch.
Having access to the 'InputOrGroup' element would significantly streamline this process, allowing for the reuse of the library's existing structures.
This would enable a more straightforward way to add complex structures to the sidebar fields, enhancing the user experience and development efficiency.
This is related to https://github.com/measuredco/puck/issues/361

@johannbuscail great suggestion. We will likely want to rename the component (possibly to Puck.Field - open to suggestions).
This will increase the API surface area for breaking changes.

Closing in favour of #463


migrate to pyproject.toml

closes #1301
Checklist

[ ] No CHANGELOG update needed

[x] No new tests needed

[x] No documentation update needed

dependabot should still work with this 🤞


Adding location to "microsoft.alertsmanagement/smartdetectoralertrules"

As of this morning (8/28/19) our deployments that were successful yesterday started failing due with:
{
"error": {
"code": "LocationRequired",
"message": "The location property is required for this definition."
}
}
After some experimentation we were able to get this to deploy by adding:
"location": "global"
I don't know for certain if this is the 100% accurate value to use or not.  Please Confirm
I can also be reached at<EMAIL_ADDRESS>

@kipphoward, thank you so much for your contribution! A separate user raised a GitHub Issue against the doc for the same issue and one of our frontline customer experience engineers generated a PR to resolve the issue. Typically we would have merged the first PR to fix the issue in the docs, which in this case was your PR, but unfortunately in the rush to fix the docs your PR was missed.
Since the issue is now resolved we are going to close out the PR, but thank you again for helping to improve our docs!

#please-close


[v1.13] Rename bpfClockProbe Helm variable

Author backport of https://github.com/cilium/cilium/pull/26981
[ upstream commit e2d5ae9400796e0f4e8151fc1ad24bf06909c5c2 ]
Rename the Helm variable in values.yaml.tmpl as it was incorrectly named bpf.clockProbe instead of bpfClockProbe.
This will cause the bpf clock probe to be disabled everywhere. Which is currently necessary as it can otherwise cause interrupted connections after an upgrade, due to the garbage collector removing valid entries.

/test

/test-backport-1.13

/test-1.24-4.19


To do

Desktop Environments

[ ] Add Unity

[ ] Add GNOME Flashback

[ ] Allow users to choose their default Window Manager

Applications

[ ] Allow users to choose apps they want to install

Misc

[ ] Allow users to choose a GRUB theme

[ ] Save settings for use at another time (Help wanted)

That would be a pain in the neck for me

@treatmeniceplz these are my to-dos - you don't have to do them.
You're welcome to do a PR and do the ones you want to do.


reserved identifier violation

Describe the bug
I would like to point out that identifiers like “m__raw_measurements” and “p__io” do eventually not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?
What hardware does this issue affect?
comma three, comma two, EON Gold
Provide a route where the issue occurs
77611a1fac303767|2020-05-11--16-37-07
openpilot version
25c8baae41ddeb6070597e3f27a48595ac8319ca
Additional info
No response

This is auto-generated code from kaitai. So you should probably make an issue on their repo: https://github.com/kaitai-io/kaitai_struct/issues

:thought_balloon: Do you control if such a parser generator would be applied for an implementation of the programming language “C++”?

Not sure what you mean by that? Nothing is currently broken, so don't think this worth an issue. Feel free to submit a PR to the kaitai generator to conform to the standard.

Nothing is currently broken,

This view depends on the interpretation of the handling for mentioned identifiers.
Can the use of double underscores be treated according to naming rules of the programming language “C”?

so don't think this worth an issue.

I imagine that contents from a file like “gps.cpp” can trigger further software development considerations.
How do you think about to avoid that this software depends on undefined behaviour? :thinking:


Chem | DrugBank: some Molfiles are possibly malformed

Some of the molfiles from DrugBank open dataset cannot be constructed with RDKit get_mol() resulting in the following error:
Possibly a malformed molString: `
  Mrv1902<PHONE_NUMBER>2D

 11 10  0  0  0  0            999 V2000
    0.9818    0.5834    0.0000 Cl  0  0  0  0  0  0  0  0  0  0  0  0
    0.9818   -0.5834    0.0000 Cl  0  0  0  0  0  0  0  0  0  0  0  0
    0.3984    0.0000    0.0000 Pt  0  0  0  0  0  0  0  0  0  0  0  0
    0.0286    1.3803    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
   -0.9818   -0.3699    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
   -0.9818    0.3698    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
    0.0285   -1.3803    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
   -0.1849   -0.5834    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   -0.3984   -1.3803    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
   -0.1849    0.5834    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   -0.9818    0.7969    0.0000 H   0  0  0  0  0  0  0  0  0  0  0  0
  3  1  1  0  0  0  0
  3  2  1  0  0  0  0
  3  8  1  0  0  0  0
  3 10  1  0  0  0  0
 10  6  1  0  0  0  0
 10  4  1  0  0  0  0
  8  5  1  0  0  0  0
  8  7  1  0  0  0  0
  8  9  1  0  0  0  0
 10 11  1  0  0  0  0
M  END
`

The following DrugBank ID Molfiles are causing the same error: DB00515, DB00526, DB00958, DB14497, DB12453.
db.csv

Is it still needed?

@vdyma ?

Yes, the error still persists. I manually removed entries with malformed molString from the db.csv for now.

This problem is not very harmful and could potentially take a lot of effort to fix, so I'm closing it as not planned.
@StLeonidas FYI


add child to hidden flowContainer will not be sorted

Godot version
v4.2.beta.mono.custom_build [e8d57afae]
System information
Godot v4.2.beta.mono (e8d57afae) - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; <IP_ADDRESS>13) - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)
Issue description
add child to hidden flowContainer will not be sorted.
hidden flowContainer queue_sort not work
Steps to reproduce
run my demo project
Minimal reproduction project
demo.zip

Containers don't sort children when invisible, this is intended.
You can set modulate alpha to 0 if you want it "invisible" but functional.


(server) Why is <IP_ADDRESS> displayed as localhost?

What is the reason that <IP_ADDRESS> is forced to be displayed as localhost on this line: https://github.com/nuxt/nuxt.js/blob/dev/lib/core/nuxt.js#L121? I used git blame but couldnt find a reason.
The thing is, <IP_ADDRESS> is not the same as localhost. Normally localhost runs as <IP_ADDRESS> so the nuxt server is only attached to the loopback interface. If you use <IP_ADDRESS> it means that the nuxt server will attach to all available interfaces on the server: loopback, eth0, br0, enp2s0 etc.
For me its a bit confusing as I am developing on a remote server and cant therefore use the default config localhost. But when I change it to <IP_ADDRESS> it still reads at localhost so sometimes when I cant reach the remote server I have to check whether my config has not been overwritten. It would be helpfull if that line could be removed so it will just read http://localhost:3000/ or http://<IP_ADDRESS>:3000

This is because http://<IP_ADDRESS>:3000 cannot be opened in all browsers! BTW I agree with you maybe we can add some note on console that it is actually listening to all interfaces but is accessible with localhost too :)

You mean so that you can click on that line in the console?

Exactly. The main intention for OPEN message was clicked to open in the browser.
Another idea is we can change open message to something else when not running in dev mode like: nuxt server is listening to <IP_ADDRESS>:3000

We could also enumerate all available ip addresses on the server when <IP_ADDRESS> is used? Would probably be the most informational without too much of a change/impact.

Another option for us was using os.hostname(). But localhost is still preferred because browsers assume localhost and <IP_ADDRESS> as secure origins. So users can test many features including service workers without any problems. We can use the approach of similar CLIs that show two options if dev/prod server is listening on <IP_ADDRESS>:
OPEN: http://localhost:3000
OPEN (LAN): http://hostname:3000

See #3449.

@manniL Did you read @pi0 comments in my previous PR? He had a specific reason for changing <IP_ADDRESS> to localhost which I didnt understand / agree with. Therefor I closed that PR.

@pimlie Must have missed that. I guess we should wait for @pi0 to resolve this issue :relaxed:

Can you try latest nuxt-edge? https://github.com/nuxt/nuxt.js/pull/3529 has made some changes for it.

Implemented in https://github.com/nuxt/nuxt.js/commit/a3926d5266e02038ac26aba71396906354a34dc9
It shows the ip address if listening to <IP_ADDRESS>

Although this is a small improvement over localhost, I still think this implementation is wrong because it is not following expected conventions when using <IP_ADDRESS>. The normal convention would be to either print all ip addresses or just <IP_ADDRESS> it self. Printing only one address leaves room for the user to be confused and to think his configuration is not correct / not picked up or in the wrong place.
Imho if you configure a server to run on all interfaces the logs should reflect that.

I see, the issue was that http://<IP_ADDRESS>:3000 does not work, and if someone listen to <IP_ADDRESS>, he/she knows that it's listening to all interfaces directly. We display the one that is mostly used.


Upgrade installing-rc5.md

Works for RC5.

I've updated installing and optional setup pages (in develop branch) with this PR content, can you check the correctness of exim steps?


Claims gone

I don’t remember the exact amount of claims I had but I know I had at least 50 that are now gone and would just like to be able to have them back or the money for them, whatever is easiest..?

What's your IGN?

Toothless

Didn’t show up right.. it’s Toothless with 2 underscores before and after..
..Toothless..
replace periods with underscores

I've given you 50 claims. Let us know if you have any more issues.


Add picardtools collecthsmetrics

Our in-house pipeline uses this tool and we want to add this to the nextflow pipeline. It's not part of nf-core modules yet: https://github.com/nf-core/modules/issues/793.
Once the module is added to nf-core/modules, then it'll be added to subworkflow qc_bam.nf

https://github.com/nf-core/modules/pull/927


create RacingKings variant

Racing kings was identified in  ornicar/lila#441 as a popular doable variant. Here is an implementation.
Rules: http://www.chessvariants.org/diffobjective.dir/racing.html

Adding some references courtesy of @Evropi.
ChessWhiz playing Racing kings:

https://www.youtube.com/watch?v=YRMfJ3Bj7yA&feature=youtu.be

Alternative starting positions:

https://embed.gyazo.com/b05416b53a4ef9a85f4dacb1147c3c8e.png
https://embed.gyazo.com/a06e735e4eb61ed7ab724c9af0bc1fc7.png

This looks well implemented. Let me ask #lichess and see if we want to give lichess a new variant.

Sneaked in: "should give black one more move" "but not if it does not matter anyway"

:+1:

Another for my starting positions idea tray:

There seems to be a consensus regarding the starting position. Usual reservations about future changes, once we see how it develops.
If we want to go forward with this, a good next step could be to merge this, then carefully reroll #892 with it.

Once you merge your branch with master, you'll have to adjust your variant to override the new methods in Variant.scala to determine whether the situation is a draw, or a draw on a user flagging.
Let me know if you need a hand with this :).


add landing page to v2/checkout/orders

In code i see commented ApplicationContext but now you can see at the documentation LandingPage https://developer.paypal.com/api/orders/v2/#definition-order_application_context

I tested it and application_context is still usable,  but the doc reference is not correct in the code
they reference to a V1 api doc but actually request a V2 endpoint
so LandingPage should also available but the commentd it out


Yomiroll, video playback problem

Source information and language
Yomiroll 13.24 (All)
Steps to reproduce
I select an anime from the library and try to play the episodes, apparently only the first three episodes are played.
Expected behavior
All episodes should play normally.
Actual behavior
Only episodes 1, 2 and 3 play.
Aniyomi version
Beta r6412
Android version
Android 9
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[x] I have updated the app to version <IP_ADDRESS>
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

I have the same problem, please fix the error

The response with yomiroll token doesn't return "streams_link" field
cc @Samfun75

Well i guess the account stopped being premium again...

I can play some videos and mostly the videos couldn't be played. For example , the first 3 episodes of mashle can be played but the remaining episodes of that anime cannot be played , the link couldn't be fetched

👀

Also having this problem, it seems like downloading doesn't work no matter what episode you try.

Token is updated to premium and extension is working fine again. Closing.


Could not open order: trade is not allowed in the expert properties

Hi, I'm testing your solution but I often receive the error in the object. Check out the following log:
open_order BTCUSD. buy 44182.04
ERROR | OPEN_ORDER | Could not open order: trade is not allowed in the expert properties
open_order BTCUSD. buy 44175.0
INFO | Successfully sent order 20360199: BTCUSD., buy, 0.01, 44175.00
New order:  {'magic': 0, 'symbol': 'BTCUSD.', 'lots': 0.01, 'type': 'buy', 'open_price': 44175.0, 'open_time': '2022.04.06 17:01:58', 'SL': 0.0, 'TP': 0.0, 'pnl': -0.48, 'commission': 0.0, 'swap': 0.0, 'comment': ''}
on_order_event. open_orders: 1 open orders
open_order BTCUSD. sell 44094.47
ERROR | OPEN_ORDER_MAXIMUM_NUMBER | Number of orders (1) larger than or equal to MaximumOrders (1).
ERROR | CLOSE_ORDER_TICKET | Could not close position 20360199: trade is not allowed in the expert properties
open_order BTCUSD. buy 44150.46
ERROR | OPEN_ORDER | Could not open order: trade is not allowed in the expert properties

Obviously I've triple checked that trade is allowed for the EA and generally for the platform...as you can see sometimes the position gets opened. Am I missing something? What can I check?

It might be that you put dwx connect EA to several graphs and there is EA settings on one or some graphs that you haven't modify. But well that is only my assumption

Hi,
Three things come to mind that I would check:

The issue that handgun50 pointed out, having multiple instances of the same EA.

The OPEN_ORDER_MAXIMUM_NUMBER refers to the EA setting, which by default only allows 1 order. So you would have to increase the number in the EA settings.

It often happens to me that I add an EA and only afterwards turn off auto trading. In this case MT4 will not overwrite the setting of already added EAs. So you always have to first allow auto trading and only initialize the EA afterwards.

I hope that helps. Please let us know if the issue still occurs.


Transform a Column type from Reference to Text

I have a column which is of Reference type
I change it to Text
The empty cells are now populated with Lin[0] which makes sense on a development standpoint but probably not for average users

Generally speaking, I think you should test (or forbid, for that matter) conversions of Columns from one type to another:

Reference List > Text > Reference generates weird control codes in each cell

Thanks @asitemade4u. Good points. The u in [u'tst'] will be gone soon at least, it is a Python2 unicode support thing.

I have been working hard on this for weeks now and have drastically overhauled the type conversion system in https://github.com/gristlabs/grist-core/commit/5d671bf0b30760d40b424035ab8afb6722cdd583 ! You should be able to take advantage of this immediately, but the changes will only appear in https://docs.getgrist.com/ next week.
Both your examples have been fixed, several other cases of type conversion have been improved and made more consistent with other parts of Grist, and extensive tests have been added for many combinations of types!


We shouldn't have the license in every single code file

Every code file has a header with the license in it. We should have it in one place and refer to it.

Yes we should. Per the license document itself:

APPENDIX: How to apply the Apache License to your work
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Note also that the full license is here in our repository.


pull request for e2e test at 01/30/2017 23:45:11

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Check for updates not working from Win7 atom 0.182

Windows 7 SP1 x64, Atom 0.182.0
The check for updates fails on one of my machines (even though I know 0.187 is available). The check eventually times out. On startup, the menu changes from "Checking for update" (disabled) to "Check for update" (enabled). If I manually select "Check for update" the check times out and shows the "No update available. Version 0.182.0 is the latest version." message dialog
Is there any kind of Fiddler magic I can provide to attempt to debug this issue?
Thanks.

I only noticed this in 182 but it possibly started earlier: the install directory is no longer program files, but appdata (for some reason). When a new version is installed, it installs to a new directory, but all your shortcuts still point to the old directory. Look in AppData\Local\atom\ and see if you have more recent versions. It's a horrible way of updating and you'll have to manually change your shortcuts (or do some voodoo with batch files) but I found that I actually do have 187, it's just that my shortcuts still all pointed to 182.

This is probably a symptom of not clearing out old install methods (maybe
chocolatey?) before switching to the current official installer.  Do a
remove from windows software and manually remove everything else you can
find.  Then a fresh install from the atom.io home page should fix you up.
On Sat, Mar 14, 2015 at 4:09 PM, Ben Plumley<EMAIL_ADDRESS>wrote:

I only noticed this in 182 but it possibly started earlier: the install
directory is no longer program files, but appdata (for some reason). When a
new version is installed, it installs to a new directory, but all your
shortcuts still point to the old directory. Look in AppData\Local\atom\ and
see if you have more recent versions. It's a horrible way of updating and
you'll have to manually change your shortcuts (or do some voodoo with batch
files) but I found that I actually do have 187, it's just that my shortcuts
still all pointed to 182.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5935#issuecomment-80757214.

I have 180, 182, 184 and 187 all languishing on my HDD.

@Zireael07 That sounds like a different issue.  Are you sure you removed all instances of Chocolatey?

Atom was auto-updated. It should remove all old instances of itself when updating. If that's not the case, then it's a bug.
Now I'm afraid to touch anything in Add/Remove Programs because I don't know which one is which.

@Zireael07 Uninstall doesn't remove ~/.atom (i.e. your settings), so uninstalling both and reinstalling is probably the easiest thing to do

@mark-hahn I have never used chocolatey, I manually installed until the auto-updater was added. I have tried reinstalling to fix this issue. As far as I'm concerned, as long as Squirrel is the updater, I'm better off fixing the various issues by hand than trying to get them resolved.

I manually installed

That probably also left things in locations not supported by the new
installer.

It should remove all old instances of itself when updating

It does, but only ones it created. You can't expect the squirrel updater to
be responsible for removing things installed with other methods.
On Sun, Mar 15, 2015 at 11:29 AM, Ben Plumley<EMAIL_ADDRESS>wrote:

@mark-hahn https://github.com/mark-hahn I have never used chocolatey, I
manually installed until the auto-updater was added. I have tried
reinstalling to fix this issue. As far as I'm concerned, as long as
Squirrel is the updater, I'm better off fixing the various issues by hand
than trying to get them resolved.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5935#issuecomment-81190341.

@mark-hahn: I never installed manually, I always had the squirrel installer.

@Zireael07 what's in the old folders?  I had an issue recently where a folder inside atom-0.1xx.0 randomly decided to not delete itself which left the entire folder structure intact (but with no actual files inside).

Are we shipping update.exe in the manual Atom folder and checking for updates? That is almost sure to cause Weird Stuff to happen

@Wliu: 180 & 182 disappeared in the meantime.
184 only has the remnants of the resources folder.
186 is complete and usable, to the point of me having to fix a shortcut or two.
Of course, there's also 187 :D

@Zireael07 my name is @50Wliu (only because Wliu was already taken)-I've already gotten berated a few times from the real Wliu for people who've accidentally left out the 50 when referencing me ;P.
186 is supposed to be there.  Squirrel keeps an old version just in case bad things happen to the newest version.  You can remove 184-it's probably the bug I said earlier (which is tracked at Squirrel/Squirrel.Windows#239).

In new versions of Squirrel, we mark these folders as "Dead", so that even if we can't delete them (though we'll keep trying), we stop trying to execute any code in them

@jimgraham same platform & same issue with yours, except my atom version is lower (0.176.0).
Looking for solutions...

I had Chocolatey, but the really old Atom is removed from there. I figure I will just reinstall the latest and see if that starts updating. I guess most updating works for most people on later versions.

@oldsharp Just delete %LocalAppData%\Atom, download the latest installer and run it, you'll be all set

@paulcbetts Tried and it works well. Thanks.

This seems like it was resolved. Closing


Write problems in latest master

Here is an screenshot of metric data rendered with Grafana. On the left side of graphs is the latest version of cyanite, on the right side version from 31.01.16 (f1ec70e). Both are running with same config, same load (4 collectd hosts with few plugins enabled) and the same Cassandra cluster. You can clearly see that cyanite cannot handle even such small load and drops messages. The older one works just fine up to 40 hosts (~20k writes into cassandra).

PS: on the left side 4 instances of cyanite is running (with one picture is even worse). On the right side only one )

Looking into that one. Weird, my perf benchmarks were showing the opposite...

@altvnk we just recently reworked to use ring buffer disruptor (starting here 66b2f171834420c7c52a9d0b685be91d75531e67). I've done some performance tests, but we'll need some more extensive testing.
We'll be reworking scheduling mechanism over the next few days. Currently I can only say that ingestion performance improved significantly, and writes are handled quite differently and with timer instead of the second queue, so at least that should not result into gaps.
I'll keep that one around as a reminder to do extensive performance testing, but hopefully we have that issue more or less handled.

Ok, thanks.

According to latest stress-tests this one is resolved