Hot Reload on Flutter 2.0 problem

I used Provider package and got no problems before Flutter 2.0.
Now i tried Get It and the same problems happens, so i figure this a Flutter 2.0 bug.
Whenever i hot reload my application it is running my main.dart code again.
So is tries to setup provider/get it once again and i have problema with that.
So basically hot reload on flutter 2.0 is not working!
Flutter doctor:
• Flutter version 2.0.1 at C:\Code\flutter
• Framework revision c5a4b4029c (8 days ago), 2021-03-04 09:47:48 -0800
• Engine revision 40441def69
• Dart version 2.12.0
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at D:\Programas\Android\AppData
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = D:\Programas\Android\AppData
• Java binary at: D:\Programas\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.1.0)
• Android Studio at D:\Programas\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
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.54.1)
• VS Code at C:\Users\dmvvi\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[√] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
• Chrome (web)            • chrome        • web-javascript • Google Chrome 88.0.4324.190
• Edge (web)              • edge          • web-javascript • Microsoft Edge 89.0.774.45
• No issues found!

@dmvvilela
provider and get  are a 3rd party plugin, please open an issue in their dedicated github
if you are experiencing the issue without 3rd party plugins
please describe the steps to reproduce it

what IDE are you using
what changes are you applying

... and so on

But i said i don´t think this is a package problem. It is on how hot reload is working. It seems wrong.
I am using VS Code on a mac.
I try to hot reload every file, it doesn´t matter and it runs my main function again it seems. Setup code above  MaterialApp() is running on hot reload. This only happens on Futter 2.0

@dmvvilela
you are right
I never noticed (since I usually run from terminal)

code sample

import 'package:flutter/material.dart';

void main() => runApp(
      MaterialApp(
        home: Container(color: Colors.blue),
      ),
    );

run it vscode with f5
change the color to Colors.red and ctrl+s or click the hot-reload icon
the contatiner does NOT change color on the device

[✓] Flutter (Channel master, 2.1.0-11.0.pre.229, on Linux, locale en_US.UTF-8)
    • Flutter version 2.1.0-11.0.pre.229 at
      /home/francesco/snap/flutter/common/flutter
    • Framework revision d20ec4c7d8 (4 hours ago), 2021-03-11 22:18:51 -0800
    • Engine revision 1b68503bc8
    • Dart version 2.13.0 (build 2.13.0-125.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/francesco/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /home/francesco/Android/Sdk
    • Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /snap/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

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

[✓] Connected device (3 available)
    • Pixel 3a (mobile) • 965AY0WP5C • android-arm64  • Android 11 (API 30)
    • Linux (desktop)   • linux      • linux-x64      • Linux
    • Chrome (web)      • chrome     • web-javascript • Chromium 89.0.4389.82
      snap

! Doctor found issues in 1 category.

francesco@francesco-yoga720:~$ code --version
1.54.2
fd6f3bce6709b121a895d042d343d71f317d74e7
x64

the issue occurs with the latest master

Thanks for the sample code!
If you print something before materialapp(), does it print again on hot reload? (by auto hot reloading saving the file)

Thanks for the sample code!

sorry I edited the code : I always forget that hot reload is not meant to reload what is inside runApp

Ok. But hot reload works. I mean, it will change the UI, this is not the problem here. But it is kinda hot restarting the app actually but mantaining state somehow. Really weird

I tried here with a print. It is very easy to find the bug.
Just print something before MaterialApp() for example and hot reload it saving a widget inside MaterialApp().
It will run your print function again. But it shouldn´t! It should only change the UI and the widget that you changed, not before it.

@dmvvilela
I've  updated the code sample with print  and state management

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

final _counter = ValueNotifier(0);

void main() {
  print('hello');
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        home: Scaffold(
          backgroundColor: Colors.lightGreenAccent,
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                Text(
                  'You have pushed the button this many times:',
                ),
                ValueListenableBuilder(
                  valueListenable: _counter,
                  builder: (contex, counter, _) => Text(
                    '${_counter.value}',
                    style: Theme.of(context).textTheme.headline4,
                  ),
                ),
              ],
            ),
          ),
          floatingActionButton: FloatingActionButton(
            onPressed: () => _counter.value++,
            tooltip: 'Increment',
            child: Icon(Icons.add),
          ),
        ),
      );
}

run it vscode with f5

change  backgroundColor and ctrl+s or click the hot-reload icon

results

the background  does change color on the device
hello is not being printed more than once
the state of the counter persist

doctor
[✓] Flutter (Channel master, 2.1.0-11.0.pre.229, on Linux, locale en_US.UTF-8)
    • Flutter version 2.1.0-11.0.pre.229 at
      /home/francesco/snap/flutter/common/flutter
    • Framework revision d20ec4c7d8 (4 hours ago), 2021-03-11 22:18:51 -0800
    • Engine revision 1b68503bc8
    • Dart version 2.13.0 (build 2.13.0-125.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/francesco/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_SDK_ROOT = /home/francesco/Android/Sdk
    • Java binary at: /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_282-8u282-b08-0ubuntu1~20.04-b08)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /snap/bin/chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

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

[✓] Connected device (3 available)
    • Pixel 3a (mobile) • 965AY0WP5C • android-arm64  • Android 11 (API 30)
    • Linux (desktop)   • linux      • linux-x64      • Linux
    • Chrome (web)      • chrome     • web-javascript • Chromium 89.0.4389.82
      snap

! Doctor found issues in 1 category.

francesco@francesco-yoga720:~$ code --version
1.54.2
fd6f3bce6709b121a895d042d343d71f317d74e7
x64

the issue does not occur with the latest master
are you experiencing the issue following the steps above on mac?

Ok, i could reproduce the issue!
I was actually using on a windows machine but reproduced it on a mac. So it doesn´t matter.
Steps to reproduce:

Create a project with flutter create.
Create a new file with a stateless widget return just an empty container.
on main.dart.. on MyApp() build function before MaterialApp() print something on screen.
Put your testwidget on the column builded by Scaffold body on MyHomePage() widget.
Just save the file with the test widget and the project running on emulator.
The print function will be called everytime you do this.

This is on stable version. Idk about master.

Hi @dmvvilela
I'm a bit lost with this issue, I'm not exactly sure what are the steps to reproduce this. Is this about code changes not being reflected in the target device or a print function not being printed?
I just tried both cases and I cannot reproduce the code change issue.
IntelliJ IDEA (does not reproduces)
The print issue is not reproducible on IntelliJ IDEA: it call the print function even if there is no code changes.

VS Code (reproduces)
It sometimes call the print function and sometimes don't. Notice that after three hot-reload the print function was not called.

###I cannot reproduce the code change issue.

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  int counter = 0;
  @override
  Widget build(BuildContext context) {
    print("Flutter $counter");
    //VS CODE: If this integer changes the print function will be called.
    //counter++;
    return MaterialApp(home: Container(color: Colors.green));
  }
}

logs (VS Code)
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
lib/main.dart:1
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://<IP_ADDRESS>:56700/cfKFs6J1GEk=/ws
I/flutter ( 6443): print called
Reloaded 1 of 548 libraries in 1,667ms.
I/flutter ( 6443): print called
Reloaded 1 of 548 libraries in 732ms.
Reloaded 1 of 548 libraries in 636ms.
Reloaded 1 of 548 libraries in 744ms.
Reloaded 1 of 548 libraries in 905ms.
Reloaded 1 of 548 libraries in 663ms.
Reloaded 1 of 548 libraries in 530ms.
Reloaded 1 of 548 libraries in 775ms.
Reloaded 1 of 548 libraries in 630ms.
Reloaded 1 of 548 libraries in 650ms.
I/chatty  ( 6443): uid=10155(com.example.xyz) 1.ui identical 7 lines
I/flutter ( 6443): print called

Please write in the comments bellow if I misunderstood this issue.
Thank you

Hot reload is reloading the whole application and not just the part of the tree that actually changed. I can’t be more succint than that. This wasn’t happenning before 2.0.

I also have an app that I just migrated from 1.22.6 to 2.0.6 where hot reload is succeeding according to the verbose run logs but nothing is happening. Switching back to my 1.22.6 branch it immediately starts working again.
This happens on iOS and Android.
I have deleted all code except a simple MaterialApp and removed all packages from pubspec. It is still not working but says everything was successful:
Performing hot reload...
[  +15 ms] Scanned through 511 files in 7ms
Syncing files to device iPhone 12 Pro Max...
[        ] Compiling dart to kernel with 1 updated files
[        ] <- recompile package:foo_app/main.dart ef02b32d-0866-4ddf-9022-64dc4cf35fdf
[        ] package:foo_app/main.dart
[        ] <- ef02b32d-0866-4ddf-9022-64dc4cf35fdf
[  +40 ms] Updating files.
[   +2 ms] DevFS: Sync finished
[        ] Synced 0.0MB.
[  +60 ms] <- accept
[   +1 ms] reloaded 1 of 548 libraries
[   +9 ms] Reassembling application
[  +66 ms] Hot reload performed in 185ms.
[        ] Reloaded 1 of 548 libraries in 199ms.

Any idea where I can start debugging this or get some more logging from?

I ran into a case of https://github.com/flutter/flutter/issues/84347


[image_picker] Cannot able to capture image in HEIF format, it always return image in jpg

Trying capture the image but it always giving me jpg even iPhone settings done as Camera > Formats > High Efficiency. How can i capture image in HEIF format?
var image = await ImagePicker().pickImage(source: ImageSource.camera);

Triage report
I can reproduce this issue on Master (3.8.0-1.0.pre.32). I can confirm that my camera take pictures in HEIF if taken from the Camera app, but in JPG when using image_picker.
Code Sample
import 'package:flutter/material.dart';
import 'package:image_picker/image_picker.dart';

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

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

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

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

  final String title;

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

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

  Future<void> _incrementCounter() async {
    setState(() {
      _counter++;
    });

    final file = await ImagePicker()
        .pickImage(source: ImageSource.camera, imageQuality: 100,);
    print(file?.path);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v (Master)
[!] Flutter (Channel master, 3.8.0-1.0.pre.32, on macOS 13.1 22C65 darwin-arm64, locale en-US)
    • Flutter version 3.8.0-1.0.pre.32 on channel master at /Users/nabeelparkar/fvm/versions/master
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.1/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nabeelparkar/fvm/versions/master. Consider adding /Users/nabeelparkar/fvm/versions/master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f9daa9aac4 (4 hours ago), 2023-02-01 22:59:24 -0500
    • Engine revision 679c4b42e2
    • Dart version 3.0.0 (build 3.0.0-192.0.dev)
    • DevTools version 2.21.1
    • 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 33.0.0)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/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.13+0-b1751.21-8125866)

[!] Android Studio (version 2022.1)
    • Android Studio at /Users/nabeelparkar/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

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

! Doctor found issues in 2 categories.

Upon further investigation, this issue seems like a duplicate of https://github.com/flutter/flutter/issues/103248. Closing in favor of that issue.

@exaby73 Just wanted to check this is possible to take picture in HEIC/HEIF format while capturing?
also upload change the extension of heic image to jpg. Any possibility or why so?
thanks in advance. Appreciate your answer on this.


[Paper] Add an optional  property component to Paper.d.ts

[x] I have followed (at least) the PR section of the contributing guide.

Closes #27703
Problem
Despite component property has been removed from Paper.d.ts (perhaps by accident), it's still in the documentation and works (moreover, it's needed, as one can see in the issue above). For consistency with similar components, it's just a React.ReactNode
Changes

Add the component?: React.ReactNode property back

The changes in the tests are wrong

The changes in the tests are wrong. AFAIK the types of the Paper are correct, the issue is with the Drawer.

I'm trying to upgrade my company's design system library that uses MUI as a base. Typing on version 5.4.3 for Paper has no component prop and the upgrade guide doesn't mention it going away. Also, Paper appears to use this prop here: https://github.com/mui/material-ui/blob/v5.4.3/packages/mui-material/src/Paper/Paper.js#L77


⚠ Turnos 24x7 has degraded performance

In db7f1bd, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 813 ms

Resolved: Turnos 24x7 performance has improved in 663a911.


Consolidate Azure refresh workers

Depending PR merges both Azure refresh workers so it can be performed in one worker.
Depends on: https://github.com/ManageIQ/manageiq-providers-azure/pull/216
Related discussion: https://github.com/ManageIQ/manageiq/pull/16465, https://github.com/ManageIQ/manageiq-providers-openstack/pull/154
One of many requirements for: https://bugzilla.redhat.com/show_bug.cgi?id=1487602
@miq-bot add_label gaprindashvili/yes
cc @Ladas

There's been a little confusion with Azure API timeouts yesterday which resulted in failed refreshes. Today it worked fine so I can confirm the worker picks up correct queues and processes the refresh.


Is sleep perfect？

hi，Is your hackintosh normal for long sleep？

hi，Is your hackintosh normal for long sleep？

Sleep works great. In addition, hibernate works. Download again config.plist. I enabled the "Disable RTC wake scheduling" patch to prevent the Mac from waking up when power nap is enabled.

After sleeping for about 2 hours, wake up and black screen

After sleeping for about 2 hours, the black screen wakes up. Have you ever experienced this?

Matrix AU Optronics  B156HTN03.8?

my computer is k501lx，Monitor AU Optronics B156HTN03.8
I tested all the ids of my computer sound card alc233, only 33 works.
CodecCommander.kext not installed in /L/E
the computer sleep and wake up normally,but long time sleep,wake up the screen is black，Unstable, it should be because I did not unlock cfg

my computer is k501lx，Monitor AU Optronics B156HTN03.8
the computer sleep and wake up normally,but long time sleep,wake up the screen is black，Unstable, it should be because I did not unlock cfg

black screen on wake up (with AU Optronics B156HTN03.8 monitor) is a known issue. Nobody fixed it. This is a longstanding issue since mac os sierra 10.12.4. Before mac os 10.12.3, the screen woke up normally. The problem is related to the signal transmission from the video driver, which is not supported by the monitor. What's the signal? I dont know. You need to disassemble the driver, look for changes and make a patch.  :)
Maybe it will help you solve the problem by replacing the screen with the lg philips lp156wf6 screen.
Here is one of the topics with this problem.
Check out this topic: [Unsolvable] Black screen when waking from sleep on Mojave 10.14.3, Lenovo G50-80, Broadwell HD 5500

I tested all the ids of my computer sound card alc233, only 33 works.
CodecCommander.kext not installed in /L/E

Try CodecCommander.kext installed in /L/E. Then check how your headset works.
Hmm ... interesting. It works for me with layout ID 3 ( alc 233 )

After I added the network card driver to the config.plist file, before entering the oc boot, there are several lines of code appearing, how should I close it

When my computer shuts down, stripes appear for a moment
Uploading ph.jpg …

Show me your IORegistry file. (use IORegistryExplorer.app)

Try CodecCommander.kext installed in /L/E. Then check how your headset works.
Working?

not good,the headset sound is very small, current sound very strong
IORegistry.zip

Upload EFI folder for me.

When my computer shuts down, stripes appear for a moment

what screen resolution is set?

When my computer shuts down, stripes appear for a moment

what screen resolution is set?
1920x1080
EFIk501lx.zip

Layout ID 33 - works perfectly, headphones and sound speakers. Try use MacBookAir7.2. CodecCommander you install in /Library/Extensions ? It is very important that it is installed in this folder.

I am not using this SSDT, so I disabled it. If you're using it, turn it on.

SSDT-BATT-ASUS.aml，What is ssdt related to

SSDT-BATT-ASUS.aml - If the state of charge, the discharge of the battery does not show correctly, corrects the status of the charge and discharge of the battery. If the status is displayed correctly, then this SSDT is not needed.

Layout ID 33 - works perfectly, headphones and sound speakers. CodecCommander you install in /Library/Extensions ? It is very important that it is installed in this folder. SIP Disabled? csrutil status - check.

??? :)

yes，T did it

only bluetooth Cannot be closed.

Bluetooth does not turn off on this card. Change to a compatible card with mac.
Sound in headphones normal work?

When my computer shuts down, stripes appear for a moment

what screen resolution is set?
1920x1080

Enable macOS HiDPI
Use the script to set a more user-friendly resolution. Set the resolution to 1536x864 (HIDPI).

now only usb port customization

now only usb port customization

ports do not work?

usb3. 0 not 5g/s

usb3.0 not 5g/s

USBPorts.kext.zip
SSDT-EC-USBX.aml.zip
Try to use this kext and ssdt. Do not use SSDT-EC-USBX.aml and SSDT-EC.aml at the same time.

usb3.0 not 5g/s

USBPorts.kext.zip
Try to use this kext.

Can you give me a bios file in order to unlock cfg, because I can't extract it

Can you give me a bios file in order to unlock cfg, because I can't extract it，The bios version is 301

Do you have a BIOS flashing device?
If you do not have a device for flashing a BIOS, then how will you flash a modified BIOS without a device for flashing a BIOS? If you have such a device, then you yourself can make a BIOS dump from your chip. Unfortunately, I do not have a BIOS dump. I didn't save it.
Unlock 0xE2 MSR
Read the article on how to unlock CFG without flashing BIOS.
One Of: CFG lock, VarStoreInfo (VarOffset/VarName): 0x76, VarStore: 0x1, QuestionId: 0x5D, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 BE 02 BF 02 5D 00 01 00 76 00 10 10 00 01 00} 0x12A36 					One Of Option: Disabled, Value (8 bit): 0x0 {09 07 EF 01 00 00 00} 0x12A3D 					One Of Option: Enabled, Value (8 bit): 0x1 (default) {09 07 EE 01 30 00 01} 0x12A44 				End One Of {29 02}
Your offset 0x76

Enter setup_var 0x76 0x00 command, where 0x76 should be replaced by your actual offset and reboot.

ASUS K501L.zip
I found this dump on one Russian technical forum. Use at your own risk.


(Platform) Fixed pasting with non-text contents, fixed opening files …

…in associated apps

Thank you for your contribution. I am going to review and close the PR this evening (at about 6 pm local time). In advance, next time create an issue which represents what have you done, so we can track the development.


Use with multiple locations

Is there a way to use this to create dashboards with multiple Rubrik instances? Tried creating separate prometheus jobs pointing to separate docker instances on different ports and the stats are combined rather than having separate stats

@miscreantt I don't run docker but the same concept applies. If you run two instances of the exporter on different ports you can use the below config in your prometheus.yml so that your instance name is not localhost or whatever IP your rubrik-exporter process runs on. Then when you import the dashboard from Grafana.net just change the queries to specify the instance. Such as count(rubrik_vm_protected{instance="$device"} == 0) for Total # of VMs not protected. You can change $device to be specifically your instance name as per the prometheus config. If you want to use the grafana template then make a variable named device with a query of label_values(rubrik_system_storage_used , instance)
I uploaded a templated dashboard based off the original here that has all of the queries changed already.
https://grafana.com/dashboards/10272
  - job_name: 'rubrik site1'
    scrape_interval: 120s
    scrape_timeout: 30s
    static_configs:
    - targets: ['localhost:9477']
    relabel_configs:
    - source_labels: [__address__]
      regex: '.*'
      target_label: instance
      replacement: 'myrubrik-site1.mydomain.com'

  - job_name: 'rubrik site2'
    scrape_interval: 120s
    scrape_timeout: 30s
    static_configs:
    - targets: ['localhost:9478']
    relabel_configs:
    - source_labels: [__address__]
      regex: '.*'
      target_label: instance
      replacement: 'myrubrik-site2.mydomain.com'


Question: how to retrieve container images from private registries?

As it says on the tin, there's no official way to retrieve images from private registry.
This is easily solvable if Gort is deployed in Kubernetes -- do we want to make that the official solution, or do we want to make it possible to provide some kind of registry credentials?

I'd be tempted to focus on Kubernetes as the "first class" way to deploy Gort as it provides so many solutions out of the box for things like dynamic config and querying "neighbor" resources.
If demand becomes apparent for other mechanisms, we can focus on them as they arise.

I'm actually inclined to agree. The only reason I pause though is because we technically support Docker deployments.
But then again, if an org deploys this in Docker mode, they should also be able to trigger a "docker login" as appropriate...
So yeah, maybe this is moot?


Update photo

Codecov Report

Merging #36 (6dcbf0a) into master (dcfe665) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage     69.85%   69.85%
  Complexity      360      360
=========================================
  Files            67       67
  Lines          1118     1118
  Branches        104      104
=========================================
  Hits            781      781
  Misses          308      308
  Partials         29       29

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 dcfe665...6dcbf0a. Read the comment docs.


Elasticsearch backend - Follow-Up

@Sanne, @DavideD: Next round for the ES backend :) What it does:

Lets tests from "orm" module run for ES as well (failing ones are excluded in the POM)
Translates (simple) Lucene queries into ES ones
Take bridge-provided metadata into account for creating the ES schema (via the recently created contract)
Multi-tenancy, purge-all
Many more improvements across the board, I enabled previously failing tests as I moved along

I think with this one in, we may work with dedicated JIRA issues for further tasks, they should be focused enough now to warrant that and we should be able to work on them in parallel. It should be driven by looking into remaining failing tests from "orm", I expect many more to pass with the right adjustments to the ES backend. Only a hand-ful are really specific to Lucene/directory stuff etc. and would be excluded from the ES run on a permanent basis.
Let me know what you think :)

@Sanne, any thoughts?

glad to see this still rebases cleanly.. that was bothering me ;-)

@gunnarmorling could you rebase it please? there's a compilation error, should be trivial to fix:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/sanne/workspaces/hibernate/hibernate-search-root/engine/src/test/java/org/hibernate/search/testsupport/backend/LeakingBackendQueueProcessor.java:[32,8] org.hibernate.search.testsupport.backend.LeakingBackendQueueProcessor is not abstract and does not override abstract method closeIndexWriter() in org.hibernate.search.backend.spi.BackendQueueProcessor
[INFO] 1 error

nevermind, since it looks like you're not around I'll do it.

@Hibernate-CI retest this please

Rebasing introduced some problems; some were existing problems which weren't noticeable, some issues were related to new tests needing to be applied some of the new helpers.
But also several tests were failing already before the rebase - which I hadn't noticed initially.
Among these:

the existing JGroups / ES tests didn't set 'index_management_strategy' so the index isn't being created.
the OSGi / Karaf integration tests were broken by new imports having the -orm module depend on an -impl package within -engine.
CollectionUpdateEventTest fails for me, even on your version of the branch. I disabled it so we can follow up later.

Replaced by PR #980

I confirm CollectionUpdateEventTest also fails for me as I reported it in a previous email.


Kk proofreading deployment2

@Adam-Dupaski, @MarkvanMents I proofread the second article in the Deployment batch. Can you let me know if you have any comments?

Hi Kasia, Some nice changes here. I have made some comments. My main worry is that by combining the standard environments with the flexible environments that section becomes much more difficult to follow - each bullet point now has a condition associated with it ("does this apply to my set of environments") rather than the original where the reader can say "do I have flexible or standard environments" and then go and read the appropriate section.
Let me know what you think.

@MarkvanMents Makes sense - I've split them off to be clearer. Let me know what you think. Thank you!


Include non-recording cpu usage queries into separate yaml

Description
Please describe the issue or feature and the summary of changes made to fix this.
Include non-recording cpu usage queries into separate yaml and jsons to run the local monitoring APIs with any version of prometheus.
Fixes # (issue)
Type of change

[ X] Bug fix
[ ] New feature
[ ] Docs update
[ ] Breaking change (What changes might users need to make in their application due to this PR?)
[ ] Requires DB changes

How has this been tested?
Run the kruize-demos script by using the resource_optimization_local_monitoring_norecordingrules yaml.

[ ] New Test X
[ ] Functional testsuite

Test Configuration

Testing is yet to complete.

Checklist :dart:

[ ] Followed coding guidelines
[ ] Comments added
[ ] Dependent changes merged
[ ] Documentation updated
[ ] Tests added or updated

Additional information
Include any additional information such as links, test results, screenshots here

Tested with the new jsons for minikube. CPU recommendations are observed. Working as expected.

@kusumachalasani - Can you please update the local monitoring demo to use this file for minikube

Updated the demo script as part of PR https://github.com/kruize/kruize-demos/pull/90


Migration changes for Rails 4

drop_table doesn't take two table names to drop, so we should drop them indivitually.
Rails 4 will do the index renaming automatically, so renaming indexes may not be necessary.

:+1:


Daemon API fields not versioned correctly for v1.18

Version, Os, and KernelVersion are being returned even for /v1.17/version calls.
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1241699

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

returning more fields are ok - or supposed to be.
See: https://docs.docker.com/reference/api/docker_remote_api/
The Remote API uses an open schema model. In this model, unknown properties in incoming messages will be ignored. Client applications need to take this into account to ensure they will not break when talking to newer Docker daemons.

@duglin but we're not so consistent with that statement https://github.com/docker/docker/blob/master/api/server/server.go#L255

Even if we do hide some fields for older clients that doesn't mean we have to do it in all cases  :-)
The statement is just a heads up for client that we may not always be so nice - which I think is true is some cases.

fair. though having a respected versioned API is nice. ;-)

I think we can close this, because it's described in https://docs.docker.com/engine/reference/api/docker_remote_api/ (could be slightly improved, perhaps):

Docker’s Remote API uses an open schema model. In this model, unknown properties in incoming messages are ignored. Client applications need to take this behavior into account to ensure they do not break when talking to newer Docker daemons.


JSONLD creating resource with an array of '@id' values

I noticed a warning pop up in my Milliner logs: [2022-04-07 09:08:39] app.WARNING: E_WARNING: parse_url() expects parameter 1 to be string, array given {"code":2,"message":"parse_url() expects parameter 1 to be string, array given","file":"/data/crayfish/Milliner/src/Service/MillinerService.php","line":318}
I went and checked the JSONLD of the object causing the warning and found one of the taxonomy terms refereced by the resource is causing a referenced object to have an '@id' to be an array instead of a single URI:
    {
      "@id": [
        "https://special.library.unlv.edu/taxonomy/term/1010",
        "https://special.library.unlv.edu/taxonomy/term/1010"
      ],
      "@type": [
        "http://purl.org/dc/terms/Location",
        "http://schema.org/Place",
        "http://purl.org/dc/terms/Location",
        "http://schema.org/Place"
      ]
    }

This may stem from what appears to be the same term referenced twice in the object's metadata (trimmed for brevity):
    {
      "@id": "https://special.library.unlv.edu/node/558518",
      "@type": [
        "http://pcdm.org/models#Object",
        "bibo:Issue"
      ],
      "http://purl.org/dc/terms/spatial": [
        {
          "@id": "https://special.library.unlv.edu/taxonomy/term/1010"
        },
        {
          "@id": "https://special.library.unlv.edu/taxonomy/term/1010"
        }
      ],

but I have not confirmed this yet, simply speculated based on observation. In any case, the JSON-LD parser shouldn't return an array for the '@id' property.
I don't think I'll have time to dig into this more right now, as it will still index in Fedora, and I can live with warnings in the logs for the time being, but I wanted to make sure it was documented.

The ids are definitely a problem, but can you explain why the resource is using duplicate terms for the same field? I'm just looking for some example data.

Ah, for this content type we have two fields, field_geographic_coverage and field_place_of_publication, both of which are RDF mapped to dcterms:spatial:
 field_geographic_coverage:
    properties:
      - 'dcterms:spatial'
  field_place_of_publication:
    properties:
      - 'dcterms:spatial'

Both of these fields, in this case, reference Las Vegas (it was published here and the news covers the area); ergo, two spatial references to the same term. We probably need better predicates for each of these, but I didn't write the map. 🤷♂

So the problem comes from here where we merge the property array back into the original array.
My example base array of
$normalized_property = {array} [1]
    @graph = {array} [2]
        http://localhost:8000/taxonomy/term/33 = {array} [2]
            @id = "http://localhost:8000/taxonomy/term/33"
            @type = {array} [2]
                0 = "http://purl.org/dc/terms/Location"
                1 = "http://schema.org/Place"
        http://localhost:8000/node/2 = {array} [1]
            http://purl.org/dc/terms/spatial = {array} [1]
                0 = {array} [1]
                    @id = "http://localhost:8000/taxonomy/term/33"

and the incoming property array
$normalized = {array} [1]
    @graph = {array} [3]
        http://localhost:8000/node/2 = {array} [8]
            @id = "http://localhost:8000/node/2"
            @type = {array} [1]
            http://schema.org/author = {array} [1]
            http://purl.org/dc/terms/title = {array} [1]
            http://schema.org/dateCreated = {array} [1]
            http://schema.org/dateModified = {array} [1]
            http://purl.org/dc/terms/extent = {array} [1]
            http://purl.org/dc/terms/spatial = {array} [1]
                0 = {array} [1]
                    @id = "http://localhost:8000/taxonomy/term/33"
        http://localhost:8000/taxonomy/term/33 = {array} [2]
            @id = {array} [1]
                0 = "http://localhost:8000/taxonomy/term/33"
            @type = {array} [2]
                0 = "http://purl.org/dc/terms/Location"
                1 = "http://schema.org/Place"

merge to become
$normalized = {array} [1]
    @graph = {array} [3]
        http://localhost:8000/node/2 = {array} [8]
            @id = "http://localhost:8000/node/2"
            @type = {array} [1]
            http://schema.org/author = {array} [1]
            http://purl.org/dc/terms/title = {array} [1]
            http://schema.org/dateCreated = {array} [1]
            http://schema.org/dateModified = {array} [1]
            http://purl.org/dc/terms/extent = {array} [1]
            http://purl.org/dc/terms/spatial = {array} [2]
                0 = {array} [1]
                    @id = "http://localhost:8000/taxonomy/term/33"
                1 = {array} [1]
                    @id = "http://localhost:8000/taxonomy/term/33"
            http://localhost:8000/user/1 = {array} [2]
            http://localhost:8000/taxonomy/term/33 = {array} [2]
                @id = {array} [2]
                     0 = "http://localhost:8000/taxonomy/term/33"
                     1 = "http://localhost:8000/taxonomy/term/33"
                @type = {array} [4]
                    0 = "http://purl.org/dc/terms/Location"
                    1 = "http://schema.org/Place"
                    2 = "http://purl.org/dc/terms/Location"
                    3 = "http://schema.org/Place"

It seems like some deduplication of the array might be valid.

Maybe look at https://git.drupalcode.org/project/drupal/-/blob/9.4.x/core/lib/Drupal/Component/Utility/NestedArray.php#L267-294 as opposed to using array_merge_recursive?

Oh yeah, I saw we are using that here. I'll take a look, I'm a little worried you might want some duplicates but not all 🤷

Ok I have worked this to here, one last piece that could be cleaned but also could be considered value.
If you have two fields pointing to the same entity and sharing the same RDF mapped predicate, the referenced entity looks good.
{
    "@id": "http://localhost:8000/taxonomy/term/33",
    "@type": [
      "http://purl.org/dc/terms/Location",
      "http://schema.org/Place"
    ]
  }

but it still appears as two entries in the main node.
"http://purl.org/dc/terms/spatial": [
      {
        "@id": "http://localhost:8000/taxonomy/term/33"
      },
      {
        "@id": "http://localhost:8000/taxonomy/term/33"
      }
    ],

because NestedArray::mergeDeep doesn't do any deduplication, so I wrote a simple function to deduplicate the @types, if desired I could try to expand it to deduplicate the predicate arrays based on the @id values. Not sure how people feel about that.
Here's my current work

I'm fine with allowing duplicate predicate values as long as Fedora/Blazegraph don't choke on it. I don't think they would, but it would be best to check to make sure before spending more effort with further de-duplication.

Looks like both Fedora and Blazegraph only allow a single unique triple, so they are de-duplicated. Not sure if we should be relying on external software for that.
Also, looking at the RDF 1.1 specification it states here

The core structure of the abstract syntax is a set of triples, each consisting of a subject, a predicate and an object. A set of such triples is called an RDF graph.

Being a "set" would mean that you could not hold duplicate triples. So we probably should remove the duplicates, but it doesn't seem to be vital at this moment.

Resolved with https://github.com/Islandora/jsonld/commit/630e10947dc0a5517f0fe0b29adab0c2b6247ce9


snow-pig

Link to the mod page
https://www.curseforge.com/minecraft/mc-mods/snow-pig-fabric
An estimate of the number of mobs introduced by the mod
1
Game version
1.18.1

has own support


[SPARK-11485][SQL] Make DataFrameHolder and DatasetHolder public.

These two classes should be public, since they are used in public code.

Merged build triggered.

Merged build started.

Test build #44957 has started for PR 9445 at commit ff07bad.

Test build #44957 has finished for PR 9445 at commit ff07bad.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44957/
Test FAILed.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #44960 has started for PR 9445 at commit f623c5d.

Merged build triggered.

Merged build started.

Test build #44960 has finished for PR 9445 at commit f623c5d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * case class ExecutorLostFailure(\n

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44960/
Test PASSed.

Merged build finished. Test PASSed.

Test build #44979 has started for PR 9445 at commit f75c4a5.

Test build #44979 has finished for PR 9445 at commit f75c4a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44979/
Test PASSed.

cc @marmbrus

Merged build triggered.

Merged build started.

Test build #45009 has started for PR 9445 at commit a14ed6c.

Test build #45009 has finished for PR 9445 at commit a14ed6c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * case class ExecutorLostFailure(\n  * public class JavaIsotonicRegressionExample \n  * public class JavaNaiveBayesExample \n  *  case class DecimalLit(chars: String) extends Token\n  * case class UnresolvedStar(target: Option[Seq[String]]) extends Star with Unevaluable \n  * case class Exchange(\n  * class CoalescedPartitioner(val parent: Partitioner, val partitionStartIndices: Array[Int])\n

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45009/
Test FAILed.

test this please

Test build #1979 has started for PR 9445 at commit a14ed6c.

LGTM

Merged build triggered.

Merging this.

Merged build started.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/45026/
Test FAILed.

Test build #1979 has finished for PR 9445 at commit a14ed6c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.


Now supporting VCV Rack v0.5.0

Enjoy...

Please see the attached image. This is how your modules are showing up and other generates an error and crashes badly. Hope you can get it done by tomorrow. I am sending some of my old deep house comp tracks to my friends using your mixers and delay module.
Thanks

did the resource files get extracted into the mscHack/res folder?

Yes

well what the heck it works for me...
Let me try changing my resource folder offset in the code and I will do up a new zip to see if it works for you

try the new zip

i managed to fix some of the image loading errors by changing
setSVG(SVG::load(assetGlobal(resource)));
to
setSVG(SVG::load(assetPlugin(plugin,resource)));
in many of the structs in mscHack_Controls.hpp
still, many of the modules crash my rack. (win7-64, all last commits)

I am using windows 10/64bit

yeah I figured that out.  I just updated the zip.

Hang on I found some other crash issues, gimme a minute.  This is what happens after doing copy pastes for 4hrs...

Cool Breeze!
Just so your Know, the attached is what's working thus far.

Get the latest zip.  Everything is working now except the original triad sequencer, still working on that.

well done.

Done.  Well at least they don't crash, there could be issues still from when I made the 0.5.0 changes.
Thanks for your help gentlemen!

It was all light problems, that was a huge change.

Thanks


will there be ablation studies?

Thanks for giving prompts and datasets so anyone can reproduce your experiments. However have you ever thought about doing ablation study and analysis on the effects by different tasks and finding out why they can improve the performance?
SkyMath mentioned your work but didn't provide any details (https://github.com/SkyworkAI/Skywork). Somehow their grades suggest there may be more efficient methods to produce higher quality datasets.

Hi, yucc-leon
Thanks for your suggestions and also thanks for the reference of SkyMath！
you mentioned that "However have you ever thought about doing ablation study and analysis on the effects by different tasks and finding out why they can improve the performance?"
What type of ablation experiments are you looking forward to seeing? Feel free to provide details. Maybe we have conducted and can show you, or if we find them equally interesting, we may consider exploring new attempts as well.

Hi, yucc-leon 嗨，yucc-leon Thanks for your suggestions and also thanks for the reference of SkyMath！ 感谢您的建议，也感谢SkyMath的参考！ you mentioned that "However have you ever thought about doing ablation study and analysis on the effects by different tasks and finding out why they can improve the performance?" 您提到“但是，您是否考虑过对不同任务的效果进行消融研究和分析，并找出为什么它们可以提高性能？“
What type of ablation experiments are you looking forward to seeing? Feel free to provide details. Maybe we have conducted and can show you, or if we find them equally interesting, we may consider exploring new attempts as well.你期待看到什么样的消融实验？请随意提供细节。也许我们已经进行了，可以给你看，或者如果我们发现它们同样有趣，我们也可以考虑探索新的尝试。

Thanks for the replying and opensourced datasets recently and we can see more details:)
I came up with such requests because Skywork said their work was very similar to MetaMath and other related researches. That meant they also made up some augmented datasets using some secret prompt engineering, and their datasets were more suitable to train LLMs for better scores in GSK8K and MATH.
So I guess, if one can compare their datasets with yours or do some ablation studies like using only one or two of your datasets to find out what kind of task or task combinations makes the main contribution of the final performance, the community may be closer to the answer to know how to make up the best (or very close to it) datasets to train a well-performed LLM for specific tasks.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_29af40fe-e357-47f0-aa22-d49cd991e683/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_29af40fe-e357-47f0-aa22-d49cd991e683.git

Docs Build status updates of commit 1aec5a9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Archive_master_2019-10-09-09-18-19 has been deleted or has been force pushed: fatal: Couldn't find remote ref Archive_master_2019-10-09-09-18-19

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


CO_EMC_BUS_OFF_RECOVERED, Emergency

Hello,
I successfully ported the CanOpenNode to an STM32 device. However, there is a problem. I get the emergency message which is CO_EMC_BUS_OFF_RECOVERED.
What could be the reason for this?
Node ID is 2.
Output from Node:
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00
082 40 81 10 12 47 00 fd 00

This is the only place where is occures. But I don't use that MCU so I can't help.

Have a look on the Bosch CAN specification. This explains what leads to bus off.
You only see the CO_EMC_BUS_OFF_RECOVERED because the CO_EMC_BUS_OFF_ACTIVE message can't be sent in bus off state...


[ZEPPELIN-1624] HeliumApplicationFactoryTest fails on master

What is this PR for?
HeliumApplicationFactoryTest fails on master with following error if i run the test on local machine.
I'm fixing the issue by changing InterpreterFactory loads interpreter properties from interpreter-setting.json file, interpreter-setting.json classresource and Interpreter.register() call
What type of PR is it?
Bug Fix
Todos

[x] - Fix the problem

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1624
How should this be tested?
try run HeliumApplicationFactoryTest unittest and see if it successes
Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

on mvn clean package -pl \!zeppelin-distribution I got
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.193 sec - in org.apache.zeppelin.search.LuceneSearchTest

Results :

Tests in error:
  HeliumApplicationFactoryTest.testUnloadOnInterpreterUnbind:232 » ClassCast jav...
  HeliumApplicationFactoryTest.testLoadRunUnloadApplication:148 » ClassCast java...
  HeliumApplicationFactoryTest.testUnloadOnInterpreterRestart:299 » ClassCast ja...
  HeliumApplicationFactoryTest.testUnloadOnParagraphRemove:193 » ClassCast java....

Tests run: 116, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  6.317 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [02:35 min]
[INFO] Zeppelin: Zengine .................................. FAILURE [02:48 min]

Am I doing something wrong?

@Leemoonsoo do you think it's worth re-basing on latest master?
Tried mvn clean package -pl \!zeppelin-distribution on this branch again, got:
Results :

Tests in error:
  HeliumApplicationFactoryTest.testUnloadOnInterpreterUnbind:232 » ClassCast jav...
  HeliumApplicationFactoryTest.testLoadRunUnloadApplication:148 » ClassCast java...
  HeliumApplicationFactoryTest.testUnloadOnInterpreterRestart:299 » ClassCast ja...
  HeliumApplicationFactoryTest.testUnloadOnParagraphRemove:193 » ClassCast java....

Tests run: 116, Failures: 0, Errors: 4, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Zeppelin ........................................... SUCCESS [  8.249 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [02:30 min]
[INFO] Zeppelin: Zengine .................................. FAILURE [02:47 min]
[INFO] Zeppelin: Display system apis ...................... SKIPPED

My env
Apache Maven 3.3.3<PHONE_NUMBER>791599e205a5524ec3e0dfe41d4a06; 2015-04-22T20:57:37+09:00)
Maven home: /usr/local/Cellar/maven/3.3.3/libexec
Java version: 1.7.0_45, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"

ping @Leemoonsoo

2 weeks ping @Leemoonsoo


MINOR: [Docs] Update docs to point to separate java codebase

Rationale for this change
Post  https://github.com/apache/arrow/issues/44945 the java implementation lives in it's own repo. Update docs
to point there.

Are these changes tested?
Rendered the sphinx ones locally to check.

Are there any user-facing changes?
No

These changes are pretty trivial + are mainly for docs that aren't specifically related to java.
Though one remaining issue is that the following pages/sub-pages

Java Development Page
Java API/User Docs

still live in this repo which I assume isn't desired.

@github-actions crossbow submit preview-docs

Could you also update cd arrow/java too in http://crossbow.voltrondata.com/pr_docs/45134/developers/java/building.html ?


segfault if --profile names a non existent stanza, should issue error message

there was an error in the detection of a missing stanza in the golang SDK.

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-5111.
This link is only accessible to employees of RelationalAI.


import the library to your build.gradle

i am trying to import dlib into my project using
repositories {
maven {
url 'https://dl.bintray.com/tzutalin/maven'
}
}
dependencies {
compile 'com.tzutalin.dlib-android-app:dlib:1.0.3'
}
i have added  repo to project gradle file and
compile 'com.tzutalin.dlib-android-app:dlib:1.0.3' to app module gradle file
bit it shows error:
Error:(25, 20) Failed to resolve: com.tzutalin.dlib-android-app:dlib:1.0.3
gradle version is
classpath 'com.android.tools.build:gradle:2.1.0' can some help me what is the issue and how can i resolve it

This isn't part of the dlib project.  I would suggest contacting whoever is running https://dl.bintray.com/tzutalin/maven


Remove version: VMPK.VMPK version 0.8.7

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/vmpk/files/vmpk/0.8.7/vmpk-0.8.7-win-x64-setup.exe/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


FEAT: Customized Scrollbar.

Issue:
Add Customized Scrollbar.
Description:
I propose adding a customized scrollbar to enhance the visual aesthetics and user experience on the website.
screenshots:
the present scrollbar:

Working under JWoC'24

@ramith-kulal assigned


can a multi-client .toc(s) be added?

I have noticed that WoW Classic supports multi-client .toc format for a while now
and would like to see it on WIM as well...

Yes the packager generates builds for each client. Can I close this issue?

ok, close it you want..  O_o :(

Well I don't want to dismiss your request. Is there a purpose to maintain several TOC files if they are being packaged separately?

is there coding any different in each build/release/package?
I use WowUp to manage updates for WoW retail and bcc...
it some times seems to have issues showing the correct game version supported..
not sure.. but that can be fixed by using a multi-toc format... I guess.. hmm...

ok, np. thx for your time.


iOS safari connect-queue error

Getting the following error in iOS safari:
undefined is not an object (evaluating '_aureliaPal.PLATFORM.performance.now' )

Some quick console.logs show that PLATFORM.performance is undefined.

What version of iOS?
http://caniuse.com/#search=performance

8.4, sorry should have said. Is this something we're supposed to polyfill ourselves?

apologies, yes you'll need a polyfill- it's mentioned here but not in the docs yet.

Closing as not an issue.

Oops re-opening so we can document this better...

@jdanyow I think our docs are still not up to date. What are all the polyfills that are needed for legacy browser support?
The docs currently state:

MutationObserver
RAF

Is a performance polyfill also needed?

closing:  performance polyfill is now part of pal-browser


[WIP] Use iolog4s macro-based implementation of slf4j interface

Rewrote the slf4j module to use the same macro-based implementation as [iolog4s](iolog4s: https://iolog4s.github.io/iolog4s/)
One (big) problem tough. Macros  cannot expand if they're hidden behind abstract methods 😢. Which makes sense, but I never thought of, or ran into, the problem until now.
So the solution I stumbled upon is some sort of weird, super hacky, behind the scenes compromise. Have a look at this program:
object Main extends App {
  import io.chrisdavenport.log4cats.Logger
  import io.chrisdavenport.log4cats.slf4j.Slf4jLogger
  import cats.effect.IO

  val slf4jL: Slf4jLogger[IO] = Slf4jLogger.create[IO]
  val logger: Logger[IO] = slf4jL

  val app = for {
    _ <- logger.info("non-macro-based info <=> old log4cats")
    _ <- slf4jL.info("macro-based info     <=> iolog4s")
    _ <- slf4jL.info("silver-lining" -> "we also have @oleg-py's MDC")(
      "macro-based info     <=> iolog4s — YEY! no runtime crash"
    )
  } yield ()

  app.unsafeRunSync()
}

When the user references the logger through the Slf4jLogger[F] interface they get something equivalent to macro-based iolog4s.  When they want to switch to the more abstract algebra of Logger[F] to write their own boilerplate saving algebra they lose macro-based optimization and they get something equivalent to the current log4cats implementation. This sounds super unorthodox and to be frowned upon from a pure FP perspective, but it kinda works without breaking stuff 🤷♂
I created this PR as a starting point for a discussion on how to proceed. I'll keep hacking at it, maybe I find something better.
No longer relevant after second commit:
~~Thus, referencing a logger through its nice algebra defined in io.chrisdavenport.log4cats.Logger[F] is impossible. You always have to reference it through the subclass io.chrisdavenport.log4cats.slf4j.Slf4jLogger[F] which implements Logger[F], but this would become very dangerous very quickly.
object Main extends App {

  import io.chrisdavenport.log4cats.Logger
  import io.chrisdavenport.log4cats.slf4j.Slf4jLogger

  import cats.effect.IO

  //attempting to log something fails at runtime with ???
  val logger: Logger[IO] = Slf4jLogger.create[IO]

  //works properly
  //val logger: Slf4jLogger[IO] = Slf4jLogger.create[IO].asInstanceOf[Slf4jLogger[IO]]

  val app = for {
    _ <- logger.debug("--- debugging ---")
    _ <- logger.info("--- informing ---")
  } yield ()

  app.unsafeRunSync()

}

We can provide a trivial translation from iolog4s to the Logger interface, but not sure how useful that is. Since the utility of iolog4s derives from its macro based that saves a few captures of variables in closures and whatnot. And your current solution for working with a sfl4j backend is better for log4cats because it doesn't render the algebra of Logger[F] dangerous.~~

Sorry about the delay was a holiday here. Looking into this today.

@ChristopherDavenport
There are two problems, and I consider MDC to be the secondary one.

a macro-based implementation cannot work with the abstract algebra of Logger[F] because macros cannot be reified for abstract methods. Even if the underlying runtime object is the same.  See the example program in the description of the PR where you refer to the same value via two different references.

MDC-like algebra would be nice to have on Logger[F] because without it, the only migration path from iolog4s to log4cats is by using the Sfl4jLogger[F] explicitly. And I haven't looked into how to support this with a scribe backend. Or maybe we can define a better algebra for it altogether.

So first idea for algebras. We have multiple contexts
Logger, LogLevelAware, MDCLogger are three traits. Then loggers implement them and people ask for them individually. Problem is most people want all of the functionality together and LogLevelAware and MDCLogger are a bit decoupled really.
Second we build a macro based internal representation akin to iolog4s that is fully private and then this module depending on it that creates the algebra on the second compilation pass. That way we don't leak the underlying representation at all but can still build a functional component.

Closed in favor of: https://github.com/ChristopherDavenport/log4cats/pull/33


Infinite loop with recoverFlatMap

Describe the bug
There's an infinite loop when using recoverFlatMap on lazyeithers. I found this when trying to reduce a nonempty list with a function chain.
I think the functions underneath are slightly easier to debug and capture the issue better.
To Reproduce
Steps to reproduce the behavior:
void infinite() {
    Try<String, Exception> result = Option.<String>none().toTry(new Exception("asdf"));
    for (int i = 0; i < 10; i++) {
      result = result.recoverFlatMap(e -> Option.<String>none().toTry(new Exception("asdf")));
    }
    System.out.println(result.toString());
  }

Compare to this (which returns correctly)
void terminates() {
    Try<String, Exception> result = Try.failure(new Exception("asdf"));
    for (int i = 0; i < 10; i++) {
      result = result.recoverFlatMap(e -> Try.failure(new Exception("asdf")));
    }
    System.out.println(result.toString());
  }

Expected behavior
Return the correct value (ex. what terminates() does)
Additional context
Tested on version 10.3.0 and 10.3.3, on jdk 8.

Fix merged.


Handlebars addon fails to resolve sap.m.Table "columns" aggregation

Hi all,
it looks like for some reason the Handlebars addon cannot resolve the "colums" aggregation of sap.m.Table. See this example: getAllAggregations appears to return only "customData", "dependents", "layoutData" and "tooltip".
Version: 1.24.5
Best,
Michael

Hello Michael,
Thanks for reporting this.
I contacted the responsible developer for clarification and will provide the information as soon as possible.
Kind regards,
Janina

Internal ticket reference:<PHONE_NUMBER>
Seems like a bug.
The responsible developer will have a look and provide the information or fix.
Kind regards,
Janina

Hi Michael,
just to let you know we created a fix internally for that issue. But basically it was a missing feature that you can use the aggregation helper to scope the aggregation to use for the nested controls. Already today it is possible to do so without the aggregation tag but you need to set the target aggregation on the nested control with the attribute "sap-ui-aggregation":
  {{#control sap-ui-type="sap.m.Column" sap-ui-aggreation="items"}}
         {{control sap-ui-type="sap.m.Text" text="Column"}}
  {{/control}}

And also there are 2 issues in your example:
1.) You use the text helper as child of the ColumnListItem. This is not possible. You need to use a nested control element.
2.) You need to set an instance of sap.ui.model.json.JSONModel as model to the Core and not the only the object. Otherwise the databinding is not working.
The fix will be submitted soon after the internal review is done.
Best regards and thanks for reporting,
Peter

Fixed with 1.26.5
Peter


Missing VERSION file in pip installation

Installing using pip produces a broken installation because VERSION is not installed:
$ pip install --user restructuredtext_lint
Collecting restructuredtext_lint
Requirement already satisfied (use --upgrade to upgrade): docutils<1.0,>=0.11 in ./.local/lib/python3.4/site-packages (from restructuredtext_lint)
Installing collected packages: restructuredtext-lint
Successfully installed restructuredtext-lint-0.15.0
$ rst-lint
Traceback (most recent call last):
  File "/home/mihai/.local/bin/rst-lint", line 7, in <module>
    from restructuredtext_lint.cli import main
  File "/home/mihai/.local/lib/python3.4/site-packages/restructuredtext_lint/cli.py", line 11, in <module>
    with open(os.path.join(os.path.dirname(__file__), 'VERSION'), 'r') as version_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/mihai/.local/lib/python3.4/site-packages/restructuredtext_lint/VERSION'

You should include VERSION in package_data in setup.py:
https://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files

This issue just bit us this morning.  It appears that 0.15.0 was released overnight, and as a result our unit tests are now failing.  We're going to pin the version to 0.14.3 for now, but it was a slightly unpleasant experience.

Ah, sorry folks. I don't have time to follow @mihaic's advice (due to wanting to manually verify rather than release blindly) but I do have time for a revert (which has no manual testing)

This should be reverted and back to working in 0.16.0.

We have completed a patched version and released it in 0.17.0. I previously reproduced with the steps listed and can no longer so I think we are good. Thanks for the quick report and help everyone =)


TrialExpired button is not clickable,  try animation support for lower resolution displays ,  Remove orphaned message for no function container. Update isTryPageRequested Logic to enable local debugging

I looked at the code, and tested to see if that message div would show up, but it would view to display even

after deleting the function container -> red error popups
and then refreshing the page -> page wont load at all.

Even though the code has been there from the beginning I think its safe to remove it
https://github.com/projectkudu/AzureFunctionsPortal/blob/f09bfe5ad2ea387031869c147f63486454abf3ca/AzureFunctions.Client/templates/dashboard.component.html#L24

other than that one comment, the PR looks good to me. :shipit:


Solr highlight

@caseyedavis12 : Would highlighting search terms in context be useful to users?

If so, what should it look like?
@afred : This does make the index large, since the transcript needs to be stored, not just indexed. Is this a concern?

@mccalluc: I think that this would definitely help users. Would this highlight search terms in the transcript and the metadata record? What if we highlighted the search terms with a light transparent background using a color in the color palette?

@mccalluc in your screen shot, which term did you search for?.. "evil"?

@mccalluc I don't think we care about index size, except in how it affects performance and $$.

@mccalluc I would put a specific class name on the markup that Solr injects to avoid style overlap, i.e. <span class="solr-highlight">

I don't know if it's a good idea to add highlighted terms to the copy below the thumbnails in a grid view, for two reasons:

The "Series; Program; Asset" displayed in the screen shot will actually be real titles, which oftentimes span multiple lines already.
When highlighting the found terms, you want to surround it with some context, but I don't think it would be very useful to just grab X words on either side of the highlighted term. Google search results, for instance, appear to grab the containing sentence (and sometimes more). This is much more useful, but also much more verbose, and now we're putting a lot of words in the text below the thumbnail.

I could be convinced otherwise with a more robust visual example, but I feel if we try to do this as-is, we'd be messing with the grid view in undesirable ways.
thoughts @mccalluc @caseyedavis12?

Yeah, particularly if an outstanding goal is to make the rectangles more uniform, this is really pulling in the opposite direction. A google image search does not tell you anything about the context of your term in the results.
If we really wanted to present this information somehow, maybe it could be floated over the bottom of the image, something like the titles on the homepage?

@mccalluc @caseyedavis12 is it ok to close this as a PR? We can keep the branch open for more exploration.
I think that highlighting found search terms inherently involves introducing significant amounts of additional text onto the search results page, which has more design considerations that aren't being considered here.

@afred: Yes, that is fine with me


[NOT FOR MERGING] CI.next support

This is not a PR.
I just wanted to get the nice GitHub view of the commits and changes in this cinext branch to make it easier to look at, discuss, and comment on changes.

Do you want to merge PR #48 first and then convert this to a PR for the extra CLI options? Or close PR 48, convert this to a PR, and merge this one?

Do you want to merge PR #48 first and then convert this to a PR for the extra CLI options? Or close PR 48, convert this to a PR, and merge this one?

My thought was this branch isn't intended for merging, but rather a "fork" of BHG with our WIP CI.next changes.  As we settle on changes I'd just pull those over individually as their own PRs.
Since there's no development on BHG#master, I was thinking we'd just point Gemfiles to BHG#cinext (rather than merging, releasing, pinning to a X.Y.Z, and then repeating over and over).
Once we've proven out the BHG changes with more mileage we can start merging into master, and then minimize the number of version #'s and releases of BHG we do.
I'm mostly thinking this because BHG is still pre-1.0.0, and we've already got breaking changes lined up for the 1.0.0 release, so I'd rather not burn the version numbers as we experiment.

@nwolfe that sounds good. Can you create a PR for the --templates-only changes (separate from the --extract-templates-from-file changes)? That way we can resolve https://tickets.puppetlabs.com/browse/QENG-4204 now, and later when we're working to add a pipeline that uses static host files, eg puppet aix, modules, etc we can try out the --extract-templates-from-file option?

Presumably this PR can be closed?

Yeah, we don't need this open as a PR.  Closing it.
We still need the cinext branch though, as we have projects temporarily pinned to it.


Support export/import models as Docker Images to integrate with existing platforms

Problem

Until we can solve the problem of the 403 access #676, there's no way to pull models from the Ollama server

At the time I'm writing this, I don't think the Ollama registry (Docker Registry with a different type) is available

I was able to work around the 403 problem, demonstrated at #1145, and built/pushed the same digests as docker images layers to a Docker Registry :)

And consequently, push my a privately controlled Docker Registry, Pull it, and make the Models available in an isolated Kubernetes environment already managed/scaled to run models

As we have already an established DevSecOps Platform with the automation around Docker Images, Docker Registries, I'd like to take advantage of that and reuse Ollama's model with the existing infrastructure already put in place. Ollama is a great too already for the CLI and Server capability!
Design

Given the internals of the blobs are just docker images, why not provide an export/import tool to Docker Images?

I can see the models stored very similarly to Docker Images
mediaType is the same as docker's vnd.docker.container.image.v1+json

ollama export llama2 marcellodesales/genai/models/llama2

Export the model as a docker image tagged by a given name

ollama import llama2 marcellodesales/genai/models/llama2

Imports the model as a Docker Image into the models of ollama

Implementation

Just some sequence of commands if anyone wants to get on this implementation

I can send a PR this weekend if this feature is accepted...

List models as usual

$ docker run --network host  -ti -v $(pwd):$(pwd) -w $(pwd) -v $HOME/.ollama:/root/.ollama ollama/ollama list
NAME            ID              SIZE    MODIFIED
codellama:code  fc84f39375bc    3.8 GB  16 hours ago

Inspecting the models

$ cat models/manifests/registry.ollama.ai/library/codellama/code

{"schemaVersion":2,"mediaType":"application/vnd.docker.distribution.manifest.v2+json","config":{"mediaType":"application/vnd.docker.container.image.v1+json","digest":"sha256:23fbdb4ea003a1e1c38187539cc4cc8e85c6fb80160a659e25894ca60e781a33","size":455},"layers":[{"mediaType":"application/vnd.ollama.image.model","digest":"sha256:8b2eceb7b7a11c307bc9deed38b263e05015945dc0fa2f50c0744c5d49dd293e","size":3825898144},{"mediaType":"application/vnd.ollama.image.license","digest":"sha256:8c17c2ebb0ea011be9981cc3922db8ca8fa61e828c5d3f44cb6ae342bf80460b","size":7020},{"mediaType":"application/vnd.ollama.image.license","digest":"sha256:590d74a5569b8a20eb2a8b0aa869d1d1d3faf6a7fdda1955ae827073c7f502fc","size":4790},{"mediaType":"application/vnd.ollama.image.params","digest":"sha256:d2b44be9e12117ee2652e9a6c51df28ef408bf487e770b11ee0f7bce8790f3ca","size":31}]}%

ollama models export llama2 marcellodesales/genai/models/llama2 Implementation

Select the manifest for the model selected and copy to a temporary dir

mkdir selected-model/manifests/registry.ollama.ai/library/llama2/latest
cp models/manifests/registry.ollama.ai/library/llama2/latest selected-model/manifests/registry.ollama.ai/library/llama2/latest
cp -R listed layers blobs to selected-model/blobs

Generate a docker image for the data

FROM busybox AS data

WORKDIR /marcellodesales/platforms/vionix/genai/model

COPY selected-model .

Then run the command

docker images | grep marcellodesales
marcellodesales/genai/models/llama2                                                   latest                                                                           da34440295ec   26 hours ago    3.83GB

ollama models import marcellodesales/genai/models/llama2 Implementation

NOTE: the import command has the tag information under the manifests so there's no need for a parameter

Just proceed to generate a docker image and push

Parse a given manifest, select the digets = blobs in the file system
For the selected ones, create a Docker Image to be run as a Data Container and push to your registry
At the destination running Ollama Server, Pull the docker image and move the data back to the .ollama/models
Verify that the new model is installed after by-passing the limitations described

$ docker run -ti -v /Users/mdesales/.ollama/models:/data marcellodesales/genai/models/llama2 cp -Rv /marcellodesales/platforms/vionix/genai/model/blobs /data
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:2759286baa875dc22de5394b4a925701b1896a7e3f8e53275c36f75a877a82c9' -> '/data/blobs/sha256:2759286baa875dc22de5394b4a925701b1896a7e3f8e53275c36f75a877a82c9'
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:5407e3188df9a34504e2071e0743682d859b68b6128f5c90994d0eafae29f722' -> '/data/blobs/sha256:5407e3188df9a34504e2071e0743682d859b68b6128f5c90994d0eafae29f722'
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:7c23fb36d80141c4ab8cdbb61ee4790102ebd2bf7aeff414453177d4f2110e5d' -> '/data/blobs/sha256:7c23fb36d80141c4ab8cdbb61ee4790102ebd2bf7aeff414453177d4f2110e5d'
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:22f7f8ef5f4c791c1b03d7eb414399294764d7cc82c7e94aa81a1feb80a983a2' -> '/data/blobs/sha256:22f7f8ef5f4c791c1b03d7eb414399294764d7cc82c7e94aa81a1feb80a983a2'
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:2e0493f67d0c8c9c68a8aeacdf6a38a2151cb3c4c1d42accf296e19810527988' -> '/data/blobs/sha256:2e0493f67d0c8c9c68a8aeacdf6a38a2151cb3c4c1d42accf296e19810527988'
'/marcellodesales/platforms/vionix/genai/model/blobs/sha256:8c17c2ebb0ea011be9981cc3922db8ca8fa61e828c5d3f44cb6ae342bf80460b' -> '/data/blobs/sha256:8c17c2ebb0ea011be9981cc3922db8ca8fa61e828c5d3f44cb6ae342bf80460b'
'/marcellodesales/platforms/vionix/genai/model/blobs' -> '/data/blobs'

$ docker run -ti -v /Users/mdesales/.ollama/models:/data marcellodesales/genai/models/llama2 cp -Rv /marcellodesales/platforms/vionix/genai/model/manifests /data
'/marcellodesales/platforms/vionix/genai/model/manifests/registry.ollama.ai/library/llama2/latest' -> '/data/manifests/registry.ollama.ai/library/llama2/latest'
'/marcellodesales/platforms/vionix/genai/model/manifests/registry.ollama.ai/library/llama2' -> '/data/manifests/registry.ollama.ai/library/llama2'
'/marcellodesales/platforms/vionix/genai/model/manifests/registry.ollama.ai/library' -> '/data/manifests/registry.ollama.ai/library'
'/marcellodesales/platforms/vionix/genai/model/manifests/registry.ollama.ai' -> '/data/manifests/registry.ollama.ai'
'/marcellodesales/platforms/vionix/genai/model/manifests' -> '/data/manifests'

Then, just verifying the final result:
$ docker run --network host  -ti -v $(pwd):$(pwd) -w $(pwd) -v $HOME/.ollama:/root/.ollama ollama/ollama list
NAME            ID              SIZE    MODIFIED
codellama:code  fc84f39375bc    3.8 GB  16 hours ago
llama2:latest   fe938a131f40    3.8 GB  6 seconds ago

Questions

Any interest on this feature? Is there anyone working on something similar?
Are there any plans to open-source the registry server? Is it possible to deploy our own?
Any plans to fix the 403 problem discussed in #676?

One option would be to use OCI Registry as a Service


SolarFactRAG code and benchmark with 10 papers

Bug Fixed

JSONs do not comply with the specification in https://github.com/oeg-upm/solar-qa-eval/blob/main/result_specification.md
Either update the specification, or update the JSONs please.


Optional-chained key path into nested optional returns wrong value

Description
Where an optional-chained key path to a nested optional should return nil, it somehow returns .some(nil) instead.
Reproduction
import Testing

@Test
func optionalChainedKeyPathToNestedOptional() {
  struct A {
    var str: String??
  }
  struct B {
    var a: A?
  }
  let b = B()
  #expect(b.a?.str == String??.none)              // ✅
  #expect(b[keyPath: \.a?.str] == String??.none)  // 🛑
  // .some(nil) != .none
}

Expected behavior
I expect the key path access to return the correct value.
Environment
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.10 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Additional information
No response

@Azoy This bug potentially overlaps with some of the key path performance issues you were working on.


$watch should consider two NaNs to be equal

recently in feedback we got into a situation where an infinite digest was caused by a watch that returned an object with NaN values. we should be smart enough to consider two NaNs to be equal.
Test case: http://jsfiddle.net/IgorMinar/CHVbb/184/

the fix should be done in the equals method that $digest uses when executing watchers:
if ((value = watch.get(current)) !== (last = watch.last) && !equals(value, last)) {

the equals should take another boolean argument which if true should result in equals considering two NaNs to be equal.

Sure I can work on this :)

There is a complication in $watch function,

              watcher = {
              fn: listenFn,
              last: Number.NaN, // NaN !== NaN. We used this to force $watch to fire on first run.
              get: get,
              exp: watchExp
            };

If we apply the fix you suggested, and on first digest cycle the expression evaluates to NaN, then the function attached to watcher will not run at all even for the first time.
A workaround probably will be to have a firstRun boolean property attached to each watcher and delete it after firstrun

              watcher = {
              fn: listenFn,
              last: Number.NaN, // NaN !== NaN. We used this to force $watch to fire on first run.
              get: get,
              exp: watchExp,
              firstRun: true
            };
//inside the digest function
   if ((value = watch.get(current)) !== (last = watch.last) && !equals(value, last, !watcher.firstRun)} {
       delete watcher.firstRun
  }
//....

landed as 29f9e2665d8b771a6226870fc8fd2c4c94d7a2c0
thanks!


feat(types): export Store class

It's exported by the code: https://github.com/SerayaEryn/fastify-session/blob/e201f78fc9d7bd33c6f2e84988be7c8af4b5a8a3/lib/fastifySession.js#L206-L208

Coverage remained the same at 100.0% when pulling 19e109c2732fb294e9ca14fda7d454e7c847b033 on SimenB:export-store into e201f78fc9d7bd33c6f2e84988be7c8af4b5a8a3 on SerayaEryn:master.

Coverage remained the same at 100.0% when pulling 19e109c2732fb294e9ca14fda7d454e7c847b033 on SimenB:export-store into e201f78fc9d7bd33c6f2e84988be7c8af4b5a8a3 on SerayaEryn:master.

Coverage remained the same at 100.0% when pulling 19e109c2732fb294e9ca14fda7d454e7c847b033 on SimenB:export-store into e201f78fc9d7bd33c6f2e84988be7c8af4b5a8a3 on SerayaEryn:master.

https://github.com/fastify/session/pull/15


Darwin Go failure on staging-next

Issue description
https://hydra.nixos.org/build/87605224
Steps to reproduce
cc @NixOS/darwin-maintainers
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

I assume we can close this.


prevent calling live.end if exception raised

This will prevent live.end from being called in the event of an exception.
This doesn't solve the problem of showing different completion statuses. For now, we only have a binary choice of whether an experiment is running or completed. This PR makes it so that we will continue to show an experiment in running status when interrupted by an exception. This isn't great, but I think it's more expected than showing it as successfully completed.
Edit: I also think it's probably good practice to abort the rest of live.end in the case of unhandled exceptions.

This was very sloppy. If you think this is an improvement, we can fix it, but let's decide on whether it's a worthwhile improvement first.


PropTypes (oneOfType) error when requiring Grid

warning.js:36 Warning: Invalid argument supplid to oneOfType. Expected an array of check functions, but received string at index 0.
The error points to TreeArrow.js:136, found here.

gridType: oneOfType([
'grid', 'tree'
]),

It looks like this code should be using oneOf, rather than oneOfType, but I'm not too familiar with PropTypes.

Thanks for posting the issue, this has been resolved!


fix blue dot issue for SAM

This will address https://github.com/VEuPathDB/web-monorepo/issues/1031.
Extensive tests were done via different web browsers, and finally it could be replicated: though it hardly (and randomly) happens. After tracking down the result, it is concluded that a function at the area selection module causes the issue. The area selection behavior itself partly relies on leaflet zoom box and the current logic is conflicted with map panning: in other words, when panning (clicking map and drag), the area selection initiates selection, which creates dot-size selection, and then it is cancelled immediately due to drag. It is not always and rare but it often leaves a dot-size selection in the map.
To solve this, a condition is set to check whether Control or Meta key is pressed so that area selection is not initiated when map panning.

Hi @moontrip I think this might have stopped rectangle selection of markers?

This looks like a solid solution.
If you're feeling creative - perhaps we should style the selection rectangle with yellow somehow? (So it looks different from the shift-zoom rectangle.) Feature creep, I know!

@bobular Thank you for your suggestion. 👍 I made one for you 😉 https://github.com/VEuPathDB/web-monorepo/pull/1046


CI: Add concurrency to Actions

Maybe this will help with our GitHub actions queue

I'll merge this and hopefully it helps with the backlog!


feat: SC4S Dashboard

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


Parallelize job creation

Fixes #130
I parallelized job creation at the replicatedJob level only, since I think parallelizing across all replicatedJobs would complicate the logic for sequential startup.

It's fine, we can merge this.
/hold cancel


Add Shopify to dustinspecker/awesome-eslint?

Would it be alright to add Shopify to this?
https://github.com/dustinspecker/awesome-eslint
Namely the plugin section.

Good idea, it's in :)


feat: add fs/copy

adds file system copy file utility to Stdlib
Description

What is the purpose of this pull request?

This pull request:
is aligned with the purpose of achievinng feature parity with Node.js fs package. It Brings file system's powerful copy file utility to Stdlib expanding its existing fs utilities. It also tends to make the copy File utility version independent for node. Moreover, with this I also wish to know with what approach do we further add abstractions over the fs utilities.
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Implementation details
-- async version
function onCopy( error ) {
    if ( error ) {
        throw error;
    }
    console.log( 'src.txt has been copied to dest.txt' );
}

copyFile( 'src.txt', 'dest.txt', onCopy );

-- sync version
var copyFile = require( '@stdlib/fs/copy-file' );

// Explicitly handle the error...
var err = copyFileSync( 'src.txt', 'dest.txt' );
if ( err instanceof Error ) {
    throw err;
}

more --> currently researching on how fs/constants could be implemented for stdlibsuch that further feature parity and version independency are achievable.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Hi @Planeshifter could you rerun the CI checks so that I can rectify anything that isn't correct?

@kgryte , @Planeshifter could you rerun the CI check

/stdlib update-copyright-years


[OPS] Problems with kibana

https://trello.com/c/mdUQYCGm
https://trello.com/c/Yz7Dt9Zw

Using AWS ES service
We were able to set it up
auto backup
Log index splitted by date and log stream
conecting dev accounts

Using logstash from Fargate and EK from AWS. I can see the logs are coming; but some parsing errors
[2019-07-22T20:03:51,426][WARN ][logstash.filters.json ] Error parsing json {:source=>"message", :raw=>"time=\"2019-07-17T18:31:19.630\" level=debug msg=\"Request received at endpoint: GetScenes\" func=github.com/decentraland/content-service/handlers.ResponseHandler.ServeHTTP file=\"/go/src/github.com/decentraland/content-service/handlers/handlers.go:72\"", :exception=>#<LogStash::Json::ParserError: Unrecognized token 'time': was expecting 'null', 'true', 'false' or NaN

I created the new index patterns. Ale don't worry about those errors, the messages are truly not json so it's expected. Everything seems to be working perfectly fine!


Optimize CircleCI usage

Ideas to avoid hitting CircleCI free plan resources limitations:

Optimize docker building. Maybe use docker layer caching?
When #148 will be implemented, remove nipype folder from artifacts and keep only pymialsrtk final derivatives? persist_to_workspace tags
Scale resource_classe used in each job.

#176


Improves logging of FileBasedSource size estimates

Motivated by debugging a customer job that produced a weird file size estimate.
R: @dhalperi

LGTM

Changes Unknown when pulling cf328ac3134a0c4e94cabaaaf53b5f3a2ccbd35c on jkff:file-size-logging into ** on apache:master**.


add node for aws

Signed-off-by: Vivek Shankar<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?

HA add node command for automate in aws deployment ( with Managed AWS )
HA add node command for Chef-Server in AWS Deployment (with Managed AWS)
HA add node command for OpenSearch in AWS Deployment (no With Managed AWS)

:chains: Related Resources
https://chefio.atlassian.net/browse/SHIELD-175
https://chefio.atlassian.net/browse/SHIELD-184
https://chefio.atlassian.net/browse/SHIELD-186
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:

[ ] I have read the CONTRIBUTING document.
[ ] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[ ] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[ ] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[ ] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[ ] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[ ] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[ ] Tests added/updated? (all new code needs new tests)
[ ] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

There are some merge conflicts.


Unavailable car is logged with (unavailable)

Describe the bug
Usually my car is name BMW iX3, but yesterday I had a timeframe, where the car was named BMW iX3 (unavailable), because I have chosen it manually from the list, but it still wasn't recognised. This got logged as a new car in the "Ladevorgänge" interface and inside influx db. See screenshots.
I would expect it should be logged as the original name, instead of a new car with (unavailable) suffix.

Steps to reproduce

Plugin a car, which is known by evcc
Evcc should not be able to communicate to the car manufacturer api and try to recognise it
Chose it manually from the list, so it should be shown as "Car name (unavailable)"
Check logs

Configuration details
Not needed

Log details
Not needed

What type of operating system are you running?
Linux
Version
0.124.10

Fixed in master

and you can change the name within the session details

Ah nice! Thanks for the hint!
VolkerK62 @.***> schrieb am Di. 26. März 2024 um 17:08:

and you can change the name within the session details
—
Reply to this email directly, view it on GitHub
https://github.com/evcc-io/evcc/issues/13158#issuecomment-2020848551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEZDQWFXL6J7JQWCXIL4VLY2GFO7AVCNFSM6AAAAABFINEPYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQHA2DQNJVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix(engine): update databend engine spec for dialect version >=0.4.6

SUMMARY
The Databend driver changed for later dialect versions and this requires different params on the connection string. This PR includes the latest revision of the databend dialect which itself contained a number of fixes and now includes validation via SQLAlchemy testing suite.
TESTING INSTRUCTIONS
Validate by testing against a Databend instance
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@hantmac - as discussed, here is PR for updating superset with latest dialect.

@hantmac it seems like you maybe added the the Databend engine spec and thus I was wondering whether you would mind reviewing the PR?

@hantmac it seems like you maybe added the the Databend engine spec and thus I was wondering whether you would mind reviewing the PR?

Sorry for late response. I will review as soon as possible. Thanks!

@betodealmeida , any chance of this progressing? Do you want me to rebase against master?


[FLINK-14912][Table] register, drop, and alter catalog functions from…

What is the purpose of the change
Create, drop and alter catalog functions through catalog manager.
Brief change log
Add create, drop, alter function operation
Add SqlNode to Operation conversion logic SqlToOperationConverter
Add the catalog function registration and drop logic in table environments
Add CatalogFunctionITCase for end to end testing function DDL to create and drop catalog function in both Planner and Blink Planner
Verifying this change
It is end to end tested in new added CatalogFunctionITCase for both planners.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (not documented)

The build already passed in https://travis-ci.com/HuangZhenQiu/flink/builds/139637608.
The failure show above is due to a transient join test case. Tested locally, all JoinITCase pass.


FR: Graphical Enhancement - Nuke Node Command

Is your feature request related to a problem? Please describe.
Whenever you click the Nuke Node Button, it is just gone. We had the idea during Bogota to enhance this experience a bit by adding an animation to confirming the DELETION. Lin and I are currently working on something we hope to present soon.
Describe the solution you'd like

When I click this: BADA BANG (no sound haha) & DOPAMINE + BRAIN
Additional context
SOON :)

would be great to be able to see a log of what is actually being deleted also :)

Made by our artist ProudHands for the occasion.

We are currently working on the modal. Will still take a while, till we fit the deletion text & a good way to inspect it.  Some work in progress from today:
https://user-images.githubusercontent.com/82385103/222115270-55e81b7b-6eb4-48d2-acc8-942493cd2e94.mov


Do some cleanup and refactoring

Yeah, there's one more pass to do here once the decoder is cleaned up, as there is basically no need anymore for a wrapper around GenerationInputs (TxnIdx is not needed), but that can wait post merge


--PBR Primitive support and gl context bugfix

Motivation and Context
This PR introduces PBR material support and generation for primitives and generated meshes such as trajectories, which were formerly restricted to just phong materials, which looked out of place in scenes that were predominantly rendered using PBR with image-based lighting.  This also adds vertex color support for PBR materials.  Lastly, this also fixes a bug that was present if trying to build a PBR containing scene without a context (which was being done in a few of the tests).
This functionality was originally going to be part of the PBRTesting PR but I chose to go a different direction with that test due to the difficulty in assigning custom materials to primitive assets on creation.

How Has This Been Tested
C++ and python tests pass locally.

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

PBR primitives with default IBL environment map.

PBR primitives in the same scene with alternate IBL environment map