[Impeller] [iOS] performance issue when ImageFilter.blur is present

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Navigate between pages that have : ImageFilter.blur on them

The example code is a single file example that behaves the same as my project. On Impeller there are significant frame drops and without it there are none.
Expected results
https://github.com/flutter/flutter/assets/4116552/f4c97ac2-e0a1-4ac8-b2f1-2555716e961a
Actual results
https://github.com/flutter/flutter/assets/4116552/639a5207-3357-4d70-9315-cc1591ee669d
Code sample
Code sample
      import 'dart:ui';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

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

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

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  int _selectedIndex = 0;
  static const TextStyle optionStyle =
      TextStyle(fontSize: 30, fontWeight: FontWeight.bold);
  static const List<Widget> _widgetOptions = <Widget>[
    Text(
      'Index 0: Home',
      style: optionStyle,
    ),
    Text(
      'Index 1: Business',
      style: optionStyle,
    ),
    PageA()
  ];

  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('BottomNavigationBar Sample'),
      ),
      body: Center(
        child: IndexedStack(
          index: _selectedIndex,
          children: _widgetOptions,
        ),
      ),
      bottomNavigationBar: BottomNavigationBar(
        items: const <BottomNavigationBarItem>[
          BottomNavigationBarItem(
            icon: Icon(Icons.home),
            label: 'Home',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.business),
            label: 'Business',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.school),
            label: 'School',
          ),
        ],
        currentIndex: _selectedIndex,
        selectedItemColor: Colors.amber[800],
        onTap: _onItemTapped,
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      body: Stack(
        children: [
          SingleChildScrollView(
            child: Column(
              children: [
                const SizedBox(
                  height: 100,
                ),
                const Text(
                  'PageA',
                ),
                TextButton(
                  onPressed: () {
                    Navigator.of(context).push(
                      CupertinoPageRoute(
                        builder: (context) {
                          return const PageB();
                        },
                      ),
                    );
                  },
                  child: const Text('Move PageB'),
                ),
                TextFormField(),
                const SizedBox(
                  height: 1000,
                )
              ],
            ),
          ),
          Stack(
            children: [
              Positioned(
                top: 0,
                child: SizedBox(
                  height: 100,
                  width: MediaQuery.of(context).size.width,
                  child: ClipRect(
                    child: BackdropFilter(
                      filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
                      child: Container(color: Colors.black.withOpacity(0.6)),
                    ),
                  ),
                ),
              ),
              SizedBox(
                  height: 100,
                  child: Row(
                    children: [
                      IconButton(
                        onPressed: () {
                          Navigator.of(context).pop();
                        },
                        icon: Icon(Icons.chevron_left),
                      ),
                      Text('Title'),
                    ],
                  ))
            ],
          ),
        ],
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      body: Stack(
        children: [
          SingleChildScrollView(
            child: Column(
              children: [
                const SizedBox(
                  height: 100,
                ),
                const Text(
                  'PageB',
                ),
                TextButton(
                  onPressed: () {
                    Navigator.of(context).push(
                      CupertinoPageRoute(
                        builder: (context) {
                          return const PageC();
                        },
                      ),
                    );
                  },
                  child: const Text('Move PageC'),
                ),
                TextFormField(),
                const SizedBox(
                  height: 1000,
                )
              ],
            ),
          ),
          Stack(
            children: [
              Positioned(
                top: 0,
                child: SizedBox(
                  height: 100,
                  width: MediaQuery.of(context).size.width,
                  child: ClipRect(
                    child: BackdropFilter(
                      filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
                      child: Container(color: Colors.black.withOpacity(0.6)),
                    ),
                  ),
                ),
              ),
              SizedBox(
                  height: 100,
                  child: Row(
                    children: [
                      IconButton(
                        onPressed: () {
                          Navigator.of(context).pop();
                        },
                        icon: Icon(Icons.chevron_left),
                      ),
                      Text('Title'),
                    ],
                  ))
            ],
          ),
        ],
      ),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      resizeToAvoidBottomInset: false,
      body: Stack(
        children: [
          SingleChildScrollView(
            child: Column(
              children: [
                const SizedBox(
                  height: 100,
                ),
                const Text(
                  'PageC',
                ),
                TextFormField(),
                const SizedBox(
                  height: 1000,
                )
              ],
            ),
          ),
          Stack(
            children: [
              Positioned(
                top: 0,
                child: SizedBox(
                  height: 100,
                  width: MediaQuery.of(context).size.width,
                  child: ClipRect(
                    child: BackdropFilter(
                      filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
                      child: Container(color: Colors.black.withOpacity(0.6)),
                    ),
                  ),
                ),
              ),
              SizedBox(
                  height: 100,
                  child: Row(
                    children: [
                      IconButton(
                        onPressed: () {
                          Navigator.of(context).pop();
                        },
                        icon: const Icon(Icons.chevron_left),
                      ),
                      const Text('PageC'),
                    ],
                  ))
            ],
          ),
        ],
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
Without Impeller

With Impeller

Logs
Logs

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.2, on macOS 14.1.1 23B81 darwin-x64, locale en-GB)
    • Flutter version 3.16.2 on channel stable at /Users/luke/Frameworks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9e1c857886 (3 days ago), 2023-11-30 11:51:18 -0600
    • Engine revision cf7a9d0800
    • Dart version 3.2.2
    • DevTools version 2.28.3

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

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

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

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

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

[✓] Connected device (4 available)
    • iPad PRO Luke (mobile)          • 00008103-000A10AE3C6B401E • ios            • iOS 17.1.2 21B101
    • Luke Urban's iPhone XS (mobile) • 00008020-0012353C0EF8003A • ios            • iOS 17.1.1 21B91
    • macOS (desktop)                 • macos                     • darwin-x64     • macOS 14.1.1 23B81 darwin-x64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 119.0.6045.199

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

• No issues found!

Could be connected to https://github.com/flutter/flutter/issues/132735

@darshankawar i had same issue with the blur after removing it everything works well.. By the way you can't understand issue using simulator it is happening for me only real device..


Remove appveyor build

Remove appveyor and improve the github workflows. We can make upload the build to website.
Right now each build compile twice time, one in github and another on appveyor

Done


Add the network observability cli extension

The --enable-network-observability flag is used to enable network observability on an aks cluster. This adds the cli command to enable or disable this extension.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


Project setup

In this pull request, we completed the following:

Add rails new app
Add rubocop and style linters
Add bootstrap

Hi @ashmalzahra - Rubocop and the style linters have been set up and are all passing! Great job - go ahead and merge into dev!


[tool_crash] ProcessException: Directory name is invalid. Command: C:\src\flutter\bin\cache\dart-sdk\bin\pub.bat, OS error code: 267

Command
flutter doctor

Steps to Reproduce

...
...
...

Logs
ProcessException: Dizin adı geçersiz.
Command: C:\src\flutter\bin\cache\dart-sdk\bin\pub.bat, OS error code: 267
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:390:33)
#1      Process.start (dart:io-patch/process_patch.dart:36:20)
#2      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:44:22)
#3      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:664:24)
#4      _run (package:flutter_tools/src/base/error_handling_io.dart:544:20)
#5      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:663:12)
#6      _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:425:28)
#7      _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:444:35)
#8      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:283:34)
<asynchronous suspension>
#9      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:223:7)
<asynchronous suspension>
#10     PubDependencies.update (package:flutter_tools/src/flutter_cache.dart:121:5)
<asynchronous suspension>
#11     Cache.updateAll (package:flutter_tools/src/cache.dart:546:9)
<asynchronous suspension>
#12     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1143:7)
<asynchronous suspension>
#13     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)

[✓] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19043.985], locale tr-TR)
    • Flutter version 2.2.0 at C:\src\flutter
    • Framework revision b22742018b (7 days ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

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

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

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

[✓] VS Code (version 1.56.2)
    • VS Code at C:\Users\Kaosc\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[✓] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.212
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 90.0.818.62

! Doctor found issues in 2 categories.

Flutter Application Metadata
No pubspec in working directory.

Hey @Kaosc , could you provide a few more details to us to help us fix this one?

Does the file  C:\src\flutter\bin\cache\dart-sdk\bin\pub.bat exist? If so, what happens if you try and run it?
How did you install flutter?

I fix the issue with downloading the flutter sdk and set the path again. I guess something went wrong while im downloading or extracting the sdk files.

So you downloaded this from the website? It would be really great to know what went wrong so we could fix it...

I download the Flutter SDK from the website. After extracting the files I added the flutter path from the environment variables and ran flutter doctor. I received a warning that the specified path was not found on cmd. But flutter commands show up after this warning. I took ownership of the files and tried again, but the result did not change. So I deleted all the flutter files and path. I downloaded the SDK again with 3rd party software and reinstalled and did not encounter the same problem. In my case the issue was the some files were damaged while downloading or extracting I guess.

As a sanity check, I downloaded the 2.2 SDK onto my Windows box and extracted with the Windows extractor, and again with WinRAR, and was not able to reproduce this. Nevertheless, the tool could have better checks against corrupted artifacts.


How to programmatically hide annotations?

Pressing the 'd' key hides annotations. I don't see a way to do this straightforwardly (e.g. w/o simulating a keypress), such as: datacursor(hide=True)

Typically, it's easiest to call the hide method of the DataCursor instance.  hide will make all annotations created/managed by the DataCursor invisible.
E.g.
dc = datacursor()
# Interact with the gui...
dc.hide()

Note that right-clicking on an annotation will hide a specific annotation, as well.  If you'd like to do that programmatically, there's a private DataCursor._hide_box(annotation_artist) method.  However, it just does annotation_artist.set(visible=False), there's no real need to use _hide_box.
Hope that helps!


editorial: refactor GetModuleSource() to instead use [[ModuleSource]] field

This specifies https://github.com/tc39/proposal-source-phase-imports/issues/68, effectively upstreaming the [[ModuleSource]] field from ESM Phase Imports for all abstract module sources.
Overall this does seem to provide for simpler spec text.
This moves the SyntaxError from being host-defined into being a generic ECMA-262 syntax error, but this also seems a nicer simplification, and also possible to classify as editorial.
Leaving this open pending further discussion about this.

Thanks, added your wording correction. That is indeed a bug in the wording for host implementations although it's been implemented correctly in the Wasm ESM integration spec.


HIghlight bug?

after 2nd line, all highlighted like string literal..

Sorry I'm unable to reproduce this locally.

OK. I'll find what is the cause.


Multi level TOC

Hello, and thanks for this great generator.  I am using it to build Thorium Reader documentation as EPUB.
I want to add one or more sub-levels to the TOC. Is there a simple way to do that?

Thanks! There's nothing at the moment to generate a complex TOC, though I don't think this would be a difficult addition. You do have the option of supplying your own, as described here
https://github.com/marisademeglio/eleventypub?tab=readme-ov-file#what-are-the-toc-options.

Wonderful, thanks (with my apologies for not reading the entire doc before opening an issue)

Oh no problem, it's nice to hear someone is using it! Also it reminds me that I am overdue to upgrade the dependencies.


Version <IP_ADDRESS> clips image

There is always fixed size white space, image is clipped at right and bootom

good catch, was a debug artifact, fixed now (2.0.3)


Factory interface URLs are all displayed with identical text, not distinguishing the specific Office tools to which they point

Under the last bullet item (beginning with "A factory object that enables you to create..."), the four listed URLs are all displayed with the identical text of "Factory".

These are in fact pointing to the interfaces for Office, Excel, Outlook and Word (in their listed order).

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

ID: 4b8a8724-a3da-2972-ce83-af76692bedfe
Version Independent ID: 24f4c46c-bd9d-c731-2dc0-d8f9cfb4601f
Content: Global access to objects in Office projects - Visual Studio
Content Source: docs/vsto/global-access-to-objects-in-office-projects.md
Product: visual-studio-windows
Technology: office-development
GitHub Login: @John-Hart
Microsoft Alias: johnhart

This should be fixed shortly


Column Pivoting

Similar to #1, Pivoting on columns would be fairly straight forward to implement after #1 is finished.  It might even make sense to develop both at the same time.  Let's further discuss the requirements for this feature here.

Looking at this now, I think defining the columns should still take precedent here.  This would involve doing a lot of automagical data organization with minimal configuration, which at the moment doesn't seems to be the same process for everyone.
If anyone is interested in pivoting rows into columns, I would suggest performing a simple lodash groupBy + aggregation for each pivotGroup and building columns manually.
Closing for now.

Hi @tannerlinsle,
I'm trying to do row pivoting (expand when clicking on the row groups), and also column pivoting (expand when clicking on column groups); so that I can perform rollup operations on both rows and columns with the data. Since column pivoting is not supported now, I tried doing nested column header groups; but looks like that's also not supported, I can have only 2 levels of column.
For example, this doesn't work:
const columns = [{   header: 'Favorites',   headerClassName: 'my-favorites-column-header-group'   columns: [{     header: 'Color',     columns: [{       header: 'Red',        accessor: 'blah.red'     },     {       header: 'Blue',        accessor: 'blah.blue'     }]   }, ...]
Now I don't know what else I can try, do you have any suggestion? Thank you!


Turn on managed identity for IoT Hub

We want to automate the managed identity for the IoT Hub. We are using Terraform but would settle for the az cli (which can be automated in TF). What we do not want to use is ARM. I can't seem to find a way to setup a system assigned managed identiy for an IoTHub using the az cli. Have I missed something?

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

ID: 514b0c8a-a670-e0d0-17e2-ec977a572dd5
Version Independent ID: 22df9ffd-cfc7-e9d1-bb0f-a3b48ce58c17
Content: Azure IoT Hub support for virtual networks
Content Source: articles/iot-hub/virtual-network-support.md
Service: iot-fundamentals
GitHub Login: @jlian
Microsoft Alias: jlian

Hi, you can use the "--set identity.type="SystemAssigned" in iot hub update to enable it, (and set it to None to disable it), but we dont' have a "enable-identity" type switch on create or update.
Does this work for you?

Hi I tried it on an existing IoT Hub but it didn't work:
az iot hub update --name iot-xxx --set identity.type="SystemAssigned"
ERROR: Couldn't find 'identity' in ''. Available options: ['etag', 'id', 'location', 'name', 'properties', 'resourcegroup', 'sku', 'subscriptionid', 'tags', 'type']

Ok I tried it with az cli 2.16.0 and it worked. I had already posted a comment on https://github.com/terraform-providers/terraform-provider-azurerm/issues/9139 . It would be good if the azurerm TF Provider supported this too.

Good to hear that it is working. Thanks for sharing the feedback link here. It will definitely help community to provide their insights and feedback as well.

I think it should be mentioned on the Documentation page:
https://docs.microsoft.com/en-us/azure/iot-hub/virtual-network-support#egress-connectivity-from-iot-hub-to-other-azure-resources

@jlian please review this further and update the doc if necessary.

Addressing via https://github.com/MicrosoftDocs/azure-docs-pr/pull/121421

@jlian Thanks for updating the doc.
@davidlane-iteratec We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add setting variable for cite ::before content

Can the content for the ::before for the cite element in typography/_base.scss be specified with a variable, so that we can set an override?
Yes, I can just change it easily in my CSS, but it'd be nice to just be able to set a variable and have the default style be what I want from the start.

@nessthehero I agree with you on this. Could you put a PR together to fix this?
If not I'll see if I can put something together when I get time. Just let me know.

If help is needed just tell me. I'll find some time to make a PR.

I will try to whip something up!

Fixed in #9058. Will be in 6.3


Refs #28595 -- Added execute hooks for database queries

This implements the core feature of execute hooks. The next steps are making some standard hooks available, and reimplementing some existing features (e.g. assertNumQueries()) in a simpler, more straightforward way based on this.
I have strong doubts about the documentation included here -- It's complete, but could be phrased much better. Also, I couldn't find a proper place to add it to, so I put it in a separate file -- but I'm really not sure about that either.

@felixxm thanks, I accepted all your comments.
I've now also added release notes, so this may be ready to go in.

The test location doesn't look correct. The comment at the top of says "Tests for django.db.utils" which is different from "django/db/backends/utils.py". I would put the test in tests/backends/base/test_base.py since you're mostly testing the DatabaseWrapper methods.

Please check the test on Oracle. I see a crash in tearDownClass() of ExecuteHookTests.

Please use periods in docstrings and comments.

Please add imports to the documentation examples. I'll review the documentation in detail later.

@timgraham thanks -- I'm trying out @akaariai 's suggestion from the mailing list for a different API, so don't bother with a detailed review until I've updated on that.

I think #9086 is a better alternative. I'll close this one, and re-open it if we decide otherwise later. I believe I addressed there the comments that were given here.


GH-37907: [R] Setting rosetta variable is missing

Rationale for this change
Adding missing bit of code back into install_arrow() whereby some refactoring had accidentally missed one reference to a variable.
What changes are included in this PR?
Assign variable so can be used multiple times
Are these changes tested?
No
Are there any user-facing changes?
No

Closes: #37907

Closing this in favour of #37961


Added mention of the lychee_session cookie in faq and in api documentation

This PR fixes issue https://github.com/LycheeOrg/Lychee/issues/1114, by adding a mention of the lychee_session cookie in faq and api sections of the documentation.
I can remove any of the mentions, if you only want one mention in faq or in api. As I hesitated, I've added both.
Feedback is welcome, of course :clap:
edit: rebased my branch on older master, as merging this one would merge my other one too, which is unwanted

Ah, sorry. I didn't recognized that. Was the PR marked as a draft? If yes my fault, if no better mark it as a draft next time to avoid premature merge.
Anyway, could you run make and generate the HTML files?

Good question. I did not set up the CI/CD. That's totally out of my wheelhouse. @ildyria might have to say something about that.


Hardcoded http.Client without timeouts

Hardcoded http.Client prohibits the user from specifying custom timeouts, setting custom cookies etc. Especially the lack of timeouts is deadly as the default client never times out.
Additionally there is no way to use the library multiple times with different http clients without authenticating in order to use the provided constructor functions.
Solution: make the http field of the Client struct public to allow people to set their own httpClient and instantiate the Client at will.
The fact that after this change a global variable in the library will have a state which can be modified externally will however make the NoAuthClient by definition broken which should be noted in the comment above it (as removing it is not an option now without changing the library's API).

Thanks for the feedback! I'll try to make these changes as I have time, but feel free to submit a PR if this is something you end up implementing.


repo.javalite.io is down

ping repo.javalite.io
PING repo.javalite.io (<IP_ADDRESS>): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Thanks for fixing it!

@rivella50 , the snapshot repo has moved,  please see http://javalite.io/releases#current-snapshot-2.3-snapshot


Search results page should redirect to vessel and crew for those listings

Like issue #28, on the search results page, vessel and crew listings should be clickable and redirect to those pages.

Hi I'd like to try this one

Hello @lenmorld, thanks for offering to work on this! I have assigned it to you.

@lenmorld do you still want to work on this one? To replicate:

Login
Use the search bar at the top to search for something
On the results part that pops up, click the bottom link that says "See all results for SEARCH_STRING"
From there, clicking on the boarding, vessel, or crew that shows up should go to the boarding or vessel or crew page.

Currently it looks like the boarding link is clickable but doesn't actually bring up a record, and nothing happens if you click on vessel or crew.
I'm sure it will be very similar to the work in https://github.com/WildAid/o-fish-web/pull/327 so it shouldn't be too hard...

Hi @Sheeri
Yes, i did a hard reset on my branch, that's why it got closed.
I'm currently looking at it, but also blocked by the data not loading
https://developer.mongodb.com/community/forums/t/typeerror-agency-inboundpartneragencies-is-undefined/10822


Create mycdi.txt

Add College CDI
mycdi.ca email adress

@meilleur102 Please provide us with:

the school official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the school
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the school recognizes the domain which you are submitting as an official email domain for the students.

@philipto
This is the URL for the course and the web site in the same time.
http://www.cdicollege.ca/quebec/programs-and-courses/technology/programmer-analyst-internet-solutions-developer-lea-9c/
As for the last URL. The email is a outlook email. So I took a screen shoot of my inbox. I don't know if it's enough for you.
Thanks

@meilleur102 Thank you for the clarification. Pull request merged.


Allow specifying Ingress rules with http.paths with no path.

These can be rules that map different hostnames to backends, where each
backend handles all paths, so has no path field. For example:
spec:
  rules:
  - host: a.example.com
    http:
      paths:
      - backend:
          serviceName: service-a
          servicePort: web
  - host: b.example.com
    http:
      paths:
      - backend:
          serviceName: service-b
          servicePort: web

Currently this fails with:
RUNTIME ERROR: Field does not exist: path
	kube-libsonnet/kube.libsonnet:588:26-32	thunk from <object <anonymous>>

@xa4a : Thanks for fixing, looks great -- mind adding some tests for this case? I'd be matter of just adding a new field for it to tests/test-simple-validate.pass.jsonnet

@xa4a : Thanks for fixing, looks great -- mind adding some tests for this case? I'd be matter of just adding a new field for it to tests/test-simple-validate.pass.jsonnet

Is there anything blocking this PR from being merged?

Is there anything blocking this PR from being merged?

Looks like I still need an approval from @dbarranco

wohhOO thanks @dbarranco :hugs:


What dose the list option do?

After pressing the m option, there is a l fir list option.
What dose it do? there so information in the documentation...
I suspect it copes the files name/path to be used but i cant get it to work...

windows
gVim 8.0

It gives you to the value of ls -l for that node in the command line. It's basically the same thing with :!ls -l file where file is your relative or absolute file path.

In Windows, the output is the result of the DIR /Q command, which shows filename, modification date/time, file size, and owner of the selected file. @nirgivon , please close this issue if it answers your question. Thanks.

Thanks!


cannot join a voice server - I just get "Timeout waiting for voice." from ChannelVoiceJoin

VOICE error opening websocket: read tcp <IP_ADDRESS>:61155-><IP_ADDRESS>:443: read: connection reset by peer
onVoiceServerUpdate Voice.Open error:  read tcp <IP_ADDRESS>:61155-><IP_ADDRESS>:443: read: connection reset by peer

Found out this was caused by my firewall setting "Filter Anonymous Internet Requests"
which is described as "This filter blocks Internet requests from unknown sources, such as ping requests."
-- technololigy on Discord API


[BUG] BottomSheet not working with flutter 3.7

Describe the bug
First of all, Thanks for the package.
Yet, It seems that the showFlexibleBottomSheet function does not work properly anymore after the upgrade to Flutter 3.7.
Indeed, the builder function which is supposed to return the bottomSheetOffset according to the position of the modal is not updated in real-time but only at the beginning when I open the modal with the position initHeight.
import ‘package:flutter/material.dart’;
import ‘package:bottom_sheet/bottom_sheet.dart’;

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: ‘Flutter Demo’,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: ‘Home Page’),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key, required this.title});
  final String title;
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(title)),
      body: Builder(builder: (context) {
        return Center(
child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              ElevatedButton(
                child: const Text((‘Flexible modal’)),
                onPressed: () => showAppFlexibleModal(
                  context: context,
                ),
              )
            ],
          ),
        );
      }),
    );
  }
}

const kModalInitialHeightFraction = 0.42;

void showAppFlexibleModal({required BuildContext context}) {
  showFlexibleBottomSheet<void>(
    context: context,
    minHeight: kModalInitialHeightFraction,
    initHeight: kModalInitialHeightFraction,
    maxHeight: 1,
    anchors: [kModalInitialHeightFraction, 1],
    isModal: false,
    isDismissible: true,
    useRootNavigator: true,
    builder: (context, scrollController, bottomSheetOffset) => CustomScrollView(
      controller: scrollController,
      slivers: [
        SliverToBoxAdapter(
            child: Text(
          ‘Scroll offset: $bottomSheetOffset’,
          style: const TextStyle(fontSize: 20),
        )),
      ],
    ),
  );
}

Flutter version 3.3.9:

Flutter version 3.7.3:

Steps to Reproduce
Copy-paste the code above to reproduce the bug
What is the expected behavior?
In version 3.7, the offset should be updated in real time like in previous versions of Flutter (cf videos below)
Thanks a lot :)

Same here.

same here :(

same here, any update, or at least how to fork and fix it


Migration to Bond 5. EventProducer to Signal?

How to replace old usage of EventProducer in terms of Signal?

I'd go over ReactiveKit readme and see how Signal works.
If you need specific advice, please post a code sample.

Here is an example:
var bnd_lastDeal = EventProducer<Deal>()
bnd_lastDeal.next(deal)
bnd_lastDeal.observe { (deal) in
    ...
}

SafePublishSubject can be used in the same way

@iandundas is right, additionally you can also use SafeReplaySubject to get previously sent events as in your example.
var bnd_lastDeal = SafeReplaySubject<Deal>()
bnd_lastDeal.next(deal)
bnd_lastDeal.observeNext { (deal) in
    ...
}
bnd_lastDeal.bind(to: view.bnd_lastDeal) // signal only new values

@iandundas , @srdanrasic Thank you very much! It is great!


Line Chart with 2 different Y-Axis

Hi, I want to show 2 sensor values in one chart...
Both having different units and values.
Is that somehow possible ?
Currently I didn't find a way :-(
Thanks

Dup of #429


some vagrant+ resource + status output changes

LGTM. Curious, why the vagrant / virtualbox version bumps?

@djosborne that's because I tested things with those (newer) newer versions and things seem to work fine and I'm assuming most people following the docs would be on similar versions (not super old ones we had in the docs)


test(mempool): add function to assert equality and implement Eq,Parti…

…alEq for related structs

This change is

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

Project coverage is 83.97%. Comparing base (f38b0b7) to head (04edec5).

Additional details and impacted files
@@                             Coverage Diff                             @@
##           ayelet/mempool/mempool-state-new-struct     #431      +/-   ##
===========================================================================
+ Coverage                                    83.80%   83.97%   +0.17%
===========================================================================
  Files                                           37       37
  Lines                                         1710     1710
  Branches                                      1710     1710
===========================================================================
+ Hits                                          1433     1436       +3
+ Misses                                         201      198       -3
  Partials                                        76       76

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


Error while running Tire Kick test

When running the command make -C bp_top/syn tire_kick following error is received:
%Error: prog.nbf:0: $readmem file not found
Aborting...
Aborted (core dumped)
/home/xxx/black-parrot/bp_top/test/tb/bp_tethered/Makefile.verilator:86: recipe for target '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/tire_kick' failed
make: *** [/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/tire_kick] Error 134
Looks like it is because of the following failure:
make[2]: Leaving directory '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.build/obj_dir'
/home/xxx/black-parrot/bp_common/syn/Makefile.verilator:61: recipe for target '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.build/obj_dir' failed

Hi, sorry about that.
The fix (already applied on dev) is here: https://github.com/black-parrot/black-parrot/pull/601

parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.build/obj_dir'
/home/xxx/black-parrot/bp_common/syn/Makefile.verilator:61: recipe for target

Although, this looks a little strange, possibly a different error. Makefile.verilator:61 is the actual verilate command, which shouldn't be failing. I just recloned and tested on dev, and it's working on my CentOS machine.
What's your environment? What's the Verilator error that you're encountering on your machine?

I have ubuntu 18.04. I just cloned the repo and did make prep_lite which ran fine. I don't see any other errors except the one I shared.

/home/xxx/black-parrot/bp_common/syn/Makefile.verilator:61: recipe for target '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.build/obj_dir' failed

There must be a root failure which is causing this makefile failure.  Could you run make -n -C  bp_top/syn tire_kick to find the verilator command (should fit this template: https://github.com/black-parrot/black-parrot/blob/dev/bp_common/syn/Makefile.verilator#L61) and try running the verilator command bare?

Doing that, I see this error message:
./simsc: error while loading shared libraries: libsystemc-2.3.3.so: cannot open shared object file: No such file or directory

That's the execution command.  The verilate command should start with cd x; verilator, not ./simsc

Hm, I don't understand how you are able to run the simsc. The step where it's being built is failing according to this error message: /home/xxx/black-parrot/bp_common/syn/Makefile.verilator:61: recipe for target '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.build/obj_dir' failed

Here is the output of running make -n -C bp_top/syn tire_kick:
make: Entering directory '/home/xxx/black-parrot/bp_top/syn'
make build.sc
make[1]: Entering directory '/home/xxx/black-parrot/bp_top/syn'
make[1]: Nothing to be done for 'build.sc'.
make[1]: Leaving directory '/home/xxx/black-parrot/bp_top/syn'
make /home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/simsc
make[1]: Entering directory '/home/xxx/black-parrot/bp_top/syn'
make[1]: '/home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/simsc' is up to date.
make[1]: Leaving directory '/home/xxx/black-parrot/bp_top/syn'
cp /home/xxx/black-parrot/bp_common/test/mem/hello_world.mem  /home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/prog.mem
cp /home/rashmi/black-parrot/bp_common/test/mem/hello_world.dump /home/rashmi/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/prog.dump
cp /home/xxx/black-parrot/bp_me/src/asm/roms/mesi.mem /home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world/cce_ucode.mem
cd /home/xxx/black-parrot/bp_top/syn/results/verilator/bp_tethered.e_bp_unicore_cfg.none.sim.bp_tests.hello_world; ./simsc
make: Leaving directory '/home/xxx/black-parrot/bp_top/syn'

make[1]: Nothing to be done for 'build.sc'.

Try make -C bp_top/syn clean first.  It looks like it thinks the verilator build was successful, so it's not trying it again

Based on this log, it seems that you're running on master? You'll either need to switch to dev or cherry-pick that fix I posted earlier.  It's missing this line: https://github.com/black-parrot/black-parrot/blob/dev/bp_top/test/tb/bp_tethered/Makefile.verilator#L104

Ok, I will give it a try.

That worked.

Cool!


Users and Groups HA/CARP not adding users

Hi OPNsense,
Adding 'users & groups' to the High Availability https://.../system_hasync.php does replicate the users data (OTP, access keys, etc.) to the other node, but no user is created in the operating system.
OPNsense 17.7.12_1
Reproduced on testing system by enabling HA/CARP according to the OPNsense documentation and then adding 'user and groups' to the list of synced items. Users are replicated, but only in the WUI not in /etc/passwd etc.

Sorry, wasn't trying to create an arguement ... apologies!
On the issue at hand, we just tried adding another user and is has to do with rebooting. If we create the user on the (active/designated) master (fw03) and then reboot the backup (fw04) then the users are created for CLI access (/etc/passwd) just fine.
Expected behaviour would have been that the reboot would not be required for this.

We should probably add a "service" which you can restart using the status page, just like the other real services. The synchronisation script only diffs the two configs and writes the changes, for filter reload there's a hook in https://github.com/opnsense/core/blob/18.1.2/src/etc/rc.filter_synchronize to trigger the filter configure.
The actions associated to the config can't be triggered automatically, because it's virtually impossible to determine the correct action from the xml diff, hence all the other reloads should be triggered by the user after he's done configuring the master firewall.
Long story short, we can make sure you don't need a reboot, we can't make sure it's handled automatically without getting into a maintenance issue.

Manual service reload should be just fine - there are other actions that also 'pop-up/modal' the need for manual action if I recall correctly.
Rebooting a designated backup isn't that big a deal and acceptable as a workaround while the 'service' is in-progress :)

ok, let's put that on our list to do then.

@CoMPaTech https://github.com/opnsense/core/commit/9ca61d8b3e9c8d615c34902a0265d5859bf2126f should add a login "service" which reloads users and groups.
In case you want to test, execute the following on the backup:
opnsense-patch 9ca61d8


What is g?

See this line: https://github.com/ermongroup/cs228-notes/blame/master/inference/sampling/index.md#L35
I'm confused by what g is on this line. Is it supposed to be f? Or was this supposed to be something else entirely?
Same goes for another line: https://github.com/ermongroup/cs228-notes/blame/master/inference/sampling/index.md#L44

Sorry, it was supposed to be f!


ValueError: need at least one array to concatenate

Hi,
I am trying to use infercnvpy on my single-cell dataset, but when I run:
cnv.tl.infercnv(
adata,
reference_key="leiden_1.0",
reference_cat='12',
)
I get the error message: ValueError: need at least one array to concatenate.
When I run:
adata.var.loc[:, ["gene_ids", "chromosome", "start", "end"]].head()
I can see that these columns were successfully added to adata.var
When I run:
adata.obs.head()
I can see that there is a column, 'leiden_1.0' with clusters numbered '0'-'16'.
I'm not sure what this error message means or what I can do differently to fix it.
Thank you

I am also getting the same error, running:
infercnvpy.tl.infercnv(seu_epi, reference_key='seurat_clusters', reference_cat=['0','1'], window_size=200)
ValueError: need at least one array to concatenate

seu_epi
AnnData object with n_obs × n_vars = 5136 × 16784
obs: 'orig.ident', 'nCount_RNA', 'nFeature_RNA', 'percent.mito', 'nCount_SCT', 'nFeature_SCT', 'S.Score', 'G2M.Score', 'Phase', 'CC.Difference', 'SCT_snn_res.0.8', 'seurat_clusters', 'tree.ident', 'condition', 'patientID', 'pANN', 'DF', 'SCT_snn_res.1', 'SCT_snn_res.0.6'
var: 'sct.detection_rate', 'sct.gmean', 'sct.variance', 'sct.residual_mean', 'sct.residual_variance', 'sct.variable', 'chromosome', 'start', 'end', 'gene_id', 'gene_name'
uns: 'neighbors'
obsm: 'X_pca', 'X_umap'
varm: 'PCs'
obsp: 'distances'

seu_epi.X
array([[-0.12743472, -0.12882212, -0.06847287, ..., -0.03828714,
-0.01745232, -0.03993058],
[-0.10143117, -0.10215754, -0.0520843 , ..., -0.0263906 ,
-0.00942162, -0.02850649],
[-0.1182593 , -0.11941153, -0.06270597, ..., -0.03406237,
-0.01457542, -0.03586897],
...,
[-0.10151398, -0.10224243, -0.05213675, ..., -0.02642813,
-0.00944661, -0.02854246],
[-0.06104027, -0.06079169, -0.02616703, ..., -0.00829963,
0.00237056, -0.01121682],
[-0.07975152, -0.07994411, -0.03827017, ..., -0.01663157,
-0.00299579, -0.01916628]])

seu_epi.obs.loc[:, ['seurat_clusters','condition']].head()
seurat_clusters       condition
AACTGGTCATTCACTT-1               17  tumor_appendix
ACGCCGATCTGAAAGA-1                3  tumor_appendix
ACTGATGAGCACCGTC-1                3  tumor_appendix
AGCATACTCTACTCAT-1               10  tumor_appendix
CAACCTCCACAACTGT-1                7  tumor_appendix

Hi,
thanks for reporting, I'll look into it.
Could you please provide the full stacktrace of the error (together with the error message, the line numbers in the code where the error occurs should show)? That would be extremely helpful for debugging!

Hi Gregor - thanks for looking into this!  Stacktrace below:
/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/anndata/c                                                     ompat/init.py:180: FutureWarning: Moving element from .uns['neighbors']['dis                                                     tances'] to .obsp['distances'].
This is where adjacency matrices should go now.
warn(
INFO:root:Extracted GTF attributes: ['gene_id', 'gene_name']
WARNING: GTF file misses annotation for 13 genes in adata.
WARNING: Skipped 13 genes because of duplicate identifiers in GTF file.
... storing 'orig.ident' as categorical
... storing 'Phase' as categorical
... storing 'seurat_clusters' as categorical
... storing 'condition' as categorical
... storing 'patientID' as categorical
... storing 'DF' as categorical
... storing 'chromosome' as categorical
... storing 'gene_id' as categorical
... storing 'gene_name' as categorical
WARNING: Skipped 26 genes because they don't have a genomic position annotated.
/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/numpy/lib                                                     /arraysetops.py:583: FutureWarning: elementwise comparison failed; returning sca                                                     lar instead, but in the future will perform elementwise comparison
mask |= (ar1 == a)
Traceback (most recent call last):
File "run_infercnv.py", line 18, in
infercnvpy.tl.infercnv(seu_epi, reference_key='seurat_clusters', reference_c                                                     at=[0,1], window_size=200)
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/i                                                     nfercnvpy/tl/_infercnv.py", line 164, in infercnv
reference = _get_reference(tmp_adata, reference_key, reference_cat, referenc                                                     e)
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/i                                                     nfercnvpy/tl/_infercnv.py", line 305, in _get_reference
raise ValueError(
ValueError: The following reference categories were not found in adata.obs[refer                                                     ence_key]: [0 1]
(/venvs/anaconda/envs/groupenvs/infercnv-py) sgrimes@ikura:C03_210423_inferCNV_p                                                     yTest$ python run_infercnv.py
/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/anndata/c                                                     ompat/init.py:180: FutureWarning: Moving element from .uns['neighbors']['dis                                                     tances'] to .obsp['distances'].
This is where adjacency matrices should go now.
warn(
INFO:root:Extracted GTF attributes: ['gene_id', 'gene_name']
WARNING: GTF file misses annotation for 13 genes in adata.
WARNING: Skipped 13 genes because of duplicate identifiers in GTF file.
... storing 'orig.ident' as categorical
... storing 'Phase' as categorical
... storing 'seurat_clusters' as categorical
... storing 'condition' as categorical
... storing 'patientID' as categorical
... storing 'DF' as categorical
... storing 'chromosome' as categorical
... storing 'gene_id' as categorical
... storing 'gene_name' as categorical
WARNING: Skipped 26 genes because they don't have a genomic position annotated.
0%|                                                                                | 0/2 [00:11<?, ?it/s]
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/process.py", line 239, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/process.py", line 198, in _process_chunk
return [fn(*args) for args in chunk]
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/process.py", line 198, in
return [fn(*args) for args in chunk]
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/infercnvpy/tl/_infercnv.py", line 353, in _infercnv_chunk
chr_pos, x_smoothed = _running_mean_by_chromosome(
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/infercnvpy/tl/_infercnv.py", line 273, in _running_mean_by_chromosome
return chr_start_pos, np.hstack(running_means)
File "<array_function internals>", line 5, in hstack
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/numpy/core/shape_base.py", line 346, in hstack
return _nx.concatenate(arrs, 1)
File "<array_function internals>", line 5, in concatenate
ValueError: need at least one array to concatenate
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "run_infercnv.py", line 18, in
infercnvpy.tl.infercnv(seu_epi, reference_key='seurat_clusters', reference_cat=['0','1'], window_size=200)
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/infercnvpy/tl/_infercnv.py", line 169, in infercnv
*process_map(
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/tqdm/contrib/concurrent.py", line 130, in process_map
return _executor_map(ProcessPoolExecutor, fn, *iterables, **tqdm_kwargs)
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/tqdm/contrib/concurrent.py", line 76, in _executor_map
return list(tqdm_class(ex.map(fn, *iterables, **map_args), **kwargs))
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/site-packages/tqdm/std.py", line 1178, in iter
for obj in iterable:
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/process.py", line 484, in _chain_from_iterable_of_lists
for element in iterable:
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/_base.py", line 611, in result_iterator
yield fs.pop().result()
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/venvs/anaconda/envs/groupenvs/infercnv-py/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
ValueError: need at least one array to concatenate

In case it factors into the troubleshooting, my AnnData object started out as a Seurat 3.x object, updated to Seurat 4.0, then converted to hd5, then to AnnData.

Can you please post the result of
adata.obs["chromosome"].unique()

right before running tl.infercnv?

I assume you mean adata.var["chromosome"].unique()?  Results below.  I see that there is a nan entry, probably due to the duplicate genes being removed.  Is that the issue?
seu_epi.var["chromosome"].unique()
array(['1', nan, '2', '3', '4', '5', '6', '7', 'X', '8', '9', '11', '10',
'12', '13', '14', '15', '16', '17', '18', '20', '19', 'Y', '22',
'21', 'MT', 'GL000194.1', 'GL000195.1', 'GL000219.1', 'KI270734.1',
'GL000218.1', 'KI270726.1', 'KI270711.1', 'KI270721.1'],
dtype=object)

Thanks! The problem is that I expected all chromosomes (as opposed to scaffolds) to start with chr.
https://github.com/icbi-lab/infercnvpy/blob/c5bd39b1cda67a16d2a448fa8b75fdaa76acdce0/infercnvpy/tl/_infercnv.py#L255-L257
What GTF file are you using? I only tried with GENCODE I think.

Ah, glad it's an easy explanation!  I'm using the gtf file provided for cellranger by 10X genomics.  I think it is ensembl.  The first few lines below:
#!genome-build GRCh38.p12
#!genome-version GRCh38
#!genome-date 2013-12
#!genome-build-accession NCBI:GCA_000001405.27
#!genebuild-last-updated 2018-01
1	havana	gene	29554	31109	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"
1	havana	transcript	29554	31097	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000473358"; transcript_version "1"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-202"; transcript_source "havana"; transcript_biotype "lincRNA"; tag "basic"; transcript_support_level "5"
1	havana	exon	29554	30039	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000473358"; transcript_version "1"; exon_number "1"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-202"; transcript_source "havana"; transcript_biotype "lincRNA"; exon_id "ENSE00001947070"; exon_version "1"; tag "basic"; transcript_support_level "5"
1	havana	exon	30564	30667	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000473358"; transcript_version "1"; exon_number "2"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-202"; transcript_source "havana"; transcript_biotype "lincRNA"; exon_id "ENSE00001922571"; exon_version "1"; tag "basic"; transcript_support_level "5"
1	havana	exon	30976	31097	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000473358"; transcript_version "1"; exon_number "3"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-202"; transcript_source "havana"; transcript_biotype "lincRNA"; exon_id "ENSE00001827679"; exon_version "1"; tag "basic"; transcript_support_level "5"
1	havana	transcript	30267	31109	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000469289"; transcript_version "1"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-201"; transcript_source "havana"; transcript_biotype "lincRNA"; tag "basic"; transcript_support_level "5"
1	havana	exon	30267	30667	.	+	.	gene_id "ENSG00000243485"; gene_version "5"; transcript_id "ENST00000469289"; transcript_version "1"; exon_number "1"; gene_name "MIR1302-2HG"; gene_source "havana"; gene_biotype "lincRNA"; transcript_name "MIR1302-2HG-201"; transcript_source "havana"; transcript_biotype "lincRNA"; exon_id "ENSE00001841699"; exon_version "1"; tag "basic"; transcript_support_level "5"

Ok, I'll look into improving the genomic_position_from_gtf function at some point that it supports other GTF files as well.
Let's keep the issue open until then.
In the meanwhile, you could try a GENCODE file, or just modify the chromosome column in adata.var such that it has the chr prefix.

ok got it.  I will try one of those two things.  Thanks for being so responsive looking into this!

In the meantime a small and dirty trick:
adata.var['chromosome'] = ['chr'+str(i) for i in adata.var['chromosome']]
Then it worked for me.


Date header performance

#163
Uses a Timer to update a shared date string that is sent for the "Date" response header.
The Timer doesn't start until a request comes in, then shuts off after an idle period of no requests, and finally starts again if requests come in again.

Hi @DamianEdwards, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Updated

https://github.com/aspnet/KestrelHttpServer/issues/223

Rebased on #207

With this change we see throughput go from ~244,000 RPS (with the changes in #207) to ~273,000 RPS. That's a nearly 12% increase in throughput.

ping @halter73 @lodejard @davidfowl

Updated again

:shipit: assuming @lodejard is making the lifetime/dispose changes.


WIP: implement DMABuf support

See below for more info, here's a TL;DR

Fixes #3

Status update: we can finally exchange DMABuf caps with other plugins and render the wayland output into a DMA buffer to achieve a zero copy pipeline. :rocket:
Tested and working pipelines
Simple display output
waylanddisplaysrc ! 'video/x-raw(memory:DMABuf),width=1280,height=720,framerate=60/1'
! glupload ! glimagesink

Again, just output the buffer
waylanddisplaysrc ! 'video/x-raw(memory:DMABuf),width=1280,height=720,framerate=60/1'
! glupload ! waylandsink

Nvidia HEVC encoding, decoding and displaying.
waylanddisplaysrc ! 'video/x-raw(memory:DMABuf),width=1280,height=720,framerate=60/1'
! glupload ! glcolorconvert ! 'video/x-raw(memory:GLMemory),format=NV12'
!  nvh265enc ! nvh265dec
! autovideosink

On Nvidia I had to add GST_GL_API=opengl3 to avoid the warning OpenGL context could not support PBO download

I’m curious to know the difference in milliseconds of latency between the new version and the previous one.


Fixed typo error on volunteer page

#1329
Closes: #1329

Description
I was able to fix the typo error and added a better English construstion
Screenshots

Checklist

[x ] My code adheres to the established style guidelines of the project.
[x ] I have included comments in areas that may be difficult to understand.
[ x] My changes have not introduced any new warnings.
[ x] I have conducted a self-review of my code.

Please add the hacktoberfest tag to this PR


Added the get_value() method to the QuerySet class

The method gets a single value from a single object and returns it.
I also covered get() with tests that match get_value()'s tests.

Isn't this already achievable with values_list('field', flat=True).get(pk=1)?

I'm not sure but I think that would return a list anyway. I'd like to fetch a single field from the database.

I just tried it and it returns a single value from the database. I don't think we need to introduce another method for this use case.

@charettes I just checked myself and it returned a tuple with the field's value.
The method just provides some syntax sugar for those who need it.

It cannot return a tuple if you use the flat=True kwarg. You even use this method in your get_value implementation.

That's a surprise. I would suggest a documentation change instead.


Resolver error - Cannot read property '0' of undefined

When using the options.UseAllOfForInheritance(); and you click around in the UI you will get the error at the top:
Resolver error - Cannot read property '0' of undefined
This has to do with swashbuckle using an older version of the npm package swagger-ui-dist. I will submit a PR to update to the most recent one.

swagger-ui version in SB master now at v3.39.0

swagger-ui version in SB master now at v3.39.0


Datasets and Training config

Thanks for your great work. Could you provide the datasets used in the paper and their training config? Thanks!

Hi,
We used this dataset for training our paired models.
Additional details about the dataset are in our paper!
-Gaurav


Update installation.md

Remove the incorrect step regarding brew installation of appsody.
Fixes: https://github.com/appsody/website/issues/128

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Mod Compat: Allow Thaumic Cake to be consumed by Kekimurus?

I've just checked on the source over at Botania, and all the Kek does is check if a nearby block subclasses Minecraft's BlockCake. I don't know my way around the base Minecraft classes at all, but if it were possible to make ArcaneCake subclass BlockCake instead of Block, it'd make for some really interesting vis/mana interactions.

After some testing, it appears that the Kekimurus eats the Thaumic Cake faster than it can regenerate.  Furthermore, the Kekimurus is hardcoded to assume cakes have 7 bites, so it finishes the Thaumic Cake when there's still lots of cake left.
Unfortunately, this means there's little to no advantage in using a Thaumic Cake over a regular one.  So, gonna leave it inedible by the Kekimurus.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1259 ms

Resolved: Bofrost.lu performance has improved in f260c52 after 9 minutes.


Icons & jsons

What is your question?
Is it possible to switch icons on a character mid chart without having to make a new json for for them?

What is your question?
Is it possible to switch icons on a character mid chart without having to make a new json for for them?

runHaxeCode([[
            game.iconP2.changeIcon('name');
]])

maybe

do you know how i could run this in a lua script? im very unfamiliar with haxe

oh, you can put that in any lua script and it'll work

as long if its in a function

ty 👍

last thing, how do i change the color of the health bar along with it?

last thing, how do i change the color of the health bar along with it? ik it has something to do with this

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

last thing, how do i change the color of the health bar along with it? ik it has something to do with this

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

could i get a brief rundown on how this works please

last thing, how do i change the color of the health bar along with it? ik it has something to do with this

it works like RGB (Red Green Blue), for Lua, you'll need an Color picker

could i get a brief rundown on how this works please? i have the colors i need i just dont know where to put them

simply just do setHealthBarColors(33FFFF, FF66FF) as an example


redirecting the homepage to https://kpt.dev

This PR updates the gh-pages that powers old website at https://googlecontainertools.github.io/kpt/ to redirect to https://kpt.dev.
Note the non-root pages from old website will continue to serve and they have a header pointing to kpt.dev. So this isn't disruptive.

Thanks!
How do you test these kinds of changes?

How do you test these kinds of changes?

Actually in this case, it was tricky because this is website for the alpha version and couldn't find relevant docs and our old bots to update the site are also not in operation. So I made this change manually and ran python3 -m http.server outside the kpt directory to simulate <github.com>/kpt.
Since this is old website, I was okay to do this in hackish way. I found a doc that describes current website structure, I will create a public copy of that and  publish under docs in current repo so that we have some knowledge about current website.


[add] usemap attribute to image tag

Added usemap attribute to image tag.
It can be used with map tag inside of the mj-raw component.

We forgot about this one @vinikira can you fix those linting issue please so we can merge this ?

Done!

And forgot to mention about the documentation, can you add it to readme.md in mj-image ?
Maybe you should mention that attribute isn't supported everywhere


feat: Support JWT Auth in Java (box/box-codegen#590)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

12 of 57 (21.05%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 53.952%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

Box.Sdk.Gen/Schemas/AiLlmEndpointParamsAwsOrAiLlmEndpointParamsGoogleOrAiLlmEndpointParamsOpenAi/AiLlmEndpointParamsAwsOrAiLlmEndpointParamsGoogleOrAiLlmEndpointParamsOpenAi.cs
9
31
29.03%

Box.Sdk.Gen/Schemas/AiLlmEndpointParamsAws/AiLlmEndpointParamsAws.cs
0
23
0.0%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.1%

Covered Lines:
8379

Relevant Lines:
16211

💛  - Coveralls


local tests are failing

vuln-func and lambda-func are not working locally and unpolyscripted.

s_php (vanilla php) is hardcoded in local tests, but gets created during scrambling. unpolyscripted versions then fail.

fixed.


Allow to pass null to ViewInterface methods withBasePath() and withContext()

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
✔

What problem does this solve?

Allow to reset base path and context. View is support null values for this options, and this PR allow to set null via with methods.


Annotation file for genes

Description of the issue:
The repo offers associations/annotations for reactions (humanGEMMetAssoc.JSON) and metabolites (humanGEMRxnAssoc.JSON) but there is no such json file for genes. Some gene's external identifiers can be found in the ensembl_ID_mapping.tsv file but this is a different format, and I think the list of Ensembl IDs in that file is not only bounds to the Human-GEM model.
Expected feature/value/output:
It would be useful to have a humanGEMGeneAssoc.JSON file that can be parsed similarly to the other association files.
Current feature/value/output:
The file does not exist.
Reproducing these results:
Yes
I hereby confirm that I have:

[X] Tested my code on my own computer for running the model
[X] Done this analysis in the master branch of the repository
[X] Checked that a similar issue does not exist already

link to #75

Sounds like a valid request.

A new annotation file humanGEMGeneAssoc.JSON could be added with following fields to begin with:
Ensembl Gene ID
UniProt SwissProt ID
Gene symbol
NCBI Entrez ID

I guess we would want to format the gene annotation structure in the same way that we have done for the reaction and metabolite annotation files. Therefore, I suggest we have a genes field that is identical to the genes field in the model structure (just as we had a rxns and mets field in the reaction and metabolite files, respectively). We could still keep the Ensembl Gene ID field, even though it would be the same as the genes field.
Also, to maintain consistency with the other annotation structures and with COBRA, here are my suggestions for the field names:
geneEnsemblID (or geneENSGID)
geneUniProtID
geneNames
geneEntrezID
The reason I'm leaning toward geneENSGID instead of geneEnsemblID is that it makes it easier to also add geneENSPID and geneENSTID fields if we want.

This issue was resolved in #204.

Hi, so this issue was reopened for, I guess, 2 main reasons that should be discussed in details:

Provide additional annotations for genes in the repository.

Metabolic Atlas wants to fetch more annotations directly from the model repositories. what annotations exactly? from which database? (maybe something that is (or planned) for GEMs adopting .standard-GEM)
Other demands for annotations?

The annotations format has changed and the updated process needs to be change as well (see #224, #203).

How the genes.tsv is getting updated when the model change?
Previously it was only external IDs (and the name) from Ensembl, should (other) information be fetched from other sources? And should annotations of the corresponding Proteins/Enzymes be added?

Also what do you think about having the annotation effort be externalized and put in a Third-party pipeline as mentioned in #224?
Please help me to understand @Hao-Chalmers, @mihai-sysbio.

@pecholleyc exactly as you summarised.
The reopening of this issue is mainly due to addition (or removal of) gene-related fields requested Metabolic Atlas. Once this is settled, the get_ensembl_ID_mapping.py can be adjusted for routine updates.

@pecholleyc some more clarifications on point 1: Metabolic Atlas should presently only data that is coming from the source repositories, without any changes. At the moment, the data shown is a superset of the data in the repository. The main immediate focus is to get these data fully aligned.
Of course, it it desirable both for Metabolic Atlas but also for the community at large to have the Human-GEM very well annotated.

It looks like the new fields added through PR #244 are
name
alternate_name
aliases
function
ec
catalytic_activity

At a quick glance, it doesn't seem like these fields come from get_ensembl_ID_mapping.py.

Now there are 5 existing annotation items for genes:
geneENSTID
geneENSPID
geneUniProtID
geneNames
geneEntrezID
As far as I know, all are required except geneENSTID and geneENSPID, which have never been used anywhere (@JonathanRob let me know if I were wrong). @mihai-sysbio does Met Atlas need these two fields?
@mihai-sysbio among the six fields you listed, are they all required? can they be modified, such as merging alternate_name with aliases? Is the name field identical to the existing geneNames field?
I assume all these info can be extracted from Ensembl through a modified get_ensembl_ID_mapping.py script. What do you think about this implementation? @pecholleyc @mihai-sysbio

The column names in the genes.tsv annotation file were chosen to be consistent with naming of model fields used by COBRA (i.e., gene related fields start with gene). So if possible, I would recommend using this format for column names, but I suppose it's not a strict requirement.
Regardless, if new columns are added to any of the annotation files, then the annotateModel function will need to be updated to map that column to the identifiers.org prefix (unless they don't need to be mapped to identifiers.org). Specifically, lines 68-85 of annotateModel:
id2miriam = {%reactions
             'rxnKEGGID'        'kegg.reaction'
             'rxnBiGGID'        'bigg.reaction'
             'rxnREACTOMEID'    'reactome'
             'rxnMetaNetXID'    'metanetx.reaction'
             'rxnTCDBID'        'tcdb'
             % metabolites
             'metBiGGID'        'bigg.metabolite'
             'metKEGGID'        'kegg.compound'
             'metHMDBID'        'hmdb'
             'metChEBIID'       'chebi'
             'metPubChemID'     'pubchem.compound'
             'metLipidMapsID'   'lipidmaps'
             'metMetaNetXID'    'metanetx.chemical'
             % genes
             'geneNames'        'hgnc.symbol'
             'geneEnsemblID'    'ensembl'
             'geneEntrezID'     'ncbigene'
             'geneUniProtID'    'uniprot'};

@Hao-Chalmers No, I haven't really used the geneENSTID or geneENSPID fields myself, but if they're not causing problems, then I would just keep them.
As @Hao-Chalmers notes, all of these fields can be regenerated from a modified get_ensembl_ID_mapping.py script, since they are not manually curated like some of the reaction and metabolite fields.
Of the new columns added, the last 3 (function, ec, and catalytic_activity) are completely empty, and therefore should probably be removed. As @Hao-Chalmers notes, the name column is redundant with the geneNames column, but outdated (e.g., MARCH2 is now MARCHF2 - looking at you, Microsoft Excel), so I would remove that as well. Technically, these are gene symbols, not gene names (though this is often dependent on source), so this is something we should probably address at some point; i.e., we should probably rename the geneNames column to geneSymbols.
This leaves the alternate_name and aliases columns, which I think could be nice to add. These fields are also outdated, and therefore should be re-retrieved before merging. Also, the alternate_name column is actually just the gene names (not symbols), and could probably be re-named as geneNames. Finally, the aliases column could be renamed to geneAliases for clarity.

I think focusing on adding only these 2 new columns is a good decision and I can modify the get_ensembl_ID_mapping.py file for that purpose. I have some comments regarding what has been decided/discussed:

altername_name is indeed the full name of the gene, but it corresponds to the description field in the DB and on the Ensembl gene page. geneNames (or geneName :p) is fine in my opinion. I want to highlight that the content of this column is truncated, the full string contains also the source, under bracket. It is visible on the Ensembl gene page. I think it is fine to remove that part.

To me, the empty columns function, ec, and catalytic_activity correspond to enzyme/protein annotations. Adding these annotations was in concordance with the fact the gene page of MA was initially called the enzyme page. If MA is supposed to present only the content of the integrated model, then I would avoid adding them for now (even if none empty). If added in the model, I think it would also require a more in-depth-verification; for instance I would expect the gene/enzyme EC codes and catalytic activity description to (partially) match the EC codes and the used metabolites of reactions having these genes in the GPR.

Regarding the names of the columns, technically the column headers describe the content of a cell in the columns. Since genes (geneID?), geneNames and geneSymbols always contain only one value, I would remove the plural. It is not really important though.

I was wondering if the intermediate file ensembl_ID_mapping.tsv could be removed by generating genes.tsv directly by the get_ensembl_ID_mapping.py script. Something to think about, I would not do in that PR.

How do you want to process, should the change be made in the same PR or a new branch/PR? I'm asking this because it is not clear to me if contributing to genes annotations by changing the genes.tsv is the correct way and should be encouraged. If I understand the process correctly, whatever information directly added to that file (from direct contribution like in the current PR), is likely to be erased when that file is regenerated from Ensembl. If true, maybe it should be specified somewhere.

Based on all the feedback, it looks like the work that needs to be done is to:

delete and rename some columns in PR #244
update get_ensembl_ID_mapping.py, possibly calling it from a GH Action, possibly also removing ensembl_ID_mapping.tsv

These could be done in one go, or as separate PRs. In this case, what matters most to me is time, ie how much time it will take for the improved genes.tsv to show in develop, which is why I am in favour of separate PRs. In the meantime, I've marked #244 as wip.

@JonathanRob's feedback should now be applied to PR #244. I think this also in line with @pecholleyc's points 1 and 2
@pecholleyc's point 3 is not applied yet, even though it totally makes sense to me. Any thoughts?

if contributing to genes annotations by changing the genes.tsv is the correct way

Maybe it's acceptable to change genes.tsv manually once to set it up and see how the output of the script would diff against this?

Thanks for the quick fix, @mihai-sysbio.
@pecholleyc, I've responded to some of your suggestions/concerns:

Since genes (geneID?), geneNames and geneSymbols always contain only one value, I would remove the plural.

Yep, I completely agree. However, since COBRA and RAVEN use the plural form (genes and geneNames), I suggest we keep with that standard. Though since gene symbols aren't really a commonly used field, then we could of course choose to make it singular (geneSymbol). I don't have a strong preference here.

I was wondering if the intermediate file ensembl_ID_mapping.tsv could be removed by generating genes.tsv directly by the get_ensembl_ID_mapping.py script.

Yes, I fully support this. That ensembl_ID_mapping.tsv file has essentially been made redundant by the creation of the genes.tsv file, so it should be removed. I will update the translateGrRules function which uses that ensembl_ID_mapping.tsv to instead use genes.tsv file. We should also confirm that no other function depends on that file.

If I understand the process correctly, whatever information directly added to [genes.tsv] (from direct contribution like in the current PR), is likely to be erased when that file is regenerated from Ensembl. If true, maybe it should be specified somewhere.

Yep, we should note somewhere that the genes.tsv file should not be modified directly, since it will be overwritten when updated. And I think we can implement these changes following @mihai-sysbio's suggestion to first change the file manually in #244 (a quicker update), and then in a later PR update the get_ensembl_ID_mapping.py script to generate the genes.tsv file directly.


proposal: dont use base 16 in default with-label (but not without-label) fmt representation of uint.

What did you do?
i switched on field labels in a fmt print of a struct. ie %v   ->  %#v
A complete runnable program is good.
https://play.golang.org/p/Mzw7GY2woI
What did you expect to see?
labels appear.
What did you see instead?
labels appeared and uint fields where changed from base 10 to base 16. (ie made much less human readable, and v.hard  to compare with the same struct without labels.)
i now see this is documented, but it seems to me to be important that fmt should go for human readability with its defaults, especially so when using labels. machine readability should be handled with bespoke formatting as these would be more of a case by case issue.

Use %+v
On Fri, Aug 4, 2017 at 11:28 AM, simon place<EMAIL_ADDRESS>wrote:

What did you do?
i switched on field labels in a fmt print of a struct. ie %v -> %#v
A complete runnable program is good.
https://play.golang.org/p/Mzw7GY2woI
What did you expect to see?
labels appear.
What did you see instead?
labels appeared and uint fields where changed from base 10 to base 16. (ie
made much less human readable, and v.hard to compare with the same struct
without labels.)
i now see this is documented, but it seems to me to be important that fmt
should go for human readability with its defaults, especially so when using
labels. machine readability should be handled with bespoke formatting as
these would be more of a case by case issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21304, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAzcM6mu712F3JxPpJb9G7G4HSt8pks5sUnO9gaJpZM4OtLDJ
.

Regardless of whether this proposal is accepted or not we can not make that change without breaking backwards compatibility and breaking code for this does not seem to warrant any improvement it may make.
Having a better humanly readable format with labels using another modifier (maybe %~v ?) might be possible without breaking existing use cases. One Question with this approach would be if the new version would still invoke GoStringer and thereby format some values the #v way.
CC @robpike

The hexadecimal decision is historical and unnecessary today, but the combination of maintaining compatibility, the easy workaround, and the minor impact of the decision all argue we should leave it alone.


Remove commons-io and commons-codec dependencies

By using guava, built-in java functions, and try-with-resources (now that we're on Java 7), we can remove these two dependencies. Just two fewer dependencies we need to keep up-to-date.

This is a harmless change, so I'll go ahead and merge it in, in anticipation of a new release.


Is it possible now using OpenFaceCpp for face recognotion?

I I can see in repository models folder, but all models are lua files, and I am confused reading it.
It is just some amount of magic numbers. Probably it is coeficients of pre trained neural network.
Can I use pre trined neural network in C++?
I would like pre trained network, finish thaining with specific faces and then recognize it. Is this softweare ready for it or no? If no, probably I can try to implement missing parts my self, but it is hard to get into without help.

Were you able to implement face recognition using openfacecpp or please provide the link from where you could implement it

Hi, this is the whole purpose from this repo :) Unfortunately I am no ML whiz, so other than using pre-trained networks I am of no use. Please consult original repo/paper for how to train new networks.


Main loop & rendering code, gostek rendering, bug fixes

Renamed everything that was called "sprite" to "soldier" to avoid confusion with graphics code.
Added gfx2d crate to abstract away all the gfx-rs stuff.
Rewrote main loop & rendering code.
Added gostek rendering (some details missing but mostly working).
Fixed forward backflip and some skeleton bugs.
Added zoom with +/- keys for testing.

I'll be looking into rustfmt later, did a quick test but I'm not happy about everything it did..


Install Runhouse on the Cluster before Default Env so user settings override Runhouse reqs

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#745  👈
#715
#678
#714
#710
#698
#697
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @dongreenberg and the rest of your teammates on  Graphite


Minimise the number of DOM elements changed

Setting body.innerHTML was causing all elements to be recreated, breaking any attached functions/events. One example of this was PubMed where enabling the extension would break search filtering.
Refactoring to change a minimal set of elements prevents this behaviour and makes the extension less likely to break pages.

You're right on this point.
Thank you very much for your PR, I will check it and test it very soon !


Make human / bicycle / animal movement speed natural

They're too fast in vanilla (no idea what's going on)

Duplicate of other mods


WEBPACK: Doesn't compile SASS-Files during building/serving

Windows 10

angular-cli: 1.0.0-beta.11-webpack.2
node: 6.2.2
os: win32 x64

3.1) changed default.styleExt to 'scss'
3.2) keep 'app.component.css' in my component (SCSS should be compiled?!)
@Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.css']
})
export class AppComponent {
  title = 'app works!';
}

ERROR in ./src/app/app.component.ts
Module not found: Error: Can't resolve './app.component.css' in 'D:\GFR\SVN\Project360\src\app'

Am I wrong to assume that these SCSS files should be compiled before/during serving the application? :)

My mistake..
You have to use styleUrls: ['app.component.scss'] !
SASS will be compiled AND inlined into the index.html, there is no compiled css-file.
sorry!


[Feature request] add notifyDayChanged(long day)

Currently, you can only refresh a LocalDate or CalendarDay via notifyDateChanged and notifyDayChanged. But in my case the event indicator is visible on InDate/OutDate and if the user updates the event, corresponding InDate/OutDate of the next/previous month needs to be rebound to reflect changes. Currently i use something like this, but it's clearly sub-optimal.
    public void notifyDayChanged(long targetDayUTC) {
        if (targetDayUTC < getFirstLoadedDayUTC() || targetDayUTC > getLastLoadedDayUTC()) {
            // day is not loaded, skip it
            return;
        }
        rootCalendarView.notifyDateChanged(date, DayPosition.InDate);
        rootCalendarView.notifyDateChanged(date, DayPosition.OutDate);
        rootCalendarView.notifyDateChanged(date, DayPosition.MonthDate);
    }

I want a method that will do all of that but efficiently

That sounds like a good idea, I'll see if it can go into the next release. The difficult thing I see here is figuring out the appropriate name for this function.

Thanks. Yeah, naming functions is often hard. I have a few suggestions though

Add it as an optional argument to existing function(s)
Add a value to DayPosition enum, something like FullDate
notifyDateChangedFull
notifyDateChangedComplete

And I have one question: How can I determine which days are loaded and will not be rebound on scroll and which ones will? So basically first and last loaded day. Currently I subtract 60 from the first visible day and add 60 to the last, but I couldn't find a way to know for sure.

How can I determine which days are loaded and will not be rebound on scroll and which ones wil

Since findFirstVisibleMonth and findLastVisibleMonth use the LayoutManger functions findFirstVisibleItemPosition and findLastVisibleItemPosition respectively, you can use these to determine the range. However, according to here, it is possible that there are cached positions that are omitted in this call so it is not 100% reliable.

That's a pity. I'll keep using my method then

In the latest snapshot, you can call any of these to reload all available day positions.
val date = LocalDate.now() // your desired date
calendarView.notifyDateChanged(date, *DayPosition.values())
// OR
calendarView.notifyDateChanged(date, DayPosition.InDate, DayPosition.MonthDate, DayPosition.OutDate)

This also means you can do any kind of partial reload - for example, you can reload only the in-date and out-date.
calendarView.notifyDateChanged(date, DayPosition.InDate, DayPosition.OutDate)

Nice, that's even better that my suggestion, great.

Released in 2.2.0


Replace ` character

Throughout /tests/dummy/app/templates/sl-grid-demo.hbs with combination of " and <code> tags as appropriate.

Closed by https://github.com/softlayer/sl-ember-components/pull/344


Better support for accessing databases in Kubernetes

Accessing database in Kubernetes currently requires manual work upfront. If the database isn't exposed from the cluster (which is usually the case), you have to expose it locally using 'kubectl port-forward':
https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/
Since DBeaver already offers access to databases using ssh port forwarding, it would be really nice, if a similar option would be available for Kubernetes port forwarding.
The required settings would need to include:

The kubectl context
The resource name
The Kubernetes namesapce

Thank you for your proposal.

Hello, I love the idea indeed!

Depends on https://github.com/dbeaver/dbeaver/issues/20347
We want to improve the UI of the connection dialog and then add Kubernetes to it.

@serge-rider I checked the code, on instance of kubernetes. Also i checked the the docs in here https://github.com/dbeaver/dbeaver/wiki i found not kubernetes settings.
Is it enterprise only?

@bekicot yes, it is enterprise only, t was initially marked as EE/PRO feature. It will be included in version 23.2 release.
In future we may move this feature in the Community version but not this year.


Insert pseudo-elements in inline style

Summary:
Been trying to draw a dialog box as the overlay. But don't know how to do it. It as to be inline because I want to assign the on-click pointer location to the top style element. SO the className is out of the question.
Steps to reproduce:
https://codesandbox.io/s/xom5w2r1zp
Expected behavior:
Should mold the form of the overlay to an dialog bubble, like the one in https://css-tricks.com/examples/ShapesOfCSS/
CSS code for the dialog bubble:
#talkbubble {
   width: 120px;
   height: 80px;
   background: red;
   position: relative;
   -moz-border-radius:    10px;
   -webkit-border-radius: 10px;
   border-radius:         10px;
}
#talkbubble:before {
   content:"";
   position: absolute;
   right: 100%;
   top: 26px;
   width: 0;
   height: 0;
   border-top: 13px solid transparent;
   border-right: 26px solid red;
   border-bottom: 13px solid transparent;
}

Example
https://codesandbox.io/s/xom5w2r1zp
Additional notes:
And also is there support for vendor-prefixed properties? How can they be implemented, in inline styling of the React-Modal lib?

Perhaps you can make some custom classes that only defines the shape:
<Modal className="triangle ..." overlayClassName="oval ..." />

If you need to create on-the-fly, you can try to generate a class and append to a <style />, and then use the class on the modal like .tmpclass1. (?)

Thanks @diasbruno, but I managed to make a html+js modal and go from there.


More informational texts to be included for Products and Fulfillment Parts

DescriptiveText.txt
Add new "Descriptive Text" array which contains customer-visible additional informational texts, and reference it from products (where it will show texts with addtional information, e.g. "Lounge access included in first class ticket"), and from fulfillment parts (where it will contain the small print which would be included on the PDF ticket, e.g. "Need to show official ID with personalized ticket").
The new object is referenced from Product and from FulfillmentParts. See attached textfile with the relevant YAML snippets.

Addressed in 3.0.2.pre


Function FuturesApiV2.Trading.CancelTriggerOrdersAsync got error

Dim CancelOrders_New As New List(Of Bitget.Net.Enums.V2.BitgetCancelOrderRequest)
CancelOrders_New.Add(New Bitget.Net.Enums.V2.BitgetCancelOrderRequest With {.OrderId = "1226415435181801471"})
CheckQuickCanCelOrder_Algo = Await clientBitget.FuturesApiV2.Trading.CancelTriggerOrdersAsync(BitgetProductTypeV2.CoinFutures, BitgetFuturesPlanType.NormalPlan, Symbol_CoinFutureV2, orderIds:=CancelOrders_New.AsEnumerable)
                                                If CheckQuickCanCelOrder_Algo.Success = False Then
                                                    MsgBox(CheckQuickCanCelOrder_Algo.Error.ToString)
                                                    MsgBox(CheckQuickCanCelOrder_Algo.RequestUrl.ToString)
                                                End If

i got error like these picture:

Hi, there was an error in the endpoint which I fixed in the latest version, it should work now

After i upgrading to Version 1.14.0 - 11 Nov 2024. CancelTriggerOrdersAsync not success again.

What is the error you're seeing? It seems to work for me

understood, you changed trigger plan type parameters. thank you


No errors if connection fails

If there can't be a connection established, then no errors are thrown. It just doesn't work. This is really bad practice. You only eventually notice that you have "NULL" as your channel. Please throw an error if connection can not be established.

The socket will keep on trying for some time, so if you want to detect errors as soon as they happen, listen on the PhoenixSocket.errorStream.

Using a stream like errorStream is better than just throwing on socket.connect() because socket health is not a one-off thing. Connection can be dropped at any time after the initial connection, and initial failure can be transient.


Where is the 'View Options' button?

Looking at one of our boards I don't see the 'View options' button as shown in the guidance.

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

ID: 7d394881-c492-cd58-7fbf-1ee6a268af93
Version Independent ID: e0b2e071-7bd8-04e5-c1e0-c1e499dc73f1
Content: Enable live updates for a Kanban board - Azure Boards
Content Source: docs/boards/boards/live-updates.md
Service: azure-devops-boards
GitHub Login: @chcomley
Microsoft Alias: chcomley

@ojpbay -- Oliver, thank you for your question.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@chcomley -- Chrystal, please look into this issue.

Hi @ojpbay, thanks for alerting us to this documentation issue. With the New Boards Hub that's now on by default, we no longer have this option. Thank you.


Can't remove the View controller

I am trying to remove a controller like this:
var controller =folder.__controllers[i];
folder.remove(controller);
It disappears from the screen, but the controller is not removed from the VA3C object. When another model that has views is loaded, it creates an extra controller. In the control panel, everything looks fine, but it seems like I need to find a different method to destroy the controller. People have discussed it here, but I can't find a good solution:
http://stackoverflow.com/questions/16321031/how-to-delete-dat-gui-element/21221627#21221627

fixed this by upgrading to the latest version of dat.gui, which added support to folders:
https://github.com/dataarts/dat.gui/issues/49