Displaying a Material icon from a Text widget with MaterialIcons fontFamily not working in hotfix 2.10.3

For the following two code snippets I expect to have the exact same result.
Code snippet 1:
        Text(
            'celebration',
            style: TextStyle(
              fontFamily: 'MaterialIcons',
              fontSize: 24,
            ),
          ),

Code snippet 2:
         Icon(
            Icons.celebration,
            size: 24,
          ),

However, after upgrading from flutter 2.10.1 to flutter 2.10.3, the Code snippet 1 does not work any more and it does not render anything at all out.
This is effecting a production application of mine, where users can dynamically assign Icons to their assets.
Background information here:
https://github.com/flutter/flutter/issues/75633
As stated in the linked issue, we could not use the code points of the icons in the database, so I saved the name of the icons.
Independently of how the icon code points are handled, I expect the code snippet 1 to work properly.

Can you please provide the Flutter version from when this worked?

I updated the description. It worked well on flutter 2.10.1.

Confirmed the issue

This is a curious regression since the only relevant change is the fonts packge. I'll investigate
For a workaround, the codepoints are now stable between versions.

Thank you so much for the confirmation.
I am super curious to see what causes this bug, as I could not find it on my own.
Thanks in advance for the further investigations!

Reproducible on latest stable(2.10.3) and master but not stable 2.10.1.

screenshots

stable 2.10.1
stable 2.10.3 and master

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

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

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

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

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

  final String title;

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

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

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: SingleChildScrollView(
          child: Column(
            children: <Widget>[
              Text('Celebration with TextStyle'),
              Text(
                'celebration',
                style: TextStyle(
                  fontFamily: 'MaterialIcons',
                  fontSize: 24,
                ),
              ),
              Text('Celebration with Icon'),
              Icon(Icons.celebration)
            ],
          ),
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel unknown, 2.10.1, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.10.1 at /Users/nexus/dev/sdks/flutter_rc/flutter
    • Upstream repository unknown
    • Framework revision db747aa133 (4 weeks ago), 2022-02-09 13:57:35 -0600
    • Engine revision ab46186b24
    • Dart version 2.16.1
    • DevTools version 2.9.2

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

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

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

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

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 304CA91D-8D77-4AAE-A50F-ECFC57AFD011 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 99.0.4844.51

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.10.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (7 days ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

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

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

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

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

[☠] IntelliJ IDEA Community Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 304CA91D-8D77-4AAE-A50F-ECFC57AFD011 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 99.0.4844.51

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.11.0-0.0.pre.831, on macOS 12.2.1 21D62 darwin-arm, locale en-GB)
    • Flutter version 2.11.0-0.0.pre.831 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3172065fba (9 hours ago), 2022-03-08 19:35:20 -0600
    • Engine revision 5c760759fe
    • Dart version 2.17.0 (build 2.17.0-182.0.dev)
    • DevTools version 2.11.1

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

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2021.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin version 213.5744.122

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

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 304CA91D-8D77-4AAE-A50F-ECFC57AFD011 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-arm64   • macOS 12.2.1 21D62 darwin-arm
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 99.0.4844.51

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

• No issues found!

Sorry for taking a while to respond. I realised the "regular" filled icons are now encoded in the font with the suffix "_baseline". So celebration_baseline, celebration_outlined, and celebration_sharp work.


[question] named route-system

Is there a reason why links are not generated from named routes, instead you have to explicitly use a path? This has the problem that if you change the path in your route config, you have to change it everywhere in your templates.
Is there a reason, why You don't use something like this:
type RouteName = string|string[];

interface RouteParams {
  [param: string]: string;
}

interface Match {
  routeParams: RouteParams;
  routes: Routes;
}

interface Router {
  matchRoute(url: string): Match;
  generateUrl(routeName: RouteName, routeParams?: RouteParams): string;
}

note: routeName could also be a dot-separated syntax, or something similar instead or string-array to describe a path inside a route-tree
linking could look something like that:
<a [linkTo]="['article', 'post', {articleId: 15, postId: 20}]">link</a>

Route config could look like that:
export const appRoutes: Routes = [
  {
    name: 'article',
    path: 'articles/:articleId',
    component: ArticleViewCmp,
    children: [
      {
        name: 'post',
        path: 'post/:postId',
        component: PostViewCmp
      }
    ]
  },
];

linkTo could use the Router.prototype.generateUrl- api to make the url. Url string can be reversed into routes via  Router.prototype.matchRoute.

@ngrx/router (and now @angular/router) emphasizes lazy loading of components and routes as a primary use case. Unfortunately, this directly conflicts with named routes. If you try to generate a link to a name route but the router hasn't lazily loaded that code yet, how can we generate links? The answer is we can't, and we definitely don't want link loading to trigger lazy loading.
Additionally, @brandonroberts and I evaluated the history of large Angular 1 applications we had worked on and found that we were rarely changing the paths of our routes. In fact, we were changing route names just as often as we were changing paths. This meant we were not actually realizing the refactoring benefits of a named route system.
The limitation of named routes with lazy loading in addition to our use case studies on the feature led us to designing this router without named routes. We will not support this feature in the future, either.
Hopefully that clears it up for you.


armageddon, famous

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,f]

/trunk merge


class methods instead of functions

Apologies if this is already in the docs somewhere that I missed. Is it possible to pass an object (via registry) and then call methods on it?
In my use case, the dynamics widgets are stateless (all will be forms ) and I want to pass in a "presenter" type object on which function calls to update the data will be made.

Well... afaik it is not possible
We're integrated with expressions package which has sth like getting the object members - but calling the methods is rather not sth possible out of the box
https://github.com/appsup-dart/expressions/blob/master/lib/src/evaluator.dart#L101-L107
You can implement your own ArgProcessor or register a set of functions which will take presenter as a variable by name and call specific function
'${presenter_updateCountry(presenter, country)}'

Can you give an example of what you'd like to do? I think that can map out a better answer.
I think @crisperit was on the right track with his suggestion. This package uses a more advanced expressions package, https://pub.dev/packages/template_expressions, than he called out (though derived from for sure) though, and that might help.
You can register any function you want via the context. Or take a look at the registry to add your own class level extensions.

In my app, I have a page where amongst other things, I want to present a form. Depending on the context, these will be different forms and this is where the current package is very useful.
My app is based on stacked (https://pub.dev/packages/stacked) which is essentially a MVVM /MVP type design.
On change or submit, I wanted to update the data in the viewmodel and/or handle the submission and therefore wondered if I can call a method.
However, I had a closer look at the form example (with save context and validators) and I think that might be a better way to go at the moment even though strictly speaking it breaks the statelessness.
To handle the submission, I will just register a function that takes the viewmodel as an input.
Will let you know if it doesn't work.
Thanks for getting back so quickly and for the project. It's really nice.

We can consider this closed. The form fields save to the registry when provided an ID and I can provide a function wrapper for the viewmodel handler for submit which can grab these from the registry.


Fix the problem of reconnecting when moved to another VC

Fixes #849.
Description
When the bot was moved to another vc, the connection was disconnected with 4014 Disconnected.

https://github.com/Rapptz/discord.py/issues/5904
https://github.com/discord/discord-api-docs/issues/2450
https://github.com/discordjs/guide/blob/main/guide/voice/voice-connections.md#handling-disconnects

Then, VOICE_SERVER_UPDATE is received after 4014 Disconnected.
2022/10/30 14:47:23 [DG2] voice.go:356:wsListen() received 4014 manual disconnection
2022/10/30 14:47:23 [DG2] voice.go:167:Close() called
2022/10/30 14:47:23 [DG2] voice.go:176:Close() closing v.close
2022/10/30 14:47:23 [DG2] voice.go:182:Close() closing udp
2022/10/30 14:47:23 [DG3] wsapi.go:547:onEvent() Op: 0, Seq: 6, Type: VOICE_STATE_UPDATE, Data: [hidden]
2022/10/30 14:47:23 [DG3] wsapi.go:547:onEvent() Op: 0, Seq: 7, Type: VOICE_SERVER_UPDATE, Data: {"token":"[hidden]","guild_id":"[hidden]","endpoint":"brazil7541.discord.media:443"}
2022/10/30 14:47:23 [DG2] wsapi.go:763:onVoiceServerUpdate() called

However, the VoiceConnection has been deleted when the VOICE_SERVER_UPDATE is received due to the following code. (L364)
https://github.com/bwmarrin/discordgo/blob/afab84009be89bd6e793dafea88a6acd89f34df9/voice.go#L355-L370
Since the VoiceConnection does not exist, onVoiceServerUpdate does not reconnect.
https://github.com/bwmarrin/discordgo/blob/afab84009be89bd6e793dafea88a6acd89f34df9/wsapi.go#L761-L772
This is the cause of #849.
How to fix
Delay the time between receiving 4014 Disconnected and deleting the connection.
If VOICE_SERVER_UPDATE is received during that time, the connection is not deleted.
2022/10/30 15:17:13 [DG2] voice.go:356:wsListen() received 4014 manual disconnection
2022/10/30 15:17:13 [DG3] wsapi.go:547:onEvent() Op: 0, Seq: 7, Type: VOICE_SERVER_UPDATE, Data: {"token":"[hidden]","guild_id":"[hidden]","endpoint":"brazil2241.discord.media:443"}
2022/10/30 15:17:13 [DG2] wsapi.go:763:onVoiceServerUpdate() called
2022/10/30 15:17:13 [DG2] voice.go:167:Close() called
2022/10/30 15:17:13 [DG2] voice.go:176:Close() closing v.close
2022/10/30 15:17:13 [DG2] voice.go:182:Close() closing udp
2022/10/30 15:17:13 [DG2] voice.go:280:open() called
2022/10/30 15:17:13 [DG2] voice.go:306:open() connecting to voice endpoint wss://brazil2241.discord.media:443
2022/10/30 15:17:13 [DG2] voice.go:348:wsListen() called
2022/10/30 15:17:13 [DG3] voice.go:417:onEvent() received: {"op":8,"d":{"v":1,"heartbeat_interval":55000}}
2022/10/30 15:17:13 [DG3] voice.go:494:onEvent() unknown voice operation, 8, {"v":1,"heartbeat_interval":55000}
2022/10/30 15:17:14 [DG2] voice.go:372:wsListen() successfully reconnected due to code 4014

If not (e.g. kicked by admin), the connection is deleted.
2022/10/30 15:18:24 [DG2] voice.go:356:wsListen() received 4014 manual disconnection
2022/10/30 15:18:29 [DG2] voice.go:376:wsListen() disconnect due to code 4014
2022/10/30 15:18:29 [DG2] voice.go:167:Close() called
2022/10/30 15:18:29 [DG2] voice.go:176:Close() closing v.close
2022/10/30 15:18:29 [DG2] voice.go:182:Close() closing udp

Anyhow, thanks for your work and patience.


feat: GH-6444, add a11y for save for later.

Close #6444

change the base to develop, and the new pr is https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/6750


Tooltip widths shall grow from west to east

Some tooltips seems to have a fixed with where they grow vertically rather than horizontally. Minor nuisance, but it's easier to read them if they grow sideways.

Not sure how that is handled, but I'll look into it once I'm done with the non-enhancement stuff.


Minor changes & update dependencies

Changes:

Fix typos escapeCsvFilelds → escapeCsvFields
Fix typos in comments
Update dependencies

@BePo65, should I still do something to be able to merge this PR?
It has a failed Node.js CI / build (15.x) (pull_request) test.

I will have to check this - but it will take some time as all my systems are on LTS (node v14). Therefore I will have to switch to node v15.


Create release notes via GitHub Actions

Tags created via GA don't currently have an associated release. Help wanted to find an easy-to-use action to create it.
https://github.com/fregante/github-url-detection/releases

Help wanted to find an easy-to-use action to create it.

Let's build one!

😱

Indeed this would also help Refined GitHub and any other auto-deployed extension


Adding @sengrid/mail definition

Hello everybody,
I've added the @sendgrid/mail definition.
Have a nice day.
Dimitri,

@GAntoine you'll be glad to see that I've added lots of tests.

Awesome! I went ahead and added some failing statements wrapped in // $ExpectError.

It's a good team work ! Thank you 👍 🥇


fix(wash): windows path to target

Verbatim paths on Windows are not well supported,
e.g. "\\?\C:\Users..." while technically valid, causes some fs api's like exists to fail errantly.
The fix is to use a third party lib normpath to normalize the path to the wasm
binary.
Related issue: https://github.com/rust-lang/cargo/issues/9770
Fixes #1481
Signed-off-by: Bailey Hayes<EMAIL_ADDRESS>

Hmm, it looks like a lot of the wash build integration tests are failing


Unit tests no longer installing correctly

Describe the bug
Some unit tests show up in build directory after install
.../build$ ls -1
cfecfs_build_info.h.in
cfecfs_version_info.h.in
CMakeCache.txt
CMakeFiles
cmake_install.cmake
coverage-ut-mcp750-vxworks-testrunner
CTestTestfile.cmake
doc
exe
inc
install_manifest.txt
Makefile
mission_vars.cache
msg_UT
native
sample_app-sample_app-testrunner
sample_lib-sample_lib-testrunner
tools

To Reproduce
make SIMULATION=native ENABLE_UNIT_TESTS=true prep
make
make install
Expected behavior
They should all show up in build/exe/cpu1 (for default config)
Code snips
No idea
System observed on:

Hardware: cFS Dev Server
OS: Ubuntu 18.04
Versions: bundle main

Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC

@jphickey ideas?  This from the cpu naming change?

-- Installing: .../build//sample_app-sample_app-testrunner (removed full path)... exe/cpu1 missing.

Survey:
https://github.com/nasa/cFE/blob/db829294eba01b88683e679d58435f65ca02f826/fsw/cfe-core/unit-test/CMakeLists.txt#L76-L79
https://github.com/nasa/osal/blob/c3b139863d7edfc904983bea050b2147c8b784ab/src/unit-test-coverage/CMakeLists.txt#L86-L88
https://github.com/nasa/osal/blob/c3b139863d7edfc904983bea050b2147c8b784ab/CMakeLists.txt#L319-L321
https://github.com/nasa/cFE/blob/db829294eba01b88683e679d58435f65ca02f826/modules/msg/unit-test-coverage/CMakeLists.txt#L63
https://github.com/nasa/sample_app/blob/9ff605ed1b738c6a2eabd75cf05aeed163cc5940/unit-test/CMakeLists.txt#L70

Looks like a loop on INSTALL_TARGET_LIST should work since it's set at the arch level:
https://github.com/nasa/cFE/blob/db829294eba01b88683e679d58435f65ca02f826/cmake/arch_build.cmake#L332
I'll try making these all consistent.


repository.py file updated

okay so I have updated repository.py file and even added this method  .pull_requests() in documentation.md

Looks good :))


Polish the ErrorReportActivity UX

see https://github.com/NativeScript/android-runtime/issues/221 and https://github.com/NativeScript/android-runtime/issues/293


feat(docker): use python:3.9.7-slim package and multi-stage build for…

… smaller docker image sizes. Added workflow for publishing GitHub Packages for default branch.
Reduced the docker image size from 1.18GB to 300MB
Needs some more testing :joy:

@nymmrx
in this PR I've setup the workflow for building the docker image based on slim.
It's triggered whenever a commit is pushed to master branch either directly or by merging a PR into it.
The docker image is named:
ghcr.io/yearn/yearn-exporter:latest
which is the most convenient because we can then leave the tag out and just use:
ghcr.io/yearn/yearn-exporter
Here's the first image I created via a workflow:
https://github.com/yearn/yearn-exporter/pkgs/container/yearn-exporter
I've also adapted the deploy.sh so that we can just use the pre-built image when deploying and do not have to do it in the deploy.sh anymore.

just realized that it might have happened that we deployed the older image because we had two separate workflows. Merged them now into one with two steps: build and deployment

fyi bumping the docker image to python 3.9 fixes the following error in transaction-exporter on master:
[00:41<00:00, 417kiB/s][33] Error loading Python lib '/tmp/_MEIYmu9AT/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29' not found (required by /tmp/_MEIYmu9AT/libpython3.8.so.1.0)

@bsamuels453
thanks, the GLIBC error is already fixed by this: affa923185ebec1afa5c97d82df682b786f9f38e
Will update this PR soon.

too outdated pr


Fix behavior for $type filter on arrays

This is the second PR (based on top #755) made from the split of #743.
Best regards,
Gustavo Sousa

Thanks for splitting in two PRs

There are actually 3 PRs: #755, #756, #757

Just rebased this on top of #755.

Simple and clean, please rebase so that I can merge easily


Uncaught TypeError: Cannot read property 'session_id' of undefined

Hello, I'm trying to deploy the Node JS server to a Namecheap hosting, everything is working fine in my local computer but when I deploy and everything is configured then I receive the following error locally:
Uncaught TypeError: Cannot read property 'session_id' of undefined at
XMLHttpRequest.http.onreadystatechange (api.js:42)

All my UI charges ok and my bot answers with the habitual "I'm having trouble connecting to the server, please refresh the page", apparently is a problem related with the session_id, I've looked into the code but since I'm not very proficient in javascript I couldn't identify the problem myself, any help? Please.
The piece of code in api.js with the problem is the following:
  function getSessionId(callback) {
    var http = new XMLHttpRequest();
    http.open('GET', sessionEndpoint, true);
    http.setRequestHeader('Content-type', 'application/json');
    http.onreadystatechange = function () {
      if (http.readyState === XMLHttpRequest.DONE) {
        let res = JSON.parse(http.response);
        sessionId = res.result.session_id;
        callback();
      }
    };
    http.send();
  }

And the HTTP error code is 500 (internal server error), in my server side the passenger.log file doesn't log any error.

What's the output of rest.result if you print it out? It's hard to understand what the problem is without a set of reproducible steps

What's the output of rest.result if you print it out? It's hard to understand what the problem is without a set of reproducible steps

Thanks for answering, res was an empty JSON like format, I already solved this problem, it was a quite simple mistake on my side, to try to be helpful this is what was happening:
After deploying the server to my web hosting I forgot about changing the sessionEndPoint and messageEndPoint variables in api.js, it's important because now that our web app is on the internet we need to specify https://ourwebpage.com/api/session instead of just /api/session, also since my hosting had a WordPress installation in a prior point of time it was conflicting with the /api/session and /api/message routes throwing a 500 internal server error.


Add API godoc in task_types.go

Changes
Adds some API godoc to the types in task_types.go. I left some areas alone in this PR because I am still learning the project's codebase.

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide
for more details.

/ok-to-test

/lgtm

/test pull-tekton-pipeline-integration-tests


bug: avatar

[ ] In the Code section, I Can see many options in the reference document and that kind of option is helpful for developers so in wrappid that type of option we need, I guess.

from #59

[ ] Fix this space

with respect to other headline spacing

from #60

[ ] background-color section missing for letter avatar

from #61

[ ] overlapping

from #63

[ ] order problem

reference doc

from #64

[ ]

As I can see in the grouped description there should be "coreAvatargroup" and max and core avatar group should be highlighted like reference document

from #68

[ ] NOT IMPLEMENTED

from #69

[ ] Overlapping

from #71

[ ] Extra Blank Space

no work done from my side on this issue


New network request - Beam mainnet

Network information
Name: Beam mainnet
ChainId: 4337
RPC http/s address: https://subnets.avax.network/beam/mainnet/rpc
Link to https://chainlist.org/: https://chainlist.org/chain/4337
Blockexplorer: https://subnets.avax.network/beam

{"jsonrpc":"2.0","id":45,"error":{"code":-32000,"message":"tx.origin 0x0000000000000000000000000000000000000000 is not authorized to deploy a contract"}}

We have this RPC for mainnet, can you let me know if it works?
https://rpc-safeglobal.onbeam.com/mainnet

@Uxio0 I understand why it is failing.
Beam Mainnet has permissioned deployments, and 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37 is approved to deploy. When running 'yarn estimate' I get the same error as you, that is because the gas estimation has not specified the transaction signer -'from' parameter-.
Adding the 'from' parameter when using estimaGas results in a correct estimation and success of the transaction.
https://github.com/safe-global/safe-singleton-factory/blob/86c8cada199e10adb0a22bd09f1146153500dde2/scripts/common.ts#L64C54-L64C54
Submitted a PR introducing this simple change that can be helpful for chains with similar characteristics.

Thanks for the PR! Could you send funds to the deployer so we do the deployment? We are changing the process

Great, thanks too! It already has 0.01 ETH -both in Beam Mainnet and Testnet-

Beam mainnet: 0x56b84bcb93087f3fd5cb5ab5f33736c6e3fe5843f135a25beac5d753ce94284f
Beam testnet: 0x2fc2c76e3a61c8bbf8618dae9b5f8704b559f67d0c9fb9055451bad555515428


nrf54l15 write block size

write-block-size correction.

shouldn't it go first to the Upstream repo?

shouldn't it go first to the Upstream repo?

https://github.com/zephyrproject-rtos/zephyr/pull/70412

Tested with smp_svr sample with enabled bluetooth.
Before change I received on the shell:
[00:00:00.001,283] <err> littlefs: WEST_TOPDIR/modules/fs/littlefs/lfs.c:1234: Corrupted dir pair at {0}
[00:00:00.001,290] <wrn> littlefs: can't mount (LFS -84); formatting

With that fix there is no warning

This issue is probable not related with that change. It  works the same with write-block-size = <1>. Warning appears after first flashing, after reset there is no warning.

This issue is probable not related with that change. It works the same with write-block-size = <1>. Warning appears after first flashing, after reset there is no warning.

This is normal as it fails to recognize LIttleFS in designated storage partition so makes a new one.


fix use of showSliceControls

Reminded of this fix when showing @pwalczysko the other day...
To test:
When chunks are 2D, we don't need to show the 'slice' controls, so it should look like this:
https://deploy-preview-30--ome-ngff-validator.netlify.app/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0062A/6001240.zarr

When chunks are 3D, then we show the 'slice controls':
https://deploy-preview-30--ome-ngff-validator.netlify.app/?source=https://minio-dev.openmicroscopy.org/idr/v0.4/idr0077/9836832_z_dtype_fix.zarr

For me, the second one is raising an exception, @will-moore:

Seems https://minio-dev.openmicroscopy.org/idr/v0.4/idr0077/9836832_z_dtype_fix.zarr/.zattrs is failing to load (it was working earlier)!

@will-moore This url is working for me now if you want to give it another try? Thx


Documentation Inconsistency

Another inconsistency in the documentation.
The doc-string is not up to date with the code. In particular the variable names do not match.
https://github.com/CALFEM/calfem-python/blob/8c9746482e6545c461aad440ee4d9fba7201f447/calfem/vis_mpl.py#L505C9-L505C12

Thanks again. Will check.
Från: Vilmer Dahlberg @.>
Skickat: den 29 januari 2024 14:21
Till: CALFEM/calfem-python @.>
Kopia: Subscribed @.***>
Ämne: [CALFEM/calfem-python] Documentation Inconsistency (Issue #62)
Another inconsistency in the documentation.
The doc-string is not up to date with the code. In particular the variable names do not match.
https://github.com/CALFEM/calfem-python/blob/8c9746482e6545c461aad440ee4d9fba7201f447/calfem/vis_mpl.py#L505C9-L505C12
—
Reply to this email directly, view it on GitHubhttps://github.com/CALFEM/calfem-python/issues/62, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACJ2FPMJY27RGFUE6RODZRLYQ6O4XAVCNFSM6AAAAABCPNZVTKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDKNBYHEZTOMQ.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


Removing Workload does not remove Workload artifacts (secrets)

Steps to repo:

Deploy a Workload from the Getting started examples (any cloud provider)
Delete the same Workload

Expected: all Workload artifacts are removed from the target clusters (except the namespace)
Actual: demo-*-secret is left behind.

I notice that _delete will remove the service and deployment, but I don't see anything related to removing secrets. That seems (maybe?) related. If so, would resolving this issue just be a matter of adding code to _delete that removes the secret, or is it a bit more involved than that?

Hey @ZachEddy, I synced up with @ichekrygin and we think it'd be great if you wanted to go ahead and start working on this issue!   The contributing guide should get you started, I especially make heavy use of the local build/test flow with minikube as described in the local build guide.  Let us know if you have any questions or issues at all, you can ask here or on the Slack #dev channel.
We're pumped to get new contributors to this project, so we're here to help make the contribution process smoother for you, and apply any of the lessons learned from bumps in the road back into our docs to make it easier for the next new contributor 🤕  Thanks!


Docs for limited updates/deletions

For https://github.com/PostgREST/postgrest/pull/2195

Somehow the headlines / TOC / menu needs a bit more cleanup. "UPSERT" is now below "Specifying column", that seems strange?

Somehow the headlines / TOC / menu needs a bit more cleanup. "UPSERT" is now below "Specifying column", that seems strange?

My bad there, just fixed it.

This is now updated to match https://github.com/PostgREST/postgrest/pull/2211.
The CI linkcheck is failing because of https://scoop.sh, which is a recent failure - if it's still down after some time I'll remove it.

The CI linkcheck is failing because of https://scoop.sh/, which is a recent failure - if it's still down after some time I'll remove it.

Moved forward with that one and just put the Github link instead.


Add \n before include's end of fence

Some renderers do not support records like this: "some insertion```" (The fence is the next immediately after the end of the insertion, without a line break)
It needs the line break before the fence:
"some insertion
```"
PS: sorry about horrible English.

Hi @Alster, this project is not intended to do  markdown sanitation. What you describe is not correct github flavored markdown. A fenced code block always needs to be finalized with a new line. IMHO you should try to fix the problem in the markdown file first.

If so, then you can close issue. Thank you.


Don't Missuse The Return Annotation

I've been cleaning up the repository classes, and noticed you've said things like @returns Exception. You should have used the @throws \Exception annotation there.

All, please don't use is_null === null is better performing. Micro-optimization. :)

All, please don't use is_null === null is better performing. Micro-optimization. :)

Also, is there an error in your code here?
    public function count($key = null, $value = null)
    {
        if (is_null($key) || is_null($value)) {
            return $this->model->where($key, $value)->count();
        }

        return $this->model->count();
    }

Did you not mean to have the two statements the other way round?
    public function count($key = null, $value = null)
    {
        if (is_null($key) || is_null($value)) {
            return $this->model->count();
        }

        return $this->model->where($key, $value)->count();
    }

Also, is there an error in your code here?
    public function count($key = null, $value = null)
    {
        if (is_null($key) || is_null($value)) {
            return $this->model->where($key, $value)->count();
        }

        return $this->model->count();
    }

Did you not mean to have the two statements the other way round?
    public function count($key = null, $value = null)
    {
        if (is_null($key) || is_null($value)) {
            return $this->model->count();
        }

        return $this->model->where($key, $value)->count();
    }

Got it. That makes a lot more sense.
Okey dokey.
I'm not sure, I believe @Ehesp did that?

Got it. That makes a lot more sense.
Okey dokey.
I'm not sure, I believe @Ehesp did that?

Also, I don't think we should even use repositories there if we don't use them everywhere.

Also, I don't think we should even use repositories there if we don't use them everywhere.

I think it was the plan to move everything to it, but it's just for the API for now - no particular reason why.

I think it was the plan to move everything to it, but it's just for the API for now - no particular reason why.

There doesn't seem much point in them atm. Repositories are the most overused patern within the laravel community. Often they're simply not required.

There doesn't seem much point in them atm. Repositories are the most overused patern within the laravel community. Often they're simply not required.

If only we had unit tests, we would know what the desired behaviour was...

If only we had unit tests, we would know what the desired behaviour was...

Ok, we can pull them out then if it's better for us. I wonder if it was to do with Dingo? @Ehesp?

Ok, we can pull them out then if it's better for us. I wonder if it was to do with Dingo? @Ehesp?

Nah, it's nothing to do with dingo. I'll leave them in for now.

Nah, it's nothing to do with dingo. I'll leave them in for now.

I want to refactor without removing them. We can remove them afterwards if we still don't want them.

I want to refactor without removing them. We can remove them afterwards if we still don't want them.

Also, some of the phpdoc is incorrect. I'll try and work out what was really intended. Pull request coming soon(ish)...

Also, some of the phpdoc is incorrect. I'll try and work out what was really intended. Pull request coming soon(ish)...


Allow participant to be created in a cohort

Previously, ParticipantStore could only update the cohort ID after participant
creation. Change it to allow a participant to be created directly in a cohort.

#1814
#1813
#1812  👈
main

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

Join @sgrimm and the rest of your teammates on  Graphite


image does not respect "docker stop"

I can't terminate the container via "docker stop", only "docker kill" works. We're using this image on our CI system and this gives trouble.

Thanks for using the image and apologies for the late reply.
Are you still experiencing issues in your CI environment?
I'm unable to reproduce this on my machine and docker stop seems to work fine for both interactive and daemon mode of the image.
I'm certainly no bash expert either, so happy to make changes to help make the image more useful for you guys.
Here's my docker info -
$ docker info
Containers: 93
 Running: 3
 Paused: 0
 Stopped: 90
Images: 357
Server Version: 17.06.0-ce
Storage Driver: overlay
 Backing Filesystem: extfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
 NodeID: q7r1nmlj5hemsjr3vqvwbo6u8
 Is Manager: true
 ClusterID: w2y1k3gwg1i9dtlc1hsgs0k6e
 Managers: 1
 Nodes: 1
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Number of Old Snapshots to Retain: 0
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
 Expiry Duration: 3 months
  Force Rotate: 0
 Root Rotation In Progress: false
 Node Address: <IP_ADDRESS>
 Manager Addresses:
  <IP_ADDRESS>:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: d24f39e203aa6be4944f06dd0fe38a618a36c764 (expected: cfb82a876ecc11b5ca0977d1733adbe58599088a)
runc version: 2d41c04 (expected: 2d41c047c83e09a6d61d464906feb2a2f3c52aa4)
init version: v0.15.0 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.4.39-gentoo
Operating System: Gentoo/Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56GiB
Name: tinybeast
ID: HWAU:7ADI:TLGN:CNV6:5LZ5:V4UG:KTX7:377K:WE2B:64YE:DA4D:XWFT
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Username: simonpure
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Here is what I'm doing: I'm running the command from your README:
docker run -it --rm -p=<IP_ADDRESS>:9222:9222 --name=chrome-headless -v /tmp/chromedata/:/data alpeware/chrome-headless-trunk

I'm then running this in another terminal:
docker stop chrome-headless

This takes 10 seconds to complete, because the default timeout before the container is terminated forcefully (SIGKILL) is 10 seconds:
> docker stop --help

Usage:	docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop one or more running containers

Options:
      --help       Print usage
  -t, --time int   Seconds to wait for stop before killing it (default 10)

So if I instead do
docker stop chrome-headless -t 60

then it takes a full minute until the container gets terminated. On our CI that timeout is even higher for some other reason.
This means the container is not responding to the "please shut down now" signal (SIGTERM) that gets sent first.

Thanks for the clarification. Should have looked at the exit code.
Your proposed fix doesn't seem to work for me. However, it seems I can extend the startup script to trap SIGTERM and then kill the chrome process as described here: https://goo.gl/MuYxqu
Should have this out shortly.

It's currently building the image with the latest tag on Docker Hub.
Appreciate if you could let me know if this fixes the issue on your end as well.
Thanks!

docker stop now works for me, thanks for fixing that issue. I wonder why my solution did not work, it did the trick on another docker image. One downside of your approach is that it is less clean, it only fixes exactly my issue. For example sending other signals to the docker container will still not work.

I agree and not sure why this didn't work for me. I'll see if I find some
more time to dig into it. Did your fix work for you locally?
Also, are there any other signals you depend on we can add in the meantime
to help run things smoothly in your CI environment?
On Jul 14, 2017 2:39 PM, "Richard Musiol"<EMAIL_ADDRESS>wrote:
docker stop now works for me, thanks for fixing that issue. I wonder why my
solution did not work, it did the trick on another docker image. One
downside of your approach is that it is less clean, it only fixes exactly
my issue. For example sending other signals to the docker container will
still not work.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alpeware/chrome-headless-trunk/issues/2#issuecomment-315349598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYqJETePpah3Qou8jMjWBwLMYLOB8ijxks5sN2GNgaJpZM4OCbK3
.

I added dumb-init [0] instead, so all signals should come through properly.
Let me know if you noticed any other issues or regressions!
[0] https://github.com/Yelp/dumb-init

I just tested the new version on our CI system. It works fine. Thanks!


Question on loss of temporal coding.

Hi,
I 'm doing some latency code training with snntorch. I'm not very sure how to calculate the loss of temporal coding. In rate coding, we just sum the loss of ervery time steps, but how to calculate the loss in temporal coding?
Thanks.

Converting this to a discussion.
The default implementation measures the loss by using the neuron that spikes first as the predicted class. I.e., each output neuron has the spike recording converted into an index.
If I have a 3-class classification classification problem and my neuron spikes are as follows:
Neuron 0: [0 0 0 0 1]
Neuron 1: [0  1 1  1 1]
Neuron 2: [1 0 0 0 0]
Then the first spike index from [0, 1, 2] is [4, 1, 0].
We train the network so the correct class can be smaller than all other classes.
ce_temporal_loss will drive the correct class to 0, and incorrect classes to infinity.
mse_temporal_loss will drive the correct and incorrect classes to values that the user specified.
https://snntorch.readthedocs.io/en/latest/snntorch.functional.html#snntorch.functional.loss.ce_temporal_loss


patched http object, refactored code, now handled axios api failures,…

… bug fix in searc index pattern
Fixes #29

closes #30


test(feature-toggle-service): test case for feature toggle service

gh-432
Description
Added test cases for feature toggle service
Fixes #432
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[x] Performed a self-review of my own code
[x] npm test passes on your machine
[x] New tests added or existing tests modified to cover all changes
[x] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

@yeshamavani resolve conflicts

closing this as this is merged through another PR


bug in version 1.1.10 using IOS

hosted/pub.dartlang.org/jovial_svg-1.1.10/lib/src/affine.dart:59:24: Error: Member not found: 'IndexError.withLength'.
throw IndexError.withLength(row, 3, indexable: this);
^^^^^^^^^^

Flutter 3.3.9
Dart 2.18.5
When trying to use version 1.1.7 pub.dev is pointing to 1.1.10.
In a project from 12/2022 version 1.1.7 worked but now it is pointing to release 1.1.10

You're running an quite old version of Flutter!  Your choices are to upgrade to a contemporary flutter that uses SDK 2.19, or downgrade to jovial_svg version 1.1.9 in your pubspec.yaml.
Google made an annoying, trivial API change, and made it more or less mandatory by aggressively deprecating the old API.  Their toolchain apparently doesn't catch this sort of thing.  I'll publish 1.11 (requiring a current SDK) and withdraw 1.10, but you'll have to manually upgrade your SDK or downgrade your jovial_svg, because I think withdrawing a package has no effect on workspaces where it has already been downloaded.

Oops, referenced wrong issue in that commit.  Should have been #48.


Minor copy edit

Minor copy edit
Co-authored-by: mesolimbo<EMAIL_ADDRESS>

LGTM 👍


connection state observer added

connection state observer added on EchoService.
it would be great to be notified when websocket is connected/disconnected

Thanks for the PR, I'll have a look into it since I think it might be nice to also catch different events (for example error) and maybe use an Observable constructor with shareReplay instead of a Subject (that way it is not needed to add an option but instead we can subscribe/unsubscribe the events from within the subscriber callback of the observable (since we are accessing the "raw" events of the underlying connection in this case instead of through laravel-echo (which does not have unsubscribe support))

As previously mentioned I've looked into your PR and created a version which provides the requested functionality as well as access to the raw underlying events. For both pusher and socket.io these use the observable constructor which does the job of both subscribing to and unsubscribing from the required events to provide monitoring of the connection state. It does not need an additional config, you can simply subscribe to service.rawConnectionState (raw stream of state events from the underlying connector) or service.connectionState (boolean stream indicating connection status).

thank you so much


Add :folder permalink property

Allows for permalinks to include the folders. Example would be a file in _posts/something/other.md could then have a permalink setting of /posts/:folder:basename.html and result in /posts/something/other.html as output, while _posts/a-post.md would still output /posts/a-post.html as well.
Will create a PR for the docs as well.

@beryllium Added a little something :) Seems like either something went wrong with travis or the build setup, but the tests pass here.
Also documentation added: https://github.com/sculpin/sculpin.io/pull/116

Thanks! Looks like the travis issue was just a transient glitch.


Expose source ip of http request

Hi, I'd like to restrict the traffic to my http server to a specific netif, this could be done easily if there was a way to check the source ip of a request to do control flow like;
http_server.fn_handler("/", Method::Get, move |mut request| {

    let html = "hello world";

    let connection = request.connection();

    if connection.get_src_ip()? != Ipv4::new(10, 10, 10, 1) {
        return Err(anyhow::anyhow!("Source ip forbidden"));
    }

    connection.initiate_response(200, Some("OK"), &[("Content-Type", "text/html")])?;

    connection.write(html.as_bytes())?;

    Ok::<(), Error>(())
})?;

I've looked at this forum post which is very interesting but doesn't really help me parse the very opaque http/server.rs to see where I would put this potential method.

Would you like to implement this feature? yes

A nudge in the right direction would be helpful, or maybe this isn't necessary at all and there's already a way to check this that I haven't found. Who knows.

Ok so I think I've somewhat figured it out, in http/server.rs there's a;
pub struct EspHttpRawConnection<'a>(&'a mut httpd_req_t);

which is what we want. Now to write the method..

Well. That wasn't so hard after all.


bitround with xr.apply_ufunc

Better than current implementation and would allow dask parallelised

something like xr.apply_ufunc(bp.bitround._bitround, ds, keepbits[v], dask="parallelized"). still thinking about how to pass keepbits for a Dataset


hide upcoming events on society page if there are none

fix #37

Thanks.
You can also try #2 if you are interested.


Update number of partitions

Update the number of partitions created for hpc-enterprise-slurm.yaml
Submission Checklist
Please take the following actions before submitting this pull request.

Fork your PR branch from the Toolkit "develop" branch (not main)
Test all changes with pre-commit in a local branch #
Confirm that "make tests" passes all tests
Add or modify unit tests to cover code changes
Ensure that unit test coverage remains above 80%
Update all applicable documentation
Follow Cloud HPC Toolkit Contribution guidelines #

/gcbrun


Shutdown when finished does not shutdown the computer

I updated from StaxRip <IP_ADDRESS>-beta to <IP_ADDRESS>.
Now when I leave my encodes over night and set the job queue to shutdown when done, the computer stays on.
This didn't happen before on the previous version I used.
My current system profile:

There was a breaking change in a windows update, please try a test build:
https://github.com/stax76/staxrip#download


Add .NET Interactive .ipynb example

see this example from data table extension: https://github.com/RandomFractals/vscode-data-table/issues/26#issuecomment-890346496
Convert usa-airports.csv to geoJSON with https://odileeds.github.io/CSV2GeoJSON
Load it with .Net interactive for display on the map.

.Net Interactive example in CodeSpaces:

see: https://github.com/RandomFractals/vscode-leaflet#net-interactive-notebook-example


pestpp-ies not running with test case

Hi there. I'm trying to do a test run with pestpp-ies before I do a full monte carlo run. Think notebook "prior_montecarlo" which I am following like a fool so I can learn this at mere mortal speed. At this point:
"replace the par vals with the first row in the par ensemble"
pst.parameter_data.loc[pe.columns,"parval1"] = pe.iloc[0,:]    #pe.iloc is [num runs,num params]
pst.control_data.noptmax = 0
pst.write(os.path.join(t_d,"test.pst"))
pyemu.os_utils.run("pestpp-ies test.pst",cwd=t_d, verbose = True)  #HERE
res = pyemu.pst_utils.read_resfile("test.base.rei") #os.path.join(t_d,"test.base.rei"))
res.loc[pst.nnz_obs_names,:]
I get an error saying that it can't find test.base.rei because the pestpp-ies has not executed properly.
---  'noptmax'=0, running control file parameter values and quitting  ---
...running control file parameter values
...failed realizations:  1
...the following par:obs realization runs failed: BASE:BASE,
---  control file parmeter value run failed...bummer  ---
Yah, bummer indeed.
My original w14c.pst file runs fine with -ies. The only difference I can see between test.pst and w14c.pst is that the 1.0 multipliers have been replaced by the ensemble from the jacobian, as they should have. And the obs groups have been reversed, which shouldn't matter much.
Is pestpp-ies really sensitive to white space or something odd like that? I can't work out why I'm not getting my test.base.rei file generated.
I haven't gone straight to the full monte carlo run yet, might test this next.
Thanks a million.

Sounds like the forward bombed and therefore ies has no residuals to write.  Can you check the modflow list file ? Also I think stdout from modflow is redirected to a file - might be a clue there too? Does the model run to completion with the original par vals (before resetting the par values With the first realization)?

Yes. The forward bombed. I ran the full sweep overnight and had to drop almost 300 runs. So theoretically only a 40% chance of a single run working. I'll have a look at stdout as well. It's always useful to have some clues for where to look.

Ive found that most of the run fails/bad behavior is in the prior sweep - after even one iteration, things clean up quite a bit...

40% seems like a lot, even by my standards, no? Are you using multiple
machines? We found a bad HD on one of our machines by looking in the rmr
file and noticing many failures on the same machine/drive.
On Tue, Oct 29, 2019 at 3:16 PM jwhite-usgs<EMAIL_ADDRESS>wrote:

Ive found that most of the run fails/bad behavior is in the prior sweep -
after even one iteration, things clean up quite a bit...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jtwhite79/pyemu/issues/99?email_source=notifications&email_token=ADSJXRBJMO5N557DZGUSYI3QRCY5JA5CNFSM4JGDJQG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECSIRNY#issuecomment-547653815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADSJXREPETFOFM26L7LNP6TQRCY5JANCNFSM4JGDJQGQ
.

--
"Spheres are pointless."


Mockito in flow does not support mocking final classes

When moving classes and their tests from connect to flow it was necessary to ignore certain tests that depend on the mockito plugin for final classes.
We can upgrade flow to use the org.mockito.plugins.MockMaker pluggin in mockito-core-2.23.0, but it breaks tests in master flow as it's shown in the TC build :  https://teamcity.vaadin.com/viewType.html?buildTypeId=Flow_FlowTests&branch_Flow=6672

Closing in favour of #208


redo low I2C clock speed for AVR

See: https://github.com/adafruit/Adafruit_BusIO/pull/104
If the prescaler was not 0 just setting the TWBR register low is not always enough.
Need to explicitly set prescaler too.
And set the prescaler back too.

See ATMEL328 datasheet page 244 - 21.9.3 - TWSR – TWI Status Register

Page 223


Response is too slow when not cached

Building the ticker calls the candles API once per market (unavoidably). Because of this it is slow and means each time the cache TTL expires there's a nasty wait.
Putting the data update in a thread so there's always ticker data to serve instantly will solve this.

Closed by https://github.com/vegaprotocol/ticker-service/commit/e7a033299e9c4a540a7f10593b80955b974c21ff


add topics

I suggest adding topics such as mpi, fortran in the About section at https://github.com/jeffhammond/standalone_mpi_f08_module.

Yeah, I need to work on the README too. The project isn't even 24 hours old.

This is fixed.


Adam variable loading semantics

Adam variables are loaded with ml::train::model::load(), which allows loading the model weights.
However, model weights can be loaded with a call to ml::train::model::load() but adam weights can only be loaded when load() is called from inside the train() as adam parameters are only available during the training. The error message in the former case needs to be set properly.

:octocat: cibot: Thank you for posting issue #1845. The person in charge will reply soon.


Paper URL to DOI

An option to go from (potentially changing) article URL to its DOI coud be useful.

I try to use cite in my website How to implement it .

What exactly are you trying to do? It's mainly thought as being used on the command line atm.

What exactly are you trying to do? It's mainly thought as being used on the command line atm.

I try to implement it in the website under the textrea but if you said  only for command line that's ok . May be i fine the way out.Thank you.

The Cite is very usuful if it can be apply in a normal website like .Do you have a solution about it?

Cite is a commanline tool primarily, but the service it uses  is a web-based API you could use in another website (i think):
https://citation.crosscite.org/
https://citation.crosscite.org/docs.html

Cite is a commanline tool primarily, but the service it uses is a web-based API you could use in another website (i think):
https://citation.crosscite.org/
https://citation.crosscite.org/docs.html

Thank you very much.🙏

The original question could probably be achieved by some command line json output wrangling.

An option to go from (potentially changing) article URL to its DOI coud be useful.


Cannot update overprovisioning factor via envoy filter

Bug description
New overprovisioning factor was added into the cluster via envoy filter, but it's ignored by envoy.
[
    {
        "name": "outbound|9080||reviews.test.svc.cluster.local",
        "type": "EDS",
        "edsClusterConfig": {
            "edsConfig": {
                "ads": {}
            },
            "serviceName": "outbound|9080||reviews.test.svc.cluster.local"
        },
        "connectTimeout": "1s",
        "loadAssignment": {
            "clusterName": "outbound|9080||reviews.test.svc.cluster.local",
            "policy": {
                "overprovisioningFactor": 120
            }
        },
        "circuitBreakers": {
            "thresholds": [
                {
                    "maxConnections":<PHONE_NUMBER>,
                    "maxPendingRequests":<PHONE_NUMBER>,
                    "maxRequests":<PHONE_NUMBER>,
                    "maxRetries":<PHONE_NUMBER>
                }
            ]
        },
        "outlierDetection": {
            "consecutive5xx": 1,
            "interval": "1s",
            "baseEjectionTime": "3600s",
            "maxEjectionPercent": 100,
            "enforcingConsecutive5xx": 100
        },
        "commonLbConfig": {
            "healthyPanicThreshold": {},
            "localityWeightedLbConfig": {}
        },
        "metadata": {
            "filterMetadata": {
                "istio": {
                    "config": "/apis/networking.istio.io/v1alpha3/namespaces/test/destination-rule/reviews"
                }
            }
        },
        "filters": [
            {
                "name": "envoy.filters.network.upstream.metadata_exchange",
                "typedConfig": {
                    "@type": "type.googleapis.com/udpa.type.v1.TypedStruct",
                    "typeUrl": "type.googleapis.com/envoy.tcp.metadataexchange.config.MetadataExchange",
                    "value": {
                        "protocol": "istio-peer-exchange"
                    }
                }
            }
        ]
    }
]

[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Traffic split occurs when the number of healthy endpoints in p0 drops below 83%.
Steps to reproduce the bug

Deploy bookinfo service into test namespace
Deploy below envoy filter

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: overprovisioning-factor
  namespace: test
spec:
  configPatches:
  - applyTo: CLUSTER
    match:
      context: SIDECAR_OUTBOUND
      cluster:
        name: outbound|9080||reviews.test.svc.cluster.local
    patch:
      operation: MERGE
      value:
        load_assignment:
          cluster_name: outbound|9080||reviews.test.svc.cluster.local
          policy:
            overprovisioning_factor: 120
  workloadSelector:
    labels:
      app: productpage

Update deployment productpage and reviews-v2 to run on the same node, and reviews-v1 to run on another node.
Scale up deployment reviews-v2 to 10 pods
Enable locality load balancing and outlier detection for reviews
Make two reviews-v2 pods fail outlier detection
Curl productpage and check the version of triggered reviews service by  for i in {1..1000}; do n=`curl http://<IP_ADDRESS>:8001/api/v1/namespaces/test/services/productpage:9080/proxy/productpage -s | grep -w black | wc -l`; if [[ "$n" -eq 0 ]]; then echo $n; fi; done. It should output a few 0s.

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
1.5.2
How was Istio installed?
istioctl manifest apply
Environment where bug was observed (cloud vendor, OS, etc)
AWS, Kops, Kubernetes

The responsibility of Istio is to apply the config field to Envoy. We cannot support users misconfiguring Envoy, or configuring envoy fields with bugs. Note the docs in https://istio.io/docs/reference/config/networking/envoy-filter/ that this is a break glass API.
if the field is not working as Envoy docs suggest I suggest filing a bug in envoy repo. Thanks!


Cleanup after recent updates

Especially, are these used at all anymore? From src/main/resources/lib/external-frontend/connection-config.js:
exports.MAPPING_TO_THIS_PROXY = '_frontend';
exports.PROXY_MATCH_PATTERN = new RegExp(`^/?${exports.MAPPING_TO_THIS_PROXY}(/.*)?$`);

If so, when does that occur?
Related to #82 ?

https://github.com/enonic/lib-frontend-proxy/issues/7#issuecomment-972865187


Crash of the tag editor with flac files

Hi.
When using the editor with a flac file the app crashes. I dont know if this happens only with flac files or with every file different from an .mp3 file.

Thanks for the report. Currently tag editor only supports mp3. I have plans to an advanced editor  that supports more files like flac.
BTW, Thanks for the report

Hy iZakir. Thx for the replay. Perhaps it would be useful a message that avoids editing files that are not mp3, since actually the app crasches. thx, by.

My bad I didn't think of it at that time. Sorry for the in convince it has caused you.
I am working on 3.0.0 release that will hopefully clear all these issues once and for all.
Please keep supporting me.
Sincerely Audiofy

Fixed the issue with latest update. It now shows error when called on files other than Mp3.
Thanks for the report.

Hi. When using the editor with a flac file the app crashes. I dont know if this happens only with flac files or with every file different from an .mp3 file.

Fixed the issue with latest update. It now shows error when called on files other than Mp3.
Thanks for the report.


Make settings certification text clearer

Oops... this change is not trivial.
https://github.com/freeCodeCamp/freeCodeCamp/blob/056a871b7440fd989b01848c52113ed04149544e/common/app/routes/Settings/components/Cert-Settings.jsx#L268-L278
I'll get to it in the morning.


feat: conversion between duration and quantity

This is an attempt to make it possible to convert a physical::si::time into a std::chrono::duration and vice versa, as proposed in #33.
It adds a lot of stuff to the time.h header, and also implicitly #includes <chrono> whenever you want to use a time unit, so maybe I should move all of this into a separate header, or guard it using a macro?
Furthermore these are free functions, but since time and duration both represent a time, perhaps it would make sense to implement an implicit cast between the two.

Hi, I am not sure if it is the right approach. Probably we should not extend SI/time.h. I would prefer something similar to what Benri does: https://github.com/jansende/benri/blob/master/include/benri/chrono.h.
Alternatively, we can totally refactor quantity. I can imagine all quantity-related operations to be defined for a concept Quantity and both units::quantity and std::chrono::duration could match this concept. Additionally, we could have some type traits like dimension<Quantity>, unit<Quantity> that would have partial specializations for units::quantity and std::chrono::duration and return correct types.
Both approaches will provide us the compatibility. First one, with a little effort, and the second one with a large redesign (but maybe ending up with a better design that would allow extensions to other quantity-like frameworks).
Anyway, I planned to address those after this release that I plan today evening.
Also, as long as it is nice to have such compatibility, no one in the ISO committee asked for it so far....

I see. Let me know if I can help in some way!
About your last point, I think it would be a shame to give up this compatibility, it seems natural to be able to convert a std::chrono::duration to a [std::]units::Time since they represent the same thing and as a user I would be amazed otherwise...


Optional include/exclude pattern for faster page files crawl

Description
Hi,
I have noticed drastic slowdown of project startup time after I placed a "cache" folder in my project containing thousands of files.
I suggest adding optional include/exclude pattern for page files location to VPS configuration, which will increase crawling speed.
vps({
    pageFiles: {
        include: ['/pages/**/*'],
        // or
        exclude: ['/.cache/**/*'],
    }
});

Thanks!

Good idea. Let me implement this. ETA today.

Actually, while vite-plugin-ssr can implement this, this will require changes on Vite's side as well as Vite currenty doesn't support such option.
I could do a Vite PR. Although I usually do this kind of extra-mile work only for sponsors. I also believe it's a unique feature that other frameworks like Next.js don't support.

Actually, I think I'm mistaken: frameworks probably don't crawl the whole repository.
Let me know if this is a blocker for you and I'll have a second look at this.

A workaround is to create a hidden directory (i.e. a dir with a name that starts with .) and move the files you want to be skipped in there.

fast-glob (which both Vite and vite-plugin-ssr uses) ignores hidden dirs: https://github.com/mrmlnc/fast-glob#dot.

We could also automatically exclude the patterns defined by .gitignore.
I wonder whether that would cover most/(all?) uses cases.
@bagr001 @lookyman @tausa17 @Andrewsville @enri90 @stof66 @blagodus Would that work for you?
Let us know if you need more control, i.e. if a type ConfigCrawl = { gitignore: boolean, exclude: string[], include: string[] } is needed.

Perfect! I thing excluding the patterns defined by .gitignore would cover most use cases.
Thanks!

I thing excluding the patterns defined by .gitignore would cover most use cases.

Done by @nitedani in https://github.com/vikejs/vike/pull/1264.
Vike now uses git ls-files (thus .gitignore is applied) while falling back to fast-glob if Vike didn't find any + files with git ls-files (thus supporting users who generate the + files such as BurdaForward @ChristophP).
Make sure to ugrade to the V1 design (which is getting out of beta very soon): the old design still always uses fast-glob.


feat(#59): Implement back transformation from EO to bytecode

Implement back transfromation from EO to bytecode.
Closes: #59

PR-Codex overview
Detailed summary

Added a new Mojo called BytecodeToEoMojo for converting bytecode to EO.
Added a new Mojo called EoToBytecodeMojo for converting EO to bytecode.
Added a new class called EoObjects for reading EO objects from a folder.
Added unit tests for the EoObjects class.
Updated the pom.xml file to include the new Mojos.

The following files were skipped due to too many changes: src/main/java/org/eolang/jeo/EoToBytecodeMojo.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 2min)


Feature request: @global directive to get global variables

As quickly discussed in the Statamic Discord earlier today, it would be nice to be able to get global variables via a Blade directive :)
I was thinking of something along the lines of:
{{-- Get the whole 'footer' global set, e.g. as a \Statamic\Globals\Variables object. --}}
@global('footer')

{{-- Get the value of the 'copyright' variable in the 'footer' global set. --}}
@global('footer:copyright')

The set:variable semantics seems more Statamic-ish to me, which might be especially helpful in projects that have several custom Blade directives that are unrelated to Statamic. I mean, since directives can’t be namespaced, having the ones related to Statamic use a Statamic-like syntax could serve as a hint of their Statamicness. This last sentence had a lot of Statamic words.

done, both @globalset('footer')...@endglobalset and @globalset('footer', 'copyright') are supported.


Preprocessing of dataset for Self-Supervised Pre-Training of Swin Transformers

Thank you for releasing the pretraining code. As I try to reproduce it, I stumbled over some questions.
The first question regards the pre-processing, and more specifically the spacing of the data. You wrote that for the BTCV challenge a spacing of 1.5 x 1.5 x 2.0 mm is used. Does the same hold for the pretraining data.
You also said that you excluded full air (voxel = 0) patches. I cannot really find the part in the code where this is done. Could you describe, how and where this is done?

Hi @marvnmtz , thanks for these question.
For pretraining, we didn't set the specific spacing, and the model try to learn with variant pixdim for images.
BTW, we tried to pre-train model with 1.0x1.0x1.0 isotropic resolutions, performance are very much the same. This won't impact much for downstream tasks.
For the "excluding full air patches", the "CropForeground" transform automatically did this:
https://github.com/Project-MONAI/research-contributions/blob/c812e5f3b7a56c998035514846aa3292394c4097/SwinUNETR/Pretrain/utils/data_utils.py#L81
Thanks for the interests for the work. Hope these helps.


GROOVY-7793: Compiler compiles class with private abstract method

This PR adds some logic to the class completion verifier that adds an error to the error collector when private abstract methods are detected in abstract classes or enums (for interfaces such a check is already available).

+1

+1

Thanks! :+1:


Service

The yaml has the definition of:
externalIPs:
- <IP_ADDRESS>
But the docs above say:
"my-service" can be accessed by clients on "<IP_ADDRESS>:80" (externalIP:port)
Should it not be:
"my-service" can be accessed by clients on "<IP_ADDRESS>:80" (externalIP:port)

Hi @dgabrysch , can you please explain some more ? which document page are you referring to and how can we replicate or get this error/bug?

The title is not explanatory of the issue. I'd suggest changing title to explain in brief what issue you are facing/refering to.

@sftim  PR https://github.com/kubernetes/website/pull/39499 only modified the data in YAML but did not modify the above description.
  externalIPs:
    - <IP_ADDRESS>

Is a change to this description missing?

/retitle The description of Service External IPs does not match the YAML example

I think he's talking about this page:
https://kubernetes.io/docs/concepts/services-networking/service/#external-ips

You are right 😊

/retitle The description of Service External IPs does not match the YAML example

Thank you, I will try to use a better title next time 😊

That could be my bug. Sorry about that.

Open PR #39768 to fix this issue.


feat: Added github actions script to auto build and publish on tag re…

Added github actions script to auto build and publish on tag releases + added publish to snapshot and release configs in gradle

closes #1


Added rate assigning by tags to container projects

Assign rate to tag:

Assign tag to project:

If that project participates in a Chargeback report the rate used for it will be the one we assigned to the tag:

@miq-bot add_label chargeback, providers/containers
@gtanzillo Please review
cc @simon3z

@gtanzillo can you review?
@miq-bot assign zeari

@simon3z no need for this PR. We need something similar for ContainerImages. Closing...


#314 Enable deployment of malware functions

A few changes to enable deployment of malware scanner functions:

Update package scripts to deploy to develop
Update deploy script to only deploy malware functions
Update functions index to only define malware functions

Note have excluded other functions from being deployed. This is fine for now. There's a refactor going on and when that's checked in we'll rebase and tidy.

Hey @warrensearle
Thanks for looking into this!
Will this pick up the trigger required for the function to run? When deploying manually I've had to specify this, but I'm not sure if that's required here?


permissions grantedTo should be a single identitySet

we should have used grantedToIdentities, which is a collection
https://learn.microsoft.com/en-us/graph/api/resources/permission?view=graph-rest-1.0
Since this is a breaking change we should

add the grantedToIdentitiesV2 collection
make all clients use that instead of grantedTo
correct grantedTo

grantedToIdentities and grantedTo have been marked as deprecated in msgraph ... in favor of grantedToV2 and grantedToIdentitiesV2, which use a SharePointIdentitySet instead of an IdentitySet. The biggest difference is that the sharePointIdentitySet also carries a group property to allow associating groups with actions.

Quick Fix:

Rename grantedTo into grantedToIdentities.

@fschade will take care

Fixed by https://github.com/owncloud/libre-graph-api/pull/74


Update and Delete failure with oracle varchar2 field

I got a error with  oracle operation.
create a table in oracle
create table DATATEST
(
  id   NUMBER(4) not null,
  str1 VARCHAR2(50) not null,
  str2 VARCHAR2(50)
)

insert some datas
INSERT INTO "DATATEST" VALUES (1, 'a1', 'a1');
INSERT INTO "DATATEST" VALUES (2, 'a2', 'a2');
INSERT INTO "DATATEST" VALUES (3, 'a3', 'a3');

then use entityframework 6.1.3 update or delete the table data,
 string s_test="asdasd";
	using (ManagerEntities ds=new ManagerEntities())
	{
		ds.DATATEST.Where (p => p.STR1 == s_test).Update (p =>  new DATATEST { STR2=s_test} );
}

or
ds.DATATEST.Where (p => p.STR1 == s_test).Delete();

and i got a oracle failed   "OracleException:Unsupported column datatype"
if change the string variable to const.like this
ds.DATATEST.Where (p => p.STR1 == "123").Delete();

the code can run correctly.
isn't a bug for this ?
test environment :
oracle   11g <IP_ADDRESS>.0
oracel charset  NLS_LANGUAGE：AMERICAN
NLS_CHARACTERSET：ZHS16GBK
vs 2017
entityframework 6.1.3
Oracle.ManagedDataAccess 12.2.1100
Oracle.ManagedDataAccess.EntityFramewor 12.2.1100
Z.EntityFramework.Plus.EF6 1.6.10

Hello @bofuqiang ,
Thank you for reporting,
We will look at it this week,
Best Regards,
Jonathan

Hello @bofuqiang  ,
The v1.6.12 has been released.
You should no longer have this issue.
Please, reopen this issue if it has not been fixed correctly.
Best Regards,
Jonathan


[BUG]  DEPENDENT node type is not supported since version 1.2.1-SNAPSHOT

version 【1.2.1 】
When choosing to use the dependent node task, an error is reported during execution
[ERROR] 2020-06-28 15:27:22.118-[taskAppId=TASK-341-240188-431977]:[75]-unsupport task type: DEPENDENT
See below

code show as below

==》https://github.com/apache/incubator-dolphinscheduler/blob/4946e88872ef943b5d0a739f213831daca3facd8/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

Hi,
What you mean is in the version 1.2.0 or bigger than version 1.2.0
Can you describe the detail how to reproduce this bug?
Thx a lot.

Your code version is wrong
version: 1.2.0

https://github.com/apache/incubator-dolphinscheduler/blob/1.2.0-release/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

In version 1.2.1, I got it wrong
Remove the version submitted by DEPENDENT here
==》
https://github.com/apache/incubator-dolphinscheduler/commit/7f94122f6eb201375b11e4e681849a66e6c572e4#diff-b75d01d2ea0e1cbee19329bfd4f9d78a

If using 1.2.1, use 1.2.1-release version
https://github.com/apache/incubator-dolphinscheduler/blob/1.2.1-release/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

now dev branch
dependent and conditions  has moved to master server

If using 1.2.1, use 1.2.1-release version
https://github.com/apache/incubator-dolphinscheduler/blob/1.2.1-release/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

1.2.1-release version is ok ，But I see that the 1.3 tag still has the same problem ==》https://github.com/apache/incubator-dolphinscheduler/blob/1.3.0/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

If using 1.2.1, use 1.2.1-release version
https://github.com/apache/incubator-dolphinscheduler/blob/1.2.1-release/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

1.2.1-release version is ok ，But I see that the 1.3 tag still has the same problem ==》https://github.com/apache/incubator-dolphinscheduler/blob/1.3.0/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

Hi,
Because we move the dependent task to master server, you can check this commit [1].
[1]https://github.com/apache/incubator-dolphinscheduler/commit/4946e88872ef943b5d0a739f213831daca3facd8

If using 1.2.1, use 1.2.1-release version
https://github.com/apache/incubator-dolphinscheduler/blob/1.2.1-release/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

1.2.1-release version is ok ，But I see that the 1.3 tag still has the same problem ==》https://github.com/apache/incubator-dolphinscheduler/blob/1.3.0/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/TaskManager.java

Hi,
Because we move the dependent task to master server, you can check this commit [1].
[1]4946e88

Oh, thanks, we tested the latest version and 1.2.1-release version


Version 9.3.0 won't compile with Angular 16 & Typescript 5

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/cpr2lq?file=%2Fpackage.json%3A1%2C1
Bug description
The latest version 9.3.0 throws the following error when compiling :
TS2430: Interface 'SwiperContainerEventMap' incorrectly extends interface 'HTMLElementEventMap'.
Types of property '"click"' are incompatible.
Type 'CustomEvent' is missing the following properties from type 'MouseEvent': altKey, button, buttons, clientX, and 20 more.
The previous version 9.2.4 compiles just fine.
Expected Behavior
Compile without errors.
Actual Behavior
The compiler throws the error above.
Swiper version
9.3.0
Platform/Target and Browser Versions
Linux, any browser
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

I'm also having the same issue.

"@angular/core": "^16.0.0",
"typescript": "^5.0.4"

I am also facing same issue. I am using swiper version 9.3.0 with angular 15.2.8 and same error coming when compiling angular project using ng serve -o. I have also created a stackoverflow question here
Inside tsconfi.json file if I set skipLibCheck : true then it will work but this is not recommended either as per the typescript it will bypass this type checking system.
Please give solution for this. We did not find many content related to angular by visiting official swiper docs. Please add angular related contents too. Thanks.

Please give solution for this

Just install previous version of Swiper until this problem is fixed. npm install<EMAIL_ADDRESS>
Yes. This is working with swiper version 9.2.4


🍒 Cherry pick PR #5425 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/5425 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.1.1-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @Jag96 in version: 1.1.1-8 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


v2.12.0 Bugfix -  Fix Activate/Blacklist tokens

This fixes #1399
Disabling tokens in the token list is not working correctly.

Travis automatic deployment:
https://pr1401--safereact.review.gnosisdev.com/app

@dasanra
The enabling and disabling of tokens works fine, but there is an issue
When you load a safe that has multiple tokens it should enable all those automatically. When I load a safe like that only the ETH is enabled (since it doesn't actually have a knob in the Manage entry modal)
Try to load this safe
0x9913B9180C20C6b0F21B6480c84422F6ebc4B808

@francovenica as we talked it should be loading automatically the tokens that have any amount over 0. Right now this is happening because a backend error.
Fixed the issue of saving tokens between loads, even if you don't have any balance but you manually enable it

Travis automatic deployment:
https://pr1401--safereact.review.gnosisdev.com/app


iconColor changes background and not icon color

this parameter goes to
FloatingActionButton(
backgroundColor: iconColor,
....
}
and it should go to focusColor AND also provide at the same time the  backgroundColor of the FloatingActionButton as a parameter too!!!

issue fixed in my proposed branch


Get project id from google.auth.default() in empty GcpCredentials block if quota project is None

Adds a check to GcpCredentials block initialization to acquire the GCP project id from google.auth.default() if no quota_project_id exists. This scenario arises when initializing an empty block on compute in Cloud Run, Compute Engine, or App Engine in which gcloud auth application-default login has not been run. Enables Cloud Run workers on compute with an attached service account and the correct roles to start Cloud Run jobs without requiring a completed GCP Credentials block to be added to the connected work pool.
Example

Screenshots

Checklist

[ ] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[ ] Includes tests or only affects documentation.
[ ] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[ ] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[ ] Summarizes PR's changes in CHANGELOG.md

Thanks for the PR @kevingrismore! Could you please write a test covering the new condition? Let me know if you need any help!

@desertaxle Added a test, but I haven't worked with MagicMock before so I tried to model it after an existing test. Open to any recommendations for improvement!


Add debug to scripts in package.json

huh, interesting... are you using this feature a lot?

Whenever I need to debug. What are other ways to debug next.js apps?

Also feel free to close this PR if you want to keep this minimal and don't see it fitting. No offense taken :)

definitely useful for someone using vscode!


Steps to Reproduce

Commit hash where failure was observed: c2a8c64cc
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i chip_sw_sleep_pin_retention --fixed-seed<PHONE_NUMBER> --build-seed<PHONE_NUMBER> --waves -v h
If dvsim invocation is incorrect - test is chip_sw_sleep_pin_retention

Test has only existed across this weekend. May be resolved by original developer. Observe for now
Tests with similar or related failures

[ ] chip_sw_sleep_pin_retention
[ ] Unmapped tests

It relates to #14352, and it will probably be tackled there.

I don't know why this one is included in the regression. Anyway, the test is not 100% implemented and failure is expected. I will update this Issue when I implement it.

Thanks @eunchan.

@eunchan looks like this test is passing now? Can we close this issue?

PR #15421 should be merged before closing this.


Migrate to .Net Core 1.0.0

Code migration completed.
Need to test under linux environment.

Works properly.
Requires upgrading dotnet.
Need to watch out for port.
Pretty much that.


Create directory with company_id instead of user_id

Please check the following instructions before submitting a bug :

Make sure you are using the latest version.
Make sure you read installation, integration, and upgrade document.

And provide the followings :

Operating system :
Laravel version :
Package version :
Steps to reproduce your issue :
Screenshots of browser console :

Mac OS Big Sur
Laravel 8.16.1
Filemanager latest.
Currently each user in the app has their own directory which is fine but I previously setup the app to have a login for each company/client and all clients has access to the shared folder.
What I would like is to create the directory not from the user_id but the company_id found in the employee table which each user_id is listed within.  This will allow, if a company/client has multiple 'managers' they will see the same company directory of files.

Problem solved.  I found that the ConfigHandler.php within the vendor > unisharp > laravel-filemanager > src > Handlers directory.
`<?php
namespace UniSharp\LaravelFilemanager\Handlers;
use Illuminate\Support\Facades\DB;
class ConfigHandler
{
public function userField()
{
// return auth()->id();
$user_id = auth()->id();
    $company = DB::table('employee')
    ->select('*')
    ->where('user_id', $user_id)
    ->first();

    return $company->company_id;
}

}`


[fix] bash expansion typo in package.json

I am running zsh and found that I need to enclose dev:* in quotes. This may affect all templates.
Sorry this is my first PR, the PR template didn't really cover this case. Apologies if I'm doing it wrong :)

@benallfree Thank you so much for taking the time to open this PR (you did it right), however there was already one covering this issue: #2033.
Closing this PR as duplicate.


utils: add search query parameters parser

closes https://github.com/inveniosoftware/invenio-banners/issues/11

I have also removed the export, not very useful for this util