DateTime - Add/Subtract - Around Daylight Savings Time Change

Is there an existing issue for this?

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

Steps to reproduce

Take a date before the daylight savings time change
Add any number of days, to make the result after daylight savings time change
Take a date after the daylight savings time change
Subtract any number of days, to make the result before daylight savings time change

Expected results
Since I started with a date, without any time (at midnight), I exptected the result to be at midnight as well (in both cases).
Actual results
Seems to add/subtract 24 hours per day, instead of just the day. Get some strange results around the daylight savings time change. See hardcopy.
Code sample
Code sample
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Demo DateTime & Daylight Savings Time',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

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

class _MyHomePageState extends State<MyHomePage> {
  final DateTime dateBeforeDaylightSavingsChange = DateTime(2023, 10, 27);

  final DateTime dateAfterDaylightSavingsChange = DateTime(2023, 10, 31);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: const Text('DateTime Add/Subtract'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text('Sweden 2023 Daylight Savings Time change:'),
            const SizedBox(height: 10),
            const Text('2023-10-29'),
            const SizedBox(height: 50),
            const Text('A date before the change:'),
            const SizedBox(height: 10),
            Text('$dateBeforeDaylightSavingsChange'),
            const SizedBox(height: 20),
            const Text('Add 5 days - The result is:'),
            const SizedBox(height: 10),
            Text('${dateBeforeDaylightSavingsChange.add(const Duration(days: 5))}'),
            const SizedBox(height: 20),
            const Text('Expected:'),
            const SizedBox(height: 10),
            const Text('2023-11-01 00:00:00.000'),
            const SizedBox(height: 50),
            const Text('A date after the change:'),
            const SizedBox(height: 10),
            Text('$dateAfterDaylightSavingsChange'),
            const SizedBox(height: 20),
            const Text('Subtract 5 days - The result is:'),
            const SizedBox(height: 10),
            Text('${dateAfterDaylightSavingsChange.subtract(const Duration(days: 5))}'),
            const SizedBox(height: 20),
            const Text('Expected:'),
            const SizedBox(height: 10),
            const Text('2023-10-26 00:00:00.000'),

          ],
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
Syncing files to device sdk gphone64 x86 64...
Reloaded 1 of 689 libraries in 771ms (compile: 43 ms, reload: 183 ms, reassemble: 254 ms).
D/EGL_emulation(18614): app_time_stats: avg=79554.46ms min=85.21ms max=238396.12ms count=3
[Paste your logs here]

Flutter Doctor output
Doctor output
C:\Users\Mariette\IdeaProjects\testdatetime>flutter doctor -v
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3570], locale en-SE)
    • Flutter version 3.13.9 on channel stable at C:\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (2 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at C:\Users\Mariette\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

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

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.3.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.3.32825.248
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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
    • android-studio-dir = C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.71.2)
    • VS Code at C:\Users\Mariette\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.46.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 32) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19045.3570]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 118.0.5993.120
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 118.0.2088.61

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

• No issues found!

C:\Users\Mariette\IdeaProjects\testdatetime>

Thanks for filing this. I can't seem to reproduce this on my end. I tested with the code sample provided on an emulator (changed the location of the emulator to Sweden) but I can see the expected behaviour. Can you help with more information on how this reproduces?

flutter doctor -v

[!] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.9 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (2 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

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

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

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

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

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

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

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • Damilola’s iPhone (mobile) • 00008110-001964480AE1801E            • ios
      • iOS 17.0.2 21A351
    • iPhone 15 Pro Max (mobile) • 56A225C9-B8F6-4201-A0AE-8C3CFA4CE152 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 119.0.6045.105

[!] Network resources
    ✗ A network error occurred while checking "https://github.com/": Operation
      timed out

! Doctor found issues in 3 categories.

Did some more googling and found a comment that it is the way it is and they referenced to the documentation of  DateTime add/subtract.
Found that it says:
====================

_/// Returns a new [DateTime] instance with [duration] added to [this].
///
/// dart   /// final today = DateTime.now();   /// final fiftyDaysFromNow = today.add(const Duration(days: 50));   ///
///
/// Notice that the duration being added is actually 50 * 24 * 60 * 60
/// seconds. If the resulting DateTime has a different daylight saving offset
/// than this, then the result won't have the same time-of-day as this, and
/// may not even hit the calendar date 50 days later.
///
/// Be careful when working with dates in local time.
external DateTime add(Duration duration);
/// Returns a new [DateTime] instance with [duration] subtracted from [this].
///
/// dart   /// final today = DateTime.now();   /// final fiftyDaysAgo = today.subtract(const Duration(days: 50));   ///
///
/// Notice that the duration being subtracted is actually 50 * 24 * 60 * 60
/// seconds. If the resulting DateTime has a different daylight saving offset
/// than this, then the result won't have the same time-of-day as this, and
/// may not even hit the calendar date 50 days earlier.
///
/// Be careful when working with dates in local time.

====================
It seems that it work as intended, according to the documentation :(
Are there any plans to change this behavior?
So that not everyone have to come up with a solution that I feel should be in the bas code!

Thanks for your detailed response. I see from the documentation as well that it seems to be working as intended.  Looking through, I can't seem to find any proposal to change this behaviour. You could file a detailed feature request if you think this behaviour should be changed.
Closing this as this seems to be working as expected, if you disagree, please comment and I'll reopne this.
Thank you!

Hello,
I would like to file for a feature request, but how do I do it?
The current implementation makes the functionality useless and give us that try to use it a lot of extra work (error searching and then everyone have to write this basic functionality on their own).
I think it should be implemented in a useful way or removed from the DateTime function, to stop creating bugs.
Regards,
Mariette Lindström
From: Damilola Alimi @.>
Sent: Thursday, 9 November 2023 10:22
To: flutter/flutter @.>
Cc: Mariette Lindström @.>; Author @.>
Subject: Re: [flutter/flutter] DateTime - Add/Subtract - Around Daylight Savings Time Change (Issue #138069)
Thanks for your detailed response. I see from the documentation as well that it seems to be working as intended. Looking through, I can't seem to find any proposal to change this behaviour. You could file a detailed feature request if you think this behaviour should be changed.
Closing this as this seems to be working as expected, if you disagree, please comment and I'll reopne this.
Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/flutter/flutter/issues/138069#issuecomment-1803455617, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD6KGZSQM26OCTIR3EUKO5DYDSOFHAVCNFSM6AAAAAA7CSH3OWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGQ2TKNRRG4.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

Hello,
To file a feature request, kindly make use of this: https://github.com/flutter/flutter/issues/new?assignees=&labels=&projects=&template=3_feature_request.yml.
I hope this helps!


consolidate all internet access requirements

The ports doc doesn't include any URLs. The following articles include URLs that are needed for various features:

Service connection point
Software updates
CMG

Consolidate all needed URLs, sectioned by feature, to a single page. Perhaps create a new article instead of overloading the ports article.

From bug 521456, rename "Microsoft Intune" section to something like "Cloud Services", as it applies elsewhere.

From #1316, make sure to cross-reference with the following article:

Content: Proxy server support - Configuration Manager
Content Source: sccm/core/plan-design/network/proxy-server-support.md

Please don´t forget O365 Updates. They are missing here  as well

On Jun 19, 2019 4:16 PM, James Dunn<EMAIL_ADDRESS>wrote:
Closed #714https://github.com/MicrosoftDocs/SCCMdocs/issues/714.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/SCCMdocs/issues/714?email_source=notifications&email_token=AD53LNPQV4JVQSKOC2JA4BDP3K457A5CNFSM4FNCZFF2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSCLEVGI#event-2425768601, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD53LNMU7KHTNFPVAUYLD6LP3K457ANCNFSM4FNCZFFQ.

This issue is closed because I've created a new article to address it. The new article will publish live tomorrow (Thursday, 20 June) around 11am Pacific at the following address: https://docs.microsoft.com/sccm/core/plan-design/network/internet-endpoints


build: migrate to create-typescript-app@1

PR Checklist

[x] Addresses an existing open issue: fixes #15
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Adds a bit of unit testing while I'm here.

@all-contributors please add @joshuakgoldberg for infra.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙

Whoops, meant to keep this open. Will make a new PR later.


Skip remaining tests in a feature file, if certain condition is met

I am writing a test in which I need to skip all the remaining steps in a feature file if certain condition is met. I am not sure how can I achieve this using cypress cucumber preprocessor. I have read about this.skip() but it does not seem to be working. My code looks like this :
And('Click on three dots button for row number {string}', function(rowNumber)  {
    cy.wait(2000)
    cy.get('tbody > tr > td > div')
        .then(function ($body) {
            const empty_msg = $body.find('.empty-description').length
            cy.log(empty_msg).then(function() {
                if (empty_msg > 0) {
                     //return
                    //return "skipped"
                   // this.skip()
                  // I want to skip remaining steps in my feature file if this condition is met. I tried above methods but none of them seems to be working

                } else {
                    cy.xpath("//tbody[@class='tbody']//tr[" + rowNumber + "]//td[4]//button//em").click()
                }
            })
        })
   })

If this.skip() doesn't work, then you have to show me, IE. provide me a cloneable repository that illustrates the behavior.

I will not be able to share the repository as I am working on Live app. Can you please help me on the basis of above piece of code?

No, you have to provide me a minimal, cloneable repository that illustrates the behavior. I'm not interested in your company repo, I need something minimal.

Okay I will provide it ASAP. Thanks

We use the cypress skip-test module to achieve something similar.
https://www.npmjs.com/package/@cypress/skip-test
This cy.skipOn() command only skips the current test, but you could set a variable and then call cy.skipOn() in a beforeEach hook and check that variable which would cause the rest to be skipped.

Closing due to inactivity.


Merge spryker upstream version 2.14

updates to current stable release of https://github.com/spryker/demoshop version 2.14
adds an update script (see within scripts/ folder) to fetch a new version from upstream and incorporates the changes

This is tested with https://github.com/claranet/spryker-base/pull/7


Gitlab is behind google IAM

Add mechanism where it could add IAM header in the variable so it can pass the IAM checking.

@insomnius Thank your for the issue. It would be great if you add IAM header and create PR.


[Request] Adding record as keyword to Java

Is your request related to a specific problem you're having?
According to JEP 359 since Java 14 record is a new kind of type declaration, so it should be a keyword like enum?
Currently record is not in the list of keywords in java.js
See https://github.com/highlightjs/highlight.js/blob/b1bce6e3ada485b89696f554878b2ef44a73d94a/src/languages/java.js#L13-L17
The solution you'd prefer / feature you'd like to see added...
Adding record to list of keywords
Example Code
Added by Josh Goebel
record Range(int lo, int hi) {
  public Range {
    if (lo > hi)  /* referring here to the implicit constructor parameters */
      throw new IllegalArgumentException(String.format("(%d,%d)", lo, hi));
  }
}

Sounds right. PR?

Probably very similar to https://github.com/highlightjs/highlight.js/pull/2660

@0xflotus Can you take a look at this and see what you think?

@0xflotus Can you take a look at this and see what you think?

I think it looks right. record as kind of class, similar to enum


Webpack / Angular cli: no reference to file name on errors (bundle name instead)

Subject:
Webpack / Angular cli: no reference to file name on errors (bundle name instead)
Please adds ability to get a reference to a file name when more obscure errors occur.
What is the current behavior?
Often when I refactor applications I get into scenarios which I get errors from ng and the only file reference is a webpack bundle. Now, I am aware this is more of a Webpack issue but of course since we are using ng-cli, we expect as developers that ng-cli will assist in file error reporting.
If the current behavior is a bug, please provide the steps to reproduce.
There are many many cases that an error references a bundle name, and no evidence of a module or class name is referenced in an error stack; now I realize that in some cases due to zonejs and the compilation (ts/ng) it may be hard to report the line number or even the original JS class or module, but at least a file name would be helpful to start tracking down an issue.
What is the expected behavior?
I am no expert in Webpack, but some ideas come to mind.
The one thing I really miss from JSPM / SystemJS is that errors always referenced the file name.
So maybe add a dev mode for ng-cli to support non bundled mode that's not optimized in any way, but will include all source files.
I am using Windows 10 64 latets Webpack 2 and latest ng-cli
Here are some examples of webpack errors with no ref to file:
EXCEPTION: No provider for StoreService!
  ErrorHandler.handleError
  (anonymous function)
  ZoneDelegate.invoke
  onInvoke
  ZoneDelegate.invoke
  Zone.run
  (anonymous function)
  ZoneDelegate.invokeTask
  onInvokeTask
  ZoneDelegate.invokeTask
  Zone.runTask
  drainMicroTaskQueue
ORIGINAL STACKTRACE:
  ErrorHandler.handleError
  (anonymous function)
  ZoneDelegate.invoke
  onInvoke
  ZoneDelegate.invoke
  Zone.run
  (anonymous function)
  ZoneDelegate.invokeTask
  onInvokeTask
  ZoneDelegate.invokeTask
  Zone.runTask
  drainMicroTaskQueue
Error: DI Error
    at NoProviderError.BaseError [as constructor] (http://localhost:4203/main.bundle.js:13343:27) [angular]
    at NoProviderError.AbstractProviderError [as constructor] (http://localhost:4203/main.bundle.js:99293:16) [angular]
    at new NoProviderError (http://localhost:4203/main.bundle.js:99342:16) [angular]
    at ReflectiveInjector_._throwOrNull (http://localhost:4203/main.bundle.js:133066:19) [angular]
    at ReflectiveInjector_._getByKeyDefault (http://localhost:4203/main.bundle.js:133103:25) [angular]
    at ReflectiveInjector_._getByKey (http://localhost:4203/main.bundle.js:133053:25) [angular]
    at ReflectiveInjector_.get (http://localhost:4203/main.bundle.js:132815:21) [angular]
    at AppModuleInjector.get (/AppModule/module.ngfactory.js:343:154) [angular]
    at AppModuleInjector.getInternal (/AppModule/module.ngfactory.js:489:51) [angular]
    at AppModuleInjector.NgModuleInjector.get (http://localhost:4203/main.bundle.js:100195:44) [angular]
    at CompiledTemplate.proxyViewClass.AppView.injectorGet (http://localhost:4203/main.bundle.js:133824:45) [angular]
    at CompiledTemplate.proxyViewClass.DebugAppView.injectorGet (http://localhost:4203/main.bundle.js:134252:49) [angular]
    at CompiledTemplate.proxyViewClass.View_AppComponent_Host0.createInternal (/AppModule/AppComponent/host.ngfactory.js:32:159) [angular]
    at CompiledTemplate.proxyViewClass.AppView.createHostView (http://localhost:4203/main.bundle.js:133780:21) [angular]
  ErrorHandler.handleError
  (anonymous function)

ok so I know I am missing a provider, EXCEPTION: No provider for StoreService!
but I am refactoring a huge application and this provider is referenced in hundreds of places.
breakpoints won't help as this is crashing before the app runs.
So sure, I see the bundle name, but that's no help.
and another
here is another example:
Uncaught SyntaxError
  CompileMetadataResolver._reportError
  CompileMetadataResolver._getDependenciesMetadata
  CompileMetadataResolver._getTypeMetadata
  CompileMetadataResolver._getInjectableMetadata
  CompileMetadataResolver.getProviderMetadata
  (anonymous function)
  CompileMetadataResolver._getProvidersMetadata
  (anonymous function)
  CompileMetadataResolver._getProvidersMetadata
  CompileMetadataResolver.getNgModuleMetadata
  JitCompiler._loadModules
  JitCompiler._compileModuleAndComponents
  JitCompiler.compileModuleAsync
  PlatformRef_._bootstrapModuleWithZone
  PlatformRef_.bootstrapModule
  bootstrap
  (anonymous function)
  __webpack_require__
  (anonymous function)
  __webpack_require__
  webpackJsonpCallback
  (anonymous function)

also posted with no real solution at:
http://stackoverflow.com/questions/41234718/webpack-angular-cli-is-there-anyway-to-get-the-filename-that-caused-the-excep
if you need more examples of non file name ref errors let me know
regards
Sean.

more examples :(
TypeError: Cannot read property 'authenticated' of undefined
    at appDb (http://localhost:4203/main.bundle.js:140475:46)
    at combination (http://localhost:4203/main.bundle.js:106578:35)
    at computeNextEntry (http://localhost:4203/main.bundle.js:137496:21)
    at recomputeStates (http://localhost:4203/main.bundle.js:137527:13)
    at http://localhost:4203/main.bundle.js:137709:26
    at ScanSubscriber.accumulator (http://localhost:4203/main.bundle.js:106239:37)

https://webpack.js.org/configuration/devtool/#devtool


dry run mobile-ai-bench but fail on snapdragon sdm660, sdm845

~/xiaomi/mobile-ai-bench$ python tools/benchmark.py --output_dir=output --frameworks=MACE --runtimes=CPU --model_names=MobileNetV1 --target_abis=armeabi-v7a
Prepare to run models on armeabi-v7a

Build //aibench/benchmark:model_benchmark with ABI armeabi-v7a
INFO: Analysed target //aibench/benchmark:model_benchmark (0 packages loaded).
INFO: Found 1 target...
Target //aibench/benchmark:model_benchmark up-to-date:
bazel-bin/aibench/benchmark/model_benchmark
INFO: Elapsed time: 0.413s, Critical Path: 0.03s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
Build done!

=====================================================================
Trying to lock device d699ac95
Run on device: d699ac95, sdm660, sdm660 for arm64
Adjust power to performance mode on d699ac95, sdm660
adbd is already running as root
remount succeeded
/system/bin/sh: can't create /sys/class/devfreq/1d84000.ufshc/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:arm9_bus_ddr/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:bus_cnoc/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:venus_bus_ddr/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/aa00000.qcom,vidc:venus_bus_llcc/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/soc:qcom,l3-cdsp/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/soc:qcom,l3-cpu0/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/soc:qcom,l3-cpu4/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/soc:qcom,llccbw/governor: No such file or directory
/system/bin/sh: can't create /sys/class/devfreq/soc:qcom,snoc_cnoc_keepalive/governor: No such file or directory
647000000
/system/bin/sh: can't create /d/dri/0/debug/core_perf/perf_mode: No such file or directory
/system/bin/sh: can't create /sys/block/sda/queue/nr_requests: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu0/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu0/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu1/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu1/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu2/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu2/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu3/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu3/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu4/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu4/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu5/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu5/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu6/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu6/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu7/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu7/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/l3-wfi/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/llcc-off/idle_enabled: No such file or directory
Traceback (most recent call last):
File "tools/benchmark.py", line 225, in
main(unused_args=[sys.argv[0]] + unparsed)
File "tools/benchmark.py", line 217, in main
frameworks, model_names, runtimes, output_dir=FLAGS.output_dir)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 333, in adb_run
prepare_device_env(serialno, abi, device_bin_path, frameworks)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 234, in prepare_device_env
device_bin_path, serialno)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 121, in adb_push
adb_push_file(src_path, dst_dir, serialno)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 107, in adb_push_file
_out=lambda line: stdout_buff.append(line))
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1427, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 774, in init
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /bin/adb -s d699ac95 shell md5sum /data/local/tmp/aibench/libhexagon_controller.so
STDOUT:
STDERR:
md5sum: /data/local/tmp/aibench/libhexagon_controller.so: No such file or directory

----------------------------------sdm845----------------------------------
~/xiaomi/mobile-ai-bench$ python tools/benchmark.py --output_dir=output --frameworks=MACE --runtimes=CPU --model_names=MobileNetV1 --target_abis=armeabi-v7a
Prepare to run models on armeabi-v7a

Build //aibench/benchmark:model_benchmark with ABI armeabi-v7a
INFO: Analysed target //aibench/benchmark:model_benchmark (17 packages loaded).
INFO: Found 1 target...
Target //aibench/benchmark:model_benchmark up-to-date:
bazel-bin/aibench/benchmark/model_benchmark
INFO: Elapsed time: 3.965s, Critical Path: 2.50s
INFO: 18 processes: 10 linux-sandbox, 8 local.
INFO: Build completed successfully, 22 total actions
Build done!

=====================================================================
Trying to lock device a268e3ca
Run on device: a268e3ca, sdm845, SDM845 for arm64
Adjust power to performance mode on a268e3ca, sdm845
adbd is already running as root
remount succeeded
710000000
Traceback (most recent call last):
File "tools/benchmark.py", line 225, in
main(unused_args=[sys.argv[0]] + unparsed)
File "tools/benchmark.py", line 217, in main
frameworks, model_names, runtimes, output_dir=FLAGS.output_dir)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 333, in adb_run
prepare_device_env(serialno, abi, device_bin_path, frameworks)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 234, in prepare_device_env
device_bin_path, serialno)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 121, in adb_push
adb_push_file(src_path, dst_dir, serialno)
File "/home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 107, in adb_push_file
_out=lambda line: stdout_buff.append(line))
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1427, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 774, in init
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /bin/adb -s a268e3ca shell md5sum /data/local/tmp/aibench/libhexagon_controller.so
STDOUT:
STDERR:
md5sum: /data/local/tmp/aibench/libhexagon_controller.so: No such file or directory

What's your ADB and python sh module version? Is it the same with Environment requirement ?
In my working environment, It does not throw an exception while executing md5sum if the target path does not exist.

@lee-bin  my setup goes well on MACE.  My failure on mobile-ai-bech is not MD5 failure, it's caused by lots of adb command exe failed on "no such file or directory"

As for logs like
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu7/pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/cpu7/rail-pc/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/l3-wfi/idle_enabled: No such file or directory
/system/bin/sh: can't create /sys/module/lpm_levels/L3/llcc-off/idle_enabled: No such file or directory

, if it fails, the program will just ignore it, it's just for rooted phone.
As for the actual reason, let me explain it in a more explicit way.

Before actual benchmarking, all the libraries, models and data files should be pushed from host to the target phone.
Before actual pushing, the program will check md5sum of the target path and source path, and if it matches, no pushing will be done, so that to speed up the preparing stage.  The Python code uses sh module's ADB command to execute the md5sum command.

In my environment, if the target path does not exist, the ADB command in Python code does not throw an exception, just print "No such file or directory".
The MACE project does not check md5sum with ADB command before pushing(there are not many files to push, so it's tolerable to always push).
You can check the code here.

@lee-bin , thanks for your response
Ubuntu 16.04 LTS
android-ndk-r16b
Android Debug Bridge version 1.0.40
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Python 2.7.12
bazel version Build label: 0.13.1
Spend some time to check details
it seems like the adb push source file path is not parsed correctly, which cause all required materials are NOT pushed to device.

Prepare device , it will push "libhexagon_controller.so" and do md5sum
Prepare netowrk and input, it will puch model file&mage npy to device and do md5sum

My test fails on #1 bcos the source file path is not passed properly.
adb_push("third_party/mace/lib/armeabi-v7a/cpu_gpu_dsp/libhexagon_controller.so", device_bin_path, serialno)
adb_push_file(src_path, dst_dir, serialno)
home/xiaomi/mobile-ai-bench/tools/sh_commands.py", line 107, in adb_push_file
_out=lambda line: stdout_buff.append(line))
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 1427, in call
return RunningCommand(cmd, call_args, stdin, stdout, stderr)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 774, in init
self.wait()
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 792, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python2.7/dist-packages/sh.py", line 815, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:

What's your python sh module version?
I don't see any problem with the source file path.
The exception is from line 107, which is after checking the source file and is checking the destination file.
Anyway, I will handle the exception throwing problem.

/usr/local/lib/python2.7/dist-packages/sh.py
version = "1.12.14"
project_url = "https://github.com/amoffat/sh"

It turns out ADB 1.0.40 return exit code 1 after running:
adb shell md5sum /path/to/filename_in_target

, which will cause Python sh module to raise an exception.
On the contrary, ADB 1.0.32 return exit code 0 and does not raise an exception.
You can check out the latest code which handles both of these situations.

Thanks, my workstation is able to run aibench test now


The scalability of blight

Hi folks, I really appreciate your work.
However, I have a question about whether blight can scale to other LLVM-backend languages such as Rust, etc.? For example, I want to use a simple program to test.

Hi folks, I really appreciate your work.
However, I have a question about whether blight can scale to other LLVM-backend languages such as Rust, etc.? For example, I want to use a simple program to test.

blight itself should scale well with any build tool, since it's lightweight and can handle any parallelism done by the build process. We don't currently support rustc yet, but there's an issue tracking that: #35.
(Other LLVM-based tools already work well, so long as they're the "standard" tools: ld, ar, c++, etc.)


Allow Symfony 6

See also symfony/symfony#41301

Hi! What is the state of this PR?
I can't work on Symfony 6 support for SensioFrameworkExtraBundle :stuck_out_tongue:

Thank you @derrabus.


Running TCE / tanzu CLI E2E tests using a tanzu CLI plugin

Feature Request
@mohitsharma-in shared this idea of creating a Tanzu CLI plugin to run E2E tests for TCE, TF
Describe alternatives you've considered
None
Additional context
None

This seems like an interesting idea. I think that if we did create something like this, we would not want to ship this to end-users.


Errors on import.

When I import the package I get alot (257) of errors coming from the package.

that is weird, can you open the sources and show the error there?

V2.2.0

What version of unity are you using?

Yeah unity 2021 is not supported becuase UI toolkit is not supported well on that version, if you want to use this package on 2021 try an older version of the package by going to the github releases. v2.1.1 is the newest version of the package that still uses ImGUI that one should still work on 2021

Hello @v0lt13, sorry it took me so long to reply, I was on vacation. The project I was using it in was using unity 2020.3.47f1 which biased on what you said I assume is not supported.
After testing in Unity 2022.2.13f1 the errors are gone and I was able to get it working.


Agent send a lot of IPV4s,so it causes the following error:org.h2.jdbc.JdbcSQLException: Value too long for column "PROPERTIES VARCHAR(2000)

When agent is in VM,  it only sends a IPV4 record.  When agent is in docker, it sends many IPV4 records. so I want to modify  docker's agent
Originally posted by @welcome6688 in https://github.com/apache/skywalking/issues/2511#issuecomment-618983747

Contributions are welcome, this is easy for the first time contributor.

I have a question about agent. Agent sends OSUtil information to server,result in table field error of server.Because there are too many IPv4 addresses obtained on the agent machine, the table fields of the server cannot be placed. Agent is in K8s. Server is oap-es-7.

I want the agent not to send IPv4 information. I don't know how to change it?

So I don't understand why I only get one record in the virtual machine, and I get many records in the docker.
Can there be any place to modify the agent so that the agent does not send IPv4s.

The picture above shows a lot of IPV4s records

That is based on your docker virtual network. It is designed by docker and k8s, etc.
We should set the limitation of the list. OSUtil is already the place to change.

I modified this method to return only empty arrays, but this is still the problem in the final run. Is there any other place to change

No, there isn't, this is the only place.

@welcome6688 I think @JaredTan95 provided this for you.


Cherry pick missing commits from 1.0 branch

Paging @amberwjq to review the front-end work in this pull request!
Paging @RedEnchilada to review the back-end work in this pull request!
Paging @fortoulrodolfo to review the testing work in this pull request!


RT-1.23 BGP AFI SAFI OC DEFAULTS TEST changes incorporated.

-Changes in metadata.textproto
-explicit_interface_in_default_vrf
-bgp_global_extended_next_hop_encoding_unsupported
-skip_bgp_session_check_without_afisafi
-Changes in bgp_afi_safi_defaults_test.go
-Removed unused ports from verifyPortsUp func.
-Enabled global AFI-SAFI configuration.
-Unsetting IPV4 AFI-SAFI flag under nieghbour level
-Added deviation ExplicitInterfaceInDefaultVRF, BGPGlobalExtendedNextHopEncodingUnsupported
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #3146 / ab2b1d303e76b27a8fb842313ce66456cebfb8f8
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.23: BGP AFI SAFI OC DEFAULTS

Cisco 8000E

RT-1.23: BGP AFI SAFI OC DEFAULTS

Cisco XRd

RT-1.23: BGP AFI SAFI OC DEFAULTS

Juniper ncPTX

RT-1.23: BGP AFI SAFI OC DEFAULTS

Nokia SR Linux

RT-1.23: BGP AFI SAFI OC DEFAULTS

Openconfig Lemming

RT-1.23: BGP AFI SAFI OC DEFAULTS

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.23: BGP AFI SAFI OC DEFAULTS

Cisco 8808

RT-1.23: BGP AFI SAFI OC DEFAULTS

Juniper PTX10008

RT-1.23: BGP AFI SAFI OC DEFAULTS

Nokia 7250 IXR-10e

RT-1.23: BGP AFI SAFI OC DEFAULTS

Help


Can I run the cloudsql-proxy as a standalone service?

Hi,
I'm trying to connect my GKE to my Cloud SQL instance.
The docs speak about a sidecar-container using the b.gcr.io/cloudsql-docker/gce-proxy:1.05 image to proxy the requests from <IP_ADDRESS> through to my Cloud SQL instance - this works like a charm.
But, I'm asking myself if it would be more efficient, if I had one pod behind a service doing the proxying for all other pods instead of having one sidecar container for every pod that wants to access the database?
Tried setting that up, but the IP of the sqlproxy-service isn't allowed to access the Cloud SQL instance:
connect ECONNREFUSED <ip of proxy service>:3306

Is there a way around this or should I just stick to the one sidecar-container in every pod approach?
Thanks.

Hi, the parameters in this example are for listening on localhost only. As you know containers in a pod share an IP and localhost. The Proxy defaults to this for security reasons, as you're giving it direct access to your database, bypassing any firewalls. To open it up, you would use
--instances=my-proj:region:db=tcp:<IP_ADDRESS>:3306
In this case you would be taking on the security burden of keeping access to the proxy locked down.
Also, make sure you don't overload the proxy, as it is now a single point of failure.
In general, you might get better, more details responses to general product questions like this on stackoverflow. Here is a cloud-sql tag. Also, here is some more info on the proxy.

Closing as the question is answered. @pkyeck please feel free to open more issues if you need to.

@jeffmendoza thanks for that info ! That's exactly what I'm doing, I've create a pod with 2 replicas with a service in front for the proxy, so it's no longer a single point of failure.

@bluemalkin @pkyeck did either of you guys get this working? If so, would you mind sharing your deployment and service yaml files?

Here is my version of such a file. Probably a bit from perfect, but it works. If there is a better way or something wrong, please tell me.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: sql-proxy-deployment
  labels:
    app: sql-proxy
spec:
  replicas: 2
  selector:
    matchLabels:
      app: sql-proxy
  template:
    metadata:
      labels:
        app: sql-proxy
    spec:
      containers:
      - name: sql-proxy
        image: gcr.io/cloudsql-docker/gce-proxy:1.10
        command: ["/cloud_sql_proxy",
                  "-instances=PROJECT_ID:REGION:DATABASE=tcp:<IP_ADDRESS>:5432",
                  "-credential_file=/secrets/cloudsql/credentials.json"]
        volumeMounts:
        - name: cloudsql-instance-credentials
          mountPath: /secrets/cloudsql
          readOnly: true
      volumes:
      - name: cloudsql-instance-credentials
        secret:
          secretName: cloudsql-instance-credentials
---
kind: Service
apiVersion: v1
metadata:
  name: sql-proxy-service
spec:
  selector:
    app: sql-proxy
  ports:
    - protocol: TCP
      port: 5432
      targetPort: 5432

Really wanted this to work and put pgbouncer in front of the cloudsql-proxy, but was unable to get it to work as a standalone service with setting the instance suffix to tcp:<IP_ADDRESS>:5432. Continually get the following message:
psql: expected authentication request from server, but received

We're using istio as a service mesh, but taking this service outside of the mesh did not work either (although it was a different error message)

Hi, the parameters in this example are for listening on localhost only. As you know containers in a pod share an IP and localhost. The Proxy defaults to this for security reasons, as you're giving it direct access to your database, bypassing any firewalls. To open it up, you would use --instances=my-proj:region:db=tcp:<IP_ADDRESS>:3306 In this case you would be taking on the security burden of keeping access to the proxy locked down. Also, make sure you don't overload the proxy, as it is now a single point of failure.
In general, you might get better, more details responses to general product questions like this on stackoverflow. Here is a cloud-sql tag. Also, here is some more info on the proxy.

This saved me. Thanks a lot!

The newer version of cloud sql proxy has change a bit and you no longer override the command here are the container args
    - --auto-iam-authn
    - --port=5432
    - <cloud sql instance name>
    - --address=<IP_ADDRESS>```

The important part is --adress=<IP_ADDRESS>. That will make cloud sql listen over TCP for any connections with the namespace.


How to ignore a property in model

Hi. There is a @Ignore annotation, but when i use it, I cannot access that property. So is there a way to tell squidb to ignore a property and not save it as a field in database?
thank you.

Sorry, I'm not sure I fully understand what you're asking. Properties are just a representation of columns in a table, so the idea of a column that isn't saved to the database doesn't really apply. Are you just looking to attach unpersisted metadata to a model object? If so, you can use the "transitory" methods present on all model objects; these methods let you attach arbitrary in-memory objects to any model instance using a key. See putTransitory() and getTransitory().
Does that answer your question or were you looking for something else?

Thanks for the reply. I think this is what I'm looking for.


Emails are not sent for new users created in tenants with askPassword enabled after a migration

Emails are not sent for new users created in tenants with askPassword enabled after a migration.
Steps

Migrate from IS 5.0.0 to 5.3.0 when there are tenants in IS 5.0.0 with askPassword enabled

Issue
The eventstreams and eventpublishers directories will not be created in old tenants from the migration scripts. Hence, notifications will not be triggered when new users are created in old tenants.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Cannot connect to websocket server with ports 25000 (external) and 25000 (internal). Trying again in 5 seconds...

RHEL7 OS, no proxy/firewall etc
I have the omnidb running, I can login using default username and password, I could connect to mysql local db server and I can see the available databases, but after some time I get a message saying "Cannot connect to websocket server with ports 25000 (external) and 25000 (internal). Trying again in 5 seconds...".

And second issue when I try to view tables of a certain DB, a popup that asks for password for a table:

Any idea what is wrong with my configuration?

Hi @dontsu ,
Thanks for reaching out. What is the OmniDB version? Is it app or server? Also, what is the MySQL version?
Regards,
William

Hi @dontsu ,
Thanks for reaching out. What is the OmniDB version? Is it app or server? Also, what is the MySQL version?
Regards,
William
Hi @wind39
It's latest server version of OmniDB (2.13.0), MySQL version is 8.0.15 MySQL Community Server.

Hi @dontsu ,
Thanks for the information. We specifically added improved support for MySQL 8.0 in OmniDB version 2.14 we released last week, so the 'table_name' error should not appear again.
Would you please upgrade to 2.14 and try again?
Regards,
William

Hi @dontsu ,
Thanks for the information. We specifically added improved support for MySQL 8.0 in OmniDB version 2.14 we released last week, so the 'table_name' error should not appear again.
Would you please upgrade to 2.14 and try again?
Regards,
William

@wind39
thank you for pointing into the right direction. This solved the second issue. What about the first message that I keep getting?
Regards,
Diana

Thanks for confirming, Diana @dontsu .
@rafaelthca , can you please take a look at the websocket issue? Thanks in advance.
William

hi @dontsu,
I will need to see how OmniDB was deployed in your environment? Are you using it behind Nginx or Apache? I see the interface is trying to connect to port 25000, is that port reachable from the browser?
If you can share all relevant configs (omnidb.conf, nginx or apache configs) and also a screenshot of the browser trying to connect to the websocket, something like:

That interface can accessed in google chrome by using F12 to access developer tools, then go to Network and filter WS requests.
Rafael.

I guess I have a similar problem...
In my case I try to run OmniDB via docker behind a nginx reverse proxy (jwilder/nginx-proxy). This reverse proxy generates the nginx configs automatically and I get only one "location". I don't find a way to get a configuration like at the bottom of this docs where there is a "/wss" location and a "/" location.
Any idea how I could manage to get it work with the jwilder/nginx-proxy and it's ssl companion container?

Hi @rafaelthca
I don't have any nginx, apache or anything else.
The wss is always penging:

The omnidb.conf is the default one, I didn't change anything in it.
I am starting the server via:
omnidb-server -p 8080 -w 25000 -H <IP_ADDRESS>
Regards,
Diana

@dontsu,
Thanks. Please show the Headers that instead of Frames here:

I need to see where the browser is trying to connect to, and the status.

Thanks. Let's diagnose this is parts. When starting OmniDB you can provide 2 websocket ports:
  -w WSPORT, --wsport=WSPORT
                        websocket port
  -e EWSPORT, --ewsport=EWSPORT
                        external websocket port

-w is the port the websocket will listen to.
-e is the port the browser will connect to. Use this when OmniDB is not accessed directly, but via a reverse proxy, not your case.
You mentioned earlier that you used the following command:
omnidb-server -p 8080 -w 25000 -H <IP_ADDRESS>

And then your last screenshot shows that the browser tried to connect to 25482, can you confirm that this is happening or are those different tests? Because the port 25482 is the default websocket port in the config file, used if you don't provide -w option. If you confirm that this is happening, there may be a bug.
Please refer to my test here:
#TEST 1:
omnidb-server -w 25000 -H <IP_ADDRESS>
In this case the browser should try to connect only to port 25000, as -e was not specified:

#TEST 2:
omnidb-server -w 25000 -e 25500 -H <IP_ADDRESS>
Here, the browser tries first 25500 and then 25000:

Can you check all the ws connection attempts in chrome and check if any of them try to connect to the port specified in -w? If yes, then one explanation is that the server hosting omnidb is blocking connections to that specific port, we can check that too.
Rafael.

Dorry for confusion with the ports. I was trying both of them, just in case the one from config file is working, but no :( that is the reason you see two different ports in the screens.
In my case all the connections have the same result.
I was thinking of the fact that the server is blocking the connection and I've tried to alter the etc/services to add the port that I need, but it didn't help.

No problem, we want users to be able to use without issues, and possibly identify bugs. Let's isolate the test then. If you try to start with -w 25000, does chrome try to connect to 25000 on the ws tab? If so, then OmniDB is ok, and we need to diagnose your network.
Is <IP_ADDRESS> a remote machine? You can try to use telnet from your location to that machine to see if the port is reachable. From the machine trying to reach omnidb:
telnet <IP_ADDRESS> 25000

@rafaelthca
Using 25000, yes, the omnidb sends ws requests with no response.
telnet command returns connection refused. The server is a remote, internal one (not accessible from the outside network).

Hm, ok. Let's first check if OmniDB is actually listening on that port. So, being on <IP_ADDRESS>, run:
netstat -tulpn

OmniDB should appear in that list, on both ports (8080 and 25000).
If the command doesn't exist, you can install it with the package net-tools.

done

Great. So I'm inclined to think that there is indeed something blocking port 25000 on that server. Going back to the telnet test, if you try with port 8080 it should work (can you try?), considering that the browser connected to OmniDB.

You could try to start OmniDB avoiding high ports (like 25000), that tend to be blocked. So, for instance, you could try:
omnidb-server -p 8080 -w 8081 -H <IP_ADDRESS>

oh, it was so simple
It worked!!!!
Thank you soooooo much :)
Thanks for both @rafaelthca  and @wind39  of you for your input, help and patience!

Glad to help! Closing this.


Added hook to update class name

:tada: This PR is included in version 1.0.1-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


option to have rtx remix settings render in a seperate window

in some games, the menu interacts weirdly with the actual game and it becomes impossible to change the rtx remix settings.

They're working on a program that will essentially be that plus more

Thank you for reaching out. We don't currently plan to implement this feature. However, if you are still having issues with the menu on the latest release (0.5.1) in some games, please open a new ticket for that and specify which games exhibit that problem. Thanks!


Golly:  The 2.6-mac109 download is no longer available.

Closes #10155.
This pull request makes the cask use the 2.7b3 download instead.

@vitorgalvao How about now?

The empty lines you added are still there. Those should be removed.

Oh, I see!  I thought you were just talking about the trailing whitespace.

Looks good, could you please squash your commits?

@vitorgalvao Done!

Thank you. Looks great.


Seldon Core does not work behind the proxy

When deploying the Seldon Core behind the proxy it gets stuck on creating a Conda environment. The same container without Istio Pods works fine.
The model was build using e2e-wine notebook from examples and stored in Minio to eliminate the problem with setting proxy for initializer.
cat <<EOF | kubectl apply -n admin -f -
apiVersion: machinelearning.seldon.io/v1
kind: SeldonDeployment
metadata:
 name: mlflow
spec:
 name: wines
 predictors:
 - componentSpecs:
   - spec:
       containers:
       - name: classifier
         image: seldonio/mlflowserver:1.14.0-dev
         livenessProbe:
           initialDelaySeconds: 80
           failureThreshold: 200
           periodSeconds: 5
           successThreshold: 1
           httpGet:
             path: /health/ping
             port: http
             scheme: HTTP
         readinessProbe:
           initialDelaySeconds: 80
           failureThreshold: 200
           periodSeconds: 5
           successThreshold: 1
           httpGet:
             path: /health/ping
             port: http
             scheme: HTTP
         env:
         - name: HTTP_PROXY
           value: <proxy>
         - name: http_proxy
           value: <proxy>
         - name: HTTPS_PROXY
           value: <proxy>
         - name: https_proxy
           value: <proxy>
         - name: NO_PROXY
           value: <no_proxy>
         - name: no_proxy
           value: <no_proxy>
       - name
   graph:
     children: []
     implementation: MLFLOW_SERVER
     modelUri: s3://mlflow/5/853a874c47364a46bbdf9c979bc935ec/artifacts/model
     envSecretRefName: seldon-init-container-secret
     name: classifier
   name: wine-super-model
   replicas: 1
EOF

Log from classifier:
Executing before-run script
---> Creating environment with Conda...
INFO:root:Copying contents of /mnt/models to local
INFO:root:Reading MLmodel file
INFO:root:Creating Conda environment 'mlflow' from conda.yaml
Collecting package metadata (repodata.json): ...working... failed
/opt/conda/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.5) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)

ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any '.netrc' file in your home directory,
any environment variables ending in '_PROXY', and any other system-wide proxy
configuration settings.

As a part of the experiments I have deployed only the classifier container and it works fine with this configuration.

I have added Istio config and with env properties for proxy.
kubectl apply -n kubeflow -f - <<EOF
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: proxy
spec:
  hosts:
  - my-company-proxy.com # ignored
  addresses:
  - <IP_ADDRESS>/32
  ports:
  - number: 8000
    name: tcp
    protocol: TCP
  location: MESH_EXTERNAL
EOF

It works now, but I'm not sure how upgrades etc. will be handled or if charm overrides my config.

I have added Istio config and with env properties for proxy.
kubectl apply -n kubeflow -f - <<EOF
apiVersion: networking.istio.io/v1beta1
kind: ServiceEntry
metadata:
  name: proxy
spec:
  hosts:
  - my-company-proxy.com # ignored
  addresses:
  - <proxy-ip>/32
  ports:
  - number: <proxy-port>
    name: tcp
    protocol: TCP
  location: MESH_EXTERNAL
EOF

It works now, but I'm not sure how upgrades etc. will be handled or if charm overrides my config.


Need to propertly package for browserify

This is needed to make twkb a dependency from ol3 (and other browser specific modules).

Seems ol3 can handle it anyway if correctly included, like so:
https://github.com/bjornharrtell/ol3/blob/a97bbea67d4e1ebffb27aeb5aff29f744d90f4e8/package.json#L65-L68


refactor(app): Expose all tipracks to pipette calibration

Now that tip length calibration will back the pipette calibration phase
of the pre-protocol calibration, we need to make all the selectors there
actually work on every tiprack specified by the protocol. That means
things like

The tiprack map selector needs to build a map of all tipracks used by
a specific mount, uniq'd by the definition hash
The Pipette page needs to know about tiprack definition hashes in its
react-router-dom route so it can look up the correct tiprack from the
tiprack map
Both of the above need to be routed around and have things fixed up
for them; urls need to be fetched based on tiprack as well as mount;
and we need to not break the situation when the feature flag is turned
off.

This doesn't actually get around to hooking up the tip length
calibration session, but clicking different entries in the tiprack list
for pipette calibration will now both swap to the appropriate tab in the
pipette tab list, but also specialize that tab for the specific tiprack selected.
Testing

If the feature flag is off, clicking on the two pipettes still lets you tip probe them
If the feature flag is on,

Uploading a protocol that has many tipracks should have each unique tiprack type appear on the left under each pipette where it is used
Clicking that element on the left should switch to the correct tab on the right, and the tab should display the display name of the tiprack
Each kind of tiprack should appear only once in the list per mount
Tipracks that are specified in the load_instrument of one instrument but explicitly picked up from the other should show up in both places

Review Requests
Hopefully this is the right way to use rrd for this. Adding a second possibly-undefined route param isn't my favorite thing in the world, but there is never a situation where the tiprack def hash is specified but the mount isn't.
Closes #6700

Code looks good overall. This plugs into the existing react router setup acceptably. When we return to the pre-protocol flow, we should probably reconsider the usage of react router.
One thing I noticed while testing: When I arrive on the Calibrate Tab, the route defaults to the mount that needs to be calibrated (calibrate/pipettes/right), but that "selection" isn't represented in the side panel at all. It just appears that the first tip rack is selected in the main contents on the right. Then if I click the tip rack item on the side panel, it shows as "selected" on the side panel, and the main page content is unchanged. This seems strange, I'd expect either:
* the first tip rack be selected in the both the side panel and the main content when arriving on the Calibrate Tab

* No tiprack selected in the side panel, and an "undefined" neither pipette selected state on the main contents.

The first seems like the better option.

Yeah this definitely isn't the end-all be-all. Especially w/r/t selection, more needs to be done; if you have two tipracks connected to the same pipette, selecting either will put the entire block of tiprack elements into the highlighted state. The goal of this PR was just to get the r-r-d connections set up.


Add release-note instruction.

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

none

Add instruction about how to get collect release-note from PR description.
Should merge after https://github.com/istio/test-infra/pull/441

thx !
/lgtm

@yutongz: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-no_auth.sh
cfde6e0a38d42ff194f2aaf36b1f543a89399d8e
link
/test e2e-suite-rbac-no_auth

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.

@ldemailly Do you know why this test failed?

some connection error:
W0929 00:30:29.029] W0929 00:30:29.027468     891 mixer_test.go:684] Error communicating with http://<IP_ADDRESS>/productpage: Get http://<IP_ADDRESS>/productpage: dial tcp <IP_ADDRESS>:80: i/o timeout
was there a network outage ?

or maybe we ran out of ip/firewalls again - did we ever find out why we seem to leak them?

Right before this error message, it shows all pods are ready and running, it's wired.
Quota is fine. But yes, it seems when delete a cluster, GCP didn't properly handle some of the resources, not only firewall rule, but also forwarding rule and target pools.


WIP: refactor Form component to Octane

Refactor <BsForm> and all yielded components to Octane patterns. This includes:

[x] outerHTML
[ ] tracked properties
[ ] Glimmer Component

Will start fresh after deprecated arguments have been removed using the codemod.


Update esp32.ts

Changed version from 4.4.2 to 4.4.3

Thanks for creating a PR @JayK1524 :+1: Can you combine the changes made in #135 with this PR as well? That will make a more complete fix for #133.


Find a better way to test 2 objects for equality

Problems:

equals() is not good enough because it doesn't enforce overriding
There is code duplication (boiler-plate code) inside equals(), for example:

// Dog.java
boolean equals(Object o) {
    if (o == null || !(o instanceof Dog)) {
        return false;
    }
    Dog that = (Dog) o;

    /*actual equality check logic:
    return this.name.equals(that.name) && ... ;*/
}

Proposed solution:

https://www.yegor256.com/2017/07/11/how-to-redesign-equals.html

9d02935 was a mistake. I force pushed the correct commit with the same message.


[REQ] Standard badges for Sourcefoge

📋 Description
It would be really useful to have "standard" badges for SF too:

license
last commit
language
etc

We suggest to use guitarix (wich seems one of the most updated there) for testings: https://sourceforge.net/projects/guitarix/
Hope that inspires.
🔗 Data
Dunno if APIs are available but login shouldn't be needed
🎤 Motivation
Uses in links collection like https://github.com/forart/HyMPS

If anyone is interested in working on this, we've already got a couple of existing badges for SourceForge in https://github.com/badges/shields/tree/master/services/sourceforge and top-level project stats can be retrieved from https://sourceforge.net/rest/p/{projectName} for example, for 7-zip: https://sourceforge.net/rest/p/sevenzip


(PUP-7493) Record desired mode with leading zeros in the report

When creating an event for a mode property change, the desired_value in the
report is obtained from the Property#should method, which calls unmunge to
convert the internal representation to its external form. The desired mode
may be an octal string without leading 0's or symbolic form (u+a). Ensure the
latter is padded with 0's so the desired_value matches the previous_value.

jenkins please test this with servertests

jenkins please test this with servertests


Write unit tests for Maven Resolver

Description:
Add unit tests for MavenResolver using Mockito testing framework.

Since the cases are handled by integration test we will not implement this now


LeftPunctuator, RightPunctuator

I plan to add LeftPunctuator and RightPunctuator as token types in addition to the existing Punctuator. This should be tremendously helpful for writing language agnostic tools, as essentially the tools can understand that any left must be paired with a matching right.

Done, but see #15 since I can only approve of this pattern by example


Filtering Problem

Hi,
I used your plugin in my project, but it toggle sometimes.
I mean if i click on a filter for second time, layout changes into inline vertically and multiple "data-filter"s doesn't work.
May I know how to fix them?
Thank You for your nice job.

I'm not surprised, .. you're the first person who used it other than myself,
Here's the project I am using the plugin in, http://websemantics.github.io/pyrocms-cheatsheet/ for an example use,
Other than that, I would need an example, JSFiddle?, or a way to re-create the issue,
And thank you for kind words and feedback,

Good to hear that.. thank you for the reply.. this is the example you
wanted https://jsfiddle.net/KhayyamNosrati/e1dzq4op/ if you click on design
tab and after a second re-click on it, it changes the layout and you would
see the result.
Good Day :-)
On Sun, Sep 11, 2016 at 4:50 AM, Adnan M.Sagar, PhD <
<EMAIL_ADDRESS>wrote:

I'm not surprised, .. you're the first person who used it other than
myself,
Here's the project I am using the plugin in,
http://websemantics.github.io/pyrocms-cheatsheet/ for an example use,
Other than that, I would need an example, JSFiddle?, or a way to re-create
the issue,
And thank you for kind words and feedback,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/websemantics/masonry-plus/issues/1#issuecomment-246151564,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT1Fm36rW5k-5zPl0p9WQgCI8t8OwprQks5qozsxgaJpZM4J3VH1
.

That was a though one, .. I had to debug the original plugin and finally found the problem,
I've overridden a function from the original plugin, measureColumns  so it should work now, v1.0.1
Will try to connect with the original plugin authors so they get the issue fixed and I can then remove the extra code,
Thanks for the helpful code demo for the bug,

Appreciate your support.. Thank you very much
I see you did a wonderful job again.. sure, I appreciate that.
And Thank you again for debugging it.
Good Day :-)
On Wed, Sep 21, 2016 at 1:50 AM, Adnan M.Sagar, PhD <
<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/websemantics/masonry-plus/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/websemantics/masonry-plus/issues/1#event-796274488,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT1FmyccqsonfMW-Fq1LHCiG1Yur7zGjks5qsEAYgaJpZM4J3VH1
.


Move icon editing from VM detail page to VM edit page

Let's consider moving edit icon controls to edit VM page. I can see following issues of current solution:

It's a bit inconsistent - everything else is edited on different page
I can look confusing with icons that has while area in bottom part (see screenshot below). "Circular icon" can be mistaken for "restart VM" or "refresh" button.

I'd like to resuggest something like

What do you guys think? @mareklibra @jelkosz @suomiy @bond95
Original bug: #306

In recent state, I would be for moving it to the Edit page.
The buttons looks strange there anyway, can we figure out something better?
Maybe an text input box for picture's local filename followed by two icons - one denoting the upload (i.e. http://fontawesome.io/icon/upload/ or any beter) and second one for the default.
If default is pressed, text like [default] is set in the text field.
The actual change happens not before the dialog is confirmed.

Second idea: what about aligning with the approach recently used in Cockpit? I mean inline-editing.
There would be no general-purpose Edit VM Dialog.
Editable VM properties would be changed step-by-step by clicking on its value (like the 1 for CPU), a specialized dialog would appear to change just the single value.
This approach might become overwhelming when performing complex tasks, but this is probably not the case of VM Portal.
From usability perceptive, it's closer to basic human perception: I want to change this.

I like second idea. Or we can just add buttons for Edit and Default under icon, and make it more in materialize style. Something like that:

In recent state, I would be for moving it to the Edit page.

+1

text input box for picture's local filename followed by two icons

Provided the icon selected to upload will immediately replace the original icon (in "preview", unsaved mode) <input type="file"> widget much useful.
I feel like it's not always 'A picture is worth a thousand words'. I find text labels often more descriptive.

inline-editing

It can work provided the whole dialog would work like that (or if we at least decide to rework the VM editing into inline fashion in very near future). Combination of current approach and "inline editing" could be confusing.

Little notice, when you use the edit/reload icons that are now in VM portal, don't forget to change cursor type when hovering over them. Now it doesn't change.


0.5.0 release

Looking at maven central it seems that 0.4.10 is the last version,released in 2017:
https://mvnrepository.com/artifact/org.mbtest.javabank/javabank-core
Are there any plans to release 0.5.0? Or am I missing something?

Apologies I just realized that I have asked this question in the wrong place

will move discussion to / look at https://github.com/thejamesthomas/javabank


Update Viaversion for 1.20.2

bump

Decided it's not worth the trouble to figure out what's wrong. Since we're already working on updating to 1.20 now.
Besides people can already connect with 1.20.1, for which all the mods are available atm.

Can you describe the issue? Also, mc is up to 1.20.4, so viaversion may still be necessary unless they are targeting that version.

We're targeting latest mc version.
Bug is that it just didn't allow you to connect with any version anymore. Perhaps something to do with dependencies.

Maybe, my initial impression of the issue without more info would either be a config issue, or maybe some edge case in the plugin itself. Because viaversion is running in two places, that might have something to do with it, but it should work despite it.


Unable to recreate ReqPic.Bin

believed to be graphics used by the AMOS requester.
the first 64 bytes of the file are a palette, the rest is raw graphical data
it is loaded at line 16537 of +w.s
'Insertion de l'image de fond' translates to 'Insert background image'
the code seems to set "number of bit planes" to 3, which means 8 colours
it's not confirmed what this background image is yet, but it's probably the the actual frame of the requester and not really a "background image"


fix WriteClassName does not work well on arrays, for issue #2175

What this PR does / why we need it?
fix WriteClassName does not work well on arrays, for issue #2175
Summary of your change
Enabling the writeClassName feature on an array is the following result
com/alibaba/fastjson2/issues_2100/Issue2175/polymorphism.json
[
    {
        "@type": "[com.alibaba.fastjson2.issues_2100.Issue2175$TestER",
        "@value": [
            {
                "name": "parent"
            },
            {
                "@type": "com.alibaba.fastjson2.issues_2100.Issue2175$Children",
                "age": 1,
                "name": "child"
            }
        ]
    },
    {
        "@type": "[com.alibaba.fastjson2.issues_2100.Issue2175$TestER",
        "@value": [
            {
                "@type": "com.alibaba.fastjson2.issues_2100.Issue2175$Children",
                "age": 1,
                "name": "child"
            },
            {
                "name": "parent"
            }
        ]
    }
]

Please indicate you've done the following:

[ ] Made sure tests are passing and test coverage is added if needed.
[ ] Made sure commit message follow the rule of Conventional Commits specification.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

我不太确定这种方式是否合适，有没有更好的实现方式🤔？

Codecov Report
Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (c59fdb9) 75.36% compared to head (f8204dc) 73.64%.

Files
Patch %
Lines

...ibaba/fastjson2/reader/ObjectArrayTypedReader.java
66.66%
0 Missing and 4 partials :warning:

...om/alibaba/fastjson2/reader/ObjectArrayReader.java
80.00%
1 Missing and 2 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2182      +/-   ##
============================================
- Coverage     75.36%   73.64%   -1.73%
+ Complexity    21645    20927     -718
============================================
  Files           634      622      -12
  Lines         85392    84680     -712
  Branches      18934    18741     -193
============================================
- Hits          64353    62359    -1994
- Misses        13111    14347    +1236
- Partials       7928     7974      +46

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


Feature: custom module separation

I think it might be a better idea to set the separation to be a Percentage, as with alRad and moRad.

Opened #29 for that.


📎 Implement biome lint --rule=<rule-name>

Description
Executing biome lint --rule=<rule-name> should only run the rule with name <rule-name>, otherwise it will throw an error. See rome#4747 for more context.
If the option is combined with --summary (e.g. biome lint --summary --rule=<rule-name>) we should restrict the summary to <rule-name>. See #57 for more details about the --summary option.
An example:
$ biome lint --rule useSingleCaseStatement src

src/services/types.ts:1121:5 lint/nursery/useNamingConvention ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ⚠ This property name should be in camelCase.

  > 1121 │     InsertSpaceAfterConstructor?: boolean;
         │     ^^^^^^^^^^^^^^^^^^^^^^^^^^

  ℹ The name could be renamed to `insertSpaceAfterConstructor`.

$ biome lint --summary --rule useSingleCaseStatement src

Rule name                          Diagnostics
nursery/useSingleCaseStatement        1

Possible extensions

Multi rule filtering (keeping diagnostics of a given set of rules)
reverse filtering, i.e. keeping all diagnostics except the diagnostics of a given rule

I believe the description is misleading. Or maybe I didn't understand.
I would expect that Biome will run the codebase only against the rule passed by CLI, I wouldn't expect to run all rules and then filter the result.
Did I misunderstand the proposal?

Updated :)

Can this option be paired with --apply and --apply-unsafe?

Can this option be paired with --apply and --apply-unsafe?

I don't see any blocker :) Composability is great.

This could also be good to expose this option in the playground. Someone testing the rule in the playground could then focus on the behavior of the rule without triggering other rules. This could allow also adding a Try this rule on every rule's page.


bad CDN URL for bootstrap

Hello, the urls aren't bad, they are protocol-relative urls. You probably got errors because tried to run your website with file://. The "correct" way to do it is using a webserver. You can install blogc-runserver and run make serve to see it, or just use any webserver you like.
If we use http:// urls, users running websites under HTTPS will get warnings of unsecure content. Maybe I can just force https://. Will think about it.
Thanks

oops, this example does not have serve Makefile task, will add

Thanks Rafael :)


[Blazor] SSR Threats - N^2

Excessive characters removed.

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/security/server/static-server-side-rendering.md
Threat mitigation guidance for ASP.NET Core Blazor static server-side rendering

This is OK 👍. It's markdown for superscript.

@guardrex Maybe, but it’s not supported by the docs platform:

Should we replace it with 2?

I see. I'll report that to them.
Yes, please make that change.

I hope this won't break the PDF export.

It should fully support HTML. 🤞🍀


Etasu status patient portal

adds patient portal etasu status, as well as rebasing onto dev and making the etasu component usable in both the patient portal and main view

The diff has all of the VITE stuff too which makes it very hard to review.

that's because this branch is based off #112 and also rebased onto dev.  The diff looks like that because #112 is missing the commits from dev, and instead added a merge commit, so now we're out of sync.  I would recommend we close #112 and just use this PR since they contain the same changes and then point this one at dev

I'm getting the 404 error when trying to login to the patient portal again, because of the /auth/ in the url for the authentication. This was resolved for me before, not sure what changed or what I should do to resolve it. Removing the 'auth' part of the url works for authentication

Also not sure where the etasu status is in the patient portal? I went through each tab and don't see the section for it?

Oh right, I forgot to push up the supporting branch for rems admin
https://github.com/mcode/rems-admin/pull/138
Use this branch on rems admin and it should work