Border is not proper in CupertinoSegmentedControl

CupertinoSegmentedControl border is not closed properly on the web, but it works correctly on mobile.
Please find the code snippet below
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: CupertinoSegmentedControl<int>(
          children: <int, Widget>{
            0: Container(
                width: 100,
                alignment: Alignment.center,
                child: Text('Light theme')),
            1: Container(
                width: 100,
                alignment: Alignment.center,
                child: Text('Dark theme'))
          },
          padding: const EdgeInsets.all(5),
          unselectedColor: Colors.transparent,
          selectedColor: Colors.red,
          pressedColor: Colors.yellow,
          borderColor: Colors.black,
          onValueChanged: (int value) => null,
        ),
      ),
    );
  }
}

Please find the output of screenshot below

flutter doctor -v
[✓] Flutter (Channel master, 1.20.0-1.0.pre.56, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.20.0-1.0.pre.56 at /Users/nevercode/dev/flutter
    • Framework revision 248d746575 (15 hours ago), 2020-06-15 14:46:09 -0700
    • Engine revision 965fbbed17
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 2b917f5b6a)

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

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

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

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

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

[✓] Connected device (5 available)
    • Redmi Note 7       • 6345c469                                 • android-arm64  • Android 9 (API 28)
    • Nevercode’s iPhone • b668e524315069f3db3661ac11ff1f66afafebdb • ios            • iOS 13.5
    • macOS              • macOS                                    • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server         • web-server                               • web-javascript • Flutter Tools
    • Chrome             • chrome                                   • web-javascript • Google Chrome 83.0.4103.97

• No issues found!

I can no longer reproduce this on stable 2.10.5 and master. Closing this as fixed. If anyone still experiences this issue, kindly file a new issue and provide the relevant information.
Thank you

screenshots

html
canvaskit

flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.10.5 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (20 hours ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • 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.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 15.3 19D50
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 100.0.4896.127

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

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.617, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.617 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fd360c4a1d (15 hours ago), 2022-04-18 14:54:06 -0700
    • Engine revision acd27a4b58
    • Dart version 2.18.0 (build 2.18.0-30.0.dev)
    • DevTools version 2.12.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 (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.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • Nexus (mobile)  • 00008020-001875E83A38002E • ios            • iOS 15.3 19D50
    • macOS (desktop) • macos                     • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)    • chrome                    • web-javascript • Google Chrome 100.0.4896.127

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

• No issues found!


Timer for writing cards and voting

It could have a timer for the whole board. Everyone should be able to increase or decrease time and stop and start the timer.
Voting and creating cards should only be available while timer is running.
Once timer is over the cards are updated and everyone see the result.
It's like a automated facilitator.

In order to keep funretro simple I don't think this fits well in the scope.

@glauberramos: I think this is a great feature. We timebox almost everything in our retros.
Starting from writing issues, reading all issues, voting, discussions and decisions.
Currently we use our phones or google for timer. If we can put it in board itself, that could be the selling point for funretro against other tools.
Lemme see if I can get any designer friends involved in this.

@Roshanjossey , so the changes has to be reflected only after the timer stops or, just simply block the action of creation of cards and voting when the timer is expired?

Hey @alanjsph: In my opinion timer doesn't have to restrict creation and voting of cards.
It can just stay there as an indicator. (This is one aspect where I disagree with @glauberramos' comment above)
Anyways, get started with visual part of visual part of it. We'll continue our discussions with @glauberramos also involved.

Alright @Roshanjossey

How does this look? @Roshanjossey

@Roshanjossey @alanjsph I think we should give a little bit more thought into this Idea. That's why I added a "Idea" label, because I was not sure how this feature should be implemented.

I think in order to work it should be really simple, I agree with you @Roshanjossey that we should not limit the creation of cards.
I don't think we should add on the header. Maybe we could have it floating on the bottom right of the page, and with simpler colors, like only grays and white.
I think it would be nice to don't show it initially, only if you enable the feature.
We could add a board configuration sidebar, or something like that, and on that place we should have the option to enable the timer. I took this inspiration from Trello:

Can we work more on the design right now and don't spend time developing it? I think this feature is important to have the design right, so we should focus on that first.

This is similar to show/hide votes
+1


Can you specify the architecture of the image?

Hi @esatterwhite,
I am looking to specify the architecture of the built image to be arm64.
I have tried using dockerBuildFlags to no avail.  It looks like it's not able to parse this properly.
Is specifying a different architecture supported? If so, do you know what I might be doing wrong here?

Buildx operations are not currently supported. But that does look like a big in the flag handling. I'll take a closer look at that in the morning

@knjk04 dockerBuildFlags is an object
{
  dockerBuildFlags: {
    platform: 'linux/arm64'
  }
}

but even so, buildx support is still in the works, I wouldn't expect that to work. But I haven't tried.

I'll take a look at adding buildx this weekend


It seems that it's not possible to intercept HTTPS protocol of mobile phone, is it? Installation certificate required

It seems that it's not possible to intercept HTTPS protocol of mobile phone, is it? Installation certificate required
I am Chinese, English is not very good.
How to block HTTPS protocol?
This SDK can be used in. Net core, right?

Other users wrote that it is possible to import cer file. You can export it from TWP:
https://github.com/justcoding121/Titanium-Web-Proxy/issues/635
Yes, this package can be ued in .NET core.

Can I use this to build HTTP server? Set account and password, advanced anonymous agent?

Yes. you can use this to create a HTTP server, so:
browser => TWP => send the response to the browser
But why would you do that? There are other libraries for that.. for example check Kestrel.
Basically TWP is a proxy, users should send the response from TWP only in special cases. (Block something, etc)


Lighting with a spotlight does not work correctly

Godot version
v3.4.2.stable.official [45eaa2daf]
System information
Windows 10, GLES3, NVIDIA Geforce GTX 1060? driver 497.29
Issue description

Steps to reproduce
It's just that at some point all the spotlights began to shine at a certain angle incorrectly, the model on which the light falls incorrectly did not change or even move, similarly with materials and textures.
Minimal reproduction project
No response

@vadimmos Please upload a minimal reproduction project to make this easier to troubleshoot.
Can you reproduce this after switching to the GLES2 renderer in the Project Settings (Rendering > Quality > Driver > Driver Name)?

When switching to GLES2, the light from the spotlight is not visible at all.

minimal reproduction project
test.zip

https://user-images.githubusercontent.com/14206443/148857328-ac8d9cad-f590-4f99-b683-e4a4b0eae052.mp4

https://user-images.githubusercontent.com/14206443/148857450-58d102aa-8a4a-4dd2-a509-d1250464d236.mp4

My guess is that the level mesh has smooth normals instead of flat normals, and this breaks the appearance of lighting.

Could normals suddenly change themselves to smooth?

I opened up the MRP and it appears that there are no normals in the mesh all  normals are pointing to vec3(0,0,1) so lighting is all wonky.
Do the normals of the mesh display correctly with your 3D DCC? This may be an export issue from wherever you created the mesh.

The problem was solved by deleting all files associated with the level model from the project, restarting the application, and re-importing.

The problem was solved by deleting all files associated with the level model from the project, restarting the application, and re-importing.

Thanks for letting us know. It sounds like this might have been a bug with the importer.
Did the issue arise when you changed engine versions? I.e. were you using a lower engine version number and it worked correctly, and then you upgraded and it broke?

No. Since the creation of the project and before the problem occurred, the version has not changed.

@vadimmos Can you (or anyone else) still reproduce this bug in Godot 3.5.1 or any later release?

Closing due to lack of response. Please comment if you can still reproduce this bug on the latest Godot version.


Cannot turn on / off switcher from homekit app

Hi
I cannot start / stop the switcher from homekit or homebride, but when i used switcher application it is reflect the status to homekit.
Issue only with stop and start

have the same issue, the plugin reflect the switcher app status.
but I can't control it from home kit anymore.
according to the logs, I can see the receiving data from the switcher, it send the request but nothing happened.
I removed the plugin+cache+configuration, reinstall it again, and still the problem remains

Same issue for me plugin reflect switcher status, but can't turn on or off

in switcher app go to settings and set Local (turn on), that's help me

in switcher app go to settings and set Local (turn on), that's help me

Does not helping me.

Doesnt work for me also

Please update to the latest version and let me know if the issue is fixed

Unfortunately no… what could be the issue?
Do you need logs in debug?

try to see if you can update the firmware version of the device

I am running version 5.15 Firmware
On Tue, 12 Dec 2023 at 18:31 Nitay Ben-Zvi @.***> wrote:

try to see if you can update the firmware version of the device
—
Reply to this email directly, view it on GitHub
https://github.com/nitaybz/homebridge-switcher-platform/issues/52#issuecomment-1852389953,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2M4SLRKF3QYBKWAKMYBDX3YJCBGLAVCNFSM6AAAAABAIFLMZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGM4DSOJVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks,
Shay Liberzon

did you try the latest plugin version? 4.4.5

Yes.
On Tue, 12 Dec 2023 at 18:33 Nitay Ben-Zvi @.***> wrote:

did you try the latest plugin version? 4.4.5
—
Reply to this email directly, view it on GitHub
https://github.com/nitaybz/homebridge-switcher-platform/issues/52#issuecomment-1852394465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2M4SLXTRI4A4L6OSFXAKQDYJCBPDAVCNFSM6AAAAABAIFLMZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJSGM4TINBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks,
Shay Liberzon

Hi Nitay, unfortunately updating the plugin didn't help with any of the switchers. Issue persists. Verified that FW is updated in all. i'd be happy to provide additional logging if it helps. here's a snippet from a last attempt to turn on a switcher light:
}
[12/12/2023, 10:47:40 PM] [Switcher Platform] received login data:
[12/12/2023, 10:47:40 PM] [Switcher Platform] fef04c000402a60000000000ff0302000000000000000000ebc6786500000000000000000000f0fe349454952346060ca1000500000000000000000000000000000000000000000059e35712
[12/12/2023, 10:47:40 PM] [Switcher Platform] received session id: 00000000
[12/12/2023, 10:47:40 PM] [Switcher Platform] sending data:
[12/12/2023, 10:47:40 PM] [Switcher Platform] fef059000305010200000000000000000000000000000000ecc6786500000000000000000000f0fe720dc8000000000000000000000000000000000000000000000000000000000000000000000000370a0200010152fb88d5
[12/12/2023, 10:47:40 PM] [Switcher Platform] connection closed, had error: false
[12/12/2023, 10:47:40 PM] [Switcher Platform] global close event: false
[12/12/2023, 10:47:40 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:40 PM] [Switcher Platform] {
device_id: '6ea165',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Boiler',
type: 'v3',
state: {
power: 1,
remaining_seconds: 1948,
default_shutdown_seconds: 10800,
power_consumption: 2492
}
}
[12/12/2023, 10:47:40 PM] [Switcher Platform] Switcher Switcher Boiler Watts: 2492
[12/12/2023, 10:47:40 PM] [Switcher Platform] Switcher Switcher Boiler Volts: 220
[12/12/2023, 10:47:40 PM] [Switcher Platform] Switcher Switcher Boiler Amperes: 11.3
[12/12/2023, 10:47:40 PM] [Switcher Platform] Switcher Switcher Boiler Total Consumption (KWh): 0.08047064388888889
[12/12/2023, 10:47:40 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:40 PM] [Switcher Platform] {
device_id: '6bb998',
device_ip: '<IP_ADDRESS>',
name: 'Parents West Window',
type: 'runner',
state: { position: 0, direction: 'STOP', child_lock: 'OFF' }
}
[12/12/2023, 10:47:40 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:40 PM] [Switcher Platform] {
device_id: '9c0bc8',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Light_1D88',
type: 'sl01',
state: { light1_power: 'OFF' }
}
[12/12/2023, 10:47:40 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:40 PM] [Switcher Platform] {
device_id: '720dc8',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Light_2346',
type: 'sl01',
state: { light1_power: 'OFF' }
}
[12/12/2023, 10:47:41 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:41 PM] [Switcher Platform] {
device_id: '9f5bc8',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Light_0D7D',
type: 'sl03',
state: { light1_power: 'OFF', light2_power: 'OFF', light3_power: 'OFF' }
}
[12/12/2023, 10:47:41 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:41 PM] [Switcher Platform] {
device_id: 'c76dc6',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Runner_529C',
type: 's11',
state: {
light1_power: 'OFF',
light2_power: 'OFF',
runner3_position: 7,
runner3_direction: 'STOP',
runner3_child_lock: 'OFF'
}
}
[12/12/2023, 10:47:41 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:41 PM] [Switcher Platform] {
device_id: '6ea165',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Boiler',
type: 'v3',
state: {
power: 1,
remaining_seconds: 1947,
default_shutdown_seconds: 10800,
power_consumption: 2532
}
}
[12/12/2023, 10:47:41 PM] [Switcher Platform] Switcher Switcher Boiler Watts: 2532
[12/12/2023, 10:47:41 PM] [Switcher Platform] Switcher Switcher Boiler Volts: 220
[12/12/2023, 10:47:41 PM] [Switcher Platform] Switcher Switcher Boiler Amperes: 11.5
[12/12/2023, 10:47:41 PM] [Switcher Platform] Switcher Switcher Boiler Total Consumption (KWh): 0.08115732833333333
[12/12/2023, 10:47:41 PM] [Switcher Platform] Received a message from <IP_ADDRESS>
[12/12/2023, 10:47:41 PM] [Switcher Platform] {
device_id: '9c0bc8',
device_ip: '<IP_ADDRESS>',
name: 'Switcher Light_1D88',
type: 'sl01',
state: { light1_power: 'OFF' }
}

please check version 4.4.6
it should fix it now

Issue resolved with version 4.4.6
Thank you
On Wed, 13 Dec 2023 at 15:33 Nitay Ben-Zvi @.***> wrote:

please check version 4.4.6
it should fix it now
—
Reply to this email directly, view it on GitHub
https://github.com/nitaybz/homebridge-switcher-platform/issues/52#issuecomment-1853927623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2M4SLVP4OIKZT4OBOISEXDYJGVDTAVCNFSM6AAAAABAIFLMZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJTHEZDONRSGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thanks,
Shay Liberzon

glad it worked


Error building with cloudflare dns and xcaddy (i/o timeout)

Hi and thanks for helping to maintain an awesome service! I have been running into some issues building caddy with cloudflare dns enabled. I've set up my Dockerfile for caddy and I'm running it from a docker-compose yaml.
This might be related to #11 , but the actual error is different and pinning the latest versions fails.  It's looking for https://github.com/caddyserver/caddy/v2 but the actual caddyserver repo has been renamed to https://github.com/caddyserver/caddy/

doh, its missing as a module when you try to download it from caddyserver too. I came here to try to just build it myself. So I assume the caddyserver.com infrastructure also cannot build it properly.

Not sure what the issue is -- works for me; but just in case I tried updating dependencies in case that helps. (go.mod)


How to apply fw:AcrylicBrush grid to Border background

How to apply fw:AcrylicBrush grid to Border background.
This won't work:
   Background="{fw:AcrylicBrush grid}"

Hi, @Altiano.
Thanks, for feedback!!
AcrylicBrush blurs only target UIElement.
(Background="{fw:AcrylicBrush grid}" means that AcrylicBrush uses target control(named grid) as background layer)
If grid is transparent, AcrylicBrush becomes transparent, too.
Please, check the brush of grid control.

is it target the name property (name="grid") of element or the element type itself (<Grid />) ?

It's the name of the elment. <Grid Name="grid"/>

Hi, @Altiano.
Thanks, @marcpabst.
Sorry for replying so late.
"{fw:AcrylicBrush grid}"means "{fw:AcrylicBrush TargetName=grid}".
It is shorthand syntax for AcrylicBrush markup extension.
TargetName indicates target element's x:Name attribute, just as marcpabst say.

The issue is that AcrylicBrush is applied only if the element width and height explicitly set.
Otherwise (auto-size, binding) it does not work

@sourcechord


Customer Lockbox details

Does Customer Lock-box also work for other Microsoft Services like Teams? Description is inaccurate.
Or does Teams data reside in OneDrive/Exchange/Sharepoint ?
https://github.com/MicrosoftDocs/microsoft-365-docs/blob/public/microsoft-365/compliance/customer-lockbox-requests.md

@fl0mb Thank you for your feedback. Customer Lockbox supports requests to access data in Exchange Online, SharePoint Online, and OneDrive when Microsoft engineers need to access customer content to determine the root cause and fix an issue. It is not available for MS Teams yet.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @fl0mb Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


fixed issue #1

Delete me and write your Pull Request message here!

Thanks for the submission, @mjchami.
As mentioned in the contributing guidelines, I can only accept a pull request made to your branch. This behavior deviates from most projects (where a pull request to the master branch may be expected) in order to replicate this experience for multiple people.
Click here to open this pull request to your branch


Expose istioctl multicluster as a library

This is part of a larger effort to remove the istioctl test component altogether in favor of just using the istioctl code.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@nmittler: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
9ad8c05cb964133d6d9fa4d216341980427e6f5a
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@nmittler: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
9ad8c05cb964133d6d9fa4d216341980427e6f5a
link
/test lint_istio

gencheck_istio
d49afea601ce63f1b5d67ca46337c0876f624304
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test gencheck_istio


Document + Samples for mentioning user by UPN/AAD Obj ID

Teams is adding support for @mentioning users by UPN & AAD Object Id in both chat and Adaptive Cards, we'll need to update the conversation sample to demonstrate this functionality, and document it.
Minimally docs should be within R10.  Blocked until Teams feature is in production.

per @tacri this is still blocked. ETA in ~Sept 2020.


[BUG] Framerate limit just won't work at all above 240 FPS.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
[BUG] Framerate limit just won't work at all above 240 FPS. The cap in the game still exists
Bloxstrap Log
N/A

Addressed in the Wiki


Resource list in readme.md is incorrect

The readme.md list xAzureQuickVM as on of the resources but this resource is not present in this module.

@bgelens @TravisEz13 This issue has been resolved in Pull request #5


coverage ci

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@39f2a7f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   99.38%
=======================================
  Files           ?        4
  Lines           ?      323
  Branches        ?        0
=======================================
  Hits            ?      321
  Misses          ?        2
  Partials        ?        0

Flag
Coverage Δ

unittests
99.38% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39f2a7f...7097af4. Read the comment docs.


Disable printing system logs on deb package as per default configuration recommendation

https://github.com/aleph-im/aleph-vm/blob/main/src/aleph/vm/conf.py#L139

As suggested in the chat, deleting this line would make more sense.

These logs are indeed not so useful anymore for debugging, at least not enough to be enabled by default.

This is not true, we are using also this line for printing SystemD logs on instances. So maybe we need to add another argument to print that systemd logs.

Hum... I should not have merged this so late in the evening, gonna review this more in details.


Move parallel setting for coverage calculation to tox.ini

References and relevant issues
https://github.com/napari/napari/pull/7146#discussion_r1711207999
Description
During development of #7146 I have found that using pararell mode by default (configured in config file) breaks PyCharm codecov integration.
Also manual running coverage process leads to creation of .coverage.soething files that needs to perform additional python -Im coverage combine coverage call before call coverage html or coverage xml that could be loaded and used for coverage visualization.
So before this PR running coverage from PyCharm was not working and manual running
coverage run -m pytest ...
coverage combine
coverage html

and now
coverage run -m pytest ...
coverage html

This change simplifies running coverage locally.

@Czaki could you clarify this, with calls/workflow descriptions before/after this change? (And edit the description accordingly.)

Could you check now?


Wrong whitelist checks due to Kaspersky Security Cloud

I'm using Kaspersky Security Cloud as an anti-virus software, but due to that, all whitelisted programs (in my case Joystick Gremlin) in HidHide somehow get redirected to \Device\HarddiskVolume4\Program Files (x86)\Common Files\Kaspersky Lab\klhk\klhk_x64\klhkum.dll during whitelist checks.
Meaning that the whitelist is completly non functional as the path never match.
The only time the whitelist actually work is if i deactivate Kaspersky, clear the whitelist and redo it and then launch any of the whitelisted applications while Kaspersky remain deactivated. Those applications are then properly recognized as whitelisted, but then if i reactivate Kaspersky they all once again get redirected permanently to the above dll no matter the actual state of Kaspersky until i once again deactivate Kaspersky and redo the whitelist.
Since i can't really play while keeping the anti-virus deactivated for lengthy periods of time i'm unable to make proper use of HidHide.

Sounds like a case for the Kaspersky support to me 😁 AV ruins it? AV has to fix it 😜

quick fix:
Turn off Kaspersky Self-Defense and rename klhkum.dll to whateveryouwant.
Turn on Kaspersky Self-Defense and reboot.

Closed as nothing came of it.


Check import lie

Fixes #562

wfm

wtf, the "no promises" build is specifically supposed to skip lie. that's the whole point.
I will look into this. it's probably the distinction between lie/polyfill and lie that messed things up, my bad

it will still fail on non-Promise browsers, right?

That's the point of the nopromises build, that it fails on older browsers, except if the an appropriate polyfill is provided by the user.
You are probably right about the require check part, added it just in case.
Before this change, even the index.html found in the examples folder failed with the nopromises build on my Firefox dev edition, since the derequired require() call failed. So, I ended up adding a check before the invocation.

To be clear: a check wether Promises are already available.

Nevermind, just saw your PR :)


Gradle Plugin (GhidraDev Backend)

Is your feature request related to a problem? Please describe.
While the use of Eclipse for development isn't a problem for the dev team, having the GhidraDev plugin only support Eclipse is something many users aren't fond of.
Describe the solution you'd like
Create a Gradle plugin which would serve as the GhidraDev plugin backend. It could be placed in the support folder and be used in place of the buildExtension.gradle script. Having the plugin setup the project for modules, plugins, scripts, etc would be a big step forward for users in the community that wish to create a dev plugin for their favorite ide.
Describe alternatives you've considered
Use Eclipse.

FYI, I put this together to help with development of Ghidra things in IDEA: https://github.com/garyttierney/intellij-ghidra. I'd be happy to help work on something more general.

FYI, I put this together to help with development of Ghidra things in IDEA: https://github.com/garyttierney/intellij-ghidra. I'd be happy to help work on something more general.

I remember seeing that in the past and thought it was similar to how I am doing it for vscode. What you have now is more advanced I think. I would have gone further with vscode, but uh typescript...
Anything that uses the eclipse.jdt.ls really just needs gradle eclipse to properly setup the .project and .classpath files. Everything else is just setting launch arguments and then ide specific stuff.

Anything that uses the eclipse.jdt.ls really just needs gradle eclipse to properly setup the .project and .classpath files. Everything else is just setting launch arguments and then ide specific stuff.

I think that sounds like a good approach. You could generate a build.gradle inside your user_scripts folder which loads the plugin to get a nice editor experience out of the box. Extensions could have a Gradle task to launch Ghidra with the newly built extension included (by including it on the classpath, similar to what I do in intellij-ghidra) and Scripts could have a Gradle task to attempt to run the script in a running Ghidra instance as a first pass.
What do you think of that?

The build.gradle would be generated by the gradle plugin. What I was thinking was you would just do gradle init and then the Ghidra project types would be an option. All that would be left for ide plugins to do would be to use that and setup launching. I'm not sure how well it would work out for having gradle launch Ghidra but it could definitely provide things like the proper vmargs and such. This way if there need to be certain arguments for an ide they can be appended.

Out of curiosity, would this enable being able to straight import Ghidra as a Gradle project and have IntelliJ resolve internal paths correctly?  Right now scripts and processor analysis code cannot resolve symbols and there are other intra-module dependencies that aren't picked up.

Sleigh is something different but it should work out for all the java projects.

@garyttierney turned out my project that I kept updating all this time either had its indices corrupted along the way or things have been fixed in the latest version of IntelliJ.  I've tried with a fresh clone after updating to IntelliJ 2021.1.2 and indeed things seem to work ok on the symbol resolution front, bar script issues that are already known to be there.

@garyttierney spoke too soon.  Just found a case of missing inter-module dependency.  It all started when trying to see why IntelliJ reported errors on missing javadoc references in ghidra.app.merge.MergeProgressModifier - and turns out that ghidra.app.merge.MergeResolver (from Base) is hidden in Project:

Trying to create variables of type MergeResolver in Project fails, even when fully specifying the package name.

@ryanmkurtz yes, sorry, feel free to remove this comment.


Travis Update

This pull requests addresses Travis Issues, please let me know if it needs any update

:white_check_mark:

Thanks！

:smile:


Update the README to point to official tag retention docs

Harbor 1.9 is now generally available and includes much of the functionality that tagd provides. This updates the README to point people to the native solution first.

@HylandSoftware/devops Please take a look at this when you get some time.


Uncaught TypeError: Cannot read property 'length' of null

When i adjust exposure over 65 it's error.

I am also getting this error when exposure is over 65. (down to -100 okay)
.
caman.full.min.js:89 Uncaught TypeError: Cannot read property '1' of undefined
Caman.Calculate.Calculate.missingValues	@	caman.full.min.js:89
Caman.Calculate.Calculate.bezier	@	caman.full.min.js:84
(anonymous function)	@	caman.full.min.js:194
(anonymous function)	@	caman.full.min.js:198

same here


Segmentation fault encountered when entering the second epoch with num_workers>0

Hi, thanks for your code. I encountered this issue when running the training script of kd (i.e. resnet34 -> resnet18). It seems something is wrong with the data loader worker. The log is as follows:
2021/04/28 08:41:23     INFO    main        Updating ckpt (Best top1 accuracy: 0.0000 -> 20.4760)
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.
Traceback (most recent call last):
File "kd_main.py", line 183, in
main(argparser.parse_args())
File "kd_main.py", line 165, in main
train(teacher_model, student_model, dataset_dict, ckpt_file_path, device, device_ids, distributed, config, args)
File "kd_main.py", line 124, in train
train_one_epoch(training_box, device, epoch, log_freq)
File "kd_main.py", line 61, in train_one_epoch
metric_logger.log_every(training_box.train_data_loader, log_freq, header):
File "/home/ec2-user/.local/lib/python3.7/site-packages/torchdistill/misc/log.py", line 153, in log_every
for obj in iterable:
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 355, in iter
return self._get_iterator()
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 301, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 940, in init
self._reset(loader, first_iter=True)
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 971, in _reset
self._try_put_index()
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1205, in _try_put_index
index = self._next_index()
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 508, in _next_index
return next(self._sampler_iter)  # may raise StopIteration
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 227, in iter
for idx in self.sampler:
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/sampler.py", line 125, in iter
yield from torch.randperm(n, generator=self.generator).tolist()
File "/home/ec2-user/.local/lib/python3.7/site-packages/torch/utils/data/_utils/signal_handling.py", line 66, in handler
_error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 48668) is killed by signal: Segmentation fault.
Hopefully someone can help me address this issue. Thanks!

Hi @RulinShao
I have never seen the error before and would need more detail.
Could you clarify

whether or not kd_main.py is identical to examples/image_classification.py I provided,
exact command you used to run kd_main.py and config file, and
environment info (OS, version of Python, torch, torchvision, torchdistill, etc)
?

Also, the following link could help you, and it may be an environmental issue
https://github.com/facebookresearch/detectron2/issues/954
Thank you

Hi @yoshitomo-matsubara
Thanks for your reply! The kd_main.py is identical to examples/image_classification.py and I ran it by
python3 kd_main.py --config configs/ilsvrc2012/single_stage/kd/resnet18_from_resnet34.yaml --log log/ilsvrc2012/kd/resnet_from_vit.txt

where the config file is identical to  torchdistill/configs/sample/ilsvrc2012/single_stage/kd/resnet18_from_resnet152.yaml except that I changed the teacher model from resnet152 to resnet34 for faster debugging speed.
Some details of the environment:
Python==3.7.9,
torch==1.8.1+cu102,
torchvision==0.9.1+cu102,
and torchdistill was just git cloned few days ago.
And thanks for the link which said his environment issue was solved by using sudo apt-get install package. However, as I use Amazon Linux, I need use yum install instead of apt-get install and these packages are not found by yum. I guess it's caused by the dependencies of some low-level libraries indeed where I have little knowledge. Kindly you could help me find out what is the problem. Currently I can only train one epoch each time and rerun the script while loading the ckpt when num_workers>0, or just set num_worker=0 which is quite time-consuming.
Thanks again for your help!

Hi @RulinShao
Thank you for the info.
I found this discussion  useful for you. One of the users in this thread provides a solution for CentOS, which should be compatible with Amazon Linux as these are based on RHEL.
Also ICYMI, most of the config files under torchdistill/configs/sample are not tuned but used for debug as described torchdistill/configs/. If you want to see the improvements over standard training after debugging, you should either tune the hyperparameters in the config file or use some of those under torchdistill/configs/official/.
Hope this helps

@RulinShao
Recently, I faced a similar error with a different project on a new environment and resolved the issue by stopping thread control  in evaluate.
Fetch and try the updated image_classification.py

Thanks a lot for your help!!! Stopping the thread control works for me. I'm closing this issue now.


Fixing commands to build in unix

Fixing unix install cmake rule.
The headers files to install where looked at includeS instead of include.
The shared library had no install rule.

@AlexandreBaiao Hi, thanks for your contribution.
Recently I'm also working on refactoring CMakeLists.txt in this branch, which is going to be merged into master branch of this repo in the future. And apparently there are some conflicts between your and my changes. Can you please create another PR to dev branch so that your changes will finally be merged into mainline?

Hi, @JinmingHu-MSFT!
Thanks for the quick reply.
Actually the dev version seems to cover the unix installation better than my solution.
However I need this version really soon.
How I can help you to get this version merged into master?

@AlexandreBaiao Hi, dev branch can only be merged into mainline after code review and test, I'm afraid there's nothing much you can do to accelerate it. But I can merge it into master branch of my forked repo right now, does this help your case? Also note that I did some other changes about CMake stuff. If you are using Linux, you're unlikely to be affected. But on Windows, I switched to vcpkg to manage dependency libraries.
I'm going to update README as well, thanks for the reminder.


feat: update text-carousel

I think we need to make the icons optional, right? Is that already possible in Boemly?

No, marketing team didn't need it optional - they would use it to put there the flags, so i left it required


Re-build the levenshtein

Well since we're using a walled garden platform what do you mean by portable?

sha256sum: command not found

Aight that's a linux thing

Container action is only supported on Linux

So here are how to generate SHA256 checksum on Windows and Mac. I guess we need conditional tasks based on environment

Well since we're using a walled garden platform what do you mean by portable?

Oh LOL I wasn't talking to you, was subcommenting on the action's author, didn't notice that there's a PR and that they display commits' comments here SMFH.

was subcommenting on the action's author

Oh lol, I share the same disappointment.

Btw don't merge PR. Otherwise the number of wheels to build would accumulate quickly

Wait, how are the checksums published? Shouldn't we release the sums as well?

I think you made some typo in the conditionals because none of them run for any job.

Dunno, guess I'll printf-debug from remote

Run echo $RUNNER_OS
Linux

It's correct tho


Reset or shrink momentum vector when shrinking learning rate

Not sure at all, but to me it looks like any momentum is preserved after learning rate is shrunk.
If so, then I guess as a result the optimizer might end up going in an unfavorable direction for quite a while, which may take a very long time to backtrack, given the new (smaller-than-before) learning rate.
I think it would make sense to reset or shrink also the momentum vector, whenever the learning rate is shrunk.
@davisking, can you comment if the above makes any sense? Just an observation from a single training run – didn't look in a lot of detail yet. If it already works like this, then I'm happy to close the issue right away.

I mean, even getting the momentum to zero may take quite a while if learning_rate_shrink is small.

Do other frameworks do this?  In general I think they don't and many SGD
algorithms definitely don't do that kind of thing.  You can try it and see
what happens.  But I expect it's not better.

I have no idea if other frameworks do this. Just thought it'd make sense. Will perhaps try at some point.

I guess it makes less difference if learning rate is decreased gradually and not quickly by a factor of 10 or so.

Maybe.

In fact, I observed the following sequence of events:

Loss goes up for a while.
As a consequence, learning rate is shrunk.
Loss keeps going up, possibly due to momentum.
Learning rate is shrunk even more, until it's really really small.
Loss keeps growing at a speed that can't be explained by the new, very small learning rate. Guessing it had to be momentum.

It could be, but the momentum term gets small fast. With a momentum of 0.9
it takes about 22 steps to shrink it by a factor of 10, which is not very
many steps.   The "steps without progress" metric is going to be set to
look at way more than 20 steps when it's deciding if it should shrink the
learning rate.  So this shouldn't matter.

Right. Maybe it was something else then. Closing the issue, at least for now.

Indeed the behaviour is (qualitatively) the same even with momentum = 0. So it must be something else.

There is also backtracking built into dnn_trainer.  If it sees that the loss suddenly goes up it should reload the solver state from disk and try again.  That should happen unless you have disabled it, assuming the loss is really going up.  Unless it's going up really slowly.

Right. In fact reloading from disk was not happening, apparently because in my case this is always true. That seems to be a result of me calling get_net explicitly during training (each 20 steps actually... so gradient_updates_since_last_sync is always less than 30).
Will clearly need to change something.

Calling get_net shouldn't have anything to do with this.  That variable
is counting how many updates since it last saved to disk.  The problem is
either that you configured it to save to disk way too often or the steps
without progress threshold is set way too low.

get_net calls sync_to_disk(true);, which in turn sets main_iteration_counter_at_last_disk_sync = main_iteration_counter;, which means gradient_updates_since_last_sync is always less than 30 (in my case, that is).

Oh, right, I forgot about that.  Yeah, don't call get_net during training
:)

I want to do inference during training. Or at least stop the training for a while, do inference, then continue training.
Is it not necessary to call get_net to do inference?

Maybe there should be a version of get_net() that doesn't do the disk synchronization in that case.  Although really, I'm skeptical of the wisdom of stopping training to run inference.  I know lots of people do it.  But if there was some metric I wanted I would either compute it very infrequently so as to avoid disrupting training/slowing it down, or I would make a new loss layer that better captured whatever it was I was trying to optimize.

I'm not trying to optimize anything outside of what the loss function represents. It's more that I really want to do actual inference as soon as possible. I understand the results won't be great just yet, but in my case it may still be better than no results at all. And yes, I do understand that it will slow down the training, at least a little.

What are you doing with the result of inference?

Showing it to the user, for example. It's already quite helpful after a relatively small number of steps.

Although this time the problem came from an automatic regression test, which is there to guarantee that any number of iterations above a certain minimum value produces a reasonable result for selected test input data. (This was not always the case, e.g. because of my misunderstanding that's now been documented in #870.)

Ok, but how often do you do it?  Not often enough for the syncing to disk to matter right?

Probably not – eventually. Still more in a development & testing phase.

Should this work? Should I create a PR?

Yeah, that's a good idea.  In retrospect I should have made it that way in
the first place :)  So definitely send it as a PR :)


add relaxed bernoulli with straight through gradient estimator

the bernoulli version of #1124
currently  tests/distributions/test_relaxed_straight_through.py::test_bernoulli_svi_usage() is failing.
there is some sort of strange log_prob nan. i'm not sure what's happening. @fritzo can you please take
a look when you have a chance?

@martinjankowiak The NAN was caused by an edge sample soft_sample=1.0. I was able to fix this by applying clamp_probs to the soft_sample:
diff --git a/pyro/distributions/relaxed_straight_through.py b/pyro/distributions/relaxed_straight_through.py
index 853d4934..b5ff58ef 100644
--- a/pyro/distributions/relaxed_straight_through.py
+++ b/pyro/distributions/relaxed_straight_through.py
@@ -4,6 +4,7 @@ import torch

 from pyro.distributions.torch import RelaxedOneHotCategorical, RelaxedBernoulli
 from pyro.distributions.util import copy_docs_from
+from torch.distributions.utils import clamp_probs

 @copy_docs_from(RelaxedOneHotCategorical)
@@ -31,6 +32,7 @@ class RelaxedOneHotCategoricalStraightThrough(RelaxedOneHotCategorical):

     def rsample(self, sample_shape=torch.Size()):
         soft_sample = super(RelaxedOneHotCategoricalStraightThrough, self).rsample(sample_shape)
+        soft_sample = clamp_probs(soft_sample)
         hard_sample = QuantizeCategorical.apply(soft_sample)
         return hard_sample

@@ -79,6 +81,7 @@ class RelaxedBernoulliStraightThrough(RelaxedBernoulli):

     def rsample(self, sample_shape=torch.Size()):
         soft_sample = super(RelaxedBernoulliStraightThrough, self).rsample(sample_shape)
+        soft_sample = clamp_probs(soft_sample)
         hard_sample = QuantizeBernoulli.apply(soft_sample)
         return hard_sample

but tests then fail due to numerical inaccuracy.

ok, added to .rst

@martinjankowiak push if you have time, otherwise I'll tidy up docs and merge this tomorrow.


taking advantage of aurelia's files binding

i have found this:
https://www.danyow.net/binding-to-file-inputs-with-aurelia/
looks like this codebase can be simplified by taking advantage of aurelia's to work with files in a straight forward manner without requiring explicit DOM manipulations

Feel free to do a PR


not compatible with rc4

Is there a plan to update the project so that it can work with rc4?

Jep, support for RC4 would be nice. I think the problem is not RC4 itself. I get an @angular/forms error (cannot be found).
ng2-bootstrap seems not to support the new angular forms API.

While there were/are some problems with specific components, mainly it does support RC4. (I'm actually using it in a project). So it would be helpful to give some details on what specific problem you have, and how they can be reproduced so we can have a look at them.

I got exception: Cannot find module 'angular2/angular2' in most of the components. It should be @angular/core now and view is no longer with rc4. Some old components are throwing exceptions, e.g., View, NgIf, NgClass, ...

@git4sun you are using outdated ng2-bootstrap version
make a clean install of ng2-bootstrap

npm install --save ng2-bootstrap
this is how I installed ng2-bootstrap as described in readme. How else can I install a clean version?

npm install --save ng2-bootstrap@latest
check 'npm-check' module it will save you some time
Plus search for 'angular2' in your project and later in dependencies, something is out of date for suew


Add Code of Conduct

Description
Want to add a CodeofConduct.md file to ensure a safe environment for everyone to work.
Screenshots
No response
Additional information
No response

@Rakesh9100 please assign me this issue

This is already present. https://github.com/Rakesh9100/ML-Project-Drug-Review-Dataset/blob/main/.github/CODE_OF_CONDUCT.md Pls create new issues.


Make it possible to specify how many deleted apps to keep in a namespace

Currently all config maps related to deleted applications are kept, we only want to keep some of these

We can go with 10 apps as default, I would say and have it a configurable options either via env vars or config file.

Closing, as 3a0ba6c17574ca333fe4a84f45f1644bbc3c9007 adds this.


Add GigaDevice gd32f0x, gd32f1x0 and gd32e23x svd.

extracted from vendors's Keil support packs.
GigaDevice.GD32F1x0_DFP.3.1.0
GigaDevice.GD32F10x_DFP.2.0.1
GigaDevice.GD32E23x_DFP.1.0.0

Hi @grevaillot you might want to include the license info for these SVD files as mentioned here:
https://github.com/posborne/cmsis-svd#license

Hi @grevaillot you might want to include the license info for these SVD files as mentioned here:
https://github.com/posborne/cmsis-svd#license

ouch, indeed, and not obvious : gigadevice does mention any license, nor keil... I contacted them and update the PR if i manage to get an answer.

Thanks for the follow-up @deadprogram @grevaillot, will await license clarification.

Closed for now; please reopen if we get license clarification.


Center Layout Auto Resize to exclude vertically stacked tab groups

An option for workbench.editor.centeredLayoutAutoResize  to not to resize for a single column of vertically stacked tabs.
Currently the center mode is resized if number of tab groups > 1, no matter the arrangement.

In the bottom picture the editors are maxed out, but they don't need to be.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


UsersTableSeeder Doesn't Push data in database!

php artisan db:seed
Command Shows Errors in the billow

Illuminate\Database\QueryException

  SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 2 (SQL: insert into `users` (`code`, `email`, `name`, `password`, `photo`, `remember_token`, `user_type`, `username`) values (PASCJOW8TA<EMAIL_ADDRESS>CJ Inspired, $2y$10$EGe0n7hOkvhW526JsmJEvONVgGQlyYU0XPG4Q5zszs8gv/Fb6YbQ6, http://localhost/global_assets/images/user.png, USDDp41vo1, super_admin, cj), (DGH3RDESV7<EMAIL_ADDRESS>Admin KORA, $2y$10$WpO5Gm1d6AaatepufxJH2.ZgTBXh6Lf9KeyqgJal3y7QY93XR0nmm, http://localhost/global_assets/images/user.png, qTGKb2x5z2, admin), (IH79J8XGR3<EMAIL_ADDRESS>Teacher Chike, $2y$10$pbUTFMSCbmqHfFJhVuXFsOsTc7/.U74aWpIcAzc7Ysye3OR95jOe2, http://localhost/global_assets/images/user.png, 0LQ2d3t0MM, teacher), (ATSL5TUDI7<EMAIL_ADDRESS>Parent Kaba, $2y$10$UYecYsy8EeQ6sEb2anqSrueZ7dHOystkPfIor9nSI6jw0XUgWYgwy, http://localhost/global_assets/images/user.png, jx7OmBOomA, parent))

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
    667▕         // If an exception occurs when attempting to run a query, we'll format the error
    668▕         // message to include the bindings with SQL, which will make this exception a
    669▕         // lot more helpful to the developer instead of just the database's errors.
    670▕         catch (Exception $e) {
  ➜ 671▕             throw new QueryException(
    672▕                 $query, $this->prepareBindings($bindings), $e
    673▕             );
    674▕         }
    675▕

      +10 vendor frames
  11  database/seeders/UsersTableSeeder.php:68
      Illuminate\Database\Query\Builder::insert()

  12  database/seeders/UsersTableSeeder.php:23
      Database\Seeders\UsersTableSeeder::newUsers()

I checked again and mine seeded successfully. Perhaps you modified your database

It's very possible you haven't pulled the updated repo. Username field is missing in your code. So it won't insert into database. Admin, teacher and parent now have usernames. Check https://github.com/4jean/lav_sms/blob/master/database/seeders/UsersTableSeeder.php for updated code. You need to pull changes since. Repo has been updated.

Ok I will try that!
One suggestion.
If you could generate new Students account automatically. It would be awesome. Then the super admin won't have to create those account by hand again and again.
I am working on a school management project on own. Just wanted to took some idea from yours!
And I can say your School management system is one of the best found online!

Thanks for your compliments. I'll look into it

You Can pull changes now. Seeder for creating multiple students have been added


Widget: E2E Tests

Context

Summary

Relevant Technical Choices
Used a lot of class names in tests, as screens are not designed with e2e in mind. Only real way to get tests to work.
To-do

User-facing changes

Testing Instructions

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

UAT

[ ] UAT should use the same steps as above.

This PR can be tested by following these steps:

Reviews
Does this PR have a security-related impact?

Does this PR change what data or activity we track or use?

Does this PR have a legal-related impact?

Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[ ] I have tested this code to the best of my abilities
[ ] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[ ] I have added documentation where necessary
[ ] I have added a matching Type: XYZ label to the PR

Fixes #6631

Used a lot of class names in tests, as screens are not designed with e2e in mind. Only real way to get tests to work.

Would the customizer be easier to test?


[DUMMY PR - DO NOT MERGE] PRL-5175:Added placeholder for other person logic

JIRA link (if applicable)
PRL-5175
https://tools.hmcts.net/jira/browse/PRL-5175
Change description
Other party details to show in application tab
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X ] No

Closing dummy pr


Error in running snakemake pipeline

Hi,
I am facing error while running snakemake on a seurat object created using Seurat v4.0
00log/full_sample_k_8_resolution_1.4_PC_150.log
Loading required package: SeuratObject
Error in .requirePackage(package) :
unable to find required package ‘SeuratObject’
Calls: eval ... .extendsForS3 -> extends -> getClassDef -> .requirePackage
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
there is no package called ‘SeuratObject’
Execution halted
My current folder looks like this.

~/bioinformatics_tools/pyflow_seuratv3_parameter$ ls
00log  cluster.json  config.yaml  envs  LICENSE  pyflow-scBoot.sh README.md  scripts  seurat_obj.rds  Snakefile

Could you please help me sort out this.

Hi, Currently, the snakemake workflow is not compatible with Seurat V4. https://github.com/crazyhottommy/pyflow_seuratv3_parameter/issues/6
We are working on that and will update you here.

Hi @mthimma. Scott just made a PR to support Seurat V4 SCTransform, can you try it out?  and you need to install SeuratObject package yourself.

What is this SeuratObject package? Is this any python package?
I have R and Seurat installed in my workstation.

Also, I did install snakemake about 5 days ago. If you have updated after that let me try to download and install snakemake again.

It is an R package. https://cran.r-project.org/web/packages/SeuratObject/SeuratObject.pdf


Subscribe to pooled objects for client requests.

I had originally done this for responses, but not for requests, probably assuming that requests tend to be small compared to responses. Now I'm writing an object storage client where requests are orders of magnitude larger than responses...

Is it OK if we don't release o when write() did nothing? e.g. channel inactive, illegal state..

Thanks for noticing, yeah missed those branches (also added to HttpResponseSubscriber for consistency)

Actually I went ahead and removed some of the checks, it seems impossible to execute that code

Thanks, @anuraaga !


Allow user to specify transform file in import command

The basic transform file should contain
t.Source("source", source, "/.*/").Save("sink", sink, "/.*/")

It can have transforms in addition to that.

Also need to write doc for it.


Demo count fix

I'm dumb

:white_check_mark: Build carball 0.6.113-lifjddcb completed (commit https://github.com/SaltieRL/carball/commit/59c8e2a988 by @Sciguymjm)

:white_check_mark: Build carball 0.6.113-lifjddcb completed (commit https://github.com/SaltieRL/carball/commit/59c8e2a988 by @Sciguymjm)

:white_check_mark: Build carball 0.6.113-fdmplvkd completed (commit https://github.com/SaltieRL/carball/commit/d5d2a67c01 by @Sciguymjm)

:white_check_mark: Build carball 0.6.113-fdmplvkd completed (commit https://github.com/SaltieRL/carball/commit/d5d2a67c01 by @Sciguymjm)

:white_check_mark: Build carball 0.6.113-qwrtkdjh completed (commit https://github.com/SaltieRL/carball/commit/dbe93a8c0a by @Sciguymjm)

:white_check_mark: Build carball 0.6.113-qwrtkdjh completed (commit https://github.com/SaltieRL/carball/commit/dbe93a8c0a by @Sciguymjm)


Create LICENSE

Adding LICENSE for repository owner
fixes #15

Hi!
I added a license and then saw your PR, sorry!


fix(ci): possible fix for nuget mount errors in CI

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


have any publication or paper for this project?

Hi! Thank you for your wonderful work. I was wondering if you have any publications/thesis regarding this project? If you have time, would you mind sharing the papers? Thank you so much!

The original author is no longer around, so he can't answer. It's unclear whether specific papers were used here, but it's certain science was involved.

Sorry, no papers or thesis on the subject are available to the public.
@gavanderhoorn Hi! I still check from time to time, I hope you are well 😃


Guard against then being a getter that throws the second time around

Thanks @benjamingr !
What's the test we should add in order to cover this branch of code? (to keep the coverage numbers at 100% 😄 )

What's the test we should add in order to cover this branch of code? (to keep the coverage numbers at 100% 😄 )

https://github.com/promises-aplus/promises-tests/blob/4786505fcb0cafabc5f5ce087e1df86358de2da6/lib/tests/2.3.3.js#L211-L213
Basically, potentialPromise being something like:
const potentialPromise = {
  called: false,
  get then() {
    if (!called) {
      called = true;
      return Promise.resolve().then.bind(Promise.resolve());
    }
    throw new Error('OMG why would anyone do this oh wait the reason this test exists in A+ is that some libraries actually do this but why?');
  }
}

Thanks again @benjamingr
(sorry for the late late late reply here :)

@all-contributors please add @benjamingr for their code ideas and maintenance


Draw over screen application/protocol

Hi there,
I've been trying to contribute more to the wlroots/sway ecosystem since I've been using it for quite some time now and absolutely love it!
One think I would like to implement is an application that lets me draw over the screen for annotations while screensharing. Basically this: https://framagit.org/abakkk/DrawOnYourScreen
The way waylands architecture works this seems quite tricky. I've researched a bit and think the only option would be if either wlroots supports this directly or there exists a protocol.
Could you give me some pointers on how I would approach this feature?
Thanks!

Should be possible to do with the wlr-layer-shell protocol.
(Closing because this isn't a wlroots issue -- next time please ask questions on IRC.)


dataset Find Usages GoTo handler

Find usages works. It looks ugly because string literals aren't "named" elements in PhpStorm, so there is no possibility to add the usual "Find usages" for it. And. renaming will also be a problem)

[x] Added or updated tests
[ ] Updated CHANGELOG.md

issues: #320

Hmm annoying that we can't easily add renaming because of it not being a named element...
I have hit that issue a couple of times with other features I wanted to make also.


Add read only adapter

This adds read only adapter for situations where the application uses flipper but the UI runs separate and handles the updating.
fyi @dangerp
closes #91
closes #92

Awesome, thanks!


Add javadoc docstrings to IndexInterface, Index, AsyncIndex classes

Problem
The Java client is lacking docstrings and we're working on adding them.
IndexInterface, Index, and AsyncIndex all need javadoc docstrings with code examples.
Solution

Add docstrings to IndexInterface and the implementing classes: Index and AsyncIndex. The code examples are documented in the implementing classes and they inherit the root documentation from IndexInterface.

Type of Change

[ ] 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)
[ ] This change requires a documentation update
[ ] Infrastructure change (CI configs, etc)
[X] Non-code change (docs, etc)
[ ] None of the above: (explain here)

Test Plan
Pull this branch down and run gradle generateJavadoc locally. Even with the errors and warnings you should still get the /docs output in the project folder. You can open this in your browser.
Make sure none of the errors or warnings have increased / we're not seeing any outside of the generated code package:

I'm done with my review -- really nice work @austin-denoble


Fix typo

Typo: Markdown syntax error. Same as #18514.

@changeworld : Thanks for your contribution! The author, @mamccrea, has been notified to review your proposed change.

@tfosmark there are some issues in this PR. The formatting may break. We should not use 4 spaces for indented bullets. That will cause it to appear as code. Can you please check that in a build to see how it looks?

@JasonWHowell That is the problem with formatting changes in public, the lack of staging. This change should be pulled into the private repo with this morning's publishing build, so please submit a PR in the private repo if you see layout issues. Thank you!

@tfosmark I tested a similar one and it was OK. I don't understand why 4 spaces are used though, so worth double-checking the rendering.


when deleting a wallet, won't appear from wallets page directly.

When deleting a wallet, you have to go to another page then return back to wallets to see it's removed

I can still produce the same issue is this still pending to deploy ?

produced one time
after wallet disappeared it appeared again
https://github.com/user-attachments/assets/6352c4d8-3f97-42f7-96fc-59e5ce4989b5

@AhmedHanafy725
could not produce it again
maybe was the connection speed the issue ?
version 4.0.0
IOS version 18
screencast :
https://github.com/user-attachments/assets/1458cf75-cd1c-4098-8e77-69be12efb79a


Endless loop in constructor with empty ByteArrayInputStream

The following code, using the SasFileReaderImpl class, will lead to an endless loop:
  byte[] emptyArray = new byte[0];
  ByteArrayInputStream emptyStream = new ByteArrayInputStream(emptyArray);
  SasFileReaderImpl emptyByteArrayStreamReader = new SasFileReaderImpl(emptyStream);

Probably no one should be passing in empty ByteArrayInputStreams to the constructor, but instead of getting caught in an endless loop, it would be helpful to throw an exception instead. This would allow classes extending SasFileReaderImpl to easily catch this kind of bad input.

The loop takes place in getBytesFromFile in SasFileParser, line 750:
  while (actuallySkipped < offset[i] - currentFilePosition) {
    try {
      actuallySkipped += sasFileStream.skip(offset[i] - currentFilePosition - actuallySkipped);
    } catch (IOException e) {
      // never reach this far

actuallySkipped and currentFilePosition are stuck at 0, while offset[0] is 32, so the while statement never exits.

Hi, I was kinda reluctant to open the issue here, as it has an impact on the Apache Tika project and I was trying to figure out who to contact and how.
You can do a Denial of Service with a correctly crafted input, so this issue is quite important.
See the gists: https://gist.github.com/syjer/9ffebab4538fbc4242d10e50fa5a4454

closed thanks to xantorohara


Require statement guid when wikidata value present and viceversa

Bug: T323206
Todo - tests:

[x] check that the 'None' value is correctly added when statement-guid and wikidata value are missing.
[x] check that statement-guid cannot be present without wikidata-value and viceversa (2 tests)

I'm surprised that tests/Feature/ValidateCSVTest.php does not seem to have any tests for valid CSV, but that's out of scope of this PR.
I think all my comments have been resolved.

I'm surprised that tests/Feature/ValidateCSVTest.php does not seem to have any tests for valid CSV, but that's out of scope of this PR.
I think all my comments have been resolved.

Yes i also was looking for the correct import but didnt manage to formulate it, just thought it must be ok if we check for all the possible fails 😅 We could write a ticket for that.

Diff looks nice and clean to me now; I’ll try it out locally.

Looks good to me apart from the one comment I left above.


Deletion of CosmosDB Database isn't working

Describe the bug
I'm trying to delete a MongoDB on a CosmosDB Serverless instance, but the deletion failed. No error message will be displayed.
Command Name
az cosmosdb mongodb database delete
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Create a CosmosDB Serverless account of type MongoDB
Create a database in the new CosmosDB Account (I used Azure Cli)
Try to delete the new created database:
az cosmosdb mongodb database delete --account-name {} --name {} --resource-group {} --subscription {} --yes

Expected Behavior
Database will be removed
Environment Summary
macOS-10.15.7-x86_64-i386-64bit
Python 3.8.7
Installer: HOMEBREW

azure-cli 2.18.0 *

Same issue with the latest Docker image of Azure CLI (2.9.1)

cosmosdb

Hey thanks for creating the issue. Looking into this.

I tried to repro the issue, I did not hit it. This is the command I used:
az cosmosdb mongodb database delete -a myAccountName --resource-group myResourceGroupName --name myDatabaseName
I wonder, if the issue is because you are providing an extra subscription parameter. Can you try without it ? Let me know if you still face the issue, in that case please use --debug option and trace the activity Id of your request and please provide it here.

I remove the subscription parameter and it worked!

@yonzhan an error should be thrown here that subscription is not valid param. Can you help figure out why that did not happen.


Feature/muni questions

COL-793

@gregshap

Looks good! :+1:
I noticed a couple other things but I'll make a separate item.

@gregshap updated
http://ci-deploys.cid-labs.com/cid-harvard/atlas-subnational-frontend/feature/muni-questions/304/

:+1: :carousel_horse:  Ride on cowboy

:+1:


"Request ... failed."

Summary
Popups saying either "Request textDocument/hover failed." or "Request textDocument/inlayHint failed." are being spammed while I'm scrolling through my scripts when there is an error in my code as shown before. Currently under the assumption that I am meant to be notified of something or that the popup, er, popping up was a mistake.

Specifications
OS: Windows 10
Editor: VS Code
Extension Version: v1.11.2

Yeah this is a known issue which I can't reproduce right now. If you find reproduction steps that would be incredibly useful.
I've added a little bit more logging in the nightly release

I've pushed a fix as https://github.com/JohnnyMorganz/luau-lsp/commit/83e4f467bc97368f50b538903796da753121ab94, lets see if that helps

Sorry for the late feedback, this seems to have resolved the issue. It may resurface during split pane which was something I forgot to mention, but this has not been reproducible since the fix so I am going to assume this was fixed.
Thanks as always for the hard work! 👍


SplitCoordinator Initialization

If the window was not been appears and rootViewController of master is a UINavigationController, SplitCoordinator.init(master: Presentable, detail: Presentable?) works in an unexpected way.
For example:
import UIKit
import XCoordinator

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
    let window: UIWindow! = UIWindow()
    let router = SomeCoordinator().anyRouter

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        router.setRoot(for: window!)
        return true
    }
}

enum SomeRoute: Route { }

class SomeCoordinator: SplitCoordinator<SomeRoute> {
    init() {
        let masterVC = UIViewController()
        masterVC.title = "Master"

        let detailVC = UIViewController()
        detailVC.title = "Detail"

        super.init(
            master: UINavigationController(rootViewController: masterVC),
            detail: detailVC
        )
    }
}

I found the problem in BaseCoordinator.performTransitionAfterWindowAppeared(_ transition: TransitionType). If performTransition is wrapped asynchronously, then everything works as expected.
private func performTransitionAfterWindowAppeared(_ transition: TransitionType) {
    guard UIApplication.shared.keyWindow == nil else {
        return performTransition(transition, with: TransitionOptions(animated: false))
    }

    var windowAppearanceObserver: Any?

    rootViewController.beginAppearanceTransition(true, animated: false)
    windowAppearanceObserver = NotificationCenter.default.addObserver(
    forName: UIWindow.didBecomeKeyNotification, object: nil, queue: .main) { [weak self] _ in
        windowAppearanceObserver.map(NotificationCenter.default.removeObserver)
        windowAppearanceObserver = nil
        DispatchQueue.main.async {
            self?.performTransition(transition, with: TransitionOptions(animated: false))
        }
        self?.rootViewController.endAppearanceTransition()
    }
}

Hey - thanks for finding and reporting this issue. I'm not quite sure BaseCoordinator.performTransitionAfterWindowAppeared(_ transition: TransitionType) is the correct place to fix this behavior as it might break similar cases for other coordinator classes...
What you can do for now as a hotfix is performing a .showDetail transition in the presented(from:) method of your coordinator instead of specifying the detail view controller in the initializer. Please keep in mind to call super.presented(from:) when overriding.

Yea, I was not sure that this fix is thread safe, so I created the issue, not a pull request. A simpler hotfix is an overriding the generateRootViewController method for setting init view controllers.

This is addressed in XCoordinator 2.0.0, which will be released in the near future (see https://github.com/quickbirdstudios/XCoordinator/pull/122 for more information).


feat: Updated Kannada translations

Description

Added kannada translation for "excluding"
ref #236
Type of change

How Has This Been Tested?

[x] Tested locally with a valid username

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings

Screenshots

Looks great! Thanks for the contribution 🎉

Thank you as well!


sendmail does not work / doesn't use FROM parameter

Gitea version (or commit ref): 1.10.1
Git version: 2.11.0
Operating system: Raspbian / Debian 9 (Stretch)
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I tried to setup email notifications with postfix sendmail using the following config:
ENABLED = true
FROM = My Gitea<EMAIL_ADDRESS>MAILER_TYPE = sendmail

[mydomain] is replaced with a valid domain.
But when I send a test mail postfix logs this:
Dec 17 14:44:19 RaspberryPi postfix/cleanup[3590]: 6246C1006F3<EMAIL_ADDRESS>Dec 17 14:44:19 RaspberryPi postfix/qmgr[3499]: 6246C1006F3: from=<git<EMAIL_ADDRESS>size=899, nrcpt=1 (queue active)
Dec 17 14:44:19 RaspberryPi postfix/smtp[3592]: 6246C1006F3<EMAIL_ADDRESS>relay=gmail-smtp-in.l.google.com[<IP_ADDRESS>]:25, delay=0.57, delays=0.1/0.03/0.43/0.01, dsn=5.1.7, status=bounced (host gmail-smtp-in.l.google.com[<IP_ADDRESS>] said: 553-5.1.7 The sender address <git<EMAIL_ADDRESS>is not a valid 553 5.1.7 RFC-5321 address. v25si7275410edq.184 - gsmtp (in reply to MAIL FROM command))
Dec 17 14:44:19 RaspberryPi postfix/cleanup[3590]: EF6DA100746<EMAIL_ADDRESS>Dec 17 14:44:20 RaspberryPi postfix/bounce[3593]: 6246C1006F3: sender non-delivery notification: EF6DA100746
Dec 17 14:44:20 RaspberryPi postfix/qmgr[3499]: EF6DA100746: from=<>, size=3248, nrcpt=1 (queue active)
Dec 17 14:44:20 RaspberryPi postfix/qmgr[3499]: 6246C1006F3: removed
Dec 17 14:44:20 RaspberryPi postfix/smtp[3592]: EF6DA100746: to=<git<EMAIL_ADDRESS>relay=none, delay=0.13, delays=0.03/0.01/0.1/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=raspberrypi.com type=AAAA: Host not found)
Dec 17 14:44:20 RaspberryPi postfix/qmgr[3499]: EF6DA100746: removed

and I don't receive an email. I can see that my configured FROM = My Gitea<EMAIL_ADDRESS>is not beeing used and therefore the email gets rejected by gmail.
The sendmail works fine for my nextcloud setup

Looking at the code it certainly appears to set it.
https://github.com/go-gitea/gitea/blob/590d56dbb355a499b2f59d9a6ffa4887ea33c96b/modules/setting/mailer.go#L74
https://github.com/go-gitea/gitea/blob/590d56dbb355a499b2f59d9a6ffa4887ea33c96b/modules/setting/mailer.go#L88-L97
And use it:
https://github.com/go-gitea/gitea/blob/590d56dbb355a499b2f59d9a6ffa4887ea33c96b/services/mailer/mailer.go#L67
https://github.com/go-gitea/gitea/blob/08ae6bb7edb9582c38edb8a0dba1b1be10fb00fc/services/mailer/mail.go#L246
Used here:
https://github.com/go-gitea/gitea/blob/590d56dbb355a499b2f59d9a6ffa4887ea33c96b/services/mailer/mailer.go#L39
Leading to:
https://github.com/go-gitea/gitea/blob/590d56dbb355a499b2f59d9a6ffa4887ea33c96b/services/mailer/mailer.go#L216
Try setting the MAILER_TYPE=dummy just to ensure that the from address is being parsed correctly.
If that is correct then we need to think a bit more about where it could be going wrong.

@zeripath using "dummy" as MAILER_TYPE results in the expected result:
	From: "My Gitea"<EMAIL_ADDRESS>	To<EMAIL_ADDRESS>	Subject: Gitea Test Email!\01503d
	Date: Thu, 19 Dec 2019 11:51:36 +0100\01503d
	X-Auto-Response-Suppress: All\01503d
	Content-Type: multipart/alternative;\01503d
	 boundary=96fa55d689ea616bc3979cbf55f1f74f14c7cd681734450a819b58124e80\01503d
	\01503d
	--96fa55d689ea616bc3979cbf55f1f74f14c7cd681734450a819b58124e80\01503d
	Content-Transfer-Encoding: quoted-printable\01503d
	Content-Type: text/plain; charset=UTF-8\01503d
	\01503d
	Gitea Test Email!\01503d
	--96fa55d689ea616bc3979cbf55f1f74f14c7cd681734450a819b58124e80\01503d
	Content-Transfer-Encoding: quoted-printable\01503d
	Content-Type: text/html; charset=UTF-8\01503d
	\01503d
	Gitea Test Email!\01503d
	--96fa55d689ea616bc3979cbf55f1f74f14c7cd681734450a819b58124e80--\01503d

I have narrowed the error down to the parameter -F.
using echo "Subject: sendmail test" | sendmail -F "My Gitea<EMAIL_ADDRESS>-v<EMAIL_ADDRESS>does not work and results in from=<git<EMAIL_ADDRESS>beeing used by sendmail. Using the parameter -f (Subject: sendmail test" | sendmail -f "My Gitea<EMAIL_ADDRESS>-v<EMAIL_ADDRESS>fixes my issue.


Cannot read property 'create' of undefined when I build with --prod

Steps to reproduce:

The service references AlertController in the custom module
Create ionic project
Use the service in the custom module
build with --prod

set "ionic_manual_treeshaking" to false
it work.

@squallliu,
Can you upload a sample repo that I can work off of?
Thanks,
Dan

@danbucholtz

clone https://github.com/squallliu/app-scripts-test1
npm i
build with --prod

@danbucholtz I can confirm that issue as well - my app has a dependency to a library with custom ionic components. Those components extends ionic basic components. When ionic_manual_treeshaking is true, classes of ionic components that are not used directly within the app, are not accessible for components from the library... When ionic_manual_treeshaking is set to false it works, but css files is not generated properly (reported in another issue).

Similar situation, but in my case ModalController and ToastController are undefined in my custom UIService provider with a --prod build but they exist without the prod flag (AlertController exists in both situations). If I attempt a build with --manualTreeshaking false then the app errors entirely with Uncaught SyntaxError: Unexpected token var from main.js .
"ionic-angular": "3.6.1",
"@ionic/app-scripts": "2.1.4",

AlertController and LoadingController we working because they were imported and injected into at least one "page" component in the app. My workaround was to import & inject the following in app.component.ts
import { Platform, AlertController, LoadingController, ModalController, ToastController } from 'ionic-angular';  //import & inject these to prevent manualTreeshaking removal in --prod builds

    constructor(
        private platform: Platform,
        private alert: AlertController,
        private loading: LoadingController,
        private modal: ModalController,
        private toast: ToastController,
        public translate: TranslateService,
        public ui: UIService,
        private splashscreen: SplashScreen,
        private statusbar: StatusBar
    ) { ... }
;


Update CBSubscribeDialog.tsx

Changed typo on the bottom of XMTP modal

Review Error for lauchness @ 2023-08-19 00:09:38 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


Feature/teleport through alphatested

Regarding this PR specifically, maybe the Apply parameters should be exposed so you wouldn't need to fork the whole package.

We needed to have the textures as CPU-readable for some time during the scene building in order to create some boolean masks for the alpha threshold. We have alpha-tested geometry that we need to teleport through in VR and the collisions with the fully transparent parts of that geometry prevent teleportation. So we create some low-res boolean masks from appropriate mip levels of the textures and only then we call Apply in our app code to delete the CPU copies. Then for teleportation we can sample the boolean masks and make some changes to the logic. It's somewhat of a niche case.


first version

项目不再依赖于testsweeper，而是独立出来。
此外，增加了一级算子asum

Thanks for your interest in BLAS++. We intentionally depend on TestSweeper. I don't see a reason to remove that dependency. It would be good to discuss significant changes like this before attempting to implement them.
Also, if you have 2 unrelated items (changes with respect to TestSweeper, changes with respect to asum), submit them in separate PRs.


Select component need tool-tip on both the select and option when the label is too long

What problem does this feature solve?
ability to show see complete information
What does the proposed API look like?
there's a way to find out what is selected and what are the options

you can add anything you want to both option or select with current component.


Add chrome.loadTimes deprecation post

Target Live Date: 2017-12-14

[ ] This has been reviewed and approved by (@jpmedley )
[x] I have run gulp test locally and all tests pass.
[x] I have added the appropriate section-updates label.
[x] I've staged the site and manually verified that my content displays correctly.

R: @petele

:+1:

:+1:

cc: @spanicker @igrigorik

:+1:

:+1:

:+1:


FEATURE: add Kolide helpers group to user alert PM participants.

A bit of description to provide context would be nice.


[IPS-444] Remove SECURITY.md

Proposed changes
Removed SECURITY.md file
What changed
Removed SECURITY.md file
Why did it change
We now have https://github.com/govuk-one-login/.github/blob/main/SECURITY.md
This file will default if there is no SECURITY.md file, so removing it will allow this to take precedence.
Related links
https://govukverify.atlassian.net/browse/IPS-444
Checklists

Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Application configuration is up-to-date
[ ] Documented in the README
[ ] Added to deployment steps
[ ] Added to local startup config

Testing

How to review

@louiseli1 This is a template repo - can you also delete https://github.com/govuk-one-login/ipv-cri-templates/blob/main/repo/templates/docs/SECURITY.md as well as part of this commit?


Requesting Feature: Rich Text Box

A rich text box like in html where you can write over more lines instead only one like @ entry would be realy nice!

Not planned, therefore closed.


CI keeps failing

It seems there is a json high nesting bug after each CI run.  Not certain what is causing it, but all PRs end up in a failed state, making CI less useful for submissions feedback

I'm not sure what you mean by JSON high nesting bug? There was an issue with advisories (that I really can't do much about here), I silenced those in facf952cb61d3aac83ff127e1b23f0433509caa6.


Issue processing using client

I'm pushing ahead without the conversion to TEI XML, but I'm running into this issue (perhaps related to #1 as it also seems to be lmdb?)
client = software_mentions_client(config_path="config/config-client.json")
client.annotate_collection("./data", force=True)

Is giving me:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[10], line 2
      1 client = software_mentions_client(config_path="config/config-client.json")
----> 2 client.annotate_collection("./data", force=True)

File /srv/conda/envs/notebook/lib/python3.10/site-packages/software_mentions_client/client.py:207, in software_mentions_client.annotate_collection(self, data_path, force)
    204 self.env = lmdb.open(envFilePath, map_size=map_size)
    206 with self.env.begin(write=True) as txn:
--> 207     nb_total = txn.stat()['entries']
    208 print("\nnumber of entries to process:", nb_total, "entries\n")
    210 # iterate over the entries in lmdb

TypeError: Transaction.stat() missing 1 required positional argument: 'db'

This is with config as in this repo.

Tagging @kermitt2 in case not monitoring this repo :)

There's apparently some version issues, at least with lmdb. In your app, I think you set the dependencies with apt.txt?
Normally these harvester/softcite client packages use lmdb==0.94, but you can upgrade to lmdb==1.4.1 for latest version (I think lmdb version 0.94 is not working anymore with python 3.10).
Can you add this to get the latest versions:
article_dataset_builder==0.2.4
software_mentions_client==0.1.7

I'm trying that, but running into one of those depressing hells :)
I first used the lines you suggested.  Those install fine, but the error persists.  lmdb that is installed is 0.94
So then I thought maybe you meant install lmdb 1.4.1 but that creates an pip unresolveable issue.
The conflict is caused by:
    The user requested lmdb>=1.4.1
    article-dataset-builder 0.2.4 depends on lmdb==0.94

So then I thought maybe you meant install lmdb 1.4.1 but that creates an pip unresolveable issue.

Ah indeed, we are in the python dependency marshlands. I would need to publish a new version of article-dataset-builder and software_mentions_client with upgraded lmdb dependency to 1.4.1.
Before I do that, would you be able maybe to create an environment with python < 3.10 and keeping everyone to lmdb==0.94? I was using all these modules without issues with python 3.8 and 3.9 and lmdb==0.94.

Ah, got it, so it's the python 3.10 that's causing the underlying problem, forcing us up to lmdb 1.4.1.  Ok, I'll change that and try again :)

Ok, that seems to have worked!  I pinned Python to 3.9 and things are progressing :).


Modifying methods' parameters

Users can modify some parameters of the selected method. User_Story: 2-17

@soroushojagh  - do you have clear guidance on what the most important parameters are for user modification in a version 1?

@tbarchyn I think we agreed on a few modifiable parameters for version 1. However, as all parameters will be cloned into the user-generated program and methods, so it would be easy to change the status of parameters and let users modify them in future.


material-about depends on old url_launcher

Because every version of material_about depends on url_launcher ^5.0.2 and appname depends on url_launcher ^4.0.1, material_about is forbidden.

Jesus I should really sleep sometimes. It's my app that has an old version. Sorry :P


Properly overlay features

import hvplot.xarray
import xarray as xr
import panel as pn

ds = xr.tutorial.open_dataset("air_temperature").isel(time=0)
plot = ds.hvplot("lon", "lat", features=["land", "borders", "coastline"])
plot

--

Superseded by https://github.com/holoviz/hvplot/pull/1151